]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
Add more contributors to contrib.texi
[thirdparty/glibc.git] / ChangeLog
1 2017-02-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
2
3 * manual/contrib.texi: Add more contributors from this release
4 and past releases.
5
6 * NEWS (2.25): Add list of bugs fixed.
7
8 * NEWS: Add missing news items.
9
10 2017-02-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
11
12 * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
13 parent if child exited in that manner. Print WEXITSTATUS
14 instead of the raw status.
15 (do_test_prep): Rename to do_test.
16 (do_test): Return the result of run_executable_sgid.
17 (TEST_FUNCTION_ARGV): Adjust.
18
19 2017-02-03 Alexandre Oliva <aoliva@redhat.com>
20 Florian Weimer <fweimer@redhat.com>
21 Carlos O'Donell <carlos@redhat.com>
22
23 [BZ #20915]
24 * elf/dl-reloc.c (_dl_nothread_init_static_tls):
25 Do not initialize DTV.
26 * nptl/allocatestack.c (init_one_static_tls): Likewise.
27
28 2017-02-03 David S. Miller <davem@davemloft.net>
29
30 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
31 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
32 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
33 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
34 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
35 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
36 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
37 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
38 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
39 (libm-sysdep_routines): Update.
40 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
41 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
42 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
43 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
44 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
45 * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
46 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
47 * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
48 * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
49 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
50 Likewise.
51 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
52 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
53 Likewise.
54 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
55 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
56 Likewise.
57 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
58 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
59 Likewise.
60 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
61 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
62 (libm-sysdep_routines): Update.
63
64 2017-02-02 H.J. Lu <hongjiu.lu@intel.com>
65
66 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
67 _dl_fatal_printf with _dl_error_printf for IFUNC relocation
68 against unrelocated shared library.
69 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
70
71 2017-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
72
73 * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
74 * elf/tst-env-setuid-tunables.c
75 (test_child_tunables)[!HAVE_TUNABLES]: Verify that
76 GLIBC_TUNABLES is removed in a setgid process.
77
78 [BZ #21073]
79 * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
80 * elf/dl-tunables.c (tunables_strdup): Remove.
81 (get_next_env): Also return the previous envp.
82 (parse_tunables): Erase tunables of category
83 TUNABLES_SECLEVEL_SXID_ERASE.
84 (maybe_enable_malloc_check): Make MALLOC_CHECK_
85 TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
86 (__tunables_init)[TUNABLES_FRONTEND ==
87 TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
88 after parsing.
89 [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
90 tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
91 * elf/dl-tunables.h (struct _tunable): Change member is_secure
92 to security_level.
93 * elf/dl-tunables.list: Add security_level annotations for all
94 tunables.
95 * scripts/gen-tunables.awk: Recognize and generate enum values
96 for security_level.
97 * elf/tst-env-setuid.c: New test case.
98 * elf/tst-env-setuid-tunables: new test case.
99 * elf/Makefile (tests-static): Add them.
100
101 2017-02-01 Richard Henderson <rth@twiddle.net>
102
103 * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
104 adjusting the byte count.
105
106 2017-02-01 Andreas Schwab <schwab@linux-m68k.org>
107
108 * conform/Makefile (linknamespace-libs): Define.
109
110 * sysdeps/m68k/m680x0/m68020/atomic-machine.h
111 (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
112 (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
113 operands.
114
115 2017-01-31 Chung-Lin Tang <cltang@codesourcery.com>
116
117 * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
118
119 2017-01-30 H.J. Lu <hongjiu.lu@intel.com>
120
121 [BZ #21081]
122 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
123 (L(stosb)): Add VZEROUPPER before ret.
124
125 2016-01-28 Carlos O'Donell <carlos@redhat.com>
126 Alexey Makhalov <amakhalov@vmware.com>
127 Florian Weimer <fweimer@redhat.com>
128
129 [BZ #20116]
130 * nptl/pthread_create.c: Document concurrency notes.
131 Enhance thread creation notes.
132 (create_thread): Use bool *stopped_start.
133 (START_THREAD_DEFN): Comment ownership of PD.
134 (__pthread_create_2_1): Add local bool stopped_start and use
135 that instead of pd->stopped_start where appropriate.
136 * nptl/createthread.c (create_thread): Use bool *stopped_start.
137 * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
138 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
139 * nptl/tst-create-detached.c: New file.
140 * nptl/Makefile (tests): Add tst-create-detached.
141 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
142 Reference the enhanced thread creation notes.
143 * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
144 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
145 * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
146 (__pthread_current_priority): Likewise.
147 * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
148 xpthread_attr_init, xpthread_attr_setdetachstate, and
149 xpthread_attr_setstacksize.
150 * support/xpthread_attr_destroy.c: New file.
151 * support/xpthread_attr_init.c: New file.
152 * support/xpthread_attr_setdetachstate.c: New file.
153 * support/xpthread_attr_setstacksize.c: New file.
154 * support/xthread.h: Define prototypes for xpthread_attr_destroy
155 xpthread_attr_init, xpthread_attr_setdetachstate, and
156 xpthread_attr_setstacksize.
157
158 2017-01-27 Florian Weimer <fweimer@redhat.com>
159
160 * nptl/Makefile (tests): Add tst-robust-fork.
161 * nptl/tst-robust-fork.c: New file.
162 * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
163 xpthread_mutex_consistent, xpthread_mutex_destroy,
164 xpthread_mutex_init, xpthread_mutexattr_destroy,
165 xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
166 xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
167 xpthread_mutexattr_settype.
168 * support/xmmap.c: New file.
169 * support/xmunmap.c: Likewise.
170 * support/xpthread_mutex_consistent.c: Likewise.
171 * support/xpthread_mutex_destroy.c: Likewise.
172 * support/xpthread_mutex_init.c: Likewise.
173 * support/xpthread_mutexattr_destroy.c: Likewise.
174 * support/xpthread_mutexattr_init.c: Likewise.
175 * support/xpthread_mutexattr_setprotocol.c: Likewise.
176 * support/xpthread_mutexattr_setpshared.c: Likewise.
177 * support/xpthread_mutexattr_setrobust.c: Likewise.
178 * support/xpthread_mutexattr_settype.c: Likewise.
179 * support/xthread.h (xpthread_mutexattr_destroy)
180 (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
181 (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
182 (xpthread_mutexattr_settype, xpthread_mutex_init)
183 (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
184 * support/xunistd.h (xmmap, xmunmap): Likewise.
185
186 2017-01-25 Florian Weimer <fweimer@redhat.com>
187
188 * string/Makefile (xtests): Add comment.
189 (LOCALES): Add en_GB.UTF-8.
190 (tst-strcoll-overflow.out): Depend on generated locales.
191 * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
192 (SIZE, TIMEOUT): Update comments.
193 (do_test): Define as static. Fail test if setlocale fails.
194 Return EXIT_UNSUPPORTED if insufficient memory. Enhance output
195 messages.
196 (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
197 TIMEOUT at 300 seconds should be enough to run this test
198 successfully.
199
200 2017-01-24 Jakub Jelinek <jakub@redhat.com>
201
202 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
203 /* FALLTHRU */ comments.
204
205 2017-01-24 James Clarke <jrtc27@jrtc27.com>
206
207 [BZ #21053]
208 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
209 constants instead of the old R* ones.
210 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
211 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
212 (NGREG): ... to this, to fit in with other architectures.
213 (gpregset_t): Use new NGREG macro.
214 [__USE_GNU]: Remove condition; all architectures other than tile
215 are unconditional.
216 (R*): Rename to REG_R*.
217
218 2017-01-20 DJ Delorie <dj@redhat.com>
219
220 * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
221 (tunable_set_val_if_valid_range_signed) ... this, and ...
222 (tunable_set_val_if_valid_range_unsigned) ... this.
223 (tunable_initialize): Call the correct one of the above based on type.
224
225 2017-01-20 Joseph Myers <joseph@codesourcery.com>
226
227 * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
228 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
229 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
230 * sysdeps/microblaze/libm-test-ulps: Likewise.
231 * sysdeps/sh/libm-test-ulps: Likewise.
232
233 * math/README.libm-test: Update list of characters for input and
234 output types.
235
236 2017-01-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
237
238 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
239 (__lll_unlock_elision): Fix adapt_count decrement.
240
241 2017-01-14 Martin Galvan <martingalvan@sourceware.org>
242
243 * README.pretty-printers (Known issues): Warn about printers not
244 always covering everything.
245 * nptl/nptl-printers.py (MutexPrinter): Change output.
246 * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
247
248 2017-01-20 Stefan Liebler <stli@linux.vnet.ibm.com>
249
250 * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
251 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
252 * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
253 (__lll_lock_elision): Do not test futex before starting a
254 transaction. Use __glibc_likely instead of __builtin_expect.
255 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
256 (__lll_trylock_elision): Do not test futex before starting a
257 transaction. Use __glibc_likely instead of __builtin_expect.
258
259 2017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
260
261 * po/Makefile (update-translations): New target.
262
263 2017-01-19 Joseph Myers <joseph@codesourcery.com>
264
265 [BZ #21061]
266 * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
267
268 2017-01-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
269
270 * elf/dl-tunables (get_next_env): Always advance envp.
271 * stdlib/tst-empty-env.c: New test case.
272 * stdlib/Makefile (tests): Use it.
273
274 2017-01-19 Joseph Myers <joseph@codesourcery.com>
275
276 [BZ #21047]
277 * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
278 name for instruction.
279 [!__SOFTFP__] (_FPU_SETCW): Likewise.
280
281 2017-01-18 Joseph Myers <joseph@codesourcery.com>
282
283 * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
284 for make install.
285
286 2017-01-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
287
288 * po/bg.po: Merge from Translation Project.
289 * po/fr.po: Likewise.
290 * po/ko.po: Likewise.
291 * po/nl.po: Likewise.
292 * po/sv.po: Likewise.
293
294 2017-01-18 Joseph Myers <joseph@codesourcery.com>
295
296 * manual/install.texi (Tools for Compilation): Update GCC version
297 known to work to build glibc.
298 * INSTALL: Regenerated.
299
300 2017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
301
302 [BZ #21006]
303 * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
304
305 2017-01-16 Joseph Myers <joseph@codesourcery.com>
306
307 [BZ #21045]
308 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
309 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
310 to __sigprocmask.
311
312 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
313
314 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
315 wrap-around.
316 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
317
318 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
319
320 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
321
322 * NEWS: Fix typo.
323
324 2016-01-13 Torvald Riegel <triegel@redhat.com>
325
326 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
327 barriers and comments.
328 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
329 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
330 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
331
332 2016-01-13 Torvald Riegel <triegel@redhat.com>
333
334 [BZ #19402]
335 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
336 mutexes.
337
338 2016-01-13 Torvald Riegel <triegel@redhat.com>
339
340 [BZ #20985]
341 * nptl/Makefile: Adapt.
342 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
343 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
344 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
345 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
346 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
347 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
348 lll_robust* functions and adapt.
349 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
350 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
351 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
352 __lll_robust_timedlock, __lll_robust_unlock): Remove.
353 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
354 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
355 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
356 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
357 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
358 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
359 __lll_robust_timedlock, __lll_robust_unlock): Remove.
360 * nptl/lowlevelrobustlock.c: Remove file.
361 * nptl/lowlevelrobustlock.sym: Likewise.
362 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
363 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
364
365 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
366
367 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
368
369 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
370
371 * po/cs.po: Merge translations from the Translation Project.
372 * po/de.po: Likewise.
373 * po/pl.po: Likewise.
374 * po/ru.po: Likewise.
375 * po/tr.po: Likewise.
376 * po/uk.po: Likewise.
377 * po/vi.po: Likewise.
378 * po/zh_CN.po: Likewise.
379
380 2017-01-12 Joseph Myers <joseph@codesourcery.com>
381
382 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
383
384 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
385 object.
386
387 2017-01-11 Joseph Myers <joseph@codesourcery.com>
388
389 [BZ #16458]
390 * bits/uintn-identity.h: New file.
391 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
392 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
393 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
394 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
395 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
396 * string/endian.h: Include <bits/uintn-identity.h>.
397 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
398 __uint16_identity.
399 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
400 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
401 __uint32_identity.
402 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
403 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
404 __uint64_identity.
405 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
406 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
407 __uint16_identity.
408 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
409 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
410 __uint32_identity.
411 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
412 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
413 __uint64_identity.
414 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
415 * string/Makefile (headers): Add bits/uintn-identity.h.
416 (tests): Add test-endian-types.
417 * string/test-endian-types.c: New file.
418 * inet/Makefile (tests): Add test-hnto-types.
419 * inet/test-hnto-types.c: New file.
420
421 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
422
423 * po/be.po: Update from Translation Project.
424 * po/bg.po: Likewise.
425 * po/ca.po: Likewise.
426 * po/cs.po: Likewise.
427 * po/da.po: Likewise.
428 * po/de.po: Likewise.
429 * po/el.po: Likewise.
430 * po/eo.po: Likewise.
431 * po/es.po: Likewise.
432 * po/fi.po: Likewise.
433 * po/fr.po: Likewise.
434 * po/gl.po: Likewise.
435 * po/hr.po: Likewise.
436 * po/hu.po: Likewise.
437 * po/ia.po: Likewise.
438 * po/id.po: Likewise.
439 * po/it.po: Likewise.
440 * po/ja.po: Likewise.
441 * po/ko.po: Likewise.
442 * po/lt.po: Likewise.
443 * po/nb.po: Likewise.
444 * po/nl.po: Likewise.
445 * po/pl.po: Likewise.
446 * po/pt_BR.po: Likewise.
447 * po/ru.po: Likewise.
448 * po/rw.po: Likewise.
449 * po/sk.po: Likewise.
450 * po/sl.po: Likewise.
451 * po/sv.po: Likewise.
452 * po/tr.po: Likewise.
453 * po/uk.po: Likewise.
454 * po/vi.po: Likewise.
455 * po/zh_CN.po: Likewise.
456 * po/zh_TW.po: Likewise.
457
458 2017-01-11 Joseph Myers <joseph@codesourcery.com>
459
460 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
461 -Wformat-truncation instead of -Wformat-length.
462 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
463 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
464 GCC 7.
465 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
466 (do_test): Ignore -Wformat-truncation for GCC 7.
467
468 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
469 buffer used to print long int value.
470
471 * elf/sotruss-lib.c (init): Increase space allocated for pid by
472 one byte. Print it with %ld, cast to long int.
473
474 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
475
476 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
477 (re.fullmatch, subprocess.run): Likewise.
478
479 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
480
481 * po/libc.pot: Regenerate.
482
483 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
484
485 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
486 (min_strlen): Likewise.
487 (disable_tunable): Likewise.
488 (maybe_disable_malloc_check): Rename to
489 maybe_enable_malloc_check.
490 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
491 if /etc/suid-debug file exists.
492 (__tunables_init): Update caller.
493 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
494 secure.
495
496 2016-01-10 Torvald Riegel <triegel@redhat.com>
497
498 * nptl/DESIGN-rwlock.txt: Remove.
499 * nptl/lowlevelrwlock.sym: Remove.
500 * nptl/Makefile: Add new tests.
501 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
502 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
503 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
504 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
505 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
506 PTHREAD_RWLOCK_FUTEX_USED): New.
507 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
508 implementation.
509 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
510 (__pthread_rwlock_rdlock): Adapt.
511 * nptl/pthread_rwlock_timedrdlock.c
512 (pthread_rwlock_timedrdlock): Adapt.
513 * nptl/pthread_rwlock_timedwrlock.c
514 (pthread_rwlock_timedwrlock): Adapt.
515 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
516 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
517 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
518 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
519 (__pthread_rwlock_wrlock): Adapt.
520 * nptl/tst-rwlock10.c: Adapt.
521 * nptl/tst-rwlock11.c: Adapt.
522 * nptl/tst-rwlock17.c: New file.
523 * nptl/tst-rwlock18.c: New file.
524 * nptl/tst-rwlock19.c: New file.
525 * nptl/tst-rwlock2b.c: New file.
526 * nptl/tst-rwlock8.c: Adapt.
527 * nptl/tst-rwlock9.c: Adapt.
528 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
529 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
530 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
531 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
532 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
533 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
534 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
535 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
536 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
537 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
538 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
539 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
540 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
541 (pthread_rwlock_t): Adapt.
542 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
543 (pthread_rwlock_t): Adapt.
544 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
545 * nptl/nptl-printers.py (): Adapt.
546 * nptl/nptl_lock_constants.pysym: Adapt.
547 * nptl/test-rwlock-printers.py: Adapt.
548 * nptl/test-rwlockattr-printers.c: Adapt.
549 * nptl/test-rwlockattr-printers.py: Adapt.
550
551 2017-01-10 Joseph Myers <joseph@codesourcery.com>
552
553 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
554 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
555 (fma_test_data): Likewise.
556 (hypot_test_data): Likewise.
557 (log1p_test_data): Likewise.
558 (modf_test_data): Likewise.
559 (pow_test_data): Likewise.
560 (remainder_test_data): Likewise.
561 (remquo_test_data): Likewise.
562 (scalb_test_data): Likewise.
563 (scalbn_test_data): Likewise.
564 (scalbln_test_data): Likewise.
565 * math/gen-libm-test.pl (parse_args): Transform
566 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
567 on the rounding mode.
568
569 2017-01-09 Joseph Myers <joseph@codesourcery.com>
570
571 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
572 xfail-rounding:ibm128-libgcc automatically to tests overflowing
573 and those that can underflow to zero.
574 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
575 add others.
576 * math/auto-libm-test-out: Regenerated.
577
578 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
579 supported.
580 (feholdexcept_tests): Skip tests requiring exceptions or rounding
581 modes support if not supported.
582
583 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
584 Add libc.so PLT entry.
585 (__tls_get_addr): Make ld.so PLT entry optional.
586
587 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
588
589 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
590 * string/bits/string3.h: ... here.
591
592 2017-01-05 Joseph Myers <joseph@codesourcery.com>
593
594 [BZ #21028]
595 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
596 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
597 if EXCEPTION_TESTS returns false.
598
599 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
600
601 [BZ #20558]
602 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
603 strings_fortified.h.
604 [__USE_MISC] (bzero): Likewise.
605 [__USE_MISC] (explicit_bzero): Likewise.
606 * string/strings.h: Include strings_fortified.h.
607 * string/Makefile (headers): Add strings_fortified.h.
608 * string/bits/strings_fortified.h: New file.
609 * include/bits/strings_fortified.h: Likewise.
610
611 2017-01-05 Joseph Myers <joseph@codesourcery.com>
612
613 * elf/tst-tls13.c (TIMEOUT): Remove.
614 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
615 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
616 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
617 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
618 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
619
620 [BZ #21026]
621 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
622 (readahead): New syscall entry.
623
624 2017-01-04 Joseph Myers <joseph@codesourcery.com>
625
626 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
627 around tests of strncat with large sizes.
628
629 * malloc/tst-malloc.c: Include <libc-internal.h>.
630 (do_test): Disable -Walloc-size-larger-than= around tests of
631 malloc with negative sizes.
632 * malloc/tst-mcheck.c: Include <libc-internal.h>.
633 (do_test): Disable -Walloc-size-larger-than= around tests of
634 malloc and realloc with negative sizes.
635 * malloc/tst-realloc.c: Include <libc-internal.h>.
636 (do_test): Disable -Walloc-size-larger-than= around tests of
637 realloc with negative sizes.
638
639 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
640 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
641 allowed to 16 ulps.
642 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
643 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
644 * math/auto-libm-test-out: Regenerated.
645
646 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
647
648 * math/Makefile (libm-calls): Move wrappers...
649 (libm-compat-call-auto): Here.
650 (libm-routines): Add items in libm-compat-calls-auto.
651 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
652 the filenames of the wrappers that have been renamed.
653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
654 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
655
656 * math/w_acos.c: Add _compat suffix to filename.
657 * math/w_acosf.c: Likewise.
658 * math/w_acosh.c: Likewise.
659 * math/w_acoshf.c: Likewise.
660 * math/w_acoshl.c: Likewise.
661 * math/w_acosl.c: Likewise.
662 * math/w_asin.c: Likewise.
663 * math/w_asinf.c: Likewise.
664 * math/w_asinl.c: Likewise.
665 * math/w_atan2.c: Likewise.
666 * math/w_atan2f.c: Likewise.
667 * math/w_atan2l.c: Likewise.
668 * math/w_atanh.c: Likewise.
669 * math/w_atanhf.c: Likewise.
670 * math/w_atanhl.c: Likewise.
671 * math/w_cosh.c: Likewise.
672 * math/w_coshf.c: Likewise.
673 * math/w_coshl.c: Likewise.
674 * math/w_exp10.c: Likewise.
675 * math/w_exp10f.c: Likewise.
676 * math/w_exp10l.c: Likewise.
677 * math/w_exp2.c: Likewise.
678 * math/w_exp2f.c: Likewise.
679 * math/w_exp2l.c: Likewise.
680 * math/w_fmod.c: Likewise.
681 * math/w_fmodf.c: Likewise.
682 * math/w_fmodl.c: Likewise.
683 * math/w_hypot.c: Likewise.
684 * math/w_hypotf.c: Likewise.
685 * math/w_hypotl.c: Likewise.
686 * math/w_j0.c: Likewise.
687 * math/w_j0f.c: Likewise.
688 * math/w_j0l.c: Likewise.
689 * math/w_j1.c: Likewise.
690 * math/w_j1f.c: Likewise.
691 * math/w_j1l.c: Likewise.
692 * math/w_jn.c: Likewise.
693 * math/w_jnf.c: Likewise.
694 * math/w_jnl.c: Likewise.
695 * math/w_log10.c: Likewise.
696 * math/w_log10f.c: Likewise.
697 * math/w_log10l.c: Likewise.
698 * math/w_log2.c: Likewise.
699 * math/w_log2f.c: Likewise.
700 * math/w_log2l.c: Likewise.
701 * math/w_log.c: Likewise.
702 * math/w_logf.c: Likewise.
703 * math/w_logl.c: Likewise.
704 * math/w_pow.c: Likewise.
705 * math/w_powf.c: Likewise.
706 * math/w_powl.c: Likewise.
707 * math/w_remainder.c: Likewise.
708 * math/w_remainderf.c: Likewise.
709 * math/w_remainderl.c: Likewise.
710 * math/w_scalb.c: Likewise.
711 * math/w_scalbf.c: Likewise.
712 * math/w_scalbl.c: Likewise.
713 * math/w_sinh.c: Likewise.
714 * math/w_sinhf.c: Likewise.
715 * math/w_sinhl.c: Likewise.
716 * math/w_sqrt.c: Likewise.
717 * math/w_sqrtf.c: Likewise.
718 * math/w_sqrtl.c: Likewise.
719 * math/w_tgamma.c: Likewise.
720 * math/w_tgammaf.c: Likewise.
721 * math/w_tgammal.c: Likewise.
722
723 * math/w_acos_compat.c: New file copied from above and
724 adjusted for new #includes path
725 * math/w_acosf_compat.c: Likewise.
726 * math/w_acosh_compat.c: Likewise.
727 * math/w_acoshf_compat.c: Likewise.
728 * math/w_acoshl_compat.c: Likewise.
729 * math/w_acosl_compat.c: Likewise.
730 * math/w_asin_compat.c: Likewise.
731 * math/w_asinf_compat.c: Likewise.
732 * math/w_asinl_compat.c: Likewise.
733 * math/w_atan2_compat.c: Likewise.
734 * math/w_atan2f_compat.c: Likewise.
735 * math/w_atan2l_compat.c: Likewise.
736 * math/w_atanh_compat.c: Likewise.
737 * math/w_atanhf_compat.c: Likewise.
738 * math/w_atanhl_compat.c: Likewise.
739 * math/w_cosh_compat.c: Likewise.
740 * math/w_coshf_compat.c: Likewise.
741 * math/w_coshl_compat.c: Likewise.
742 * math/w_exp10_compat.c: Likewise.
743 * math/w_exp10f_compat.c: Likewise.
744 * math/w_exp10l_compat.c: Likewise.
745 * math/w_exp2_compat.c: Likewise.
746 * math/w_exp2f_compat.c: Likewise.
747 * math/w_exp2l_compat.c: Likewise.
748 * math/w_fmod_compat.c: Likewise.
749 * math/w_fmodf_compat.c: Likewise.
750 * math/w_fmodl_compat.c: Likewise.
751 * math/w_hypot_compat.c: Likewise.
752 * math/w_hypotf_compat.c: Likewise.
753 * math/w_hypotl_compat.c: Likewise.
754 * math/w_j0_compat.c: Likewise.
755 * math/w_j0f_compat.c: Likewise.
756 * math/w_j0l_compat.c: Likewise.
757 * math/w_j1_compat.c: Likewise.
758 * math/w_j1f_compat.c: Likewise.
759 * math/w_j1l_compat.c: Likewise.
760 * math/w_jn_compat.c: Likewise.
761 * math/w_jnf_compat.c: Likewise.
762 * math/w_jnl_compat.c: Likewise.
763 * math/w_log10_compat.c: Likewise.
764 * math/w_log10f_compat.c: Likewise.
765 * math/w_log10l_compat.c: Likewise.
766 * math/w_log2_compat.c: Likewise.
767 * math/w_log2f_compat.c: Likewise.
768 * math/w_log2l_compat.c: Likewise.
769 * math/w_log_compat.c: Likewise.
770 * math/w_logf_compat.c: Likewise.
771 * math/w_logl_compat.c: Likewise.
772 * math/w_pow_compat.c: Likewise.
773 * math/w_powf_compat.c: Likewise.
774 * math/w_powl_compat.c: Likewise.
775 * math/w_remainder_compat.c: Likewise.
776 * math/w_remainderf_compat.c: Likewise.
777 * math/w_remainderl_compat.c: Likewise.
778 * math/w_scalb_compat.c: Likewise.
779 * math/w_scalbf_compat.c: Likewise.
780 * math/w_scalbl_compat.c: Likewise.
781 * math/w_sinh_compat.c: Likewise.
782 * math/w_sinhf_compat.c: Likewise.
783 * math/w_sinhl_compat.c: Likewise.
784 * math/w_sqrt_compat.c: Likewise.
785 * math/w_sqrtf_compat.c: Likewise.
786 * math/w_sqrtl_compat.c: Likewise.
787 * math/w_tgamma_compat.c: Likewise.
788 * math/w_tgammaf_compat.c: Likewise.
789 * math/w_tgammal_compat.c: Likewise.
790
791 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
792 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
793 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
794 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
795 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
796 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
797 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
798 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
799 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
800 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
801 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
802 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
803 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
804 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
805 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
806 * sysdeps/ia64/fpu/w_powl.c: Likewise.
807 * sysdeps/ia64/fpu/w_powf.c: Likewise.
808 * sysdeps/ia64/fpu/w_pow.c: Likewise.
809 * sysdeps/ia64/fpu/w_logl.c: Likewise.
810 * sysdeps/ia64/fpu/w_logf.c: Likewise.
811 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
812 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
813 * sysdeps/ia64/fpu/w_log2.c: Likewise.
814 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
815 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
816 * sysdeps/ia64/fpu/w_log10.c: Likewise.
817 * sysdeps/ia64/fpu/w_log.c: Likewise.
818 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
819 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
820 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
821 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
822 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
823 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
824 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
825 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
826 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
827 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
828 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
829 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
830 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
831 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
832 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
833 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
834 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
835 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
836 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
837 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
838 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
839 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
840 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
841 * sysdeps/ia64/fpu/w_asin.c: Likewise.
842 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
843 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
844 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
845 * sysdeps/ia64/fpu/w_acos.c: Likewise.
846 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
847 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
848 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
849 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
850 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
851 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
852 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
853 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
854 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
855 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
856 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
857 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
858 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
859 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
860 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
861 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
862 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
863 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
864 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
865 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
866 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
867 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
868 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
869 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
870 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
871 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
872 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
873 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
874 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
875 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
876 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
877 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
878 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
879 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
880 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
881 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
882 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
883 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
884 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
885 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
886 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
887 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
888 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
889 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
890 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
892 Likewise.
893 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
894 Likewise.
895 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
896 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
897 Likewise.
898 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
899 Likewise.
900 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
901 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
902 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
903 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
904 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
905 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
906 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
907 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
908 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
909 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
910 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
911 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
912 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
913 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
914 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
915
916 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
917 and adjusted for new #includes path
918 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
919 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
920 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
921 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
922 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
923 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
924 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
925 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
926 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
927 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
928 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
929 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
930 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
931 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
932 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
933 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
934 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
935 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
936 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
937 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
938 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
939 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
940 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
941 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
942 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
943 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
944 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
945 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
946 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
947 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
948 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
949 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
950 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
951 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
952 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
953 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
954 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
955 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
956 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
957 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
958 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
959 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
960 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
961 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
962 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
963 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
964 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
965 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
966 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
967 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
968 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
969 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
970 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
971 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
972 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
973 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
974 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
975 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
976 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
977 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
978 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
979 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
980 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
981 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
982 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
983 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
984 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
985 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
986 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
987 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
988 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
989 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
990 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
991 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
992 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
993 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
994 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
995 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
996 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
997 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
998 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
999 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
1000 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
1001 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
1002 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
1003 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
1004 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
1005 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
1006 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
1007 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
1008 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
1009 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
1010 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
1011 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
1012 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
1013 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
1014 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
1015 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
1016 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
1017 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
1018 Likewise.
1019 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
1020 Likewise.
1021 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
1022 Likewise.
1023 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
1024 Likewise.
1025 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
1026 Likewise.
1027 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
1028 Likewise.
1029 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
1030 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
1031 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
1032 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
1033 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
1034 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
1035 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
1036 Likewise.
1037 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
1038 Likewise.
1039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
1040 Likewise.
1041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
1042 Likewise.
1043 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
1044 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
1045 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
1046 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
1047
1048 2017-01-04 Joseph Myers <joseph@codesourcery.com>
1049
1050 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
1051 __jmp_buf_internal_tag.
1052
1053 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
1054 preserve NaN payload if [__mips_nan2008].
1055 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1056
1057 [BZ #21022]
1058 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
1059
1060 2017-01-03 Joseph Myers <joseph@codesourcery.com>
1061
1062 * sysdeps/i386/fpu/libm-test-ulps: Update.
1063
1064 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1065
1066 * sysdeps/ia64/strcat.c: Remove file.
1067 * sysdeps/powerpc/strcat.c: Likewise.
1068 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
1069 C implementation.
1070 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
1071 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
1072
1073 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1074 Steven Munroe <sjmunroe@us.ibm.com>
1075 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1076
1077 [BZ #20822]
1078 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1079 (__lll_lock_elision): Access adapt_count via C11 atomics.
1080 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1081 (__lll_trylock_elision): Likewise.
1082 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1083 (__lll_unlock_elision): Update adapt_count variable inside the
1084 critical section using C11 atomics.
1085
1086 2017-01-03 Joseph Myers <joseph@codesourcery.com>
1087
1088 * math/test-fenvinline.c (do_test): Disable tests of raised
1089 exceptions if !EXCEPTION_TESTS (FLOAT).
1090
1091 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1092
1093 [BZ #19390]
1094 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
1095 maximum string size.
1096 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
1097 in pointer addition.
1098 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
1099 Likewise.
1100
1101 2017-01-03 Joseph Myers <joseph@codesourcery.com>
1102
1103 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
1104 passed to tst-ldconfig-X.sh.
1105
1106 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
1107
1108 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
1109
1110 2017-01-02 Joseph Myers <joseph@codesourcery.com>
1111
1112 [BZ #21019]
1113 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
1114 New syscall entry.
1115 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
1116 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
1117 lseek.
1118
1119 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
1120 power4 glibc for powerpc-linux-gnu.
1121
1122 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1123
1124 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
1125 semctl.
1126
1127 2017-01-02 Joseph Myers <joseph@codesourcery.com>
1128
1129 * math/test-nearbyint-except.c: Include <stdbool.h>.
1130 (any_supported): New variable.
1131 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
1132 set any_supported.
1133 (do_test): Return 77 if no floating-point type supported
1134 exceptions.
1135
1136 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
1137 condition on [__mips_hard_float].
1138
1139 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1140
1141 [BZ #21014]
1142 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
1143 in pointer addition.
1144 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
1145
1146 2017-01-02 Torvald Riegel <triegel@redhat.com>
1147
1148 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
1149 new condvar.
1150
1151 2017-01-02 Joseph Myers <joseph@codesourcery.com>
1152
1153 * scripts/build-many-glibcs.py (Context.checkout): Default
1154 binutils version to 2.28 branch.
1155
1156 2017-01-01 Florian Weimer <fweimer@redhat.com>
1157
1158 * support/support_format_netent.c (support_format_netent): Work
1159 around alpha struct netent definition difference.
1160
1161 2017-01-01 Florian Weimer <fweimer@redhat.com>
1162
1163 * support/xwrite.c (xwrite): Use %td for pointer difference.
1164
1165 2017-01-01 Florian Weimer <fweimer@redhat.com>
1166
1167 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
1168 have-tunables only.
1169 (tests-static): Add tst-malloc-usable-static-tunables for
1170 have-tunables only.
1171
1172 2017-01-01 Joseph Myers <joseph@codesourcery.com>
1173
1174 * scripts/config.guess: Update to version 2017-01-01.
1175 * scripts/config.sub: Update to version 2017-01-01.
1176
1177 * NEWS: Update copyright dates.
1178 * catgets/gencat.c (print_version): Likewise.
1179 * csu/version.c (banner): Likewise.
1180 * debug/catchsegv.sh: Likewise.
1181 * debug/pcprofiledump.c (print_version): Likewise.
1182 * debug/xtrace.sh (do_version): Likewise.
1183 * elf/ldconfig.c (print_version): Likewise.
1184 * elf/ldd.bash.in: Likewise.
1185 * elf/pldd.c (print_version): Likewise.
1186 * elf/sotruss.sh: Likewise.
1187 * elf/sprof.c (print_version): Likewise.
1188 * iconv/iconv_prog.c (print_version): Likewise.
1189 * iconv/iconvconfig.c (print_version): Likewise.
1190 * locale/programs/locale.c (print_version): Likewise.
1191 * locale/programs/localedef.c (print_version): Likewise.
1192 * login/programs/pt_chown.c (print_version): Likewise.
1193 * malloc/memusage.sh (do_version): Likewise.
1194 * malloc/memusagestat.c (print_version): Likewise.
1195 * malloc/mtrace.pl: Likewise.
1196 * manual/libc.texinfo: Likewise.
1197 * nptl/version.c (banner): Likewise.
1198 * nscd/nscd.c (print_version): Likewise.
1199 * nss/getent.c (print_version): Likewise.
1200 * nss/makedb.c (print_version): Likewise.
1201 * posix/getconf.c (main): Likewise.
1202 * scripts/test-installation.pl: Likewise.
1203 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1204
1205 * All files with FSF copyright notices: Update copyright dates
1206 using scripts/update-copyrights.
1207 * intl/plural.c: Regenerated.
1208 * locale/programs/charmap-kw.h: Likewise.
1209 * locale/programs/locfile-kw.h: Likewise.
1210
1211 2016-12-31 Florian Weimer <fweimer@redhat.com>
1212
1213 [BZ #20593]
1214 Update DNS RR type definitions.
1215 * scripts/gen-rrtypes.py: New file.
1216 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
1217 BIND-internal RR type not used on the Internet. Add ns_t_ds,
1218 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
1219 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
1220 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
1221 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
1222 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
1223 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
1224 ns_t_ta, ns_t_dlv.
1225 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
1226 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
1227 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
1228 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
1229 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
1230 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
1231 Define.
1232 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
1233 entry for ns_t_zxfr.
1234
1235 2016-12-31 Florian Weimer <fweimer@redhat.com>
1236
1237 [BZ #18784]
1238 CVE-2015-5180
1239 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
1240 T_UNSPEC. Adjust value.
1241 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
1242 * resolv/res_query.c (__libc_res_nquery): Likewise.
1243 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
1244 QTYPEs.
1245 * resolv/tst-resolv-qtypes.c: New file.
1246 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
1247 (tst-resolv-qtypes): Link against libresolv and libpthread.
1248
1249 2016-12-31 Florian Weimer <fweimer@redhat.com>
1250
1251 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
1252
1253 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1254
1255 * manual/tunables.texi: New chapter.
1256 * manual/Makefile (chapters): Add it.
1257 * manual/probes.texi (@node): Point to the Tunables chapter.
1258
1259 * Makeconfig (have-tunables): Check for non-negative instead
1260 of positive.
1261 * configure.ac: Add 'valstring' as a valid value for
1262 --enable-tunables.
1263 * configure: Regenerate.
1264 * elf/Makefile (have-tunables): Check for non-negative instead
1265 of positive.
1266 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
1267 dl-tunables.c.
1268 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
1269 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
1270 (tunables_strdup): Likewise.
1271 (disable_tunables): Likewise.
1272 (parse_tunables): Likewise.
1273 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
1274 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
1275 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
1276 (TUNABLES_FRONTEND_yes): New macro, define as
1277 TUNABLES_FRONTEND_valstring by default.
1278 * manual/install.texi: Document new acceptable values for
1279 --enable-tunables.
1280 * INSTALL: Regenerate.
1281
1282 * config.make.in (have-loop-to-function): Define.
1283 * elf/Makefile (CFLAGS-dl-tunables.c): Add
1284 -fno-tree-loop-distribute-patterns.
1285 * elf/dl-tunables.c: Include libc-internals.h.
1286 (GLIBC_TUNABLES): New macro.
1287 (tunables_strdup): New function.
1288 (parse_tunables): New function.
1289 (min_strlen): New function.
1290 (__tunables_init): Use the new functions and macro.
1291 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
1292 * malloc/tst-malloc-usable-tunables.c: New test case.
1293 * malloc/tst-malloc-usable-static-tunables.c: New test case.
1294 * malloc/Makefile (tests, tests-static): Add tests.
1295
1296 * manual/install.texi: Add --enable-tunables option.
1297 * INSTALL: Regenerate.
1298 * README.tunables: New file.
1299 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
1300 (before-compile): Generate dl-tunable-list.h early.
1301 * config.h.in: Add HAVE_TUNABLES.
1302 * config.make.in: Add have-tunables.
1303 * configure.ac: Add --enable-tunables option.
1304 * configure: Regenerate.
1305 * csu/init-first.c (__libc_init_first): Move
1306 __libc_init_secure earlier...
1307 * csu/init-first.c (LIBC_START_MAIN):... to here.
1308 Include dl-tunables.h, libc-internal.h.
1309 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
1310 binaries.
1311 * elf/Makefile (dl-routines): Add dl-tunables.
1312 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
1313 namespace.
1314 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
1315 only when !HAVE_TUNABLES.
1316 * elf/rtld.c (process_envvars): Likewise.
1317 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
1318 (_dl_sysdep_start): Call __tunables_init.
1319 * elf/dl-tunable-types.h: New file.
1320 * elf/dl-tunables.c: New file.
1321 * elf/dl-tunables.h: New file.
1322 * elf/dl-tunables.list: New file.
1323 * malloc/tst-malloc-usable-static.c: New test case.
1324 * malloc/Makefile (tests-static): Add it.
1325 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
1326 Define TUNABLE_NAMESPACE.
1327 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
1328 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
1329 callback functions.
1330 (ptmalloc_init): Set tunable values.
1331 * scripts/gen-tunables.awk: New file.
1332 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
1333 (_dl_sysdep_start): Call __tunables_init.
1334
1335 2016-12-31 Florian Weimer <fweimer@redhat.com>
1336
1337 * resolv/resolv.h (RES_BLAST): Deprecate.
1338 * resolv/res_debug.c (p_option): Remove RES_BLAST.
1339 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
1340 to RES_BLAST.
1341
1342 2016-12-27 Florian Weimer <fweimer@redhat.com>
1343
1344 [BZ #19582]
1345 Deprecate RES_USE_INET6.
1346 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
1347 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
1348 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
1349 RES_USE_INET6.
1350 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
1351 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
1352 (_nss_nisplus_gethostbyaddr_r): Likewise.
1353 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
1354 of res_use_inet6.
1355 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
1356 instead of RES_USE_INET6.
1357 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
1358 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
1359 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
1360 Likewise.
1361 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
1362 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
1363 Likewise.
1364 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
1365 (_nss_dns_gethostbyname_r): Likewise.
1366 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
1367 alternate RES_USE_INET6 handling.
1368 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
1369 instead of RES_USE_INET6.
1370 * resolv/res_init.c (res_setoptions): Likewise.
1371 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
1372 * resolv/resolv-internal.h: New file.
1373 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
1374 make the deprecation warning non-fatal.
1375 * resolv/README (Using the resolver in multi-threaded code): Drop
1376 reference to RES_USE_INET6.
1377 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
1378 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
1379
1380 2016-12-31 Florian Weimer <fweimer@redhat.com>
1381
1382 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
1383 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
1384 tst-resolv-search.
1385 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
1386 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
1387 with libresolv and libpthread.
1388 * resolv/tst-bug18665.c: New file.
1389 * resolv/tst-bug18665-tcp: Likewise.
1390 * resolv/tst-res_use_inet6: Likewise.
1391 * resolv/tst-resolv-basic: Likewise.
1392 * resolv/tst-resolv-network: Likewise.
1393 * resolv/tst-resolv-search: Likewise.
1394 * support/Makefile (libsupport-routines): Add check_addrinfo,
1395 check_dns_packet, check_hostent, check_netent, resolv_test,
1396 support_format_address_family, support_format_addrinfo,
1397 support_format_dns_packet, support_format_herrno,
1398 support_format_hostent, support_format_netent, support_run_diff,
1399 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
1400 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
1401 xstrdup, xwrite.
1402 * support/check_addrinfo.c: New file.
1403 * support/check_dns_packet.c: Likewise.
1404 * support/check_hostent.c: Likewise.
1405 * support/check_netent.c: Likewise.
1406 * support/check_nss.h: Likewise.
1407 * support/format_nss.h: Likewise.
1408 * support/resolv_test.c: Likewise.
1409 * support/resolv_test.h: Likewise.
1410 * support/run_diff.h: Likewise.
1411 * support/support_format_address_family.c: Likewise.
1412 * support/support_format_addrinfo.c: Likewise.
1413 * support/support_format_dns_packet.c: Likewise.
1414 * support/support_format_herrno.c: Likewise.
1415 * support/support_format_hostent.c: Likewise.
1416 * support/support_format_netent.c: Likewise.
1417 * support/support_run_diff.c: Likewise.
1418 * support/xaccept.c: Likewise.
1419 * support/xbind.c: Likewise.
1420 * support/xconnect.c: Likewise.
1421 * support/xfclose.c: Likewise.
1422 * support/xfopen.c: Likewise.
1423 * support/xgetsockname.c: Likewise.
1424 * support/xlisten.c: Likewise.
1425 * support/xmemstream.c: Likewise.
1426 * support/xmemstream.h: Likewise.
1427 * support/xpoll.c: Likewise.
1428 * support/xpthread_once.c: Likewise.
1429 * support/xrecvfrom.c: Likewise.
1430 * support/xsendto.c: Likewise.
1431 * support/xsetsockopt.c: Likewise.
1432 * support/xstdio.h: Likewise.
1433 * support/xstrdup.c: Likewise.
1434 * support/support.h (xstrdup): Declare.
1435 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
1436 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
1437 * support/xthread.h (xpthread_once): Likwise.
1438 * support/xunistd.h (xwrite): Declare.
1439
1440 2016-12-31 Florian Weimer <fweimer@redhat.com>
1441
1442 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
1443 (test_verbose): Declare.
1444 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
1445 * support/support_test_main.c (default_options): Likewise.
1446 (usage, support_test_main): Handle 'v'.
1447 (test_verbose): Define.
1448 * support/tst-support_record_failure.c (do_test): Use
1449 test_verbose.
1450 * support/tst-support_record_failure-2.sh (different_status): Add
1451 --verbose test.
1452
1453 2016-12-31 Florian Weimer <fweimer@redhat.com>
1454
1455 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
1456 test failures are recorded.
1457 * support/check.c (support_print_failure_impl): Call
1458 support_record_failure.
1459 (support_exit_failure_impl): Call support_record_failure if status
1460 indicates failure.
1461 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
1462 * support/xasprintf.c (xasprintf): Likewise.
1463 * support/xfork.c (xfork): Likewise.
1464 * support/xpthread_check_return.c (xpthread_check_return):
1465 Likewise.
1466 * support/xsocket.c (xsocket): Likeweise.
1467 * support/xwaitpid.c (xwaitpid): Likewise.
1468 * support/support_record_failure.c (struct test_failures): Adjust
1469 to coding style.
1470 * support/support_test_verify_impl.c (support_test_verify_impl):
1471 Adjust error messages.
1472 * support/tst-support_record_failure-2.sh (different_status):
1473 Adjust error messages.
1474
1475 2016-12-31 Florian Weimer <fweimer@redhat.com>
1476
1477 * support/namespace.h: New file.
1478 * support/support_become_root.c: Likewise.
1479 * support/support_enter_network_namespace.c: Likewise.
1480 * support/tst-support-namespace.c: Likewise.
1481 * support/xsocket.c: Likewise.
1482 * support/xsocket.h: Likewise.
1483 * support/Makefile (libsupport-routines): Add support_become_root,
1484 support_enter_network_namespace, xsocket.
1485 (tests): Add tst-support-namespace.
1486
1487 2016-12-31 Florian Weimer <fweimer@redhat.com>
1488
1489 [BZ #17252]
1490 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
1491 __USE_GNU.
1492
1493 2016-12-31 Torvald Riegel <triegel@redhat.com>
1494
1495 [BZ #13165]
1496 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
1497 use new algorithm.
1498 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
1499 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
1500 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
1501 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1502 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
1503 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
1504 __condvar_cleanup_waiting, __condvar_dec_grefs,
1505 __pthread_cond_wait_common): New.
1506 (__condvar_cleanup): Remove.
1507 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
1508 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
1509 Likewise.
1510 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
1511 Likewise.
1512 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
1513 * nptl/tst-cond1.c: Add comment.
1514 * nptl/tst-cond20.c (do_test): Adapt.
1515 * nptl/tst-cond22.c (do_test): Likewise.
1516 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
1517 structure.
1518 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1519 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1520 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1521 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
1522 Likewise.
1523 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1524 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1525 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1526 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1527 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1528 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
1529 Likewise.
1530 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
1531 Likewise.
1532 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1533 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
1534 (COND_CLOCK_BITS): Adapt.
1535 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
1536 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
1537 __PTHREAD_COND_SHARED_MASK): New.
1538 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
1539 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
1540 * nptl/nptl_lock_constants.pysym: Adapt.
1541 * nptl/test-cond-printers.py: Adapt.
1542 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
1543 cond_compat_check_and_clear): Adapt.
1544 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
1545 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
1546 (__pthread_cond_timedwait): ... and move here.
1547 * nptl/DESIGN-condvar.txt: Remove file.
1548 * nptl/lowlevelcond.sym: Likewise.
1549 * nptl/pthread_cond_timedwait.c: Likewise.
1550 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
1551 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
1552 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
1553 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
1554 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
1555 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
1556 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
1557 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
1558 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
1559 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
1560 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
1561 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
1562 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
1563 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
1564 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
1565 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
1566
1567 2016-12-31 Joseph Myers <joseph@codesourcery.com>
1568
1569 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1570 (fromfp): New declaration.
1571 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1572 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1573 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1574 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
1575 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
1576 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1577 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1578 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1579 * math/math.h: Include <bits/types.h>.
1580 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
1581 constant and macro.
1582 (FP_INT_DOWNWARD): Likewise.
1583 (FP_INT_TOWARDZERO): Likewise.
1584 (FP_INT_TONEARESTFROMZERO): Likewise.
1585 (FP_INT_TONEAREST): Likewise.
1586 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
1587 (fromfpf): Likewise.
1588 (fromfpl): Likewise.
1589 (ufromfp): Likewise.
1590 (ufromfpf): Likewise.
1591 (ufromfpl): Likewise.
1592 (fromfpx): Likewise.
1593 (fromfpxf): Likewise.
1594 (fromfpxl): Likewise.
1595 (ufromfpx): Likewise.
1596 (ufromfpxf): Likewise.
1597 (ufromfpxl): Likewise.
1598 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
1599 s_fromfpxF and s_ufromfpxF.
1600 * math/gen-fromfp-tests.py: New file.
1601 * math/gen-fromfp-tests-inputs: Likewise.
1602 * math/libm-test.inc: Include <stdint.h>
1603 (check_intmax_t): New function.
1604 (check_uintmax_t): Likewise.
1605 (struct test_fiu_M_data): New type.
1606 (struct test_fiu_U_data): Likewise.
1607 (RUN_TEST_fiu_M): New macro.
1608 (RUN_TEST_LOOP_fiu_M): Likewise.
1609 (RUN_TEST_fiu_U): Likewise.
1610 (RUN_TEST_LOOP_fiu_U): Likewise.
1611 (fromfp_test_data): New array.
1612 (fromfp_test): New function.
1613 (fromfpx_test_data): New array.
1614 (fromfpx_test): New function.
1615 (ufromfp_test_data): New array.
1616 (ufromfp_test): New function.
1617 (ufromfpx_test_data): New array.
1618 (ufromfpx_test): New function.
1619 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
1620 ufromfpx_test.
1621 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
1622 characters.
1623 * math/test-tgmath-ret.c: Include <stdint.h>.
1624 (rm): New variable.
1625 (width): Likewise.
1626 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
1627 called function.
1628 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
1629 CHECK_RET_CONST_TYPE.
1630 (CHECK_RET_CONST_DOUBLE): Likewise.
1631 (CHECK_RET_CONST_LDOUBLE): Likewise.
1632 (CHECK_RET_CONST): Take extra arguments and pass them to calls
1633 macros.
1634 (fromfp): New CHECK_RET_CONST call.
1635 (ufromfp): Likewise.
1636 (fromfpx): Likewise.
1637 (ufromfpx): Likewise.
1638 (do_test): Call check_return_fromfp, check_return_ufromfp,
1639 check_return_fromfpx and check_return_ufromfpx.
1640 * math/test-tgmath.c: Include <stdint.h>
1641 (NCALLS): Increase to 138.
1642 (F(compile_test)): Initialize i. Call fromfp functions.
1643 (F(fromfp)): New function.
1644 (F(fromfpx)): Likewise.
1645 (F(ufromfp)): Likewise.
1646 (F(ufromfpx)): Likewise.
1647 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
1648 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
1649 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
1650 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
1651 ufromfpxl.
1652 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
1653 ufromfp and ufromfpx.
1654 * math/fromfp.h: New file.
1655 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
1656 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
1657 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
1658 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
1659 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
1660 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
1661 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
1662 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
1663 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
1664 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
1665 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
1666 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
1667 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
1668 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
1669 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
1670 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
1671 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
1672 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
1673 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
1674 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
1675 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
1676 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
1677 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
1678 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
1679 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
1680 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
1681 ufromfp, fromfpx and ufromfpx.
1682 (CFLAGS-nldbl-fromfp.c): New variable.
1683 (CFLAGS-nldbl-fromfpx.c): Likewise.
1684 (CFLAGS-nldbl-ufromfp.c): Likewise.
1685 (CFLAGS-nldbl-ufromfpx.c): Likewise.
1686 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
1687 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
1688 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
1689 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
1690 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
1691 * sysdeps/nacl/libm.abilist: Update.
1692 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1693 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1694 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1695 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1696 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1697 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1698 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1699 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1700 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1701 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1702 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1703 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1705 Likewise.
1706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1707 Likewise.
1708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1709 Likewise.
1710 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1711 Likewise.
1712 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1713 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1714 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1715 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1716 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1717 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1718 Likewise.
1719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1720 Likewise.
1721 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1722 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1723 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1724
1725 2016-12-30 Florian Weimer <fweimer@redhat.com>
1726
1727 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
1728 compat-gethnamaddr.
1729 (CPPFLAGS): Remove.
1730 * resolv/gethnamaddr.c: Rename ...
1731 * resolv/compat-gethnamaddr.c: ... to this file.
1732 (_endhtent): Make static.
1733 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
1734 symbol.
1735 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
1736 compat symbol.
1737 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
1738 symbol.
1739 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
1740 Turn into compat symbol.
1741 * include/resolv.h (_endhtent): Remove declaration.
1742
1743 2016-12-30 Joseph Myers <joseph@codesourcery.com>
1744
1745 * bits/types.h (__intmax_t): New typedef.
1746 (__uintmax_t): Likewise.
1747 * sysdeps/generic/stdint.h: Include <bits/types.h>.
1748 (intmax_t): Define using __intmax_t.
1749 (uintmax_t): Define using __uintmax_t.
1750
1751 * support/Makefile (tests-special): Make definition conditional on
1752 [$(run-built-tests) = yes].
1753 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
1754 on [$(run-built-tests) = yes].
1755
1756 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
1757
1758 * Rules (tests): Add tests-printers-programs to tests to be
1759 built.
1760
1761 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1762
1763 * sysvipc/Makefile (tests): Add test-sysvshm.
1764 * sysvipc/test-sysvshm.c: New file.
1765
1766 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
1767 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
1768 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
1769 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
1770 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
1771 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
1772 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
1773 Likewise.
1774 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
1775 Likewise.
1776 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
1777 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
1778 is defined.
1779
1780 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
1781 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
1782 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
1783 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
1784 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
1785 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
1786 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
1787 Likewise.
1788 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
1789 Likewise.
1790 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
1791 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
1792 defined.
1793
1794 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1795 oldshmctl.
1796 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
1797 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
1798 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
1799 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
1800 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
1801 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
1802 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
1803 Likewise.
1804 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
1805 Likewise.
1806 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
1807 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
1808 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
1809 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
1810 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
1811 implementation.
1812 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
1813 if it is defined.
1814
1815 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
1816 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
1817 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
1818 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
1819 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
1820 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
1821 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
1822 Likewise.
1823 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
1824 Likewise.
1825 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
1826 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1827 Define to __NR_osf_shmat.
1828 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
1829 defined.
1830
1831 * sysvipc/Makefile (tests): Add test-sysvsem.
1832 * sysvipc/test-sysvsem.c: New file.
1833
1834 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
1835 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
1836 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
1837 Likewise.
1838 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
1839 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
1840 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
1841 Likewise.
1842 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
1843 Likewise.
1844 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
1845 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
1846 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
1847 add a comment about s390 syscall difference from default one.
1848 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
1849 syscall if it is defined.
1850
1851 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
1852 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
1853 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
1854 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
1855 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
1856 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
1857 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
1858 Likewise.
1859 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
1860 Likewise.
1861 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
1862 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
1863 defined.
1864
1865 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
1866 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
1867 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
1868 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
1869 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
1870 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
1871 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
1872 Likewise.
1873 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
1874 Likewise.
1875 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
1876 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
1877 if it is defined.
1878
1879 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1880 oldsemctl.
1881 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
1882 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
1883 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
1884 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
1885 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
1886 implementation.
1887 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
1888 syscall if it is defined.
1889 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
1890 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
1891 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
1892 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
1893 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
1894 Likewise.
1895 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
1896
1897 * sysvipc/Makefile (tests): Add test-sysvmsg.
1898 * sysvipc/test-sysvmsg.c: New file.
1899 * support/check.h (FAIL_UNSUPPORTED): New define.
1900
1901 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
1902 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
1903 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
1904 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
1905 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
1906 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
1907 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
1908 Likewise.
1909 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
1910 Likewise.
1911 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
1912 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
1913 define.
1914
1915 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
1916 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
1917 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
1918 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
1919 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
1920 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
1921 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
1922 Likewise.
1923 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
1924 Likewise.
1925 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
1926 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
1927 if defined.
1928
1929 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
1930 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
1931 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1932 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1933 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1934 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
1935 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1936 Likewise.
1937 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
1938 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
1939 Likewise.
1940 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
1941 if defined.
1942 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
1943
1944 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1945 oldmsgctl.
1946 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
1947 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
1948 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
1949 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
1950 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1951 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1952 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1953 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1954 Likewise.
1955 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
1956 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
1957 implementation.
1958 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
1959 if defined.
1960
1961 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
1962 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
1963 definition and define its own.
1964 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
1965 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
1966 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
1967 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
1968 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
1969 definitions to common header.
1970 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
1971 operation from ipc_ops.h.
1972
1973 * sysdeps/unix/sysv/linux/kernel-features.h
1974 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
1975 * sysdeps/unix/sysv/linux/i386/kernel-features.h
1976 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
1977 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1978 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1979 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1980 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1981 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1982 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1983 * sysdeps/unix/sysv/linux/s390/kernel-features.h
1984 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1985 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1986 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1987 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1988 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1989
1990 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1991
1992 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
1993 overflow in pointer addition.
1994
1995 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1996
1997 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1998 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
1999 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2000 (strchr): Add __strchr_power8 to list of strchr functions.
2001 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
2002 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
2003 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
2004 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
2005 (strchr): Add __strchr_power8 to ifunc list.
2006 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
2007 (__strchrnul): Add __strchrnul_power8 to ifunc list.
2008 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
2009 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
2010
2011 2016-12-28 Florian Weimer <fweimer@redhat.com>
2012
2013 * support/Makefile (libsupport-routines): Add
2014 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
2015 (tests): Add tst-support_record_failure.
2016 (tests-special): tst-support_record_failure-2.
2017 (tst-support_record_failure-2.out): Depend on
2018 tst-support_record_failure-2.sh and tst-support_record_failure.
2019 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
2020 (support_test_verify_impl, support_record_failure)
2021 (support_report_failure, support_report_failure_reset): Declare.
2022 * support/support_test_main.c (adjust_exit_status): New function.
2023 (support_test_main): Call it to incorporate record test failures.
2024 * support/support_test_verify_impl.c: New file.
2025 * support/support_record_failure.c: Likewise.
2026 * support/tst-support_record_failure.c: Likewise.
2027 * support/tst-support_record_failure-2.sh: Likewise.
2028 * support/xunistd.h: Likewise.
2029 * support/xfork.c: Likewise.
2030 * support/xwaitpid.c: Likewise.
2031
2032 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
2033
2034 * scripts/check-c++-types.sh: Add comments.
2035
2036 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
2037
2038 [BZ #19514]
2039 * resolv/res_send.c: Fix typo in comment.
2040 * sysdeps/i386/i386-mcount.S: Likewise.
2041 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2042 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2043 * sysdeps/sparc/sparc-mcount.S: Likewise.
2044
2045 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2046
2047 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
2048 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
2049 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
2050 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
2051 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
2052 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
2053 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
2054 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
2055
2056 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2057
2058 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
2059
2060 2016-12-27 Florian Weimer <fweimer@redhat.com>
2061
2062 [BZ #17252]
2063 * posix/unistd.h (getentropy): Declare.
2064
2065 2016-12-27 Florian Weimer <fweimer@redhat.com>
2066
2067 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
2068 Remove.
2069 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
2070 (cmd): Remove spoof, nospoof, spoofalert.
2071 (parse_line): Ignore spoof-related lines.
2072 (do_init): Do not process RESOLV_SPOOF_CHECK.
2073
2074 2016-12-27 Florian Weimer <fweimer@redhat.com>
2075
2076 [BZ #20964]
2077 sunrpc: Always obtain AF_INET addresses from NSS.
2078 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
2079 * sunrpc/rpc_gethostbyname.c: New file.
2080 * sunrpc/Makefile (routines): Add it.
2081 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
2082 * sunrpc/clnt_simp.c (callrpc): Likewise.
2083 * sunrpc/getrpcport.c (getrpcport): Likewise.
2084
2085 2016-12-27 Florian Weimer <fweimer@redhat.com>
2086
2087 * sunrpc/rpcinfo.c: Remove.
2088 * sunrpc/Makefile: Remove comments referring to rpcinfo.
2089
2090 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2091
2092 [BZ# 19387]
2093 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
2094 addition.
2095 * string/test-memchr.c (do_test): Remove alignment limitation.
2096 (test_main): Add test that trigger BZ# 19387.
2097
2098 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2099
2100 [BZ #7065]
2101 Enable stack protectore if requested by ./configure.
2102 * Makeconfig (+stack-protector): New variable.
2103 (+cflags): Use it.
2104
2105 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2106
2107 [BZ #7065]
2108 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
2109 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
2110 (__rt_sigreturn_stub): Use inhibit_stack_protector.
2111 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2112 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
2113
2114 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2115
2116 [BZ #7065]
2117 * login/Makefile (pt_chown-cflags): Remove.
2118 * nscd/Makefile (CFLAGS-nscd): Likewise.
2119 * resolv/Makefile (CFLAGS-libresolv): Likewise.
2120
2121 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2122
2123 [BZ #7065]
2124 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
2125 non-libc-linking testcase.
2126
2127 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2128 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2129 Florian Weimer <fweimer@redhat.com>
2130
2131 [BZ #7065]
2132 PLT avoidance for __stack_chk_fail*.
2133 * debug/Makefile (CFLAGS-stack_chk_fail.c)
2134 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
2135 * debug/stack_chk_fail.c (__stack_chk_fail): Add
2136 __stack_chk_fail_local alias.
2137 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
2138 (__stack_chk_fail): Turn into hidden reference to
2139 __stack_chk_fail_local.
2140
2141 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2142
2143 [BZ #7065]
2144 * configure.ac: Add check for unsupported stack-protection level.
2145 (libc_cv_predef_stack_protector): Remove.
2146 (no_ssp): New variable.
2147 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
2148 (stack_protector): Set to -fno-stack-protector similarly.
2149 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
2150 (libc_cv_asm_set_directive): Likewise.
2151 (libc_cv_protected_data): Likewise.
2152 (libc_cv_z_combreloc): Likewise.
2153 (libc_cv_hashstyle): Likewise.
2154 (libc_cv_has_glob_dat): Likewise.
2155 (libc_cv_output_format): Likewise.
2156 (libc_cv_output_format): Likewise.
2157 (libc_cv_ehdr_start): Likewise.
2158 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
2159 (LIBC_LINKER_FEATURE): Likewise.
2160 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
2161
2162 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2163
2164 [BZ #7065]
2165 * elf/Makefile (dummy-stack-chk-fail): New.
2166 (librtld.map): Use it.
2167
2168 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2169
2170 [BZ #7065]
2171 Compile the dynamic linker without stack protection.
2172 * elf/Makefile (elide-stack-protector): New.
2173 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
2174 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
2175 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
2176 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
2177
2178 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2179
2180 [BZ #7065]
2181 * config.make.in (have-ssp, no-stack-protector): New.
2182 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
2183 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
2184 (CFLAGS-sbrk.op): Likewise.
2185 (CFLAGS-brk.o): Likewise.
2186 (CFLAGS-brk.op): Likewise.
2187 * string/Makefile (CFLAGS-memcpy.c): Likewise.
2188 (CFLAGS-wordcopy.c): Likewise.
2189
2190 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2191
2192 [BZ #7065]
2193 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
2194 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
2195 * include/libc-symbols.h (inhibit_stack_protector): New macro.
2196 (__ifunc_resolver): Use it.
2197 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
2198 inhibit_stack_protector.
2199 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
2200 * elf/ifuncmain7.c (foo_ifunc): Likewise.
2201 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
2202 (foo_protected_ifunc): Likewise.
2203 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
2204 (foo_protected_ifunc): Likewise.
2205 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
2206 * sysdeps/nacl/nacl_interface_query.c
2207 (nacl_interface_query_ifunc): Likewise.
2208 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
2209 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
2210 Likewise.
2211 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
2212 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
2213 the generated vDSO syscall resolver.
2214
2215 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2216 Florian Weimer <fweimer@redhat.com>
2217
2218 [BZ #7065]
2219 Initialize the stack guard earlier when linking statically.
2220 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
2221 (__pthread_initialize_minimal): Declare.
2222 * csu/libc-start.c (__pthread_initialize_minimal): Remove
2223 declaration.
2224 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
2225 stack canary and apply_irel initialization up. Call
2226 __pthread_initialize_minimal only if linked in.
2227 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
2228 constant values.
2229 (__pthread_initialize_minimal): Remove.
2230 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
2231 (__pthread_initialize_minimal_internal): Do not call
2232 __libc_setup_tls.
2233
2234 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2235
2236 [BZ #7065]
2237 * configure.ac (libc_cv_ssp): Move up.
2238 (libc_cv_ssp_strong): Likewise.
2239 (libc_cv_ssp_all): New.
2240 (stack_protector): Augment, adding -fstack-protector-all.
2241 (no_stack_protector): New.
2242 (STACK_PROTECTOR_LEVEL): New.
2243 (AC_ARG_ENABLE(stack-protector)): New configure flag.
2244 * manual/install.texi (--enable-stack-protector): Document it.
2245 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
2246
2247 2016-12-24 Carlos O'Donell <carlos@redhat.com>
2248
2249 * README.pretty-printers: Must specify CPPFLAGS-* also.
2250 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
2251 (CPPFLAGS-test-mutex-printers.c): Define.
2252 (CPPFLAGS-test-condattr-printers.c): Define.
2253 (CPPFLAGS-test-cond-printers.c): Define.
2254 (CPPFLAGS-test-rwlockattr-printers.c): Define.
2255 (CPPFLAGS-test-rwlock-printers.c): Define.
2256
2257 * nss/Makefile [ifeq (yes,$(have-thread-library))]
2258 (tests): Add tst-cancel-getpwuid_r.
2259 * nss/tst-cancel-getpwuid_r.c: New file.
2260
2261 [BZ #11941]
2262 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
2263 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
2264 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
2265 tst-nodelete-dlclose.
2266 (modules-names): Add tst-nodelete-dlclose-dso and
2267 tst-nodelete-dlclose-plugin.
2268 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
2269 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
2270 ($(objpfx)tst-nodelete-dlclose): Define.
2271 ($(objpfx)tst-nodelete-dlclose.out): Define.
2272
2273 2016-12-23 Florian Weimer <fweimer@redhat.com>
2274
2275 * scripts/test_printers_common.py: Log GDB output in case of
2276 Python detection failure.
2277
2278 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
2279
2280 * configure.ac: Check for python3 or python.
2281 * configure: Regenerated.
2282 * config.make.in (PYTHON): New variable.
2283 * benchtests/Makefile: Don't define PYTHON.
2284 (bench): Define target only if PYTHON was defined.
2285 * Rules: Don't define PYTHON.
2286 Define pretty printer targets only if PYTHON was defined.
2287 (tests-printers): Add to tests-unsupported if PYTHON is not
2288 found.
2289 (python-flags, python-invoke): Remove.
2290 (tests-printers-out): Use PYTHON instead of python-invoke.
2291
2292 2016-12-21 Joseph Myers <joseph@codesourcery.com>
2293
2294 [BZ #20978]
2295 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
2296 Compare name == NULL, not name != NULL.
2297
2298 * manual/texinfo.tex: Update to version 2016-09-18.18 with
2299 trailing whitespace removed.
2300 * scripts/config.guess: Update to version 2016-10-02.
2301 * scripts/config.sub: Update to version 2016-11-19.
2302 * scripts/install-sh: Update to version 2016-01-11.22.
2303 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
2304 * scripts/move-if-change: Update to version 2016-01-11 22:04.
2305
2306 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2307
2308 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
2309 (do_one_test) Restore original string so iteration works.
2310 * string/string-inlines.c (do_test): Create better input strings.
2311 (test_main) Reduce number of testruns.
2312 * string/string-inlines.c (__old_strsep_1c): New function.
2313 (__old_strsep_2c): Likewise.
2314 (__old_strsep_3c): Likewise.
2315 * string/strsep.c (__strsep): Remove case of small delim string.
2316 Call strcspn directly rather than strpbrk.
2317 * string/bits/string2.h (__strsep): Remove define.
2318 (__strsep_1c): Remove.
2319 (__strsep_2c): Remove.
2320 (__strsep_3c): Remove.
2321 (strsep): Remove.
2322 * sysdeps/unix/sysv/linux/internal_statvfs.c
2323 (__statvfs_getflags): Rename to __strsep.
2324
2325 2016-12-21 Florian Weimer <fweimer@redhat.com>
2326
2327 * csu/libc-tls.c (_dl_tls_setup): Remove.
2328 * elf/dl-tls.c (_dl_tls_setup): Likewise.
2329 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
2330 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
2331
2332 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
2333
2334 [BZ #7065]
2335 * sysdeps/x86_64/Makefile [$(subdir) = elf]
2336 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
2337
2338 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
2339 Florian Weimer <fweimer@redhat.com>
2340
2341 [BZ #7065]
2342 * csu/Makefile (tests): Empty assignment and document it.
2343 (tests-static): Remove.
2344 * csu/tst-empty.c: Move to...
2345 * misc/tst-empty.c: ... here. Switch to new test driver.
2346 * csu/tst-atomic.c: Move to...
2347 * misc/tst-atomic.c: ... here. Switch to new test driver.
2348 * csu/tst-atomic-long.c: Move to...
2349 * misc/tst-atomic-long.c: ... here.
2350 * misc/Makefile (tests): Add tst-empty, tst-atomic,
2351 tst-atomic-long.
2352 (tests-static): Add tst-empty.
2353
2354 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
2355
2356 * manual/nss.texi: Change incorrect @vtable to @table.
2357 * manual/arith.texi: Convert @tables of variables to @vtables
2358 and remove unnecessary indexing.
2359 * manual/filesys.texi: Likewise.
2360 * manual/llio.texi: Likewise.
2361 * manual/memory.texi: Likewise.
2362 * manual/process.texi: Likewise.
2363 * manual/resource.texi: Likewise.
2364 * manual/search.texi: Likewise.
2365 * manual/signal.texi: Likewise.
2366 * manual/socket.texi: Likewise.
2367 * manual/stdio.texi: Likewise.
2368 * manual/sysinfo.texi: Likewise.
2369 * manual/syslog.texi: Likewise.
2370 * manual/terminal.texi: Likewise.
2371 * manual/time.texi: Likewise.
2372 * manual/users.texi: Likewise.
2373
2374 2016-12-21 Joseph Myers <joseph@codesourcery.com>
2375
2376 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2377 (roundeven): New declaration.
2378 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
2379 macro.
2380 * math/Versions (roundeven): New libm symbol at version
2381 GLIBC_2.25.
2382 (roundevenf): Likewise.
2383 (roundevenl): Likewise.
2384 * math/Makefile (libm-calls): Add s_roundevenF.
2385 * math/libm-test.inc (roundeven_test_data): New array.
2386 (roundeven_test): New function.
2387 (main): Call roundeven_test.
2388 * math/test-tgmath.c (NCALLS): Increase to 134.
2389 (F(compile_test)): Call roundeven.
2390 (F(roundeven)): New function.
2391 * manual/arith.texi (Rounding Functions): Document roundeven,
2392 roundevenf and roundevenl.
2393 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
2394 * include/math.h (roundeven): Use libm_hidden_proto.
2395 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
2396 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
2397 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
2398 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
2399 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
2400 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
2401 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2402 roundeven.
2403 (CFLAGS-nldbl-roundeven.c): New variable.
2404 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
2405 * sysdeps/nacl/libm.abilist: Update.
2406 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2407 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2408 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2409 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2410 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2411 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2412 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2413 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2414 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2415 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2416 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2417 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2419 Likewise.
2420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2421 Likewise.
2422 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2423 Likewise.
2424 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2425 Likewise.
2426 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2427 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2428 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2429 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2430 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2431 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2432 Likewise.
2433 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2434 Likewise.
2435 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2436 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2437 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2438
2439 2016-12-20 Joseph Myers <joseph@codesourcery.com>
2440
2441 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
2442 preprocessor indentation inside #if.
2443
2444 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2445
2446 * math/libm-test.inc (fmt_ftostr): New function.
2447 (print_float, check_float_internal): Replace some uses of
2448 FTOSTR with uses of fmt_ftostr.
2449 (print_max_error, print_complex_max_error, print_function_ulps)
2450 (print_complex_function_ulps): Remove uses of the macros
2451 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
2452 * math/test-double.h (FTOSTR): Define to strfromd.
2453 (PRINTF_EXPR): Delete.
2454 (PRINTF_XEXPR): Likewise.
2455 (PRINTF_NEXPR): Likewise.
2456 * math/test-float.h (FTOSTR): Define to strfromf.
2457 (PRINTF_EXPR): Delete.
2458 (PRINTF_XEXPR): Likewise.
2459 (PRINTF_NEXPR): Likewise.
2460 * math/test-ldouble.h (FTOSTR): Define to strfroml.
2461 (PRINTF_EXPR): Delete.
2462 (PRINTF_XEXPR): Likewise.
2463 (PRINTF_NEXPR): Likewise.
2464
2465 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2466
2467 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
2468 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
2469 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
2470 (__lll_lock_elision): Decrement adapt_count while unlocking
2471 instead of before locking.
2472 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2473 (__lll_trylock_elision): Likewise.
2474 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
2475 (__lll_unlock_elision): Likewise.
2476
2477 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2478
2479 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
2480 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
2481 Use __libc_tbegin_retry macro.
2482
2483 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2484
2485 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
2486 Add -msoft-float.
2487 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
2488 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
2489 Use __libc_t* transaction macros instead of __builtin_t*.
2490 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2491 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2492
2493 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2494
2495 * sysdeps/unix/sysv/linux/s390/elision-lock.c
2496 (__lll_lock_elision): Use atomics to load / store adapt_count.
2497 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2498 (__lll_trylock_elision): Likewise.
2499
2500 2016-12-20 Florian Weimer <fweimer@redhat.com>
2501
2502 Do not require memset elimination in explicit_bzero test.
2503 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
2504 (enum test_expectation): Add NO_EXPECTATIONS.
2505 (subtests): NO_EXPECTATIONS for ordinary clear.
2506 (check_test_buffer): Handle NO_EXPECTATIONS.
2507 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
2508
2509 2016-12-20 Joseph Myers <joseph@codesourcery.com>
2510
2511 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2512 (fmaxmag): New declaration.
2513 (fminmag): Likewise.
2514 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
2515 macro.
2516 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
2517 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
2518 (fmaxmagf): Likewise.
2519 (fmaxmagl): Likewise.
2520 (fminmag): Likewise.
2521 (fminmagf): Likewise.
2522 (fminmagl): Likewise.
2523 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
2524 * math/s_fmaxmag_template.c: New file.
2525 * math/s_fminmag_template.c: Likewise.
2526 * math/libm-test.inc (fmaxmag_test_data): New array.
2527 (fmaxmag_test): New function.
2528 (fminmag_test_data): New array.
2529 (fminmag_test): New function.
2530 (main): Call fmaxmag_test and fminmag_test.
2531 * math/test-tgmath.c (NCALLS): Increase to 132.
2532 (F(compile_test)): Call fmaxmag and fminmag.
2533 (F(fminmag)): New function.
2534 (F(fmaxmag)): Likewise.
2535 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
2536 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
2537 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
2538 fminmag.
2539 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
2540 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
2541 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
2542 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
2543 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
2544 and fminmag.
2545 (CFLAGS-nldbl-fmaxmag.c): New variable.
2546 (CFLAGS-nldbl-fminmag.c): Likewise.
2547 * sysdeps/nacl/libm.abilist: Update.
2548 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2549 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2550 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2551 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2552 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2553 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2554 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2555 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2556 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2557 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2558 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2559 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2561 Likewise.
2562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2563 Likewise.
2564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2565 Likewise.
2566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2567 Likewise.
2568 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2569 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2570 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2571 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2572 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2574 Likewise.
2575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2576 Likewise.
2577 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2578 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2579 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2580
2581 2016-12-19 Torvald Riegel <triegel@redhat.com>
2582
2583 [BZ #20973]
2584 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
2585 wake-up in robust mutexes.
2586 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2587
2588 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2589
2590 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
2591 (CFLAGS-bench-fmaxf.c): New rule.
2592 (CFLAGS-bench-fminf.c): Likewise.
2593 * benchtests/fmaxf-inputs: New file.
2594 * benchtests/fminf-inputs: Likewise.
2595
2596 * benchtests/Makefile (bench-math): Add fmin and fmax.
2597 (CFLAGS-bench-fmax.c): New rule.
2598 (CFLAGS-bench-fmin.c): Likewise.
2599 * benchtests/fmax-inputs: New file.
2600 * benchtests/fmin-inputs: Likewise.
2601
2602 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
2603 parenthesis.
2604 (CMDLINE_PROCESS): Define using function instead of macro.
2605 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
2606 of test-skeleton.
2607 * benchtests/bench-memchr.c: Likewise.
2608 * benchtests/bench-memcmp.c: Likewise.
2609 * benchtests/bench-memcpy-large.c: Likewise.
2610 * benchtests/bench-memcpy.c: Likewise.
2611 * benchtests/bench-memmem.c: Likewise.
2612 * benchtests/bench-memmove-large.c: Likewise.
2613 * benchtests/bench-memmove.c: Likewise.
2614 * benchtests/bench-memset-large.c: Likewise.
2615 * benchtests/bench-memset.c: Likewise.
2616 * benchtests/bench-rawmemchr.c: Likewise.
2617 * benchtests/bench-strcasecmp.c: Likewise.
2618 * benchtests/bench-strcasestr.c: Likewise.
2619 * benchtests/bench-strcat.c: Likewise.
2620 * benchtests/bench-strchr.c: Likewise.
2621 * benchtests/bench-strcmp.c: Likewise.
2622 * benchtests/bench-strcpy.c: Likewise.
2623 * benchtests/bench-strcpy_chk.c: Likewise.
2624 * benchtests/bench-strlen.c: Likewise.
2625 * benchtests/bench-strncasecmp.c: Likewise.
2626 * benchtests/bench-strncmp.c: Likewise.
2627 * benchtests/bench-strncpy.c: Likewise.
2628 * benchtests/bench-strnlen.c: Likewise.
2629 * benchtests/bench-strpbrk.c: Likewise.
2630 * benchtests/bench-strrchr.c: Likewise.
2631 * benchtests/bench-strsep.c: Likewise.
2632 * benchtests/bench-strspn.c: Likewise.
2633 * benchtests/bench-strstr.c: Likewise.
2634 * benchtests/bench-strtok.c: Likewise.
2635
2636 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
2637
2638 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
2639 stepping identification.
2640 (init_cpu_features): Add handle of Haswell.
2641
2642 2016-11-25 Jim Meyering <meyering@fb.com>
2643
2644 [BZ #20386]
2645 Let gcc detect assert(a = 1) errors.
2646 * assert/assert.h (assert): Rewrite, retaining the old definintion
2647 when required, but otherwise putting the expression as-is in an "if"
2648 expression (hence, with no added parentheses) within a statement
2649 expression.
2650
2651 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
2652
2653 * benchtests/Makefile (binaries-benchset): Depend on libsupport
2654 DSO.
2655
2656 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
2657
2658 * Rules (python-flags, python-invoke): New.
2659 ($(test-printers-out)): Use $(python-flags).
2660
2661 2016-12-16 Joseph Myers <joseph@codesourcery.com>
2662
2663 * manual/arith.texi (Math Error Reporting): Document that sNaN
2664 arguments are not considered domain errors.
2665
2666 2016-12-16 Zack Weinberg <zackw@panix.com>
2667 Florian Weimer <fweimer@redhat.com>
2668 Nick Mathewson <nickm@torproject.org>
2669
2670 * string/explicit_bzero.c: New routine.
2671 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
2672 * string/Makefile (routines, strop-tests, tests): Add them.
2673 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
2674 * string/string.h [__USE_MISC]: Declare explicit_bzero.
2675
2676 * debug/explicit_bzero_chk.c: New routine.
2677 * debug/Makefile (routines): Add it.
2678 * debug/tst-chk1.c: Test fortification of explicit_bzero.
2679 * string/bits/string3.h: Fortify explicit_bzero.
2680
2681 * manual/string.texi: Document explicit_bzero.
2682 * NEWS: Mention addition of explicit_bzero.
2683
2684 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
2685 data before returning, using explicit_bzero.
2686 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
2687 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2688 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2689
2690 * include/string.h: Redirect internal uses of explicit_bzero
2691 to __explicit_bzero_chk[_internal].
2692 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
2693 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
2694 * sysdeps/arm/nacl/libc.abilist
2695 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2696 * sysdeps/unix/sysv/linux/alpha/libc.abilist
2697 * sysdeps/unix/sysv/linux/arm/libc.abilist
2698 * sysdeps/unix/sysv/linux/hppa/libc.abilist
2699 * sysdeps/unix/sysv/linux/i386/libc.abilist
2700 * sysdeps/unix/sysv/linux/ia64/libc.abilist
2701 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2702 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2703 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2704 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2705 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2706 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2707 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2708 * sysdeps/unix/sysv/linux/nios2/libc.abilist
2709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2712 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2713 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2714 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2715 * sysdeps/unix/sysv/linux/sh/libc.abilist
2716 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2717 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2718 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2719 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2720 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2721 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2722 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2723 Add entries for explicit_bzero and __explicit_bzero_chk.
2724
2725 2016-12-16 Joseph Myers <joseph@codesourcery.com>
2726
2727 * math/fenv.h
2728 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
2729 (FE_SNANS_ALWAYS_SIGNAL): New macro.
2730 * math/test-fe-snans-always-signal.c: New file.
2731 * math/Makefile (tests): Add test-fe-snans-always-signal.
2732 (CFLAGS-test-fe-snans-always-signal.c): New variable.
2733 * manual/arith.texi (Infinity and NaN): Document
2734 FE_SNANS_ALWAYS_SIGNAL.
2735
2736 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2737
2738 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
2739 bracket.
2740
2741 2016-12-16 Joseph Myers <joseph@codesourcery.com>
2742
2743 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
2744 before calling execv.
2745
2746 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2747
2748 [BZ# 20971]
2749 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
2750 overflow in pointer addition.
2751 * string/test-memchr.c (do_test): Add an argument to pass as
2752 the size on memchr.
2753 (test_main): Add check for SIZE_MAX.
2754
2755 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2756
2757 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
2758 (libm-calls): Add w_scalblnF.
2759 * math/w_scalbln.c: Remove.
2760 * math/w_scalblnf.c: Likewise.
2761 * math/w_scalblnl.c: Likewise.
2762 * math/w_scalbln_template.c: New file with type-generic
2763 implementation based on math/w_scalbln.c.
2764 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
2765 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
2766
2767 2016-12-15 Joseph Myers <joseph@codesourcery.com>
2768
2769 [BZ #20947]
2770 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
2771 either is a signaling NaN.
2772 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
2773 follow fmaxl more closely.
2774 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
2775 when either is a signaling NaN.
2776 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
2777 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
2778 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
2779 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
2780 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
2781 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
2782 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
2783 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
2784 (fmin_test_data): Likewise.
2785
2786 2016-12-15 Andreas Schwab <schwab@suse.de>
2787
2788 * support/support_test_main.c (support_test_main): Don't shadow
2789 file-local variable test_pid.
2790
2791 2016-12-15 Joseph Myers <joseph@codesourcery.com>
2792
2793 [BZ #20947]
2794 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
2795 either is a signaling NaN.
2796 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
2797
2798 2016-12-14 Joseph Myers <joseph@codesourcery.com>
2799
2800 [BZ #20947]
2801 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
2802 when either is a signaling NaN.
2803 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
2804
2805 * bits/long-double.h: New file.
2806 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
2807 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
2808 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
2809 * sysdeps/mips/bits/long-double.h: Likewise.
2810 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
2811 * math/Makefile (headers): Add bits/long-double.h.
2812 * misc/sys/cdefs.h: Include <bits/long-double.h>.
2813 * stdlib/strtold.c: Include <bits/long-double.h> instead of
2814 <bits/wordsize.h>.
2815 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
2816 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
2817 * math/math.h: Do not include <bits/mathdef.h>.
2818 * sysdeps/aarch64/bits/mathdef.h: Remove file.
2819 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
2820 inclusion.
2821 * sysdeps/ia64/bits/mathdef.h: Remove file.
2822 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
2823 * sysdeps/mips/bits/mathdef.h: Likewise.
2824 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2825 * sysdeps/s390/bits/mathdef.h: Likewise.
2826 * sysdeps/sparc/bits/mathdef.h: Likewise.
2827 * sysdeps/x86/bits/mathdef.h: Likewise.
2828 * sysdeps/s390/s390-32/bits/wordsize.h
2829 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
2830 conditional code.
2831 * sysdeps/s390/s390-64/bits/wordsize.h
2832 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2833 Likewise.
2834 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
2835 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2836 Likewise.
2837 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
2838 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2839 Likewise.
2840 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
2841 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2842 Likewise.
2843
2844 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
2845 <linux/falloc.h>.
2846 (FALLOC_FL_KEEP_SIZE): Remove.
2847 (FALLOC_FL_PUNCH_HOLE): Likewise.
2848 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
2849 (FALLOC_FL_ZERO_RANGE): Likewise.
2850
2851 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2852
2853 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
2854
2855 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2856
2857 * sysdeps/unix/sysv/linux/renameat.c: New file.
2858 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
2859
2860 * sysdeps/unix/sysv/linux/rename.c: New file.
2861 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
2862
2863 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
2864
2865 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
2866 * string/strtok.c (strtok): Change to tailcall __strtok_r.
2867 * string/strtok_r.c (__strtok_r): Optimize for performance.
2868 * string/string-inlines.c (__old_strtok_r_1c): New function.
2869 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
2870
2871 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2872
2873 * math/Makefile (gen-libm-calls): Add w_log1pF.
2874 (libm-calls): Remove w_log1pF.
2875 * math/w_log1p.c: Remove.
2876 * math/w_log1pf.c: Likewise.
2877 * math/w_log1pl.c: Likewise.
2878 * math/w_log1p_template.c: New file with type-generic
2879 implementation based on math/w_log1p.c.
2880 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
2881 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
2882
2883 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
2884
2885 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
2886
2887 2016-12-14 Joseph Myers <joseph@codesourcery.com>
2888
2889 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2890 kernel version to 4.9.
2891
2892 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
2893
2894 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
2895 ($(inst_libdir)/libm.a): Fix rule to create the target only.
2896
2897 2016-12-13 Andreas Schwab <schwab@suse.de>
2898
2899 * sysdeps/powerpc/dl-procinfo.c: Don't define
2900 _dl_powerpc_platforms.
2901 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
2902 constants instead of referencing _dl_powerpc_platforms.
2903 (_dl_platform_string): Remove.
2904
2905 2016-12-13 Florian Weimer <fweimer@redhat.com>
2906
2907 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
2908
2909 2016-12-13 Florian Weimer <fweimer@redhat.com>
2910
2911 * Rules (binaries-shared-tests, binaries-pie-tests)
2912 (binaries-static-tests): Link with $(link-extra-libs-tests).
2913 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
2914 Remove $(link-extra-libs-tests).
2915
2916 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2917
2918 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2919 (sysdep_routines): Add strncmp_power9.
2920 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2921 (strncmp): Add __strncmp_power9 to list of strncmp functions.
2922 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
2923 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
2924 (strncmp): Add __strncmp_power9 to ifunc list.
2925 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
2926
2927 2016-12-12 Florian Weimer <fweimer@redhat.com>
2928
2929 [BZ #17252]
2930 Add getentropy, getrandom.
2931 * stdlib/sys/random.h: New file.
2932 (headers): Add it.
2933 * stdlib/Makefile (routines): Add getentropy, getrandom.
2934 (tests): Add tst-getrandom.
2935 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
2936 * stdlib/getentropy.c: New file.
2937 * stdlib/getrandom.c: Likewise.
2938 * stdlib/tst-getrandom.c: Likewise.
2939 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
2940 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
2941 * manual/crypt.texi (Unpredictable Bytes): New section.
2942 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
2943 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
2944 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2945 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2946 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2947 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2948 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2949 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2950 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2951 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2952 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2953 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2954 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2955 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2956 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2957 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2958 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2959 Likewise.
2960 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2961 Likewise.
2962 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2963 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2964 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2965 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2966 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2967 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2968 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2969 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2970 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2971 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2972 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2973 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2974
2975 2016-12-10 Florian Weimer <fweimer@redhat.com>
2976
2977 [BZ #20956]
2978 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
2979 as additional compiler barriers.
2980 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
2981 (fn2, do_test): Declare with external linkage.
2982 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
2983 (do_test): Declare with external linkage.
2984 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
2985 (do_test): Declare with external linkage.
2986 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
2987 (do_test): Declare with external linkage.
2988
2989 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
2990
2991 * support/support_test_main.c (support_test_main): Use correct
2992 timeout.
2993
2994 2016-12-09 Carlos O'Donell <carlos@redhat.com>
2995 Florian Weimer <fweimer@redhat.com>
2996
2997 [BZ #16421]
2998 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
2999 and __u6_addr32 members.
3000 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
3001 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
3002 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
3003 Use __u6_addr32.
3004 * inet/tst-checks.c: Use <support/test-driver.c>
3005 * inet/tst-checks-posix.c: New file.
3006 * inet/Makefile (tests): Add it.
3007 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
3008
3009 2016-12-09 Florian Weimer <fweimer@redhat.com>
3010
3011 New subdirectory support for build and test infrastructure.
3012 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
3013 setting install-lib.
3014 * Makeconfig (link-extra-libs-tests): Define.
3015 (+link-pie-tests, +link-static-tests, +link-tests): Use
3016 link-extra-libs-tests.
3017 (rpath-dirs, all-subdirs): Add support.
3018 (built-modules): Add libsupport.
3019 (libsupport): Define.
3020 * support: New directory.
3021 * support/Makefile: New file.
3022 * support/check.c: Likewise.
3023 * support/check.h: Likewise.
3024 * support/delayed_exit.c: Likewise.
3025 * support/ignore_stderr.c: Likewise.
3026 * support/oom_error.c: Likewise.
3027 * support/set_fortify_handler.c: Likewise.
3028 * support/support.h: Likewise.
3029 * support/temp_file-internal.h: Likewise.
3030 * support/temp_file.c: Likewise.
3031 * support/test-driver.c: Likewise.
3032 * support/test-driver.h: Likewise.
3033 * support/test_main.c: Likewise.
3034 * support/write_message.c: Likewise.
3035 * support/xasprintf.c: Likewise.
3036 * support/xcalloc.c: Likewise.
3037 * support/xmalloc.c: Likewise.
3038 * support/xpthread_barrier_destroy.c: Likewise.
3039 * support/xpthread_barrier_init.c: Likewise.
3040 * support/xpthread_barrier_wait.c: Likewise.
3041 * support/xpthread_cancel.c: Likewise.
3042 * support/xpthread_check_return.c: Likewise.
3043 * support/xpthread_cond_wait.c: Likewise.
3044 * support/xpthread_create.c: Likewise.
3045 * support/xpthread_detach.c: Likewise.
3046 * support/xpthread_join.c: Likewise.
3047 * support/xpthread_mutex_lock.c: Likewise.
3048 * support/xpthread_mutex_unlock.c: Likewise.
3049 * support/xpthread_sigmask.c: Likewise.
3050 * support/xpthread_spin_lock.c: Likewise.
3051 * support/xpthread_spin_unlock.c: Likewise.
3052 * support/xrealloc.c: Likewise.
3053 * support/xsignal.h: Likewise.
3054 * support/xthread.h: Likewise.
3055 * support_tempfile.h: Likewise.
3056 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
3057 (TEST_DATA_LIMIT): Remove unused macro.
3058 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
3059 <support/check.h>.
3060 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
3061 (ignore_stderr, set_fortify_handler): Remove. Now in
3062 <support/support.h>.
3063 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
3064 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
3065 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
3066 (xpthread_join): Remove. Now in <support/xthread.h>.
3067 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
3068 Introduce legacy wrappers.
3069 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
3070 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
3071 (write_message): Remove.
3072 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
3073 test-skeleton.c.
3074 * io/test-open-tmpfile: Likewise.
3075 * io/tst-posix_fallocate-common.c: Likewise.
3076 * libio/tst-fseek.c: Likewise.
3077 * malloc/tst-malloc-backtrace.c: Likewise.
3078 * malloc/tst-malloc-fork-deadlock.c: Likewise.
3079 * malloc/tst-malloc-thread-exit.c: Likewise.
3080 * nptl/tst-cancel7.c: Likewise.
3081 * nptl/tst-cleanup0.c: Likewise.
3082 * posix/tst-posix_fadvise-common.c: Likewise.
3083 * rt/tst-shm.c: Likewise.
3084 * time/bug-getdate1.c: Likewise.
3085 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
3086 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
3087 * elf/Makefile (tst-piemod1.so): Link against libsupport.
3088
3089 2016-12-08 Joseph Myers <joseph@codesourcery.com>
3090
3091 * Rules [$(run-built-tests) != no] (tests-expected): Add
3092 $(tests-printers).
3093 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
3094
3095 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
3096
3097 [BZ #20539]
3098 * math/Makefile (install-lib-ldscripts): Add libm.a.
3099 (install_subdir): Remove.
3100 (install-others): Add.
3101 ($(inst_libdir)/libm.a): Add rule for installation as
3102 linker script.
3103 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
3104
3105 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
3106
3107 * INSTALL: Regenerated.
3108 * Makeconfig: Add comments and whitespace to make the control flow
3109 clearer.
3110 (+link-printers-tests, +link-pie-printers-tests,
3111 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
3112 built-rtld-LDFLAGS, link-libc-rpath,
3113 link-libc-tests-after-rpath-link,
3114 link-libc-printers-tests): New.
3115 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
3116 link-libc-tests): Use the new variables as required.
3117 * Makerules ($(py-const)): New rule.
3118 generated: Add $(py-const).
3119 * README.pretty-printers: New file.
3120 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
3121 (others): Depend on $(py-const).
3122 (tests): Depend on $(tests-printers-programs) or
3123 $(tests-printers-out),
3124 as required. Pass $(tests-printers) to merge-test-results.sh.
3125 * manual/install.texi: Add requirements for testing the pretty
3126 printers.
3127 * nptl/Makefile (gen-py-const-headers, pretty-printers,
3128 tests-printers, CFLAGS-test-mutexattr-printers.c
3129 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
3130 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
3131 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
3132 * nptl/nptl-printers.py: New file.
3133 * nptl/nptl_lock_constants.pysym: Likewise.
3134 * nptl/test-cond-printers.c: Likewise.
3135 * nptl/test-cond-printers.py: Likewise.
3136 * nptl/test-condattr-printers.c: Likewise.
3137 * nptl/test-condattr-printers.py: Likewise.
3138 * nptl/test-mutex-printers.c: Likewise.
3139 * nptl/test-mutex-printers.py: Likewise.
3140 * nptl/test-mutexattr-printers.c: Likewise.
3141 * nptl/test-mutexattr-printers.py: Likewise.
3142 * nptl/test-rwlock-printers.c: Likewise.
3143 * nptl/test-rwlock-printers.py: Likewise.
3144 * nptl/test-rwlockattr-printers.c: Likewise.
3145 * nptl/test-rwlockattr-printers.py: Likewise.
3146 * scripts/gen-py-const.awk: Likewise.
3147 * scripts/test_printers_common.py: Likewise.
3148 * scripts/test_printers_exceptions.py: Likewise.
3149
3150 2016-12-07 Joseph Myers <joseph@codesourcery.com>
3151
3152 * scripts/build-many-glibcs.py (Context.__init__): Take strip
3153 argument.
3154 (Glibc.build_glibc): Strip installed shared libraries if
3155 requested.
3156 (get_parser): Add --strip option.
3157 (main): Update Context call.
3158
3159 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3160 Dominik Vogt <vogt@linux.vnet.ibm.com>
3161
3162 [BZ #20847]
3163 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
3164 array bounds for else branch.
3165 (__execvpe): Style fixes.
3166 * posix/tst-vfork3.c (run_script): New function.
3167 (create_script): Likewise.
3168 (do_test): Use run_script internal function.
3169 (do_prepare): Use create_script internal function.
3170
3171 2016-12-07 Andreas Schwab <schwab@suse.de>
3172
3173 * sysdeps/unix/sysv/linux/x86/elision-conf.h
3174 (__elision_available): Don't declare.
3175 * sysdeps/unix/sysv/linux/x86/elision-conf.c
3176 (__elision_available): Don't define.
3177 (elision_init): Don't set __elision_available.
3178
3179 2016-12-07 Joseph Myers <joseph@codesourcery.com>
3180
3181 [BZ #20940]
3182 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
3183 return Inf for arguments Inf and sNaN.
3184 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
3185 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
3186 Likewise.
3187 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3188 Likewise.
3189 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
3190 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
3191 for arguments Inf and sNaN. When returning a NaN, compute it by
3192 arithmetic on the arguments.
3193 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
3194 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
3195 arguments.
3196
3197 2016-12-06 Joseph Myers <joseph@codesourcery.com>
3198
3199 [BZ #20916]
3200 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
3201 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
3202 to compute result.
3203 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3204 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
3205
3206 2016-12-05 Torvald Riegel <triegel@redhat.com>
3207
3208 * include/atomic.h (__atomic_check_size_ls): New.
3209 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
3210 atomic_store_release): Use it.
3211 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
3212 (elision_adapt, ELIDE_LOCK): Use atomics.
3213 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
3214 atomics and improve code comments.
3215 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
3216 (__lll_trylock_elision): Likewise.
3217
3218 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3219
3220 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
3221 programs.
3222
3223 2016-12-02 Joseph Myers <joseph@codesourcery.com>
3224
3225 [BZ #20916]
3226 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
3227 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
3228 arguments to compute result.
3229 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
3230 1 for arguments (sNaN, 0) or (1, sNaN).
3231 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
3232 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3233
3234 [BZ #20919]
3235 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
3236 NaN first argument when raised to power 0.
3237 * math/w_pow.c (__pow): Do not check for NaN or zero results from
3238 raising to power zero.
3239 * math/w_powf.c (__powf): Likewise.
3240 * math/w_powl.c (__powl): Likewise.
3241 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
3242 pow (0, 0) or pow (NaN, 0).
3243
3244 2016-12-02 Carlos O'Donell <carlos@redhat.com>
3245
3246 [BZ #20918]
3247 * configure.ac: Test for static NSS cryptographic libraries and set
3248 libc_cv_static_nss_crypt.
3249 * configure: Regenerate.
3250 * config.make.in (static-nss-crypt): Define.
3251 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
3252 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
3253 (CFLAGS-tst-linkall-static.c): Define.
3254 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
3255 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
3256 ($(objpfx)tst-linkall-static): Define.
3257 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
3258 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
3259
3260 2016-12-02 Florian Weimer <fweimer@redhat.com>
3261
3262 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
3263 (one-hundred, tst-tls-many-dynamic-modules): Define.
3264 (modules-names): Add $(tst-tls-many-dynamic-modules).
3265 (tst-tls-manydynamic%mod.os): Build with special preprocessor
3266 macros.
3267 (tst-tls-manydynamic): Link against libdl, libpthread.
3268 (tst-tls-manydynamic.out): The test needs the test modules at run
3269 time.
3270 * elf/tst-tls-manydynamic.c: New file.
3271 * elf/tst-tls-manydynamic.h: Likewise.
3272 * elf/tst-tls-manydynamicmod.c: Likewise.
3273
3274 2016-12-02 Florian Weimer <fweimer@redhat.com>
3275
3276 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
3277 (TLS_DTV_UNALLOCATED): Add.
3278 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
3279 offsets.
3280
3281 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
3282
3283 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3284
3285 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
3286
3287 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
3288 Add -fno-optimize-sibling-calls.
3289
3290 2016-12-02 Joseph Myers <joseph@codesourcery.com>
3291
3292 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
3293 New declaration.
3294 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
3295 macro.
3296 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
3297 New macro.
3298 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
3299 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
3300 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
3301 (llogbf): Likewise.
3302 (llogbl): Likewise.
3303 * math/Makefile (gen-libm-calls): Add w_llogbF.
3304 (tests): Add test-fp-llogb-constants.
3305 * math/w_llogb_template.c: New file. Based on
3306 math/w_ilogb_template.c.
3307 * math/libm-test.inc (llogb_test_data): New array.
3308 (llogb_test): New function.
3309 (main): Call llogb_test.
3310 * math/test-fp-llogb-constants.c: New file. Based on
3311 math/test-fp-ilogb-constants.c.
3312 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
3313 (do_test): Call check_return_llogb.
3314 * math/test-tgmath.c (NCALLS): Increase to 126.
3315 (F(compile_test)): Call llogb.
3316 (F(llogb)): New function.
3317 * manual/math.texi (Exponents and Logarithms): Document llogb,
3318 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
3319 * manual/libm-err-tab.pl (@all_functions): Add llogb.
3320 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
3321 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
3322 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
3323 (CFLAGS-nldbl-llogb.c): New variable.
3324 * sysdeps/nacl/libm.abilist: Update.
3325 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3326 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3327 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3328 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3329 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3330 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3331 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3332 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3333 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3334 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3335 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3336 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3338 Likewise.
3339 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3340 Likewise.
3341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3342 Likewise.
3343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3344 Likewise.
3345 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3346 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3347 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3348 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3349 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3350 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3351 Likewise.
3352 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3353 Likewise.
3354 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3355 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3356 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3357
3358 2016-12-01 Joseph Myers <joseph@codesourcery.com>
3359
3360 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
3361 _Float128 instead of long double.
3362 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
3363
3364 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
3365 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
3366 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
3367 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
3368 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
3369 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
3370 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
3371 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
3372 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
3373 Likewise.
3374
3375 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3376
3377 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
3378 Remove redirection to __strrchr_ppc.
3379
3380 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3381
3382 * sysdeps/powerpc/powerpc64/multiarch/Makefile
3383 (sysdep_routines): Add strcmp_power9.
3384 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3385 (strcmp): Add __strcmp_power9 to list of strcmp functions.
3386 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
3387 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
3388 (strcmp): Add __strcmp_power9 to ifunc list.
3389 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
3390
3391 2016-12-01 Joseph Myers <joseph@codesourcery.com>
3392
3393 * bits/fp-logb.h: New file.
3394 * sysdeps/ia64/bits/fp-logb.h: Likewise.
3395 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
3396 * sysdeps/x86/bits/fp-logb.h: Likewise.
3397 * math/Makefile (headers): Add bits/fp-logb.h.
3398 * math/math.h: Include <bits/fp-logb.h>.
3399 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
3400 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
3401 * bits/mathdef.h (FP_ILOGB0): Remove.
3402 (FP_ILOGBNAN): Likewise.
3403 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
3404 (FP_ILOGBNAN): Likewise.
3405 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
3406 (FP_ILOGBNAN): Likewise.
3407 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
3408 (FP_ILOGBNAN): Likewise.
3409 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
3410 (FP_ILOGBNAN): Likewise.
3411 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
3412 (FP_ILOGBNAN): Likewise.
3413 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
3414 (FP_ILOGBNAN): Likewise.
3415 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
3416 (FP_ILOGBNAN): Likewise.
3417 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
3418 (FP_ILOGBNAN): Likewise.
3419 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
3420 (FP_ILOGBNAN): Likewise.
3421
3422 * scripts/build-many-glibcs.py: Add bot to usage message. Import
3423 time module.
3424 (Context.__init__): Initialize self.logsdir_old.
3425 (Context.run_builds): Handle bot action.
3426 (Context.bot_cycle): Copy logs directory before running builds.
3427 (Context.bot_run_self): Take argument for whether to check
3428 subprocess result. Flush stdout before running subprocess.
3429 (Context.bot): New function.
3430 (get_parser): Allow bot action.
3431
3432 2016-11-30 Joseph Myers <joseph@codesourcery.com>
3433
3434 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
3435 Import email.mime.text, email.utils and smtplib modules.
3436 (Context.__init__): Initialize self.bot_config_json.
3437 (Context.run_builds): Handle bot-cycle action.
3438 (Context.load_bot_config_json): New function.
3439 (Context.part_build_old): Likewise.
3440 (Context.bot_cycle): Likewise.
3441 (Context.bot_build_mail): Likewise.
3442 (Context.bot_run_self): Likewise.
3443 (get_parser): Allow bot-cycle action.
3444
3445 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3446
3447 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
3448 Remove redirection to __stpcpy_ppc.
3449
3450 2016-11-30 Florian Weimer <fweimer@redhat.com>
3451
3452 Remove __libc_memalign from ld.so because it is unused.
3453 * elf/dl-minimal.c: Update comment on the malloc implementation.
3454 (malloc): Renamed from __libc_memalign, replacing the original
3455 malloc implementation. Replace the align parameter with
3456 MALLOC_ALIGNMENT.
3457 * elf/Versions (ld): Update comment and remove __libc_memalign.
3458 * sysdeps/nacl/ld.abilist: Likewise.
3459 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
3460 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
3461 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
3462 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
3463 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
3464 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
3465 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
3466 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
3467 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
3468 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
3469 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
3470 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
3471 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
3472 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
3473 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3475 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
3476 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
3477 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
3478 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
3479 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
3480 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
3481 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
3482 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
3483 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
3484 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
3485 * sysdeps/generic/localplt.data (ld.so): Likewise.
3486 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3487 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3488 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3489 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3490 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3491 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3492 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3493 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
3494 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3495 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3496 (ld.so): Likewise.
3497 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3498 (ld.so): Likewise.
3499 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3500 Likewise.
3501 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3502 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3503 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
3504 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
3505 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3506
3507 2016-11-30 Florian Weimer <fweimer@redhat.com>
3508
3509 [BZ #16628]
3510 Implement _dl_catch_error, _dl_signal_error in libc.so.
3511 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
3512 (catch_hook): Define as thread-local or regular variable,
3513 depending on DL_ERROR_BOOTSTRAP.
3514 (CATCH_HOOK): Remove.
3515 (dl_signal_error, _dl_catch_error): Use
3516 catch_hook. Add hidden definition for libc.
3517 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
3518 for DL_ERROR_BOOTSTRAP only.
3519 * elf/dl-error.c: New file.
3520 * elf/dl-error-minimal.c: Likewise.
3521 * elf/tst-latepthread.c: Likewise.
3522 * elf/tst-latepthreadmod.c: Likewise.
3523 * elf/Makefile (routines): Add dl-error.
3524 (dl-routines): Remove dl-error.
3525 (rtld-routines): Add dl-error-minimal.
3526 [build-shared] (tests): Add tst-latepthread.
3527 (module-names): Add tst-latepthreadmod.
3528 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
3529 symbol.
3530 (tst-latepthreadmod.so): Link against libpthread.
3531 (tst-latepthread): Link against libdbl.
3532 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
3533 _dl_catch_error.
3534 [ld] (GLIBC_PRIVATE): Likewise.
3535 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
3536 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
3537 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
3538 directly.
3539 * elf/dl-tsd.c: Remove file.
3540 * elf/rtld.c (_rtld_global_ro): Remove initializers for
3541 _dl_catch_error, _dl_signal_error.
3542 (_dl_initial_error_catch_tsd): Remove definition.
3543 (do_preload): Remove initialization of dl_error_catch_tsd.
3544 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
3545 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
3546 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3547 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3548 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
3549 set dl_error_catch_tsd.
3550 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
3551 _dl_error_catch_tsd member.
3552 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
3553 members.
3554 (_dl_initial_error_catch_tsd): Remove declaration.
3555 (_dl_dprintf): Provide definition for use outside of ld.so.
3556 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
3557 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
3558 prototype for libc.
3559 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
3560 _dl_catch_error.
3561 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3562 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3563 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3564 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3565 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3566 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3567 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3568 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
3569 Likewise.
3570 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3571 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3572 (ld.so): Likewise.
3573 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3574 (ld.so): Likewise.
3575 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3576 Likewise.
3577 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3578 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3579 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
3580 Likewise.
3581 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
3582 Likewise.
3583 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3584
3585 2016-11-30 Florian Weimer <fweimer@redhat.com>
3586
3587 [BZ #4099]
3588 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
3589 _IO_BUFSIZ (8192).
3590
3591 2016-11-30 Carlos O'Donell <carlos@redhat.com>
3592
3593 * PROJECTS: Remove file.
3594
3595 2016-11-29 Florian Weimer <fweimer@redhat.com>
3596
3597 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
3598
3599 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
3600 Steve Ellcey <sellcey@caviumnetworks.com>
3601
3602 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
3603 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
3604 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
3605 fxstatat.
3606 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
3607 lxstat.
3608 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
3609 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
3610 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
3611 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
3612 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
3613 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
3614 __xstat.
3615
3616 2016-11-29 Florian Weimer <fweimer@redhat.com>
3617
3618 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
3619 Define.
3620 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
3621 definition.
3622
3623 2016-11-29 Florian Weimer <fweimer@redhat.com>
3624
3625 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
3626 version and turn into strong alias. Remove compat symbol.
3627
3628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3629 (__longjmp): Remove.
3630
3631 2016-11-29 Joseph Myers <joseph@codesourcery.com>
3632
3633 * bits/fp-fast.h: New file.
3634 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
3635 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
3636 * math/Makefile (headers): Add bits/fp-fast.h.
3637 * math/math.h: Include <bits/fp-fast.h>.
3638 * bits/mathdef.h (FP_FAST_FMA): Remove.
3639 (FP_FAST_FMAF): Likewise.
3640 (FP_FAST_FMAL): Likewise.
3641 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
3642 (FP_FAST_FMAF): Likewise.
3643 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
3644 (FP_FAST_FMAF): Likewise.
3645 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
3646 (FP_FAST_FMAF): Likewise.
3647 (FP_FAST_FMAL): Likewise.
3648 * sysdeps/arm/bits/mathdef.h: Remove file.
3649 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
3650 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3651 * sysdeps/tile/bits/mathdef.h: Likewise.
3652
3653 2016-11-28 Joseph Myers <joseph@codesourcery.com>
3654
3655 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
3656 * math/w_ilogb.c: Remove.
3657 * math/w_ilogbf.c: Likewise.
3658 * math/w_ilogbl.c: Likewise.
3659 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
3660 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
3661 * math/Makefile (gen-libm-calls): Add w_ilogbF.
3662 (libm-calls): Remove w_ilogbF.
3663 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
3664 (LDOUBLE_ilogbl_libm_version): New macro.
3665
3666 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
3667
3668 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
3669 [!__STRICT_ANSI__ && !__cplusplus].
3670
3671 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
3672
3673 [BZ #20750]
3674 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
3675 of PIC.
3676
3677 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3678 Yury Norov <ynorov@caviumnetworks.com>
3679 Steve Ellcey <sellcey@caviumnetworks.com>
3680
3681 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
3682 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
3683 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
3684 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
3685 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
3686 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
3687 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
3688 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
3689 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
3690 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
3691 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
3692 to get correct reg name for ILP32.
3693 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
3694 (RELA_SIZE): New Macro.
3695 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
3696 to support ILP32.
3697 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
3698 cast for ILP32 mode.
3699 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
3700 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
3701 * sysdeps/aarch64/memset.S (__memset): Ditto.
3702 * sysdeps/aarch64/strchr.S (strchr): Ditto.
3703 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
3704 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
3705 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
3706 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
3707 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
3708 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
3709 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
3710 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
3711 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
3712 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
3713 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
3714 change PTR_MANGLE call to use register numbers instead of names.
3715 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
3716 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
3717 ILP32 mode, change PTR_MANGLE calls to use register numbers.
3718 * sysdeps/aarch64/start.S (_start): Ditto.
3719 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
3720 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
3721 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
3722 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
3723 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
3724 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
3725 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
3726 Make defined values dependent on __ILP32__.
3727 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
3728 (sem_t): Change __align type.
3729 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
3730 PTR_SIZE): New Macros.
3731 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
3732 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
3733 Set when in ILP32 mode.
3734 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
3735 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
3736 Set elf flags for ILP32.
3737 (add_system_dir): Set ILP32 library directories.
3738 * sysdeps/unix/sysv/linux/aarch64/init-first.c
3739 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
3740 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
3741 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
3742 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
3743 New Macros.
3744 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
3745
3746 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
3747
3748 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
3749 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
3750 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
3751
3752 2016-11-28 Joseph Myers <joseph@codesourcery.com>
3753
3754 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
3755 <asm/cachectl.h>.
3756
3757 2016-11-27 Zack Weinberg <zackw@panix.com>
3758
3759 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
3760 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
3761
3762 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3763
3764 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
3765 error_t to fix usage in C++ programs.
3766
3767 2016-11-26 Joseph Myers <joseph@codesourcery.com>
3768
3769 * scripts/build-many-glibcs.py: Import datetime module.
3770 (Context.__init__): Load JSON build state. Initialize list of
3771 status logs.
3772 (Context.run_builds): Update saved build state.
3773 (Context.add_makefile_cmdlist): Update list of status logs.
3774 (Context.load_build_state_json): New function.
3775 (Context.store_build_state_json): Likewise.
3776 (Context.clear_last_build_state): Likewise.
3777 (Context.update_build_state): Likewise.
3778 (CommandList.status_logs): Likewise.
3779
3780 2016-11-25 Joseph Myers <joseph@codesourcery.com>
3781
3782 * scripts/build-many-glibcs.py (Context.__init__): Save text of
3783 script being executed.
3784 (Context.get_script_text): New function.
3785 (Context.exec_self): Likewise.
3786 (Context.checkout): Re-exec script if changed by checkout process.
3787
3788 2016-11-24 Joseph Myers <joseph@codesourcery.com>
3789
3790 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3791 (setpayloadsig): New declaration.
3792 * math/Versions (setpayloadsig): New libm symbol at version
3793 GLIBC_2.25.
3794 (setpayloadsigf): Likewise.
3795 (setpayloadsigl): Likewise.
3796 * math/Makefile (libm-calls): Add s_setpayloadsigF.
3797 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
3798 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
3799 (setpayloadsig_test_data): New array.
3800 (setpayloadsig_test): New function.
3801 (main): Call setpayloadsig_test.
3802 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
3803 setpayloadsigf and setpayloadsigl.
3804 * manual/libm-err-tab.pl: Update comment on interfaces without
3805 ulps tabulated.
3806 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
3807 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
3808 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
3809 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
3810 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
3811 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
3812 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3813 setpayloadsig.
3814 (CFLAGS-nldbl-setpayloadsig.c): New variable.
3815 * sysdeps/nacl/libm.abilist: Update.
3816 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3817 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3818 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3819 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3820 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3821 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3822 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3823 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3824 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3825 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3826 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3827 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3829 Likewise.
3830 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3831 Likewise.
3832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3833 Likewise.
3834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3835 Likewise.
3836 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3837 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3838 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3839 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3840 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3841 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3842 Likewise.
3843 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3844 Likewise.
3845 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3846 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3847 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3848
3849 * scripts/build-many-glibcs.py: Import json module.
3850 (Context.__init__): Take replace_sources argument. Load
3851 versions.json.
3852 (Context.load_versions_json): New function.
3853 (Context.store_json): Likewise.
3854 (Context.store_versions_json): Likewise.
3855 (Context.set_component_version): Likewise.
3856 (Context.checkout): Update versions.json. Check for and handle
3857 changes of version. Prefer previously explicitly specified
3858 version to default version.
3859 (Context.checkout_vcs): Return a revision identifier.
3860 (Context.git_checkout): Likewise.
3861 (Context.gcc_checkout): Likewise.
3862 (get_parser): Add --replace-sources option.
3863 (main): Pass replace_sources argument to Context call.
3864
3865 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3866
3867 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
3868 * nptl/allocatestack.c (allocate_stack): Likewise.
3869 (__reclaim_stacks): Likewise.
3870 (setxid_signal_thread): Obtain pid through syscall.
3871 * nptl/nptl-init.c (sigcancel_handler): Likewise.
3872 (sighandle_setxid): Likewise.
3873 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
3874 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3875 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3876 Likewise.
3877 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
3878 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
3879 comment.
3880 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
3881 * nptl/descr.h (struct pthread): Change comment about pid value.
3882 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
3883 pid assert.
3884 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
3885 Do not set pid value.
3886 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
3887 pid cache check.
3888 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
3889 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
3890 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
3891 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
3892 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
3893 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3894 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
3895 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
3896 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
3897 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
3898 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
3899 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3900 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
3901 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3902 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
3903 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
3904 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3905 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
3906 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
3907 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
3908 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
3909 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3910 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
3911 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
3912 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
3913 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3914 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3915 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3916 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3917 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3918 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
3919 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3920 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
3921 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3922 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
3923 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3924 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
3925 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3926 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
3927 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
3928 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3929 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
3930 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
3931 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3933 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3934 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3935 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3936 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3937 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3938 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
3939 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3940 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
3941 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
3942 struct access.
3943 (clone_test): Remove function.
3944 (do_test): Rewrite to take in consideration pid is not cached anymore.
3945
3946 2016-11-24 Joseph Myers <joseph@codesourcery.com>
3947
3948 * bits/flt-eval-method.h: New file.
3949 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
3950 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
3951 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
3952 * math/Makefile (headers): Add bits/flt-eval-method.h.
3953 * math/math.h: Include <bits/flt-eval-method.h>.
3954 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
3955 [__USE_ISOC99] (double_t): Likewise.
3956 * bits/mathdef.h (float_t): Remove.
3957 (double_t): Likewise.
3958 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
3959 (double_t): Likewise.
3960 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
3961 (double_t): Likewise.
3962 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
3963 (double_t): Likewise.
3964 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
3965 (double_t): Likewise.
3966 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
3967 (double_t): Likewise.
3968 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
3969 (double_t): Likewise.
3970 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
3971 (double_t): Likewise.
3972 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
3973 (double_t): Likewise.
3974 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
3975 (double_t): Likewise.
3976 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
3977 (double_t): Likewise.
3978 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
3979 (double_t): Likewise.
3980 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
3981 (double_t): Likewise.
3982 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
3983 (double_t): Likewise.
3984
3985 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
3986
3987 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
3988 instead of PIC.
3989
3990 2016-11-23 Joseph Myers <joseph@codesourcery.com>
3991
3992 [BZ #20859]
3993 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
3994 (-0x7fffffff) instead of 0x80000001.
3995 * math/test-fp-ilogb-constants.c: New file.
3996 * math/Makefile (tests): Add test-fp-ilogb-constants.
3997
3998 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
3999
4000 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
4001 (_init): Use it in place of hardcoded R_MIPS_JALR.
4002 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
4003 (_init): Use it in place of hardcoded R_MIPS_JALR.
4004 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
4005 (_init): Use it in place of hardcoded R_MIPS_JALR.
4006
4007 2016-11-23 Joseph Myers <joseph@codesourcery.com>
4008
4009 [BZ #20787]
4010 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
4011 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
4012 (double_t): Do not define to double if [__x86_64__] when
4013 __FLT_EVAL_METHOD__ is nonzero.
4014 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
4015 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
4016 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4017 test-flt-eval-method-387 and test-flt-eval-method-sse.
4018 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
4019 variable.
4020 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
4021
4022 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
4023
4024 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
4025 use of -fno-isolate-erroneous-paths options for tilepro.
4026
4027 2016-11-23 Florian Weimer <fweimer@redhat.com>
4028
4029 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
4030 structure initialization is no longer needed.
4031
4032 2016-11-23 Joseph Myers <joseph@codesourcery.com>
4033
4034 [BZ #20855]
4035 * bits/mathdef.h (float_t): Define to float.
4036 * math/test-flt-eval-method.c: New file.
4037 * math/Makefile (tests): Add test-flt-eval-method.
4038 (CFLAGS-test-flt-eval-method.c): New variable.
4039
4040 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
4041
4042 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
4043 and __fstatfs. Make them aliases of __fstatfs64 if
4044 STATFS_IS_STATFS64 is set to non-zero.
4045 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
4046 and __statfs64.
4047 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
4048 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
4049 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
4050 for __statfs and statfs.
4051 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
4052 to 0.
4053 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
4054 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
4055 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
4056 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
4057 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
4058 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
4059 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
4060 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
4061 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
4062 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
4063 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
4064 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
4065
4066 2016-11-22 Andreas Schwab <schwab@suse.de>
4067
4068 * misc/mkstemp.c: Include <fcntl.h>.
4069 * misc/mkstemps.c: Likewise.
4070 * misc/mkostemp.c: Likewise.
4071 * misc/mkostemps.c: Likewise.
4072
4073 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
4074
4075 [BZ #20847]
4076 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
4077 array bounds.
4078 (__execvpe): Likewise.
4079
4080 2016-11-22 Joseph Myers <joseph@codesourcery.com>
4081
4082 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
4083 -fno-isolate-erroneous-paths options for tilepro.
4084
4085 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
4086
4087 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
4088 to 0 when in 32 bit mode.
4089 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
4090 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
4091 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
4092 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
4093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
4094 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
4095 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
4096 XSTAT_IS_XSTAT64 test.
4097 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
4098 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
4099 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
4100 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
4101 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
4102 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
4103 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
4104 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
4105 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
4106 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
4107 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
4108
4109 2016-11-19 Joseph Myers <joseph@codesourcery.com>
4110
4111 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4112 (setpayload): New declaration.
4113 * math/Versions (setpayload): New libm symbol at version
4114 GLIBC_2.25.
4115 (setpayloadf): Likewise.
4116 (setpayloadl): Likewise.
4117 * math/Makefile (libm-calls): Add s_setpayloadF.
4118 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
4119 test_Ff_b1_data.
4120 (RUN_TEST_Ff_b1): New macro.
4121 (RUN_TEST_LOOP_Ff_b1): Likewise.
4122 (canonicalize_test_data): Update type.
4123 (setpayload_test_data): New array.
4124 (setpayload_test): New function.
4125 (main): Call setpayload_test.
4126 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
4127 setpayloadf and setpayloadl.
4128 * manual/libm-err-tab.pl: Update comment on interfaces without
4129 ulps tabulated.
4130 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
4131 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
4132 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
4133 Likewise.
4134 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
4135 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
4136 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
4137 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
4138 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
4139 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
4140 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
4141 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
4142 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
4143 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4144 setpayload.
4145 (CFLAGS-nldbl-setpayload.c): New variable.
4146 * sysdeps/nacl/libm.abilist: Update.
4147 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4148 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4149 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4150 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4151 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4152 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4153 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4154 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4155 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4156 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4157 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4158 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4159 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4160 Likewise.
4161 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4162 Likewise.
4163 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4164 Likewise.
4165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4166 Likewise.
4167 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4168 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4169 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4170 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4171 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4172 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4173 Likewise.
4174 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4175 Likewise.
4176 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4177 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4178 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4179
4180 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4181
4182 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
4183 * include/unistd.h: Extend comment about __access_noerrno return
4184 semantics.
4185 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
4186 (access_common): Correct typo for EACCES.
4187
4188 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
4189
4190 * sysdeps/tile/math-tests.h: New file.
4191
4192 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
4193 (__old_set_dataplane): Rename from set_dataplane and make a
4194 compatibility symbol.
4195 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
4196 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
4197 sys/dataplane.h.
4198
4199 2016-11-18 Joseph Myers <joseph@codesourcery.com>
4200
4201 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
4202 script quote words in command output to log suitably for input to
4203 the shell.
4204
4205 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
4206 Maciej W. Rozycki <macro@imgtec.com>
4207
4208 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
4209 `.Lno_weak_fn' label.
4210 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
4211 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
4212
4213 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4214 Yury Norov <ynorov@caviumnetworks.com>
4215
4216 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
4217 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
4218 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
4219 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
4220 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
4221 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
4222 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
4223 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4224 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
4225 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
4226 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
4227 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
4228 (sysdep_routines): Remove oldgetrlimit64.
4229 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
4230 (sysdep_routines): Likewise.
4231 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
4232 (sysdep_routines): Likewise.
4233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4234 [$(subdir) = resource] (sysdep_routines): Likewise.
4235 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
4236 [$(subdir) = resource] (sysdep_routines): Likewise.
4237 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
4238 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
4239 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
4240 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
4241 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
4242 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
4243 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
4244 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
4245 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
4246 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
4247 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
4248 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
4249 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
4250 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
4251 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
4252 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
4253 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
4254 setrlimit and getrlimit.
4255 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4256 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4257 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
4258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
4259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
4260 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
4261 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
4262 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4263 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4264 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
4265 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
4266 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
4267 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
4268 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
4269 (__old_getrlimit64): Add compatibility symbol.
4270 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
4271
4272 2016-11-17 Joseph Myers <joseph@codesourcery.com>
4273
4274 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
4275 newly built gmp, mpfr and mpc.
4276
4277 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
4278
4279 2016-11-16 Joseph Myers <joseph@codesourcery.com>
4280
4281 * conform/Makefile (linknamespace-libs): Rename to
4282 linknamespace-libs-thr.
4283 (linknamespace-libs-posix): New variable.
4284 (linknamespace-libs-xsi): Likewise.
4285 (linknamespace-libs-XPG3): Include libcrypt.a.
4286 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
4287 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
4288 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
4289 (linknamespace-libs-XOPEN2K): Likewise.
4290 (linknamespace-libs-XOPEN2K8): Likewise.
4291 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
4292
4293 [BZ #20829]
4294 * stdio-common/Versions (__snprintf): Add to version
4295 GLIBC_PRIVATE.
4296 * include/stdio.h (__snprintf): Use libc_hidden_proto.
4297 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
4298 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
4299 of snprintf.
4300 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4301
4302 2016-11-16 Zack Weinberg <zackw@panix.com>
4303
4304 * string/string.h: Remove obsolete comment stating that
4305 strcoll_l and strxfrm_l have not yet been standardized.
4306
4307 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4308
4309 * hurd/hurd.h (__hurd_fail_noerrno): New function.
4310 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
4311 __access_noerrno.
4312 * io/access.c (__access_noerrno): New function.
4313 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
4314 (hurd_fail_seterrno): Likewise.
4315 (access_common): Likewise.
4316 (__access_noerrno): Likewise.
4317 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
4318 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
4319 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
4320 macro.
4321
4322 2016-11-16 Joseph Myers <joseph@codesourcery.com>
4323
4324 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
4325 Only declare fpregs if [__SH_FPU_ANY__].
4326
4327 2016-11-15 Joseph Myers <joseph@codesourcery.com>
4328
4329 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
4330 Make code unconditional.
4331 [!(__SH4__ || __SH4A__)]: Remove conditional code.
4332
4333 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
4334
4335 * manual/sysinfo.texi (S_APPEND): Delete.
4336 (S_IMMUTABLE): Likewise.
4337
4338 2016-11-15 Denis Kaganovich <mahatma@eu.by>
4339 Magnus Granberg <zorry@gentoo.org>
4340 Mike Frysinger <vapier@gentoo.org>
4341
4342 [BZ #20662]
4343 * configure.ac (libc_cv_predef_stack_protector): Also check for
4344 __stack_chk_fail_local symbols.
4345 * configure: Regenerated.
4346
4347 2016-11-15 Florian Weimer <fweimer@redhat.com>
4348
4349 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
4350 (libc_hidden_def): Remove redefinition.
4351 (__sigsetjmp): Add hidden definition.
4352 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
4353 (libc_hidden_def): Remove redefinition.
4354 (__sigsetjmp): Add hidden definition.
4355
4356 2016-11-14 Joseph Myers <joseph@codesourcery.com>
4357
4358 * scripts/build-many-glibcs.py (os.path): Do not import.
4359 (Context): Inherit explicitly from object. Remove blank line
4360 between class and docstring.
4361 (Config): Likewise.
4362 (Glibc): Likewise.
4363 (Command): Likewise.
4364 (CommandList): Likewise.
4365 (Context.write_files): Store chmod mode in a variable.
4366
4367 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
4368 LIBC_SLIBDIR_RTLDDIR for tilegx32.
4369 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
4370
4371 2016-11-14 Zack Weinberg <zackw@panix.com>
4372
4373 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
4374 creating or re-creating it.
4375
4376 * string/bits/string2.h: Fix typo in comment.
4377
4378 2016-11-14 Zack Weinberg <zackw@panix.com>
4379
4380 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
4381 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
4382 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
4383 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
4384 of redirected function names.
4385
4386 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
4387 as well. Document that MESSAGE must be a single string literal.
4388
4389 2016-11-11 Joseph Myers <joseph@codesourcery.com>
4390
4391 * scripts/build-many-glibcs.py: New file.
4392
4393 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
4394 (do_test): Disable -Wmaybe-uninitialized around uses of
4395 except_mask.
4396
4397 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
4398
4399 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
4400
4401 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
4402 (atomic_store_release): Provide tilepro-specific implementations.
4403
4404 2016-11-10 Joseph Myers <joseph@codesourcery.com>
4405
4406 * math/math.h (__MATH_TG): New macro.
4407 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
4408 [__USE_ISOC99] (signbit): Likewise.
4409 [__USE_ISOC99] (isfinite): Likewise.
4410 [__USE_ISOC99] (isnan): Likewise.
4411 [__USE_ISOC99] (isinf): Likewise.
4412 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
4413 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
4414 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
4415 __MATH_TG and __MATH_EVAL_FMT2.
4416 * sysdeps/generic/math_private.h (fabs_tg): Define using
4417 __MATH_TG.
4418 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
4419 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
4420 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
4421 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
4422 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
4423 macro.
4424 (__iscanonical): Likewise.
4425 (iscanonical): Define using __MATH_TG.
4426
4427 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4428
4429 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
4430 guards.
4431
4432 * sysdeps/unix/sysv/linux/access.c: New file.
4433 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
4434
4435 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
4436
4437 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
4438 and __WORDSIZE32_PTRDIFF_LONG.
4439
4440 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
4441
4442 * sysdeps/aarch64/libm-test-ulps: Regenerated.
4443
4444 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4445
4446 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
4447 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
4448 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
4449 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
4450 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
4451 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
4452 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
4453 * sysdeps/unix/sysv/linux/truncate.c: New file.
4454 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
4455 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
4456 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
4457 Remove.
4458 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
4459 Likewise.
4460
4461 * posix/tst-truncate-common.c: New file.
4462 * posix/tst-truncate.c: Use tst-truncate-common.c.
4463 * posix/tst-truncate64.c: Likewise and add LFS tests.
4464 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
4465 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
4466 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
4467 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
4468 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
4469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
4470 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
4471 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
4472 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
4473 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
4474 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
4475 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
4476 Remove.
4477 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
4478 Likewise.
4479
4480 2016-11-08 Joseph Myers <joseph@codesourcery.com>
4481
4482 [BZ #20790]
4483 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
4484 to MAXLINESIZE.
4485 * sunrpc/bug20790.x: New file.
4486 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
4487 variable.
4488 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
4489 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
4490
4491 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
4492
4493 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
4494
4495 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
4496 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
4497 calloc, realloc, free, memalign and __libc_memalign rather than
4498 making them optional.
4499
4500 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
4501 for libc.so.
4502
4503 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4504
4505 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
4506 ptw-lseek64.
4507 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
4508 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
4509 Likewise.
4510 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
4511 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
4512 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
4513 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
4514 * sysdeps/unix/sysv/linux/lseek.c: New file.
4515 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
4516 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
4517 __libc_lseek64 from auto-generation.
4518 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4519 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
4520
4521 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4522
4523 * nptl/tst-basic1.c (tf, do_test): Use write_message.
4524 * nptl/tst-cleanup1.c (do_test): Likewise.
4525 * nptl/tst-cleanup3.c (do_test): Likewise.
4526 * nptl/tst-key1.c (do_test): Likewise.
4527 * nptl/tst-key2.c (tf, do_test): Likewise.
4528 * nptl/tst-key3.c (tf, do_test): Likewise.
4529 * nptl/tst-stdio1.c (do_test): Likewise.
4530 * nptl/tst-stdio2.c (do_test): Likewise.
4531
4532 * nptl/tst-kill3.c (handler): Use write_message in place of write.
4533 * nptl/tst-kill6.c (handler): Likewise.
4534 * nptl/tst-tls2.c (CB): Likewise.
4535 * nptl/tst-tls3.c (CB): Likewise.
4536
4537 2016-11-07 Joseph Myers <joseph@codesourcery.com>
4538
4539 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
4540
4541 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
4542 Steve Ellcey <sellcey@caviumnetworks.com>
4543
4544 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
4545 __ASSUME_ST_INO_64_BIT as 0
4546 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
4547 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
4548 over the code where __ASSUME_ST_INO_64_BIT is used.
4549 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4550 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4551 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4552
4553 2016-11-07 Florian Weimer <fweimer@redhat.com>
4554
4555 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4556 Document ABI exposure of the __kind offset.
4557 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4558 Mention reason for the __kind offset exposure in the ABI.
4559 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4560 Likewise.
4561 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4562 Likewise.
4563 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4564 Likewise.
4565 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
4566 (struct __pthread_mutex_s): Likewise.
4567 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4568 Likewise.
4569 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4570 Likewise.
4571 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4572 Likewise.
4573 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4574 Likewise.
4575 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4576 Likewise.
4577 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4578 Likewise.
4579 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4580 (struct __pthread_mutex_s): Likewise.
4581 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4582 (struct __pthread_mutex_s): Likewise.
4583 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
4584 Likewise.
4585
4586 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
4587
4588 * test-skeleton.c: Document do_test usage.
4589
4590 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
4591
4592 * iconv/gconv.h (__gconv_info): Define __data element using a
4593 zero-length array.
4594
4595 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
4596
4597 * math/test-tgmath2.c: Split up test function.
4598
4599 2016-11-04 Joseph Myers <joseph@codesourcery.com>
4600
4601 * Rules (tests-expected): New variable, depending on
4602 $(run-built-tests).
4603 (tests): Pass $(tests-expected) to merge-test-results.sh, not
4604 $(tests).
4605
4606 * Rules [$(run-built-tests) = no] (tests): Do not depend on
4607 $(tests-unsupported).
4608
4609 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4610
4611 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
4612 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
4613
4614 2016-11-04 Joseph Myers <joseph@codesourcery.com>
4615
4616 [BZ #20768]
4617 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
4618 __fegetenv instead of fegetenv.
4619
4620 [BZ #14139]
4621 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
4622 (find_files): Obtain platform name from libm-test-ulps-name and
4623 store in %pplatforms.
4624 (canonicalize_platform): Remove.
4625 (print_platforms): Use $pplatforms directly.
4626 (by_platforms): Do not allow for platforms missing from
4627 %pplatforms.
4628 * sysdeps/aarch64/libm-test-ulps-name: New file.
4629 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
4630 * sysdeps/arm/libm-test-ulps-name: Likewise.
4631 * sysdeps/generic/libm-test-ulps-name: Likewise.
4632 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
4633 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
4634 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
4635 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
4636 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
4637 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
4638 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
4639 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
4640 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
4641 * sysdeps/nios2/libm-test-ulps-name: Likewise.
4642 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
4643 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
4644 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
4645 * sysdeps/sh/libm-test-ulps-name: Likewise.
4646 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
4647 * sysdeps/tile/libm-test-ulps-name: Likewise.
4648 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
4649
4650 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
4651
4652 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
4653 (test-xfail-check-execstack): New variable.
4654
4655 * sysdeps/mips/localplt.data: New file.
4656
4657 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
4658 Steve Ellcey <sellcey@caviumnetworks.com>
4659
4660 * bits/wordsize.h: Add documentation.
4661 * sysdeps/aarch64/bits/wordsize.h : New file
4662 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
4663 definitions.
4664 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
4665 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
4666 with #if instead of #ifdef.
4667 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
4668 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
4669 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
4670 Add or change defines.
4671 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
4672 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4673 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
4674 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
4675 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4676 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4677 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
4678 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
4679 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
4680 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4681 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
4682 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
4683 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
4684 * sysdeps/x86/bits/wordsize.h: Likewise.
4685
4686 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
4687 Kevin Petit <kevin.petit@arm.com>
4688
4689 * sysdeps/aarch64/memchr.S (__memchr): New file.
4690
4691 2016-11-04 Joseph Myers <joseph@codesourcery.com>
4692
4693 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
4694
4695 2016-11-03 Joseph Myers <joseph@codesourcery.com>
4696
4697 [BZ #19398]
4698 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
4699 $(linknamespace-symlists-tests).
4700
4701 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
4702
4703 * time/tst-strptime2.c: Ignore -Wformat-length warning.
4704
4705 2016-11-02 Florian Weimer <fweimer@redhat.com>
4706 Carlos O'Donell <carlos@redhat.com>
4707
4708 [Bug #20729]
4709 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
4710 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
4711 for -Os related change.
4712
4713 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
4714
4715 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
4716
4717 2016-11-01 Joseph Myers <joseph@codesourcery.com>
4718
4719 [BZ #19673]
4720 * manual/math.texi (Exponents and Logarithms): Correct description
4721 of clog10.
4722
4723 2016-10-31 Carlos O'Donell <carlos@redhat.com>
4724
4725 [Bz #20729]
4726 * locale/weight.h: Include libc-internal.h.
4727 * locale/weightwc.h: Likewise.
4728 * nptl/nptl_dbP.h: Likewise.
4729
4730 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
4731
4732 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
4733 when it is MACH_PORT_NULL.
4734
4735 2016-10-31 Andreas Schwab <schwab@suse.de>
4736
4737 [BZ #20707]
4738 * posix/glob.c (glob): Initialize pglob before checking for
4739 GLOB_BRACE. Don't call glob recursively if pattern contains no
4740 valid brace expression despite GLOB_BRACE.
4741 * posix/globtest.sh: Test it.
4742
4743 2016-10-28 Carlos O'Donell <carlos@redhat.com>
4744
4745 [BZ #20729]
4746 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
4747 Define.
4748 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
4749 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
4750 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
4751 for seq2.back_us and seq1.back_us only for -Os compiles.
4752 * locale/weightwc.h (findix): Likewise.
4753 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
4754 DB_GET_FIELD_ADDRESS only for -Os compiles.
4755 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
4756 for slen only for -Os compiles.
4757 * string/strcoll_l.c (get_next_seq): Ignore
4758 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
4759 for -Os compiles.
4760
4761 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
4762 * include/crypt.h: New file.
4763
4764 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4765
4766 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
4767 from test-skeleton.c.
4768 (statclass): Replace calls to write with calls to write_message.
4769
4770 2016-10-28 Joseph Myers <joseph@codesourcery.com>
4771
4772 * math/math.h
4773 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
4774 New macro.
4775 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
4776 Likewise.
4777 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
4778 Likewise.
4779 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
4780 SNANL.
4781 * math/test-double.h (snan_value_MACRO): New macro.
4782 * math/test-float.h (snan_value_MACRO): Likewise.
4783 * math/test-ldouble.h (snan_value_MACRO): Likewise.
4784 * math/libm-test.inc (issignaling_test_data): Add tests of
4785 snan_value_MACRO.
4786
4787 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4788
4789 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
4790 behavior when eliding a lock not held by the current thread.
4791 * sysdeps/powerpc/nptl/elide.h: Likewise.
4792
4793 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4794
4795 [BZ #20728]
4796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
4797 branch to _exit() by a function call.
4798
4799 2016-10-28 Florian Weimer <fweimer@redhat.com>
4800
4801 * malloc/malloc.c: Update chunk layout comments.
4802 (chunk_main_arena): Update comment.
4803
4804 2016-10-28 Florian Weimer <fweimer@redhat.com>
4805
4806 * crypt/sha256.c, crypt/sha256-block.c,
4807 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
4808 sha256_process_block to __sha256_process_block.
4809 * crypt/sha512.c, crypt/sha512-block.c,
4810 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
4811 sha512_process_block to __sha512_process_block.
4812
4813 2016-10-28 Carlos O'Donell <carlos@redhat.com>
4814
4815 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
4816
4817 * math/test-nan-overflow.c: Include stdlib.h for malloc.
4818
4819 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
4820
4821 [BZ #20019]
4822 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
4823 definition in unrelocated shared library.
4824 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4825
4826 2016-10-28 Florian Weimer <fweimer@redhat.com>
4827
4828 [BZ #20729]
4829 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
4830 * sysdeps/unix/sysv/linux/i386/Makefile
4831 (uses-6-syscall-arguments): Define.
4832 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
4833 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
4834 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
4835 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
4836 Likewise.
4837 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
4838 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
4839 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
4840 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
4841 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
4842 (CFLAGS-fallocate64.os): Likewise.
4843 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
4844 (CFLAGS-pthread_rwlock_timedrdlock.os)
4845 (CFLAGS-pthread_rwlock_timedwrlock.o)
4846 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
4847 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
4848 (CFLAGS-sem_timedwait.os): Likewise.
4849
4850 2016-10-28 Florian Weimer <fweimer@redhat.com>
4851
4852 * elf/tst-linkall-static.c: New file.
4853 * elf/Makefile (tests-static): Add tst-linkall-static.
4854 (tst-linkall-static): Link against static libraries.
4855
4856 2016-10-27 Florian Weimer <fweimer@redhat.com>
4857
4858 * malloc/malloc.c (sysmalloc): Initialize previous size field of
4859 mmaped chunks.
4860
4861 2016-10-28 Florian Weimer <fweimer@redhat.com>
4862
4863 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
4864 members to mchunk_prev_size, mchunk_size.
4865 (chunk_main_arena): Reverse sense and rename from
4866 chunk_non_main_arena.
4867 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
4868 mchunk_size instead of size.
4869 (set_non_main_arena): Define.
4870 (chunksize): Use chunksize_nomask instead of direct member access.
4871 (chunksize_nomask): Define.
4872 (next_chunk): Use chunksize instead of direct member access.
4873 (prev_size, set_prev_size): Define.
4874 (prev_chunk): Use prev_size instead of direct member access.
4875 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
4876 (inuse_bit_at_offset, set_inuse_bit_at_offset)
4877 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
4878 (mchunk_prev_size, mchunk_size): Poison tokens.
4879 (unlink): Use chunksize_nomask, prev_size accessors.
4880 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
4881 (do_check_free_chunk): Use prev_size accessor.
4882 (sysmalloc): Use set_prev_size, set_head accessors.
4883 (munmap_chunk, mremap_chunk): Use prev_size accessor.
4884 (__libc_free): Use chunksize_nomask accessor.
4885 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
4886 chunk_main_arena accessors.
4887 (_int_free): Use chunksize_nomask, prev_size accessors.
4888 (malloc_consolidate): Use chunksize, prev_size accessors.
4889 (_int_realloc): Use chunksize_nomask accessor.
4890 (_int_memalign): Use set_prev_size accessor.
4891 (__malloc_info): Use chunksize_nomask accessor.
4892 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
4893 accessors.
4894 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
4895 (heap_trim): Use chunksize_nomask, prev_size accessors.
4896
4897 2016-10-28 Joseph Myers <joseph@codesourcery.com>
4898
4899 [BZ #19380]
4900 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
4901 for inexact results.
4902 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
4903 of inexact result where mpfr_subnormalize is the only inexact
4904 step.
4905 * stdlib/tst-strtod-round-data.h: Regenerated.
4906 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
4907 Define to 0.
4908 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
4909
4910 2016-10-27 David S. Miller <davem@davemloft.net>
4911
4912 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
4913
4914 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
4915
4916 * malloc/malloc.c (do_set_mallopt_check): New function.
4917 (do_set_mmap_threshold): Likewise.
4918 (do_set_mmaps_max): Likewise.
4919 (do_set_top_pad): Likewise.
4920 (do_set_perturb_byte): Likewise.
4921 (do_set_trim_threshold): Likewise.
4922 (do_set_arena_max): Likewise.
4923 (do_set_arena_test): Likewise.
4924 (__libc_mallopt): Use them.
4925
4926 2016-10-26 Joseph Myers <joseph@codesourcery.com>
4927
4928 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4929 (canonicalize): New declaration.
4930 * math/Versions (canonicalize): New libm symbol at version
4931 GLIBC_2.25.
4932 (canonicalizef): Likewise.
4933 (canonicalizel): Likewise.
4934 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
4935 * math/s_canonicalize_template.c: New file.
4936 * math/libm-test.inc: Update comment on functions tested and
4937 testing of NaN payloads.
4938 (TEST_NAN_PAYLOAD): New macro.
4939 (NO_TEST_INLINE): Update value.
4940 (XFAIL_TEST): Likewise.
4941 (ERRNO_UNCHANGED): Likewise.
4942 (ERRNO_EDOM): Likewise.
4943 (ERRNO_ERANGE): Likewise.
4944 (IGNORE_RESULT): Likewise.
4945 (NON_FINITE): Likewise.
4946 (TEST_SNAN): Likewise.
4947 (NO_TEST_MATHVEC): Likewise.
4948 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
4949 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
4950 (struct test_Ffp_b1_data): New type.
4951 (RUN_TEST_Ffp_b1): New macro.
4952 (RUN_TEST_LOOP_Ffp_b1): Likewise.
4953 (canonicalize_test_data): New array.
4954 (canonicalize_test): New function.
4955 (main): Call canonicalize_test.
4956 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
4957 canonicalizef and canonicalizel.
4958 * manual/libm-err-tab.pl: Update comment on interfaces without
4959 ulps tabulated.
4960 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
4961 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
4962 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4963 canonicalize.
4964 (CFLAGS-nldbl-canonicalize.c): New variable.
4965 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
4966 to ...
4967 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
4968 ... here.
4969 (do_test): Also test canonicalizel.
4970 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
4971 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
4972 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
4973 file.
4974 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
4975 Use libm_hidden_def.
4976 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
4977 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
4978 (do_test): Also test canonicalizel.
4979 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
4980 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
4981 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
4982 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
4983 libm_hidden_def.
4984 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
4985 macro.
4986 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
4987 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
4988 * sysdeps/nacl/libm.abilist: Update.
4989 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4990 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4991 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4992 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4993 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4994 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4995 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4996 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4997 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4998 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4999 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5000 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5001 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5002 Likewise.
5003 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5004 Likewise.
5005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5006 Likewise.
5007 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5008 Likewise.
5009 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5010 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5011 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5012 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5013 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5014 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5015 Likewise.
5016 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5017 Likewise.
5018 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5019 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5020 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5021
5022 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
5023 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5024 getpayload.
5025 (CFLAGS-nldbl-getpayload.c): New variable.
5026
5027 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5028
5029 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
5030 integer from the format string.
5031
5032 2016-10-26 Florian Weimer <fweimer@redhat.com>
5033
5034 [BZ #19473]
5035 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
5036 declarations.
5037 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
5038 weak aliases.
5039 * malloc/hooks.c (__malloc_get_state): Remove definition.
5040 (malloc_get_state): New stub implementation as
5041 compatibility symbol.
5042 (malloc_set_state): Rename from __malloc_set_state. Turn into
5043 compat symbol.
5044 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
5045 malloc_set_state.
5046 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
5047
5048 2016-10-26 Florian Weimer <fweimer@redhat.com>
5049
5050 * iconvdata/iso646.c (enum variant): Drop illegal_var.
5051 (names): Turn into concatenation of strings.
5052 (gconv_init): Adapt iteration over names.
5053
5054 2016-10-26 Florian Weimer <fweimer@redhat.com>
5055
5056 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
5057 make const.
5058 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
5059 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
5060 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
5061 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
5062 character in sbconv.
5063 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
5064 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
5065 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
5066
5067 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
5068
5069 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
5070
5071 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
5072 (M_TRIM_THRESHOLD): Likewise.
5073
5074 * manual/memory.texi (M_ARENA_TEST): Add documentation.
5075 (M_ARENA_MAX): Likewise.
5076 * malloc/malloc.c: Remove obsolete comment.
5077
5078 * manual/memory.texi: Add environment variable alternatives to
5079 setting mallopt parameters.
5080
5081 2016-10-26 Carlos O'Donell <carlos@redhat.com>
5082
5083 * include/atomic.h
5084 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
5085 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
5086
5087 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5088
5089 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
5090 * stdlib/tst-strfrom.h: New file.
5091 * stdlib/tst-strfrom.c: New file.
5092 * stdlib/tst-strfrom-locale.c: New file.
5093
5094 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
5095 * stdlib/bug-strtod2.c: Likewise.
5096 * stdlib/tst-strtod-round-skeleton.c: Likewise.
5097 * stdlib/tst-strtod6.c: Likewise.
5098 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
5099
5100 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5101
5102 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
5103 * manual/arith.texi: Document strfromd, strfromf, strfroml.
5104 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
5105 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
5106 * stdlib/stdlib.h (strfromd): New declaration.
5107 (strfromf): Likewise.
5108 (strfroml): Likewise.
5109 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
5110 strfrom.
5111 * stdlib/strfromd.c: New file.
5112 * stdlib/strfromf.c: Likewise.
5113 * stdlib/strfroml.c: Likewise.
5114 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
5115 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
5116 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
5117 * sysdeps/arm/nacl/libc.abilist: Update.
5118 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
5119 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5120 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5121 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5122 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5123 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5124 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5125 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5126 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5127 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5128 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5129 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5130 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5131 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5132 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
5133 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5136 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5137 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5138 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5139 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5140 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5141 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5142 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5143 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5144 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5145 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5146
5147 2016-10-25 Joseph Myers <joseph@codesourcery.com>
5148
5149 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
5150 instead of cmpli.
5151 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
5152 instead of cmpli.
5153
5154 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
5155
5156 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
5157 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
5158 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
5159 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5160 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5161 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5162
5163 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5164
5165 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
5166 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5167 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
5168 SYSCALL_LL64_PRW.
5169 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5170 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
5171 __ASSUME_PRW_DUMMY_ARG.
5172 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
5173 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5174 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5175 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5176 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
5177 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
5178
5179 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
5180
5181 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
5182
5183 2016-10-22 Florian Weimer <fweimer@redhat.com>
5184
5185 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
5186 "C++", to override a potential extern "C" directive around the
5187 header file inclusion.
5188
5189 2016-10-21 Joseph Myers <joseph@codesourcery.com>
5190
5191 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
5192
5193 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5194
5195 * sysdeps/powerpc/fpu/fenv_private.h:
5196 (_FPU_MASK_ALL): Rename to...
5197 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
5198 XE FPSCR bits.
5199
5200 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
5201
5202 (_FPU_MASK_ROUNDING): Rename to...
5203 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
5204 NI bits.
5205
5206 (_FPU_MASK_EXCEPT_ROUND): Rename to...
5207 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
5208 bits and rounding bits.
5209
5210 (__libc_feholdbits_ppc): New inline function to mask, set,
5211 and pontentially clear FSPCR bits, and change MSR[FE] bits.
5212 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
5213 (libc_feholdexcept_setround_ppc): Likewise.
5214
5215 (__libc_femergeenv_ppc): New function to dynamically mask both
5216 old and new FP environments and merge.
5217 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
5218 (libc_feresetround_ppc): Likewise.
5219 (libc_feupdateenv_test_ppc): Likewise.
5220 (libc_feupdateenv_ppc): Likewise.
5221
5222 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
5223 of ISA RN bits, and update macro names.
5224 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
5225 effectively the same as the previously mentioned function.
5226
5227 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
5228 usage with fe_resetround_ppc.
5229
5230 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
5231 to be used.
5232 (libc_feholdexcept_setround_ctxf): Likewise.
5233 (libc_feholdexcept_setround_ctxl): Likewise.
5234
5235 2016-10-21 Florian Weimer <fweimer@redhat.com>
5236
5237 [BZ #20715]
5238 * math/math.h [__cplusplus] (iszero): Define as function template.
5239 * math/Makefile [CXX] (tests): Add test-math-iszero.
5240 (CFLAGS-test-math-iszero.cc): Set.
5241 * math/test-math-iszero.cc: New file.
5242
5243 2016-10-20 Joseph Myers <joseph@codesourcery.com>
5244
5245 [BZ #20660]
5246 * sysdeps/arm/e_sqrt.c: New file.
5247 * sysdeps/arm/e_sqrtf.c: Likewise.
5248
5249 2016-10-19 Joseph Myers <joseph@codesourcery.com>
5250
5251 [BZ #20718]
5252 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
5253 not use floating-point comparisons to test sign.
5254 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
5255 Likewise.
5256
5257 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5258 (getpayload): New declaration.
5259 * math/Versions (getpayload): New libm symbol at version
5260 GLIBC_2.25.
5261 (getpayloadf): Likewise.
5262 (getpayloadl): Likewise.
5263 * math/Makefile (libm-calls): Add s_getpayloadF.
5264 * math/libm-test.inc: Include <nan-high-order-bit.h>.
5265 (struct test_f_f_data): Add comment.
5266 (RUN_TEST_fp_f): New macro.
5267 (RUN_TEST_LOOP_fp_f): Likewise.
5268 (getpayload_test_data): New array.
5269 (getpayload_test): New function.
5270 (main): Call getpayload_test.
5271 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
5272 descriptor.
5273 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
5274 getpayloadf and getpayloadl.
5275 * manual/libm-err-tab.pl: Update comment on interfaces without
5276 ulps tabulated.
5277 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
5278 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
5279 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
5280 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
5281 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
5282 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
5283 * sysdeps/nacl/libm.abilist: Update.
5284 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5285 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5286 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5287 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5288 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5289 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5290 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5291 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5292 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5293 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5294 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5295 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5296 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5297 Likewise.
5298 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5299 Likewise.
5300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5301 Likewise.
5302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5303 Likewise.
5304 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5305 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5306 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5307 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5308 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5309 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5310 Likewise.
5311 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5312 Likewise.
5313 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5314 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5315 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5316
5317 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5318
5319 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
5320 tst-fallocate{64}.
5321 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
5322 on syscall return.
5323
5324 2016-10-17 Carlos O'Donell <carlos@redhat.com>
5325
5326 [BZ #20689]
5327 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
5328 usable.
5329
5330 2016-10-17 Joseph Myers <joseph@codesourcery.com>
5331
5332 * sysdeps/generic/nan-high-order-bit.h: New file.
5333 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
5334 * sysdeps/mips/nan-high-order-bit.h: Likewise.
5335 * sysdeps/hppa/math_private.h: Remove file.
5336 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
5337 not define here.
5338 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
5339 <nan-high-order-bit.h>.
5340 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5341 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
5342 <nan-high-order-bit.h>.
5343 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5344 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
5345 <nan-high-order-bit.h>.
5346 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5347 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
5348 <nan-high-order-bit.h>.
5349 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5350 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
5351 <nan-high-order-bit.h>.
5352 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5353 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
5354 <nan-high-order-bit.h>.
5355 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5356 * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
5357 <nan-high-order-bit.h>.
5358 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5359 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
5360 <nan-high-order-bit.h>.
5361 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5362 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
5363 <nan-high-order-bit.h>.
5364 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5365 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
5366 <nan-high-order-bit.h>.
5367 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5368 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
5369 <nan-high-order-bit.h>.
5370 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5371 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
5372 <nan-high-order-bit.h>.
5373 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5374 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
5375 <nan-high-order-bit.h>.
5376 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5377 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
5378 <nan-high-order-bit.h>.
5379 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5380 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
5381 <nan-high-order-bit.h>.
5382 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5383 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
5384 <nan-high-order-bit.h>.
5385 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5386 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
5387 <nan-high-order-bit.h>.
5388 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5389 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
5390 <nan-high-order-bit.h>.
5391 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5392
5393 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5394
5395 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
5396
5397 2016-09-22 John David Anglin <dave.anglin@bell.net>
5398
5399 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
5400 abort-instr.h.
5401 (EFAULT): Remove conditional define.
5402 (ENOSYS): Likewise.
5403 (atomic_compare_and_exchange_val_acq): Use instruction nullification
5404 instead of conditional branch instructions.
5405
5406 2016-10-15 Joseph Myers <joseph@codesourcery.com>
5407
5408 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5409 (totalordermag): New declaration.
5410 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
5411 New macro.
5412 * math/Versions (totalordermag): New libm symbol at version
5413 GLIBC_2.25.
5414 (totalordermagf): Likewise.
5415 (totalordermagl): Likewise.
5416 * math/Makefile (libm-calls): Add s_totalordermagF.
5417 * math/libm-test.inc (totalordermag_test_data): New array.
5418 (totalordermag_test): New function.
5419 (main): Call totalordermag_test.
5420 * math/test-tgmath.c (NCALLS): Increase to 125.
5421 (F(compile_test)): Call totalordermag.
5422 (F(totalordermag)): New function.
5423 * manual/arith.texi (FP Comparison Functions): Document
5424 totalordermag, totalordermagf and totalordermagl.
5425 * manual/libm-err-tab.pl: Update comment on interfaces without
5426 ulps tabulated.
5427 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
5428 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
5429 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
5430 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
5431 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
5432 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
5433 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
5434 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5435 totalordermag.
5436 (CFLAGS-nldbl-totalordermag.c): New variable.
5437 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
5438 (do_test): Also test totalordermagl.
5439 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
5440 Likewise.
5441 * sysdeps/nacl/libm.abilist: Update.
5442 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5443 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5444 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5445 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5446 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5447 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5448 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5449 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5450 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5451 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5452 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5453 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5454 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5455 Likewise.
5456 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5457 Likewise.
5458 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5459 Likewise.
5460 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5461 Likewise.
5462 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5463 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5464 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5465 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5466 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5467 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5468 Likewise.
5469 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5470 Likewise.
5471 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5472 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5473 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5474
5475 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
5476
5477 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
5478 boolean.
5479
5480 2016-10-13 Joseph Myers <joseph@codesourcery.com>
5481
5482 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
5483 raising FE_INVALID with feraisexcept in case where part of
5484 argument is infinite, subtract that part of argument from itself.
5485 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
5486 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
5487 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5488
5489 2016-10-12 Joseph Myers <joseph@codesourcery.com>
5490
5491 * math/libm-test.inc (totalorder_test_data): Add more tests.
5492
5493 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
5494
5495 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
5496 Undefine weak_alias and add a comment why mips64 require
5497 versioning.
5498
5499 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
5500
5501 [BZ #20647]
5502 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
5503 maximum CPUID level is less than 2.
5504
5505 2016-10-12 Joseph Myers <joseph@codesourcery.com>
5506
5507 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5508 (totalorder): New declaration.
5509 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
5510 New macro.
5511 * math/Versions (totalorder): New libm symbol at version
5512 GLIBC_2.25.
5513 (totalorderf): Likewise.
5514 (totalorderl): Likewise.
5515 * math/Makefile (libm-calls): Add s_totalorderF.
5516 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
5517 string.
5518 * math/libm-test.inc (PAYLOAD_DIG): New macro.
5519 (qnan_value_pl): Likewise.
5520 (snan_value_pl): Likewise.
5521 (qnan_value): Define using qnan_value_pl.
5522 (snan_value): Define using snan_value_pl.
5523 (struct test_ff_i_data): Add comment about which tests use this
5524 structure.
5525 (RUN_TEST_ff_b): New macro.
5526 (RUN_TEST_LOOP_ff_b): Likewise.
5527 (totalorder_test_data): New array.
5528 (totalorder_test): New function.
5529 (main): Call totalorder_test.
5530 * math/test-tgmath.c (NCALLS): Increase to 122.
5531 (F(compile_test)): Call totalorder.
5532 (F(totalorder)): New function.
5533 * manual/arith.texi (FP Comparison Functions): Document
5534 totalorder, totalorderf and totalorderl.
5535 * manual/libm-err-tab.pl: Update comment on interfaces without
5536 ulps tabulated.
5537 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
5538 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
5539 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
5540 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
5541 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
5542 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
5543 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
5544 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5545 totalorder.
5546 (CFLAGS-nldbl-totalorder.c): New variable.
5547 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
5548 file.
5549 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5550 Add test-totalorderl-ldbl-128ibm.
5551 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
5552 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
5553 test-totalorderl-ldbl-96.
5554 * sysdeps/nacl/libm.abilist: Update.
5555 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5556 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5557 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5558 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5559 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5560 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5561 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5562 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5563 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5564 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5565 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5566 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5567 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5568 Likewise.
5569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5570 Likewise.
5571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5572 Likewise.
5573 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5574 Likewise.
5575 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5576 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5577 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5578 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5579 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5580 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5581 Likewise.
5582 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5583 Likewise.
5584 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5585 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5586 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5587
5588 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5589
5590 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
5591 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
5592 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
5593 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
5594 remove ENOSYS implementation.
5595 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
5596 Consolidate all Linux implementations.
5597
5598 2016-10-11 Florian Weimer <fweimer@redhat.com>
5599
5600 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
5601 * resolv/herror.c (herror): Cast away const-ness.
5602 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
5603 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
5604
5605 2016-10-11 Joseph Myers <joseph@codesourcery.com>
5606
5607 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
5608 instead of M_NAN + M_NAN.
5609 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5610
5611 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5612
5613 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
5614 unused variable 'p'.
5615
5616 2016-10-09 Alan Modra <amodra@gmail.com>
5617 Andreas Schwab <schwab@linux-m68k.org>
5618
5619 [BZ #20554]
5620 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
5621 [PIC && !SHARED]: Set up PIC register for PLT call.
5622
5623 2016-10-07 Joseph Myers <joseph@codesourcery.com>
5624
5625 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
5626 conditional on value of [__FLT_EVAL_METHOD__].
5627 * math/test-iseqsig-excess-precision.c: New file.
5628 * math/Makefile (tests): Add test-iseqsig-excess-precision.
5629
5630 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5631
5632 * math/s_iseqsig_template.c: Include math-private.h.
5633
5634 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
5635 * posix/tst-posix_fadvise.c: New file.
5636 * posix/tst-posix_fadvise64.c: Likewise.
5637 * posix/tst-posix_fadvise-common.c: Likewise.
5638 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5639 (__ASSUME_FADVISE64_64_6ARG): Define.
5640 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5641 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
5642 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5643 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
5644 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
5645 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
5646 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
5647 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
5648 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
5649 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
5650 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
5651 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
5652 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
5653 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
5654 Likewise.
5655 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
5656 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
5657 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
5658 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5659 Alias to __posix_fadvise64_l32.
5660 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
5661 Add compat definition to posix_fadvise64.
5662 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5663 Add versioned definition to posix_fadvise64.
5664 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
5665 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
5666 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
5667 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
5668 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
5669
5670 * io/Makefile (tests): Add tst-posix_fallocate and
5671 tst-posix_fallocate64.
5672 * io/tst-posix_fallocate-common.c: New file.
5673 * io/tst-posix_fallocate.c: Likewise.
5674 * io/tst-posix_fallocate64.c: Likewise.
5675 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
5676 file.
5677 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
5678 Likewise.
5679 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
5680 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
5681 Likewise.
5682 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
5683 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
5684 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
5685 SYSCALL_LL to pass both offset and len arguments.
5686 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
5687 Likewise.
5688 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
5689 __libc_pwrite64 alias used by posix_fallocate64.
5690
5691 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5692 tst-fallocate64.
5693 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5694 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5695 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5696 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5697 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5698 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5699 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5700 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5701 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5702 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5703 macro on offset argument.
5704 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5705 SYSCALL_LL64 on offset argument.
5706
5707 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5708 tst-fallocate64.
5709 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5710 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5711 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5712 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5713 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5714 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5715 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5716 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5717 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5718 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5719 macro on offset argument.
5720 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5721 SYSCALL_LL64 on offset argument.
5722 * test-skeleton.c (FAIL_RET): Add macro.
5723 (FAIL_EXIT): Likewise.
5724 (FAIL_EXIT1): Likewise.
5725 (_FAIL): Likewise.
5726
5727 2016-10-07 Florian Weimer <fweimer@redhat.com>
5728
5729 [BZ #20629]
5730 resolv: Remove RES_USEBSTRING and its implementation.
5731 * resolv/resolv.h (RES_USEBSTRING): Remove.
5732 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
5733 (digitvalue, encode_bitstring, decode_bitstring): Remove.
5734 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
5735 (labellen): Remove extended label types support.
5736 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
5737 * resolv/res_init.c (res_setoptions): Likewise.
5738 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5739
5740 2016-10-07 Florian Weimer <fweimer@redhat.com>
5741
5742 resolv: Remove RES_NOIP6DOTINT and its implementation.
5743 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
5744 (RES_NOIP6DOTINT): Remove.
5745 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
5746 handling.
5747 * resolv/res_debug.c (p_option): Likewise.
5748 * resolv/res_init.c (res_setoptions): Likewise.
5749 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5750
5751 2016-10-07 Florian Weimer <fweimer@redhat.com>
5752
5753 resolv: Deprecate unimplemented flags.
5754 * misc/sys/cdefs.h (__glibc_macro_warning1)
5755 (__glibc_macro_warning): Define.
5756 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
5757 (RES_KEEPTSIG): Mark as deprecated.
5758 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
5759 RES_NOCHECKNAME, RES_KEEPTSIG.
5760 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
5761
5762 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5763
5764 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
5765 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
5766 Use strong_alias to create symbols for glibc verison 2.19.
5767
5768 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5769
5770 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
5771
5772 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5773
5774 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
5775
5776 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5777
5778 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
5779
5780 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5781
5782 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5783 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
5784 in header for using it as type for ifunc function because __GI_* symbols
5785 for ppc32 do not target the ifunc symbols.
5786 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5787
5788 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5789
5790 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
5791 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
5792 libc_ifunc_hidden_def.
5793 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
5794 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
5795 Redirect ifunced function in header for using it as type of ifunc'ed
5796 function. Redefine libc_hidden_def to use fallback non ifunc'ed
5797 function for __GI_* symbol.
5798 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
5799 * include/libc-symbols.h
5800 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
5801
5802 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5803
5804 [BZ #20478]
5805 * sysdeps/s390/multiarch/ifunc-resolve.h
5806 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
5807 to create ifunc symbols.
5808 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
5809 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
5810 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
5811 for using it as type for ifunc function.
5812 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5813 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
5814 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
5815 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
5816 * sysdeps/s390/multiarch/strcat.c: Likewise.
5817 * sysdeps/s390/multiarch/strchr.c: Likewise.
5818 * sysdeps/s390/multiarch/strcmp.c: Likewise.
5819 * sysdeps/s390/multiarch/strcpy.c: Likewise.
5820 * sysdeps/s390/multiarch/strcspn.c: Likewise.
5821 * sysdeps/s390/multiarch/strlen.c: Likewise.
5822 * sysdeps/s390/multiarch/strncmp.c: Likewise.
5823 * sysdeps/s390/multiarch/strncpy.c: Likewise.
5824 * sysdeps/s390/multiarch/strnlen.c: Likewise.
5825 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
5826 * sysdeps/s390/multiarch/strrchr.c: Likewise.
5827 * sysdeps/s390/multiarch/strspn.c: Likewise.
5828 * sysdeps/s390/multiarch/wcschr.c: Likewise.
5829 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
5830 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
5831 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
5832 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
5833 * sysdeps/s390/multiarch/wmemset.c: Likewise.
5834 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5835 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
5836 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
5837 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5838 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
5839 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
5840
5841 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5842
5843 * include/libc-symbols.h (__ifunc_resolver):
5844 New macro is used by __ifunc* macros.
5845 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
5846 depending on HAVE_GCC_IFUNC.
5847 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
5848 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
5849 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5850 Redirect ifunced function in header for using as type for ifunc function.
5851 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
5852 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
5853 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
5854 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
5855 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5856 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5857 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5858 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5859 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5860 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5861 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5862 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5863 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5864 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5865 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5866 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
5867 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5868 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
5869 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5870 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5871 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5872 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5873 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5874 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5875 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5876 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5877 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5878 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5879 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5880 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5881 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5882 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
5883 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
5885 Add libc_hidden_def() and use libc_ifunc_hidden() macro
5886 instead of libc_ifunc() macro.
5887 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
5888 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5889
5890 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5891
5892 * config.h.in (HAVE_GCC_IFUNC): New undef.
5893 * configure.ac: Add check if gcc supports attribute ifunc feature.
5894 * configure: Regenerated.
5895 * manual/install.texi: Add recommendation for gcc with
5896 indirect-function support.
5897 * INSTALL: Regenerated.
5898
5899 2016-10-06 Joseph Myers <joseph@codesourcery.com>
5900
5901 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
5902 macro.
5903 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5904 (__iseqsig): New declaration.
5905 * math/s_iseqsig_template.c: New file.
5906 * math/Versions (__iseqsigf): New libm symbol at version
5907 GLIBC_2.25.
5908 (__iseqsig): Likewise.
5909 (__iseqsigl): Likewise.
5910 * math/libm-test.inc (iseqsig_test_data): New array.
5911 (iseqsig_test): New function.
5912 (main): Call iseqsig_test.
5913 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
5914 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
5915 * manual/libm-err-tab.pl: Update comment on interfaces without
5916 ulps tabulated.
5917 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
5918 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
5919 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
5920 * sysdeps/nacl/libm.abilist: Update.
5921 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5922 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5923 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5924 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5925 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5926 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5927 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5928 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5929 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5930 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5931 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5932 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5933 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5934 Likewise.
5935 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5936 Likewise.
5937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5938 Likewise.
5939 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5940 Likewise.
5941 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5942 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5943 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5944 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5945 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5946 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5947 Likewise.
5948 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5949 Likewise.
5950 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5951 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5952 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5953
5954 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
5955
5956 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
5957 do_sincos_2, sloww, sloww1): Update comments.
5958
5959 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
5960 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
5961
5962 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
5963 K boolean and rename it.
5964 (__sin): Adjust.
5965 (__cos): Adjust.
5966
5967 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
5968 Siddhesh Poyarekar <siddhesh@sourceware.org>
5969
5970 * manual/nss.texi: Fix typos in the manual.
5971
5972 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
5973
5974 * manual/contrib.texi: Fix typos in the manual.
5975
5976 * manual/maint.texi: Fix typos in the manual.
5977
5978 * manual/install.texi: Fix typos in the manual.
5979 * INSTALL: Regenerated.
5980
5981 * manual/lang.texi: Fix typos in the manual.
5982
5983 * manual/probes.texi: Fix typos in the manual.
5984
5985 * manual/threads.texi: Fix typos in the manual.
5986
5987 * manual/debug.texi: Fix typos in the manual.
5988
5989 * manual/crypt.texi: Fix typos in the manual.
5990
5991 * manual/conf.texi: Fix typos in the manual.
5992
5993 * manual/sysinfo.texi: Fix typos in the manual.
5994
5995 * manual/users.texi: Fix typos in the manual.
5996
5997 * manual/job.texi: Fix typos in the manual.
5998
5999 * manual/process.texi: Fix typos in the manual.
6000
6001 * manual/argp.texi: Fix typos in the manual.
6002 * manual/getopt.texi: Likewise.
6003 * manual/startup.texi: Likewise.
6004
6005 * manual/signal.texi: Fix typos in the manual.
6006
6007 * manual/setjmp.texi: Fix typos in the manual.
6008
6009 * manual/resource.texi: Fix typos in the manual.
6010
6011 * manual/time.texi: Fix typos in the manual.
6012
6013 * manual/arith.texi: Fix typos in the manual.
6014
6015 * manual/math.texi: Fix typos in the manual.
6016
6017 * manual/syslog.texi: Fix typos in the manual.
6018
6019 * manual/terminal.texi: Fix typos in the manual.
6020
6021 * manual/socket.texi: Fix typos in the manual.
6022
6023 * manual/filesys.texi: Fix typos in the manual.
6024
6025 * manual/llio.texi: Fix typos in the manual.
6026
6027 * manual/stdio.text: Fix typos in the manual.
6028
6029 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
6030
6031 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
6032 instead of K1.
6033
6034 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
6035 SHIFT_QUADRANT and make it bool.
6036 (do_sincos_2): Likewise.
6037 (sloww): Likewise.
6038 (sloww1): Likewise.
6039 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
6040 (__cos): Likewise.
6041
6042 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6043
6044 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6045
6046 2016-10-04 Joseph Myers <joseph@codesourcery.com>
6047
6048 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
6049 Define to __WORDSIZE, not conditional on [LONG_MAX ==
6050 0x7fffffffL].
6051 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
6052
6053 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6054
6055 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
6056 inline by __inline__.
6057 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
6058 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
6059 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
6060 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
6061 sigset_t from signal.h.
6062 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
6063 which is already required.
6064
6065 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
6066
6067 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6068
6069 2016-10-03 Joseph Myers <joseph@codesourcery.com>
6070
6071 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
6072 (struct tcp_repair_window): New type.
6073
6074 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6075
6076 * libio/tst-memstream3.c: Include string.h.
6077
6078 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6079
6080 [BZ #18241]
6081 [BZ #20181]
6082 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
6083 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
6084 write position is at the end the buffer.
6085 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
6086 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
6087 (_IO_str_seekoff): Set correct offset from negative displacement and
6088 set EINVAL for invalid ones.
6089 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
6090 buffer length.
6091 (_IO_wstr_switch_to_get_mode): New function.
6092 (_IO_wstr_seekoff): Set correct offset from negative displacement and
6093 set EINVAL for invalid ones.
6094 * libio/tst-memstream3.c: New file.
6095 * libio/tst-wmemstream3.c: Likewise.
6096 * manual/examples/memstrm.c: Remove warning when priting size_t.
6097
6098 2016-09-30 Joseph Myers <joseph@codesourcery.com>
6099
6100 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
6101 macro to use __builtin_fma.
6102 * sysdeps/x86_64/fpu/dla.h: Remove file.
6103
6104 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
6105 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
6106 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
6107
6108 2016-09-30 Carlos O'Donell <carlos@redhat.com>
6109
6110 [BZ #20292]
6111 * elf/Makefile (routines): Add dl-addr-obj.
6112 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
6113 tst-_dl_addr_inside_object.
6114 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
6115 [ifeq (yesyes,$(have-fpie)$(build-shared))]
6116 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
6117 [ifeq (yesyes,$(have-fpie)$(build-shared))]
6118 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
6119 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
6120 * elf/dl-open.c: Likewise.
6121 * elf/dl-addr-obj.c: New file.
6122 * elf/tst-_dl_addr_inside_object.c: New file.
6123
6124 2016-09-30 Joseph Myers <joseph@codesourcery.com>
6125
6126 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
6127 <bits/iscanonical.h>.
6128 * bits/iscanonical.h: New file.
6129 * math/s_iscanonicall.c: Likewise.
6130 * math/Versions (__iscanonicall): New libm symbol at version
6131 GLIBC_2.25.
6132 * math/libm-test.inc (iscanonical_test_data): New array.
6133 (iscanonical_test): New function.
6134 (main): Call iscanonical_test.
6135 * math/Makefile (headers): Add bits/iscanonical.h.
6136 (type-ldouble-routines): Add s_iscanonicall.
6137 * manual/arith.texi (Floating Point Classes): Document
6138 iscanonical.
6139 * manual/libm-err-tab.pl: Update comment on interfaces without
6140 ulps tabulated.
6141 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
6142 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
6143 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
6144 Likewise.
6145 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
6146 test-iscanonical-ldbl-128ibm.
6147 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
6148 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
6149 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
6150 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
6151 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6152 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6153 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6154 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6155 Likewise.
6156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6157 Likewise.
6158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6159 Likewise.
6160 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6161 Likewise.
6162 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6163 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6164
6165 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6166
6167 * string/bits/string3.h: Remove C++ style comments.
6168
6169 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
6170
6171 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
6172 instead of ternary condition.
6173 (do_sincos_2): Likewise.
6174 (__sin): Likewise.
6175 (__cos): Likewise.
6176 (slow): Likewise.
6177 (sloww): Likewise.
6178 (sloww1): Likewise.
6179 (bsloww): Likewise.
6180 (bsloww1): Likewise.
6181
6182 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
6183 instead of ternary condition.
6184 (do_sin_slow): Likewise.
6185 (do_sincos_1): Likewise.
6186 (do_sincos_2): Likewise.
6187 (__cos): Likewise.
6188 (sloww): Likewise.
6189 (sloww1): Likewise.
6190 (sloww2): Likewise.
6191 (bsloww): Likewise.
6192 (bsloww1): Likewise.
6193 (bsloww2): Likewise.
6194
6195 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
6196 check from here...
6197 (slow2): ... and here...
6198 (__sin): ... to here.
6199
6200 2016-09-28 Joseph Myers <joseph@codesourcery.com>
6201
6202 * math/math.h
6203 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
6204 Cast argument to its own type.
6205 * math/test-iszero-excess-precision.c: New file.
6206 * math/Makefile (tests): Add test-iszero-excess-precision.
6207 (CFLAGS-test-iszero-excess-precision.c): New variable.
6208
6209 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6210
6211 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
6212 field, add err field.
6213 (__spawni_child): Report error through err member instead of pipe.
6214 (__spawnix): Likewise.
6215
6216 2016-09-28 Zack Weinberg <zackw@panix.com>
6217
6218 * scripts/check-installed-headers.sh: Generalize treatment of
6219 sys/elf.h to all target architectures.
6220
6221 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
6222 deleted typedef ucontext_t.
6223
6224 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6225
6226 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
6227 (__INTERNAL_SYSCALL1): Likewise.
6228 (__INTERNAL_SYSCALL2): Likewise.
6229 (__INTERNAL_SYSCALL3): Likewise.
6230 (__INTERNAL_SYSCALL4): Likewise.
6231 (__INTERNAL_SYSCALL5): Likewise.
6232 (__INTERNAL_SYSCALL6): Likewise.
6233 (__INTERNAL_SYSCALL7): Likewise.
6234 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
6235 (__INTERNAL_SYSCALL_NARGS): Likewise.
6236 (__INTERNAL_SYSCALL_DISP): Likewise.
6237 (INTERNAL_SYSCALL_CALL): Likewise.
6238 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
6239 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
6240 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
6241 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
6242 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
6243 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
6244 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
6245 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
6246 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
6247 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
6248 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
6249 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
6250 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
6251
6252 2016-09-23 Joseph Myers <joseph@codesourcery.com>
6253
6254 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
6255 macro.
6256 * math/libm-test.inc (iszero_test_data): New array.
6257 (iszero_test): New function.
6258 (main): Call iszero_test.
6259 * manual/arith.texi (Floating Point Classes): Document iszero.
6260 * manual/libm-err-tab.pl: Update comment on interfaces without
6261 ulps tabulated.
6262
6263 2016-09-23 Zack Weinberg <zackw@panix.com>
6264
6265 * scripts/check-installed-headers.sh: New script.
6266 * Rules: In each directory that defines header files to be installed,
6267 run check-installed-headers.sh on them as a special test.
6268 * Makefile: Likewise for the headers installed at top level.
6269
6270 * include/aliases.h, include/alloca.h, include/argz.h
6271 * include/arpa/nameser.h, include/arpa/nameser_compat.h
6272 * include/elf.h, include/envz.h, include/err.h
6273 * include/execinfo.h, include/fpu_control.h, include/getopt.h
6274 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
6275 * include/link.h, include/malloc.h, include/mcheck.h
6276 * include/mntent.h, include/netinet/ether.h
6277 * include/nss.h, include/obstack.h, include/printf.h
6278 * include/pty.h, include/resolv.h, include/rpc/auth.h
6279 * include/rpc/auth_des.h, include/rpc/auth_unix.h
6280 * include/rpc/clnt.h, include/rpc/des_crypt.h
6281 * include/rpc/key_prot.h, include/rpc/netdb.h
6282 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
6283 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
6284 * include/rpc/rpc_msg.h, include/rpc/svc.h
6285 * include/rpc/svc_auth.h, include/rpc/xdr.h
6286 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
6287 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
6288 * include/rpcsvc/ypupd.h, include/shadow.h
6289 * include/stdio_ext.h, include/sys/epoll.h
6290 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
6291 * include/sys/prctl.h, include/sys/profil.h
6292 * include/sys/statfs.h, include/sys/sysctl.h
6293 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
6294 * sysdeps/arm/nacl/include/bits/setjmp.h
6295 * sysdeps/mips/include/sys/asm.h
6296 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
6297 * sysdeps/unix/sysv/linux/include/sys/timex.h
6298 * sysdeps/x86/fpu/include/bits/fenv.h:
6299 Add #ifndef _ISOMAC guard around internal declarations.
6300 Add multiple-inclusion guard if not already present.
6301
6302 2016-09-23 Zack Weinberg <zackw@panix.com>
6303
6304 * sysdeps/generic/sys/ucontext.h
6305 * sysdeps/arm/sys/ucontext.h
6306 * sysdeps/i386/sys/ucontext.h
6307 * sysdeps/m68k/sys/ucontext.h
6308 * sysdeps/mips/sys/ucontext.h
6309 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
6310 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
6311 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
6312 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
6313 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
6314 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
6315 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
6316 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
6317 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
6318 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
6319 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
6320 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
6321 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
6322 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
6323 Include both bits/sigcontext.h and bits/sigstack.h.
6324 Fix grammar error in comment, if present.
6325
6326 * bits/sigstack.h
6327 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
6328 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
6329 * sysdeps/unix/sysv/linux/bits/sigstack.h
6330 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
6331 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
6332 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
6333 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
6334 * bits/sigcontext.h
6335 * sysdeps/mach/hurd/i386/bits/sigcontext.h
6336 * sysdeps/unix/sysv/linux/bits/sigcontext.h
6337 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
6338 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
6339 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
6340 as well as signal.h, if this was not already allowed. Request
6341 definition of size_t if necessary. Minimize semantically-null
6342 differences across files.
6343
6344 2016-09-23 Zack Weinberg <zackw@panix.com>
6345
6346 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
6347 Remove all logic conditional on __need macros. Move all the
6348 conditionally defined types to their own headers...
6349 * time/bits/types/clock_t.h: Define clock_t here.
6350 * time/bits/types/clockid_t.h: Define clockid_t here.
6351 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
6352 * time/bits/types/struct_timespec.h: Define struct timespec here.
6353 * time/bits/types/struct_timeval.h: Define struct timeval here.
6354 * time/bits/types/struct_tm.h: Define struct tm here.
6355 * time/bits/types/time_t.h: Define time_t here.
6356 * time/bits/types/timer_t.h: Define timer_t here.
6357 * time/Makefile: Install the new headers.
6358
6359 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
6360 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
6361 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
6362 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
6363 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
6364 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
6365 * sysdeps/unix/sysv/linux/bits/resource.h
6366 * sysdeps/unix/sysv/linux/bits/timex.h
6367 * sysdeps/unix/sysv/linux/mips/bits/resource.h
6368 * sysdeps/unix/sysv/linux/net/ppp_defs.h
6369 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
6370 * sysdeps/unix/sysv/linux/sys/acct.h
6371 * sysdeps/unix/sysv/linux/sys/timerfd.h
6372 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
6373 * time/sys/time.h, time/sys/timeb.h
6374 Use the new bits/types headers.
6375
6376 * include/time.h: Remove __need logic.
6377 * include/bits/time.h
6378 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
6379 * include/bits/types/time_t.h, include/bits/types/timer_t.h
6380 * include/bits/types/struct_itimerspec.h
6381 * include/bits/types/struct_timespec.h
6382 * include/bits/types/struct_timeval.h
6383 * include/bits/types/struct_tm.h:
6384 New wrapper headers.
6385
6386 2016-09-23 Zack Weinberg <zackw@panix.com>
6387
6388 * sysdeps/mach/hurd/net/if_ppp.h
6389 * sysdeps/unix/sysv/linux/net/if_ppp.h:
6390 Only define struct ifpppstatsreq and struct ifpppcstatsreq
6391 if __USE_MISC is defined, to ensure struct ifreq is declared.
6392
6393 * inet/netinet/ether.h: Condition all function prototypes
6394 on __USE_MISC, to ensure struct ether_addr is declared.
6395
6396 * socket/bits/types/struct_osockaddr.h: New header.
6397 * include/bits/types/struct_osockaddr.h: New wrapper.
6398 * socket/Makefile: Install the new header.
6399 * socket/sys/socket.h, inet/protocols/talkd.h:
6400 Refer to bits/types/struct_osockaddr.h for the definition of
6401 struct osockaddr.
6402
6403 2016-09-23 Zack Weinberg <zackw@panix.com>
6404
6405 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
6406 * inet/protocols/routed.h, inet/protocols/talkd.h
6407 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
6408 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
6409 * sysdeps/generic/netinet/if_ether.h
6410 * sysdeps/generic/netinet/in_systm.h
6411 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
6412 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
6413 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
6414 * sysdeps/mach/hurd/net/if_arp.h
6415 * sysdeps/mach/hurd/net/if_ppp.h
6416 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
6417 * sysdeps/unix/sysv/linux/bits/in.h
6418 * sysdeps/unix/sysv/linux/net/ethernet.h
6419 * sysdeps/unix/sysv/linux/net/if_arp.h
6420 * sysdeps/unix/sysv/linux/net/if_ppp.h
6421 * sysdeps/unix/sysv/linux/net/if_shaper.h
6422 * sysdeps/unix/sysv/linux/net/route.h
6423 * sysdeps/unix/sysv/linux/netinet/if_ether.h
6424 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
6425 * sysdeps/unix/sysv/linux/netinet/if_tr.h
6426 * sysdeps/unix/sysv/linux/netipx/ipx.h
6427 * sysdeps/unix/sysv/linux/sys/acct.h
6428 * include/arpa/nameser.h, include/resolv.h:
6429 Change all uses of u_char to unsigned char,
6430 u_short and ushort to unsigned short, u_int and uint to unsigned int,
6431 u_long and ulong to unsigned long, u_int8_t to uint8_t,
6432 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
6433 and u_int64_t and u_quad_t to uint64_t.
6434
6435 * mach/sys/reboot.h: Remove two casts of integer literals
6436 to the types they already have.
6437
6438 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
6439 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
6440 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
6441 from referring to 'unsigned char' to 'uint8_t' for consistency with
6442 the macro definition below.
6443
6444 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
6445 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
6446 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
6447 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
6448 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
6449 * sysdeps/unix/sysv/linux/sys/acct.h
6450 * include/arpa/nameser.h, include/resolv.h:
6451 Fix indentation disrupted by mechanical edits.
6452
6453 * inet/protocols/talkd.h, resolv/arpa/nameser.h
6454 * sysdeps/generic/netinet/in_systm.h
6455 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
6456 * sysdeps/gnu/netinet/udp.h
6457 * sysdeps/unix/sysv/linux/net/ethernet.h
6458 * sysdeps/unix/sysv/linux/net/if_arp.h
6459 * sysdeps/unix/sysv/linux/net/if_ppp.h
6460 * sysdeps/unix/sysv/linux/net/if_shaper.h
6461 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
6462 * sysdeps/unix/sysv/linux/netinet/if_tr.h
6463 * sysdeps/unix/sysv/linux/netipx/ipx.h
6464 * sysdeps/unix/sysv/linux/sys/acct.h
6465 Include stdint.h for uintNN_t definitions.
6466 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
6467
6468 2016-09-23 Zack Weinberg <zackw@panix.com>
6469
6470 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
6471 * sysdeps/unix/sysv/linux/netrose/rose.h:
6472 Include sys/socket.h and netax25/ax25.h.
6473
6474 * inet/netinet/icmp6.h, inet/netinet/ip6.h
6475 * resolv/arpa/nameser_compat.h:
6476 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
6477
6478 * sysdeps/unix/sysv/linux/sys/quota.h:
6479 Use __caddr_t instead of caddr_t.
6480 * sysdeps/unix/sysv/linux/sys/timerfd.h:
6481 Use __clockid_t instead of clockid_t.
6482
6483 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
6484
6485 * argp/argp.h: Check whether _LIBC is defined before expanding it.
6486 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
6487 expanding it.
6488
6489 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
6490 Define __glibc_c99_flexarr_available to 1 when the compiler
6491 supports C99-compatible flexible array members, 0 otherwise.
6492 * sysdeps/unix/sysv/linux/bits/socket.h
6493 * sysdeps/mach/hurd/bits/socket.h
6494 * bits/socket.h: Use __glibc_c99_flexarr_available in
6495 definitions of struct cmsghdr and CMSG_DATA.
6496
6497 2016-09-23 Florian Weimer <fweimer@redhat.com>
6498
6499 * manual/nss.texi (NSS Modules Interface): Adjust function return
6500 type to enum nss_status. Document errnop argument. Clarify
6501 h_errnop semantics. Fix cross-reference formatting.
6502 (NSS Module Function Internals): Mention that *errnop needs to be
6503 set on failure, but not to zero.
6504
6505 2016-09-23 Florian Weimer <fweimer@redhat.com>
6506
6507 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
6508 (get_random_name): New functions.
6509 (check_wrapper_flags_mode): Use linkat to give the new file a name
6510 determined by get_random_name.
6511 (do_test): Add calls to test open64 and openat64.
6512
6513 2016-09-23 Florian Weimer <fweimer@redhat.com>
6514
6515 * test-skeleton.c: Remove #include <stdarg.h>.
6516
6517 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
6518
6519 [BZ #19826]
6520 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
6521 initialization of static TLS entries.
6522 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
6523 * nptl/allocatestack.c (init_one_static_tls): Likewise.
6524
6525 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6526
6527 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
6528 _hurd_malloc_fork_prepare.
6529 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
6530 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
6531 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
6532 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
6533 (_hurd_fork_child_hook): Drop malloc_fork_child.
6534 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
6535 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
6536 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
6537 after locking locks (notably hurd_dtable_lock). Call
6538 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
6539 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
6540 __malloc_fork_unlock_child.
6541 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
6542
6543 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
6544
6545 * soft-fp/extendhftf2.c: New.
6546 * soft-fp/fixhfti.c: Likewise.
6547 * soft-fp/fixunshfti.c: Likewise.
6548 * soft-fp/floattihf.c: Likewise.
6549 * soft-fp/floatuntihf.c: Likewise.
6550 * soft-fp/half.h: Likewise.
6551 * soft-fp/trunctfhf2.c: Likewise.
6552
6553 2016-09-21 Joseph Myers <joseph@codesourcery.com>
6554
6555 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
6556 macro.
6557 * math/libm-test.inc (issubnormal_test_data): New array.
6558 (issubnormal_test): New function.
6559 * manual/arith.texi (Floating Point Classes): Document
6560 issubnormal.
6561 * manual/libm-err-tab.pl: Update comment on interfaces without
6562 ulps tabulated.
6563
6564 * sysdeps/generic/stdint.h: Define
6565 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6566 <bits/libc-header-start.h> instead of including <features.h>.
6567 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
6568 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
6569 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
6570 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
6571 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
6572 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
6573 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
6574 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
6575 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
6576 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
6577 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
6578 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
6579 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
6580 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
6581 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
6582 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
6583 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
6584 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
6585 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
6586 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
6587 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
6588 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
6589 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
6590 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
6591 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
6592 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
6593 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
6594 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
6595 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
6596 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
6597 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
6598 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
6599 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
6600 * manual/arith.texi (Integers): Document these macros for types
6601 specified by width properties.
6602 * manual/lang.texi (Width of Type): Document these macros for
6603 other standard typedefs.
6604 * stdlib/tst-width-stdint.c: New file.
6605 * stdlib/Makefile (tests): Add tst-width-stdint.
6606
6607 2016-09-21 Florian Weimer <fweimer@redhat.com>
6608
6609 [BZ #20016]
6610 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
6611 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
6612 Move ...
6613 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
6614 ... here, as compatibility symbols in a new file.
6615 * resolv/Makefile (libresolv-routines): Add compat-hooks.
6616 * resolv/res_init.c (__res_vinit): Adjust member names.
6617 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
6618 * resolv/resolv.h (res_sendhookact, res_send_qhook)
6619 (res_send_rhook): Remove.
6620 (struct __res_state): Rename qhook, rhook members.
6621
6622 2016-09-21 Florian Weimer <fweimer@redhat.com>
6623
6624 malloc: Use __libc_lock wrappers.
6625 * malloc/arena.c (list_lock, free_list_lock): Define using
6626 __libc_lock_define_initialized.
6627 (arena_lock): Adjust formatting.
6628 * malloc/malloc.c (struct malloc_state): Define mutex using
6629 __libc_lock_define.
6630 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
6631 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
6632 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
6633 (mutex_unlock, mutex_trylock): Remove.
6634 (__pthread_initialize): Remove unused macro.
6635 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
6636 (mutex_unlock, mutex_trylock): Remove.
6637
6638 2016-09-21 Florian Weimer <fweimer@redhat.com>
6639
6640 [BZ #20592]
6641 Remove RR type classification macros.
6642 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
6643 (ns_t_udp_p, ns_t_xfr_p): Remove.
6644
6645 2016-09-21 Florian Weimer <fweimer@redhat.com>
6646
6647 Remove misleading version information.
6648 * resolv/arpa/nameser.h (__NAMESER): Remove.
6649 * resolv/arpa/nameser_compat.h (__BIND): Remove.
6650
6651 2016-09-21 Florian Weimer <fweimer@redhat.com>
6652
6653 Remove the always-defined BIND_4_COMPAT macro.
6654 * resolv/arpa/nameser.h: Unconditionally include
6655 <arpa/nameser_compat.h>.
6656 (BIND_4_COMPAT): Remove.
6657 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
6658
6659 2016-09-21 Florian Weimer <fweimer@redhat.com>
6660
6661 [BZ #20591]
6662 Remove obsolete DNSSEC support.
6663 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
6664 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
6665 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
6666 (ns_verify_tcp, ns_verify_tcp_init): Remove.
6667 (ns_cert_types): Add comment.
6668 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
6669 separately.
6670 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
6671 (dst_s_dns_key_id): Remove.
6672 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
6673 variables.
6674
6675 2016-09-21 Florian Weimer <fweimer@redhat.com>
6676
6677 [BZ #20524]
6678 * manual/string.texi (String/Array Comparison): Clarify the
6679 strverscmp behavior.
6680
6681 2016-09-21 Florian Weimer <fweimer@redhat.com>
6682
6683 * test-skeleton.c (xasprintf): Add function.
6684 * io/tst-open-tmpfile.c: New test.
6685 * io/Makefile (tests): Add it.
6686
6687 2016-09-21 Florian Weimer <fweimer@redhat.com>
6688
6689 Avoid running $(CXX) during build to obtain header file paths.
6690 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
6691 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
6692 * Makerules (cstdlib, cmath): Remove variables. Use
6693 $(c++-cstdlib-header), $(c++-cmath-header) instead.
6694 * configure: Regenerate.
6695
6696 2016-09-21 Florian Weimer <fweimer@redhat.com>
6697
6698 * Makeconfig (all-object-suffixes): Include .op only if
6699 $(build-profile).
6700
6701 2016-09-21 Florian Weimer <fweimer@redhat.com>
6702
6703 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
6704 conditionals. Do not define PATH_MAX.
6705
6706 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6707
6708 * posix/Makefile (tests): Add tst-spawn3.
6709 * posix/tst-spawn3.c: New file.
6710 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
6711 if it is already opened for open action.
6712
6713 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
6714 all signals when executing the clone vfork child.
6715 (SIGALL_SET): Remove macro.
6716
6717 * nptl/Makefile (tests): Add tst-exec5.
6718 * nptl/tst-exec5.c: New file.
6719 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
6720 asynchronous cancellation.
6721
6722 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
6723
6724 * hurd/exc2signal.c: #include <hurd/signal.h>
6725 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
6726 'sigcode', 'error' parameters with 'detail' parameter. Fix code
6727 accordingly.
6728 * mach/mach_error.c (mach_error): Fix old-style function definition.
6729 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
6730
6731 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6732
6733 * math/Makefile (libm-calls): Remove s_nanF.
6734 (gen-libm-calls): Add s_nanF.
6735
6736 * math/s_nan.c: Refactor into ...
6737 * math/s_nan_template.c: New file.
6738
6739 * math/s_nanf.c: Removed.
6740 * math/s_nanl.c: Removed.
6741 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
6742 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
6743
6744 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6745 (LDOUBLE_nanl_libm_version): New macro.
6746
6747 * sysdeps/generic/math-type-macros-double.h:
6748 (M_STRTO_NAN): New macro.
6749 * sysdeps/generic/math-type-macros-float.h: Likewise.
6750 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6751
6752 * sysdeps/generic/math-type-macros.h: Document
6753 M_STRTO_NAN.
6754
6755 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6756
6757 * math/s_nanf.c: Remove __nanf undef.
6758 * math/s_nan.c: Remove __nan undef.
6759 * math/s_nanl.c: Remove __nanl undef.
6760
6761 * sysdeps/generic/math_private.h (__nan): Remove macro
6762 override.
6763 (__nanf): Likewise.
6764 (__nanl): Likewise.
6765
6766 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6767
6768 * math/Makefile (gen-all-calls): New variable.
6769 (generated): Replace gen-libm-calls with gen-all-calls.
6770 (gen-libm-templates.stmp): Likewise. Also, ensure
6771 the output directory exists or is created and add
6772 dependency on the Makefile.
6773 (calls): Move s_ldexpF into gen-calls.
6774 (gen-calls): New variable.
6775
6776 * math/s_ldexpf.c: Removed.
6777 * math/s_ldexpl.c: Removed.
6778 * math/s_ldexp.c: Refactored into ...
6779 * math/s_ldexp_template.c: New file.
6780
6781 * sysdeps/generic/math-type-macros-double.h: Remove
6782 redundant fall-through definition of declare_mgen_alias.
6783 (declare_mgen_alias_2): New macro.
6784
6785 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
6786 New macro for function aliased to two exported symbols.
6787
6788 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
6789 new template file.
6790 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6791
6792 2016-09-20 Florian Weimer <fweimer@redhat.com>
6793
6794 * Makeconfig (all-object-suffixes): Remove .og.
6795 * Makerules (elide-routines.og): Remove.
6796 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
6797 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
6798 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
6799
6800 2016-09-20 Florian Weimer <fweimer@redhat.com>
6801
6802 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
6803 .os objects.
6804
6805 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6806
6807 [BZ #20615]
6808 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
6809 fpu directory by non-fpu.
6810 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
6811 on non-fpu directory from a fpu directory.
6812
6813 2016-09-19 Joseph Myers <joseph@codesourcery.com>
6814
6815 * include/limits.h: Define
6816 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6817 <bits/libc-header-start.h> instead of including <features.h>.
6818 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
6819 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
6820 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
6821 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
6822 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
6823 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
6824 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
6825 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
6826 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
6827 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
6828 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
6829 * manual/lang.texi (Width of Type): Document these macros.
6830 * stdlib/tst-width.c: New file.
6831 * stdlib/Makefile (tests): Add tst-width.
6832
6833 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6834
6835 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
6836 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
6837
6838 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6839
6840 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
6841 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6842 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6843
6844 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6845
6846 [BZ #18243]
6847 * rt/Makefile (test): Add tst-shm-cancel.
6848 * rt/tst-shm-cancel.c: New file.
6849 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
6850
6851 [BZ #18243]
6852 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
6853 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
6854 definition.
6855 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
6856 uncontended case.
6857 * nptl/sem_wait.c (__new_sem_wait): Likewise.
6858 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
6859 (tf): Fix check for uncontended case.
6860 (do_test): Likewise.
6861 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
6862 (tf): Fix check for uncontended case.
6863 (do_test): Likewise.
6864 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
6865 (tf): Fix check for uncontended case.
6866 (do_test): Likewise.
6867 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
6868 (tf): Fix check for uncontended case.
6869 (do_test): Likewise.
6870
6871 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
6872 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
6873
6874 [BZ #15765]
6875 * nptl/Makefile (tests): Add tst-sem16.
6876 * nptl/tst-sem16.c: New file.
6877 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
6878
6879 * nptl/sem_open.c (sem_open): Init pad value to 0.
6880 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6881 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6882
6883 2016-09-15 Florian Weimer <fweimer@redhat.com>
6884
6885 [BZ #20611]
6886 * inet/Makefile (routines): Add inet6_scopeid_pton.
6887 (tests): Add tst-inet6_scopeid_pton.
6888 * inet/inet6_scopeid_pton.c: New file.
6889 * inet/net-internal.h: Likewise.
6890 * inet/tst-inet6_scopeid_pton.c: New test.
6891 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
6892 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
6893 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6894
6895 2016-09-14 Florian Weimer <fweimer@redhat.com>
6896
6897 Remove support for compiling wrappers with PTW.
6898 * sysdeps/nptl/Makeconfig: Drop ptw- support.
6899 * nptl/Makefile (pthread-compat-wrappers): Define.
6900 (libpthread-routines): Use pthread-compat-wrappers.
6901 * sysdeps/unix/sysv/linux/alpha/Makefile
6902 (libpthread-routines, libpthread-shared-only-routines): Remove
6903 ptw- prefix.
6904 * sysdeps/s390/nptl/Makefile
6905 (libpthread-routines, libpthread-shared-only-routines): Likewise.
6906 * sysdeps/ia64/nptl/Makefile
6907 (libpthread-routines, libpthread-shared-only-routines): Likewise.
6908 * sysdeps/nacl/Makefile (libpthread-routines): Use
6909 pthread-compat-wrappers to filter the routines list instead of the
6910 ptw- prefix.
6911
6912 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6913
6914 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
6915 with L() and remove explicit suffix, convert real literals
6916 which can be equivalentally substituted with integers, and
6917 transform -L(x) to L(-x).
6918
6919 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6920 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6921 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6922 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6923 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6924 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6925 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6926 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6927 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6928 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6929 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6930 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6931 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6932 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6933 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6934 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6935 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6936 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6937 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6938 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6939 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6940 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6941 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6942 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6943 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6944 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6945 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6946 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6947 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6948 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6949 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6950 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6951 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6952 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6953 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6954 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6955 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6956 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6957 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6958 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6959 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6960 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6961 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6962 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6963 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6964 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6965 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6966 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6967 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6968 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6969
6970 2016-09-13 Florian Weimer <fweimer@redhat.com>
6971
6972 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
6973
6974 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
6975
6976 * malloc/Makefile (tests): Remove individual static test names
6977 and just add all of tests-static.
6978
6979 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
6980
6981 2016-09-07 Joseph Myers <joseph@codesourcery.com>
6982
6983 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
6984 file.
6985
6986 * sysdeps/sparc/fpu/fegetmode.c: New file.
6987 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
6988
6989 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
6990 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
6991
6992 * sysdeps/s390/fpu/fegetmode.c: New file.
6993 * sysdeps/s390/fpu/fesetmode.c: Likewise.
6994
6995 * sysdeps/powerpc/fpu/fegetmode.c: New file.
6996 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
6997 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
6998 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
6999 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
7000 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
7001
7002 * sysdeps/mips/fpu/fegetmode.c: New file.
7003 * sysdeps/mips/fpu/fesetmode.c: Likewise.
7004
7005 * sysdeps/m68k/fpu/fegetmode.c: New file.
7006 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
7007
7008 * sysdeps/ia64/fpu/fegetmode.c: New file.
7009 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
7010
7011 * sysdeps/hppa/fpu/fegetmode.c: New file.
7012 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
7013
7014 * sysdeps/arm/fegetmode.c: New file.
7015 * sysdeps/arm/fesetmode.c: Likewise.
7016
7017 * sysdeps/alpha/fpu/fegetmode.c: New file.
7018 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
7019
7020 * sysdeps/aarch64/fpu/fegetmode.c: New file.
7021 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
7022
7023 * math/fegetmode.c: New file.
7024 * math/fesetmode.c: Likewise.
7025 * sysdeps/i386/fpu/fegetmode.c: Likewise.
7026 * sysdeps/i386/fpu/fesetmode.c: Likewise.
7027 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
7028 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
7029 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
7030 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
7031 declaration.
7032 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
7033 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
7034 typedef.
7035 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7036 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7037 (femode_t): New typedef.
7038 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7039 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7040 (femode_t): New typedef.
7041 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7042 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7043 (femode_t): New typedef.
7044 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7045 * sysdeps/hppa/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7046 (femode_t): New typedef.
7047 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7048 * sysdeps/ia64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7049 (femode_t): New typedef.
7050 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7051 * sysdeps/m68k/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7052 (femode_t): New typedef.
7053 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7054 * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7055 (femode_t): New typedef.
7056 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7057 * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7058 (femode_t): New typedef.
7059 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7060 * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7061 (femode_t): New typedef.
7062 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7063 * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7064 (femode_t): New typedef.
7065 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
7066 declaration.
7067 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7068 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7069 (femode_t): New typedef.
7070 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7071 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7072 (femode_t): New typedef.
7073 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7074 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7075 (femode_t): New typedef.
7076 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7077 * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7078 (femode_t): New typedef.
7079 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7080 * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7081 (femode_t): New typedef.
7082 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7083 * manual/arith.texi (FE_DFL_MODE): Document macro.
7084 (fegetmode): Document function.
7085 (fesetmode): Likewise.
7086 * math/Versions (fegetmode): New libm symbol at version
7087 GLIBC_2.25.
7088 (fesetmode): Likewise.
7089 * math/Makefile (libm-support): Add fegetmode and fesetmode.
7090 (tests): Add test-femode and test-femode-traps.
7091 * math/test-femode-traps.c: New file.
7092 * math/test-femode.c: Likewise.
7093 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
7094 alias for __fe_dfl_env.
7095 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
7096 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
7097 (__fe_dfl_mode): Likewise.
7098 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
7099 version GLIBC_2.25.
7100 * sysdeps/nacl/libm.abilist: Update.
7101 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7102 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7103 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7104 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7105 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7106 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7107 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7108 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7109 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7110 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7111 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7112 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7114 Likewise.
7115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7116 Likewise.
7117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7118 Likewise.
7119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7120 Likewise.
7121 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7122 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7123 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7124 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7125 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7126 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7127 Likewise.
7128 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7129 Likewise.
7130 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7131 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7132 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7133
7134 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
7135
7136 [BZ #20495]
7137 [BZ #20508]
7138 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
7139 processors, set Use_dl_runtime_resolve_slow and set
7140 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
7141 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
7142 New.
7143 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
7144 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
7145 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
7146 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
7147 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
7148 if Use_dl_runtime_resolve_opt is set. Use
7149 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
7150 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
7151 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
7152 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
7153 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
7154 New.
7155 (_dl_runtime_resolve_opt): Likewise.
7156 (_dl_runtime_profile): Define only if _dl_runtime_profile is
7157 defined.
7158
7159 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
7160
7161 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
7162 __libc_memalign with "+ RELA R_390_GLOB_DAT".
7163
7164 2016-09-06 Florian Weimer <fweimer@redhat.com>
7165
7166 Convert malloc to __libc_lock. Automated part, using this Perl
7167 s/// command:
7168 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
7169 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
7170 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
7171 conversion.
7172
7173 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
7174
7175 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
7176 (linknamespace-symlists-tests): Likewise.
7177 (linknamespace-header-tests): Likewise.
7178
7179 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
7180
7181 [BZ #19810]
7182 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
7183 * elf/tst-noload.c: New test case.
7184 * elf/Makefile (tests): Add tst-noload.
7185
7186 2016-09-02 Roland McGrath <roland@hack.frob.com>
7187
7188 * sysdeps/nacl/dup.c: Add libc_hidden_def.
7189
7190 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
7191 not any more.
7192
7193 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
7194
7195 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
7196
7197 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
7198 (do_cos_slow): Likewise.
7199 (do_sin): Likewise.
7200 (do_sin_slow): Likewise.
7201 (slow): Likewise.
7202 (slow1): Likewise.
7203 (slow2): Likewise.
7204 (sloww): Likewise.
7205 (sloww1): Likewise.
7206 (sloww2): Likewise.
7207 (bsloww): Likewise.
7208 (bsloww1): Likewise.
7209 (bsloww2): Likewise.
7210 (cslow2): Likewise.
7211
7212 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
7213
7214 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
7215 arguments. Consolidate input partitioning from callers here.
7216 (do_cos_slow): Likewise.
7217 (do_sin): Likewise.
7218 (do_sin_slow): Likewise.
7219 (do_sincos_1): Remove the no longer necessary input partitioning.
7220 (do_sincos_2): Likewise.
7221 (__sin): Likewise.
7222 (__cos): Likewise.
7223 (slow1): Likewise.
7224 (slow2): Likewise.
7225 (sloww1): Likewise.
7226 (sloww2): Likewise.
7227 (bsloww1): Likewise.
7228 (bsloww2): Likewise.
7229 (cslow2): Likewise.
7230
7231 2016-09-02 Florian Weimer <fweimer@redhat.com>
7232
7233 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
7234 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
7235 outside of allocated array.
7236
7237 2016-09-02 Florian Weimer <fweimer@redhat.com>
7238
7239 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
7240 instead of MB_CUR_MAX to avoid variable-length array.
7241
7242 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7243
7244 * math/Makefile (libm-calls): Remove k_rem_pio2F.
7245 (type-double-routines): Add k_rem_pio2.
7246 (type-float-routines): Add k_rem_pio2f.
7247
7248 * sysdeps/generic/math_private.h:
7249 (__kernel_rem_pio2l): Removed.
7250
7251 * math/k_rem_pio2l.c: Removed.
7252 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
7253 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
7254 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
7255 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
7256
7257 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7258
7259 * math/Makefile (gen-libm-calls): Add s_fmin
7260 (libm-calls): Remove above.
7261
7262 * math/s_fmin.c: Refactor into ...
7263 * math/s_fmin_template.c: New file.
7264
7265 * math/s_fminf.c: Removed.
7266 * math/s_fminl.c: Removed.
7267 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7268 (LDOUBLE_fmin_libm_version): New macro.
7269
7270 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
7271 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
7272
7273 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7274
7275 * math/Makefile: (gen-libm-calls): Add s_fmax.
7276 (libm-calls): Remove above.
7277
7278 * math/s_fmax.c: Refactor into ...
7279 * math/s_fmax_template.c: New file.
7280 * math/s_fmaxf.c: Removed.
7281 * math/s_fmaxl.c: Removed.
7282
7283 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7284 (LDOUBLE_fmaxl_libm_version): New macro.
7285
7286 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
7287 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
7288
7289 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
7290 s_fmin.c to pick the aarch64 version of the file.
7291 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
7292 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
7293
7294 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7295
7296 * math/Makefile: (gen-libm-calls): Add s_nextdown.
7297 (libm-calls): Remove above.
7298
7299 * math/s_nextdown.c: Refactor into ...
7300 * math/s_nextdown_template.c: New file.
7301 * math/s_nextdownf.c: Removed.
7302 * math/s_nextdownl.c: Removed.
7303
7304 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
7305
7306 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7307
7308 * math/Makefile (gen-libm-calls): Add s_fdim.
7309 (libm-calls): Move to above.
7310
7311 * math/s_fdim.c: Renamed and refactored into to ...
7312 * math/s_fdim_template.c: New file.
7313 * math/s_fdiml.c: Removed.
7314 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
7315 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
7316
7317 * sysdeps/generic/math-type-macros-double.h:
7318 (declare_mgen_alias): Don't declare if already declared.
7319 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
7320 Likewise.
7321
7322 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7323 (declare_mgen_alias): Don't declare if already declared.
7324 (M_LIBM_NEED_COMPAT): Likewise.
7325 (declare_mgen_libm_compat): Likewise.
7326 (LDOUBLE_fdiml_libm_version): New macro.
7327
7328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
7329 Include math/s_fdim.c now that ldbl-opt version is not needed.
7330 (declare_mgen_alias): New macro to disable aliasing.
7331
7332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
7333 (declare_mgen_alias): Likewise.
7334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
7335 (declare_mgen_alias): Likewise.
7336 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
7337 (declare_mgen_alias): Likewise.
7338 (M_LIBM_NEED_COMPAT): Likewise.
7339
7340 2016-09-01 Florian Weimer <fweimer@redhat.com>
7341
7342 [BZ #20525]
7343 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
7344 Include <linux/quota.h>.
7345 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
7346 and btodb.
7347 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
7348 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
7349 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
7350 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
7351 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
7352 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
7353 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
7354 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
7355 types.
7356 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
7357 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
7358
7359 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7360
7361 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
7362 (gammal_positive): Fix spacing.
7363 (__ieee754_gammal_r): Likewise.
7364
7365 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7366
7367 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
7368 (_Float128): Define as long double, always.
7369 (L): Apply long double type suffix, always.
7370
7371 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
7372 _Float128, excepting comments.
7373
7374 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7375 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7376 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7377 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7378 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7379 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7380 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7381 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7382 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7383 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
7384 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7385 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7386 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7387 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7388 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7389 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7390 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7391 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7392 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7393 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7394 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7395 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7396 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7397 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7398 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7399 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7400 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7401 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7402 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7403 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7404 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7405 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7406 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7407 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7408 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7409 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7410 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7411 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7412 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7413 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7414 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7415 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7416 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7417 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7418 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7419 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7420 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7421 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7422 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7423 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7424 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7425 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7426 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7427 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7428 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
7429 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7430 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7431 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7432 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7433 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7434 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7435 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7436 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7437 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7438 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7439 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
7440 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7441 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7442
7443 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
7444 _Float128, and include math_private.h.
7445 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7446
7447 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
7448 long double semantics.
7449 (_Float128): Likewise.
7450 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
7451 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7452 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
7453 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
7454
7455 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7456
7457 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
7458 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
7459 * sysdeps/s390/configure: Regenerated.
7460 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
7461 instruction for raising over-/underflow if z196 zarch is supported
7462 by default.
7463 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
7464
7465 2016-08-30 Svante Signell <svante.signell@gmail.com>
7466
7467 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
7468 it point to a dumb buffer for RPC to fill it.
7469
7470 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
7471
7472 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
7473 instead of if/else.
7474 (do_sin_slow): Likewise.
7475 (do_sincos_1): Use fabs instead of if/else.
7476 (do_sincos_2): Likewise.
7477 (__sin): Likewise.
7478 (__cos): Likewise.
7479 (slow2): Likewise.
7480 (sloww): Likewise.
7481 (sloww1): Likewise. Drop argument M.
7482 (sloww2): Use fabs instead of if/else.
7483 (bsloww): Likewise.
7484 (bsloww1): Likewise.
7485 (bsloww2): Likewise.
7486
7487 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
7488 fall through comment.
7489 (do_sincos_1): Likewise.
7490
7491 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
7492 Consolidate switch cases 0 and 2.
7493
7494 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7495
7496 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
7497 (libm-calls): Remove the above.
7498
7499 * math/s_cexp_template.c: Update using type-generic macros.
7500 * math/s_clog10_template.c: Likewise.
7501 * math/s_cpow_template.c: Likewise.
7502 * math/s_clog_template.c: Likewise.
7503 * math/s_cproj_template.c: Likewise.
7504 * math/s_csqrt_template.c: Likewise.
7505
7506 * math/s_cexp.c: Removed.
7507 * math/s_cexpf.c: Removed.
7508 * math/s_cexpl.c: Removed.
7509 * math/s_clog10.c: Removed.
7510 * math/s_clog10f.c: Removed.
7511 * math/s_clog10l.c: Removed.
7512 * math/s_cpow.c: Removed.
7513 * math/s_cpowf.c: Removed.
7514 * math/s_cpowl.c: Removed.
7515 * math/s_clog.c: Removed.
7516 * math/s_clogf.c: Removed.
7517 * math/s_clogl.c: Removed.
7518 * math/s_cproj.c: Removed.
7519 * math/s_cprojf.c: Removed.
7520 * math/s_cprojl.c: Removed.
7521 * math/s_csqrt.c: Removed.
7522 * math/s_csqrtf.c: Removed.
7523 * math/s_csqrtl.c: Removed.
7524
7525 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
7526 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
7527 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
7528 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
7529 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
7530 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
7531
7532 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
7533 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
7534 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
7535 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
7536 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
7537 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
7538 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
7539 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
7540 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
7541 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
7542 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
7543
7544 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
7545 version.
7546
7547 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
7548 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
7549 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
7550 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
7551
7552 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7553
7554 * s_cexp_template.c: Copy of s_cexp.c.
7555 * s_clog_template.c: Copy of s_clog.c.
7556 * s_clog10_template.c: Copy of s_clog10.c.
7557 * s_cpow_template.c: Copy of s_cpow.c.
7558 * s_cproj_template.c: Copy of s_cproj.c.
7559 * s_csqrt_template.c: Copy of s_csqrt.c.
7560
7561 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7562
7563 [BZ #20517]
7564 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
7565 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
7566 exported.
7567
7568 2016-08-29 Joseph Myers <joseph@codesourcery.com>
7569
7570 * math/fetestexceptflag.c: New file.
7571 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
7572 Stefan Liebler.
7573 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7574 (fetestexceptflag): New function declaration.
7575 * manual/arith.texi (fetestexceptflag): Document function.
7576 * math/Versions (fetestexceptflag): New libm symbol at version
7577 GLIBC_2.25.
7578 * math/Makefile (libm-support): Add fetestexceptflag.
7579 (tests): Add test-fetestexceptflag.
7580 * math/test-fetestexceptflag.c: New file.
7581 * sysdeps/nacl/libm.abilist: Update.
7582 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7583 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7584 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7585 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7586 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7587 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7588 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7589 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7590 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7591 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7592 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7593 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7595 Likewise.
7596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7597 Likewise.
7598 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7599 Likewise.
7600 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7601 Likewise.
7602 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7603 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7604 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7605 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7606 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7608 Likewise.
7609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7610 Likewise.
7611 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7612 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7613 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7614
7615 2016-08-26 Florian Weimer <fweimer@redhat.com>
7616
7617 [BZ #20432]
7618 Avoid strong references to malloc-internal symbols when linking
7619 statically, to support statically interposed mallocs.
7620 * include/libc-symbols.h (call_function_static_weak): New macro.
7621 * malloc/Makefile (tests): Add tst-interpose-nothread,
7622 tst-interpose-thread, tst-interpose-static-nothread,
7623 tst-interpose-static-thread.
7624 (tests-static): Add tst-interpose-static-nothread,
7625 tst-interpose-static-thread.
7626 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
7627 tst-interpose-aux-thread.o.
7628 (test-extras): Add tst-interpose-aux-nothread,
7629 tst-interpose-aux-thread.
7630 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
7631 tst-interpose-aux-nothread.o.
7632 (tst-interpose-thread, tst-interpose-static-thread): Link with
7633 tst-interpose-aux-thread.o and libthread.
7634 * malloc/tst-interpose-aux-nothread.c: New file.
7635 * malloc/tst-interpose-aux-thread.c: Likewise.
7636 * malloc/tst-interpose-aux.c: Likewise.
7637 * malloc/tst-interpose-aux.h: Likewise.
7638 * malloc/tst-interpose-nothread.c: Likewise.
7639 * malloc/tst-interpose-skeleton.c: Likewise.
7640 * malloc/tst-interpose-static-nothread.c: Likewise.
7641 * malloc/tst-interpose-static-thread.c: Likewise.
7642 * malloc/tst-interpose-thread.c: Likewise.
7643 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
7644 * sysdeps/mach/hurd/fork.c (__fork): Only call
7645 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7646 __malloc_fork_unlock_child if defined.
7647 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7648
7649 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7650
7651 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
7652 timespec C99 designated initialization.
7653
7654 2016-08-26 Florian Weimer <fweimer@redhat.com>
7655
7656 [BZ #19946]
7657 Avoid expected SIGALRM signals.
7658 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
7659 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
7660 (xpthread_create, xpthread_detach, xpthread_join)
7661 (delayed_exit_thread, delayed_exit): New functions.
7662 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
7663 (tf): Use xpthread_cond_wait.
7664 (do_test): Likewise. Replace alarm with delayed_exit.
7665 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7666 (do_test): Call delayed_exit. Report failure.
7667 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7668 (do_test): Call delayed_exit.
7669 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7670 (do_test): Call delayed_exit. Use xpthread_join. Report error.
7671 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7672 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
7673 error.
7674 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7675 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
7676 error.
7677 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
7678 (do_test): Call delayed_exit.
7679 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
7680 (do_test): Call delayed_exit.
7681 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
7682 (do_test): Call delayed_exit instead of alarm. Use
7683 xpthread_mutex_lock.
7684 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
7685 (do_test): Call delayed_exit instead of alarm. Use
7686 xpthread_mutex_lock.
7687 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
7688 (do_test): Call delayed_exit instead of alarm.
7689 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
7690 (do_test): Call delayed_exit instead of alarm. Use
7691 xpthread_spin_lock.
7692 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
7693 (do_test): Call delayed_exit instead of alarm. Use
7694 xpthread_join.
7695
7696 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
7697
7698 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
7699 adjust CFA when allocating register save area on re-aligned
7700 stack.
7701
7702 2016-08-26 Florian Weimer <fweimer@redhat.com>
7703
7704 * string/tst-cmp.c: New test.
7705 * string/Makefile (tests): Add it.
7706
7707 2016-08-25 Mark Wielaard <mark@klomp.org>
7708
7709 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
7710 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
7711 (check_tree_recurse): Use newly defined accessors.
7712 (check_tree): Likewise.
7713 (maybe_split_for_insert): Likewise.
7714 (__tfind): Likewise.
7715 (__tdelete): Likewise.
7716 (trecurse): Likewise.
7717 (tdestroy_recurse): Likewise.
7718 (__tsearch): Likewise. And add asserts for malloc alignment.
7719 (__twalk): Cast root to node in case CHECK_TREE is defined.
7720
7721 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
7722
7723 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
7724
7725 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7726
7727 * math/Makefile (libm-gen-calls): Add
7728 catan, catanh, ctan, ctanh.
7729 (libm-calls): Remove the above.
7730
7731 * math/s_catan_template.c: Update using type-generic macros.
7732 * math/s_catanh_template.c: Likewise.
7733 * math/s_ctan_template.c: Likewise.
7734 * math/s_ctanh_template.c: Likewise.
7735
7736 * math/s_catanf.c: Removed.
7737 * math/s_catan.c: Removed.
7738 * math/s_catanl.c: Removed.
7739 * math/s_catanhf.c: Removed.
7740 * math/s_catanh.c: Removed.
7741 * math/s_catanhl.c: Removed.
7742 * math/s_ctanf.c: Removed.
7743 * math/s_ctan.c: Removed.
7744 * math/s_ctanl.c: Removed.
7745 * math/s_ctanhf.c: Removed.
7746 * math/s_ctanh.c: Removed.
7747 * math/s_ctanhl.c: Removed.
7748
7749 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
7750 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
7751 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
7752 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
7753 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
7754 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
7755
7756 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
7757 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
7758 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
7759 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
7760
7761 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7762
7763 * s_catan_template.c: Copy of s_catan.c.
7764 * s_catanh_template.c: Copy of s_catanh.c.
7765 * s_ctan_template.c: Copy of s_ctan.c.
7766 * s_ctanh_template.c: Copy of s_ctanh.c.
7767
7768 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7769
7770 * math/Makefile (gen-libm-calls): Move
7771 casin, casinh, csin, csinh here.
7772 (libm-calls): Remove the above.
7773
7774 * math/s_casin_template.c: Update using type-generic macros.
7775 * math/s_casinh_template.c: Likewise.
7776 * math/s_csin_template.c: Likewise.
7777 * math/s_csinh_template.c: Likewise.
7778 * math/k_casinh_template.c: Likewise.
7779
7780 * math/s_casinf.c: Removed.
7781 * math/s_casin.c: Removed.
7782 * math/s_casinl.c: Removed.
7783 * math/s_casinh.c: Removed.
7784 * math/s_casinhf.c: Removed.
7785 * math/s_casinhl.c: Removed.
7786 * math/s_csin.c: Removed.
7787 * math/s_csinf.c: Removed.
7788 * math/s_csinl.c: Removed.
7789 * math/s_csinh.c: Removed.
7790 * math/s_csinhf.c: Removed.
7791 * math/s_csinhl.c: Removed.
7792 * math/k_casinh.c: Removed.
7793 * math/k_casinhf.c: Removed.
7794 * math/k_casinhl.c: Removed.
7795
7796 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
7797 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
7798 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
7799 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
7800
7801 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
7802 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
7803 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
7804 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
7805 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
7806 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
7807 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
7808 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
7809
7810 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
7811 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
7812 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
7813 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
7814
7815 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
7816 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
7817 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
7818 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
7819
7820 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7821
7822 * s_casin_template.c: Copy of s_casin.c.
7823 * s_casinh_template.c: Copy of s_casinh.c.
7824 * s_csin_template.c: Copy of s_csin.c.
7825 * s_csinh_template.c: Copy of s_csinh.c.
7826 * k_casinh_template.c: Copy of k_casinh.c.
7827
7828 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
7829
7830 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
7831
7832 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7833
7834 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
7835 (mul_split) Remove, rename as mul_splitl, remove
7836 redundant float.h include, and include via mul_splitl.h
7837
7838 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7839 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7840 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7841 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7842 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7843
7844 * math/mul_splitl.h: New file.
7845
7846 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
7847 Move into mul_split.h, and remove redundant float.h include.
7848
7849 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7850 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7851 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7852 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
7853
7854 * math/mul_split.h: New file.
7855
7856 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7857
7858 * math/Makefile (libm-gen-calls): Move
7859 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
7860 (libm-calls): Remove above.
7861
7862 * math/s_cacos_template.c: Update using type-generic macros.
7863 * math/s_cacosh_template.c: Likewise.
7864 * math/s_ccos_template.c: Likewise.
7865 * math/s_ccosh_template.c: Likewise.
7866
7867 * math/s_cacosf.c: Removed.
7868 * math/s_cacos.c: Removed.
7869 * math/s_cacosl.c: Removed.
7870 * math/s_cacoshf.c: Removed.
7871 * math/s_cacosh.c: Removed.
7872 * math/s_cacoshl.c: Removed.
7873 * math/s_ccosf.c: Removed.
7874 * math/s_ccos.c: Removed.
7875 * math/s_ccosl.c: Removed.
7876 * math/s_ccoshf.c: Removed.
7877 * math/s_ccosh.c: Removed.
7878 * math/s_ccoshl.c: Removed.
7879
7880 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
7881 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
7882 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
7883 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
7884 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
7885 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
7886
7887 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
7888 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
7889 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
7890 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
7891
7892 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
7893 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
7894 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
7895 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
7896
7897 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7898
7899 * s_cacos_template.c: Copy of s_cacos.c.
7900 * s_cacosh_template.c: Copy of s_cacosh.c.
7901 * s_ccos_template.c: Copy of s_ccos.c.
7902 * s_ccosh_template.c: Copy of s_ccosh.c.
7903
7904 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7905
7906 * stdlib/tst-strtod-round-skeleton.c:
7907 Refactored from tst-strtod-round.c.
7908
7909 (L_): New macro to apply literal modifier.
7910 (FNPFX): New macro to select str or wcs prefix.
7911 (CHAR): New macro to choose wchar_t or char.
7912 (STRM): New macro to choose printf for tested character type.
7913
7914 (STRTO): New macro to choose appropriate string -> real function.
7915 (FNPFXS): Stringitized version of FNPFX.
7916 (STR): Support for above macro.
7917 (STRX): Likewise.
7918
7919 (TEST): Update with above macros.
7920 (test): Likewise.
7921 (GEN_ONE_TEST): Likewise.
7922 (test_in_one_mode): Likewise.
7923
7924 * stdlib/tst-strtod-round.c: New file.
7925 * wcsmbs/tst-wcstod-round.c: New file.
7926
7927 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
7928 (tst-wcstod-round): Add libm depencency for fesetround.
7929
7930 2016-08-19 Zack Weinberg <zackw@panix.com>
7931
7932 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
7933
7934 2016-08-18 Torvald Riegel <triegel@redhat.com>
7935
7936 [BZ #20477]
7937 * resolv/res_hconf.c (do_init): Use atomic access.
7938 * resolv/res_hconf.h: Add comments.
7939 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
7940 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
7941 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7942
7943 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
7944
7945 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7946 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
7947 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7948 Likewise.
7949
7950 2016-08-18 Florian Weimer <fweimer@redhat.com>
7951
7952 [BZ #16907]
7953 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
7954 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
7955 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
7956 (__attribute__): Remove definition.
7957
7958 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7959
7960 * sysdeps/ieee754/ldbl-128/e_asinl.c:
7961 Remove unused sqrtl declaration.
7962
7963 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7964
7965 * math/Makefile: (gen-libm-templates.stmp): New rule.
7966 (libm-calls): Move carg conj cimag and cabs into ...
7967 (gen-libm-calls): New variable.
7968 (generated): Inform Make objects from gen-libm-calls
7969 may be generated.
7970
7971 * sysdeps/generic/math-type-macros.h: New file.
7972 * sysdeps/generic/math-type-macros-float.h: Likewise.
7973 * sysdeps/generic/math-type-macros-double.h: Likewise.
7974 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7975 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
7976 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
7977
7978 * math/cabs.c: Refactor into
7979 * math/cabs_template.c: new file.
7980 * math/cabsf.c: Removed.
7981 * math/cabsl.c: Removed.
7982 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
7983 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
7984
7985 * math/carg.c: Refactor into
7986 * math/carg_template.c: new file.
7987 * math/cargf.c: Removed.
7988 * math/cargl.c: Removed.
7989 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
7990 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
7991
7992 * math/conj.c: Refactor into
7993 * math/conj_template.c: new file.
7994 * math/conjf.c: Removed.
7995 * math/conjl.c: Removed.
7996 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
7997 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
7998
7999 * math/cimag.c: Refactor into
8000 * math/cimag_template.c: new file.
8001 * math/cimagf.c: Removed.
8002 * math/cimagl.c: Removed.
8003 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
8004 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
8005
8006 * math/cimag.c: Refactor into
8007 * math/cimag_template.c: new file.
8008 * math/cimagf.c: Removed.
8009 * math/cimagl.c: Removed.
8010 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
8011 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
8012
8013 2016-08-17 Florian Weimer <fweimer@redhat.com>
8014
8015 Reduce time to expected nptl/tst-once5 failure.
8016 * nptl/tst-once5.cc (TIMEOUT): Define.
8017
8018 2016-08-17 Florian Weimer <fweimer@redhat.com>
8019
8020 [BZ #20452]
8021 Avoid additional copies of objects in libc.a in static libraries.
8022 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
8023 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
8024 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
8025 rt-sysdep.
8026 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
8027 Add nptl-sysdep.
8028 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
8029 Add ptw-sysdep.
8030 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
8031 rt-sysdep.
8032 * sysdeps/unix/sysv/linux/alpha/Makefile
8033 (libpthread-shared-only-routines): Add ptw-sysdep,
8034 ptw-sigprocmask, ptw-rt_sigaction.
8035 * sysdeps/unix/sysv/linux/ia64/Makefile
8036 (librt-shared-only-routines): Add rt-sysdep.
8037 * sysdeps/unix/sysv/linux/i386/Makefile
8038 (libpthread-shared-only-routines): Add libc-do-syscall.
8039 * sysdeps/unix/sysv/linux/microblaze/Makefile
8040 (libpthread-shared-only-routines): Add sysdep.
8041 * sysdeps/unix/sysv/linux/powerpc/Makefile
8042 (librt-shared-only-routines): Add rt-sysdep.
8043 (libpthread-shared-only-routines): Add sysdep.
8044 * sysdeps/unix/sysv/linux/s390/Makefile
8045 (librt-shared-only-routines): Add rt-sysdep.
8046 * sysdeps/unix/sysv/linux/sparc/Makefile
8047 (librt-shared-only-routines): Add rt-sysdep.
8048 (libpthread-shared-only-routines): Add sysdep.
8049 * sysdeps/unix/sysv/linux/tile/Makefile
8050 (libpthread-shared-only-routines): Likewise.
8051
8052 2016-08-16 Joseph Myers <joseph@codesourcery.com>
8053
8054 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
8055 Mask implicit bit out of unpacked value.
8056 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
8057 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
8058 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
8059
8060 * sysdeps/sparc/fpu/fesetexcept.c: New file.
8061
8062 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
8063
8064 * sysdeps/s390/fpu/fesetexcept.c: New file.
8065
8066 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
8067 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
8068 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
8069
8070 * sysdeps/mips/fpu/fesetexcept.c: New file.
8071
8072 * sysdeps/m68k/fpu/fesetexcept.c: New file.
8073
8074 * sysdeps/ia64/fpu/fesetexcept.c: New file.
8075
8076 * sysdeps/hppa/fpu/fesetexcept.c: New file.
8077
8078 * sysdeps/arm/fesetexcept.c: New file.
8079
8080 * sysdeps/alpha/fpu/fesetexcept.c: New file.
8081
8082 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
8083
8084 * math/fesetexcept.c: New file.
8085 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
8086 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
8087 * math/fenv.h: Define
8088 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8089 <bits/libc-header-start.h> instead of including <features.h>.
8090 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
8091 declaration.
8092 * manual/arith.texi (fesetexcept): Document function.
8093 * math/Versions (fesetexcept): New libm symbol at version
8094 GLIBC_2.25.
8095 * math/Makefile (libm-support): Add fesetexcept.
8096 (tests): Add test-fesetexcept and test-fesetexcept-traps.
8097 * math/test-fesetexcept.c: New file.
8098 * math/test-fesetexcept-traps.c: Likewise.
8099 * sysdeps/nacl/libm.abilist: Update.
8100 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8101 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8102 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8103 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8104 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8105 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8106 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8107 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8108 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8109 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8110 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8111 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8113 Likewise.
8114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8115 Likewise.
8116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8117 Likewise.
8118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8119 Likewise.
8120 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8121 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8122 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8123 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8124 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8125 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8126 Likewise.
8127 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8128 Likewise.
8129 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8130 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8131 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8132
8133 2016-08-16 Florian Weimer <fweimer@redhat.com>
8134
8135 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
8136 New.
8137 (do_test): Apply default_stack_size_in_mb if not set.
8138 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
8139
8140 2016-08-15 Andreas Schwab <schwab@suse.de>
8141
8142 [BZ #20435]
8143 CVE-2016-6323
8144 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
8145 as .cantunwind.
8146
8147 2016-08-12 Joseph Myers <joseph@codesourcery.com>
8148
8149 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
8150 comment from fraiseexcpt.c.
8151
8152 * math/test-fexcept.c (feraiseexcept_exact): New function.
8153 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
8154 (test_except): Likewise.
8155
8156 2016-08-10 Joseph Myers <joseph@codesourcery.com>
8157
8158 [BZ #20455]
8159 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
8160 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
8161 to be restored.
8162
8163 * math/test-fexcept-traps.c: New file.
8164 * math/test-fexcept.c: Likewise.
8165 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
8166 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
8167 macro.
8168 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
8169 (EXCEPTION_SET_FORCES_TRAP): Likewise.
8170
8171 2016-08-09 Torvald Riegel <triegel@redhat.com>
8172
8173 * include/atomic.h (atomic_fetch_and_relaxed,
8174 atomic_fetch_and_release, atomic_fetch_or_release,
8175 atomic_fetch_xor_release): New.
8176
8177 2016-08-06 Christian Seiler <christian@iwakd.de>
8178
8179 [BZ #20444]
8180 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
8181 MACH_PORT_NULL.
8182
8183 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
8184
8185 * math/s_fdim.c: Avoid alias renamed.
8186 * math/s_fdimf.c: Likewise.
8187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8188 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8189 Add s_fdimf-vis3, s_fdim-vis3.
8190 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
8191 (CFLAGS-s_fdim-vis3.c): Likewise.
8192 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
8193 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
8194
8195 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
8196
8197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8198 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8199 Remove s_fdimf-vis3, s_fdim-vis3.
8200 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
8201 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
8202 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
8203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
8204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
8205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
8206 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
8207 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
8208 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
8209 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
8210
8211 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
8212
8213 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
8214 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
8215 -Wa,-Av9a -mvis.
8216
8217 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8218
8219 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
8220 LIT() to individual constants in simple expressions
8221 after splitting on spaces.
8222 (_apply_lit): Rename replaced version, and use it to
8223 apply to what appears to be a token.
8224
8225 * math/libm-test.inc: Fix many, many issues with
8226 spacing.
8227
8228 2016-08-05 Joseph Myers <joseph@codesourcery.com>
8229
8230 * math/math.h: Move comment about <bits/mathdef.h> definitions
8231 above inclusion of <bits/mathdef.h>. Do not mention
8232 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
8233
8234 2016-08-05 Torvald Riegel <triegel@redhat.com>
8235
8236 * include/atomic.h (atomic_exchange_relaxed): New.
8237
8238 2016-08-04 Joseph Myers <joseph@codesourcery.com>
8239
8240 * math/e_scalb.c: Do not include <fenv.h>.
8241 (invalid_fn): Do calculation resulting in NaN instead of raising
8242 FE_INVALID and returning a NaN explicitly.
8243 * math/e_scalbf.c: Do not include <fenv.h>.
8244 (invalid_fn): Do calculation resulting in NaN instead of raising
8245 FE_INVALID and returning a NaN explicitly.
8246 * math/e_scalbl.c: Do not include <fenv.h>.
8247 (invalid_fn): Do calculation resulting in NaN instead of raising
8248 FE_INVALID and returning a NaN explicitly.
8249
8250 2016-08-04 Carlos O'Donell <carlos@redhat.com>
8251
8252 * po/de.po: Updated from Translation Project.
8253 * po/fi.po: Likewise.
8254 * po/sv.po: Likewise.
8255
8256 2016-08-04 Florian Weimer <fweimer@redhat.com>
8257
8258 [BZ #20452]
8259 Use sysdep.o from libc.a in static libraries.
8260 * sysdeps/unix/sysv/linux/i386/Makefile
8261 (libpthread-shared-only-routines): Add sysdep.
8262 (librt-shared-only-routines): Likewise.
8263
8264 2016-08-03 Joseph Myers <joseph@codesourcery.com>
8265
8266 * math/tgmath.h (nextdown): Define if
8267 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
8268 (nextup): Likewise.
8269
8270 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
8271 macro.
8272 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
8273 Document.
8274 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
8275 Document macro.
8276 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
8277 (exp10f): Likewise.
8278 (exp10l): Likewise.
8279 * math/bits/mathcalls.h (exp10): Declare if
8280 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
8281
8282 * manual/arith.texi (nextup): Fix typo in last change.
8283
8284 2016-08-03 Zack Weinberg <zackw@panix.com>
8285
8286 [BZ #19239]
8287 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
8288 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
8289 define major, minor, and makedev to issue deprecation warnings on use.
8290 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
8291 previously-activated deprecation warnings for these macros and prevent
8292 subsequent inclusions of this header from having any effect.
8293 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
8294 including <sys/sysmacros.h>, and undefine it again afterward.
8295
8296 2016-08-03 Zack Weinberg <zackw@panix.com>
8297
8298 * sysdeps/generic/sys/sysmacros.h: Delete file.
8299 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
8300 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
8301 * bits/sysmacros.h: ... here; this encoding is now the generic
8302 encoding. Now defines only the following macros:
8303 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
8304 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
8305 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
8306
8307 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
8308 bits/sysmacros.h and the above new macros to generate the
8309 public implementations of major, minor, and makedev.
8310 * misc/tst-makedev.c: New test.
8311 * include/sys/sysmacros.h: New wrapper.
8312
8313 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
8314 (routines): Add makedev.
8315 (tests): Add tst-makedev.
8316 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
8317 gnu_dev_makedev.
8318 * posix/Makefile (headers): Remove sys/sysmacros.h.
8319 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
8320
8321 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
8322 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
8323 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
8324 * sysdeps/unix/sysv/linux/alpha/libc.abilist
8325 * sysdeps/unix/sysv/linux/arm/libc.abilist
8326 * sysdeps/unix/sysv/linux/hppa/libc.abilist
8327 * sysdeps/unix/sysv/linux/i386/libc.abilist
8328 * sysdeps/unix/sysv/linux/ia64/libc.abilist
8329 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8330 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
8331 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
8332 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8333 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8334 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8335 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8336 * sysdeps/unix/sysv/linux/nios2/libc.abilist
8337 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8338 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8340 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8341 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
8342 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8343 * sysdeps/unix/sysv/linux/sh/libc.abilist
8344 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8345 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8346 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8348 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
8349 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
8350 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
8351 Add GLIBC_2.25.
8352
8353 * include/features.h (__glibc_clang_prereq): New macro.
8354 * misc/sys/cdefs.h (__glibc_clang_has_extension)
8355 (__attribute_deprecated_msg__): New macros.
8356
8357 2016-08-03 Joseph Myers <joseph@codesourcery.com>
8358
8359 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
8360 macro.
8361 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
8362 * manual/arith.texi (issignaling): Document as ISO from TS
8363 18661-1:2014.
8364 (nextup): Likewise.
8365 (nextupf): Likewise.
8366 (nextupl): Likewise.
8367 (nextdown): Likewise.
8368 (nextdownf): Likewise.
8369 (nextdownl): Likewise.
8370 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
8371 macro.
8372 * math/math.h: Define
8373 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8374 <bits/libc-header-start.h> instead of including <features.h>.
8375 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
8376 [__USE_GNU].
8377 * math/bits/mathcalls.h (nextdown): Declare if
8378 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
8379 (nextup): Likewise.
8380 (__issignaling): Likewise.
8381
8382 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8383
8384 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
8385 check, and remove __glibc_likely hint
8386 from FP_INFINITE check.
8387 * s_csinhf.c (__csinhf): Likewise.
8388
8389 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
8390 hint from FP_INFINITE check.
8391 * s_csinhl.c (__csinhl): Likewise.
8392
8393 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8394
8395 * math/Makefile (libm-calls): Insert F placeholder into
8396 object names. Move w_lgamma_compat* routines into
8397 (libm-compat-calls): New variable.
8398 (libm-compat-calls-ldouble-yes): New variable.
8399 (calls): Insert F placeholder.
8400 (generated): Redefine using new type-foreach macro call.
8401 (routines): Likewise.
8402
8403 (types): New variable to hold a list of symbolic names
8404 for each type supported by the target machine.
8405 (libm-routines): Redefine using new types variable.
8406 (type-foreach): macro to replace fooF with the
8407 appropriately suffixed foo for each types.
8408
8409 (type-ldouble-suffix): New variable.
8410 (type-ldouble-routines): Likewise.
8411 (type-ldouble-yes): Likewise.
8412 (type-double-suffix): Likewise.
8413 (type-double-routines): Likewise.
8414 (type-float-suffix): Likewise.
8415 (type-float-routines): Likewise.
8416
8417 (dbl-only-routines): Remove.
8418 (long-c-yes): Likewise.
8419 (long-m-routines): Likewise.
8420 (long-m-support): Likewise.
8421 (long-m-yes): Likewise.
8422 (test-longdouble-yes): Likewise.
8423
8424 (test-float.o): Simplify by increasing the scope of the
8425 recipe which adds libm-test.stmp to the vector types.
8426 (test-ifloat.o): Likewise.
8427 (test-float-finite.o): Likewise.
8428 (test-double.o): Likewise
8429 (test-idouble.o): Likewise.
8430 (test-double-finite.o): Likewise.
8431 (test-ldouble.o): Likewise
8432 (test-ildoubl.o): Likewise.
8433 (test-ldouble-finite.o): Likewise.
8434
8435 (libm-tests): Redefine type tests using foreach and the
8436 list of types in types.
8437
8438 (CPPFLAGS-test-ildoubl.c): Rename to
8439 (CPPFLAGS-test-ildouble.c): New variable
8440
8441 * math/test-ildoubl.c: Rename to
8442 * math/test-ildouble.c: New file.
8443
8444 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8445
8446 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
8447 Use fabsl instead of fabs.
8448 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
8449 Likewise.
8450 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
8451 Add long double suffix to constant to ensure proper
8452 promotion to long double.
8453
8454 2016-08-03 Tom Tromey <tom@tromey.com>
8455
8456 [BZ #20311]
8457 * nptl_db/Makefile (headers): Add proc_service.h.
8458 * nptl_db/proc_service.h: Add include guard. Use
8459 __BEGIN/__END_DECLS.
8460 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
8461 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
8462 arguments.
8463
8464
8465 2016-08-03 Florian Weimer <fweimer@redhat.com>
8466
8467 [BZ #17730]
8468 Avoid using memalign for TCB allocations.
8469 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
8470 (_dl_allocate_tls_storage): Use malloc and manual alignment.
8471 Avoid alignment gap in the TLS_DTV_AT_TP case.
8472 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
8473 determine the pointer to free.
8474 * nptl/tst-tls3-malloc.c: New test.
8475 * nptl/Makefile (tests): Add it.
8476 (tst-tls3-malloc): Link with libdl, libpthread.
8477 (LDFLAGS-tst-tls3-malloc): Set.
8478 (tst-tls3-malloc.out): Depend on DSO used in test.
8479
8480 2016-08-03 Florian Weimer <fweimer@redhat.com>
8481
8482 [BZ #17730]
8483 Avoid using memalign for TLS allocations.
8484 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
8485 is_static member with to_free member.
8486 (union dtv): Use struct dtv_pointer.
8487 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
8488 dtv_pointer instead of is_static.
8489 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
8490 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
8491 instead of val.
8492 (allocate_dtv_entry): New function.
8493 (allocate_and_init): Return struct dtv_pointer. Call
8494 allocate_dtv_entry instead of __libc_memalign.
8495 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
8496 instead of val.
8497 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
8498 instead of is_static. Adjust call to allocate_and_init.
8499 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
8500 struct dtv_pointer instead of val.
8501
8502 2016-08-03 Florian Weimer <fweimer@redhat.com>
8503
8504 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
8505 (MALLOC_ALIGN_MASK): Move ...
8506 * malloc/malloc-internal.h: ... to here.
8507 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
8508
8509 2016-08-03 Joseph Myers <joseph@codesourcery.com>
8510
8511 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
8512 (UDP_ENCAP_GTP1U): Likewise.
8513
8514 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
8515 (PF_MAX): Update value.
8516 (AF_QIPCRTR): New macro.
8517
8518 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
8519
8520 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
8521 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8522 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8523 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8524 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8525 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8526 s_truncf-vis3, s_trunc-vis3.
8527 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
8528 (CFLAGS-s_ceil-vis3.c): Likewise.
8529 (CFLAGS-s_floorf-vis3.c): Likewise.
8530 (CFLAGS-s_floor-vis3.c): Likewise.
8531 (CFLAGS-s_truncf-vis3.c): Likewise.
8532 (CFLAGS-s_trunc-vis3.c): Likewise.
8533 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
8534 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8535 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
8536 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8537 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
8538 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8539 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
8540 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8541 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
8542 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8543 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
8544 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8545
8546 2016-08-02 David S. Miller <davem@davemloft.net>
8547
8548 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8549 (__nearbyint_vis3): Don't check for sNaN before float register is
8550 loaded with the incoming argument.
8551 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8552 (__nearbyintf_vis3): Likewise.
8553 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
8554 Likewise.
8555 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
8556 Likewise.
8557
8558 * string/test-strncmp.c (do_test_limit): Make sure the test data
8559 stream is aligned as required for the type "CHAR".
8560 (do_test): Likewise.
8561
8562 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
8563
8564 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
8565 by beq instructions jumping to the end of the function.
8566 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
8567 clobber list. Use "i" constraint instead of "X".
8568 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
8569 of "X".
8570
8571 2016-08-02 Joseph Myers <joseph@codesourcery.com>
8572
8573 * bits/libc-header-start.h: New file.
8574 * Makefile (headers): Add bits/libc-header-start.h.
8575 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
8576 (__GLIBC_USE): New macro.
8577 * libio/stdio.h: Define
8578 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8579 <bits/libc-header-start.h> instead of including <features.h>.
8580 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
8581 (open_memstream): Likewise.
8582 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
8583 (__asprintf): Likewise.
8584 (asprintf): Likewise.
8585 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
8586 (getdelim): Likewise.
8587 (getline): Likewise.
8588 * string/string.h: Define
8589 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8590 <bits/libc-header-start.h> instead of including <features.h>.
8591 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
8592 (strndup): Likewise.
8593 * wcsmbs/wchar.h: Define
8594 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8595 <bits/libc-header-start.h> instead of including <features.h>.
8596 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
8597 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
8598
8599 2016-08-02 Florian Weimer <fweimer@redhat.com>
8600
8601 Support linking against compatibility symbols, for use in tests.
8602 * include/libc-symbols.h (symbol_version_reference): New macro.
8603 (symbol_version): Use it.
8604 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
8605 (compat_symbol): Use compat_symbol_reference.
8606 (compat_symbol_1, compat_symbol_2): Remove.
8607 (compat_symbol_reference, compat_symbol_reference_1)
8608 (compat_symbol_reference_2): New macro. Use
8609 symbol_version_reference.
8610
8611 2016-08-02 Florian Weimer <fweimer@redhat.com>
8612
8613 [BZ #19469]
8614 * malloc/Makefile (CPPFLAGS): Compile tests with
8615 -DTEST_NO_MALLOPT.
8616 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
8617
8618 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
8619
8620 [BZ #20033]
8621 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
8622 finite version.
8623 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
8624 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
8625 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
8626 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
8627 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
8628 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
8629 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
8630 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
8631 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
8632 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
8633 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
8634 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
8635 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
8636 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
8637 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
8638 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
8639 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
8640 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
8641 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
8642 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
8643 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
8644 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
8645 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
8646 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
8647 in zero power.
8648
8649 2016-08-02 Florian Weimer <fweimer@redhat.com>
8650
8651 [BZ #20370]
8652 * malloc/arena.c (get_free_list): Update comment. Assert that
8653 arenas on the free list have no attached threads.
8654 (remove_from_free_list): New function.
8655 (reused_arena): Call it.
8656
8657 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
8658
8659 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
8660 when it is a NaN.
8661 [_IEEE_FP_INEXACT] Remove.
8662 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
8663 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
8664 when it is a NaN.
8665 [_IEEE_FP_INEXACT] Remove.
8666 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
8667 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
8668 when it is a NaN.
8669 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
8670 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
8671 when its absolute value is greater than 0x1.0p52.
8672 [_IEEE_FP_INEXACT] Remove.
8673 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
8674 when its absolute value is greater than 0x1.0p23.
8675 [_IEEE_FP_INEXACT] Remove.
8676
8677 2016-08-01 Carlos O'Donell <carlos@redhat.com>
8678
8679 * version.h (RELEASE): Set to "development"
8680 (VERSION): Set to 2.24.90.
8681 * NEWS: Add 2.25 section.
8682
8683 * version.h (RELEASE): Set to "stable"
8684 (VERSION): Set to 2.24.
8685 * include/features.h (__GLIBC_MINOR__): Set to 24.
8686
8687 * NEWS: Add 2.24 fixed bugs.
8688 * po/libc.pot: Regenerate.
8689
8690 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
8691
8692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8693 [$(subdir) = math] (libm-sysdep_routines): Remove.
8694 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8695 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8696 s_truncf-vis3, s_trunc-vis3.
8697 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
8699 file.
8700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
8701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
8702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
8706 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
8707 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8708 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
8709 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
8710 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
8711 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
8712 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
8713 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
8714 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
8715 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8716 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8717 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8718 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
8719 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
8720 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
8721 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
8722 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8723 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8724 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8725 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8726 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8727 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
8728 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8729 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8730 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
8731 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8732 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8733 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
8734 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
8735 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
8736 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
8737 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8738 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8739 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
8740 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
8741 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
8742 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
8743
8744 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
8745
8746 [BZ #20384]
8747 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
8748 test-double-libmvec-sincos-avx-main.o,
8749 test-double-libmvec-sincos-avx2-main.o,
8750 test-double-libmvec-sincos-main.o,
8751 test-float-libmvec-sincosf-avx-main.o,
8752 test-float-libmvec-sincosf-avx2-main.o and
8753 test-float-libmvec-sincosf-main.o.
8754 test-float-libmvec-sincosf-avx512-main.o.
8755 ($(objpfx)test-double-libmvec-sincos): Also link with
8756 $(objpfx)test-double-libmvec-sincos-main.o.
8757 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
8758 $(objpfx)test-double-libmvec-sincos-avx-main.o.
8759 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
8760 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
8761 ($(objpfx)test-float-libmvec-sincosf): Also link with
8762 $(objpfx)test-float-libmvec-sincosf-main.o.
8763 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
8764 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
8765 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
8766 test-double-libmvec-sincos-avx512-main.o and
8767 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
8768 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
8769 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
8770 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
8771 (CFLAGS-test-double-libmvec-sincos.c): Removed.
8772 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
8773 (CFLAGS-test-double-libmvec-sincos-main.c): New.
8774 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
8775 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
8776 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
8777 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
8778 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
8779 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
8780 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
8781 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
8782 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
8783 -DREQUIRE_AVX2.
8784 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
8785 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
8786 -DREQUIRE_AVX512F.
8787 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
8788 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
8789 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8790 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
8791 file.
8792 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
8793 Likewise.
8794 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
8795 Likewise.
8796 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
8797 Likewise.
8798 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
8799 Likewise.
8800 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
8801 Likewise.
8802 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
8803 Likewise.
8804 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
8805 Likewise.
8806
8807 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
8808
8809 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
8810
8811 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
8812
8813 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
8814 and typo in a comment about AT_HWCAP entry.
8815
8816 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8817
8818 * sysdeps/aarch64/libm-test-ulps: Updated.
8819
8820 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8821
8822 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
8823 of r13 as it is not restored in mvcle case.
8824
8825 2016-07-19 Mike Frysinger <vapier@gentoo.org>
8826
8827 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
8828 Rename "ret" to "__ret".
8829 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
8830 inline_syscall5, inline_syscall6): Likewise.
8831
8832 2016-07-19 Will Newton <will.newton@gmail.com>
8833
8834 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
8835 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
8836 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
8837 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
8838 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
8839
8840 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
8841
8842 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
8843 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
8844 -mfpmath=387 with $(rtld-CFLAGS).
8845 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
8846 $(rtld-CFLAGS).
8847
8848 2016-07-18 Ross Burton <ross.burton@intel.com>
8849 Khem Raj <raj.khem@gmail.com>
8850
8851 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
8852 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
8853 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
8854 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
8855 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
8856 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
8857 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
8858 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
8859 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
8860 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
8861 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
8862 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
8863 R_METAG_TLS_DTPOFF): New.
8864
8865 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
8866 Matt Clay <mclay@lycos.com>
8867
8868 [BZ #20357]
8869 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
8870 to call __mpsin/__mpcos and to negate values.
8871 * math/auto-libm-test-in: Add test.
8872 * math/auto-libm-test-out: Regenerate.
8873
8874 2016-07-18 Zack Weinberg <zackw@panix.com>
8875
8876 * grp/Makefile: Don't install the internal header grp-merge.h.
8877
8878 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
8879
8880 * sysdeps/aarch64/libm-test-ulps: Regenerated.
8881
8882 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
8883
8884 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
8885
8886 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8887
8888 [BZ #15368]
8889 * sysdeps/unix/sysv/linux/nptl-signals.h
8890 (__nptl_clear_internal_signals): New function.
8891 (__libc_signal_block_all): Likewise.
8892 (__libc_signal_block_app): Likewise.
8893 (__libc_signal_restore_set): Likewise.
8894 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
8895 implementation.
8896 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
8897 the cached pid/tid value in pthread structure.
8898
8899 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
8900
8901 [BZ #20347]
8902 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8903
8904 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
8905
8906 [BZ #20348]
8907 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
8908 preadv64, pwrite64 and pwritev64.
8909
8910 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
8911
8912 [BZ #20350]
8913 * posix/tst-preadwrite.c: Renamed to ...
8914 * posix/tst-preadwrite-common.c: This.
8915 (PREAD): Removed.
8916 (PWRITE): Likewise.
8917 (STRINGIFY): Likewise.
8918 (STRINGIFY2): Likewise.
8919 (do_prepare): Make it static and remove function arguments.
8920 (do_test): Likewise.
8921 (PREPARE): Updated.
8922 (TEST_FUNCTION): New.
8923 (name): Make it static.
8924 (fd): Likewise.
8925 (do_prepare): Use create_temp_file.
8926 (do_test): Renamed to ...
8927 (do_test_with_offset): This. Make it static and accept offset.
8928 Properly check return value of PWRITE and PREAD. Return bytes
8929 read. Don't close fd nor unlink name.
8930 * posix/tst-preadwrite.c: Rewrite.
8931 * posix/tst-preadwrite64.c: Likewise.
8932
8933 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
8934
8935 [BZ #20309]
8936 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
8937 -mtls-dialect=gnu2 works.
8938 * configure: Regenerated.
8939 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
8940 (tests): Add tst-gnu2-tls1.
8941 (modules-names): Add tst-gnu2-tls1mod.
8942 ($(objpfx)tst-gnu2-tls1): New.
8943 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
8944 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
8945 * elf/tst-gnu2-tls1.c: New file.
8946 * elf/tst-gnu2-tls1mod.c: Likewise.
8947 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
8948 bytes for push in the PLT entry to align the stack.
8949
8950 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
8951
8952 [BZ #20349]
8953 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
8954
8955 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
8956
8957 [BZ #18707]
8958 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
8959 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
8960
8961 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8962
8963 * sysdeps/unix/sysv/linux/sysdep.h
8964 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
8965 guards.
8966 * misc/tst-preadvwritev-common.c: New file.
8967 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
8968 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
8969 a check for files larger than 2GB.
8970
8971 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8972 (__ASSUME_OFF_DIFF_OFF64): Remove define.
8973 * sysdeps/unix/sysv/linux/pread.c
8974 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
8975 __OFF_T_MATCHES_OFF64_T.
8976 * sysdeps/unix/sysv/linux/pread64.c
8977 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
8978 * sysdeps/unix/sysv/linux/preadv.c
8979 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
8980 * sysdeps/unix/sysv/linux/preadv64.c
8981 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
8982 * sysdeps/unix/sysv/linux/pwrite.c
8983 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
8984 * sysdeps/unix/sysv/linux/pwrite64.c
8985 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
8986 * sysdeps/unix/sysv/linux/pwritev.c
8987 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
8988 * sysdeps/unix/sysv/linux/pwritev64.c
8989 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
8990
8991 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
8992
8993 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8994 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
8995
8996 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
8997
8998 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
8999
9000 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
9001
9002 [BZ #20240]
9003 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
9004 (CFLAGS-s_modf-ppc32.c): New variable.
9005 (CFLAGS-s_modff-ppc32.c): Likewise.
9006 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9007 (CFLAGS-s_modf-ppc64.c): Likewise.
9008 (CFLAGS-s_modff-ppc64.c): Likewise.
9009
9010 2016-07-07 Andreas Schwab <schwab@suse.de>
9011
9012 [BZ #20263]
9013 * nptl/tst-robust10.c: New test.
9014 * nptl/Makefile (tests): Add tst-robust10.
9015
9016 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
9017
9018 [BZ #20263]
9019 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
9020
9021 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
9022
9023 * sysdeps/s390/linkmap.h (struct link_map_machine):
9024 Remove member gotplt and add member jmprel.
9025 * sysdeps/s390/s390-32/dl-machine.h
9026 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
9027 instead of gotplt with &got[3].
9028 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
9029 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9030
9031 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
9032
9033 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
9034
9035 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9036
9037 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
9038 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
9039 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
9040 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
9041 * libio/vtables.c (_IO_vtable_check)
9042 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
9043 * libio/libioP.h (IO_set_accept_foreign_vtables)
9044 [!PTR_MANGLE]: Do not call PTR_MANGLE.
9045
9046 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
9047
9048 [BZ #20314]
9049 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
9050 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
9051 $(common-objpfx)cmath.
9052 ($(common-objpfx)cstdlib): New target.
9053 ($(common-objpfx)cmath): Likewise.
9054
9055 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
9056
9057 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
9058
9059 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9060
9061 [BZ #20327]
9062 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
9063 are not part of the string.
9064
9065 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9066
9067 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
9068 * nptl/tst-cancel4-common.h (fifoname): New variable.
9069 (fifofd): Likewise.
9070 (cl_fifo): New function.
9071 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
9072 SIGINT.
9073 (tf_open): Add early cancel test.
9074
9075 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
9076
9077 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
9078
9079 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
9080
9081 * sysdeps/generic/ldsodefs.h
9082 (dl_symbol_visibility_binds_local_p): New inline function.
9083 * elf/dl-addr.c (determine_info): Treat hidden and internal
9084 symbols as local.
9085 * elf/dl-lookup.c (do_lookup_x): Likewise.
9086 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
9087
9088 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
9089
9090 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
9091 invalid exception for a sNaN input.
9092 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9093 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
9094 (__nearbyint_vis3): Likewise
9095 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
9096 (__nearbyintf_vis3): Likewise
9097 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
9098 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9099 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
9100 Likewise.
9101 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
9102 Likewise.
9103
9104 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
9105
9106 [BZ #20139]
9107 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
9108 (HAVE_AVX512DQ_ASM_SUPPORT): This.
9109 * sysdeps/x86_64/configure.ac: Require assembler from binutils
9110 2.24 or above.
9111 (HAVE_AVX512_ASM_SUPPORT): Removed.
9112 (HAVE_AVX512DQ_ASM_SUPPORT): New.
9113 * sysdeps/x86_64/configure: Regenerated.
9114 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
9115 check unconditional.
9116 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
9117 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9118 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9119 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
9120 Likewise.
9121 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
9122 Likewise.
9123 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9124 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9125 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9126 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9127 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
9128 Likewise.
9129 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
9130 Likewise.
9131 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9132 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9133 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
9134 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
9135 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
9136 Likewise.
9137 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
9138 Likewise.
9139 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
9140 Likewise.
9141 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
9142 Likewise.
9143 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
9144 Likewise.
9145 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
9146 Likewise.
9147 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
9148 Likewise.
9149 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
9150 Likewise.
9151 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
9152 Likewise.
9153 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
9154 Likewise.
9155 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
9156 Likewise.
9157
9158 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
9159
9160 [BZ #20024]
9161 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
9162 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
9163 of this implementation of vector function.
9164 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
9165 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
9166 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
9167 Likewise.
9168 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
9169 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
9170 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
9171 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
9172 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
9173 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
9174 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
9175 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
9176 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
9177 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
9178 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
9179 for testing vector sincos with fixed ABI.
9180 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9181 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9182 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9183 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9184 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9185 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9186 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9187 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
9188 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
9189 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
9190 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
9191 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
9192 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
9193 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
9194 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
9195 * sysdeps/x86_64/fpu/Makefile: Added new tests.
9196
9197 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
9198
9199 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
9200
9201 2016-06-30 Anton Blanchard <anton@samba.org>
9202
9203 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9204 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
9205 s_sinf-ppc64.
9206 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
9207 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9208 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9209 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9210
9211 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9212
9213 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9214 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9215 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
9216 e_expf-ppc64.
9217 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
9218 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
9219 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
9220 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
9221
9222 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
9223
9224 [BZ #20277]
9225 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
9226 when SHARED is defined.
9227
9228 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
9229
9230 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
9231 (index_arch_Prefer_ERMS): Likewise.
9232 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
9233 __memcpy_erms for Prefer_ERMS.
9234 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9235 (__memmove_erms): Enabled for libc.a.
9236 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
9237 __memmove_erms or Prefer_ERMS.
9238 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
9239 __mempcpy_erms for Prefer_ERMS.
9240 * sysdeps/x86_64/multiarch/memset.S (memset): Return
9241 __memset_erms for Prefer_ERMS.
9242
9243 2016-06-30 Andreas Schwab <schwab@suse.de>
9244
9245 [BZ #20262]
9246 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
9247 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
9248 of memory.
9249
9250 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
9251
9252 [BZ #18645]
9253 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
9254 (test-extras): Add tst-cleanupx4aux.
9255 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
9256 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
9257 tst-cleanupx4aux.o.
9258 * nptl/tst-cleanupx4aux.c: New file.
9259
9260 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
9261
9262 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
9263
9264 2016-06-29 Andreas Schwab <schwab@suse.de>
9265
9266 [BZ #20260]
9267 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
9268 address before the beginning of the string as an integer to avoid
9269 array-bounds warning.
9270
9271 2016-06-28 Richard Henderson <rth@redhat.com>
9272
9273 * elf/elf.h (EM_BPF): New.
9274 (EM_NUM): Update.
9275 (R_BPF_NONE, R_BPF_MAP_FD): New.
9276
9277 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
9278 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
9279 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
9280 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
9281 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
9282 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
9283 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
9284 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
9285 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
9286 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
9287 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
9288 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
9289 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
9290 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
9291 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
9292 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
9293 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
9294 (EM_NUM): Update.
9295
9296 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
9297
9298 [BZ #18960]
9299 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
9300 Set _nl_current_LC_CATEGORY_used to two instead of one.
9301
9302 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
9303
9304 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
9305 (do_test): ... this.
9306 (TEST_FUNCTION): New macro.
9307 Include test-skeleton.c.
9308 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
9309 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
9310
9311 2016-06-27 Joseph Myers <joseph@codesourcery.com>
9312
9313 [BZ #15479]
9314 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
9315 floating-point environment rather than just control word.
9316 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9317 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
9318 floating-point environment, with "invalid" exceptions merged in,
9319 rather than just control word.
9320 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
9321 * math/libm-test.inc (trunc_test_data): Do not allow spurious
9322 "inexact" exceptions.
9323
9324 [BZ #15479]
9325 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
9326 floating-point environment rather than just control word.
9327 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9328 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
9329 floating-point environment, with "invalid" exceptions merged in,
9330 rather than just control word.
9331 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
9332 * math/libm-test.inc (floor_test_data): Do not allow spurious
9333 "inexact" exceptions.
9334
9335 [BZ #15479]
9336 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
9337 floating-point environment rather than just control word.
9338 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9339 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
9340 floating-point environment, with "invalid" exceptions merged in,
9341 rather than just control word.
9342 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
9343 * math/libm-test.inc (ceil_test_data): Do not allow spurious
9344 "inexact" exceptions.
9345
9346 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
9347
9348 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
9349 __libc_vfork.
9350 (__vfork) [IS_IN (libc)]: Remove alias.
9351 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
9352 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9353 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9354
9355 2016-06-24 Torvald Riegel <triegel@redhat.com>
9356
9357 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
9358 of atomic_compare_and_exchange_bool_rel.
9359 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9360 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
9361 catomic_compare_and_exchange_bool_rel): Remove.
9362 * sysdeps/aarch64/atomic-machine.h
9363 (atomic_compare_and_exchange_bool_rel): Likewise.
9364 * sysdeps/alpha/atomic-machine.h
9365 (atomic_compare_and_exchange_bool_rel): Likewise.
9366 * sysdeps/arm/atomic-machine.h
9367 (atomic_compare_and_exchange_bool_rel): Likewise.
9368 * sysdeps/mips/atomic-machine.h
9369 (atomic_compare_and_exchange_bool_rel): Likewise.
9370 * sysdeps/microblaze/atomic-machine.h
9371 ( __arch_compare_and_exchange_bool_8_rel,
9372 __arch_compare_and_exchange_bool_16_rel): Likewise.
9373 * sysdeps/powerpc/atomic-machine.h
9374 ( __arch_compare_and_exchange_bool_8_rel,
9375 __arch_compare_and_exchange_bool_16_rel): Likewise.
9376 * sysdeps/powerpc/powerpc32/atomic-machine.h
9377 ( __arch_compare_and_exchange_bool_32_rel,
9378 __arch_compare_and_exchange_bool_64_rel): Likewise.
9379 * sysdeps/powerpc/powerpc64/atomic-machine.h
9380 ( __arch_compare_and_exchange_bool_32_rel,
9381 __arch_compare_and_exchange_bool_64_rel): Likewise.
9382 * sysdeps/tile/atomic-machine.h
9383 (atomic_compare_and_exchange_bool_rel): Likewise.
9384
9385 2016-06-23 Joseph Myers <joseph@codesourcery.com>
9386
9387 [BZ #20296]
9388 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
9389 when either argument is a NaN.
9390 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9391 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
9392
9393 * math/libm-test.inc (snan_value_ld): New macro.
9394 (isgreater_test_data): Add sNaN tests.
9395 (isgreaterequal_test_data): Likewise.
9396 (isless_test_data): Likewise.
9397 (islessequal_test_data): Likewise.
9398 (islessgreater_test_data): Likewise.
9399 (isunordered_test_data): Likewise.
9400 (nextafter_test_data): Likewise.
9401 (nexttoward_test_data): Likewise.
9402 (remainder_test_data): Likewise.
9403 (remquo_test_data): Likewise.
9404 (significand_test_data): Likewise.
9405 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
9406
9407 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
9408
9409 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
9410 environment macros are defined.
9411 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
9412
9413 2016-06-23 Florian Weimer <fweimer@redhat.com>
9414
9415 [BZ #20191]
9416 Implement vtable verification in libio.
9417 * Makerules (shlib.lds): Place __libc_IO_vtables section.
9418 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
9419 * debug/vdprintf_chk.c (__vdprintf_chk): Call
9420 _IO_new_file_init_internal instead of _IO_file_init.
9421 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
9422 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
9423 * libio/Makefile (routines): Add vtables.
9424 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
9425 (_IO_init): Remove, not for internal use.
9426 (_IO_init_internal): Declare, internal replacement for _IO_init.
9427 (_IO_file_init): Remove, not for internal use.
9428 (_IO_new_file_init): Remove, not for internal use.
9429 (_IO_new_file_init_internal): Declare, internal replacement for
9430 _IO_new_file_init.
9431 (_IO_old_file_init): Remove, not for internal use.
9432 (_IO_old_file_init_internal): Declare, internal replacement for
9433 _IO_old_file_init.
9434 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
9435 internal use.
9436 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
9437 Declare.
9438 (libio_vtable): New macro.
9439 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
9440 functions.
9441 * libio/fileops.c (_IO_new_file_init_internal): Rename from
9442 _IO_new_file_init.
9443 (_IO_new_file_init): New externally visible wrapper which disables
9444 vtable verification.
9445 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
9446 Define as vtables.
9447 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
9448 (_IO_init): New externally visible wrapper which disables
9449 vtable verification.
9450 * libio/iofdopen.c (_IO_new_fdopen): Call
9451 _IO_new_file_init_internal instead of _IO_file_init. Adjust
9452 comment.
9453 * libio/iofopen.c (__fopen_internal): Call
9454 _IO_new_file_init_internal instead of _IO_file_init.
9455 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
9456 Define as vtables.
9457 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
9458 _IO_new_file_init_internal instead of _IO_file_init.
9459 * libio/iopopen.c (_IO_new_popen): Likewise.
9460 (_IO_proc_jumps): Define as vtable.
9461 * libio/iovdprintf.c (_IO_vdprintf): Call
9462 _IO_new_file_init_internal instead of _IO_file_init.
9463 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
9464 (__open_memstream): Call _IO_init_internal instead of _IO_init.
9465 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
9466 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
9467 _IO_old_file_init.
9468 (_IO_old_file_init): New externally visible wrapper which disables
9469 vtable verification.
9470 (_IO_old_file_jumps): Define as vtable.
9471 * libio/oldiofdopen.c (_IO_old_fdopen): Call
9472 _IO_old_file_init_internal instead of _IO_old_file_init.
9473 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9474 * libio/oldiopopen.c (_IO_old_popen): Likewise.
9475 (_IO_old_proc_jumps): Define as vtable.
9476 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
9477 Define as vtables.
9478 * libio/vtables.c: New file.
9479 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
9480 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
9481 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
9482 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
9483 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
9484 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
9485 instead of _IO_init.
9486
9487 2016-06-23 Florian Weimer <fweimer@redhat.com>
9488
9489 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
9490
9491 2016-06-23 Florian Weimer <fweimer@redhat.com>
9492
9493 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
9494 potentially unused.
9495
9496 2016-06-22 Florian Weimer <fweimer@redhat.com>
9497
9498 * test-skeleton.c (write_message): New function.
9499 * malloc/tst-mallocfork2.c (write_message): Remove.
9500 * debug/tst-longjmp_chk2.c (write_indented): New function.
9501 (write_message): Remove.
9502 (stackoverflow_handler): Call write_indented.
9503
9504 2016-06-22 Joseph Myers <joseph@codesourcery.com>
9505
9506 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
9507 "inexact" exceptions after fnstenv.
9508 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9509 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9510 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9511
9512 2015-06-22 Zack Weinberg <zackw@panix.com>
9513
9514 * sysdeps/generic/bits/hwcap.h: Moved to ...
9515 * bits/hwcap.h: Here.
9516
9517 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
9518
9519 * sysdeps/aarch64/memcpy.S (memcpy):
9520 Further tuning for performance.
9521
9522 2016-06-21 Florian Weimer <fweimer@redhat.com>
9523
9524 [BZ #20284]
9525 * malloc/arena.c (reused_arena): Do not return NULL if we start
9526 out with a non-corrupted arena.
9527
9528 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9529
9530 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
9531 * misc/tst-preadvwritev.c: New file.
9532 * misc/tst-preadvwritev64.c: Likewise.
9533 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
9534 usage.
9535 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
9536 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
9537 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
9538 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
9539
9540 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
9541
9542 [BZ #19654]
9543 * sysdeps/x86_64/fpu/Makefile: Added new tests.
9544 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
9545 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
9546 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
9547 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
9548 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
9549 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
9550 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
9551 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
9552 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
9553 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
9554 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
9555 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
9556 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
9557 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
9558 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
9559 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
9560 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
9561 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
9562 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
9563 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
9564 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
9565 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
9566 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
9567 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
9568 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
9569
9570 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
9571
9572 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
9573 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
9574
9575 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
9576
9577 * sysdeps/aarch64/memcpy.S (memcpy):
9578 Rewrite of optimized memcpy and memmove.
9579 * sysdeps/aarch64/memmove.S (memmove): Remove
9580 memmove code (merged into memcpy.S).
9581
9582 2016-06-20 Florian Weimer <fweimer@redhat.com>
9583
9584 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
9585 * sysdeps/generic/dl-dtv.h: New file.
9586 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9587 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
9588 (dtv_t): Remove.
9589 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9590 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
9591 (dtv_t): Remove.
9592 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9593 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
9594 (dtv_t): Remove.
9595 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9596 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
9597 (dtv_t): Remove.
9598 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9599 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
9600 (dtv_t): Remove.
9601 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9602 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
9603 (dtv_t): Remove.
9604 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9605 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
9606 (dtv_t): Remove.
9607 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
9608 (dtv_t): Remove.
9609 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9610 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
9611 (dtv_t): Remove.
9612 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9613 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
9614 (dtv_t): Remove.
9615 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9616 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
9617 (dtv_t): Remove.
9618 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9619 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
9620 (dtv_t): Remove.
9621 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9622 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
9623 (dtv_t): Remove.
9624 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9625 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
9626 (dtv_t): Remove.
9627 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9628 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
9629 (dtv_t): Remove.
9630 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9631 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
9632 (dtv_t): Remove.
9633
9634 2016-06-20 Florian Weimer <fweimer@redhat.com>
9635
9636 Revert symbol poisoning of __malloc_initialize_hook.
9637 * include/stdc-predef.h (__malloc_initialize_hook): Remove
9638 poisoning.
9639 * malloc/Makefile: Remove un-poisoning.
9640 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
9641 instead of old__malloc_initialize_hook.
9642 * malloc/malloc-hooks.h: Likewise.
9643 * malloc/malloc.c: Likewise.
9644 * malloc/mcheck-init.c: Likewise.
9645
9646 2016-06-19 Carlos O'Donell <carlos@redhat.com>
9647
9648 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
9649
9650 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
9651
9652 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
9653 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
9654 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9655 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9656
9657 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9658
9659 * NEWS: Mention addition of nextup and nextdown.
9660 * manual/arith.texi: Document nextup and nextdown.
9661 * manual/libm-err-tab.pl: Add nextup and nextdown.
9662 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
9663 * math/Versions (libm): Add GLIBC_2.24.
9664 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
9665 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9666 Add new test.
9667 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
9668 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
9669 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
9670 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
9671 (nextup_test_data): Likewise.
9672 (nextdown_test_data): Likewise.
9673 * math/s_nextdown.c: New file.
9674 * math/s_nextdownf.c: Likewise.
9675 * math/s_nextdownl.c: Likewise.
9676 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
9677 F(nextup): New function.
9678 F(nextdown): Likewise.
9679 * math/tgmath.h: Add nextup and nextdown.
9680 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
9681 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
9682 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9683 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
9684 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
9685 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
9686 Add nextup and nextdown.
9687 (CFLAGS-nldbl-nextup.c): New variable.
9688 (CFLAGS-nldbl-nextdown.c): Likewise.
9689 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
9690 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
9691 * sysdeps/nacl/libm.abilist: Update.
9692 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9693 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9694 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9695 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9696 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9697 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9698 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9699 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9700 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9701 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9702 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9703 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9704 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9706 Likewise.
9707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9708 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9709 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9710 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9711 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9712 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9713 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9714 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
9715 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
9716 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9717 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9718 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
9719 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9720
9721 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9722
9723 * manual/pattern.texi: Fix typos & grammar errors.
9724
9725 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9726
9727 * manual/search.texi: Fix typos & grammar errors.
9728
9729 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9730
9731 * manual/message.texi: Fix typos & grammar errors.
9732
9733 2016-06-16 Mike Frysinger <vapier@gentoo.org>
9734
9735 * manual/contrib.texi: Fix spelling typos.
9736 * manual/crypt.texi: Likewise.
9737 * manual/filesys.texi: Likewise.
9738 * manual/locale.texi: Likewise.
9739 * manual/message.texi: Likewise.
9740 * manual/nss.texi: Likewise.
9741 * manual/string.texi: Likewise.
9742
9743 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9744
9745 * manual/locale.texi: Fix typos & grammar errors.
9746
9747 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9748
9749 * manual/charset.texi: Fix typos & grammar errors.
9750
9751 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9752
9753 * manual/string.texi: Fix typos.
9754
9755 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9756
9757 * manual/ctype.texi: Fix typos.
9758
9759 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9760
9761 * manual/memory.texi: Fix various typos & grammar errors.
9762
9763 2016-06-14 Joseph Myers <joseph@codesourcery.com>
9764
9765 [BZ #20255]
9766 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
9767 * math/libm-test.inc (fdim_test_data): Add another test.
9768
9769 [BZ #6796]
9770 [BZ #20255]
9771 [BZ #20256]
9772 * math/s_fdim.c: Include <math_private.h>.
9773 (__fdim): Use math_narrow_eval on result.
9774 * math/s_fdimf.c: Include <math_private.h>.
9775 (__fdimf): Use math_narrow_eval on result.
9776 * sysdeps/i386/fpu/s_fdim.S: Remove file.
9777 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
9778 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
9779 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
9780 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
9781 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
9782 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
9783 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
9784 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
9785 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
9786 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
9787 * math/libm-test.inc (fdim_test_data): Expect errno setting on
9788 overflow. Add sNaN tests.
9789
9790 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
9791 fpclassify.
9792 * math/s_fdimf.c (__fdimf): Likewise.
9793 * math/s_fdiml.c (__fdiml): Likewise.
9794
9795 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9796
9797 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9798 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
9799 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9800 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9801 ifunc'ed strcasecmp/strncasecmp.
9802 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
9803 [EALIGN]: Removed.
9804 [END]: Likewise.
9805 [__strcasecmp]: Define instead of the above to control symbol name.
9806 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
9807 for __strcasecmp_power8.
9808 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
9809 for __strncasecmp_power8.
9810 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
9811 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
9812 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
9813 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
9814 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
9815 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
9816
9817 2016-06-13 Joseph Myers <joseph@codesourcery.com>
9818
9819 [BZ #20252]
9820 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
9821 arguments when second argument is a NaN.
9822 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
9823 qNaN tests.
9824
9825 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
9826 (conj_test_data): Likewise.
9827 (copysign_test_data): Likewise.
9828 (creal_test_data): Likewise.
9829 (fma_test_data): Likewise.
9830 (fmod_test_data): Likewise.
9831
9832 [BZ #20250]
9833 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
9834 itself.
9835 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
9836 zero input to itself.
9837 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
9838 Likewise.
9839 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
9840 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
9841 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9842 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
9843 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
9844
9845 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9846
9847 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
9848 * nptl/tst-cancel4-common.c: New file.
9849 * nptl/tst-cancel4-common.h: Likewise.
9850 * nptl/tst-cancel4.c: Move common definitions to
9851 tst-cancel4-common.{c,h} file.
9852 * nptl/tst-cancel4_1.c: New test.
9853 * nptl/tst-cancel4_2.c: New test.
9854
9855 2016-06-13 Florian Weimer <fweimer@redhat.com>
9856
9857 [BZ #20248]
9858 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
9859 (write_message): New function.
9860 (stackoverflow_handler): Call it instead of printf, to avoid
9861 excessive stack usage by printf.
9862 (do_test): Restore SIGSEGV, SIGBUS default handlers.
9863
9864 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9865
9866 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
9867 (prio_inherit_missing): Remove define.
9868 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9869 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9870 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
9871 Likewise.
9872 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9873 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9874 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9875 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9876 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9877 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9878
9879 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9880
9881 [BZ #19670]
9882 [BZ #19672]
9883
9884 * io/test-lfs.c (do_prepare): Use xmalloc.
9885 * io/tst-fcntl.c (do_prepare): Likewise.
9886 * libio/tst-fopenloc.c (do_bz17916): Likewise.
9887 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
9888 * login/tst-utmp.c (do_prepare): Likewise.
9889 * posix/tst-exec.c (do_prepare): Likewise.
9890 * posix/tst-pathconf.c (prepare): Likewise.
9891 * posix/tst-spawn.c (do_prepare): Likewise.
9892 * posix/tst-truncate.c (do_prepare): Likewise.
9893 * rt/tst-aio.c (do_prepare): Likewise.
9894 * rt/tst-aio64.c (do_prepare): Likewise.
9895
9896 2016-06-11 Florian Weimer <fweimer@redhat.com>
9897
9898 [BZ #20237]
9899 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
9900 (get*ent): Set entidx to NULL during initialization. If entidx is
9901 NULL, start iteration from the beginning.
9902
9903 2016-06-11 Florian Weimer <fweimer@redhat.com>
9904
9905 * malloc/malloc.c (musable): Return correct size for dumped fake
9906 mmapped chunk.
9907
9908 2016-06-11 Florian Weimer <fweimer@redhat.com>
9909
9910 [BZ #20222]
9911 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
9912 (_IO_cookie_write): Likewise.
9913 (_IO_cookie_seek): Likewise.
9914 (_IO_cookie_close): Likewise.
9915 (_IO_old_cookie_seek): Likewise.
9916 (set_callbacks): New function.
9917 (_IO_cookie_init): Call set_callbacks to copy callbacks.
9918
9919 2016-06-11 Marko Myllynen <myllynen@redhat.com>
9920
9921 * locale/programs/localedef.c (oldstyle_tables): Remove.
9922 * locale/programs/localedef.h (oldstyle_tables): Likewise.
9923
9924 2016-06-10 Joseph Myers <joseph@codesourcery.com>
9925
9926 [BZ #20240]
9927 * math/Makefile (CFLAGS-s_modf.c): New variable.
9928 (CFLAGS-s_modff.c): Likewise.
9929 (CFLAGS-s_modfl.c): Likewise.
9930 * math/libm-test.inc (modf_test_data): Add sNaN tests.
9931
9932 2016-06-09 Carlos O'Donell <carlos@redhat.com>
9933
9934 [BZ #20215]
9935 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
9936 [!__GNUC_PREREQ (3,2)]: Likewise.
9937
9938 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
9939
9940 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
9941 (msghdr.msg_controllen): Likewise.
9942 (cmsghdr.cmsg_len): Likewise.
9943 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
9944 ptw-oldsendmsg.
9945 (CFLAGS-oldrecvmsg.c): Remove rule.
9946 (CFLAGS-oldsendmsg.c): Likewise.
9947 (CFLAGS-recvmsg.c): Add rule.
9948 (CFLAGS-sendmsg.c): Likewise.
9949 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
9950 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
9951 (CFLAGS-recvmsg.c): Remove rule.
9952 (CFLAGS-sendmsg.c): Likewise.
9953 (CFLAGS-oldrecvmsg.c): Likewise.
9954 (CFLAGS-oldsendmsg.c): Likewise.
9955 (CFLAGS-recvmmsg.c): Likewise.
9956 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
9957 to kernel defined interfaces.
9958 (msghdr.msg_controllen): Likewise.
9959 (cmsghdr.cmsg_len): Likewise.
9960 (msghdr.__glibc_reserved1): Remove member.
9961 (msghdr.__glibc_reserved2): Likewise.
9962 (cmsghdr.__glibc_reserved1): Likewise.
9963 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
9964 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
9965 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9966 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9967 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
9968 version.
9969 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
9970 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
9971 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
9972 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
9973 Remove recvmsg and sendmsg.
9974 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
9975 Likewise.
9976 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9977 Likewise.
9978 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9979 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9980 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9981 Likewise.
9982 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9983 Likewise.
9984 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
9985 [libc] (GLIBC_2.24): Likewise.
9986 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9987 Likewise.
9988 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9989 Likewise.
9990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9991 [libc] (GLIBC_2.24): Likewise.
9992 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9993 Likewise.
9994 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9995 Likewise.
9996 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9997 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9998 Likewise.
9999 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
10000 Likewise.
10001 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
10002 Likewise.
10003 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
10004 Likewise.
10005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
10006 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
10007 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
10008 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
10009 version for {recv,send,recm,sendm}msg.
10010 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10011 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10012 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10013 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10014 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10015 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10016 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10017 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10018 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10019 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10020 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10021 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10022 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10023 Likewise.
10024 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10025 Likewise.
10026 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10027 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10028 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10029 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10030 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10031 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10032 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10033 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10034 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10035 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10036 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10037 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10038 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10039
10040 2016-06-10 Florian Weimer <fweimer@redhat.com>
10041
10042 [BZ #19564]
10043 Remove __malloc_initialize_hook from the API.
10044 * malloc/malloc.h (__malloc_initialize_hook): Remove.
10045 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
10046 #pragma GCC poison.
10047 * malloc/malloc-hooks.h: New file.
10048 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
10049 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
10050 (old__malloc_initialize_hook): Rename from
10051 __malloc_initialize_hook to evade poisoning. Turn into compat
10052 symbol.
10053 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
10054 __malloc_initialize_hook.
10055 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
10056 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
10057 * manual/memory.texi (Hooks for Malloc): Remove
10058 __malloc_initialize_hook. Adjust hook example.
10059
10060 2016-06-09 Joseph Myers <joseph@codesourcery.com>
10061
10062 [BZ #20235]
10063 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
10064 itself.
10065 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10066 * math/libm-test.inc (log2_test_data): Add sNaN tests.
10067
10068 [BZ #20234]
10069 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
10070 infinity or NaN input to itself.
10071
10072 [BZ #20233]
10073 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
10074 to itself.
10075
10076 [BZ #20232]
10077 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
10078 itself.
10079
10080 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
10081
10082 * sysdeps/x86_64/start.S (_start): Always indirect branch to
10083 __libc_start_main via GOT.
10084
10085 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
10086
10087 * sysdeps/x86_64/memcopy.h: New file.
10088 * sysdeps/x86_64/wordcopy.c: Likewise.
10089
10090 2016-06-09 Florian Weimer <fweimer@redhat.com>
10091
10092 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
10093 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
10094 <cstdlib>.
10095 (optimization_barrier): New.
10096 (do_test): Use it. Call quick_exit in the global namespace.
10097 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
10098 instead of <cstdlib>, <thread>.
10099 (optimization_barrier): New.
10100 (non_main_thread): Adjust declaration. Call optimization_barrier.
10101 Call quick_exit in the global namespace.
10102 (do_test): Call optimization_barrier. Use pthread_create,
10103 pthread_join instead of std::thread.
10104
10105 2016-06-09 Andreas Schwab <schwab@suse.de>
10106
10107 [BZ #19755]
10108 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
10109 new entries in auto-propagate mode.
10110 * nscd/grpcache.c (cache_addgr): Likewise.
10111
10112 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
10113
10114 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
10115 New functions.
10116 (add_temp_file): Use them.
10117
10118 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
10119
10120 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
10121
10122 2016-06-08 Joseph Myers <joseph@codesourcery.com>
10123
10124 [BZ #20229]
10125 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
10126 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
10127 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
10128
10129 [BZ #20228]
10130 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
10131 itself.
10132 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10133 * math/libm-test.inc (log10_test_data): Add sNaN tests.
10134
10135 [BZ #20227]
10136 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
10137 itself.
10138 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10139 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10140 * math/libm-test.inc (log_test_data): Add sNaN tests.
10141
10142 [BZ #20226]
10143 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
10144 itself.
10145 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10146 * math/libm-test.inc (exp_test_data): Add sNaN tests.
10147 (exp10_test_data): Likewise.
10148 (expm1_test_data): Likewise.
10149
10150 [BZ #20225]
10151 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
10152 itself.
10153 * math/s_ldexpf.c (__ldexpf): Likewise.
10154 * math/s_ldexpl.c (__ldexpl): Likewise.
10155 * math/w_scalbln.c (__w_scalbln): Likewise.
10156 * math/w_scalblnf.c (__w_scalblnf): Likewise.
10157 * math/w_scalblnl.c (__w_scalblnl): Likewise.
10158 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
10159 (scalbln_test_data): Likewise.
10160
10161 [BZ #20224]
10162 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
10163 argument to itself.
10164 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
10165
10166 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
10167
10168 [BZ #19776]
10169 * sysdeps/x86_64/memcpy.S: Make it dummy.
10170 * sysdeps/x86_64/mempcpy.S: Likewise.
10171 * sysdeps/x86_64/memmove.S: New file.
10172 * sysdeps/x86_64/memmove_chk.S: Likewise.
10173 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
10174 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
10175 * sysdeps/x86_64/memmove.c: Removed.
10176 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10177 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10178 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
10179 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
10180 Likewise.
10181 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10182 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10183 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10184 memcpy-sse2-unaligned, memmove-avx-unaligned,
10185 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
10186 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10187 (__libc_ifunc_impl_list): Replace
10188 __memmove_chk_avx512_unaligned_2 with
10189 __memmove_chk_avx512_unaligned. Remove
10190 __memmove_chk_avx_unaligned_2. Replace
10191 __memmove_chk_sse2_unaligned_2 with
10192 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
10193 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
10194 with __memmove_avx512_unaligned. Replace
10195 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
10196 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
10197 with __memcpy_chk_avx512_unaligned. Remove
10198 __memcpy_chk_avx_unaligned_2. Replace
10199 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
10200 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
10201 Replace __memcpy_avx512_unaligned_2 with
10202 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
10203 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
10204 with __mempcpy_chk_avx512_unaligned. Remove
10205 __mempcpy_chk_avx_unaligned_2. Replace
10206 __mempcpy_chk_sse2_unaligned_2 with
10207 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
10208 Replace __mempcpy_avx512_unaligned_2 with
10209 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
10210 Replace __mempcpy_sse2_unaligned_2 with
10211 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
10212 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
10213 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
10214 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
10215 if processor has ERMS. Default to __memcpy_sse2_unaligned.
10216 (ENTRY): Removed.
10217 (END): Likewise.
10218 (ENTRY_CHK): Likewise.
10219 (libc_hidden_builtin_def): Likewise.
10220 Don't include ../memcpy.S.
10221 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
10222 __memcpy_chk_avx512_unaligned_erms and
10223 __memcpy_chk_avx512_unaligned. Use
10224 __memcpy_chk_avx_unaligned_erms and
10225 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
10226 Default to __memcpy_chk_sse2_unaligned.
10227 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10228 Change function suffix from unaligned_2 to unaligned.
10229 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
10230 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
10231 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
10232 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
10233 (ENTRY): Removed.
10234 (END): Likewise.
10235 (ENTRY_CHK): Likewise.
10236 (libc_hidden_builtin_def): Likewise.
10237 Don't include ../mempcpy.S.
10238 (mempcpy): New. Add a weak alias.
10239 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
10240 __mempcpy_chk_avx512_unaligned_erms and
10241 __mempcpy_chk_avx512_unaligned. Use
10242 __mempcpy_chk_avx_unaligned_erms and
10243 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
10244 Default to __mempcpy_chk_sse2_unaligned.
10245
10246 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
10247
10248 [BZ #19881]
10249 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
10250 into ...
10251 * sysdeps/x86_64/memset.S: This.
10252 (__bzero): Removed.
10253 (__memset_tail): Likewise.
10254 (__memset_chk): Likewise.
10255 (memset): Likewise.
10256 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
10257 defined.
10258 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
10259 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
10260 (__memset_zero_constant_len_parameter): Check SHARED instead of
10261 PIC.
10262 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10263 memset-avx2 and memset-sse2-unaligned-erms.
10264 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10265 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
10266 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
10267 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10268 (__bzero): Enabled.
10269 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
10270 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
10271 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
10272 or __memset_avx2_unaligned_erms if processor has ERMS. Support
10273 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
10274 (memset): Removed.
10275 (__memset_chk): Likewise.
10276 (MEMSET_SYMBOL): New.
10277 (libc_hidden_builtin_def): Replace __memset_sse2 with
10278 __memset_sse2_unaligned.
10279 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
10280 __memset_chk_sse2 and __memset_chk_avx2 with
10281 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
10282 Use __memset_chk_sse2_unaligned_erms or
10283 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
10284 __memset_chk_avx512_unaligned_erms and
10285 __memset_chk_avx512_unaligned.
10286
10287 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10288
10289 * math/gen-auto-libm-test.c (fp_format_desc): remove
10290 suffix member.
10291 (output_generic_value): Remove usage of suffix member,
10292 and the resulting unuse of the fp_format argument.
10293 (output_for_one_input_case): Remove unused fp_format
10294 parameter.
10295
10296 * math/auto-libm-test-out: Regenerate.
10297
10298 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
10299 usage with TEST_COND_ibm128.
10300 (TEST_COND_flt_32): Remove.
10301 (TEST_COND_dbl_64): Remove.
10302 (TEST_COND_ldbl_96_intel): Remove.
10303 (TEST_COND_ldbl_96_m68k): Remove.
10304 (TEST_COND_ldbl_128): Remove.
10305
10306 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10307
10308 * auto-libm-test-in:
10309 Replace flt-32 usage with binary32.
10310 Replace dbl-64 usage with binary64.
10311 Replace ldbl-intel-96 usage with intel96.
10312 Replace ldbl-m68k-96 usage with m68k96.
10313 Replace ldbl-128ibm usage with ibm128.
10314 Replace ldbl-128 usage with binary128.
10315
10316 * auto-libm-test-out: Regenerate.
10317
10318 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10319
10320 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
10321 (parse_ulps): Dynamically generate type name matching
10322 string from all_floats.
10323 (get_ulps): Generate the ulps as an array instead.
10324 (output_ulps): Dynamically compose the type based
10325 on the number of supported formats, and print
10326 the indices as type specific helper macros.
10327
10328 * math/libm-test.inc: Remove comment about CHOOSE.
10329 (ulp_data): Generate the type in libm-test-ulps.h.
10330 (ULP_IDX): New macro.
10331 (find_ulps): Update usage of max_ulp.
10332
10333 * math/test-double-vlen2.h (CHOOSE): Remove.
10334 * math/test-double-vlen4.h (CHOOSE): Likewise.
10335 * math/test-double-vlen8.h (CHOOSE): Likewise.
10336 * math/test-float.c (CHOOSE): Likewise.
10337 * math/test-float-finite.c (CHOOSE): Likewise.
10338 * math/test-double.c (CHOOSE): Likewise.
10339 * math/test-double-finite.c (CHOOSE): Likewise.
10340 * math/test-idouble.c (CHOOSE): Likewise.
10341 * math/test-ifloat.c (CHOOSE): Likewise.
10342 * math/test-ildoubl.c (CHOOSE): Likewise.
10343 * math/test-ldouble-finite.c (CHOOSE): Likewise.
10344 * math/test-ldouble.c (CHOOSE): Likewise.
10345
10346 * math/test-float.h (TEST_FLOAT): Remove.
10347 * math/test-double.h (TEST_DOUBLE): Likewise.
10348 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
10349
10350 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10351
10352 * math/gen-libm-test.pl: (apply_lit): New subroutine.
10353 (parse_args): Strip C suffix from floating point literals
10354 typed with 'f' and wrap them with LIT().
10355
10356 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
10357 (test_ff_f_data_nexttoward): Rename to
10358 (test_fj_f_data): New struct.
10359 (nexttoward_test_data): Relabel tests as
10360 TEST_fj_f instead of TEST_ff_f.
10361
10362 2016-06-08 Florian Weimer <fweimer@redhat.com>
10363
10364 Emacs bug 23726.
10365 * malloc/malloc.c (dumped_main_arena_start): Update comment.
10366 (__libc_realloc): Correct size computation for dumped fake mmapped
10367 chunks.
10368
10369 2016-06-07 Joseph Myers <joseph@codesourcery.com>
10370
10371 [BZ #20219]
10372 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
10373 to itself.
10374 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
10375
10376 [BZ #20218]
10377 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
10378 to itself.
10379 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
10380
10381 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
10382
10383 [BZ #20195]
10384 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
10385 check to ...
10386 (init_cpu_features): Here.
10387
10388 2016-06-07 Carlos O'Donell <carlos@redhat.com>
10389
10390 [BZ #20214]
10391 * sysdeps/unix/sysv/linux/bits/in.h
10392 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
10393 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
10394 Define to 1.
10395 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
10396 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
10397 Define to 0.
10398 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
10399 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
10400
10401 2016-06-06 Carlos O'Donell <carlos@redhat.com>
10402
10403 [BZ #20198]
10404 * stdlib/Makefile (tests): Add tst-quick_exit, and
10405 tst-thread-quick_exit.
10406 [ifeq ($(have-cxx-thread_local),yes)]
10407 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
10408 (CFLAGS-tst-thread-quick_exit.o): Likewise.
10409 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
10410 (LDLIBS-tst-thread-quick_exit): Likewise.
10411 [ifneq ($(have-cxx-thread_local),yes)]
10412 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
10413 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
10414 If run_dtors is true call __call_tls_dtors.
10415 (exit): Call __run_exit_handlers with run_dtors set to true.
10416 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
10417 definition.
10418 * stdlib/quick_exit.c (quick_exit): Remove function.
10419 (__new_quick_exit): New function.
10420 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
10421 function.
10422 * stdlib/tst-quick_exit.cc: New file.
10423 * stdlib/tst-thread-quick_exit.cc: New file.
10424 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
10425 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
10426 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
10427 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
10428 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
10429 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
10430 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
10431 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
10432 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
10433 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
10434 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
10435 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
10436 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
10437 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
10438 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
10439 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
10440 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
10441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
10442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
10443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
10444 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
10445 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
10446 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
10447 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
10448 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
10449 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
10450 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
10451 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
10452 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
10453 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
10454
10455 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
10456
10457 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
10458 a typo in comments.
10459
10460 2016-06-06 Joseph Myers <joseph@codesourcery.com>
10461
10462 [BZ #20213]
10463 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
10464 argument to itself.
10465 * math/libm-test.inc (asin_test_data): Add sNaN tests.
10466
10467 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10468
10469 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
10470 required flags.
10471 (CFLAGS-pwritev64.c): Likewise.
10472 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
10473 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10474 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
10475 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10476 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
10477 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
10478 syscall from auto-generation.
10479 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
10480 [WORDSIZE == 64] (pwritev64): Remove macro.
10481 [!PWRITEV] (PWRITEV): Likewise.
10482 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
10483 [!PWRITEV] (PWRITE): Likewise.
10484 [!PWRITEV] (OFF_T): Likewise.
10485 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
10486 (LO_HI_LONG): Remove macro.
10487 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
10488 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
10489 (PWRITEV): Remove macro.
10490 (PWRITEV_REPLACEMENTE): Likewise.
10491 (PWRITE): Likewise.
10492 (OFF_T): Likewise.
10493 (pwritev64): New function.
10494 * nptl/tst-cancel4.c (tf_writev): Add test.
10495
10496 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
10497 required flags.
10498 (CFLAGS-preadv64.c): Likewise.
10499 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
10500 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10501 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
10502 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
10503 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
10504 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
10505 syscall from auto-generation.
10506 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
10507 [WORDSIZE == 64] (preadv64): Remove macro.
10508 [!PREADV] (PREADV): Likewise.
10509 [!PREADV] (PREADV_REPLACEMENT): Likewise.
10510 [!PREADV] (PREAD): Likewise.
10511 [!PREADV] (OFF_T): Likewise.
10512 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
10513 (LO_HI_LONG): Remove macro.
10514 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
10515 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
10516 (PREADV): Remove macro.
10517 (PREADV_REPLACEMENTE): Likewise.
10518 (PREAD): Likewise.
10519 (OFF_T): Likewise.
10520 (preadv64): New function.
10521 * nptl/tst-cancel4.c (tf_preadv): Add test.
10522
10523 2016-06-06 Joseph Myers <joseph@codesourcery.com>
10524
10525 [BZ #20212]
10526 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
10527 argument to itself.
10528 * math/libm-test.inc (acos_test_data): Add sNaN tests.
10529
10530 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10531
10532 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
10533 New symbol defined as libc_hidden_def.
10534 (strcasestr): Became a weak alias to __strcasestr.
10535 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
10536 according to multi-arch support. Move __stpncpy hidden
10537 definition from here to...
10538 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
10539 symbol stpncpy.
10540 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
10541 libc_hidden_builtin_def.
10542 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
10543 memset symbol to use when multi-arch support is available.
10544
10545 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
10546
10547 * dlfcn/tst-rec-dlopen.c: Include string.h.
10548
10549 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10550
10551 * manual/install.texi: Remove mention of --without-tls
10552 * INSTALL: Regenerate.
10553
10554 2016-06-05 Florian Weimer <fweimer@redhat.com>
10555
10556 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
10557 Remove.
10558 (call_function, interposed_malloc_called): New variables.
10559 (malloc): New function.
10560 (do_test): Do not change malloc hooks. Initialize malloc. Set
10561 and clear call_function as needed.
10562
10563 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
10564
10565 * include/wchar.h (__wmemset): Use __typeof.
10566
10567 2016-06-03 Carlos O'Donell <carlos@redhat.com>
10568
10569 * include/wchar.h (__wmemset): Declare function without typeof.
10570
10571 2016-06-03 Joseph Myers <joseph@codesourcery.com>
10572
10573 [BZ #20205]
10574 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
10575 exponent when incrementing negative subnormal with low mantissa
10576 word zero.
10577 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
10578 Add another test.
10579
10580 2016-06-03 Florian Weimer <fweimer@redhat.com>
10581
10582 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
10583 __wmemset instead of wmemset.
10584
10585 2016-06-02 Carlos O'Donell <carlos@redhat.com>
10586
10587 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
10588 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
10589 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
10590 __USE_KERNEL_IPV6_DEFS to 0.
10591 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
10592 Update comment.
10593
10594 2016-06-01 Florian Weimer <fweimer@redhat.com>
10595
10596 [BZ #19861]
10597 Do not use IFUNC resolver with potentially unrelocated symbol.
10598 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
10599 (DEFINE_FORK): Remove macro and inline definition.
10600 (fork_alias): Renamed from fork_ifunc.
10601 (__fork_alias): Renamed from __fork_ifunc.
10602
10603 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10604
10605 [BZ 19653]
10606 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
10607 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
10608
10609 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10610
10611 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
10612 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
10613 i386-linux-gnu).
10614 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
10615 Set to no.
10616 * sysdeps/mach/hurd/configure: Refresh.
10617
10618 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10619
10620 [BZ #20178]
10621 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
10622 on failure instead of exit.
10623
10624 2016-05-30 Roland McGrath <roland@hack.frob.com>
10625
10626 [BZ #3629]
10627 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
10628 of POSIX.1-2008.
10629
10630 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10631
10632 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
10633 Use PLT entry for calling _hurd_self_sigstate.
10634
10635 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
10636
10637 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
10638 available logical processors with SMT level type sharing L2
10639 cache for Intel processors.
10640
10641 2016-05-27 Joseph Myers <joseph@codesourcery.com>
10642
10643 [BZ #20160]
10644 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
10645 argument to itself before returning the result.
10646 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10647 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10648 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10649 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10650 Likewise.
10651 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10652 Likewise.
10653 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
10654 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
10655 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10656 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10657 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10658 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10659
10660 [BZ #20160]
10661 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
10662 argument to itself before returning the result.
10663 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10664 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10665 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10666 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
10667 Likewise.
10668 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10669 Likewise.
10670 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
10671 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
10672 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
10673 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10674 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10675 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10676
10677 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10678
10679 * libm-test.inc: Replace usage of M_El with
10680 (lit_e): New macro.
10681
10682 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10683
10684 * libm-test.inc: Replace usage of M_PI_4l with
10685 (lit_pi_4_d): New macro.
10686
10687 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10688
10689 * libm-test.inc: Replace usage of M_PIl with
10690 (lit_pi): New macro.
10691
10692 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10693
10694 * libm-test.inc: Replace usage of M_PI2l with
10695 (lit_pi_2_d): New macro.
10696
10697 * math/test-double.h (LITM): New macro.
10698 * math/test-float.h (LITM): Likewise.
10699 * math/test-ldouble.h (LITM): Likewise.
10700
10701 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10702
10703 * libm-test.inc (M_PI_34l): Rename to
10704 (lit_pi_3_m_4_d): New Macro.
10705 (M_PI_34_LOG10El): Rename to
10706 (lit_pi_3_m_4_ln10_m_d): New Macro.
10707 (M_PI2_LOG10El): Rename to
10708 (lit_pi_2_ln10_m_d): New Macro.
10709 (M_PI4_LOG10El): Rename to
10710 (lit_pi_4_ln10_m_d): New Macro.
10711 (M_PI_LOG10El): Rename to
10712 (lit_pi_ln10_d): New Macro.
10713
10714 2016-05-27 Joseph Myers <joseph@codesourcery.com>
10715
10716 [BZ #20157]
10717 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
10718 determine whether to negate low half if [_ARCH_PPCGR], and integer
10719 comparison otherwise.
10720 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
10721 determine whether to negate low half.
10722
10723 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
10724 (NO_TEST_INLINE_DOUBLE): Likewise.
10725 (TEST_COND_x86_64): Likewise.
10726 (TEST_COND_x86): Likewise.
10727 (M_PI_6l): Likewise.
10728
10729 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10730
10731 * math/libm-test.inc:
10732 (TEST_FLOAT): Change usage to TEST_COND_binary32.
10733 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
10734 (TEST_LDOUBLE): Update usage to evaluate as true if
10735 the guarded tests match the property being tested.
10736 (LDBL_MAX_EXP): Change to MAX_EXP.
10737 (LDBL_MIN_EXP): Change to MIN_EXP.
10738 (LDBL_MANT_DIG): Change to MANT_DIG, except for
10739 nexttoward tests.
10740
10741 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10742
10743 * math/libm-test.inc:
10744 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
10745 (TYPE_MIN): Likewise.
10746 (TYPE_TRUE_MIN): Likewise.
10747 (TYPE_MAX): Likewise.
10748 (MIN_EXP): Likewise.
10749 (MAX_EXP): Likewise.
10750 (MANT_DIG): Likewise.
10751
10752 (FSTR_MAX): New macro.
10753 (__CONCATX): Likewise.
10754 (QTYPE_STR): Likewise.
10755 (TEST_COND_binary32): Likewise.
10756 (TEST_COND_binary64): Likewise.
10757 (TEST_COND_binary128): Likewise.
10758 (TEST_COND_ibm128): Likewise.
10759 (TEST_COND_intel96): Likewise.
10760 (TEST_COND_m68k96): Likewise.
10761
10762 (TEST_COND_flt_32): Redefine as equivalent format test macro.
10763 (TEST_COND_dbl_64): Likewise.
10764 (TEST_COND_ldbl_96_intel): Likewise.
10765 (TEST_COND_ldbl_96_m68k): Likewise.
10766 (TEST_COND_ldbl_128): Likewise.
10767 (TEST_COND_ldbl_128ibm): Likewise.
10768
10769 (plus_zero): Redefine using LIT macro.
10770 (minus_zero): Likewise.
10771 (plus_infty): Redefine as (INF).
10772 (minux_infty): Redefine as (-INF).
10773 (max_value): Redefine as TYPE_MAX.
10774 (min_value): Redefine as TYPE_MIN.
10775 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
10776
10777 (print_float): Refactor to use snprintf to convert FLOAT values
10778 to string. This brings it closer to dropin replacement of strtof
10779 for the TS 18661 defined types.
10780 (update_stats): Likewise.
10781 (print_complex_function_ulps): Likewise.
10782 (print_max_error): Likewise.
10783 (print_complex_max_error): Likewise.
10784 (check_float_internal): Likewise.
10785
10786 * math/test-float.h (PREFIX): New macro.
10787 (LIT): Likewise.
10788 (TYPE_STR): Likewise.
10789 (FTOSTR): Likewise.
10790
10791 * math/test-double.h (PREFIX): New macro.
10792 (LIT): Likewise.
10793 (TYPE_STR): Likewise.
10794 (FTOSTR): Likewise.
10795
10796 * math/test-ldouble.h (PREFIX): New macro.
10797 (LIT): Likewise.
10798 (TYPE_STR): Likewise.
10799 (FTOSTR): Likewise.
10800
10801 2016-05-27 Joseph Myers <joseph@codesourcery.com>
10802
10803 [BZ #20156]
10804 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
10805 to itself when zero or not finite.
10806 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
10807 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10808 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
10809 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10810
10811 2016-05-26 Joseph Myers <joseph@codesourcery.com>
10812
10813 [BZ #20153]
10814 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
10815 x * x + x for infinities and NaNs.
10816
10817 [BZ #20151]
10818 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
10819 argument to itself before returning result.
10820 (__ieee754_y0l): Likewise.
10821 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10822 (__ieee754_y1l).
10823
10824 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
10825 (atan_test_data): Likewise.
10826 (ceil_test_data): Likewise.
10827 (cos_test_data): Likewise.
10828 (cosh_test_data): Likewise.
10829 (erf_test_data): Likewise.
10830 (exp2_test_data): Likewise.
10831 (fabs_test_data): Likewise.
10832 (floor_test_data): Likewise.
10833 (ilogb_test_data): Likewise.
10834 (j0_test_data): Likewise.
10835 (j1_test_data): Likewise.
10836 (jn_test_data): Likewise.
10837 (lgamma_test_data): Likewise.
10838 (lrint_test_data): Likewise.
10839 (llrint_test_data): Likewise.
10840 (logb_test_data): Likewise.
10841 (lround_test_data): Likewise.
10842 (llround_test_data): Likewise.
10843 (nearbyint_test_data): Likewise.
10844 (rint_test_data): Likewise.
10845 (round_test_data): Likewise.
10846 (sin_test_data): Likewise.
10847 (sincos_test_data): Likewise.
10848 (sinh_test_data): Likewise.
10849 (sqrt_test_data): Likewise.
10850 (tan_test_data): Likewise.
10851 (tanh_test_data): Likewise.
10852 (tgamma_test_data): Likewise.
10853 (trunc_test_data): Likewise.
10854 (y0_test_data): Likewise.
10855 (y1_test_data): Likewise.
10856 (yn_test_data): Likewise.
10857
10858 * math/libm-test.inc: Update comment about NaN testing.
10859 (TEST_SNAN): New macro.
10860 (snan_value): Likewise.
10861 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
10862 (fpclassify_test_data): Add sNaN tests.
10863 (isfinite_test_data): Likewise.
10864 (isinf_test_data): Likewise.
10865 (isnan_test_data): Likewise.
10866 (isnormal_test_data): Likewise.
10867 (issignaling_test_data): Likewise.
10868 (signbit_test_data): Likewise.
10869 * math/gen-libm-test.pl (%beautify): Add snan_value.
10870 (show_exceptions): Add argument $test_snan.
10871 (parse_args): Handle snan_value as non-finite. Update call to
10872 show_exceptions.
10873 * math/Makefile (libm-test-no-inline-cflags): Add
10874 -fsignaling-nans.
10875
10876 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10877
10878 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
10879 (CFLAGS-oldsendmsg.c): Add rule.
10880 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
10881 Correct recvmsg symbol name.
10882 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
10883 Likewise.
10884
10885 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10886
10887 * sysdeps/unix/sysv/linux/Makefile
10888 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
10889 oldsendmmsg.
10890 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
10891 sendmmsg.
10892 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10893 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10894 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10895 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10896 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10897 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10898 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10899 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10900 Likewise.
10901 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10902 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
10903 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
10904 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
10905 iovlen and controllen fields to adjust to POSIX specification.
10906 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10907
10908 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
10909 and change to correct expected type.
10910 (msghdr.msg_controllen): Likewise.
10911 (cmsghdr.cmsg_len): Likewise.
10912 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
10913 expected POSIX assumption about the size.
10914 (msghdr.msg_controllen): Likewise.
10915 (msghdr.__glibc_reserved1): Likewise.
10916 (msghdr.__glibc_reserved2): Likewise.
10917 (cmsghdr.cmsg_len): Likewise.
10918 (cmsghdr.__glibc_reserved1): Likewise.
10919 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
10920 Add ptw-oldrecvmsg and ptw-oldsendmsg.
10921 (CFLAGS-sendmsg.c): Remove rule.
10922 (CFLAGS-recvmsg.c): Likewise.
10923 (CFLAGS-oldsendmsg.c): Add rule.
10924 (CFLAGS-oldrecvmsg.c): Likewise.
10925 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
10926 recvmsg and sendmsg.
10927 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
10928 Likewise.
10929 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
10930 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
10931 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
10932 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
10933 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
10934 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
10935 Likewise.
10936 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
10937 Likewise.
10938 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
10939 Likewise.
10940 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
10941 Likewise.
10942 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
10943 Likewise.
10944 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
10945 Likewise.
10946 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
10947 (GLIBC_2.24): Likewise.
10948 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
10949 Likewise.
10950 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
10951 Likewise.
10952 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
10953 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
10954 Likewise.
10955 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
10956 Likewise.
10957 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
10958 Likewise.
10959 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
10960 (GLIBC_2.24): Likewise.
10961 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
10962 Likewise.
10963 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
10964 Likewise.
10965 * sysdeps/unix/sysv/linux/Makefile
10966 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
10967 (CFLAGS-sendmsg.c): Add rule.
10968 (CFLAGS-recvmsg.c): Likewise.
10969 (CFLAGS-oldsendmsg.c): Likewise.
10970 (CFLAGS-oldrecvmsg.c): Likewise.
10971 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
10972 initialization.
10973 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10974 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10975 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
10976 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
10977 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
10978 iovlen and controllen fields to adjust to POSIX specification.
10979 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
10980 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
10981 added recvmsg and sendmsg.
10982 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10983 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10984 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10985 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10986 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10987 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10988 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10989 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10990 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10991 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10992 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10993 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
10994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10995 Likewise.
10996 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
10997 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10998 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10999 Likewise.
11000 Likewise.
11001 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
11002 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
11003 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
11004 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
11005 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11006 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
11007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
11008 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11009 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11010 Likewise.
11011 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11012 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11013
11014 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
11015 from auto-generation.
11016 (sendmsg): Likewise.
11017 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
11018 (sendmsg): Likewise.
11019 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
11020 (sendmsg): Likewise.
11021 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
11022 (sendmsg): Likewise.
11023 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
11024 (sendmsg): Likewise.
11025 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
11026 (sendmsg): Likewise.
11027 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
11028 Likewise.
11029 (sendmsg): Likewise.
11030 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
11031 (sendmsg): Likewise.
11032 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11033 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11034 Remove.
11035 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11036 Likewise.
11037 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11038 Undefine.
11039 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11040 Likewise.
11041 * sysdeps/unix/sysv/linux/kernel-features.h
11042 (__ASSUME_SENDMSG_SYSCALL): Define.
11043 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11044 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11045 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11046 Remove.
11047 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11048 Likewise.
11049 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11050 Undefine.
11051 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11052 Likewise.
11053 * sysdeps/unix/sysv/linux/s390/kernel-features.h
11054 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11055 Remove.
11056 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11057 Likewise.
11058 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11059 Undefine.
11060 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11061 Likewise.
11062 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
11063 (__ASSUME_SENDMSG_SYSCALL): Undefine.
11064 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11065 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11066 (__ASSUME_SENDMSG_SYSCALL): Likewise.
11067 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11068 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11069 (__ASSUME_SENDMSG_SYSCALL): Likewise.
11070 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11071
11072 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11073
11074 * stdlib/gen-tst-strtod-round.c: Add backslash to
11075 compile command in comment.
11076 (printfp): Remove the literal suffix, and define an infinite
11077 value as INF to avoid expansion clash with INFINITY.
11078 (round_str): Remove the literal suffix.
11079 (round_for_all): Likewise, remove the now duplicate ldbl-64
11080 entry, and remove some magic constants.
11081
11082 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
11083 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
11084 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
11085 (_CONCAT): New macro.
11086 (CONCAT): Likewise.
11087 (CHOOSE_ld): Likewise.
11088 (CHOOSE_f): Likewise.
11089 (CHOOSE_d): Likewise.
11090 (FTYPE_MEMBER): Likewise.
11091 (BOOL_MEMBER): Likewise.
11092 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
11093 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
11094 (_XNTRY): Likewise.
11095 (XNTRY): Likewise.
11096 (_ENTRY): Likewise.
11097 (ENTRY): Likewise.
11098 (test_exactness): Generate members via macro.
11099 (test_results): Likewise.
11100 (test): Update members.
11101 (TEST): Redefine using new macros.
11102 (INF): New macro.
11103 (fetestmodes): New structure.
11104 (do_test): Refactor to be type generic.
11105 (test_in_one_mode): Refactor duplicate code into
11106 (GEN_ONE_TEST): New macro.
11107
11108 * stdlib/tst-strtod-round-data.h: Regenerate.
11109
11110 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
11111 Extend to pass additional arbitrary parameters to
11112 generators.
11113
11114 2016-05-25 Joseph Myers <joseph@codesourcery.com>
11115
11116 [BZ #15479]
11117 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
11118 floating-point state after first floating-point operation on
11119 input. Restore full floating-point state instead of just rounding
11120 mode.
11121 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
11122 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
11123 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
11124 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
11125 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
11126
11127 [BZ #15479]
11128 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
11129 floating-point state after first floating-point operation on
11130 input. Restore full floating-point state instead of just rounding
11131 mode.
11132 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
11133 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
11134 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
11135 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
11136 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
11137
11138 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11139
11140 [BZ #19727]
11141 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
11142 valid high surrogate.
11143 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
11144 of an utf16 surrogate.
11145 * iconv/gconv_simple.c (BODY): Likewise.
11146 * iconvdata/bug-iconv12.c: New file.
11147 * iconvdata/Makefile (tests): Add bug-iconv12.
11148
11149 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11150
11151 [BZ #19726]
11152 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
11153 outptrp in case of an illegal input.
11154 * iconv/tst-iconv6.c: New file.
11155 * iconv/Makefile (tests): Add tst-iconv6.
11156
11157 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11158
11159 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
11160 an error in case of a value in range of an utf16 low surrogate.
11161
11162 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11163
11164 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
11165 an error in case of a value in range of an utf16 low surrogate.
11166
11167 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11168
11169 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
11170 Move to ...
11171 * sysdeps/s390/Makefile: ... here.
11172 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
11173 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
11174 (BRANCH_ON_COUNT): New define.
11175 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
11176 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
11177 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
11178 run on s390-32, too.
11179 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
11180 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
11181 run on s390-32, too.
11182 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
11183 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
11184 run on s390-32, too.
11185
11186 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11187
11188 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
11189 etf3eh or new vector loop-variant.
11190
11191 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11192
11193 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
11194 etf3eh or new vector loop-variant.
11195
11196 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11197
11198 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
11199 or new vector loop-variant.
11200
11201 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11202
11203 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
11204 Rename to TR_LOOP and usage of tr instead of troo instruction.
11205
11206 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11207
11208 * sysdeps/s390/multiarch/gconv_simple.c: New File.
11209 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
11210
11211 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11212
11213 * sysdeps/s390/multiarch/8bit-generic.c: New File.
11214 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
11215 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
11216 New override define.
11217 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
11218
11219 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11220
11221 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
11222 * sysdeps/s390/configure.ac: Add test for S390 vector register
11223 support in gcc.
11224 * sysdeps/s390/configure: Regenerated.
11225
11226 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11227
11228 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
11229 Install file from $(objpfx)gconv-modules.
11230 ($(objpfx)gconv-modules): Concatenate architecture specific file
11231 in variable sysdeps-gconv-modules and gconv-modules in src dir.
11232 * sysdeps/s390/gconv-modules: New file.
11233 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
11234 Deleted.
11235 ($(objpfx)gconv-modules-s390): Deleted.
11236 (sysdeps-gconv-modules): New variable.
11237
11238 2016-05-24 Joseph Myers <joseph@codesourcery.com>
11239
11240 [BZ #15479]
11241 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
11242 of immediate operand to rounding instruction.
11243 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
11244 Likewise.
11245 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
11246 Likewise.
11247 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
11248 Likewise.
11249
11250 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11251
11252 * math/libm-test.inc (MIN_EXP): Directly define as
11253 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
11254
11255 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11256
11257 * math/libm-test.inc (MANT_DIG): Directly define as
11258 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
11259
11260 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11261
11262 * stdlib/gen-tst-strtod-round.c (main):
11263 Change usage to more closely match the generated
11264 output. Add usage and compilation instructions.
11265 (string_to_fp): Add and use FILE* parameter as
11266 output target.
11267 (print_fp): Likewise.
11268 (round_str): Likewise.
11269 (round_for_all): Likewise.
11270 * stdlib/tst-strtod-round.c (tests): Move into
11271 * stdlib/tst-strtod-round-data.h: New file.
11272
11273 2016-05-24 Joseph Myers <joseph@codesourcery.com>
11274
11275 [BZ #15479]
11276 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
11277 (__round): Do not force "inexact" exception.
11278 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
11279 variable.
11280 (__round): Do not force "inexact" exception.
11281 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
11282 (__roundf): Do not force "inexact" exception.
11283 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
11284 (__roundl): Do not force "inexact" exception.
11285 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
11286 (__roundl): Do not force "inexact" exception.
11287 * math/libm-test.inc (round_test_data): Do not allow spurious
11288 "inexact" exceptions.
11289
11290 [BZ #15479]
11291 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
11292 exception in comment.
11293 (huge): Remove variable.
11294 (__floor): Do not force "inexact" exception.
11295 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
11296 "inexact" exception in comment.
11297 (huge): Remove variable.
11298 (__floor): Do not force "inexact" exception.
11299 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
11300 exception in comment.
11301 (huge): Remove variable.
11302 (__floorf): Do not force "inexact" exception.
11303 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
11304 exception in comment.
11305 (huge): Remove variable.
11306 (__floorl): Do not force "inexact" exception.
11307
11308 [BZ #15479]
11309 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
11310 exception in comment.
11311 (huge): Remove variable.
11312 (__ceil): Do not force "inexact" exception.
11313 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
11314 "inexact" exception in comment.
11315 (huge): Remove variable.
11316 (__ceil): Do not force "inexact" exception.
11317 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
11318 (__ceilf): Do not force "inexact" exception.
11319 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
11320 exception in comment.
11321 (huge): Remove variable.
11322 (__ceill): Do not force "inexact" exception.
11323
11324 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
11325
11326 * config.h.in (BIND_NOW): New.
11327 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
11328 * configure: Regenerated.
11329 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
11330 indirect branch via the GOT slot.
11331
11332 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11333
11334 [BZ #19765]
11335 * sysdeps/s390/mempcpy.S: New File.
11336 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
11337 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
11338 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11339 Add mempcpy variants.
11340 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
11341 (memcpy): Adjust to be usable from mempcpy entry point.
11342 (__memcpy_mvcle): Likewise.
11343 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11344 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
11345 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
11346 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
11347 (__memcpy_z10): Likewise.
11348 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
11349
11350 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11351
11352 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
11353 Remove __GI_ symbol.
11354 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
11355 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
11356 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
11357 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
11358 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
11359 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
11360
11361 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11362
11363 * sysdeps/s390/s390-64/memcpy.S (memcpy):
11364 Use cghi instead of chi to compare 64bit value.
11365
11366 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11367
11368 * sysdeps/s390/s390-32/memcpy.S (memcpy):
11369 Jump to 1MB check before executing mvc-loop.
11370
11371 2016-05-24 Florian Weimer <fweimer@redhat.com>
11372
11373 [BZ #6527]
11374 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
11375 unconditionally.
11376 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
11377
11378 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11379
11380 * stdlib/tst-strtod6.c (do_test): Use new type generic
11381 invocation of the test function.
11382 (test): Refactor into ...
11383 (TEST_STRTOD): New macro base function.
11384
11385 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11386
11387 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
11388 (TEST_STRTOD): New macro.
11389 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
11390
11391 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11392
11393 * stdlib/tst-strtod6.c (do_test): Use new type generic
11394 invocation of the test function.
11395 (test): Refactor into ...
11396 (TEST_STRTOD): New macro base function.
11397
11398 2016-05-23 Florian Weimer <fweimer@redhat.com>
11399
11400 CVE-2016-4429
11401 [BZ #20112]
11402 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
11403 payload.
11404
11405 2016-05-23 Florian Weimer <fweimer@redhat.com>
11406
11407 [BZ #20111]
11408 * bits/sockaddr.h (_SS_SIZE): Define.
11409 * bits/socket.h (_SS_SIZE): Remove.
11410 (_SS_PADSIZE): Adjust to account for all padding.
11411 (struct sockaddr_storage): Update comment. Avoid implicit
11412 padding.
11413 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
11414 (_SS_PADSIZE): Adjust to account for all padding.
11415 (struct sockaddr_storage): Update comment. Avoid implicit
11416 padding.
11417 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
11418 * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
11419 (_SS_PADSIZE): Adjust to account for all padding.
11420 (struct sockaddr_storage): Update comment. Avoid implicit
11421 padding.
11422 * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
11423 __SS_SIZE is 126 in this version.
11424 * inet/tst-sockaddr.c: New file.
11425 * inet/Makefile (tests): Add tst-sockaddr.c
11426 (tst-sockaddr.c): Compile with non-strict aliasing.
11427
11428 2016-05-23 Joseph Myers <joseph@codesourcery.com>
11429
11430 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
11431 [XPG3 || XPG4].
11432 (NL_ARGMAX): Also expect for [XPG3].
11433 (NL_LANGMAX): Likewise.
11434 (NL_MSGMAX): Likewise.
11435 (NL_NMAX): Likewise.
11436 (NL_SETMAX): Likewise.
11437 (NL_TEXTMAX): Likewise.
11438 (NZERO): Likewise.
11439 (TMP_MAX): Likewise.
11440 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
11441 variable.
11442
11443 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
11444 (PF_MAX): Update value.
11445 (AF_KCM): New macro.
11446 (SOL_NETBEUI): Likewise.
11447 (SOL_LLC): Likewise.
11448 (SOL_DCCP): Likewise.
11449 (SOL_NETLINK): Likewise.
11450 (SOL_TIPC): Likewise.
11451 (SOL_RXRPC): Likewise.
11452 (SOL_PPPOL2TP): Likewise.
11453 (SOL_BLUETOOTH): Likewise.
11454 (SOL_PNPIPE): Likewise.
11455 (SOL_RDS): Likewise.
11456 (SOL_IUCV): Likewise.
11457 (SOL_CAIF): Likewise.
11458 (SOL_ALG): Likewise.
11459 (SOL_NFC): Likewise.
11460 (SOL_KCM): Likewise.
11461 (MSG_BATCH): New enum value and macro.
11462
11463 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
11464
11465 [BZ #18185]
11466 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
11467 sharing L2 cache to 2 for Knights Landing.
11468
11469 2016-05-20 Joseph Myers <joseph@codesourcery.com>
11470
11471 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
11472 (FTW_DP): Do not expect for [XPG3 || XPG4].
11473 (FTW_SL): Do not expect for [XPG3].
11474 (FTW_SLN): Likewise.
11475 (FTW_PHYS): Likewise.
11476 (FTW_MOUNT): Likewise.
11477 (FTW_DEPTH): Likewise.
11478 (FTW_CHDIR): Likewise.
11479 (nftw): Likewise.
11480 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
11481 variable.
11482
11483 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
11484
11485 * manual/errno.texi: Fix various typos & grammar errors.
11486
11487 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
11488
11489 * manual/intro.texi: Fix duplicated typo.
11490
11491 2016-05-19 Joseph Myers <joseph@codesourcery.com>
11492
11493 [BZ #13304]
11494 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
11495 <float.h>, <math_private.h> and <stdlib.h>.
11496 (add_split): New function.
11497 (mul_split): Likewise.
11498 (ext_val): New typedef.
11499 (store_ext_val): New function.
11500 (mul_ext_val): New function.
11501 (compare): New function.
11502 (add_split_ext): New function.
11503 (__fmal): After checking for Inf, NaN and zero, compute result as
11504 an exact sum of scaled double values in round-to-nearest before
11505 adding those up and adjusting for other rounding modes.
11506 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
11507 tests of fma.
11508 * math/auto-libm-test-out: Regenerated.
11509
11510 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
11511
11512 [BZ #20119]
11513 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
11514 processor level type mask for CPUID with EAX == 11.
11515
11516 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
11517
11518 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
11519 logical threads if the HTT bit is 0.
11520 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
11521 (index_cpu_HTT): Likewise.
11522 (reg_HTT): Likewise.
11523
11524 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
11525
11526 [BZ #20115]
11527 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
11528 Remove alignments on jump targets.
11529
11530 2016-05-19 Joseph Myers <joseph@codesourcery.com>
11531
11532 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
11533 (getpwent): Likewise.
11534 (setpwent): Likewise.
11535 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
11536 variable.
11537
11538 * conform/data/search.h-data (insque): Do not expect for [XPG3].
11539 (remque): Likewise.
11540 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
11541 variable.
11542
11543 2016-05-18 Joseph Myers <joseph@codesourcery.com>
11544
11545 * math/libm-test.inc: Update comment not to refer to signs of NaNs
11546 not being tested.
11547
11548 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
11549
11550 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11551 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
11552 call.
11553 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11554 (__condvar_cleanup1): Likewise.
11555
11556 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
11557
11558 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
11559 New
11560 (__pthread_unwind): Renamed to ...
11561 (PTHREAD_UNWIND): This.
11562 (__pthread_enable_asynccancel): Replace
11563 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
11564
11565 2016-05-18 Joseph Myers <joseph@codesourcery.com>
11566
11567 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
11568 (CLONE_NEWCGROUP): New macro.
11569
11570 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
11571 (Q_GETNEXTQUOTA): New macro.
11572
11573 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
11574
11575 [BZ #19907]
11576 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
11577 buffer updated by the previous run.
11578 * string/test-memcpy.c (do_one_test): Likewise.
11579 * benchtests/bench-memmove.c (do_one_test): Add a comment.
11580 * string/test-memmove.c (do_one_test): Likewise.
11581
11582 2016-05-17 Joseph Myers <joseph@codesourcery.com>
11583
11584 [BZ #20094]
11585 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
11586 not [__USE_XOPEN].
11587 (unlockpt): Likewise.
11588 (ptsname): Likewise.
11589 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
11590 variable.
11591
11592 [BZ #20076]
11593 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
11594 instead of [__USE_UNIX98].
11595 (S_ISSOCK): Likewise.
11596 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
11597 variable.
11598
11599 [BZ #20074]
11600 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
11601 [__USE_POSIX].
11602 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
11603 variable.
11604
11605 [BZ #20051]
11606 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
11607 (ttyslot): Do not declare.
11608 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
11609 (ttyslot): New prototype.
11610 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
11611 variable.
11612 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11613
11614 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11615
11616 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
11617
11618 2016-05-13 Florian Weimer <fweimer@redhat.com>
11619
11620 Fix race condition in tst-mallocfork2, use fewer resources.
11621 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
11622 to current process group.
11623 (signal_sender): Yield in the non-sleeping case.
11624
11625 2016-05-13 Joseph Myers <joseph@codesourcery.com>
11626
11627 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
11628 (ecvt): Likewise.
11629 (fcvt): Likewise.
11630 (gcvt): Likewise.
11631 (getsubopt): Likewise.
11632 (grantpt): Likewise.
11633 (initstate): Likewise.
11634 (l64a): Likewise.
11635 (mktemp): Likewise.
11636 (mkstemp): Likewise.
11637 (ptsname): Likewise.
11638 (random): Likewise.
11639 (realpath): Likewise.
11640 (setstate): Likewise.
11641 (srandom): Likewise.
11642 (ttyslot): Likewise.
11643 (unlockpt): Likewise.
11644 (valloc): Likewise.
11645
11646 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
11647 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
11648 variable.
11649
11650 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
11651
11652 [BZ #20072]
11653 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
11654 init_cpu_features only if SHARED is defined.
11655 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
11656
11657 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
11658
11659 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
11660 non-inclusive caches on Intel processors.
11661
11662 2016-05-13 Florian Weimer <fweimer@redhat.com>
11663
11664 * malloc/malloc.c (dumped_main_arena_start)
11665 (dumped_main_arena_end): New variables.
11666 (DUMPED_MAIN_ARENA_CHUNK): New macro.
11667 (do_check_chunk): Skip dumped fake mmapped chunks.
11668 (munmap_chunk): Likewise.
11669 (__libc_free): Do not adjust statistics for fake mmapped chunks.
11670 (__libc_realloc): Adjust hardening check. Always copy dumped fake
11671 mmapped chunks.
11672 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
11673 Mark dumped chunks as using mmap. Update dumped_main_arena_start
11674 and dumped_main_arena_end to cover the dumped heap.
11675
11676 2016-05-12 Joseph Myers <joseph@codesourcery.com>
11677
11678 * conform/data/time.h-data (getdate_err): Do not expect for
11679 [XPG3].
11680 (getdate): Likewise.
11681 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
11682 variable.
11683
11684 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
11685 (F_ULOCK): Likewise.
11686 (F_TEST): Likewise.
11687 (F_TLOCK): Likewise.
11688 (useconds_t): Likewise.
11689 (intptr_t): Do not expect for [XPG3] or [XPG4].
11690 (brk): Do not expect for [XPG3]
11691 (fchown): Likewise.
11692 (fchdir): Likewise.
11693 (ftruncate): Likewise.
11694 (getdtablesize): Likewise.
11695 (gethostid): Likewise.
11696 (getpagesize): Likewise.
11697 (getpgid): Likewise.
11698 (getsid): Likewise.
11699 (getwd): Likewise.
11700 (lchown): Likewise.
11701 (lockf): Likewise.
11702 (readlink): Likewise.
11703 (sbrk): Likewise.
11704 (setpgrp): Likewise.
11705 (setregid): Likewise.
11706 (setreuid): Likewise.
11707 (symlink): Likewise.
11708 (sync): Likewise.
11709 (truncate): Likewise.
11710 (ualarm): Likewise.
11711 (usleep): Likewise.
11712 (vfork): Likewise.
11713 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
11714 variable.
11715
11716 [BZ #20054]
11717 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
11718 not [__USE_UNIX98].
11719 * conform/data/unistd.h-data (gethostname): Do not expect for
11720 [XPG3].
11721
11722 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
11723 [!POSIX] (S_IFBLK): Likewise.
11724 [!POSIX] (S_IFCHR): Likewise.
11725 [!POSIX] (S_IFIFO): Likewise.
11726 [!POSIX] (S_IFREG): Likewise.
11727 [!POSIX] (S_IFDIR): Likewise.
11728 [!POSIX] (S_IFLNK): Likewise.
11729 [!POSIX] (S_IFSOCK): Likewise.
11730 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
11731 variable.
11732 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11733
11734 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
11735
11736 * sysdeps/aarch64/memset.S (__memset):
11737 Rewrite of optimized memset.
11738
11739 2016-05-12 Florian Weimer <fweimer@redhat.com>
11740
11741 [BZ #19703]
11742 Partially async-signal-safe fork for single-threaded processes.
11743 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
11744 variable. Do not acquire and reset/release malloc and libio locks
11745 in single-threaded processes.
11746 * malloc/tst-mallocfork2.c: New file.
11747 * malloc/Makefile (tests): Add it.
11748
11749 2016-05-12 Florian Weimer <fweimer@redhat.com>
11750
11751 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
11752 argument. Use scratch buffer instead of extend_alloca.
11753 (gethosts): Use scratch buffer instead of extend_alloca.
11754 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
11755 extend_alloca.
11756 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
11757
11758 2016-05-11 Joseph Myers <joseph@codesourcery.com>
11759
11760 [BZ #20055]
11761 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
11762 instead of [__USE_UNIX98].
11763 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
11764 [__USE_UNIX98].
11765 * conform/data/termios.h-data (tcgetsid): Do not expect for
11766 [XPG3].
11767 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
11768 variable.
11769 (test-xfail-XPG4/termios.h/conform): Likewise.
11770
11771 2016-05-11 Florian Weimer <fweimer@redhat.com>
11772
11773 Do not use mcheck in localedef.
11774 * locale/programs/localedef.c (turn_on_mcheck)
11775 (__malloc_initialize_hook): Remove.
11776
11777 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11778
11779 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
11780 * sysdeps/s390/s390-64/Makefile: Likewise.
11781
11782 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
11783
11784 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
11785 Remove ifunc-defines.sym.
11786 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
11787 Likewise.
11788 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
11789 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11790 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
11791 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
11792 rtld-global-offsets.sym.
11793 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
11794 * sysdeps/x86/cpu-features-offsets.sym: This.
11795 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
11796 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
11797
11798 2016-05-10 Joseph Myers <joseph@codesourcery.com>
11799
11800 [BZ #20073]
11801 * io/sys/stat.h (fchmod): Declare for
11802 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
11803 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
11804 variable.
11805
11806 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
11807 [XPG3] (S_IFSOCK): Likewise.
11808 [XPG3] (S_ISVTX): Likewise.
11809 [XPG3] (S_ISLNK): Likewise.
11810 [XPG3] (S_ISSOCK): Likewise.
11811 [XPG3] (fchmod): Likewise.
11812 [XPG3] (lstat): Likewise.
11813 [XPG3] (mknod): Likewise.
11814
11815 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
11816 [XPG3]. Expect type long and XFAIL for [XPG4].
11817 (st_blocks): Likewise.
11818
11819 [BZ #20044]
11820 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
11821 (pthread_atfork): New prototype.
11822 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
11823 variable.
11824
11825 [BZ #20043]
11826 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
11827 prototype.
11828
11829 2016-05-10 Florian Weimer <fweimer@redhat.com>
11830
11831 [BZ #20017]
11832 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
11833 gmtime.
11834
11835 2016-05-10 Florian Weimer <fweimer@redhat.com>
11836
11837 [BZ #19994]
11838 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
11839 flag in _res.options.
11840
11841 2016-05-09 Joseph Myers <joseph@codesourcery.com>
11842
11843 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
11844 [XPG3 || XPG4].
11845 (blksize_t): Likewise.
11846 (clockid_t): Likewise.
11847 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
11848 variable.
11849 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11850
11851 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
11852
11853 * sysdeps/unix/sysv/linux/s390/init-first.c:
11854 Add VDSO_SYMBOL(getcpu).
11855 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
11856 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
11857 Add VDSO_SYMBOL(getcpu).
11858 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
11859 New define HAVE_GETCPU_VSYSCALL.
11860 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11861
11862 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
11863
11864 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
11865 instead of <sysdeps/x86_64/cacheinfo.c>.
11866 * sysdeps/x86_64/cacheinfo.c: Moved to ...
11867 * sysdeps/x86/cacheinfo.c: Here.
11868
11869 2016-05-04 Florian Weimer <fweimer@redhat.com>
11870
11871 * malloc/malloc-internal.h: Adjust header file guard.
11872
11873 2016-05-04 Florian Weimer <fweimer@redhat.com>
11874
11875 [BZ #19787]
11876 * inet/getnameinfo.c (check_sprintf_result): New function.
11877 (CHECKED_SNPRINTF): New macro.
11878 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
11879 to the host buffer.
11880 (gni_host_local): Use checked_copy to copy the host name.
11881 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
11882 (gni_serv_local): Use checked_copy to copy the service name.
11883 (getnameinfo): Remove unnecessary truncation of result buffers.
11884
11885 2016-05-04 Florian Weimer <fweimer@redhat.com>
11886
11887 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
11888 in case of inet_ntop failure.
11889
11890 2016-05-04 Florian Weimer <fweimer@redhat.com>
11891
11892 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
11893 avoid long lines.
11894 (gni_host_inet_numeric): Likewise. Reduce scope of local
11895 variables.
11896 (gni_host_inet, gni_host_local): Add comment.
11897 (gni_host): Add comment. Use temporary to avoid long lines.
11898
11899 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11900
11901 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
11902 registers specifiers where general purpose registers specifiers should
11903 have been used.
11904
11905 2016-05-04 Florian Weimer <fweimer@redhat.com>
11906
11907 [BZ #19779]
11908 CVE-2016-1234
11909 Avoid copying names of directory entries.
11910 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
11911 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
11912 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
11913 (struct readdir_result): New type.
11914 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
11915 (GL_READDIR): New macros.
11916 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
11917 (convert_dirent, convert_dirent64): New functions.
11918 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
11919 convert_dirent64. Adjust references to the readdir result.
11920 * sysdeps/unix/sysv/linux/i386/glob64.c:
11921 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
11922 * posix/bug-glob2.c (LONG_NAME): Define.
11923 (filesystem): Add LONG_NAME.
11924 (my_DIR): Increase the size of room_for_dirent.
11925
11926 2016-05-03 Joseph Myers <joseph@codesourcery.com>
11927
11928 [BZ #20041]
11929 * misc/sys/select.h (__need_timespec): Only define if
11930 [__USE_XOPEN2K].
11931 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
11932 variable.
11933 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11934 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11935 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11936
11937 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11938 Segher Boessenkool <segher@gcc.gnu.org>
11939
11940 [BZ #20004]
11941 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
11942 (__novec_swapcontext): Add missing load.
11943
11944 2016-05-02 Joseph Myers <joseph@codesourcery.com>
11945
11946 [BZ #20023]
11947 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
11948 <time.h>.
11949 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
11950 variable.
11951 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11952
11953 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11954
11955 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
11956 flags CLONE_VM compare.
11957
11958 2016-05-02 Florian Weimer <fweimer@redhat.com>
11959
11960 [BZ #20031]
11961 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
11962 completely empty.
11963
11964 2016-05-02 Florian Weimer <fweimer@redhat.com>
11965
11966 [BZ #19573]
11967 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
11968 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
11969 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
11970 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
11971 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
11972 (hesiod_free_list): Mark as hidden.
11973 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
11974 res_set, res_get.
11975 * hesiod/hesiod.c: Remove unnecessary forward declarations.
11976 (init, __hesiod_res_get, __hesiod_res_set): Remove.
11977 (hesiod_init): Remove obsolete res_ninit call.
11978 (hesiod_end): Do not free resolver state. Do not invoke callback.
11979 (hesiod_bind): Do not call init.
11980 (get_txt_records): Use res_mkquery, res_send instead of
11981 res_nmkquery, res_nsend.
11982 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
11983 instead of _nss_hesiod_init.
11984 (_nss_hesiod_initgroups_dyn): Likewise.
11985 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
11986 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
11987 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
11988
11989 2016-05-02 Florian Weimer <fweimer@redhat.com>
11990
11991 * hesiod/hesiod_p.h (DEF_RHS): Remove.
11992 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
11993
11994 2016-05-02 Florian Weimer <fweimer@redhat.com>
11995
11996 * hesiod/hesiod.h: Remove RCS keyword.
11997 * hesiod/hesiod_p.h: Likewise.
11998
11999 * hesiod/hesiod.c: Likewise.
12000
12001 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
12002
12003 [BZ #12450]
12004 * locale/iso-639.def: Add Samogitian/sgs.
12005
12006 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
12007
12008 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
12009
12010 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
12011
12012 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
12013 Carlos O'Donell <carlos@redhat.com>
12014
12015 [BZ #19072]
12016 * grp/Makefile (headers): Add grp-merge.h
12017 (routines): Add grp-merge.
12018 * grp/getgrgid_r.c: Include grp-merge.h.
12019 (DEEPCOPY_FN): Define.
12020 (MERGE_FN): Define.
12021 * grp/getgrname_r.c: Include grp-merge.h.
12022 (DEEPCOPY_FN): Define.
12023 (MERGE_FN): Define.
12024 * grp/grp-merge.c: New file.
12025 * grp/grp-merge.h: New file.
12026 * include/grp-merge.h: New file.
12027 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
12028 __copy_grp@GLIBC_PRIVATE.
12029 * manual/nss.texi (Actions in the NSS configuration): Describe
12030 return, continue, and merge.
12031 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
12032 (DEEPCOPY_FN): Define.
12033 (MERGE_FN): Define.
12034 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
12035 (DEEPCOPY_FN): Define.
12036 (MERGE_FN): Define.
12037 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
12038 [!MERGE_FN]: Define __merge_einval.
12039 (CHECK_MERGE): Define.
12040 (REENTRANT_NAME): Process merge if do_merge is true.
12041 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
12042 (__nss_getent_r): Likewise.
12043 * nss/nsswitch.c (nss_parse_service_list): Likewise.
12044 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
12045
12046 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12047
12048 [BZ #20012]
12049 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
12050 length to calculate the buffer to read.
12051 (fmemopen_write): Set the buffer position based on bytes written.
12052 (fmemopen_seek): Return EINVAL for invalid whence modes.
12053
12054 [BZ #19957]
12055 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
12056 tst-getpid2.
12057 (test): Add tst-clone2.
12058 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
12059 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
12060 pid/tid fields for CLONE_VM.
12061 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
12062 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
12063 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
12064 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
12065 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
12066 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
12067 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
12068 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
12069 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
12070 Likewise.
12071 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12072 Likewise.
12073 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
12074 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
12075 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
12076 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
12077 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
12078 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
12079 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
12080 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
12081
12082 2016-04-29 Florian Weimer <fweimer@redhat.com>
12083
12084 [BZ #19642]
12085 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
12086 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
12087 (gni_serv_local, gni_serv): New functions extracted from
12088 getnameinfo.
12089 (getnameinfo): Call gni_host and gni_serv to perform the
12090 processing. Always free scratch buffer.
12091
12092 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12093
12094 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
12095 remaining bytes in the dest string, with zeros.
12096
12097 2016-04-29 Florian Weimer <fweimer@redhat.com>
12098
12099 [BZ #20010]
12100 CVE-2016-3706
12101 * sysdeps/posix/getaddrinfo.c
12102 (convert_hostent_to_gaih_addrtuple): New function.
12103 (gethosts): Call convert_hostent_to_gaih_addrtuple.
12104 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
12105 AF_INET data.
12106
12107 2016-04-29 Florian Weimer <fweimer@redhat.com>
12108
12109 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
12110 callback function gl_readdir.
12111 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
12112 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
12113 (glob_in_dir): Remove len. Use strdup instead of malloc and
12114 memcpy to copy the name.
12115 * manual/pattern.texi (Calling Glob): Document requirements for
12116 implementations of the gl_readdir callback function.
12117 * manual/examples/mkdirent.c: New example.
12118 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
12119 per the manual guidance.
12120 * posix/tst-gnuglob.c (my_readdir): Likewise.
12121
12122 2016-04-28 Joseph Myers <joseph@codesourcery.com>
12123
12124 [BZ #20014]
12125 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
12126 not [__USE_POSIX].
12127 (getchar_unlocked): Likewise.
12128 (putc_unlocked): Likewise.
12129 (putchar_unlocked): Likewise.
12130 (flockfile): Likewise.
12131 (ftrylockfile): Likewise.
12132 (funlockfile): Likewise.
12133 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
12134 variable.
12135 (test-xfail-XPG4/stdio.h/conform): Likewise.
12136
12137 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
12138 Expect constant.
12139 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
12140 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
12141 variable.
12142 (test-xfail-XPG4/langinfo.h/conform): Likewise.
12143 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12144
12145 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
12146 [__USE_LARGEFILE64] (off64_t): Likewise.
12147 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
12148 variable.
12149
12150 2016-04-28 Florian Weimer <fweimer@redhat.com>
12151
12152 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
12153
12154 2016-04-28 Florian Weimer <fweimer@redhat.com>
12155
12156 * resolv/inet_addr.c: Reindent preprocessor conditionals.
12157 * resolv/res_init.c: Likewise.
12158 * resolv/res_mkquery.c: Likewise.
12159
12160 2016-04-28 Florian Weimer <fweimer@redhat.com>
12161
12162 * resolv/res_init.c (isascii): Do not define. Use definition in
12163 <ctype.h>.
12164 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
12165 (LOG_AUTH): Remove.
12166 (SPRINTF): Remove, adjust caller.
12167 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
12168
12169 2016-04-28 Florian Weimer <fweimer@redhat.com>
12170
12171 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
12172 SUNSECURITY conditional.
12173 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
12174
12175 2016-04-28 Florian Weimer <fweimer@redhat.com>
12176
12177 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
12178 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
12179 Remove BSD-related preprocessor conditionals.
12180 * conf/portability.h: Remove.
12181
12182 2016-04-28 Florian Weimer <fweimer@redhat.com>
12183
12184 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
12185 * resolv/res_data.c: Likewise.
12186
12187 2016-04-28 Florian Weimer <fweimer@redhat.com>
12188
12189 * resolv/res_comp.c: Remove code conditional on __ultrix__.
12190 * resolv/res_data.c: Remove code conditional on ultrix.
12191
12192 2016-04-28 Florian Weimer <fweimer@redhat.com>
12193
12194 * resolv/res_init.c (RFC1535): Do not define. Remove
12195 RFC1535 preprocessor conditionals.
12196 * resolv/README: Update. Do not claim strict RFC 1535 compliance
12197 because there configuration options which make the resolver
12198 behavior different.
12199
12200 2016-04-28 Florian Weimer <fweimer@redhat.com>
12201
12202 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
12203 RESOLVSORT preprocessor conditionals.
12204 * resolv/nss_dns/dns-host.c: Likewise.
12205 * resolv/res_init.c: Likewise.
12206
12207 2016-04-28 Florian Weimer <fweimer@redhat.com>
12208
12209 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
12210 is never defined.
12211
12212 2016-04-28 Florian Weimer <fweimer@redhat.com>
12213
12214 * inet/inet_lnaof.c: Remove SCSS keyword.
12215 * inet/inet_mkadr.c: Likewise.
12216 * inet/inet_net.c: Likewise.
12217 * inet/inet_netof.c: Likewise.
12218 * inet/rcmd.c: Likewise.
12219 * inet/rexec.c: Likewise.
12220 * inet/ruserpass.c: Likewise.
12221
12222 2016-04-28 Florian Weimer <fweimer@redhat.com>
12223
12224 * resolv/inet_addr.c: Remove _LIBC conditionals.
12225 * resolv/res_data.c: Likewise.
12226 * resolv/res_init.c: Likewise.
12227 * resolv/res_mkquery.c: Likewise.
12228 * resolv/res_libc.c: Update comment.
12229 * resolv/README: Update.
12230
12231 2016-04-28 Florian Weimer <fweimer@redhat.com>
12232
12233 * resolv/gethnamaddr.c: Remove SCSS keyword.
12234 * resolv/herror.c: Likewise.
12235 * resolv/inet_addr.c: Likewise.
12236 * resolv/inet_net_ntop.c: Likewise.
12237 * resolv/inet_net_pton.c: Likewise.
12238 * resolv/inet_neta.c: Likewise.
12239 * resolv/inet_ntop.c: Likewise.
12240 * resolv/inet_pton.c: Likewise.
12241 * resolv/ns_date.c: Remove RCS keyword.
12242 * resolv/ns_name.c: Likewise.
12243 * resolv/ns_netint.c: Likewise.
12244 * resolv/ns_parse.c: Likewise.
12245 * resolv/ns_print.c: Likewise.
12246 * resolv/ns_samedomain.c: Likewise.
12247 * resolv/ns_ttl.c: Likewise.
12248 * resolv/nsap_addr.c: Likewise.
12249 * resolv/res_comp.c: Remove SCSS and RCS keyword.
12250 * resolv/res_data.c: Remove RCS keyword.
12251 * resolv/res_debug.c: Remove SCSS and RCS keyword.
12252 * resolv/res_init.c: Likewise.
12253 * resolv/res_mkquery.c: Likewise.
12254 * resolv/res_query.c: Likewise.
12255 * resolv/res_send.c: Likewise.
12256
12257 2016-04-27 Joseph Myers <joseph@codesourcery.com>
12258
12259 * conform/data/stdio.h-data (fdopen): Expect also for
12260 [XPG3 || XPG4].
12261
12262 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
12263 (fseeko): Likewise.
12264 (ftello): Likewise.
12265 (ftrylockfile): Likewise.
12266 (funlockfile): Likewise.
12267 (getc_unlocked): Likewise.
12268 (getchar_unlocked): Likewise.
12269 (putc_unlocked): Likewise.
12270 (putchar_unlocked): Likewise.
12271
12272 2016-04-27 Florian Weimer <fweimer@redhat.com>
12273
12274 [BZ #19868]
12275 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
12276 DNS packet syntax checks (which were not needed before). Skip
12277 over non-PTR records.
12278
12279 2016-04-27 Florian Weimer <fweimer@redhat.com>
12280
12281 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
12282 definition. Include <stddef.h> instead.
12283
12284 2016-04-27 Florian Weimer <fweimer@redhat.com>
12285
12286 [BZ #19831]
12287 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
12288 function.
12289 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
12290 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
12291
12292 2016-04-27 Florian Weimer <fweimer@redhat.com>
12293
12294 [BZ #19862]
12295 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
12296 (getanswer_r): Do not call syslog.
12297 (gaih_getanswer_slice): Likewise.
12298 * resolv/gethnamaddr.c (AskedForGot): Remove.
12299 (getanswer): Do not call syslog.
12300 (gethostbyaddr): Likewise.
12301
12302 2016-04-27 Joseph Myers <joseph@codesourcery.com>
12303
12304 * conform/data/signal.h-data (union sigval): Expect also if
12305 [XOPEN2K].
12306 (struct sigevent): Likewise.
12307 (SIGEV_NONE): Likewise.
12308 (SIGEV_SIGNAL): Likewise.
12309 (SIGEV_THREAD): Likewise.
12310 (SIGRTMIN): Likewise.
12311 (SIGRTMAX): Likewise.
12312 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
12313 variable.
12314 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12315
12316 2016-04-27 Florian Weimer <fweimer@redhat.com>
12317
12318 [BZ #19830]
12319 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
12320 (gaih_getanswer_slice): Likewise.
12321 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
12322 Also check for availability of RR metadata.
12323
12324 2016-04-27 Florian Weimer <fweimer@redhat.com>
12325
12326 [BZ #19825]
12327 * resolv/res_send.c (send_vc): Remove early *resplen2
12328 initialization. Set *resplen2 on socket error. Call
12329 close_and_return_error for other errors.
12330
12331 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
12332
12333 * sysdeps/unix/sysv/linux/netiucv/iucv.h
12334 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
12335 (SCM_IUCV_TRGCLS): New define.
12336
12337 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12338
12339 [BZ #20005]
12340 * libio/fmemopen.c (fmemopen_write): Update internal position after
12341 write.
12342 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
12343 * stdio-common/tst-fmemopen4.c: New file..
12344
12345 2016-04-26 Joseph Myers <joseph@codesourcery.com>
12346
12347 [BZ #19996]
12348 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
12349 not [__USE_XOPEN2K].
12350 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
12351 variable.
12352
12353 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
12354 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
12355 variable.
12356
12357 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
12358 [__USE_XOPEN2K8].
12359 [__USE_LARGEFILE64] (off64_t): Likewise.
12360 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
12361 variable.
12362
12363 2016-04-25 Joseph Myers <joseph@codesourcery.com>
12364
12365 [BZ #19989]
12366 * libio/stdio.h (cuserid): Do not declare if
12367 [__USE_XOPEN2K && !__USE_GNU].
12368 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
12369 variable.
12370
12371 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12372
12373 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12374 (sysdep_routines): Add P8 and PPC64 strcspn targets.
12375 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12376 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
12377 ifunc'ed strcspn.
12378 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12379 [EALIGN]: Removed.
12380 [END]: Likewise
12381 [STRSPN]: Define instead of the above to control symbol name.
12382 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
12383 New file.
12384 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
12385 Likewise.
12386 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
12387 Likewise.
12388 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
12389 Likewise.
12390 * sysdeps/powerpc/powerpc64/power8/strspn.S:
12391 [INITIAL_MASK]: New macro.
12392 [STRCSPN]: Likewise.
12393 [UPDATE_MASK]: Likewise.
12394 [USE_AS_STRCSPN]: Likewise.
12395
12396 2016-04-25 Florian Weimer <fweimer@redhat.com>
12397
12398 [BZ #19931]
12399 * stdio-common/tst-vfprintf-width-prec.c: New file.
12400 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
12401 (tests-special): Add tst-vfprintf-width-prec-mem.out.
12402 (generated): Add mtrace-related files.
12403 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
12404 (tst-%-mem.out): New pattern rule, replaces
12405 tst-printf-bz18872-mem.out.
12406 * stdio-common/vfprintf.c (vfprintf): When handling a precision
12407 specifier, deallocate any previously allocated work buffer.
12408
12409 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12410
12411 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
12412 Add nop before __startcontext, add explaining comments.
12413
12414 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
12415
12416 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
12417 any more. Notably since IPV6_PKTINFO has been reintroduced with a
12418 completely different API.
12419
12420 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
12421 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
12422 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
12423 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
12424 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
12425 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
12426 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
12427 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
12428 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
12429 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
12430
12431 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
12432
12433 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
12434
12435 2016-04-23 Mike Frysinger <vapier@gentoo.org>
12436
12437 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
12438 when it is the default of 0.
12439
12440 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12441
12442 * sysdeps/powerpc/locale-defines.sym: Add new macros.
12443 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12444 (sysdep_routines): Add new strcasestr targets.
12445 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12446 (__libc_ifunc_impl_list): Likewise.
12447 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
12448 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
12449 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
12450 * sysdeps/powerpc/powerpc64/power8/Makefile:
12451 New file to add strcasestr-ppc64 to sysdep_routines.
12452 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
12453 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
12454
12455 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
12456
12457 * benchtests/Makefile (wcsmbs-benchset): Include only for
12458 native builds and runs.
12459 (LOCALES): Likewise.
12460 (bench-build): Build timing-type here instead of the bench
12461 target. Generate locale only for native builds.
12462 * benchtests/README: Add note for cross-building.
12463
12464 * benchtests/Makefile (bench-clean): Clean up extra-objs.
12465
12466 * benchtests/README: Update README to include instructions on
12467 using bench-build.
12468
12469 * Makefile.in (bench-build): New target.
12470 * Rules (PHONY): Add bench-build target.
12471 * benchtests/Makefile (bench): Depend on bench-build.
12472 (bench-build): New target.
12473
12474 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12475
12476 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
12477 profil_reply_port.
12478 (profile_waiter): Do not initialize profil_reply_port.
12479 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
12480 frequency instead of tick length in us.
12481
12482 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
12483
12484 [BZ #18712]
12485 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
12486 (__old_mempcpy_small): Likewise.
12487 (__old_strcpy_small): Likewise.
12488 (__old_stpcpy_small): Likewise.
12489 (__old_strpbrk_c2): Fix compat symbol name.
12490 (__old_strpbrk_c3): Likewise.
12491 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
12492 (__mempcpy_small): Remove.
12493 (__strcpy_small): Remove.
12494 (__stpcpy_small): Remove.
12495
12496 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
12497
12498 [BZ #19400]
12499 * locale/iso-639.def: Add the Talossan/tzl language.
12500
12501 2016-04-16 Mike Frysinger <vapier@gentoo.org>
12502
12503 [BZ #16983]
12504 * locale/programs/ld-address.c (address_finish): Update postal_fmt
12505 comment. Add "ln" to strchr check on postal_fmt.
12506
12507 2016-04-16 Mike Frysinger <vapier@gentoo.org>
12508
12509 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
12510 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
12511 tel_dom_fmt.
12512
12513 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
12514
12515 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12516 (sysdep_routines): Added __strlen_power8.
12517 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
12518 __strlen_power8 entry.
12519 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
12520 Implementation for POWER8.
12521 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
12522 for __strlen_power8.
12523 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
12524 Implementation for POWER8.
12525
12526 2016-04-15 Mike Frysinger <vapier@gentoo.org>
12527
12528 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
12529
12530 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
12531
12532 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
12533 Goldmont and Airmont processors.
12534
12535 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
12536
12537 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
12538 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
12539 (__STRING2_SMALL_GET32): Remove.
12540 (memset): Remove.
12541 (__memset_1): Remove.
12542 (__memset_gc): Remove.
12543 (__mempcpy): Remove.
12544 (mempcpy): Remove.
12545 (__mempcpy_args): Remove.
12546 (strchr): Remove.
12547 (strcpy): Remove.
12548 (strcpy_args): Remove.
12549 (__stpcpy_args): Remove.
12550 (__strcmp_cc): Remove.
12551 (__strcmp_gc): Remove.
12552 (strstr): Remove.
12553
12554 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
12555
12556 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
12557 * nis/nis_call.c (nis_server_cache_add): Likewise.
12558
12559 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12560
12561 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
12562
12563 2016-04-14 Florian Weimer <fweimer@redhat.com>
12564
12565 * malloc/arena.c (__malloc_fork_lock_parent)
12566 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
12567 internal_function attribute.
12568
12569 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
12570
12571 * stdio-common/printf_fp.c (__printf_fp_l):
12572 Rename ___printf_fp_l to __printf_fp_l and
12573 remove strong alias. Use libc_hidden_def instead
12574 of ldbl_hidden_def macro.
12575
12576 2016-04-14 Florian Weimer <fweimer@redhat.com>
12577
12578 Remove malloc hooks from fork handler. They are no longer needed
12579 because malloc runs right before fork, and no malloc calls from
12580 other fork handlers are not possible anymore.
12581 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
12582 declarations.
12583 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
12584 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
12585 (atfork_recursive_cntr): Remove.
12586 (__malloc_fork_lock_parent): Do not override malloc hooks and
12587 thread_arena.
12588 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
12589 thread_arena.
12590 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
12591 thread_arena instead of save_arena.
12592
12593 2016-04-14 Florian Weimer <fweimer@redhat.com>
12594
12595 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
12596 (thread_atfork, thread_atfork_static): Remove.
12597 * sysdeps/mach/hurd/malloc-machine.h:
12598 (thread_atfork, thread_atfork_static): Remove.
12599
12600 2016-04-14 Florian Weimer <fweimer@redhat.com>
12601
12602 [BZ #19431]
12603 Run the malloc fork handler as late as possible to avoid deadlocks.
12604 * malloc/malloc-internal.h: New file.
12605 * malloc/malloc.c: Include it.
12606 * malloc/arena.c (ATFORK_MEM): Remove.
12607 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
12608 Update comment.
12609 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
12610 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
12611 Remove outdated comment.
12612 (ptmalloc_init): Do not call thread_atfork. Remove
12613 thread_atfork_static.
12614 * malloc/tst-malloc-fork-deadlock.c: New file.
12615 * Makefile (tests): Add tst-malloc-fork-deadlock.
12616 (tst-malloc-fork-deadlock): Link against libpthread.
12617 * manual/memory.texi (Aligned Memory Blocks): Update safety
12618 annotation comments.
12619 * sysdeps/nptl/fork.c (__libc_fork): Call
12620 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
12621 __malloc_fork_unlock_child.
12622 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
12623
12624 2016-04-14 Florian Weimer <fweimer@redhat.com>
12625
12626 [BZ #19613]
12627 Remove union wait.
12628 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
12629 (w_stopsig, w_stopval): Remove.
12630 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
12631 stat_loc argument.
12632 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
12633 (__WAIT_STATUS_DEFN): Remove.
12634 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12635 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
12636 (wait, wait3, wait4): Use int * for the stat_loc argument.
12637 * posix/wait.c (__wait): Likewise.
12638 * posix/wait3.c (__wait3): Likewise.
12639 * posix/wait4.c (__wait4): Likewise.
12640 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
12641 (__WAIT_STATUS_DEFN): Remove.
12642 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12643 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
12644 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
12645 argument.
12646 * sysdeps/posix/wait.c (__libc_wait): Likewise.
12647 * sysdeps/posix/wait3.c (__wait3): Likewise.
12648 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
12649 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12650 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
12651 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
12652 stat_loc argument.
12653 * manual/process.texi (BSD Wait Functions): Remove union wait.
12654
12655 2016-04-13 Andreas Schwab <schwab@suse.de>
12656
12657 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
12658 (test-extras): Add tst-tlsalign-vars.
12659 * math/Makefile: Wrap long lines.
12660 (libm-vec-test-wrappers): Define.
12661 (test-extras): Add $(libm-vec-test-wrappers).
12662 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
12663 * nss/Makefile (extra-test-objs): Add nss_test1.os.
12664 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
12665 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
12666 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
12667 (extra-test-objs): Add corresponding objects.
12668
12669 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
12670
12671 [BZ #19928]
12672 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
12673 New.
12674 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
12675 times of shared cache size.
12676 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
12677 (VMOVNT): New.
12678 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
12679 (VMOVNT): Likewise.
12680 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
12681 (VMOVNT): Likewise.
12682 (VMOVU): Changed to movups for smaller code sizes.
12683 (VMOVA): Changed to movaps for smaller code sizes.
12684 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
12685 comments.
12686 (PREFETCH): New.
12687 (PREFETCH_SIZE): Likewise.
12688 (PREFETCHED_LOAD_SIZE): Likewise.
12689 (PREFETCH_ONE_SET): Likewise.
12690 Rewrite to use forward and backward loops, which move 4 vector
12691 registers at a time, to support overlapping addresses and use
12692 non temporal store if size is above the threshold and there is
12693 no overlap between destination and source.
12694
12695 2016-04-12 Alex Smith <alex.smith@imgtec.com>
12696
12697 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
12698 Include dl-vdso.
12699 * sysdeps/unix/sysv/linux/mips/Versions: Add
12700 __vdso_clock_gettime.
12701 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
12702 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
12703 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
12704 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
12705 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
12706 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
12707 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12708 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12709 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12710
12711 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12712
12713 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
12714 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
12715 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12716 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12717 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12718 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12719 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12720 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12721 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
12722 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
12723 syscalls generation.
12724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12725 [__NR_pwrite64] (__NR_write): Remove define.
12726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12727 [__NR_pwrite64] (__NR_write): Remove define.
12728 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
12729 Remove define.
12730 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
12731 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
12732 Remove define.
12733 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
12734 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
12735 Linux implementation as base.
12736 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12737
12738 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
12739 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
12740 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12741 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12742 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
12743 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12744 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
12745 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
12746 syscall generation.
12747 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12748 [__NR_pread64] (__NR_pread): Remove define.
12749 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12750 [__NR_pread64] (__NR_pread): Likewise.
12751 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
12752 define.
12753 (__libc_pread): Use SYSCALL_LL macro on offset argument.
12754 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
12755 Remove define.
12756 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
12757 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
12758 Linux implementation as base.
12759 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12760 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12761 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12762
12763 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
12764 definition.
12765 (__ALIGNMENT_COUNT): Likewise.
12766 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
12767 (__ALIGNMENT_COUNT): Likewise.
12768 (SYSCALL_LL): New define.
12769 (SYSCALL_LL64): Likewise.
12770 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
12771 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
12772 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
12773 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
12774
12775 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12776 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
12777 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12778 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12779 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12780 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12781
12782 2016-04-11 Florian Weimer <fweimer@redhat.com>
12783
12784 [BZ #19865]
12785 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
12786 original buffer before retry.
12787
12788 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12789
12790 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
12791 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
12792 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
12793 GLRO(dl_auxv) list.
12794 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
12795 including <ldsodefs.h>.
12796 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
12797
12798 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
12799
12800 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
12801 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
12802 $(CPPFLAGS).
12803
12804 2016-04-09 Khem Raj <raj.khem@gmail.com>
12805
12806 [BZ #17950]
12807 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
12808 Add -mfpmath=387.
12809
12810 2016-04-09 Mike Frysinger <vapier@gentoo.org>
12811
12812 * sysdeps/i386/configure.ac: Change == to = when calling test.
12813 * sysdeps/x86_64/configure.ac: Likewise.
12814 * sysdeps/i386/configure: Regenerated.
12815 * sysdeps/x86_64/configure: Likewise.
12816
12817 2016-04-08 Mike Frysinger <vapier@gentoo.org>
12818
12819 [BZ #16137]
12820 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
12821 * benchtests/bench-strcoll.c (input_files): Likewise.
12822 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12823 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
12824 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
12825
12826 2016-04-08 Joseph Myers <joseph@codesourcery.com>
12827
12828 [BZ #19929]
12829 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
12830 [__USE_XOPEN2K8 && !__USE_GNU].
12831 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
12832 variable.
12833
12834 [BZ #19925]
12835 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
12836 define if [!__USE_MISC && __USE_XOPEN2K].
12837 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
12838 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
12839 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
12840 Likewise.
12841 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
12842 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
12843 variable.
12844 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12845
12846 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12847
12848 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12849 (sysdep_routines): Add new strspn targets.
12850 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12851 (__libc_ifunc_impl_list): Add strspn.
12852 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12853 New file.
12854 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
12855 Likewise.
12856 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
12857 Likewise.
12858 * sysdeps/powerpc/powerpc64/power8/strspn.S:
12859 Likewise.
12860
12861 2016-04-07 Florian Weimer <fweimer@redhat.com>
12862
12863 * misc/hsearch_r.c: Include <limits.h>.
12864
12865 2016-04-07 Florian Weimer <fweimer@redhat.com>
12866
12867 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
12868
12869 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
12870
12871 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12872 (MEMCPY_SYMBOL): New.
12873 (MEMPCPY_SYMBOL): Likewise.
12874 (MEMMOVE_CHK_SYMBOL): Likewise.
12875 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
12876 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
12877 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
12878 Provide alias for memcpy in libc.a and ld.so.
12879
12880 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
12881
12882 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12883 (MEMSET_CHK_SYMBOL): New. Define if not defined.
12884 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
12885 Disabled fro now.
12886 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
12887 symbols. Properly check USE_MULTIARCH on __memset symbols.
12888
12889 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
12890
12891 * benchtests/Makefile (string-benchset): Add memcpy-large,
12892 memmove-large and memset-large.
12893 * benchtests/bench-memcpy-large.c: New file.
12894 * benchtests/bench-memmove-large.c: Likewise.
12895 * benchtests/bench-memmove-large.c: Likewise.
12896 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
12897
12898 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
12899
12900 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
12901 32-bit displacement to avoid long nop between instructions.
12902
12903 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
12904
12905 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
12906 a comment on VMOVU and VMOVA.
12907
12908 2016-04-04 Florian Weimer <fweimer@redhat.com>
12909
12910 [BZ #19633]
12911 Use specified locale for number formatting in strfmon_l.
12912 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
12913 (__nl_lookup_word): New inline functions.
12914 * include/printf.h (__print_fp_l): Declare.
12915 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
12916 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
12917 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
12918 (___printf_fp): New function.
12919 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
12920 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
12921 * stdlib/tst-strfmon_l.c (do_test): New test.
12922 * stdlib/Makefile (tests): Add kt.
12923 (LOCALES): Build additional locales.
12924 (tst-strfmon_l.out): Require locales.
12925
12926 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
12927
12928 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
12929 if not in libc.
12930 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12931 Likewise.
12932 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
12933 Likewise.
12934 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12935 Likewise.
12936
12937 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
12938
12939 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12940 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
12941 with unaligned_erms.
12942 (__memmove_erms): Skip if source == destination.
12943 (__memmove_unaligned_erms): Don't check source == destination
12944 first.
12945
12946 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12947
12948 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
12949 bit_arch_Fast_Copy_Backward for Intel Core proessors.
12950
12951 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12952
12953 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
12954 * string/strspn.c (strspn): Likewise.
12955
12956 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12957
12958 * benchtests/bench-memset.c (do_test): Support 64-byte
12959 alignment.
12960 (test_main): Test 64-byte alignment.
12961
12962 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12963
12964 * benchtests/bench-memmove.c (test_main): Test 64-byte
12965 alignment.
12966
12967 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12968
12969 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
12970
12971 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12972
12973 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
12974 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
12975 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
12976
12977 * string/strpbrk.c (strpbrk): Rewrite function.
12978 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
12979 (__strpbrk_c2): Likewise.
12980 (__strpbrk_c3): Likewise.
12981 * string/string-inlines.c
12982 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
12983 Likewise.
12984 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
12985 Likewise.
12986
12987 * string/strspn.c (strcspn): Rewrite function.
12988 * string/bits/string2.h (strspn): Use __builtin_strcspn.
12989 (__strspn_c1): Remove inline function.
12990 (__strspn_c2): Likewise.
12991 (__strspn_c3): Likewise.
12992 * string/string-inlines.c
12993 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
12994 compatibility symbol.
12995 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
12996 Likewise.
12997 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
12998 Likewise.
12999 * string/string-inlines.c: Include generic version.
13000
13001 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
13002 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13003
13004 * string/Version (libc): Add GLIBC_2.24.
13005 * string/strcspn.c (strcspn): Rewrite function.
13006 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
13007 (__strcspn_c1): Remove inline function.
13008 (__strcspn_c2): Likewise.
13009 (__strcspn_c3): Likewise.
13010 * string/string-inline.c
13011 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
13012 compatibility symbol.
13013 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
13014 Likewise.
13015 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
13016 Likewise.
13017 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
13018
13019 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
13020
13021 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13022 Use ahi instead of aghi to adjust stack pointer.
13023
13024 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13025
13026 [BZ #19853]
13027 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
13028 TEST to take significant digits as second parameter.
13029 [TEST]: Redefine in terms of TEST_N taking 30
13030 significant digits.
13031 (do_test): Add test case to demonstrate precision
13032 failure in the ldbl-128ibm printf.
13033 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
13034 (__mpn_extract_long_double): Carry 7 extra intermediate
13035 bits of precision to aide computing difference when
13036 signs differ.
13037
13038 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
13039
13040 [BZ #19881]
13041 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13042 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
13043 memset-avx512-unaligned-erms.
13044 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13045 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
13046 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
13047 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
13048 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
13049 __memset_sse2_unaligned_erms, __memset_erms,
13050 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
13051 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
13052 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
13053 file.
13054 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
13055 Likewise.
13056 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
13057 Likewise.
13058 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
13059 Likewise.
13060
13061 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
13062
13063 [BZ #19776]
13064 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13065 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
13066 memmove-avx512-unaligned-erms.
13067 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13068 (__libc_ifunc_impl_list): Test
13069 __memmove_chk_avx512_unaligned_2,
13070 __memmove_chk_avx512_unaligned_erms,
13071 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
13072 __memmove_chk_sse2_unaligned_2,
13073 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
13074 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
13075 __memmove_avx512_unaligned_erms, __memmove_erms,
13076 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
13077 __memcpy_chk_avx512_unaligned_2,
13078 __memcpy_chk_avx512_unaligned_erms,
13079 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
13080 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
13081 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
13082 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
13083 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
13084 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
13085 __mempcpy_chk_avx512_unaligned_erms,
13086 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
13087 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
13088 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
13089 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
13090 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
13091 __mempcpy_erms.
13092 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
13093 file.
13094 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
13095 Likewise.
13096 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
13097 Likewise.
13098 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
13099 Likewise.
13100
13101 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
13102
13103 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
13104 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
13105 (La_s390_64_regs): Likewise.
13106 (La_s390_32_retval): Append vector register lrv_v24.
13107 (La_s390_64_retval): Likeweise.
13108 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13109 Handle extended structs La_s390_32_regs and La_s390_32_retval.
13110 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13111 Handle extended structs La_s390_64_regs and La_s390_64_retval.
13112
13113 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
13114
13115 [BZ #19916]
13116 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
13117 to create a non-vector/vector version for _dl_runtime_resolve and
13118 _dl_runtime_profile. Move implementation to ...
13119 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
13120 (_dl_runtime_resolve) Save and restore fpr/vrs.
13121 (_dl_runtime_profile) Save and restore vrs and fix some issues
13122 if _dl_call_pltexit is called.
13123 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
13124 Choose the correct resolver function if running on a machine with vx.
13125 * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
13126 to create a non-vector/vector version for _dl_runtime_resolve and
13127 _dl_runtime_profile. Move implementation to ...
13128 * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
13129 (_dl_runtime_resolve) Save and restore fpr/vrs.
13130 (_dl_runtime_profile) Save and restore vrs and fix some issues
13131 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
13132 Choose the correct resolver function if running on a machine with vx.
13133
13134 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13135
13136 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
13137
13138 2016-03-31 Florian Weimer <fweimer@redhat.com>
13139
13140 [BZ #19509]
13141 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
13142 skip_map != NULL.
13143 * elf/tst-dlsym-error.c: New file.
13144 * elf/Makefile (tests): Add tst-dlsym-error.
13145 (tst-dlsym-error): Link against libdl.
13146
13147 2016-03-29 Joseph Myers <joseph@codesourcery.com>
13148
13149 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13150 (__ASSUME_FUTIMESAT): Remove macro.
13151 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
13152
13153 2016-03-29 Florian Weimer <fweimer@redhat.com>
13154
13155 [BZ #19879]
13156 CVE-2016-3075
13157 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
13158 copy name.
13159
13160 2016-03-29 Florian Weimer <fweimer@redhat.com>
13161
13162 [BZ #19837]
13163 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
13164 error if parse_line fails.
13165
13166 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
13167
13168 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
13169 (index_cpu_ERMS): Likewise.
13170 (reg_ERMS): Likewise.
13171
13172 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
13173
13174 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
13175 PER_LINUX_FDPIC): Add.
13176
13177 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
13178
13179 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13180 memcpy-avx512-no-vzeroupper.
13181 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
13182 to ...
13183 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
13184 (MEMCPY): Don't define.
13185 (MEMCPY_CHK): Likewise.
13186 (MEMPCPY): Likewise.
13187 (MEMPCPY_CHK): Likewise.
13188 (MEMPCPY_CHK): Renamed to ...
13189 (__mempcpy_chk_avx512_no_vzeroupper): This.
13190 (MEMPCPY_CHK): Renamed to ...
13191 (__mempcpy_chk_avx512_no_vzeroupper): This.
13192 (MEMCPY_CHK): Renamed to ...
13193 (__memmove_chk_avx512_no_vzeroupper): This.
13194 (MEMCPY): Renamed to ...
13195 (__memmove_avx512_no_vzeroupper): This.
13196 (__memcpy_avx512_no_vzeroupper): New alias.
13197 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
13198
13199 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
13200
13201 [BZ #18858]
13202 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13203 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
13204 and mempcpy-avx512-no-vzeroupper.
13205 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
13206 New.
13207 (MEMPCPY): Likewise.
13208 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
13209 (MEMPCPY_CHK): New.
13210 (MEMPCPY): Likewise.
13211 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
13212 (MEMPCPY): Likewise.
13213 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
13214 (MEMPCPY): Likewise.
13215 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
13216 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
13217 Likewise.
13218 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
13219 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
13220
13221 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
13222 Amit Pawar <Amit.Pawar@amd.com>
13223
13224 [BZ #19583]
13225 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
13226 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
13227 processors. Set Fast_Copy_Backward for AMD Excavator
13228 processors.
13229 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
13230 New.
13231 (index_arch_Fast_Unaligned_Copy): Likewise.
13232 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
13233 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
13234
13235 2016-03-25 Florian Weimer <fweimer@redhat.com>
13236
13237 [BZ #19791]
13238 * resolv/res_send.c (close_and_return_error): New function.
13239 (send_dg): Initialize *resplen2 after reopen failure. Call
13240 close_and_return_error for error returns. On error paths without
13241 __res_iclose, initialze *resplen2 explicitly. Update comment for
13242 successful return.
13243
13244 2016-03-25 Florian Weimer <fweimer@redhat.com>
13245
13246 [BZ# 19860]
13247 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
13248 zero if the compiler does not provide the AVX512F bit.
13249
13250 2016-03-24 Joseph Myers <joseph@codesourcery.com>
13251
13252 [BZ #19848]
13253 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
13254 from 8 to 4.
13255 (__ieee754_powl): Compare integer exponent against 4 not 8.
13256 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
13257 from 8 to 4.
13258 (__ieee754_powl): Compare integer exponent against 4 not 8.
13259 * math/auto-libm-test-in: Add more tests of pow.
13260 * math/auto-libm-test-out: Regenerated.
13261 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13262 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13263
13264 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
13265
13266 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
13267 Make code unconditional.
13268 [!__NR_utimensat]: Remove conditional code.
13269 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
13270 Make code unconditional.
13271 [!__NR_utimensat]: Remove conditional code.
13272 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
13273 Make code unconditional.
13274 [!__NR_utimensat]: Remove conditional code.
13275
13276 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
13277
13278 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
13279 Make code unconditional.
13280
13281 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
13282
13283 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
13284 call-clobbered %eax on retry path.
13285 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13286
13287 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
13288
13289 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
13290 Don't set %rcx twice before "rep movsb".
13291
13292 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
13293
13294 [BZ #19583]
13295 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
13296 inline. Check family before setting family, model and
13297 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
13298 bits here.
13299 (init_cpu_features): Replace HAS_CPU_FEATURE and
13300 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
13301 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
13302 for Intel processors with usable AVX2. Call get_common_indeces
13303 for other processors with family == NULL.
13304 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
13305 (CPU_FEATURES_ARCH_P): Likewise.
13306 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
13307 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
13308
13309 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13310
13311 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
13312 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
13313 $(shared-thread-library) instead of hardcoding the path to libpthread.
13314
13315 2016-03-22 Joseph Myers <joseph@codesourcery.com>
13316
13317 * sysdeps/unix/sysv/linux/kernel-features.h
13318 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
13319 * sysdeps/unix/sysv/linux/getdents.c
13320 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
13321 [!have_no_getdents64_defined]: Likewise.
13322 (__GETDENTS): Remove __have_no_getdents64 conditional.
13323
13324 2016-03-21 Joseph Myers <joseph@codesourcery.com>
13325
13326 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
13327 Remove macro.
13328 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
13329 <kernel-features.h>.
13330 (signalfd) [__NR_signalfd4]: Make code unconditional.
13331 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
13332
13333 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13334
13335 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
13336 style.
13337
13338 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
13339
13340 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
13341 (__pthread_enable_asynccancel): Use JUMPTARGET to call
13342 __pthread_unwind.
13343 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13344 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
13345 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13346 (__condvar_cleanup1): Likewise.
13347
13348 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
13349
13350 [BZ #19822]
13351 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
13352 move it to the final $@ location.
13353
13354 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13355
13356 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
13357 access where posix_spawn success and pid argument is null.
13358 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
13359 success case.
13360
13361 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
13362
13363 * sysdeps/mach/hurd/i386/c++-types.data: New file.
13364
13365 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
13366
13367 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
13368 and __fcntl.
13369 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
13370 __fcntl only.
13371 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
13372 adding attribute_hidden to __open and __fcntl.
13373
13374 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
13375 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
13376 depend on libc-modules.h,
13377 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
13378
13379 2016-03-17 Joseph Myers <joseph@codesourcery.com>
13380
13381 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
13382 Remove macro.
13383 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
13384 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
13385 entry.
13386
13387 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
13388 Remove macro.
13389 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
13390 include <kernel-features.h>.
13391 [!__ASSUME_FALLOCATE]: Remove conditional code.
13392 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
13393
13394 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
13395
13396 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
13397 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
13398 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
13399 (_ZGVdN4v_cos_avx2): Likewise.
13400 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
13401 (_ZGVdN4v_cos): Likewise.
13402 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
13403 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
13404 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
13405 (_ZGVdN4v_exp_avx2): Likewise.
13406 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
13407 (_ZGVdN4v_exp): Likewise.
13408 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
13409 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
13410 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
13411 (_ZGVdN4v_log_avx2): Likewise.
13412 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
13413 (_ZGVdN4v_log): Likewise.
13414 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
13415 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
13416 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
13417 (_ZGVdN4vv_pow_avx2): Likewise.
13418 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
13419 (_ZGVdN4vv_pow): Likewise.
13420 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
13421 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
13422 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
13423 (_ZGVdN4v_sin_avx2): Likewise.
13424 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
13425 (_ZGVdN4v_sin): Likewise.
13426 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
13427 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
13428 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
13429 (_ZGVdN4vvv_sincos_avx2): Likewise.
13430 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
13431 (_ZGVdN4vvv_sincos): Likewise.
13432 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
13433 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
13434 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
13435 (_ZGVbN4v_cosf_sse4): Likewise.
13436 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
13437 (_ZGVdN8v_cosf_avx2): Likewise.
13438 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
13439 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
13440 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
13441 (_ZGVbN4v_expf_sse4): Likewise.
13442 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
13443 (_ZGVdN8v_expf_avx2): Likewise.
13444 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
13445 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
13446 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
13447 (_ZGVbN4v_logf_sse4): Likewise.
13448 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
13449 (_ZGVdN8v_logf_avx2): Likewise.
13450 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
13451 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
13452 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
13453 (_ZGVbN4vv_powf_sse4): Likewise.
13454 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
13455 (_ZGVdN8vv_powf_avx2): Likewise.
13456 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
13457 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
13458 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
13459 (_ZGVbN4vvv_sincosf_sse4): Likewise.
13460 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
13461 (_ZGVdN8vvv_sincosf_avx2): Likewise.
13462 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
13463 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
13464 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
13465 (_ZGVbN4v_sinf_sse4): Likewise.
13466 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
13467 (_ZGVdN8v_sinf_avx2): Likewise.
13468 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
13469 Use JUMPTARGET to call callee.
13470 (WRAPPER_IMPL_SSE2_ff): Likewise.
13471 (WRAPPER_IMPL_SSE2_fFF): Likewise.
13472 (WRAPPER_IMPL_AVX): Likewise.
13473 (WRAPPER_IMPL_AVX_ff): Likewise.
13474 (WRAPPER_IMPL_AVX_fFF): Likewise.
13475 (WRAPPER_IMPL_AVX512): Likewise.
13476 (WRAPPER_IMPL_AVX512_ff): Likewise.
13477 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
13478 Likewise.
13479 (WRAPPER_IMPL_SSE2_ff): Likewise.
13480 (WRAPPER_IMPL_SSE2_fFF): Likewise.
13481 (WRAPPER_IMPL_AVX): Likewise.
13482 (WRAPPER_IMPL_AVX_ff): Likewise.
13483 (WRAPPER_IMPL_AVX_fFF): Likewise.
13484 (WRAPPER_IMPL_AVX512): Likewise.
13485 (WRAPPER_IMPL_AVX512_ff): Likewise.
13486 (WRAPPER_IMPL_AVX512_fFF): Likewise.
13487
13488 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13489
13490 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
13491 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
13492 qualifier.
13493 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
13494 internal_function qualifiers.
13495
13496 2016-03-15 Carlos O'Donell <carlos@redhat.com>
13497
13498 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
13499 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
13500 * math/atest-exp.c (exp_mpn): Mark chk unused.
13501 * math/atest-exp2.c (exp_mpn): Likewise.
13502 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
13503 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
13504
13505 2016-03-15 Joseph Myers <joseph@codesourcery.com>
13506
13507 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
13508 Remove macro.
13509 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
13510 <kernel-features.h>.
13511 [__NR_ppoll]: Make code unconditional.
13512 [!__ASSUME_PPOLL]: Remove conditional code.
13513
13514 * sysdeps/unix/sysv/linux/kernel-features.h
13515 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
13516 (__ASSUME_ACCEPT4): Likewise.
13517 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13518 Define.
13519 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
13520 Likewise.
13521 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13522 Likewise.
13523 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
13524 Likewise.
13525 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
13526 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
13527 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13528 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13529 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13530 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13531 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13532 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13533 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13534 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13535 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13536 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13537 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13538 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13539 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13540 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13541 Likewise.
13542 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13543 Likewise.
13544 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13545 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13546 0x040300].
13547 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13548 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13549 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13550 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13551 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13552 0x030300].
13553 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
13554 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13555 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13556 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13557 0x040300].
13558 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13559 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13560 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13561 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13562 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13563 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13564 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13565 0x030300].
13566 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13567 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13568 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13569 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13570 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13571 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13572 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13573 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13574 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13575 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13576 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13577 0x040300].
13578 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13579 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13580 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13581 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13582 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13583 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13584 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13585 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13586 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13587 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13588 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13589 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13590 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13591 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13592 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
13593 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13594 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13595 Likewise.
13596 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13597 Likewise.
13598
13599 2016-03-15 Andreas Schwab <schwab@suse.de>
13600
13601 [BZ #19257]
13602 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
13603 statp->_u._ext.nscount as loop count.
13604
13605 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
13606
13607 * math/test-signgam-finite-c99.c: Also #undef
13608 __LIBC_INTERNAL_MATH_INLINES.
13609 * math/test-signgam-main.c: Likewise.
13610
13611 2016-03-14 Joseph Myers <joseph@codesourcery.com>
13612
13613 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
13614 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13615 (MADV_FREE): Likewise.
13616 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
13617 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
13618 EPOLLEXCLUSIVE.
13619
13620 2016-03-14 Carlos O'Donell <carlos@redhat.com>
13621
13622 * timezone/README: Remove mention of checktab.awk. Mention wiki
13623 SharedSourceFiles.
13624
13625 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
13626
13627 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
13628 WUNTRACED.
13629
13630 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13631
13632 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
13633 order to match the type of p when calling atomic_exchange_acq().
13634
13635 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13636
13637 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
13638 cfi_offset calls.
13639 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
13640 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
13641 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
13642 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
13643 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
13644
13645 2016-03-10 Carlos O'Donell <carlos@redhat.com>
13646
13647 * timezone/checktab.awk: Removed.
13648
13649 2016-03-10 Joseph Myers <joseph@codesourcery.com>
13650
13651 * manual/math.texi (Errors in Math Functions): Document relaxed
13652 accuracy goals for IBM long double.
13653 * math/libm-test.inc (test_exceptions): Always allow spurious
13654 "underflow" and "inexact" exceptions for IBM long double.
13655
13656 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
13657
13658 [BZ #19762]
13659 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13660 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
13661 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
13662 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
13663 (bit_arch_*): This for feature array.
13664 (bit_*): Renamed to ...
13665 (bit_cpu_*): This for cpu array.
13666 (index_*): Renamed to ...
13667 (index_arch_*): This for feature array.
13668 (index_*): Renamed to ...
13669 (index_cpu_*): This for cpu array.
13670 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
13671 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
13672 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
13673 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
13674 bit_##name with index_cpu_##name and bit_cpu_##name.
13675 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
13676 bit_##name with index_arch_##name and bit_arch_##name.
13677
13678 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
13679
13680 [BZ #19792]
13681 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
13682 Terminate FDE before return label.
13683
13684 2016-03-09 Joseph Myers <joseph@codesourcery.com>
13685
13686 [BZ #19790]
13687 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
13688 (rintl): Define as macro.
13689 [USE_AS_NEARBYINTL] (__rintl): Likewise.
13690 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
13691 of fesetround. Ensure results are evaluated before end of scope.
13692 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
13693 USE_AS_NEARBYINTL and include s_rintl.c.
13694 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
13695 Disable exception traps in new environment.
13696 (libc_feholdsetround_ppc_ctx): Likewise.
13697
13698 2016-03-08 Roland McGrath <roland@hack.frob.com>
13699
13700 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
13701 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
13702 (tst_audit10_aux) [__AVX512F__]: ... here.
13703
13704 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
13705
13706 * include/sys/auxv.h: New file.
13707
13708 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
13709
13710 [BZ #19759]
13711 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
13712
13713 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13714
13715 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
13716 operand modifier.
13717 (feclearexcept): Likewise.
13718
13719 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13720
13721 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
13722 to reflect the entire 32-bit HWCAP.
13723 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
13724 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
13725
13726 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
13727
13728 [BZ #19783]
13729 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
13730 $(test-via-rtld-prefix).
13731 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
13732
13733 2016-03-08 Florian Weimer <fweimer@redhat.com>
13734
13735 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
13736 union wait. Report any non-zero exit status as error.
13737
13738 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13739
13740 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
13741 configured with --enable-hardcoded-path-in-tests.
13742
13743 2016-03-08 Joseph Myers <joseph@codesourcery.com>
13744
13745 [BZ #19677]
13746 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13747 (__ieee754_remainderl): Put zero low parts in canonical form.
13748 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
13749 file. Based on
13750 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
13751 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
13752 with wrapper round test-fmodrem-ldbl-128ibm.c.
13753 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
13754 file.
13755 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
13756 Likewise.
13757 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
13758 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
13759
13760 2016-03-07 Florian Weimer <fweimer@redhat.com>
13761
13762 [BZ #19610]
13763 * elf/ldconfig.c (opt_link): Update comment.
13764 (options): Update help string for option -X.
13765 (search_dir): Unlink stale symbolic link only if updating symbolic
13766 links.
13767 * elf/tst-ldconfig-X.sh: New file.
13768 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
13769 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
13770
13771 2016-03-07 Andreas Schwab <schwab@suse.de>
13772
13773 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
13774 needed arguments.
13775
13776 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
13777
13778 [BZ #15333]
13779 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
13780 to lstat64.
13781
13782 2016-03-07 Florian Weimer <fweimer@redhat.com>
13783
13784 * libio/filedoalloc.c (isatty): Remove.
13785 (local_isatty): Add comment. Call __isatty directly.
13786 (_IO_file_doallocate): Update comment. Assume _LIBC.
13787 * libio/wfiledoalloc.c (isatty): Remove.
13788 (_IO_wfile_doallocate): Update comment.
13789
13790 2016-03-07 Florian Weimer <fweimer@redhat.com>
13791
13792 [BZ #19269]
13793 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
13794 tst-audit4-aux.o.
13795 (tst-audit10): Depend on tst-audit10-aux.o.
13796 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
13797 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
13798 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
13799 instead of inline AVX code.
13800 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
13801 instead of inline AVX512 code.
13802 * sysdeps/x86_64/tst-audit4-aux.c: New file
13803 * sysdeps/x86_64/tst-audit10-aux.c: New file
13804
13805 [BZ #19648]
13806 * test-skeleton.c (main): Do not set RLIMIT_DATA.
13807
13808 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13809
13810 [BZ #14750]
13811 [BZ #10354]
13812 [BZ #18433]
13813 * include/sched.h (__clone): Add hidden prototype.
13814 (__clone2): Likewise.
13815 * include/unistd.h (__dup): Likewise.
13816 * posix/Makefile (tests): Add tst-spawn2.
13817 * posix/tst-spawn2.c: New file.
13818 * sysdeps/posix/dup.c (__dup): Add hidden definition.
13819 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
13820 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
13821 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
13822 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
13823 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
13824 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
13825 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
13826 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
13827 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
13828 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
13829 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
13830 Likewise.
13831 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13832 Likewise.
13833 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
13834 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
13835 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
13836 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
13837 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
13838 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
13839 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
13840 * sysdeps/unix/sysv/linux/nptl-signals.h
13841 (____nptl_is_internal_signal): New function.
13842 * sysdeps/unix/sysv/linux/spawni.c: New file.
13843
13844 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
13845 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
13846 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
13847 * posix/tst-execvp2.c (do_test): Likewise.
13848 * posix/tst-execvp3.c (do_test): Likewise.
13849 * posix/tst-execvp4.c (do_test): Likewise.
13850 * posix/tst-execvpe1.c: New file.
13851 * posix/tst-execvpe2.c: Likewise.
13852 * posix/tst-execvpe3.c: Likewise.
13853 * posix/tst-execvpe4.c: Likewise.
13854 * posix/tst-execvpe5.c: Likewise.
13855 * posix/tst-execvpe6.c: Likewise.
13856
13857 [BZ #19534]
13858 * posix/execl.c (execl): Remove dynamic memory allocation.
13859 * posix/execle.c (execle): Likewise.
13860 * posix/execlp.c (execlp): Likewise.
13861
13862 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
13863
13864 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
13865 Replace .text with .text.avx512.
13866 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13867 Likewise.
13868
13869 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
13870
13871 * sysdeps/generic/libnsl.abilist: New file.
13872 * sysdeps/generic/libutil.abilist: New file.
13873
13874 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
13875
13876 [BZ #19762]
13877 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
13878 HAS_ARCH_FEATURE with Fast_Rep_String.
13879 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
13880 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
13881 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
13882 Likewise.
13883 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
13884 Likewise.
13885 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
13886 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
13887 Likewise.
13888 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
13889 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
13890 Likewise.
13891
13892 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
13893
13894 [BZ #19745]
13895 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13896 with *%rax in call.
13897
13898 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
13899
13900 [BZ #19745]
13901 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
13902 with *__libc_start_main@GOTPCREL(%rip) in call.
13903
13904 2016-03-04 Roland McGrath <roland@hack.frob.com>
13905
13906 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
13907 inside conditional for nonempty $(CXX).
13908
13909 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
13910 nonempty.
13911
13912 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
13913 to test for empty $(CXX) rather than $(CXX) of "no".
13914
13915 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
13916
13917 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
13918
13919 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
13920 H.J. Lu <hongjiu.lu@intel.com>
13921
13922 [BZ #18880]
13923 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
13924 instead of Slow_BSF, and also check for Fast_Copy_Backward to
13925 enable __memcpy_ssse3_back.
13926
13927 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
13928
13929 [BZ #19758]
13930 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13931 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
13932
13933 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13934
13935 [BZ #19490]
13936 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
13937 (__fentry__): Likewise.
13938
13939 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
13940
13941 * gmon/Makefile (noprof): Add $(sysdep_noprof).
13942 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
13943
13944 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
13945
13946 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
13947 __mcount_internal directly.
13948 (C_LABEL(__fentry__)): Likewise.
13949 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
13950 directly.
13951
13952 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
13953
13954 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13955 (__start_context): Call __setcontext directly.
13956
13957 2016-02-26 Joseph Myers <joseph@codesourcery.com>
13958
13959 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13960 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13961 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
13962 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13963 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13964 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13965 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
13966 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13967 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13968 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
13969 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13970 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13971 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13972 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13973 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13974 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13975 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
13976 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13977 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13978 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13979 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
13980 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13981 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13982 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13983 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
13984 Remove conditional code.
13985 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13986 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
13987 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13988 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13989 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
13990 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13991 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13992 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13993 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13994 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13995 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13996 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13997
13998 2016-02-24 Marko Myllynen <myllynen@redhat.com>
13999
14000 * NEWS (2.23): Fix typo in bug 19048 text.
14001
14002 2016-02-24 Carlos O'Donell <carlos@redhat.com>
14003
14004 [BZ #14259]
14005 * Makeconfig: Rename msgcatdir to localedir.
14006 Rename inst_msgcatdir to inst_localedir.
14007 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
14008 * config.make.in: Add localedir.
14009 * elf/Makefile ($(objpfx)sotruss): Use localedir.
14010 (ldd-rewrite): Likewise.
14011 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
14012 (install-others): Use inst_localedir.
14013 (CPPFLAGS): Use localedir.
14014 * locale/Makefile (locale-CPPFLAGS): Likewise.
14015 * po/Makefile (mo-installed): Use inst_localedir.
14016
14017 [BZ #19575]
14018 * localedata/charmaps/GB18030: Update comments regarding PAU to
14019 non-PUA mappings.
14020
14021 2016-02-24 Joseph Myers <joseph@codesourcery.com>
14022
14023 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
14024 test for header.
14025 * sysdeps/unix/sysv/linux/configure: Regenerated.
14026 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
14027 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
14028 Remove conditional code.
14029 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
14030
14031 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14032 Define to 3.2.0.
14033 (arch_minimum_kernel): Likewise.
14034 * sysdeps/unix/sysv/linux/configure: Regenerated.
14035 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
14036 Define to 2.6.32.
14037 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
14038 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
14039 (arch_minimum_kernel): Define to 2.6.32.
14040 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
14041 * README: Document Linux 3.2 requirement.
14042 * manual/install.texi (Linux): Document Linux 3.2 headers
14043 requirement.
14044 * INSTALL: Regenerated.
14045
14046 2016-02-24 Andreas Schwab <schwab@suse.de>
14047
14048 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
14049 if !NO_LONG_DOUBLE.
14050
14051 2016-02-22 Roland McGrath <roland@hack.frob.com>
14052
14053 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
14054 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
14055
14056 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
14057
14058 [BZ #19512]
14059 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
14060
14061 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14062
14063 * posix/tst-dir.c: Include libc-internal.h.
14064
14065 2016-02-20 Florian Weimer <fweimer@redhat.com>
14066
14067 [BZ #19056]
14068 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
14069 * manual/filesys.texi (Reading/Closing Directory): Mention
14070 deprecaion.
14071 * posix/tst-dir.c (main): Disable deprecation warning in test.
14072
14073 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
14074
14075 [BZ #19679]
14076 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
14077 Renamed to ...
14078 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
14079 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
14080 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
14081 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
14082 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
14083 * sysdeps/x86_64/dl-trampoline.h
14084 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
14085 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
14086
14087 2016-02-19 Mark Wielaard <mjw@redhat.com>
14088
14089 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
14090
14091 2016-02-19 Mark Wielaard <mjw@redhat.com>
14092
14093 * elf/elf.h (R_386_GOT32X): New.
14094 (R_386_NUM): Update.
14095 (R_X86_64_GOTPCRELX: New.
14096 (R_X86_64_REX_GOTPCRELX): New.
14097 (R_X86_64_NUM): Update.
14098
14099 2016-02-19 Mike Frysinger <vapier@gentoo.org>
14100
14101 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
14102
14103 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
14104
14105 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
14106 assign attr->stackaddr to it, and adjust it down when
14107 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
14108 [_STACK_GROWS_UP]: Delete assert.
14109 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
14110 Implement stack grows up logic.
14111 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
14112 stack grows up logic.
14113
14114 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14115
14116 * NEWS: Update with 2.24 template.
14117
14118 2016-02-19 Joseph Myers <joseph@codesourcery.com>
14119
14120 [BZ #19678]
14121 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14122 Ensure +0.0 is returned when taking the next value below the least
14123 positive value.
14124
14125 2016-02-19 Florian Weimer <fweimer@redhat.com>
14126
14127 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
14128 available. Do not define NO_THREADS.
14129 * malloc/malloc.c: Do not check NO_THREADS.
14130 * malloc/arena.c: Likewise.
14131
14132 2016-02-19 Florian Weimer <fweimer@redhat.com>
14133
14134 * malloc/malloc.c (__libc_mallinfo): Update comment.
14135 (struct malloc_par): Remove max_total_mem member, it was always 0.
14136 (int_mallinfo): Store 0 into usmblks (no functional change).
14137 * malloc/hooks.c (struct malloc_state): Document that
14138 max_total_mem is always 0.
14139 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
14140 always 0.
14141 * manual/memory.texi (Statistics of Malloc): Likewise.
14142
14143 2016-02-19 Florian Weimer <fweimer@redhat.com>
14144
14145 * malloc/malloc.c (sysmalloc): Do not update arena_max.
14146 * malloc/arena.c (arena_max): Remove.
14147 (heap_trim, _int_new_arena): Do not update arena_max.
14148
14149 2016-02-19 Florian Weimer <fweimer@redhat.com>
14150
14151 * resolv/res_init.c (res_ninit): Update comment.
14152
14153 2016-02-19 Florian Weimer <fweimer@redhat.com>
14154
14155 [BZ #19505]
14156 * posix/spawn_int.h: Add headers and include guard.
14157 (__spawn_valid_fd): New function.
14158 * posix/spawn_faction_addopen.c
14159 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
14160 * posix/spawn_faction_addclose.c
14161 (posix_spawn_file_actions_addclose): Likewise.
14162 * posix/spawn_faction_adddup2.c
14163 (posix_spawn_file_actions_adddup2): Likewise. Add check for
14164 second file descriptor.
14165 * posix/spawn_valid_fd.c: New file.
14166 * posix/tst-posix_spawn-fd.c: New file.
14167 * posix/Makefile (routines): Add spawn_valid_fd.
14168 (tests): Add tst-posix_spawn-fd.
14169
14170 2016-02-19 Florian Weimer <fweimer@redhat.com>
14171
14172 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
14173 (do_test): Limit the number of arenas, so that we can use fewer
14174 outer threads. Limit timeout to 3 seconds, in preparation for a
14175 larger TIMEOUT value.
14176
14177 2016-02-19 Joseph Myers <joseph@codesourcery.com>
14178
14179 [BZ #19674]
14180 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
14181 sign in overflowing and underflowing results when overflow or
14182 underflow is detected early. Include sign in result before rather
14183 than after scaling.
14184
14185 [BZ #19603]
14186 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
14187 (__ieee754_remainderl): Adjust sign of integer version of low part
14188 when taking absolute value of high part.
14189 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14190 * math/libm-test.inc (remainder_test_data): Add another test.
14191 (remquo_test_data): Likewise.
14192
14193 2016-02-18 Joseph Myers <joseph@codesourcery.com>
14194
14195 [BZ #19602]
14196 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
14197 equal high parts and both low parts zero specially.
14198 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
14199 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
14200 Add test-fmodl-ldbl-128ibm.
14201
14202 [BZ #19595]
14203 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
14204 common logic for all cases of shifting subnormal results. Do not
14205 insert sign bit in shifted mantissa. Always pass -1023 as biased
14206 exponent to ldbl_insert_mantissa in subnormal case.
14207
14208 [BZ #19594]
14209 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
14210 on high and low parts then adjust result and use
14211 ldbl_canonicalize_int if needed.
14212
14213 [BZ #19593]
14214 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
14215 on high part and __floor or __ceil on low part then use
14216 ldbl_canonicalize_int if needed.
14217
14218 [BZ #19592]
14219 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
14220 high and low parts then use ldbl_canonicalize_int if needed.
14221
14222 [BZ #17899]
14223 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
14224 New function.
14225 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
14226 on high and low parts then use ldbl_canonicalize_int if needed.
14227
14228 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14229
14230 * configure: Regenerated.
14231
14232 * po/libc.pot: Regenerated.
14233
14234 * po/be.po: Updated translation.
14235 * po/bg.po: Likewise.
14236 * po/ca.po: Likewise.
14237 * po/cs.po: Likewise.
14238 * po/da.po: Likewise.
14239 * po/el.po: Likewise.
14240 * po/eo.po: Likewise.
14241 * po/es.po: Likewise.
14242 * po/fi.po: Likewise.
14243 * po/fr.po: Likewise.
14244 * po/gl.po: Likewise.
14245 * po/hr.po: Likewise.
14246 * po/hu.po: Likewise.
14247 * po/ia.po: Likewise.
14248 * po/id.po: Likewise.
14249 * po/it.po: Likewise.
14250 * po/ja.po: Likewise.
14251 * po/lt.po: Likewise.
14252 * po/nb.po: Likewise.
14253 * po/nl.po: Likewise.
14254 * po/pt_BR.po: Likewise.
14255 * po/rw.po: Likewise.
14256 * po/sk.po: Likewise.
14257 * po/sl.po: Likewise.
14258 * po/sv.po: Likewise.
14259 * po/tr.po: Likewise.
14260 * po/zh_CN.po: Likewise.
14261 * po/zh_TW.po: Likewise.
14262
14263 * version.h (RELEAES): Set to "development".
14264 (VERSION): Set to 2.23.90.
14265
14266 * version.h (RELEASE): Set to "stable".
14267 (VERSION): Set to 2.23.
14268 * include/feature.h (__GLIBC_MINOR__): Set to 23.
14269
14270 * NEWS: Updated fixed bugs.
14271
14272 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
14273 Wilco Dijkstra <wdijkstr@arm.com>
14274
14275 [BZ #19462]
14276 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
14277 (_STRING_INLINE_unaligned): This.
14278 * include/string.h: Include <string_private.h>.
14279 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
14280 _STRING_INLINE_unaligned.
14281 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
14282 (_STRING_INLINE_unaligned): New.
14283 * sysdeps/aarch64/string_private.h: New file.
14284 * sysdeps/generic/string_private.h: Likewise.
14285 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
14286 * sysdeps/s390/string_private.h: Likewise.
14287 * sysdeps/x86/string_private.h: Likewise.
14288 * sysdeps/m68k/m680x0/m68020/bits/string.h
14289 (_STRING_ARCH_unaligned): Renamed to ...
14290 (_STRING_INLINE_unaligned): This.
14291 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
14292 to ...
14293 (_STRING_INLINE_unaligned): This.
14294 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
14295 to ...
14296 (_STRING_INLINE_unaligned): This.
14297 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
14298 to ...
14299 (_STRING_INLINE_unaligned): This.
14300
14301 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
14302 H.J. Lu <hongjiu.lu@intel.com>
14303
14304 [BZ #19590]
14305 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
14306 relocation.
14307
14308 2016-02-15 Carlos O'Donell <carlos@redhat.com>
14309
14310 [BZ #18665]
14311 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
14312 *herrno_p.
14313 (gaih_getanswer): Document functional behviour. Return tryagain
14314 if any result is tryagain.
14315 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
14316 when freed.
14317 * resolv/res_send.c: Add copyright text.
14318 (__libc_res_nsend): Document that MAXPACKET is expected.
14319 (send_vc): Document. Remove buffer reuse.
14320 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
14321 size of the buffer. Add Dprint for truncated UDP buffer.
14322
14323 2016-02-14 Carlos O'Donell <carlos@redhat.com>
14324
14325 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
14326 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
14327 * INSTALL: Regenerate.
14328
14329 2016-02-14 Jakub Jelinek <jakub@redhat.com>
14330 Jonathan Wakely <jwakely@redhat.com>
14331 Carlos O'Donell <carlos@redhat.com>
14332
14333 [BZ 19439]
14334 * math/Makefile (tests): Add test-math-isinff.
14335 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
14336 * math/bits/mathcalls.h [__USE_MISC]: Use
14337 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
14338 functions not in C++11 and which don't conflict e.g. isinff,
14339 isinfl etc.
14340 * math/test-math-isinff.cc: New file.
14341
14342 2016-02-12 Florian Weimer <fweimer@redhat.com>
14343
14344 * misc/bug18240.c (do_test): Set RLIMIT_AS.
14345
14346 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
14347
14348 [BZ #19529]
14349 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
14350
14351 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14352
14353 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14354
14355 2016-02-01 Joseph Myers <joseph@codesourcery.com>
14356
14357 [BZ #19550]
14358 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
14359 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
14360 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
14361 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
14362 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
14363 New syscall entry.
14364 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
14365 New syscall entry.
14366 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
14367 syscall entry.
14368
14369 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
14370
14371 [BZ #18240]
14372 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
14373 unsigned int wraparound.
14374
14375 2016-01-27 Florian Weimer <fweimer@redhat.com>
14376
14377 [BZ #18240]
14378 * misc/bug18240.c: New test.
14379 * misc/Makefile (tests): Add it.
14380
14381 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
14382 Joseph Myers <joseph@codesourcery.com>
14383
14384 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
14385 load in branch delay slot when less than a word of input left.
14386
14387 2016-01-27 Andreas Schwab <schwab@suse.de>
14388
14389 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
14390 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
14391 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
14392 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
14393
14394 2016-01-26 David S. Miller <davem@davemloft.net>
14395
14396 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
14397
14398 2016-01-25 David S. Miller <davem@davemloft.net>
14399
14400 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
14401 __sqrtl_finite.
14402 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
14403 instead using versioned_symbol.
14404 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
14405 of entries.
14406
14407 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
14408 __sqrtl_finite to GLIBC_2.23
14409
14410 2016-01-25 Ricchard Henderson <rth@redhat.com>
14411
14412 * sysdeps/alpha/fpu/libm-test-ulps: Update.
14413
14414 2016-01-25 Andreas Schwab <schwab@suse.de>
14415
14416 [BZ #17514]
14417 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
14418 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
14419 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
14420 * nptl/tst-mutex-errorcheck.c: New file.
14421
14422 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14423
14424 [BZ #18560]
14425 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
14426 (IPCOP_semop): Likewise.
14427 (IPCOP_semget): Likewise.
14428 (IPCOP_semctl): Likewise.
14429 (IPCOP_msgsnd): Likewise.
14430 (IPCOP_msgrcv): Likewise.
14431 (IPCOP_msgget): Likewise.
14432 (IPCOP_msgctl): Likewise.
14433 (IPCOP_shmat): Likewise.
14434 (IPCOP_shmdt): Likewise.
14435 (IPCOP_shmget): Likewise.
14436 (IPCOP_shmctl): Likewise.
14437
14438 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14439
14440 * string/tst-endian.c: Include <libc-internal.h>.
14441 (do_test): Ignore tautological-compare warnings around
14442 "htobeXX (beXXtoh (i)) != i" and
14443 "htoleXX (leXXtoh (i)) != i" if-statements.
14444
14445 2016-01-24 David S. Miller <davem@davemloft.net>
14446
14447 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
14448 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
14449 alias.
14450 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
14451 __sqrtl_finite.
14452
14453 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14454
14455 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
14456
14457 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
14458 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
14459 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14460
14461 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14462
14463 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
14464 (thread_func): Use new function to simplify barrier check.
14465 (do_test): Use new function to simplify checking barrier exit
14466 code, and actually join the child thread.
14467
14468 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14469
14470 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
14471 semicolon.
14472 (__libc_tend): Likewise.
14473 (__libc_tabort): Likewise.
14474
14475 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
14476
14477 * sysdeps/nios2/libm-test-ulps: Update.
14478 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
14479 (__gtsf2): Likewise.
14480 (__unorddf2): Likewise.
14481 (__unordsf2): Likewise.
14482 (__ledf2): Likewise.
14483
14484 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
14485
14486 * nis/nis_table.c (__follow_path): Disable diagnostic for
14487 uninitialized variable that is a false positive for gcc 4.7.
14488 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
14489
14490 2016-01-20 Roland McGrath <roland@hack.frob.com>
14491
14492 * sysdeps/nacl/lowlevellock-futex.h
14493 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
14494 Always evaluate PRIVATE argument.
14495
14496 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
14497
14498 [BZ #19490]
14499 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
14500 (pthread_cond_broadcast): Use ENTRY/END
14501 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
14502 (pthread_cond_signal): Likewise.
14503 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
14504 Likewise.
14505 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
14506 Likewise.
14507 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
14508 Likewise.
14509
14510 2016-01-20 Joseph Myers <joseph@codesourcery.com>
14511
14512 * sysdeps/ieee754/dbl-64/s_finite.c
14513 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
14514 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
14515 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
14516 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
14517 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
14518
14519 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
14520 (__gtsf2): Add as optional for libc.so.
14521 (__unordsf2): Likewise.
14522 (__signbit): Remove for libc.so.
14523 (__signbitl): Likewise.
14524
14525 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14526
14527 * iconvdata/bug-iconv11.c (test_ibm93x):
14528 Use %zu printf format specifier for size_t argument.
14529
14530 2016-01-19 Joseph Myers <joseph@codesourcery.com>
14531
14532 * math/gen-libm-test.pl (parse_ulps): Do not reduce
14533 already-recorded ulps.
14534 * sysdeps/arm/libm-test-ulps: Regenerated.
14535 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14536 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14537 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14538
14539 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
14540 Paul Pluzhnikov <ppluzhnikov@google.com>
14541
14542 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
14543 assembler not supporting AVX-512.
14544
14545 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
14546
14547 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14548
14549 2016-01-18 Joseph Myers <joseph@codesourcery.com>
14550
14551 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14552 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14553
14554 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14555
14556 * sysdeps/arm/libm-test-ulps: Regenerated.
14557
14558 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14559
14560 [BZ #19451]
14561 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
14562
14563 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14564
14565 [BZ #19486]
14566 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
14567 * sysdeps/generic/fix-fp-int-convert-overflow.h
14568 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
14569 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
14570 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
14571 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
14572 Likewise.
14573 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
14574 Avoid conversions to long int where inexact exceptions
14575 could be raised.
14576 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
14577 Likewise.
14578 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
14579 Avoid conversions to long long int where inexact exceptions
14580 could be raised.
14581 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
14582 Likewise.
14583
14584 2016-01-17 Mike Frysinger <vapier@gentoo.org>
14585
14586 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
14587 * configure: Regenerated.
14588
14589 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
14590
14591 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
14592
14593 2016-01-16 Mike Frysinger <vapier@gentoo.org>
14594
14595 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
14596 outside of comment.
14597
14598 2016-01-15 Torvald Riegel <triegel@redhat.com>
14599
14600 * nptl/tst-barrier1.c: Add description on first line.
14601 * nptl/tst-barrier2.c: Likewise.
14602 * nptl/tst-barrier3.c: Likewise.
14603 * nptl/tst-barrier4.c: Likewise.
14604 * nptl/tst-barrier5.c: Likewise.
14605
14606 2016-01-15 Torvald Riegel <triegel@redhat.com>
14607
14608 [BZ #18868]
14609 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
14610
14611 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
14612
14613 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
14614 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14615 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
14616 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
14617 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
14618 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
14619 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14620 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14621 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14622 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14623 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14624
14625 2016-01-15 Torvald Riegel <triegel@redhat.com>
14626
14627 [BZ #13065]
14628 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
14629 new implementation.
14630 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
14631 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
14632 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
14633 (BARRIER_IN_THRESHOLD): New macro.
14634 * nptl/pthread_barrierattr_setpshared.c
14635 (pthread_barrierattr_setpshared): Clean up.
14636 * nptl/tst-barrier4.c: Correct comment.
14637 * nptl/tst-barrier5.c: New file.
14638 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
14639 (gen-as-const-headers): Remove lowlevelbarrier.sym.
14640 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
14641 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
14642 * nptl/lowlevelbarrier.sym: Remove.
14643 * nptl/DESIGN-barrier.txt: Remove.
14644 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
14645 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
14646 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
14647 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
14648 error.
14649 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
14650 implementation.
14651
14652 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14653
14654 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
14655 (do_child): Mask SIGRTMIN while thr is running.
14656
14657 2016-01-15 Martin Sebor <msebor@redhat.com>
14658
14659 [BZ #19432]
14660 * iconvdata/Makefile: Add bug-iconv11.
14661 * iconvdata/bug-iconv11.c: New test.
14662 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
14663 * iconvdata/ibm933.c: Same.
14664 * iconvdata/ibm935.c: Same.
14665 * iconvdata/ibm937.c: Same.
14666 * iconvdata/ibm939.c: Same.
14667
14668 2016-01-15 Martin Sebor <msebor@redhat.com>
14669
14670 [BZ #19443]
14671 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
14672 [DEBUG] (_ufc_set_bits): Declare used.
14673 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
14674 [DEBUG] (print_all): Declare used.
14675 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
14676 operands of the ternary ?: expression to target type.
14677 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
14678 calling the undeclared abort.
14679 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
14680
14681 2016-01-15 Martin Sebor <msebor@redhat.com>
14682
14683 [BZ #18755]
14684 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
14685 warnings.
14686 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
14687 (__gai_create_helper_thread): Same.
14688 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
14689 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
14690 to suppress -Wmaybe-uninitialized warnings.
14691
14692 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
14693
14694 [BZ #19465]
14695 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
14696 inside if.
14697 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14698 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14699 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14700
14701 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
14702
14703 [BZ #19466]
14704 * time/tst-mktime2.c (time_t_max): Removed.
14705 (time_t_min): Likewise.
14706 (TYPE_SIGNED): New.
14707 (TYPE_MINIMUM): Likewise.
14708 (TYPE_MAXIMUM): Likewise.
14709 (TIME_T_MIN): Likewise.
14710 (TIME_T_MAX): Likewise.
14711 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
14712 and TIME_T_MIN.
14713 (do_test): Likewise.
14714
14715 2016-01-14 Amit Pawar <amit.pawar@amd.com>
14716
14717 [BZ #19467]
14718 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14719 index_Fast_Unaligned_Load flag for Excavator family CPUs.
14720
14721 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
14722
14723 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
14724
14725 2016-01-13 Carlos O'Donell <carlos@redhat.com>
14726
14727 * benchtests/Makefile (PYTHON): Define.
14728 (bench-func): Use $(PYTHON) to run python scripts.
14729 ($(objpfx)bench-%.c): Likewise.
14730
14731 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
14732
14733 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
14734 leading slash when `file_name' is "/".
14735
14736 2016-01-12 Joseph Myers <joseph@codesourcery.com>
14737
14738 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
14739 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
14740 Likewise.
14741 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
14742 Likewise.
14743 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
14744 Likewise.
14745 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
14746 enum constant and macro.
14747 (PTRACE_SETSIGMASK): Likewise.
14748 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14749 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14750 (PTRACE_GETSIGMASK): Likewise.
14751 (PTRACE_SETSIGMASK): Likewise.
14752 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14753 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
14754 Likewise.
14755 (PTRACE_SETSIGMASK): Likewise.
14756 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14757 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14758 (PTRACE_GETSIGMASK): Likewise.
14759 (PTRACE_SETSIGMASK): Likewise.
14760 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14761 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
14762 Likewise.
14763 (PTRACE_SETSIGMASK): Likewise.
14764 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14765 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
14766 Likewise.
14767 (PTRACE_SETSIGMASK): Likewise.
14768 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14769 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
14770 Likewise.
14771 (PTRACE_SETSIGMASK): Likewise.
14772 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14773
14774 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
14775 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14776
14777 [BZ #19439]
14778 * math/bits/mathcalls.h
14779 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
14780 prototype.
14781 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
14782
14783 2016-01-11 Andreas Schwab <schwab@suse.de>
14784
14785 [BZ #19253]
14786 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
14787 cache when TZDEFRULES was used.
14788 * time/tst-tzname.c: New file.
14789 * time/Makefile (test): Add tst-tzname.
14790 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
14791 * timezone/Makefile (test-zones): Add $(posixrules-file).
14792 ($(testdata)/$(posixrules-file)): New rule.
14793
14794 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
14795
14796 Fix doc quoting problems with Texinfo 5
14797 Without this change, in the info file output, Texinfo 5 quotes code
14798 in text with undirected single quotes 'like this' and generates
14799 code examples that with many PDF readers cannot be cut out of PDFs
14800 and pasted into code.
14801 * manual/libc.texinfo: Configure the libc manual like the GNU
14802 Emacs manual, by using @documentencoding and setting
14803 txicodequoteundirected and txicodequotebacktick. This way,
14804 Texinfo 5 quotes code in text with directed single quotes ‘like
14805 this’ and produces examples that can be cut out of PDFs. This
14806 change causes Texinfo 5 to generate info files that contain UTF-8
14807 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
14808 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
14809
14810 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14811
14812 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
14813 __libc_tabort, __libc_tend): New wrappers that enforce compiler
14814 barriers to their respective compiler built-ins.
14815 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
14816 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
14817 * sysdeps/powerpc/sysdep.h: Likewise.
14818 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
14819 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
14820 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
14821
14822 2016-01-08 Marko Myllynen <myllynen@redhat.com>
14823
14824 * scripts/config.guess: Revert previous shebang change.
14825 * scripts/config.sub: Likewise.
14826 * scripts/mkinstalldirs: Likewise.
14827
14828 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14829
14830 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
14831 PPC_FEATURE2_HAS_IEEE128.
14832 * sysdeps/powerpc/dl-procinfo.c:
14833 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
14834
14835 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
14836
14837 [BZ #19415]
14838 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
14839 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
14840 (_dl_lookup_address): Rewrite using function resolver trampoline.
14841 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
14842 two bits in address.
14843
14844 2016-01-07 Mike Frysinger <vapier@gentoo.org>
14845
14846 * longlong.h: Change !__SHMEDIA__ to
14847 (!defined (__SHMEDIA__) || !__SHMEDIA__).
14848 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
14849
14850 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
14851 Joseph Myers <joseph@codesourcery.com>
14852 Mark Shinwell <shinwell@codesourcery.com>
14853 Andrew Stubbs <ams@codesourcery.com>
14854 Rich Felker <dalias@libc.org>
14855
14856 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
14857
14858 2016-01-07 Richard Henderson <rth@redhat.com>
14859
14860 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
14861
14862 2016-01-07 Mike Frysinger <vapier@gentoo.org>
14863
14864 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
14865 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
14866 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14867 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14868 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
14869
14870 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
14871 Joseph Myers <joseph@codesourcery.com>
14872
14873 * timezone/private.h: Update from tzcode 2015g.
14874 * timezone/tzfile.h: Likewise.
14875 * timezone/tzselect.ksh: Likewise.
14876 * timezone/zdump.c: Likewise.
14877 * timezone/zic.c: Likewise.
14878 * timezone/ialloc.c: Remove file.
14879 * timezone/scheck.c: Likewise.
14880 * timezone/Makefile (extra-objs): Remove variable.
14881 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
14882 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
14883 -Wno-maybe-uninitialized.
14884 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
14885 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
14886 (CFLAGS-ialloc.c): Remove variable.
14887 (CFLAGS-scheck.c): Likewise.
14888 * timezone/README: Update list of files from tzcode.
14889
14890 2016-01-07 Khem Raj <raj.khem@gmail.com>
14891
14892 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
14893 instead of __fxprintf when _LIBC is undefined.
14894
14895 2016-01-07 Marko Myllynen <myllynen@redhat.com>
14896
14897 * catgets/test-gencat.sh: Remove space after shebang.
14898 * conform/GlibcConform.pm: Likewise.
14899 * conform/check-header-lists.sh: Likewise.
14900 * conform/conformtest.pl: Likewise.
14901 * conform/linknamespace.pl: Likewise.
14902 * conform/list-header-symbols.pl: Likewise.
14903 * debug/catchsegv.sh: Likewise.
14904 * elf/genrtldtbl.awk: Likewise.
14905 * elf/tst-pathopt.sh: Likewise.
14906 * elf/tst-rtld-load-self.sh: Likewise.
14907 * grp/tst_fgetgrent.sh: Likewise.
14908 * iconvdata/gen-8bit-gap-1.sh: Likewise.
14909 * iconvdata/gen-8bit-gap.sh: Likewise.
14910 * iconvdata/gen-8bit.sh: Likewise.
14911 * iconvdata/run-iconv-test.sh: Likewise.
14912 * intl/tst-gettext.sh: Likewise.
14913 * intl/tst-gettext2.sh: Likewise.
14914 * intl/tst-gettext4.sh: Likewise.
14915 * intl/tst-gettext6.sh: Likewise.
14916 * intl/tst-translit.sh: Likewise.
14917 * io/ftwtest-sh: Likewise.
14918 * libio/test-freopen.sh: Likewise.
14919 * locale/gen-translit.pl: Likewise.
14920 * malloc/tst-mtrace.sh: Likewise.
14921 * manual/check-safety.sh: Likewise.
14922 * manual/libc-texinfo.sh: Likewise.
14923 * manual/tsort.awk: Likewise.
14924 * manual/xtract-typefun.awk: Likewise.
14925 * nptl/tst-cancel-wrappers.sh: Likewise.
14926 * nptl/tst-tls6.sh: Likewise.
14927 * posix/globtest.sh: Likewise.
14928 * posix/tst-getconf.sh: Likewise.
14929 * posix/wordexp-tst.sh: Likewise.
14930 * scripts/check-c++-types.sh: Likewise.
14931 * scripts/check-local-headers.sh: Likewise.
14932 * scripts/config.guess: Likewise.
14933 * scripts/config.sub: Likewise.
14934 * scripts/cpp: Likewise.
14935 * scripts/cross-test-ssh.sh: Likewise.
14936 * scripts/documented.sh: Likewise.
14937 * scripts/evaluate-test.sh: Likewise.
14938 * scripts/gen-libc-abis: Likewise.
14939 * scripts/gen-sorted.awk: Likewise.
14940 * scripts/list-fixed-bugs.py: Likewise.
14941 * scripts/merge-test-results.sh: Likewise.
14942 * scripts/mkinstalldirs: Likewise.
14943 * scripts/rellns-sh: Likewise.
14944 * scripts/test-installation.pl: Likewise.
14945 * scripts/update-copyrights: Likewise.
14946 * stdio-common/tst-printf.sh: Likewise.
14947 * stdio-common/tst-unbputc.sh: Likewise.
14948 * stdlib/tst-fmtmsg.sh: Likewise.
14949 * stdlib/tst-setcontext3.sh: Likewise.
14950 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
14951 * sysdeps/unix/make-syscalls.sh: Likewise.
14952
14953 2016-01-06 John David Anglin <dave.anglin@bell.net>
14954
14955 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
14956 asm stw with atomic_exchange_rel. Add explanatory comment.
14957 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
14958 Likewise.
14959
14960 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
14961
14962 [BZ #19122]
14963 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
14964 * sysdeps/generic/dl-unistd.h: New file.
14965 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
14966
14967 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
14968
14969 [BZ #19122]
14970 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
14971 * sysdeps/generic/dl-mman.h: New file.
14972 * sysdeps/mach/hurd/dl-mman.h: Likewise.
14973
14974 2016-01-05 Joseph Myers <joseph@codesourcery.com>
14975
14976 * manual/texinfo.tex: Update to version 2016-01-04.21 with
14977 trailing whitespace removed.
14978 * scripts/config.guess: Update to version 2016-01-01.
14979 * scripts/config.sub: Update to version 2016-01-01.
14980 * scripts/move-if-change: Update from gnulib.
14981
14982 2016-01-04 Anton Blanchard <anton@samba.org>
14983
14984 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
14985 for array indices.
14986 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
14987
14988 2016-01-04 Joseph Myers <joseph@codesourcery.com>
14989
14990 * NEWS: Update copyright dates.
14991 * catgets/gencat.c (print_version): Likewise.
14992 * csu/version.c (banner): Likewise.
14993 * debug/catchsegv.sh: Likewise.
14994 * debug/pcprofiledump.c (print_version): Likewise.
14995 * debug/xtrace.sh (do_version): Likewise.
14996 * elf/ldconfig.c (print_version): Likewise.
14997 * elf/ldd.bash.in: Likewise.
14998 * elf/pldd.c (print_version): Likewise.
14999 * elf/sotruss.sh: Likewise.
15000 * elf/sprof.c (print_version): Likewise.
15001 * iconv/iconv_prog.c (print_version): Likewise.
15002 * iconv/iconvconfig.c (print_version): Likewise.
15003 * locale/programs/locale.c (print_version): Likewise.
15004 * locale/programs/localedef.c (print_version): Likewise.
15005 * login/programs/pt_chown.c (print_version): Likewise.
15006 * malloc/memusage.sh (do_version): Likewise.
15007 * malloc/memusagestat.c (print_version): Likewise.
15008 * malloc/mtrace.pl: Likewise.
15009 * manual/libc.texinfo: Likewise.
15010 * nptl/version.c (banner): Likewise.
15011 * nscd/nscd.c (print_version): Likewise.
15012 * nss/getent.c (print_version): Likewise.
15013 * nss/makedb.c (print_version): Likewise.
15014 * posix/getconf.c (main): Likewise.
15015 * scripts/test-installation.pl: Likewise.
15016 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
15017
15018 * All files with FSF copyright notices: Update copyright dates
15019 using scripts/update-copyrights.
15020 * intl/plural.c: Regenerated.
15021 * locale/programs/charmap-kw.h: Likewise.
15022 * locale/programs/locfile-kw.h: Likewise.
15023
15024 2016-01-02 Helge Deller <deller@gmx.de>
15025
15026 [BZ #19285]
15027 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
15028 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
15029 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
15030 (MADV_xxK_PAGES): Remove.
15031
15032 2016-01-01 Mike Frysinger <vapier@gentoo.org>
15033
15034 [BZ #15421]
15035 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
15036 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
15037 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
15038 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
15039
15040 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
15041
15042 [BZ #19408]
15043 * sysdeps/unix/sysv/linux/personality.c: New file.
15044 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
15045 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
15046 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
15047 (sysdep_routines): Add personality.
15048 (tests): Add tst-personality.
15049 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
15050 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
15051 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
15052 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
15053 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
15054 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
15055 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
15056 Likewise.
15057 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
15058 Likewise.
15059 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
15060 Likewise.
15061 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
15062 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
15063 Likewise.
15064
15065 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
15066
15067 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
15068 (PATH_ARM_SYSTYPE): Remove.
15069 (PATH_CPUINFO): Likewise.
15070 (IO_BASE_FOOTBRIDGE): Likewise.
15071 (IO_SHIFT_FOOTBRIDGE): Likewise.
15072 (struct platform): Likewise.
15073 (init_iosys): Remove compatibility code for 2.4 kernels.
15074 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
15075
15076 2015-12-29 Florian Weimer <fweimer@redhat.com>
15077
15078 * malloc/tst-malloc-thread-fail.c: New file.
15079 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
15080 (tst-malloc-thread-fail): Link against libpthread.
15081
15082 2015-12-29 Mike Frysinger <vapier@gentoo.org>
15083
15084 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
15085 (get_parser): New function.
15086 (main): New function.
15087
15088 2015-12-29 Rob Wu <rob@robwu.nl>
15089
15090 [BZ #19369]
15091 * resolv/res_init.c (__res_vinit): Reset defdname before use.
15092
15093 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
15094
15095 [BZ #19270]
15096 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
15097
15098 2015-12-28 Mike Frysinger <vapier@gentoo.org>
15099
15100 [BZ #15421]
15101 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
15102
15103 2015-12-23 Torvald Riegel <triegel@redhat.com>
15104
15105 [BZ #13690]
15106 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
15107 after releasing it.
15108 (__lll_robust_unlock): Likewise.
15109 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15110 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
15111 (lll_robust_unlock): Likewise.
15112 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
15113 Prevent warnings in callers.
15114
15115 2015-12-23 Florian Weimer <fweimer@redhat.com>
15116
15117 * malloc/arena.c (list_lock): Update comment.
15118
15119 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15120
15121 * sysdeps/powerpc/hwcapinfo.c: Export symbol
15122 __parse_hwcap_and_convert_at_platform to libc.a.
15123
15124 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15125
15126 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
15127 platform and feature support for POWER9.
15128 * sysdeps/powerpc/dl-procinfo.h: Likewise.
15129 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
15130 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
15131 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
15132 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
15133 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
15134 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
15135 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
15136
15137 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15138
15139 Harmonize generic stdio-lock support with nptl
15140
15141 This fixes build when _IO_funlockfile is a macro, fixes build where
15142 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
15143 stack unwind.
15144
15145 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
15146 _IO_release_lock ): Use cleanup attribute on new
15147 _IO_acquire_lock_file variable instead of assuming that
15148 _IO_release_lock will be called.
15149 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
15150 _IO_acquire_lock_needs_exceptions_enabled.
15151 (_IO_acquire_lock_clear_flags2): New macro.
15152
15153 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15154
15155 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
15156
15157 2015-12-21 Florian Weimer <fweimer@redhat.com>
15158
15159 [BZ #19182]
15160 * malloc/arena.c (list_lock): Document lock ordering requirements.
15161 (free_list_lock): New lock.
15162 (ptmalloc_lock_all): Comment on free_list_lock.
15163 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
15164 (detach_arena): Update comment. free_list_lock is now needed.
15165 (_int_new_arena): Use free_list_lock around detach_arena call.
15166 Acquire arena lock after list_lock. Add comment, including FIXME
15167 about incorrect synchronization.
15168 (get_free_list): Switch to free_list_lock.
15169 (reused_arena): Acquire free_list_lock around detach_arena call
15170 and attached threads counter update. Add two FIXMEs about
15171 incorrect synchronization.
15172 (arena_thread_freeres): Switch to free_list_lock.
15173 * malloc/malloc.c (struct malloc_state): Update comments to
15174 mention free_list_lock.
15175
15176 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
15177
15178 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
15179 Remove functions.
15180 (sloww, sloww1): Accept argument to offset quadrant.
15181 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
15182 quadrant.
15183 (__sin, __cos): Consolidate common code into new functions.
15184 (reduce_sincos_1, do_sincos_1): New functions.
15185 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
15186
15187 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
15188 code to new functions.
15189 (reduce_sincos_2, do_sincos_2): New functions.
15190 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
15191
15192 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
15193 common code for sincos.
15194 (__cos) [!IN_SINCOS]: Likewise.
15195 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
15196 New function.
15197 (__sincos): Use it.
15198
15199 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
15200
15201 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
15202 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
15203 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15204
15205 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
15206
15207 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
15208 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
15209 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
15210 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
15211 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15212 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
15213 index_Prefer_No_VZEROUPPER): New feature.
15214 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
15215 Prefer_No_VZEROUPPER for Knights Landing.
15216
15217 015-12-18 Torvald Riegel <triegel@redhat.com>
15218
15219 * math/atest-exp2.c (mp_exp_m1): Remove.
15220
15221 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15222
15223 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
15224 syscalls.
15225 (__SYSCALL0): New macro.
15226 (__SYSCALL1): Likewise.
15227 (__SYSCALL2): Likewise.
15228 (__SYSCALL3): Likewise.
15229 (__SYSCALL4): Likewise.
15230 (__SYSCALL5): Likewise.
15231 (__SYSCALL6): Likewise.
15232 (__SYSCALL_CONCAT_X): Likewise.
15233 (__SYSCALL_CONCAT): Likewise.
15234 (__SYSCALL_DIST): Likewise.
15235 (__SYSCALL_CALL): Likewise.
15236
15237 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
15238
15239 [BZ #19363]
15240 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
15241
15242 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15243
15244 [BZ #19375]
15245 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
15246 negative subnormals.
15247
15248 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
15249
15250 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
15251 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
15252 (INTERNAL_SYSCALL_NCS): Use it.
15253 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
15254
15255 2015-12-16 Florian Weimer <fweimer@redhat.com>
15256
15257 [BZ #19243]
15258 * malloc/arena.c (get_free_list): Remove assert and adjust
15259 reference count handling. Add comment about reused_arena
15260 interaction.
15261 (reused_arena): Add comments abount get_free_list interaction.
15262 * malloc/tst-malloc-thread-exit.c: New file.
15263 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
15264 (tst-malloc-thread-exit): Link against libpthread.
15265
15266 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
15267
15268 [BZ #19367]
15269 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
15270 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
15271 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
15272 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
15273 (index_Prefer_MAP_32BIT_EXEC): Likewise.
15274
15275 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
15276
15277 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
15278 Silvermont optimizations for Knights Landing.
15279
15280 2015-12-15 Andreas Schwab <schwab@suse.de>
15281
15282 [BZ #17197]
15283 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
15284 immediately after emitting SI.
15285 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
15286 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
15287 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
15288 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
15289 * iconvdata/bug-iconv10.c: New file.
15290 * iconvdata/Makefile (tests): Add bug-iconv10.
15291 ($(objpfx)bug-iconv10.out): New rule.
15292
15293 2015-12-15 Florian Weimer <fweimer@redhat.com>
15294
15295 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
15296 aliasing violation.
15297
15298 2015-12-14 Joseph Myers <joseph@codesourcery.com>
15299
15300 [BZ #18472]
15301 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
15302 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
15303 conditionals for them.
15304 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
15305 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
15306 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
15307 sys/kdaemon.h.
15308 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
15309 compat-only syscall, obsoleted in glibc 2.23.
15310 (create_module): Likewise.
15311 (get_kernel_syms): Likewise.
15312 (query_module): Likewise.
15313 (uselib): Likewise.
15314 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
15315
15316 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
15317
15318 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
15319 <linux/version.h>.
15320 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
15321 conditional code.
15322 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
15323 and ioshift_name initialization.
15324
15325 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
15326
15327 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15328 Fix indentation.
15329
15330 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
15331
15332 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
15333
15334 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
15335
15336 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
15337
15338 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
15339 Jakub Wilk <jwilk@debian.org>
15340
15341 [BZ #19347]
15342 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
15343 to change the group of the device to the tty group.
15344
15345 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
15346
15347 Split large string section; add truncation advice
15348 * manual/examples/strncat.c: Remove.
15349 This example was misleading, as the code would have undefined
15350 behavior if "hello" was longer than SIZE. Anyway, the manual
15351 shouldn't encourage strncpy+strncat for this sort of thing.
15352 * manual/string.texi (Copying Strings and Arrays): Split into
15353 three sections Copying Strings and Arrays, Concatenating Strings,
15354 and Truncating Strings, as this section was way too long. All
15355 cross-referenced changed. Add advice about string-truncation
15356 functions. Remove misleading strncat example.
15357
15358 2015-12-10 Carlos O'Donell <carlos@redhat.com>
15359
15360 * manual/nss.texi (NSS Modules Interface): Document
15361 NSS_STATUS_NOTFOUND and SUCCESS.
15362
15363 2015-12-09 Mike FABIAN <mfabian@redhat.com>
15364
15365 [BZ 18568]
15366 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
15367 201505L, for Unicode 8.
15368
15369 2015-12-09 Carlos O'Donell <carlos@redhat.com>
15370
15371 * locale/C-translit.h: Regenerate.
15372
15373 2015-12-09 Mike FABIAN <mfabian@redhat.com>
15374
15375 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
15376 and U+0153.
15377
15378 2015-12-09 Joseph Myers <joseph@codesourcery.com>
15379
15380 [BZ #19351]
15381 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
15382 expanding log(1+z), compare z rather than its square with epsilon
15383 to determine when to avoid evaluating the expansion.
15384
15385 [BZ #19350]
15386 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
15387 Increase overflow threshold.
15388
15389 [BZ #19349]
15390 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
15391 when small.
15392
15393 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15394 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
15395 New macro.
15396 [__LINUX_KERNEL_VERSION >= 0x040300]
15397 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15398 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
15399 Likewise.
15400 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
15401 Likewise.
15402 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
15403 Likewise.
15404 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
15405 Likewise.
15406 [__LINUX_KERNEL_VERSION >= 0x040300]
15407 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
15408 [__LINUX_KERNEL_VERSION >= 0x040300]
15409 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15410 [__LINUX_KERNEL_VERSION >= 0x040300]
15411 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15412 [__LINUX_KERNEL_VERSION >= 0x040300]
15413 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15414 [__LINUX_KERNEL_VERSION >= 0x040300]
15415 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15416 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
15417 Likewise.
15418 [__LINUX_KERNEL_VERSION >= 0x040300]
15419 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
15420 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15421 Likewise.
15422 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
15423 Likewise.
15424 [__LINUX_KERNEL_VERSION >= 0x040300]
15425 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
15426 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15427 Likewise.
15428 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
15429 Likewise.
15430 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15431 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
15432 Likewise.
15433 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
15434 Likewise.
15435 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
15436 Likewise.
15437 [__LINUX_KERNEL_VERSION >= 0x040300]
15438 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15439 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
15440 Likewise.
15441 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
15442 Likewise.
15443 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
15444 Likewise.
15445 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
15446 Likewise.
15447 [__LINUX_KERNEL_VERSION >= 0x040300]
15448 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
15449 [__LINUX_KERNEL_VERSION >= 0x040300]
15450 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15451 [__LINUX_KERNEL_VERSION >= 0x040300]
15452 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15453 [__LINUX_KERNEL_VERSION >= 0x040300]
15454 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15455 [__LINUX_KERNEL_VERSION >= 0x040300]
15456 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15457 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
15458 Likewise.
15459 [__LINUX_KERNEL_VERSION >= 0x040300]
15460 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
15461 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15462 Likewise.
15463 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
15464 Likewise.
15465 [__LINUX_KERNEL_VERSION >= 0x040300]
15466 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
15467 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15468 Likewise.
15469 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
15470 Likewise.
15471 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15472 (__ASSUME_SOCKET_SYSCALL): Likewise.
15473 (__ASSUME_BIND_SYSCALL): Likewise.
15474 (__ASSUME_CONNECT_SYSCALL): Likewise.
15475 (__ASSUME_LISTEN_SYSCALL): Likewise.
15476 (__ASSUME_ACCEPT_SYSCALL): Likewise.
15477 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15478 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15479 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15480 (__ASSUME_SEND_SYSCALL): Likewise.
15481 (__ASSUME_SENDTO_SYSCALL): Likewise.
15482 (__ASSUME_RECV_SYSCALL): Likewise.
15483 (__ASSUME_RECVFROM_SYSCALL): Likewise.
15484 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
15485 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15486 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15487 (__ASSUME_SENDMSG_SYSCALL): Likewise.
15488 (__ASSUME_RECVMSG_SYSCALL): Likewise.
15489 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15490 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
15491 Likewise.
15492 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
15493 Likewise.
15494 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
15495 Likewise.
15496 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
15497 Likewise.
15498 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
15499 Likewise.
15500 [__LINUX_KERNEL_VERSION >= 0x020625]
15501 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15502 [__LINUX_KERNEL_VERSION >= 0x020625]
15503 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15504 [__LINUX_KERNEL_VERSION >= 0x020625]
15505 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15506 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
15507 Likewise.
15508 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
15509 Likewise.
15510 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
15511 Likewise.
15512 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
15513 Likewise.
15514 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
15515 Likewise.
15516 [__LINUX_KERNEL_VERSION >= 0x020625]
15517 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15518 [__LINUX_KERNEL_VERSION >= 0x020625]
15519 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15520 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
15521 Likewise.
15522 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
15523 Likewise.
15524
15525 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
15526
15527 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
15528 record the current if the current ABI and CPU support the FP64
15529 extension.
15530 (has-modd-spreg): Define to record the current if the current ABI and
15531 CPU support 32-bit floating point values in odd FPU registers.
15532 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15533 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
15534 $(has-modd-spreg) equals yes.
15535 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
15536 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
15537 $(has-modd-spreg) equal yes.
15538
15539 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
15540
15541 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
15542 basename.
15543
15544 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
15545
15546 * benchtests/Makefile (bench-math): Move ffs and ffsll...
15547 (bench-string): ... here.
15548 (bench): Add bench-string.
15549 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
15550 to *-benchset to reflect what they are.
15551 (benchset): Adjust.
15552
15553 * benchtests/sincos-inputs: Add inputs from sin-inputs and
15554 cos-inputs.
15555
15556 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
15557
15558 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
15559 __attribute__ ((__simd__)) for vector math function declarations.
15560
15561 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
15562
15563 Fix typo in strncat, wcsncat manual entries
15564 * manual/string.texi (Copying and Concatenation): Fix typos in
15565 sample implementations of strncat and wcsncat, by having them use
15566 the old value of the destination length, not the new one.
15567
15568 2015-12-04 Joseph Myers <joseph@codesourcery.com>
15569
15570 [BZ #16961]
15571 [BZ #16962]
15572 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
15573 string on the stack for strtod.
15574 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
15575 a string on the stack for strtof.
15576 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
15577 constructing a string on the stack for strtold.
15578 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
15579 __strtold_nan to GLIBC_PRIVATE.
15580 * math/test-nan-overflow.c: New file.
15581 * math/test-nan-payload.c: Likewise.
15582 * math/Makefile (tests): Add test-nan-overflow and
15583 test-nan-payload.
15584
15585 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
15586
15587 Consistency about byte vs character in string.texi
15588 * manual/string.texi (String and Array Utilities):
15589 Distinguish more carefully among bytes, multibyte characters,
15590 and wide characters. Use "byte" when talking about C 'char',
15591 to distinguish it more clearly from multibyte characters.
15592 Say "wide character" or "multibyte character" instead of
15593 "character", when a wide or multibyte character is intended.
15594 Similarly for "multibyte string" versus "string".
15595 Define these terms more carefully.
15596
15597 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
15598
15599 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
15600 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
15601 Likewise.
15602 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15603 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15604 * sysdeps/sh/math_private.h: New file.
15605 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
15606 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
15607 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
15608 long double function name.
15609 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15610 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15611 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15612 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15613 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
15615 Remove __finitel, __isinfl, and __isnanl.
15616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15617 Likewise.
15618 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15619 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15620 Remove __finitel.
15621 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15622 Likewise.
15623 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15624
15625 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
15626
15627 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
15628 installed libmvec_nonshared.a.
15629
15630 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15631
15632 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
15633 (sysdep_routines): Likewise.
15634 (sysdep-rtld-routines): Likewise.
15635 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
15636 [$(subdir) = nptl](tests-static): test-get_hwcap-static
15637 * sysdeps/powerpc/Versions: Added new
15638 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
15639 * sysdeps/powerpc/hwcapinfo.c: New file.
15640 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
15641 and parse hwcap, hwcap2 and platform number information.
15642 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
15643 to store HWCAP+HWCAP2 and platform number.
15644 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
15645 for HWCAP+HWCAP2 and platform number in the TCB.
15646 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
15647 the HWCAP, HWCAP2 and platform number in the TCB.
15648 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
15649 (TLS_INIT_TP): Included calls to add the hwcap and
15650 at_platform values in the TCB in TP initialization.
15651 (TLS_DEFINE_INIT_TP): Likewise.
15652 (THREAD_GET_HWCAP): New macro.
15653 (THREAD_SET_HWCAP): Likewise.
15654 (THREAD_GET_AT_PLATFORM): Likewise.
15655 (THREAD_SET_AT_PLATFORM): Likewise.
15656 * sysdeps/powerpc/powerpc32/dl-machine.h:
15657 (dl_platform_init): New function that calls
15658 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
15659 powerpc32.
15660 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
15661 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
15662 this functionality, static linking case.
15663 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
15664 linking case.
15665 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
15666 __parse_hwcap_and_convert_at_platform for the static linking case.
15667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
15668 Included the new __parse_hwcap_and_convert_at_platform symbol in the
15669 ABI list for GLIBC 2.23.
15670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
15671 Likewise.
15672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
15673 Likewise.
15674
15675 2015-12-02 Ludovic Courtès <ludo@gnu.org>
15676
15677 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
15678 * configure: Regenerate.
15679 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
15680 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
15681
15682 2015-12-02 Carlos O'Donell <carlos@redhat.com>
15683
15684 * iconvdata/ibm930.c: Add comment explaining encoding uses.
15685 * iconvdata/ibm933.c: Likewise.
15686 * iconvdata/ibm935.c: Likewise.
15687 * iconvdata/ibm937.c: Likewise.
15688 * iconvdata/ibm939.c: Likewise.
15689
15690 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15691
15692 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
15693 pthread_join.
15694 * nptl/tst-cancel21.c (tf): Likewise.
15695
15696 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
15697
15698 [BZ #19313]
15699 * bits/typesizes.h (__CPU_MASK_TYPE): New.
15700 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15701 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15702 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
15703 Likewise.
15704 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
15705 Likewise.
15706 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
15707 Likewise.
15708 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
15709 Likewise.
15710 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
15711 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
15712 unsigned long int with __CPU_MASK_TYPE.
15713
15714 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
15715
15716 * sysdeps/aarch64/libm-test-ulps: Regenerated.
15717
15718 2015-12-01 Joseph Myers <joseph@codesourcery.com>
15719
15720 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
15721 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
15722 t512.x.
15723 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
15724
15725 2015-11-30 Amit Pawar <amit.pawar@amd.com>
15726
15727 [BZ #19214]
15728 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
15729 argument to return extended model. Update family and model
15730 with extended family and model when family == 0x0f.
15731 (init_cpu_features): Updated.
15732
15733 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15734
15735 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
15736 signed off_t, so 32bit bigger than 2GiB values are fine actually.
15737
15738 * sysdeps/mach/hurd/mmap64.c: New file.
15739
15740 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
15741
15742 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
15743 rights for its main user thread in NEWTASK.
15744
15745 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
15746
15747 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
15748 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
15749
15750 2015-11-27 Carlos O'Donell <carlos@redhat.com>
15751
15752 [BZ #14259]
15753 * Makeconfig: Rename localedir to complocaledir.
15754 Rename inst_localedir to inst_complocaledir.
15755 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
15756 * config.make.in: Use complocaledir and libc_cv_complocaledir.
15757 * configure.ac: Use libc_cv_complocaledir.
15758 * configure: Regenerate.
15759 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
15760 -DCOMPLOCALEDIR.
15761 * locale/findlocale.c: Use COMPLOCALEDIR.
15762 * locale/loadarchive.c: Likewise.
15763 * locale/programs/locale.c: Likewise.
15764 * locale/programs/localedef.c: Likewise.
15765 * locale/programs/locarchive.c: Likewise.
15766 * localedata/Makefile: Use inst_complocaledir.
15767 * sysdeps/gnu/configure: Regenerate.
15768 * sysdeps/hppa/configure: Regenerate.
15769 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15770 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15771 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15772 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15773 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15774 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15775 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15776
15777 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
15778
15779 [BZ #19058]
15780 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
15781 AS_NEEDED.
15782 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
15783 workaround.
15784 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
15785 libmvec-static-only-routines): Added new file.
15786 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
15787
15788 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15789
15790 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
15791 of interrupted RPC instead of restoring it.
15792
15793 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
15794 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
15795 libc_hidden_def.
15796 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
15797 into initialized data instead of common. Define rtld_hidden_data_def.
15798 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
15799 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
15800 libc_hidden_def.
15801 (if_freenameindex): Add libc_hidden_weak.
15802 (if_nameindex): Add libc_hidden_weak.
15803 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
15804 __open64.
15805 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
15806 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
15807 * sysdeps/mach/nanosleep.c: Include <time.h>
15808 (__nanosleep): Rename to __libc_nanosleep.
15809 (__nanosleep): Add weak_alias.
15810 (nanosleep): Update alias.
15811
15812 2015-11-24 Joseph Myers <joseph@codesourcery.com>
15813
15814 * stdlib/strtod_nan.c: New file.
15815 * stdlib/strtod_nan_double.h: Likewise.
15816 * stdlib/strtod_nan_float.h: Likewise.
15817 * stdlib/strtod_nan_main.c: Likewise.
15818 * stdlib/strtod_nan_narrow.h: Likewise.
15819 * stdlib/strtod_nan_wide.h: Likewise.
15820 * stdlib/strtof_nan.c: Likewise.
15821 * stdlib/strtold_nan.c: Likewise.
15822 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
15823 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
15824 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
15825 * wcsmbs/wcstod_nan.c: Likewise.
15826 * wcsmbs/wcstof_nan.c: Likewise.
15827 * wcsmbs/wcstold_nan.c: Likewise.
15828 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
15829 strtold_nan.
15830 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
15831 wcstof_nan.
15832 * include/stdlib.h (__strtof_nan): Declare and use
15833 libc_hidden_proto.
15834 (__strtod_nan): Likewise.
15835 (__strtold_nan): Likewise.
15836 (__wcstof_nan): Likewise.
15837 (__wcstod_nan): Likewise.
15838 (__wcstold_nan): Likewise.
15839 * include/wchar.h (____wcstoull_l_internal): Declare.
15840 * stdlib/strtod_l.c: Do not include <ieee754.h>.
15841 (____strtoull_l_internal): Remove declaration.
15842 (STRTOF_NAN): Define macro.
15843 (SET_MANTISSA): Remove macro.
15844 (STRTOULL): Likewise.
15845 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
15846 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
15847 (STRTOF_NAN): Define macro.
15848 (SET_MANTISSA): Remove macro.
15849 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
15850 (SET_MANTISSA): Remove macro.
15851 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
15852 macro.
15853 (SET_MANTISSA): Remove macro.
15854 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
15855 macro.
15856 (SET_MANTISSA): Remove macro.
15857 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
15858 (SET_MANTISSA): Remove macro.
15859 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
15860 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
15861 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
15862
15863 [BZ #19266]
15864 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
15865 upper case and lower case letters inside NAN(), not using TOLOWER.
15866 * stdlib/tst-strtod-nan-locale-main.c: New file.
15867 * stdlib/tst-strtod-nan-locale.c: Likewise.
15868 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
15869 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
15870 Depend on $(gen-locales).
15871 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
15872 * wcsmbs/tst-wcstod-nan-locale.c: New file.
15873 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
15874 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
15875 Depend on $(gen-locales).
15876 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
15877
15878 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
15879
15880 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
15881
15882 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
15883 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
15884 __finitel, __isinfl, and __isnanl.
15885 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15886 Likewise.
15887 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15888 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
15889 __finitel.
15890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15891 Likewise.
15892 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15893
15894 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
15895
15896 * malloc/memusage.c (me): Remove redundant getenv call.
15897
15898 2015-10-24 Florian Weimer <fweimer@redhat.com>
15899
15900 [BZ #19143]
15901 [BZ #19164]
15902 * nptl/check-cpuset.h: Remove.
15903 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
15904 Remove CPU set size check.
15905 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
15906 Likewise.
15907 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
15908 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15909 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
15910 (__pthread_setaffinity_new): Remove CPU set size check.
15911 * sysdeps/unix/sysv/linux/sched_setaffinity.c
15912 (__kernel_cpumask_size): Remove.
15913 (__sched_setaffinity_new): Remove CPU set size check.
15914 * manual/threads.texi (Default Thread Attributes): Remove stale
15915 reference to check_cpuset_attr, determine_cpumask_size in comment.
15916 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
15917 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
15918 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
15919 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
15920 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
15921 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
15922 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
15923 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
15924 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
15925 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
15926 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
15927 skeleton test file.
15928 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
15929 tst-affinity-pid.
15930
15931 2015-11-24 Florian Weimer <fweimer@redhat.com>
15932
15933 * scripts/update-abilist.sh: New file.
15934 * Makefile (+subdir_targets): Add subdir_update-all-abi.
15935 * Makerules (update-all-abi-%, update-all-abi)
15936 (subdir_update-all-abi): New targets.
15937 * elf/Makefile (update-all-abi): New target.
15938
15939 2015-11-24 Florian Weimer <fweimer@redhat.com>
15940
15941 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
15942 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
15943 (__libc_lock_define_initialized): Use it.
15944 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
15945 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
15946 * malloc/malloc.c (main_arena): Likewise.
15947 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15948 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15949
15950 2015-11-23 Joseph Myers <joseph@codesourcery.com>
15951
15952 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15953 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
15954 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15955 (PTRACE_O_MASK): Update value.
15956 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
15957 New value in enum __ptrace_setoptions.
15958 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15959 (PTRACE_O_MASK): Update value.
15960 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15961 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15962 (PTRACE_O_MASK): Update value.
15963 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15964 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15965 (PTRACE_O_MASK): Update value.
15966 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15967 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15968 (PTRACE_O_MASK): Update value.
15969 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
15970 New value in enum __ptrace_setoptions.
15971 (PTRACE_O_MASK): Update value.
15972 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
15973 New value in enum __ptrace_setoptions.
15974 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15975 (PTRACE_O_MASK): Update value.
15976
15977 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
15978 New macro.
15979 (PACKET_AUXDATA): Likewise.
15980 (PACKET_ORIGDEV): Likewise.
15981 (PACKET_VERSION): Likewise.
15982 (PACKET_HDRLEN): Likewise.
15983 (PACKET_RESERVE): Likewise.
15984 (PACKET_TX_RING): Likewise.
15985 (PACKET_LOSS): Likewise.
15986 (PACKET_VNET_HDR): Likewise.
15987 (PACKET_TX_TIMESTAMP): Likewise.
15988 (PACKET_TIMESTAMP): Likewise.
15989 (PACKET_FANOUT): Likewise.
15990 (PACKET_TX_HAS_OFF): Likewise.
15991 (PACKET_QDISC_BYPASS): Likewise.
15992 (PACKET_ROLLOVER_STATS): Likewise.
15993 (PACKET_FANOUT_DATA): Likewise.
15994 (PACKET_MR_UNICAST): Likewise.
15995
15996 [BZ #19242]
15997 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
15998 (TOUPPER): Likewise.
15999 * stdlib/tst-strtol-locale-main.c: New file.
16000 * stdlib/tst-strtol-locale.c: Likewise.
16001 * stdlib/Makefile (tests): Add tst-strtol-locale.
16002 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
16003 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
16004 Depend on $(gen-locales).
16005 * wcsmbs/tst-wcstol-locale.c: New file.
16006 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
16007 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
16008 tr_TR.ISO-8859-9.
16009 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
16010 Depend on $(gen-locales).
16011
16012 2015-11-20 Roland McGrath <roland@hack.frob.com>
16013
16014 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
16015 __glibc_likely instead of __builtin_expect. After falling back to
16016 dyncode_create in a non-ET_DYN case, use the allocate_code_data
16017 system interface to register the code pages as occupied.
16018
16019 2015-11-20 Joseph Myers <joseph@codesourcery.com>
16020
16021 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16022 [!ARM_MATH_PRIVATE_H].
16023 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
16024 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16025 [!HPPA_MATH_PRIVATE_H].
16026 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
16027 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
16028 to [!I386_MATH_PRIVATE_H].
16029 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
16030 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
16031 Change guard to [!M68K_MATH_PRIVATE_H].
16032 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
16033 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
16034 guard to [!MICROBLAZE_MATH_PRIVATE_H].
16035 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
16036 macro.
16037 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16038 [!MIPS_MATH_PRIVATE_H].
16039 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
16040 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16041 [!NIO2_MATH_PRIVATE_H].
16042 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
16043 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16044 [!TILE_MATH_PRIVATE_H].
16045 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
16046
16047 [BZ #15421]
16048 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
16049 initialize with 0 and define as weak alias of __signgam.
16050 * include/math.h [!_ISOMAC] (__signgam): Declare.
16051 * math/Makefile (libm-calls): Add w_lgamma_compat.
16052 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
16053 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
16054 test-signgam-ullong-init.
16055 (tests-static): Add test-signgam-uchar-static,
16056 test-signgam-uchar-init-static, test-signgam-uint-static,
16057 test-signgam-uint-init-static, test-signgam-ullong-static and
16058 test-signgam-ullong-init-static.
16059 (CFLAGS-test-signgam-uchar.c): New variable.
16060 (CFLAGS-test-signgam-uchar-init.c): Likewise.
16061 (CFLAGS-test-signgam-uchar-static.c): Likewise.
16062 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
16063 (CFLAGS-test-signgam-uint.c): Likewise.
16064 (CFLAGS-test-signgam-uint-init.c): Likewise.
16065 (CFLAGS-test-signgam-uint-static.c): Likewise.
16066 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
16067 (CFLAGS-test-signgam-ullong.c): Likewise.
16068 (CFLAGS-test-signgam-ullong-init.c): Likewise.
16069 (CFLAGS-test-signgam-ullong-static.c): Likewise.
16070 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
16071 * math/Versions (libm): Add GLIBC_2.23.
16072 * math/lgamma-compat.h: New file.
16073 * math/test-signgam-main.c: Likewise.
16074 * math/test-signgam-uchar-init-static.c: Likewise.
16075 * math/test-signgam-uchar-init.c: Likewise.
16076 * math/test-signgam-uchar-static.c: Likewise.
16077 * math/test-signgam-uchar.c: Likewise.
16078 * math/test-signgam-uint-init-static.c: Likewise.
16079 * math/test-signgam-uint-init.c: Likewise.
16080 * math/test-signgam-uint-static.c: Likewise.
16081 * math/test-signgam-uint.c: Likewise.
16082 * math/test-signgam-ullong-init-static.c: Likewise.
16083 * math/test-signgam-ullong-init.c: Likewise.
16084 * math/test-signgam-ullong-static.c: Likewise.
16085 * math/test-signgam-ullong.c: Likewise.
16086 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
16087 wrapper of w_lgamma_main.c.
16088 * math/w_lgamma_compat.c: New file.
16089 * math/w_lgamma_compatf.c: Likewise.
16090 * math/w_lgamma_compatl.c: Likewise.
16091 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
16092 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
16093 defining compatibility symbols.
16094 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
16095 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
16096 wrapper of w_lgammaf_main.c.
16097 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
16098 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
16099 defining compatibility symbols.
16100 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
16101 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
16102 wrapper of w_lgammal_main.c.
16103 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
16104 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
16105 defining compatibility symbols.
16106 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
16107 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
16108 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
16109 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
16110 <lgamma-compat.h>.
16111 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
16112 (__ieee754_gamma): Define as alias.
16113 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
16114 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
16115 <lgamma-compat.h>.
16116 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
16117 (__ieee754_gammaf): Define as alias.
16118 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
16119 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
16120 <lgamma-compat.h>.
16121 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
16122 (__ieee754_gammal): Define as alias.
16123 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
16124 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
16125 <math/w_lgamma_compat.c>.
16126 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
16127 Define as alias of __lgamma_compat and use in defining lgammal.
16128 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
16129 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
16130 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
16131 (USE_AS_COMPAT): New macro.
16132 (LGAMMA_OLD_VER): Undefine and redefine.
16133 (lgammal): Do not define here.
16134 (gammal): Only define here if [GAMMA_ALIAS].
16135 * conform/linknamespace.pl (@whitelist): Remove signgam.
16136 * sysdeps/nacl/libm.abilist: Update.
16137 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16138 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16139 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16140 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16141 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16142 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16143 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16144 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16145 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16146 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16147 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16148 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16149 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16150 Likewise.
16151 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16152 Likewise.
16153 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16154 Likewise.
16155 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16156 Likewise.
16157 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16158 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16159 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16160 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16161 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16162 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16163 Likewise.
16164 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16165 Likewise.
16166 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16167 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16168 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16169
16170 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16171
16172 [BZ #16364]
16173 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
16174 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
16175
16176 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
16177
16178 * sysdeps/s390/fpu/bits/mathinline.h:
16179 Use __asm__ [__volatile__] instead of asm [volatile].
16180 * sysdeps/s390/abort-instr.h: Likewise.
16181 * sysdeps/s390/atomic-machine.h: Likewise.
16182 * sysdeps/s390/bits/string.h: Likewise.
16183 * sysdeps/s390/dl-tls.h: Likewise.
16184 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
16185 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
16186 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
16187 * sysdeps/s390/fpu/fesetround.c: Likewise.
16188 * sysdeps/s390/fpu/fpu_control.h: Likewise.
16189 * sysdeps/s390/fpu/s_fma.c: Likewise.
16190 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
16191 * sysdeps/s390/memusage.h: Likewise.
16192 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
16193 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
16194 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
16195 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
16196 * sysdeps/s390/nptl/tls.h: Likewise.
16197 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
16198 * sysdeps/s390/s390-32/backtrace.c: Likewise.
16199 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16200 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
16201 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16202 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16203 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
16204 * sysdeps/s390/s390-64/backtrace.c: Likewise.
16205 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16206 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
16207 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
16208 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16209 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16210 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
16211 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16212 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16213 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
16214 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16215 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
16216 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16217 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
16218 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16219 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
16220
16221 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16222 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16223
16224 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
16225 Add lwarx hint, and use macro for acquire instruction.
16226 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16227 Likewise.
16228 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
16229 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
16230 update to use new atomic macros.
16231
16232 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16233
16234 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16235 (__lll_trylock_elision): Fix setting of adapt_count.
16236 * sysdeps/unix/sysv/linux/powerpc/htm.h
16237 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
16238 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
16239 (_ABORT_SYSCALL): Renumber, and clarify definition.
16240 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
16241
16242 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16243
16244 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
16245 after system headers to prevent MIN/MAX redefinition. Define
16246 HAVE_ALLOCA to preserve builtin alloca usage.
16247
16248 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
16249
16250 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
16251 static and don't set or restore rounding.
16252 (__cos)[IN_SINCOS]: Likewise.
16253 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
16254 (__sincos): Set and restore rounding mode. Remove check for infinite
16255 or NaN input.
16256
16257 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
16258
16259 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
16260 as used.
16261
16262 2015-11-16 Florian Weimer <fweimer@redhat.com>
16263
16264 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
16265
16266 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
16267
16268 * config.make.in (have-glob-dat-reloc): New.
16269 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
16270 target supports GLOB_DAT relocaton. AC_SUBST.
16271 * configure: Regenerated.
16272 * elf/Makefile (tests): Add tst-prelink.
16273 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
16274 (tst-prelink-ENV): New.
16275 ($(objpfx)tst-prelink-conflict.out): Likewise.
16276 ($(objpfx)tst-prelink-cmp.out): Likewise.
16277 * sysdeps/x86/tst-prelink.c: Moved to ...
16278 * elf/tst-prelink.c: Here.
16279 * sysdeps/x86/tst-prelink.exp: Moved to ...
16280 * elf/tst-prelink.exp: Here.
16281 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
16282 (tst-prelink-ENV): Removed.
16283 ($(objpfx)tst-prelink-conflict.out): Likewise.
16284 ($(objpfx)tst-prelink-cmp.out): Likewise.
16285 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
16286
16287 2015-11-13 Joseph Myers <joseph@codesourcery.com>
16288
16289 [BZ #14551]
16290 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
16291 (__mpn_construct_long_double): If high part overflows to infinity,
16292 set errno and recompute overflowed result of the correct sign.
16293 * sysdeps/ieee754/ldbl-128ibm/Makefile
16294 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
16295 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
16296 $(libm).
16297 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
16298
16299 2015-11-12 Joseph Myers <joseph@codesourcery.com>
16300
16301 [BZ #15479]
16302 [BZ #19238]
16303 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
16304 floating-point state after first operation on input. Restore full
16305 state rather than just rounding mode.
16306 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
16307 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
16308 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
16309
16310 [BZ #19235]
16311 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
16312 add 0.5 to integer arguments.
16313 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
16314 Likewise.
16315 (.LC2): New object.
16316
16317 2015-11-11 Mike Frysinger <vapier@gentoo.org>
16318
16319 * scripts/pylintrc (reports): Set to no.
16320
16321 2015-11-10 Roland McGrath <roland@hack.frob.com>
16322
16323 * elf/dl-load.c (open_verify): Take new argument FD.
16324 Skip __open call if passed FD is not -1.
16325 (_dl_map_object, open_path): Update callers.
16326 * elf/dl-sysdep-open.h: New file.
16327 * elf/dl-load.c: Include it.
16328 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
16329 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
16330 * sysdeps/nacl/dl-sysdep-open.h: New file.
16331 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
16332 from libc to rtld.
16333
16334 2015-11-10 Joseph Myers <joseph@codesourcery.com>
16335
16336 [BZ #19228]
16337 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
16338 and restore full floating-point state.
16339 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16340 Likewise.
16341 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
16342 Likewise.
16343 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
16344 Likewise.
16345 * math/test-nearbyint-except-2.c: New file.
16346 * math/Makefile (tests): Add test-nearbyint-except-2.
16347
16348 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
16349
16350 [BZ #19178]
16351 * sysdeps/x86/Makefile (tests): Add tst-prelink.
16352 (tst-prelink-ENV): New.
16353 ($(objpfx)tst-prelink-conflict.out): Likewise.
16354 ($(objpfx)tst-prelink-cmp.out): Likewise.
16355 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
16356 * sysdeps/x86/tst-prelink.c: New file.
16357 * sysdeps/x86/tst-prelink.exp: Likewise.
16358
16359 2015-11-10 Joseph Myers <joseph@codesourcery.com>
16360
16361 * math/auto-libm-test-in: Add another test of pow.
16362 * math/auto-libm-test-out: Regenerated.
16363 * math/libm-test.inc (pow_test_data): Add another test.
16364
16365 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16366
16367 [BZ #19219]
16368 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
16369 weak_alias to nearbyintl.
16370
16371 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
16372
16373 * sysdeps/aarch64/bits/string.h: New file.
16374 (_STRING_ARCH_unaligned): Define.
16375
16376 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
16377
16378 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
16379 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
16380 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
16381 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
16382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
16383
16384 2015-11-09 Ulrich Drepper <drepper@gmail.com>
16385
16386 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
16387 for original name of the DSO. Add it to the name list of the DSO
16388 if it is actually given.
16389 (_dl_map_object): Keep track of whether an audit module rewrote
16390 the file name. If yes, pass the original name to
16391 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
16392 debugging is enabled, log the change of the file name.
16393 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
16394 _dl_map_object_from_fd.
16395 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
16396 * elf/tst-audit11.c: New file
16397 * elf/tst-auditmod11.c: New file.
16398 * elf/tst-audit11mod1.c: New file.
16399 * elf/tst-audit11mod2.c: New file.
16400 * elf/tst-audit11mod2.map: New file.
16401 * elf/tst-audit12.c: New file
16402 * elf/tst-auditmod12.c: New file.
16403 * elf/tst-audit12mod1.c: New file.
16404 * elf/tst-audit12mod2.c: New file.
16405 * elf/tst-audit12mod2.map: New file.
16406 * elf/tst-audit12mod3.c: New file.
16407
16408 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
16409
16410 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
16411 Don't create weak aliases,
16412 because versioned symbols are created later.
16413 * sysdeps/s390/s390-32/setjmp.S
16414 (setjmp, _setjmp): Remove weak and rename to an unique name
16415 in SHARED case due to existing versioned symbols.
16416 * sysdeps/s390/s390-64/setjmp.S: Likewise.
16417 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
16418 (getcontext): Create weak alias only in non SHARED case.
16419 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16420
16421 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
16422
16423 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
16424 (__ASSUME_*_SYSCALL) Define new macros.
16425 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
16426 Remove socketcall syscalls.
16427 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
16428 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
16429 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
16430 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
16431 * sysdeps/unix/sysv/linux/send.c (__libc_send):
16432 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
16433
16434 2015-11-09 Florian Weimer <fweimer@redhat.com>
16435
16436 [BZ #12926]
16437 Terminate process on invalid netlink response.
16438 * sysdeps/unix/sysv/linux/netlinkaccess.h
16439 (__netlink_assert_response): Declare.
16440 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
16441 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
16442 (sysdep_routines): Add netlink_assert_response.
16443 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
16444 __netlink_assert_response.
16445 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
16446 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
16447 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
16448 __netlink_assert_response.
16449
16450 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
16451
16452 [BZ #19178]
16453 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
16454 (RTYPE_CLASS_PLT): Likewise.
16455 (RTYPE_CLASS_COPY): Likewise.
16456 (RTYPE_CLASS_TLS): Likewise.
16457 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
16458 to set relocation type class for DL_DEBUG_PRELINK. Keep only
16459 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
16460 DL_DEBUG_PRELINK.
16461
16462 2015-11-06 Joseph Myers <joseph@codesourcery.com>
16463
16464 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
16465 calls with argument -0.5.
16466 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
16467
16468 * configure.ac (libc_cv_z_nodelete): Remove configure test.
16469 (libc_cv_z_nodlopen): Likewise.
16470 (libc_cv_z_initfirst): Likewise.
16471 * configure: Regenerated.
16472
16473 2015-11-06 Florian Weimer <fweimer@redhat.com>
16474
16475 Simplify abilist format to be line-based.
16476 * scripts/abilist.awk: Collect descriptors in the descs variable.
16477 (emit): Write descs variable and sort it
16478 externally, with sort.
16479 * sysdeps/**/*.abilist: Convert to new format.
16480
16481 2015-11-06 Mark Wielaard <mjw@redhat.com>
16482
16483 [BZ #11460]
16484 * io/Makefile (routines): Add fts64.
16485 (tests): Add tst-fts and tst-fts-lfs.
16486 (CFLAGS-fts64.c): New.
16487 * io/Versions (GLIBC_2.23): New.
16488 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
16489 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
16490 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
16491 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
16492 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
16493 (FTSENT64): Likewise.
16494 (fts64_children): Likewise.
16495 (fts64_close): Likewise.
16496 (fts64_open): Likewise.
16497 (fts64_read): Likewise.
16498 (fts64_set): Likewise.
16499 * io/fts64.c: New file.
16500 * io/tst-fts.c: New test.
16501 * io/tst-fts-lfs.c: Likewise.
16502 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
16503 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
16504 fts64_set.
16505 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16506 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16507 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16508 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16509 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16510 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16511 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16512 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16513 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16514 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16515 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16516 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16517 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16518 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16519 Likewise.
16520 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16521 Likewise.
16522 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16523 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16524 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16525 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16526 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16527 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16528 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16529 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16530 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16531 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16532 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16533 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16534 * sysdeps/wordsize-64/fts.c: New file.
16535 * sysdeps/wordsize-64/fts64.c: Likewise.
16536 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
16537 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
16538 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
16539 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
16540
16541 2015-11-05 Joseph Myers <joseph@codesourcery.com>
16542
16543 * math/libm-test.inc (NON_FINITE): New macro.
16544 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
16545 * math/gen-libm-test.pl (show_exceptions): Add argument
16546 $non_finite.
16547 (parse_args): Update call to show_exceptions.
16548 * math/test-math-finite.h: New file.
16549 * math/test-math-no-finite.h: Likewise.
16550 * math/test-double-finite.c: Likewise.
16551 * math/test-float-finite.c: Likewise.
16552 * math/test-ldouble-finite.c: Likewise.
16553 * math/test-double.c: Include "test-math-no-finite.h".
16554 * math/test-float.c: Include "test-math-no-finite.h".
16555 * math/test-ldouble.c: Include "test-math-no-finite.h".
16556 * math/test-math-inline.h (TEST_FINITE): New macro.
16557 * math/test-math-vector.h (TEST_FINITE): Likewise.
16558 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
16559 (libm-tests): Add test-float-finite and test-double-finite.
16560 ($(objpfx)test-float-finite.o): New dependency on
16561 $(objpfx)libm-test.stmp.
16562 ($(objpfx)test-double-finite.o): Likewise.
16563 ($(objpfx)test-ldouble-finite.o): Likewise.
16564 (libm-test-no-inline-cflags): New variable.
16565 (libm-test-finite-cflags): Likewise.
16566 (CFLAGS-test-float-finite.c): Likewise.
16567 (CFLAGS-test-double-finite.c): Likewise.
16568 (CFLAGS-test-ldouble-finite.c): Likewise.
16569 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
16570 (CFLAGS-test-double.c): Likewise.
16571 (CFLAGS-test-ldouble.c): Likewise.
16572
16573 2015-11-05 Roland McGrath <roland@hack.frob.com>
16574
16575 * io/fcntl.c (__fcntl): Add ... to prototype.
16576 * misc/ioctl.c (__ioctl): Likewise.
16577 * misc/syscall.c (syscall): Likewise.
16578
16579 2015-11-05 Joseph Myers <joseph@codesourcery.com>
16580
16581 * scripts/list-fixed-bugs.py: New file.
16582
16583 [BZ #19213]
16584 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
16585 returned for argument 1.
16586 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
16587 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
16588 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
16589 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
16590 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
16591 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
16592
16593 [BZ #19211]
16594 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
16595 __USE_XOPEN], not if [!__USE_ISOC99].
16596 (lgammaf): Likewise.
16597 (lgammal): Likewise.
16598 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
16599 (gammaf): Likewise.
16600 (gammal): Likewise.
16601 * math/test-signgam-finite-c11.c: New file.
16602 * math/test-signgam-finite-c99.c: Likewise.
16603 * math/test-signgam-finite.c: Likewise.
16604 * math/Makefile (tests): Add test-signgam-finite,
16605 test-signgam-finite-c99 and test-signgam-finite-c11.
16606 (CFLAGS-test-signgam-finite.c): New variable.
16607 (CFLAGS-test-signgam-finite-c99.c): Likewise.
16608 (CFLAGS-test-signgam-finite-c11.c): Likewise.
16609
16610 [BZ #19212]
16611 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
16612 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
16613 500].
16614 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
16615 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
16616 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
16617 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
16618 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
16619 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
16620 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
16621 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
16622 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
16623 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
16624
16625 [BZ #19209]
16626 * math/bits/math-finite.h (ldexp): Remove declaration.
16627 (ldexpf): Likewise.
16628 (ldexpl): Likewise.
16629
16630 [BZ #19205]
16631 * math/bits/math-finite.h (acosf): Condition declaration on
16632 [__USE_ISOC99].
16633 (acosl): Likewise.
16634 (acoshf): Likewise.
16635 (acoshl): Likewise.
16636 (asinf): Likewise.
16637 (asinl): Likewise.
16638 (atan2f): Likewise.
16639 (atan2l): Likewise.
16640 (atanhf): Likewise.
16641 (atanhl): Likewise.
16642 (coshf): Likewise.
16643 (coshl): Likewise.
16644 (expf): Likewise.
16645 (expl): Likewise.
16646 (fmodf): Likewise.
16647 (fmodl): Likewise.
16648 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
16649 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
16650 (j0l): Likewise.
16651 (y0f): Likewise.
16652 (y0l): Likewise.
16653 (j1f): Likewise.
16654 (j1l): Likewise.
16655 (y1f): Likewise.
16656 (y1l): Likewise.
16657 (jnf): Likewise.
16658 (jnl): Likewise.
16659 (ynf): Likewise.
16660 (ynl): Likewise.
16661 (lgammaf_r): Condition declaration on [__USE_ISOC99].
16662 (lgammal_r): Likewise.
16663 (__lgamma_r_finite): New declaration.
16664 (__lgammaf_r_finite): Likewise.
16665 (__lgammal_r_finite): Likewise.
16666 (lgamma): Use __lgamma_r_finite.
16667 (lgammaf): Condition definition on [__USE_ISOC99]. Use
16668 __lgammaf_r_finite.
16669 (lgammal): Condition definition on [__USE_ISOC99]. Use
16670 __lgammal_r_finite.
16671 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
16672 __lgamma_r_finite.
16673 (gammaf): Condition definition on [__USE_ISOC99]. Use
16674 __lgammaf_r_finite.
16675 (gammal): Condition definition on [__USE_ISOC99]. Use
16676 __lgammal_r_finite.
16677 (logf): Condition declaration on [__USE_ISOC99].
16678 (logl): Likewise.
16679 (log10f): Likewise.
16680 (log10l): Likewise.
16681 (ldexpf): Likewise.
16682 (ldexpl): Likewise.
16683 (powf): Likewise.
16684 (powl): Likewise.
16685 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
16686 __USE_ISOC99].
16687 (remainderf): Condition declaration on [__USE_ISOC99].
16688 (remainderl): Likewise.
16689 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
16690 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
16691 (scalbl): Likewise.
16692 (sinhf): Condition declaration on [__USE_ISOC99].
16693 (sinhl): Likewise.
16694 (sqrtf): Likewise.
16695 (sqrtl): Likewise.
16696
16697 2015-11-04 Joseph Myers <joseph@codesourcery.com>
16698
16699 * sysdeps/arm/atomic-machine.h
16700 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16701 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16702 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
16703 Remove conditional code.
16704 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16705 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16706 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
16707 Change conditional to [__ASSEMBLER__].
16708 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16709 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
16710 [!__ASSEMBLER__].
16711 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
16712 code.
16713 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
16714 conditional macro definitions.
16715 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
16716 (__arch_compare_and_exchange_val_16_acq): Likewise.
16717 (__arch_compare_and_exchange_val_32_acq): Likewise.
16718 (atomic_exchange_and_add): Likewise.
16719 (atomic_add): Likewise.
16720 (atomic_add_negative): Likewise.
16721 (atomic_add_zero): Likewise.
16722 (atomic_bit_set): Likewise.
16723 (atomic_bit_test_set): Likewise.
16724 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
16725 code unconditional.
16726 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16727
16728 * math/test-math-errno.h: New file.
16729 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
16730 empty.
16731 (TEST_ERRNO): New macro.
16732 (TEST_EXCEPTIONS): Likewise.
16733 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
16734 (TEST_EXCEPTIONS): Likewise.
16735 * math/test-math-vector.h (TEST_ERRNO): Likewise.
16736 * math/test-double.c: Include "test-math-errno.h".
16737 * math/test-float.c: Likewise.
16738 * math/test-ldouble.c: Likewise.
16739 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
16740 code unconditional.
16741 (test_exceptions): Only run code if TEST_EXCEPTIONS.
16742 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
16743 unconditional.
16744 (test_errno): Only run code if TEST_ERRNO.
16745 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
16746
16747 2015-11-04 Florian Weimer <fweimer@redhat.com>
16748
16749 * nptl/tst-once5.cc: Remove attribution.
16750
16751 2015-11-04 Joseph Myers <joseph@codesourcery.com>
16752
16753 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
16754 sqrt, tan, tanh, y0, y1 and yn.
16755 * math/auto-libm-test-out: Regenerated.
16756 * math/libm-test.inc (scalb_test_data): Add more tests.
16757 (scalbn_test_data): Likewise.
16758 (scalbln_test_data): Likewise.
16759 (signbit_test_data): Likewise.
16760 (sin_test_data): Likewise.
16761 (sincos_test_data): Likewise.
16762 (sinh_test_data): Likewise.
16763 (sqrt_test_data): Likewise.
16764 (tan_test_data): Likewise.
16765 (tanh_test_data): Likewise.
16766 (tgamma_test_data): Likewise.
16767 (y0_test_data): Likewise.
16768 (y1_test_data): Likewise.
16769 (yn_test_data): Likewise.
16770 (significand_test_data): Likewise.
16771 * sysdeps/i386/fpu/libm-test-ulps: Update.
16772
16773 2015-11-03 David Kastrup <dak@gnu.org>
16774
16775 [BZ #18604]
16776 * assert/assert.h (assert): Don't macro-expand failed assertion
16777 expression in error message.
16778 * malloc/malloc.c (assert): Likewise.
16779
16780 2015-11-03 Joseph Myers <joseph@codesourcery.com>
16781
16782 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
16783 test.
16784 * configure: Regenerated.
16785
16786 2015-11-02 Joseph Myers <joseph@codesourcery.com>
16787
16788 * math/libm-test.inc (modf_test_data): Add more tests.
16789 (nearbyint_test_data): Likewise.
16790 (nextafter_test_data): Likewise.
16791 (nexttoward_test_data): Likewise.
16792 (pow_test_data): Likewise.
16793 (remainder_test_data): Likewise.
16794 (remquo_test_data): Likewise.
16795 (rint_test_data): Likewise.
16796
16797 [BZ #19201]
16798 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16799 Check for zero remainder in case of large exponents and ensure
16800 correct sign of result in that case.
16801 * math/libm-test.inc (remainder_test_data): Add more tests.
16802
16803 [BZ #6799]
16804 * math/s_nextafter.c: Include <errno.h>.
16805 (__nextafter): Set errno on overflow and underflow.
16806 * math/s_nexttowardf.c: Include <errno.h>.
16807 (__nexttowardf): Set errno on overflow and underflow.
16808 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
16809 (__nextafterl): Set errno on overflow and underflow.
16810 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
16811 (__nexttoward): Set errno on overflow and underflow.
16812 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
16813 (__nexttowardf): Set errno on overflow and underflow.
16814 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
16815 (__nextafterf): Set errno on overflow and underflow.
16816 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
16817 (__nextafterl): Set errno on overflow and underflow.
16818 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
16819 (__nexttoward): Set errno on overflow and underflow.
16820 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
16821 (__nexttowardf): Set errno on overflow and underflow.
16822 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
16823 (__nextafterl): Set errno on overflow and underflow.
16824 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
16825 (__nexttoward): Set errno on overflow and underflow.
16826 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
16827 (__nexttowardf): Set errno on overflow and underflow.
16828 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
16829 (__nexttoward): Set errno on overflow and underflow.
16830 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
16831 (__nexttowardf): Set errno on overflow and underflow.
16832 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
16833 (__nldbl_nexttowardf): Set errno on overflow and underflow.
16834 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
16835 (__nextafterl): Set errno on overflow and underflow.
16836 * math/libm-test.inc (nextafter_test_data): Do not allow errno
16837 setting to be missing on overflow. Add more tests.
16838 (nexttoward_test_data): Likewise.
16839
16840 * configure.ac (libc_cv_initfini_array): Remove configure test.
16841 * configure: Regenerated.
16842
16843 2015-10-29 Joseph Myers <joseph@codesourcery.com>
16844
16845 [BZ #19189]
16846 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
16847 non-finite argument handle arguments with negative sign.
16848
16849 * math/libm-test.inc (j0_test_data): Do not test sign of zero
16850 result from infinite argument.
16851 (j1_test_data): Likewise.
16852 (jn_test_data): Likewise.
16853 (y0_test_data): Likewise.
16854 (y1_test_data): Likewise.
16855 (yn_test_data): Likewise.
16856
16857 [BZ #16171]
16858 * math/w_remainder.c (drem): Define as weak alias of __remainder.
16859 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
16860 * math/w_remainderf.c (dremf): Define as weak alias of
16861 __remainderf.
16862 * math/w_remainderl.c (dreml): Define as weak alias of
16863 __remainderl.
16864 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
16865 __remainder.
16866 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
16867 __remainderf.
16868 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
16869 __remainderl.
16870 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
16871 weak alias of remainderl.
16872 * sysdeps/ieee754/ldbl-opt/w_remainder.c
16873 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
16874 alias of __remainder.
16875 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
16876 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
16877 strong alias of __remainderl.
16878 (dreml): Use long_double_symbol.
16879 * math/Makefile (libm-calls): Remove w_drem.
16880 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
16881 (CFLAGS-nldbl-drem.c): Remove variable.
16882 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
16883 * math/w_drem.c: Remove file.
16884 * math/w_dremf.c: Likewise.
16885 * math/w_dreml.c: Likewise.
16886 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
16887 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
16888 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
16889
16890 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
16891 * sysdeps/i386/configure: Regenerated.
16892 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
16893 * sysdeps/x86_64/configure: Regenerated.
16894
16895 * configure.ac (libc_cv_asm_protected_directive): Remove configure
16896 test.
16897 (libc_cv_visibility_attribute): Likewise.
16898 (libc_cv_protected_data): Test unconditionally.
16899 (libc_cv_broken_visibility_attribute): Remove configure test.
16900 (libc_cv_have_sdata_section): Test unconditionally.
16901 * configure: Regenerated.
16902
16903 * include/libc-internal.h (libc_max_align_t): Remove typedef.
16904 * include/scratch_buffer.h: Include <stddef.h> instead of
16905 <libc-internal.h>.
16906 (struct scratch_buffer): Use max_align_t instead of
16907 libc_max_align_t.
16908
16909 2015-10-29 Florian Weimer <fweimer@redhat.com>
16910
16911 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
16912 instead of extend_alloca. Change control flow to avoid a goto.
16913 Remove assert which is trivially always true.
16914
16915 2015-10-28 Joseph Myers <joseph@codesourcery.com>
16916
16917 [BZ #16068]
16918 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
16919 (FE_ALL_EXCEPT_X86): New macro.
16920 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16921 FE_ALL_EXCEPT. Ensure precision control is included in
16922 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16923 handle "denormal operand exception" and clear FZ and DAZ bits.
16924 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
16925 (FE_ALL_EXCEPT_X86): New macro.
16926 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16927 FE_ALL_EXCEPT. Ensure precision control is included in
16928 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16929 handle "denormal operand exception" and clear FZ and DAZ bits.
16930 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
16931 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
16932 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16933 test-fenv-x87 and test-fenv-sse-2.
16934 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
16935
16936 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
16937 * math/test-double.h (BUILD_COMPLEX): New macro.
16938 * math/test-float.h (BUILD_COMPLEX): Likewise.
16939 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
16940
16941 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
16942 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
16943 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
16944 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
16945 instead of DBL_DENORM_MIN in comment.
16946 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
16947 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16948 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
16949 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
16950 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
16951 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16952
16953 2015-10-28 Florian Weimer <fweimer@redhat.com>
16954
16955 [BZ# 19048]
16956 * malloc/malloc.c (struct malloc_state): Update comment. Add
16957 attached_threads member.
16958 (main_arena): Initialize attached_threads.
16959 * malloc/arena.c (list_lock): Update comment.
16960 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
16961 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
16962 (deattach_arena): New function.
16963 (_int_new_arena): Initialize arena reference count and deattach
16964 replaced arena.
16965 (get_free_list, reused_arena): Update reference count and deattach
16966 replaced arena.
16967 (arena_thread_freeres): Update arena reference count and only put
16968 unreferenced arenas on the free list.
16969
16970 2015-10-28 Joseph Myers <joseph@codesourcery.com>
16971
16972 [BZ #19181]
16973 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
16974 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
16975 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
16976 * math/test-fenv-clear-main.c: New file.
16977 * math/test-fenv-clear.c: Likewise.
16978 * math/Makefile (tests): Add test-fenv-clear.
16979 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
16980 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16981 test-fenv-clear-sse.
16982 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
16983
16984 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
16985 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
16986 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
16987
16988 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16989
16990 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
16991 static libc.
16992
16993 2015-10-28 Joseph Myers <joseph@codesourcery.com>
16994
16995 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
16996 test.
16997 * sysdeps/i386/configure: Regenerated.
16998 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
16999 test.
17000 * sysdeps/x86_64/configure: Regenerated.
17001 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
17002 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
17003 memset-avx2 unconditionally instead of conditionally on
17004 [$(config-cflags-avx2) = yes].
17005 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17006 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
17007 unconditional.
17008 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
17009 * sysdeps/x86_64/multiarch/memset_chk.S
17010 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
17011 to [IS_IN (libc) && SHARED].
17012
17013 2015-10-27 Joseph Myers <joseph@codesourcery.com>
17014
17015 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
17016 configure test.
17017 * sysdeps/arm/configure: Regenerated.
17018 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
17019 Define variable if not already defined.
17020
17021 [BZ #17404]
17022 * sysdeps/mips/atomic-machine.h
17023 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
17024 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
17025 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
17026
17027 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
17028 unconditional.
17029 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
17030 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17031 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
17032 unconditional.
17033 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17034 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
17035 unconditional.
17036 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17037 * stdlib/setenv.c
17038 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
17039 code unconditional.
17040 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
17041 Remove conditional code.
17042 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
17043 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
17044 unconditional.
17045 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
17046 code.
17047 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
17048 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
17049 unconditional.
17050 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
17051 code.
17052 * sysdeps/ieee754/ldbl-128/k_tanl.c
17053 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
17054 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17055 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
17056 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
17057 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17058 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
17059 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
17060 unconditional.
17061 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
17062 code.
17063 * sysdeps/ieee754/ldbl-96/k_tanl.c
17064 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
17065 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17066
17067 * nptl/tst-initializers1-c11.c: New file.
17068 * nptl/tst-initializers1-gnu11.c: Likewise.
17069 * nptl/Makefile (tests): Add these new tests.
17070 (CFLAGS-tst-initializers1-c11.c): New variable.
17071 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
17072
17073 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
17074 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
17075 instead of -std=gnu99.
17076 * configure.ac (systemtap): Test with -std=gnu11 instead of
17077 -std=gnu99.
17078 * configure: Regenerated.
17079 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
17080 in compilation command in comment.
17081
17082 * sysdeps/nptl/configure.ac: Remove file.
17083 * sysdeps/nptl/configure: Remove generated file.
17084 * configure.ac (libc_cv_forced_unwind): Do not substitute.
17085 * configure: Regenerated.
17086 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
17087 * config.make.in (have-forced-unwind): Remove variable.
17088 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
17089 unconditional.
17090 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
17091 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
17092 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
17093 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
17094 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
17095 unconditional.
17096
17097 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17098
17099 [BZ #19174]
17100 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
17101 .skip_lock_out_of_tbegin_retries.
17102 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17103 (__lll_lock_elision): Likewise, and respect a value of
17104 try_tbegin <= 0.
17105
17106 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
17107
17108 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
17109 statement.
17110
17111 2015-10-27 Joseph Myers <joseph@codesourcery.com>
17112
17113 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
17114 variable.
17115 (test-xfail-ISO11/stdalign.h/conform): Likewise.
17116 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17117
17118 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
17119 of -std=c1x -D_ISOC11_SOURCE.
17120
17121 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
17122 * configure: Regenerated.
17123 * manual/install.texi (Tools for Compilation): Document
17124 requirement for GCC 4.7 or later.
17125 * INSTALL: Regenerated.
17126
17127 2015-10-27 Ludovic Courtès <ludo@gnu.org>
17128
17129 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
17130 on CNT to a conditional jump to 'puntdata'.
17131
17132 2015-10-27 Joseph Myers <joseph@codesourcery.com>
17133
17134 * configure.ac (libc_cv_gcc___thread): Remove configure test.
17135 (libc_cv_gcc_tls_model_attr): Likewise.
17136 * configure: Regenerated.
17137
17138 * configure.ac (libc_cv_need_minus_P): Remove configure test.
17139 * configure: Regenerated.
17140 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
17141
17142 2015-10-26 Joseph Myers <joseph@codesourcery.com>
17143
17144 * configure.ac (old_glibc_headers): Remove configure test.
17145 * configure: Regenerated.
17146 * config.make.in (old-glibc-headers): Remove variable.
17147 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
17148 (install): Remove dependency on remove-old-headers.
17149 (headers2_0): Remove variable.
17150 (remove-old-headers): Remove rule.
17151
17152 * configure.ac (libc_cv_dot_text): Remove configure test.
17153 (libc_cv_asm_set_directive): Use .text instead of
17154 ${libc_cv_dot_text} in configure test.
17155 * configure: Regenerated.
17156
17157 2015-10-26 Florian Weimer <fweimer@redhat.com>
17158
17159 [BZ #19168]
17160 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17161
17162 2015-10-26 Florian Weimer <fweimer@redhat.com>
17163
17164 * configure.ac (CXX): Clear the variable if the C++ toolchain does
17165 not support static linking.
17166 * configure: Regenerate.
17167
17168 2015-10-23 Joseph Myers <joseph@codesourcery.com>
17169
17170 * math/libm-test.inc (check_float_internal): Do not special-case
17171 errors up to 0.5 ulp.
17172
17173 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17174 log2.
17175 * math/auto-libm-test-out: Regenerated.
17176 * math/libm-test.inc (MAX_EXP): New macro.
17177 (ilogb_test_data): Add more tests.
17178 (isfinite_test_data): Likewise.
17179 (isgreater_test_data): Likewise.
17180 (isgreaterequal_test_data): Likewise.
17181 (isinf_test_data): Likewise.
17182 (isless_test_data): Likewise.
17183 (islessequal_test_data): Likewise.
17184 (islessgreater_test_data): Likewise.
17185 (isnan_test_data): Likewise.
17186 (isnormal_test_data): Likewise.
17187 (issignaling_test_data): Likewise.
17188 (isunordered_test_data): Likewise.
17189 (j0_test_data): Likewise.
17190 (j1_test_data): Likewise.
17191 (jn_test_data): Likewise.
17192 (lgamma_test_data): Likewise.
17193 (log_test_data): Likewise.
17194 (log10_test_data): Likewise.
17195 (log1p_test_data): Likewise.
17196 (log2_test_data): Likewise.
17197 (logb_test_data): Likewise.
17198 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17199
17200 [BZ #18611]
17201 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
17202 avoid excess range and precision on underflow.
17203 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17204 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
17205 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17206 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
17207 underflow.
17208 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17209 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17210 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17211 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17212 * math/auto-libm-test-in: Do not allow missing errno setting for
17213 tests of j1 and jn.
17214 * math/auto-libm-test-out: Regenerated.
17215
17216 2015-10-22 Joseph Myers <joseph@codesourcery.com>
17217
17218 [BZ #15491]
17219 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
17220 floating-point environment instead of clearing all exceptions.
17221 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17222 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
17223 merging in "invalid" exceptions from frndint.
17224 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
17225 * math/test-nearbyint-except.c: New file.
17226 * math/Makefile (tests): Add test-nearbyint-except.
17227
17228 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
17229
17230 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
17231
17232 * sysdeps/tile/libm-test-ulps: Regenerated.
17233
17234 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17235
17236 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
17237 (__NR_sync_file_range2): Assume it is always defined.
17238 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17239 (__NR_sync_file_range): Assume it is always defined.
17240
17241 2015-10-22 Andreas Schwab <schwab@suse.de>
17242
17243 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
17244 INTERNAL_SYSCALL_ERRNO.
17245 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17246 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
17247 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17248 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
17249 Likewise.
17250 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17251
17252 2015-10-21 Joseph Myers <joseph@codesourcery.com>
17253
17254 * io/tst-fcntl.c (fd): New static variable.
17255 (do_prepare): Open temporary file here....
17256 (do_test): ...not here.
17257
17258 * io/ftwtest-sh: Also trap on exit to remove temporary files.
17259
17260 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
17261
17262 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
17263 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
17264 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
17265 Moved before "#ifdef __ASSEMBLER__".
17266
17267 2015-10-21 Joseph Myers <joseph@codesourcery.com>
17268
17269 [BZ #19156]
17270 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
17271 arguments very close to 0.
17272
17273 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
17274
17275 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
17276 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
17277
17278 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
17279
17280 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
17281 New. Defined for GCC 5 and above when not compiling for
17282 profiling.
17283 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
17284
17285 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
17286 Renamed to ...
17287 (CFLAGS-epoll_pwait.o): This.
17288 (CFLAGS-mmap.c): Renamed to ...
17289 (CFLAGS-mmap.o): This.
17290 (CFLAGS-mmap64.c): Renamed to ...
17291 (CFLAGS-mmap64.o): This.
17292 (CFLAGS-epoll_pwait.os): New.
17293 (CFLAGS-mmap.os): Likewise.
17294 (CFLAGS-mmap64.os): Likewise.
17295 (CFLAGS-semtimedop.os): Likewise.
17296 (CFLAGS-semtimedop.c): Renamed to ...
17297 (CFLAGS-semtimedop.o): This.
17298
17299 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17300
17301 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
17302 warning message.
17303
17304 2015-10-21 Joseph Myers <joseph@codesourcery.com>
17305
17306 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
17307 * Makefile ($(objpfx)c++-types-check.out): Filter out
17308 $(+gccwarn-c) instead of -Wstrict-prototypes.
17309
17310 * io/fts.c (fts_open): Convert to prototype-style function
17311 definition.
17312 * malloc/mcheck.c (mcheck): Likewise.
17313 (mcheck_pedantic): Likewise.
17314 * posix/regexec.c (re_search_2_stub): Likewise. Use
17315 internal_function.
17316 (re_search_internal): Likewise.
17317 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
17318 prototype-style function definition.
17319 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17320 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
17321 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
17322 (xdr_utmpptr): Likewise.
17323 (xdr_utmparr): Likewise.
17324 (xdr_utmpidle): Likewise.
17325 (xdr_utmpidleptr): Likewise.
17326 (xdr_utmpidlearr): Likewise.
17327
17328 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
17329 log, log10 and log2.
17330 * math/auto-libm-test-out: Regenerated.
17331 * math/libm-test.inc (fmod_test_data): Add more tests.
17332 (fpclassify_test_data): Likewise.
17333 (frexp_test_data): Likewise.
17334 (hypot_test_data): Likewise.
17335 (ilogb_test_data): Likewise.
17336
17337 2015-10-20 Joseph Myers <joseph@codesourcery.com>
17338
17339 * debug/fortify_fail.c (__fortify_fail): Convert to
17340 prototype-style function definition. Use internal_function.
17341 * libio/genops.c (save_for_backup): Convert to prototype-style
17342 function definition.
17343 * libio/wgenops.c (save_for_wbackup): Likewise.
17344 * login/grantpt.c (grantpt): Likewise.
17345 * login/ptsname.c (ptsname): Likewise.
17346 (__ptsname_r): Likewise.
17347 * login/unlockpt.c (unlockpt): Likewise.
17348 * mach/msgserver.c (__mach_msg_server): Likewise.
17349 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
17350 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
17351 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
17352 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
17353 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
17354 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
17355 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
17356 Likewise.
17357 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
17358 internal_function.
17359 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
17360 prototype-style function definition.
17361 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
17362 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
17363 (__pthread_create_2_0): Likewise.
17364 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
17365 * nptl/register-atfork.c (__register_atfork): Likewise.
17366 * posix/glob.c (glob): Likewise.
17367 * posix/regcomp.c (re_comp): Likewise.
17368 * posix/regexec.c (re_exec): Likewise.
17369 * stdlib/add_n.c [__STDC__]: Make code unconditional.
17370 [!__STDC__]: Remove conditional code.
17371 * stdlib/cmp.c [__STDC__]: Make code unconditional.
17372 [!__STDC__]: Remove conditional code.
17373 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
17374 [!__STDC__]: Remove conditional code.
17375 * stdlib/divrem.c [__STDC__]: Make code unconditional.
17376 [!__STDC__]: Remove conditional code.
17377 * stdlib/lshift.c [__STDC__]: Make code unconditional.
17378 [!__STDC__]: Remove conditional code.
17379 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
17380 [!__STDC__]: Remove conditional code.
17381 * stdlib/mul.c [__STDC__]: Make code unconditional.
17382 [!__STDC__]: Remove conditional code.
17383 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
17384 [!__STDC__]: Remove conditional code.
17385 * stdlib/rshift.c [__STDC__]: Make code unconditional.
17386 [!__STDC__]: Remove conditional code.
17387 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
17388 function definition.
17389 (STRTOF): Likewise.
17390 * stdlib/strtod_l.c (__STRTOF): Likewise.
17391 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
17392 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
17393 (__strtol_l): Likewise.
17394 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
17395 [!__STDC__]: Remove conditional code.
17396 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
17397 definition.
17398 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
17399 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17400 type.
17401 (__strcasecmp): Convert to prototype-style function definition.
17402 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
17403 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17404 type.
17405 (__strncasecmp): Convert to prototype-style function definition.
17406 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
17407 * sunrpc/xdr.c (xdr_union): Likewise.
17408 * sunrpc/xdr_array.c (xdr_array): Likewise.
17409 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
17410 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
17411 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
17412 Likewise.
17413 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
17414 Likewise.
17415 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
17416 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17417 Likewise.
17418 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
17419 (LOCALE_PARAM_PROTO): Likewise.
17420 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
17421 argument type.
17422 (ut_argument_spec): Remove macro.
17423 (ut_argument_spec_iso): Rename to ut_argument_spec.
17424 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
17425 prototype-style function definition.
17426 (memcpy_uppcase): Likewise.
17427 (__strftime_internal): Likewise.
17428 (my_strftime): Likewise.
17429 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
17430 (LOCALE_PARAM_DECL): Likewise.
17431 [_LIBC] (LOCALE_PARAM): Include argument type.
17432 (__strptime_internal): Convert to prototype-style function
17433 definition.
17434 (strptime): Likewise.
17435 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
17436 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17437 type.
17438 (__wcscasecmp): Convert to prototype-style function definition.
17439 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
17440 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17441 type.
17442 (__wcsncasecmp): Convert to prototype-style function definition.
17443
17444 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
17445 function definition.
17446 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17447 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17448 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
17449 * elf/dl-minimal.c (_itoa): Likewise.
17450 * hurd/hurdmalloc.c (malloc): Likewise.
17451 (free): Likewise.
17452 (realloc): Likewise.
17453 * inet/inet6_option.c (inet6_option_space): Likewise.
17454 (inet6_option_init): Likewise.
17455 (inet6_option_append): Likewise.
17456 (inet6_option_alloc): Likewise.
17457 (inet6_option_next): Likewise.
17458 (inet6_option_find): Likewise.
17459 * io/ftw.c (FTW_NAME): Likewise.
17460 (NFTW_NAME): Likewise.
17461 (NFTW_NEW_NAME): Likewise.
17462 (NFTW_OLD_NAME): Likewise.
17463 * libio/iofwide.c (_IO_fwide): Likewise.
17464 * libio/strops.c (_IO_str_init_static_internal): Likewise.
17465 (_IO_str_init_static): Likewise.
17466 (_IO_str_init_readonly): Likewise.
17467 (_IO_str_overflow): Likewise.
17468 (_IO_str_underflow): Likewise.
17469 (_IO_str_count): Likewise.
17470 (_IO_str_seekoff): Likewise.
17471 (_IO_str_pbackfail): Likewise.
17472 (_IO_str_finish): Likewise.
17473 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
17474 (_IO_wstr_overflow): Likewise.
17475 (_IO_wstr_underflow): Likewise.
17476 (_IO_wstr_count): Likewise.
17477 (_IO_wstr_seekoff): Likewise.
17478 (_IO_wstr_pbackfail): Likewise.
17479 (_IO_wstr_finish): Likewise.
17480 * locale/programs/localedef.c (normalize_codeset): Likewise.
17481 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17482 (add_locales_to_archive): Likewise.
17483 (delete_locales_from_archive): Likewise.
17484 * malloc/malloc.c (__libc_mallinfo): Likewise.
17485 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
17486 * misc/tsearch.c (__tfind): Likewise.
17487 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
17488 * nptl/pthread_attr_getdetachstate.c
17489 (__pthread_attr_getdetachstate): Likewise.
17490 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
17491 Likewise.
17492 * nptl/pthread_attr_getinheritsched.c
17493 (__pthread_attr_getinheritsched): Likewise.
17494 * nptl/pthread_attr_getschedparam.c
17495 (__pthread_attr_getschedparam): Likewise.
17496 * nptl/pthread_attr_getschedpolicy.c
17497 (__pthread_attr_getschedpolicy): Likewise.
17498 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
17499 Likewise.
17500 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
17501 Likewise.
17502 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
17503 Likewise.
17504 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
17505 Likewise.
17506 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
17507 (__pthread_attr_init_2_0): Likewise.
17508 * nptl/pthread_attr_setdetachstate.c
17509 (__pthread_attr_setdetachstate): Likewise.
17510 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
17511 Likewise.
17512 * nptl/pthread_attr_setinheritsched.c
17513 (__pthread_attr_setinheritsched): Likewise.
17514 * nptl/pthread_attr_setschedparam.c
17515 (__pthread_attr_setschedparam): Likewise.
17516 * nptl/pthread_attr_setschedpolicy.c
17517 (__pthread_attr_setschedpolicy): Likewise.
17518 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
17519 Likewise.
17520 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
17521 Likewise.
17522 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
17523 Likewise.
17524 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
17525 Likewise.
17526 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
17527 Likewise.
17528 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
17529 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17530 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
17531 use internal_function.
17532 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
17533 prototype-style function definition.
17534 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
17535 (__pthread_mutex_cond_lock_adjust): Likewise. Use
17536 internal_function.
17537 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
17538 Convert to prototype-style function definition.
17539 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17540 Likewise.
17541 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
17542 Likewise.
17543 (__pthread_mutex_unlock): Likewise.
17544 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
17545 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
17546 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
17547 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
17548 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
17549 * nss/makedb.c (process_input): Likewise.
17550 * posix/fnmatch.c (__strchrnul): Likewise.
17551 (__wcschrnul): Likewise.
17552 (fnmatch): Likewise.
17553 * posix/fnmatch_loop.c (FCT): Likewise.
17554 * posix/glob.c (globfree): Likewise.
17555 (__glob_pattern_type): Likewise.
17556 (__glob_pattern_p): Likewise.
17557 * posix/regcomp.c (re_compile_pattern): Likewise.
17558 (re_set_syntax): Likewise.
17559 (re_compile_fastmap): Likewise.
17560 (regcomp): Likewise.
17561 (regerror): Likewise.
17562 (regfree): Likewise.
17563 * posix/regexec.c (regexec): Likewise.
17564 (re_match): Likewise.
17565 (re_search): Likewise.
17566 (re_match_2): Likewise.
17567 (re_search_2): Likewise.
17568 (re_search_stub): Likewise. Use internal_function
17569 (re_copy_regs): Likewise.
17570 (re_set_registers): Convert to prototype-style function
17571 definition.
17572 (prune_impossible_nodes): Likewise. Use internal_function.
17573 * resolv/inet_net_pton.c (inet_net_pton): Convert to
17574 prototype-style function definition.
17575 (inet_net_pton_ipv4): Likewise.
17576 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17577 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
17578 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
17579 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
17580 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17581 Make variadic.
17582 * time/strptime_l.c (localtime_r): Convert to prototype-style
17583 function definition.
17584 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
17585 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
17586 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
17587 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
17588
17589 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
17590 definition.
17591 (_ufc_doit_r): Likewise.
17592 * crypt/crypt_util.c (_ufc_copymem): Likewise.
17593 (_ufc_output_conversion_r): Likewise.
17594 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
17595 * inet/rcmd.c (rcmd_af): Likewise.
17596 (rcmd): Likewise.
17597 (ruserok_af): Likewise.
17598 (ruserok): Likewise.
17599 (ruserok2_sa): Likewise.
17600 (ruserok_sa): Likewise.
17601 (iruserok_af): Likewise.
17602 (iruserok): Likewise.
17603 (__ivaliduser): Likewise.
17604 (__validuser2_sa): Likewise.
17605 * inet/rexec.c (rexec_af): Likewise.
17606 (rexec): Likewise.
17607 * inet/ruserpass.c (ruserpass): Likewise.
17608 * locale/programs/xmalloc.c (xcalloc): Likewise.
17609 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
17610 * math/w_drem.c (__drem): Likewise.
17611 * math/w_dremf.c (__dremf): Likewise.
17612 * math/w_dreml.c (__dreml): Likewise.
17613 * misc/daemon.c (daemon): Likewise.
17614 * resolv/res_debug.c (p_fqnname): Likewise.
17615 * stdlib/div.c (div): Likewise.
17616 * string/memcmp.c (memcmp_bytes): Likewise.
17617 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
17618 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
17619
17620 * crypt/cert.c (main): Convert to prototype-style function
17621 definition.
17622 * io/pipe.c (__pipe): Likewise.
17623 * io/pipe2.c (__pipe2): Likewise.
17624 * misc/futimesat.c (futimesat): Likewise.
17625 * misc/utimes.c (__utimes): Likewise.
17626 * posix/execve.c (__execve): Likewise.
17627 * posix/execvp.c (execvp): Likewise.
17628 * posix/execvpe.c (__execvpe): Likewise.
17629 * posix/fexecve.c (fexecve): Likewise.
17630 * socket/socketpair.c (socketpair): Likewise.
17631 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17632 * stdlib/erand48.c (erand48): Likewise.
17633 * stdlib/erand48_r.c (__erand48_r): Likewise.
17634 * stdlib/jrand48.c (jrand48): Likewise.
17635 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
17636 * stdlib/lcong48.c (lcong48): Likewise.
17637 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
17638 * stdlib/nrand48.c (nrand48): Likewise.
17639 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
17640 * stdlib/seed48.c (seed48): Likewise.
17641 * stdlib/seed48_r.c (__seed48_r): Likewise.
17642 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
17643 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
17644 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
17645
17646 2015-10-19 Joseph Myers <joseph@codesourcery.com>
17647
17648 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
17649 * configure: Regenerated.
17650 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
17651 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
17652 unconditional.
17653 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17654 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17655 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17656 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
17657 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
17658 unconditional.
17659 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17660
17661 * posix/Makefile (CFLAGS-regex.c): Remove variable.
17662 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
17663
17664 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
17665 function definition.
17666 * crypt/crypt_util.c (__encrypt_r): Likewise.
17667 * libio/genops.c (_IO_no_init): Likewise.
17668 * libio/iofopncook.c (_IO_fopencookie): Likewise.
17669 (_IO_old_fopencookie): Likewise.
17670 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17671 * libio/iogetline.c (_IO_getline): Likewise.
17672 (_IO_getline_info): Likewise.
17673 * libio/iogetwline.c (_IO_getwline): Likewise.
17674 (_IO_getwline_info): Likewise.
17675 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
17676 * libio/vswprintf.c (_IO_vswprintf): Likewise.
17677 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
17678 (find_entry): Likewise.
17679 (iterate_table): Likewise.
17680 (lookup): Likewise.
17681 * login/forkpty.c (forkpty): Likewise.
17682 * misc/hsearch_r.c (__hsearch_r): Likewise.
17683 * misc/select.c (__select): Likewise.
17684 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
17685 Likewise.
17686 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
17687 Likewise.
17688 * nptl/old_pthread_cond_timedwait.c
17689 (__pthread_cond_timedwait_2_0): Likewise.
17690 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
17691 * nptl/pthread_barrierattr_getpshared.c
17692 (pthread_barrierattr_getpshared): Likewise.
17693 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
17694 Likewise.
17695 * nptl/pthread_mutex_setprioceiling.c
17696 (pthread_mutex_setprioceiling): Likewise.
17697 * nptl/pthread_mutexattr_getprioceiling.c
17698 (pthread_mutexattr_getprioceiling): Likewise.
17699 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
17700 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17701 Likewise.
17702 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17703 Likewise.
17704 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
17705 Likewise.
17706 * socket/recvfrom.c (__recvfrom): Likewise.
17707 * socket/sendto.c (__sendto): Likewise.
17708 * socket/setsockopt.c (__setsockopt): Likewise.
17709 * stdio-common/_itoa.c (_itoa): Likewise.
17710 * stdio-common/_itowa.c (_itowa): Likewise.
17711 * stdio-common/reg-printf.c (__register_printf_specifier):
17712 Likewise.
17713 (__register_printf_function): Likewise.
17714 * stdio-common/tempname.c (__path_search): Likewise.
17715 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
17716 * stdlib/mul_1.c (mpn_mul_1): Likewise.
17717 * stdlib/random_r.c (__initstate_r): Likewise.
17718 * stdlib/setenv.c (__add_to_environ): Likewise.
17719 * stdlib/submul_1.c (mpn_submul_1): Likewise.
17720 * streams/getpmsg.c (getpmsg): Likewise.
17721 * streams/putmsg.c (putmsg): Likewise.
17722 * streams/putpmsg.c (putpmsg): Likewise.
17723 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
17724 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
17725 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
17726 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
17727 * sunrpc/pm_getport.c (pmap_getport): Likewise.
17728 * sunrpc/svc_udp.c (cache_get): Likewise.
17729 * sunrpc/xdr_array.c (xdr_vector): Likewise.
17730 * sysdeps/mach/hurd/getcwd.c
17731 (__canonicalize_directory_name_internal): Likewise.
17732 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
17733 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
17734 * sysdeps/mach/hurd/select.c (__select): Likewise.
17735 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
17736 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17737 * sysdeps/sparc/nptl/pthread_barrier_init.c
17738 (__pthread_barrier_init): Likewise.
17739 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
17740 (__pthread_cond_timedwait): Likewise.
17741 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
17742 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
17743 Likewise.
17744 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
17745 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
17746 Likewise.
17747 * sysvipc/semtimedop.c (semtimedop): Likewise.
17748 * time/setitimer.c (__setitimer): Likewise.
17749 * time/strftime_l.c (emacs_strftime): Likewise.
17750
17751 2015-10-19 Mike Frysinger <vapier@gentoo.org>
17752
17753 * config.make.in (have-ssp): Delete.
17754 (stack-protector): New variable.
17755 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
17756 cache test for -fstack-protector-strong. Export stack_protector to
17757 the best ssp flag.
17758 * configure: Regenerated.
17759 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
17760 * nscd/Makefile (CFLAGS-nscd): Likewise.
17761 * resolv/Makefile (CFLAGS-libresolv): Likewise.
17762
17763 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
17764
17765 [BZ #19122]
17766 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
17767 attribute_hidden.
17768
17769 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17770
17771 [BZ #18743]
17772 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
17773 code to...
17774 (ELIDE_LOCK): ...here.
17775 (__get_new_count): New function with part of the code from
17776 __elide_lock that updates the value of adapt_count after a
17777 transaction abort.
17778 (__elided_trylock): Moved this code to...
17779 (ELIDE_TRYLOCK): ...here.
17780
17781 2015-10-19 Mike Frysinger <vapier@gentoo.org>
17782
17783 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
17784 * configure: Regenerate.
17785 * INSTALL: Regenerate.
17786 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
17787 and tweak grammar.
17788
17789 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
17790
17791 * login/programs/pt_chown.c: Include signal.h
17792 (main): Clear any signal mask from the parent process.
17793
17794 2015-10-19 Joseph Myers <joseph@codesourcery.com>
17795
17796 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
17797 * configure: Regenerated.
17798 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
17799 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
17800 $(gnu89-inline-CFLAGS).
17801
17802 * configure.ac (libc_cv_asm_weak_directive): Remove configure
17803 test.
17804 (libc_cv_asm_weakext_directive): Likewise.
17805 * configure: Regenerated.
17806 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
17807 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
17808 * include/libc-symbols.h
17809 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
17810 #error.
17811 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
17812 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
17813
17814 * sysdeps/arm/backtrace.c (__backtrace): Convert to
17815 prototype-style function definition.
17816 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17817 * sysdeps/i386/ffs.c (__ffs): Likewise.
17818 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17819 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
17820 Likewise.
17821 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17822 Likewise.
17823 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
17824 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17825 Likewise.
17826 * sysdeps/m68k/ffs.c (__ffs): Likewise.
17827 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
17828 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
17829 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
17830 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
17831 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
17832 * sysdeps/mach/hurd/access.c (__access): Likewise.
17833 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
17834 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
17835 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
17836 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
17837 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
17838 (cthread_getspecific): Likewise.
17839 (cthread_setspecific): Likewise.
17840 (__libc_getspecific): Likewise.
17841 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
17842 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
17843 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
17844 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
17845 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
17846 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
17847 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
17848 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
17849 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
17850 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
17851 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
17852 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
17853 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
17854 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
17855 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
17856 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
17857 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
17858 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
17859 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
17860 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
17861 * sysdeps/mach/hurd/link.c (__link): Likewise.
17862 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
17863 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
17864 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
17865 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
17866 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
17867 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
17868 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
17869 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
17870 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17871 * sysdeps/mach/hurd/rename.c (rename): Likewise.
17872 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
17873 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
17874 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
17875 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
17876 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
17877 * sysdeps/mach/hurd/send.c (__send): Likewise.
17878 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
17879 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
17880 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
17881 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
17882 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
17883 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
17884 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
17885 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
17886 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
17887 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
17888 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
17889 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
17890 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
17891 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
17892 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
17893 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
17894 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
17895 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
17896 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
17897 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17898 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
17899 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
17900 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
17901 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
17902 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
17903 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
17904 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
17905 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
17906 * sysdeps/posix/alarm.c (alarm): Likewise.
17907 * sysdeps/posix/cuserid.c (cuserid): Likewise.
17908 * sysdeps/posix/dirfd.c (dirfd): Likewise.
17909 * sysdeps/posix/dup.c (__dup): Likewise.
17910 * sysdeps/posix/dup2.c (__dup2): Likewise.
17911 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
17912 (main): Likewise.
17913 * sysdeps/posix/flock.c (__flock): Likewise.
17914 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
17915 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17916 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
17917 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
17918 * sysdeps/posix/isatty.c (__isatty): Likewise.
17919 * sysdeps/posix/killpg.c (killpg): Likewise.
17920 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17921 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
17922 * sysdeps/posix/raise.c (raise): Likewise.
17923 * sysdeps/posix/remove.c (remove): Likewise.
17924 * sysdeps/posix/rename.c (rename): Likewise.
17925 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
17926 * sysdeps/posix/seekdir.c (seekdir): Likewise.
17927 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
17928 * sysdeps/posix/sigignore.c (sigignore): Likewise.
17929 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
17930 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17931 * sysdeps/posix/sigset.c (sigset): Likewise.
17932 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
17933 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
17934 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
17935 * sysdeps/posix/time.c (time): Likewise.
17936 * sysdeps/posix/ttyname.c (getttyname): Likewise.
17937 (ttyname): Likewise.
17938 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
17939 * sysdeps/posix/utime.c (utime): Likewise.
17940 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
17941 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17942 Likewise.
17943 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
17944 (pthread_spin_trylock): Likewise.
17945 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
17946 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
17947 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
17948 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
17949 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
17950 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
17951 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
17952 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
17953 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
17954 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
17955 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
17956 * sysdeps/s390/ffs.c (__ffs): Likewise.
17957 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
17958 Likewise.
17959 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17960 Likewise.
17961 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
17962 Likewise.
17963 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
17964 (pthread_barrier_destroy): Likewise.
17965 * sysdeps/sparc/nptl/pthread_barrier_wait.c
17966 (__pthread_barrier_wait): Likewise.
17967 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
17968 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17969 (__pthread_barrier_wait): Likewise.
17970 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
17971 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
17972 (memcmp_not_common_alignment): Likewise.
17973 (MEMCMP): Likewise.
17974 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
17975 (_wordcopy_fwd_dest_aligned): Likewise.
17976 (_wordcopy_bwd_aligned): Likewise.
17977 (_wordcopy_bwd_dest_aligned): Likewise.
17978 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
17979 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
17980 * sysdeps/unix/bsd/stty.c (stty): Likewise.
17981 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
17982 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
17983 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
17984 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
17985 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
17986 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
17987 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
17988 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
17989 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
17990 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
17991 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
17992 * sysdeps/unix/stime.c (stime): Likewise.
17993 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
17994 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
17995 Likewise. Use internal_function.
17996 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
17997 Convert to prototype-style function definition.
17998 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17999 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
18000 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
18001 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
18002 Likewise. Use internal_function.
18003 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
18004 prototype-style function definition
18005 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
18006 Likewise.
18007 (__getlogin_r): Likewise.
18008 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
18009 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
18010 (__pthread_cond_broadcast): Likewise.
18011 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
18012 (__pthread_cond_destroy): Likewise.
18013 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
18014 (__pthread_cond_init): Likewise.
18015 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
18016 (__pthread_cond_signal): Likewise.
18017 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
18018 (__pthread_cond_wait): Likewise.
18019 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
18020 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
18021 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
18022 Likewise.
18023 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
18024 Likewise.
18025 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
18026 Likewise.
18027 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
18028 Likewise.
18029 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
18030 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
18031 (__ftruncate64): Likewise.
18032 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
18033 (truncate64): Likewise.
18034 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
18035 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
18036 (pthread_getcpuclockid): Likewise.
18037 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
18038 Likewise.
18039 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
18040 Likewise.
18041 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
18042 Likewise.
18043 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
18044 Likewise.
18045 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
18046 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
18047 (__libc_sigaction): Likewise.
18048 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
18049 Likewise.
18050 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
18051 (__sigprocmask): Likewise.
18052 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
18053 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
18054 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
18055 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
18056 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18057 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
18058 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18059 Likewise.
18060 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
18061 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
18062 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18063 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
18064 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
18065 Likewise.
18066 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
18067 (__sigprocmask): Likewise.
18068 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
18069 (cfgetispeed): Likewise.
18070 (cfsetospeed): Likewise.
18071 (cfsetispeed): Likewise.
18072 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
18073 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
18074 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18075 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
18076 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
18077 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
18078 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
18079 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
18080 Likewise.
18081 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
18082 Likewise.
18083 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
18084 Likewise.
18085 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
18086 Likewise.
18087 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
18088
18089 2015-10-17 Florian Weimer <fweimer@redhat.com>
18090
18091 sunrpc: Rewrite with explicit TLS access using __thread.
18092 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
18093 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
18094 directly.
18095 (__rpc_thread_variables): Access thread_rpc_vars directly.
18096 Eliminate redundant assignment of the tvp variable.
18097
18098 2015-10-17 Florian Weimer <fweimer@redhat.com>
18099
18100 malloc: Rewrite with explicit TLS access using __thread.
18101 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
18102 (tsd_setspecific, tsd_getspecific): Remove.
18103 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
18104 (tsd_setspecific, tsd_getspecific): Likewise.
18105 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
18106 (tsd_setspecific, tsd_getspecific): Likewise.
18107 * malloc/arena.c (thread_arena): New TLS variable.
18108 (arena_key): Remove variable.
18109 (arena_get): Use thread_arena.
18110 (arena_lookup): Remove macro.
18111 (malloc_atfork, free_atfork, ptmalloc_lock_all)
18112 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
18113 (_int_new_arena, get_free_list, reused_arena)
18114 (arena_thread_freeres): Use thread_arena.
18115 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
18116 tsd_getspecific, tsd_setspecific from safety annotations.
18117 (Allocating Cleared Space): Remove arena_lookup from safety
18118 annotations.
18119
18120 2015-10-17 Florian Weimer <fweimer@redhat.com>
18121
18122 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
18123 struct scratch_buffer instead of extend_alloca.
18124
18125 2015-10-17 Florian Weimer <fweimer@redhat.com>
18126
18127 * sysdeps/unix/sysv/linux/kernel-features.h
18128 (__ASSUME_SOCK_CLOEXEC): Remove.
18129 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
18130 (__have_paccept): Remove unused macro.
18131 * include/unistd.h (__have_sock_cloexec): Remove declaration.
18132 * misc/syslog.c (openlog_internal): Remove fallback code for
18133 !__ASSUME_SOCK_CLOEXEC.
18134 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
18135 missing SOCK_CLOEXEC.
18136 * nscd/connections.c (have_sock_cloexec): Remove definition.
18137 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
18138 * nscd/nscd_helper.c (open_socket): Remove fallback code for
18139 !__ASSUME_SOCK_CLOEXEC.
18140 * resolv/res_send.c (__have_o_nonblock): Remove definition.
18141 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
18142 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
18143 definition.
18144 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
18145 code for !__ASSUME_SOCK_CLOEXEC.
18146
18147 2015-10-17 Florian Weimer <fweimer@redhat.com>
18148
18149 [BZ #18982]
18150 * manual/stdio.texi (Variable Arguments Output): Add portability
18151 note, explaining that vfprintf clobbers the va_list pointer.
18152
18153 2015-10-16 Joseph Myers <joseph@codesourcery.com>
18154
18155 * math/libm-test.inc (fabs_test_data): Add more tests.
18156 (fdim_test_data): Likewise.
18157 (fma_test_data): Likewise.
18158 (fmax_test_data): Likewise.
18159 (fmin_test_data): Likewise.
18160 (fmod_test_data): Likewise.
18161
18162 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
18163
18164 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
18165 data.
18166
18167 2015-10-16 Joseph Myers <joseph@codesourcery.com>
18168
18169 * math/libm-test.inc (ceil_test_data): Add more tests and more
18170 expectations for "inexact".
18171 (floor_test_data): Add more tests.
18172 (round_test_data): Likewise.
18173 (trunc_test_data): Likewise.
18174
18175 * crypt/cert.c (good_bye): Convert to prototype-style function
18176 definition.
18177 (get8): Likewise.
18178 (put8): Likewise.
18179 * crypt/crypt-entry.c (crypt): Likewise.
18180 (__fcrypt): Likewise.
18181 * crypt/crypt_util.c (_ufc_prbits): Likewise.
18182 (_ufc_set_bits): Likewise.
18183 (_ufc_clearmem): Likewise.
18184 (__init_des_r): Likewise.
18185 (shuffle_sb): Likewise.
18186 (shuffle_sb): Likewise.
18187 (_ufc_setup_salt_r): Likewise.
18188 (_ufc_mk_keytab_r): Likewise.
18189 (_ufc_dofinalperm_r): Likewise.
18190 (encrypt): Likewise.
18191 (__setkey_r): Likewise.
18192 (setkey): Likewise.
18193 * crypt/md5.c (md5_init_ctx): Likewise.
18194 (md5_read_ctx): Likewise.
18195 (md5_finish_ctx): Likewise.
18196 (md5_stream): Likewise.
18197 (md5_buffer): Likewise.
18198 (md5_process_bytes): Likewise.
18199 * crypt/sha256.c (__sha256_init_ctx): Likewise.
18200 (__sha256_finish_ctx): Likewise.
18201 (__sha256_process_bytes): Likewise.
18202 * crypt/sha512.c (__sha512_init_ctx): Likewise.
18203 (__sha512_finish_ctx): Likewise.
18204 (__sha512_process_bytes): Likewise.
18205 * ctype/isctype.c (__isctype): Likewise.
18206 * debug/backtrace.c (__backtrace): Likewise.
18207 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
18208 * debug/fgets_chk.c (__fgets_chk): Likewise.
18209 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
18210 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
18211 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18212 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18213 * debug/memset_chk.c (__memset_chk): Likewise.
18214 * debug/strcat_chk.c (__strcat_chk): Likewise.
18215 * debug/strncat_chk.c (__strncat_chk): Likewise.
18216 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
18217 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
18218 * dirent/dirfd.c (dirfd): Likewise.
18219 * dirent/getdents.c (__getdirentries): Likewise.
18220 * dirent/getdents64.c (getdirentries64): Likewise.
18221 * dirent/rewinddir.c (__rewinddir): Likewise.
18222 * dirent/seekdir.c (seekdir): Likewise.
18223 * dirent/telldir.c (telldir): Likewise.
18224 * elf/sln.c (makesymlinks): Likewise.
18225 (makesymlink): Likewise.
18226 * gmon/gmon.c (__moncontrol): Likewise.
18227 (__monstartup): Likewise.
18228 (write_hist): Likewise.
18229 (write_call_graph): Likewise.
18230 (write_bb_counts): Likewise.
18231 * grp/setgroups.c (setgroups): Likewise.
18232 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18233 * inet/inet_net.c (inet_network): Likewise.
18234 * inet/inet_netof.c (inet_netof): Likewise.
18235 * inet/rcmd.c (rresvport_af): Likewise.
18236 (rresvport): Likewise.
18237 * io/access.c (__access): Likewise.
18238 * io/chdir.c (__chdir): Likewise.
18239 * io/chmod.c (__chmod): Likewise.
18240 * io/chown.c (__chown): Likewise.
18241 * io/close.c (__close): Likewise.
18242 * io/creat.c (creat): Likewise.
18243 * io/creat64.c (creat64): Likewise.
18244 * io/dup.c (__dup): Likewise.
18245 * io/dup2.c (__dup2): Likewise.
18246 * io/dup3.c (__dup3): Likewise.
18247 * io/euidaccess.c (__euidaccess): Likewise.
18248 * io/faccessat.c (faccessat): Likewise.
18249 * io/fchmod.c (__fchmod): Likewise.
18250 * io/fchmodat.c (fchmodat): Likewise.
18251 * io/fchown.c (__fchown): Likewise.
18252 * io/fchownat.c (fchownat): Likewise.
18253 * io/fcntl.c (__fcntl): Likewise.
18254 * io/flock.c (__flock): Likewise.
18255 * io/fts.c (fts_load): Likewise.
18256 (fts_close): Likewise.
18257 (fts_read): Likewise.
18258 (fts_set): Likewise.
18259 (fts_children): Likewise.
18260 (fts_build): Likewise.
18261 (fts_stat): Likewise.
18262 (fts_sort): Likewise.
18263 (fts_alloc): Likewise.
18264 (fts_lfree): Likewise.
18265 (fts_palloc): Likewise.
18266 (fts_padjust): Likewise.
18267 (fts_maxarglen): Likewise.
18268 (fts_safe_changedir): Likewise.
18269 * io/getwd.c (getwd): Likewise.
18270 * io/isatty.c (__isatty): Likewise.
18271 * io/lchown.c (__lchown): Likewise.
18272 * io/link.c (__link): Likewise.
18273 * io/linkat.c (linkat): Likewise.
18274 * io/lseek.c (__libc_lseek): Likewise.
18275 * io/mkdir.c (__mkdir): Likewise.
18276 * io/mkdirat.c (mkdirat): Likewise.
18277 * io/mkfifo.c (mkfifo): Likewise.
18278 * io/mkfifoat.c (mkfifoat): Likewise.
18279 * io/open.c (__libc_open): Likewise.
18280 * io/open64.c (__libc_open64): Likewise.
18281 * io/readlink.c (__readlink): Likewise.
18282 * io/readlinkat.c (readlinkat): Likewise.
18283 * io/rmdir.c (__rmdir): Likewise.
18284 * io/symlink.c (__symlink): Likewise.
18285 * io/symlinkat.c (symlinkat): Likewise.
18286 * io/ttyname.c (ttyname): Likewise.
18287 * io/ttyname_r.c (__ttyname_r): Likewise.
18288 * io/umask.c (__umask): Likewise.
18289 * io/unlink.c (__unlink): Likewise.
18290 * io/unlinkat.c (unlinkat): Likewise.
18291 * io/utime.c (utime): Likewise.
18292 * libio/clearerr.c (clearerr): Likewise.
18293 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
18294 * libio/feof.c (_IO_feof): Likewise.
18295 * libio/feof_u.c (feof_unlocked): Likewise.
18296 * libio/ferror.c (_IO_ferror): Likewise.
18297 * libio/ferror_u.c (ferror_unlocked): Likewise.
18298 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18299 * libio/fileno.c (__fileno): Likewise.
18300 * libio/fputc.c (fputc): Likewise.
18301 * libio/fputc_u.c (fputc_unlocked): Likewise.
18302 * libio/fputwc.c (fputwc): Likewise.
18303 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
18304 * libio/freopen.c (freopen): Likewise.
18305 * libio/freopen64.c (freopen64): Likewise.
18306 * libio/fseek.c (fseek): Likewise.
18307 * libio/fseeko.c (fseeko): Likewise.
18308 * libio/fseeko64.c (fseeko64): Likewise.
18309 * libio/ftello.c (__ftello): Likewise.
18310 * libio/ftello64.c (ftello64): Likewise.
18311 * libio/fwide.c (fwide): Likewise.
18312 * libio/genops.c (_IO_un_link): Likewise.
18313 (_IO_link_in): Likewise.
18314 (_IO_least_marker): Likewise.
18315 (_IO_switch_to_main_get_area): Likewise.
18316 (_IO_switch_to_backup_area): Likewise.
18317 (_IO_switch_to_get_mode): Likewise.
18318 (_IO_free_backup_area): Likewise.
18319 (_IO_switch_to_put_mode): Likewise.
18320 (__overflow): Likewise.
18321 (__underflow): Likewise.
18322 (__uflow): Likewise.
18323 (_IO_setb): Likewise.
18324 (_IO_doallocbuf): Likewise.
18325 (_IO_default_underflow): Likewise.
18326 (_IO_default_uflow): Likewise.
18327 (_IO_default_xsputn): Likewise.
18328 (_IO_sgetn): Likewise.
18329 (_IO_default_xsgetn): Likewise.
18330 (_IO_sync): Likewise.
18331 (_IO_default_setbuf): Likewise.
18332 (_IO_default_seekpos): Likewise.
18333 (_IO_default_doallocate): Likewise.
18334 (_IO_init): Likewise.
18335 (_IO_old_init): Likewise.
18336 (_IO_default_sync): Likewise.
18337 (_IO_default_finish): Likewise.
18338 (_IO_default_seekoff): Likewise.
18339 (_IO_sputbackc): Likewise.
18340 (_IO_sungetc): Likewise.
18341 (_IO_set_column): Likewise.
18342 (_IO_set_column): Likewise.
18343 (_IO_adjust_column): Likewise.
18344 (_IO_get_column): Likewise.
18345 (_IO_init_marker): Likewise.
18346 (_IO_remove_marker): Likewise.
18347 (_IO_marker_difference): Likewise.
18348 (_IO_marker_delta): Likewise.
18349 (_IO_seekmark): Likewise.
18350 (_IO_unsave_markers): Likewise.
18351 (_IO_nobackup_pbackfail): Likewise.
18352 (_IO_default_pbackfail): Likewise.
18353 (_IO_default_seek): Likewise.
18354 (_IO_default_stat): Likewise.
18355 (_IO_default_read): Likewise.
18356 (_IO_default_write): Likewise.
18357 (_IO_default_showmanyc): Likewise.
18358 (_IO_default_imbue): Likewise.
18359 (_IO_iter_next): Likewise.
18360 (_IO_iter_file): Likewise.
18361 * libio/getc.c (_IO_getc): Likewise.
18362 * libio/getwc.c (_IO_getwc): Likewise.
18363 * libio/iofclose.c (_IO_new_fclose): Likewise.
18364 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18365 * libio/iofflush.c (_IO_fflush): Likewise.
18366 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
18367 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
18368 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
18369 * libio/iofgets.c (_IO_fgets): Likewise.
18370 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
18371 * libio/iofgetws.c (fgetws): Likewise.
18372 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18373 * libio/iofopen64.c (_IO_fopen64): Likewise.
18374 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18375 (_IO_cookie_write): Likewise.
18376 (_IO_cookie_seek): Likewise.
18377 (_IO_cookie_close): Likewise.
18378 (_IO_cookie_seekoff): Likewise.
18379 (_IO_old_cookie_seek): Likewise.
18380 * libio/iofputs.c (_IO_fputs): Likewise.
18381 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
18382 * libio/iofputws.c (fputws): Likewise.
18383 * libio/iofputws_u.c (fputws_unlocked): Likewise.
18384 * libio/iofread.c (_IO_fread): Likewise.
18385 * libio/iofread_u.c (__fread_unlocked): Likewise.
18386 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
18387 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
18388 * libio/ioftell.c (_IO_ftell): Likewise.
18389 * libio/iofwrite.c (_IO_fwrite): Likewise.
18390 * libio/iogetdelim.c (_IO_getdelim): Likewise.
18391 * libio/iogets.c (_IO_gets): Likewise.
18392 * libio/iopadn.c (_IO_padn): Likewise.
18393 * libio/iopopen.c (_IO_new_proc_open): Likewise.
18394 (_IO_new_popen): Likewise.
18395 (_IO_new_proc_close): Likewise.
18396 * libio/ioputs.c (_IO_puts): Likewise.
18397 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
18398 (_IO_seekoff): Likewise.
18399 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
18400 (_IO_seekpos): Likewise.
18401 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
18402 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
18403 * libio/ioungetc.c (_IO_ungetc): Likewise.
18404 * libio/ioungetwc.c (ungetwc): Likewise.
18405 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18406 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
18407 * libio/iowpadn.c (_IO_wpadn): Likewise.
18408 * libio/libc_fatal.c (__libc_fatal): Likewise.
18409 * libio/memstream.c (__open_memstream): Likewise.
18410 (_IO_mem_sync): Likewise.
18411 (_IO_mem_finish): Likewise.
18412 * libio/oldfileops.c (_IO_old_file_init): Likewise.
18413 (_IO_old_file_close_it): Likewise.
18414 (_IO_old_file_finish): Likewise.
18415 (_IO_old_file_fopen): Likewise.
18416 (_IO_old_file_attach): Likewise.
18417 (_IO_old_file_setbuf): Likewise.
18418 (_IO_old_do_write): Likewise.
18419 (old_do_write): Likewise.
18420 (_IO_old_file_underflow): Likewise.
18421 (_IO_old_file_overflow): Likewise.
18422 (_IO_old_file_sync): Likewise.
18423 (_IO_old_file_seekoff): Likewise.
18424 (_IO_old_file_write): Likewise.
18425 (_IO_old_file_xsputn): Likewise.
18426 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
18427 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18428 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
18429 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
18430 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18431 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
18432 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
18433 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
18434 (_IO_old_popen): Likewise.
18435 (_IO_old_proc_close): Likewise.
18436 * libio/oldpclose.c (__old_pclose): Likewise.
18437 * libio/pclose.c (__new_pclose): Likewise.
18438 * libio/peekc.c (_IO_peekc_locked): Likewise.
18439 * libio/putc.c (_IO_putc): Likewise.
18440 * libio/putc_u.c (putc_unlocked): Likewise.
18441 * libio/putchar.c (putchar): Likewise.
18442 * libio/putchar_u.c (putchar_unlocked): Likewise.
18443 * libio/putwc.c (putwc): Likewise.
18444 * libio/putwc_u.c (putwc_unlocked): Likewise.
18445 * libio/putwchar.c (putwchar): Likewise.
18446 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
18447 * libio/rewind.c (rewind): Likewise.
18448 * libio/setbuf.c (setbuf): Likewise.
18449 * libio/setlinebuf.c (setlinebuf): Likewise.
18450 * libio/vasprintf.c (_IO_vasprintf): Likewise.
18451 * libio/vscanf.c (_IO_vscanf): Likewise.
18452 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
18453 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
18454 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
18455 * libio/wgenops.c (_IO_least_wmarker): Likewise.
18456 (_IO_switch_to_main_wget_area): Likewise.
18457 (_IO_switch_to_wbackup_area): Likewise.
18458 (_IO_wsetb): Likewise.
18459 (_IO_wdefault_pbackfail): Likewise.
18460 (_IO_wdefault_finish): Likewise.
18461 (_IO_wdefault_uflow): Likewise.
18462 (__woverflow): Likewise.
18463 (__wuflow): Likewise.
18464 (__wunderflow): Likewise.
18465 (_IO_wdefault_xsputn): Likewise.
18466 (_IO_wdefault_xsgetn): Likewise.
18467 (_IO_wdoallocbuf): Likewise.
18468 (_IO_wdefault_doallocate): Likewise.
18469 (_IO_switch_to_wget_mode): Likewise.
18470 (_IO_free_wbackup_area): Likewise.
18471 (_IO_switch_to_wput_mode): Likewise.
18472 (_IO_sputbackwc): Likewise.
18473 (_IO_sungetwc): Likewise.
18474 (_IO_adjust_wcolumn): Likewise.
18475 (_IO_init_wmarker): Likewise.
18476 (_IO_wmarker_delta): Likewise.
18477 (_IO_seekwmark): Likewise.
18478 (_IO_unsave_wmarkers): Likewise.
18479 * libio/wmemstream.c (open_wmemstream): Likewise.
18480 (_IO_wmem_sync): Likewise.
18481 (_IO_wmem_finish): Likewise.
18482 * locale/nl_langinfo.c (nl_langinfo): Likewise.
18483 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
18484 * locale/programs/simple-hash.c (init_hash): Likewise.
18485 (delete_hash): Likewise.
18486 (insert_entry): Likewise.
18487 (set_entry): Likewise.
18488 (next_prime): Likewise.
18489 (is_prime): Likewise.
18490 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
18491 (xmalloc): Likewise.
18492 (xrealloc): Likewise.
18493 * locale/programs/xstrdup.c (xstrdup): Likewise.
18494 * localedata/collate-test.c (xstrcoll): Likewise.
18495 * localedata/xfrm-test.c (xstrcmp): Likewise.
18496 * login/getlogin_r.c (__getlogin_r): Likewise.
18497 * login/getpt.c (__posix_openpt): Likewise.
18498 * login/login_tty.c (login_tty): Likewise.
18499 * login/setlogin.c (setlogin): Likewise.
18500 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
18501 (mach_msg_destroy_port): Likewise.
18502 (mach_msg_destroy_memory): Likewise.
18503 * malloc/mcheck.c (flood): Likewise.
18504 * misc/acct.c (acct): Likewise.
18505 * misc/brk.c (__brk): Likewise.
18506 * misc/chflags.c (chflags): Likewise.
18507 * misc/chroot.c (chroot): Likewise.
18508 * misc/fchflags.c (fchflags): Likewise.
18509 * misc/fstab.c (getfsspec): Likewise.
18510 (getfsfile): Likewise.
18511 * misc/fsync.c (fsync): Likewise.
18512 * misc/ftruncate.c (__ftruncate): Likewise.
18513 * misc/ftruncate64.c (__ftruncate64): Likewise.
18514 * misc/getdomain.c (getdomainname): Likewise.
18515 (getdomainname): Likewise.
18516 * misc/gethostname.c (__gethostname): Likewise.
18517 * misc/getpass.c (getpass): Likewise.
18518 * misc/getttyent.c (skip): Likewise.
18519 (value): Likewise.
18520 * misc/gtty.c (gtty): Likewise.
18521 * misc/hsearch.c (hsearch): Likewise.
18522 (hcreate): Likewise.
18523 * misc/hsearch_r.c (__hcreate_r): Likewise.
18524 (__hdestroy_r): Likewise.
18525 * misc/ioctl.c (__ioctl): Likewise.
18526 * misc/mkdtemp.c (mkdtemp): Likewise.
18527 * misc/mkostemp.c (mkostemp): Likewise.
18528 * misc/mkostemp64.c (mkostemp64): Likewise.
18529 * misc/mkostemps.c (mkostemps): Likewise.
18530 * misc/mkostemps64.c (mkostemps64): Likewise.
18531 * misc/mkstemp.c (mkstemp): Likewise.
18532 * misc/mkstemp64.c (mkstemp64): Likewise.
18533 * misc/mkstemps.c (mkstemps): Likewise.
18534 * misc/mkstemps64.c (mkstemps64): Likewise.
18535 * misc/mktemp.c (__mktemp): Likewise.
18536 * misc/preadv.c (preadv): Likewise.
18537 * misc/preadv64.c (preadv64): Likewise.
18538 * misc/pwritev.c (pwritev): Likewise.
18539 * misc/pwritev64.c (pwritev64): Likewise.
18540 * misc/readv.c (__readv): Likewise.
18541 * misc/revoke.c (revoke): Likewise.
18542 * misc/setdomain.c (setdomainname): Likewise.
18543 * misc/setegid.c (setegid): Likewise.
18544 * misc/seteuid.c (seteuid): Likewise.
18545 * misc/sethostid.c (sethostid): Likewise.
18546 * misc/sethostname.c (sethostname): Likewise.
18547 * misc/setregid.c (__setregid): Likewise.
18548 * misc/setreuid.c (__setreuid): Likewise.
18549 * misc/sstk.c (sstk): Likewise.
18550 * misc/stty.c (stty): Likewise.
18551 * misc/syscall.c (syscall): Likewise.
18552 * misc/syslog.c (setlogmask): Likewise.
18553 * misc/truncate.c (__truncate): Likewise.
18554 * misc/truncate64.c (truncate64): Likewise.
18555 * misc/ualarm.c (ualarm): Likewise.
18556 * misc/usleep.c (usleep): Likewise.
18557 * misc/ustat.c (ustat): Likewise.
18558 * misc/writev.c (__writev): Likewise.
18559 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
18560 * nptl/old_pthread_cond_broadcast.c
18561 (__pthread_cond_broadcast_2_0): Likewise.
18562 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
18563 Likewise.
18564 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
18565 Likewise.
18566 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
18567 Likewise.
18568 * nptl/pt-raise.c (raise): Likewise.
18569 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
18570 Likewise.
18571 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
18572 * nptl/pthread_barrierattr_destroy.c
18573 (pthread_barrierattr_destroy): Likewise.
18574 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
18575 Likewise.
18576 * nptl/pthread_barrierattr_setpshared.c
18577 (pthread_barrierattr_setpshared): Likewise.
18578 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18579 Likewise.
18580 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
18581 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
18582 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
18583 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
18584 Likewise.
18585 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
18586 Likewise.
18587 * nptl/pthread_condattr_getpshared.c
18588 (pthread_condattr_getpshared): Likewise.
18589 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
18590 Likewise.
18591 * nptl/pthread_condattr_setpshared.c
18592 (pthread_condattr_setpshared): Likewise.
18593 * nptl/pthread_detach.c (pthread_detach): Likewise.
18594 * nptl/pthread_equal.c (__pthread_equal): Likewise.
18595 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
18596 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
18597 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
18598 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
18599 Likewise.
18600 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
18601 Likewise.
18602 * nptl/pthread_mutex_getprioceiling.c
18603 (pthread_mutex_getprioceiling): Likewise.
18604 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
18605 Likewise.
18606 * nptl/pthread_mutexattr_getprotocol.c
18607 (pthread_mutexattr_getprotocol): Likewise.
18608 * nptl/pthread_mutexattr_getpshared.c
18609 (pthread_mutexattr_getpshared): Likewise.
18610 * nptl/pthread_mutexattr_getrobust.c
18611 (pthread_mutexattr_getrobust): Likewise.
18612 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18613 Likewise.
18614 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
18615 Likewise.
18616 * nptl/pthread_mutexattr_setprioceiling.c
18617 (pthread_mutexattr_setprioceiling): Likewise.
18618 * nptl/pthread_mutexattr_setprotocol.c
18619 (pthread_mutexattr_setprotocol): Likewise.
18620 * nptl/pthread_mutexattr_setpshared.c
18621 (pthread_mutexattr_setpshared): Likewise.
18622 * nptl/pthread_mutexattr_setrobust.c
18623 (pthread_mutexattr_setrobust): Likewise.
18624 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
18625 Likewise.
18626 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
18627 Likewise.
18628 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
18629 Likewise.
18630 * nptl/pthread_rwlockattr_getkind_np.c
18631 (pthread_rwlockattr_getkind_np): Likewise.
18632 * nptl/pthread_rwlockattr_getpshared.c
18633 (pthread_rwlockattr_getpshared): Likewise.
18634 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
18635 Likewise.
18636 * nptl/pthread_rwlockattr_setkind_np.c
18637 (pthread_rwlockattr_setkind_np): Likewise.
18638 * nptl/pthread_rwlockattr_setpshared.c
18639 (pthread_rwlockattr_setpshared): Likewise.
18640 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
18641 Likewise.
18642 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
18643 Likewise.
18644 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
18645 Likewise.
18646 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
18647 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
18648 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
18649 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
18650 * nptl/sem_close.c (sem_close): Likewise.
18651 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
18652 * nptl/sem_init.c (__old_sem_init): Likewise.
18653 * nptl/sigaction.c (__sigaction): Likewise.
18654 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18655 * posix/_exit.c (_exit): Likewise.
18656 * posix/alarm.c (alarm): Likewise.
18657 * posix/confstr.c (confstr): Likewise.
18658 * posix/fpathconf.c (__fpathconf): Likewise.
18659 * posix/getgroups.c (__getgroups): Likewise.
18660 * posix/getpgid.c (__getpgid): Likewise.
18661 * posix/group_member.c (__group_member): Likewise.
18662 * posix/pathconf.c (__pathconf): Likewise.
18663 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
18664 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
18665 * posix/setgid.c (__setgid): Likewise.
18666 * posix/setpgid.c (__setpgid): Likewise.
18667 * posix/setuid.c (__setuid): Likewise.
18668 * posix/sleep.c (__sleep): Likewise.
18669 * posix/sysconf.c (__sysconf): Likewise.
18670 * posix/times.c (__times): Likewise.
18671 * posix/uname.c (__uname): Likewise.
18672 * posix/waitid.c (__waitid): Likewise.
18673 * pwd/getpw.c (__getpw): Likewise.
18674 * resolv/base64.c (b64_pton): Likewise.
18675 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
18676 * resolv/gethnamaddr.c (Dprintf): Likewise.
18677 (gethostbyname): Likewise.
18678 (gethostbyname2): Likewise.
18679 (gethostbyaddr): Likewise.
18680 (_sethtent): Likewise.
18681 (_gethtbyname): Likewise.
18682 (_gethtbyname2): Likewise.
18683 (_gethtbyaddr): Likewise.
18684 (map_v4v6_address): Likewise.
18685 (map_v4v6_hostent): Likewise.
18686 (addrsort): Likewise.
18687 (ht_sethostent): Likewise.
18688 (ht_gethostbyname): Likewise.
18689 (ht_gethostbyaddr): Likewise.
18690 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
18691 (inet_net_ntop_ipv4): Likewise.
18692 * resolv/inet_neta.c (inet_neta): Likewise.
18693 * resolv/inet_ntop.c (inet_ntop): Likewise.
18694 (inet_ntop4): Likewise.
18695 (inet_ntop6): Likewise.
18696 * resolv/inet_pton.c (__inet_pton): Likewise.
18697 (inet_pton4): Likewise.
18698 (inet_pton6): Likewise.
18699 * resolv/res_debug.c (loc_aton): Likewise.
18700 (loc_ntoa): Likewise.
18701 * resource/getpriority.c (__getpriority): Likewise.
18702 * resource/getrusage.c (__getrusage): Likewise.
18703 * resource/nice.c (nice): Likewise.
18704 * resource/setpriority.c (__setpriority): Likewise.
18705 * resource/setrlimit64.c (setrlimit64): Likewise.
18706 * resource/vlimit.c (vlimit): Likewise.
18707 * resource/vtimes.c (vtimes): Likewise.
18708 * rt/aio_error.c (aio_error): Likewise.
18709 * rt/aio_return.c (aio_return): Likewise.
18710 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
18711 * signal/kill.c (__kill): Likewise.
18712 * signal/killpg.c (killpg): Likewise.
18713 * signal/raise.c (raise): Likewise.
18714 * signal/sigaction.c (__sigaction): Likewise.
18715 * signal/sigaddset.c (sigaddset): Likewise.
18716 * signal/sigaltstack.c (sigaltstack): Likewise.
18717 * signal/sigandset.c (sigandset): Likewise.
18718 * signal/sigblock.c (__sigblock): Likewise.
18719 * signal/sigdelset.c (sigdelset): Likewise.
18720 * signal/sigempty.c (sigemptyset): Likewise.
18721 * signal/sigfillset.c (sigfillset): Likewise.
18722 * signal/sighold.c (sighold): Likewise.
18723 * signal/sigignore.c (sigignore): Likewise.
18724 * signal/sigintr.c (siginterrupt): Likewise.
18725 * signal/sigisempty.c (sigisemptyset): Likewise.
18726 * signal/sigismem.c (sigismember): Likewise.
18727 * signal/signal.c (signal): Likewise.
18728 * signal/sigorset.c (sigorset): Likewise.
18729 * signal/sigpause.c (__sigpause): Likewise.
18730 * signal/sigpending.c (sigpending): Likewise.
18731 * signal/sigprocmask.c (__sigprocmask): Likewise.
18732 * signal/sigrelse.c (sigrelse): Likewise.
18733 * signal/sigreturn.c (__sigreturn): Likewise.
18734 * signal/sigset.c (sigset): Likewise.
18735 * signal/sigsetmask.c (__sigsetmask): Likewise.
18736 * signal/sigstack.c (sigstack): Likewise.
18737 * signal/sigsuspend.c (__sigsuspend): Likewise.
18738 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
18739 * signal/sysv_signal.c (__sysv_signal): Likewise.
18740 * socket/accept.c (accept): Likewise.
18741 * socket/accept4.c (__libc_accept4): Likewise.
18742 * socket/bind.c (__bind): Likewise.
18743 * socket/connect.c (__connect): Likewise.
18744 * socket/getpeername.c (getpeername): Likewise.
18745 * socket/getsockname.c (__getsockname): Likewise.
18746 * socket/getsockopt.c (getsockopt): Likewise.
18747 * socket/listen.c (__listen): Likewise.
18748 * socket/recv.c (__recv): Likewise.
18749 * socket/recvmsg.c (__recvmsg): Likewise.
18750 * socket/send.c (__send): Likewise.
18751 * socket/sendmsg.c (__sendmsg): Likewise.
18752 * socket/shutdown.c (shutdown): Likewise.
18753 * socket/sockatmark.c (sockatmark): Likewise.
18754 * socket/socket.c (__socket): Likewise.
18755 * stdio-common/ctermid.c (ctermid): Likewise.
18756 * stdio-common/cuserid.c (cuserid): Likewise.
18757 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
18758 * stdio-common/remove.c (remove): Likewise.
18759 * stdio-common/rename.c (rename): Likewise.
18760 * stdio-common/renameat.c (renameat): Likewise.
18761 * stdio-common/tempname.c (__gen_tempname): Likewise.
18762 * stdio-common/xbug.c (InitBuffer): Likewise.
18763 (AppendToBuffer): Likewise.
18764 (ReadFile): Likewise.
18765 * stdlib/a64l.c (a64l): Likewise.
18766 * stdlib/drand48_r.c (drand48_r): Likewise.
18767 * stdlib/getcontext.c (getcontext): Likewise.
18768 * stdlib/getenv.c (getenv): Likewise.
18769 * stdlib/l64a.c (l64a): Likewise.
18770 * stdlib/llabs.c (llabs): Likewise.
18771 * stdlib/lldiv.c (lldiv): Likewise.
18772 * stdlib/lrand48_r.c (lrand48_r): Likewise.
18773 * stdlib/mrand48_r.c (mrand48_r): Likewise.
18774 * stdlib/putenv.c (putenv): Likewise.
18775 * stdlib/random.c (__srandom): Likewise.
18776 (__initstate): Likewise.
18777 (__setstate): Likewise.
18778 * stdlib/random_r.c (__srandom_r): Likewise.
18779 (__setstate_r): Likewise.
18780 (__random_r): Likewise.
18781 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
18782 * stdlib/setcontext.c (setcontext): Likewise.
18783 * stdlib/setenv.c (setenv): Likewise.
18784 (unsetenv): Likewise.
18785 * stdlib/srand48.c (srand48): Likewise.
18786 * stdlib/srand48_r.c (__srand48_r): Likewise.
18787 * stdlib/swapcontext.c (swapcontext): Likewise.
18788 * stdlib/system.c (__libc_system): Likewise.
18789 * stdlib/tst-strtod.c (expand): Likewise.
18790 * stdlib/tst-strtol.c (expand): Likewise.
18791 * stdlib/tst-strtoll.c (expand): Likewise.
18792 * streams/fattach.c (fattach): Likewise.
18793 * streams/fdetach.c (fdetach): Likewise.
18794 * streams/getmsg.c (getmsg): Likewise.
18795 * streams/isastream.c (isastream): Likewise.
18796 * string/ffs.c (__ffs): Likewise.
18797 * string/ffsll.c (ffsll): Likewise.
18798 * string/memcmp.c (memcmp_common_alignment): Likewise.
18799 (memcmp_not_common_alignment): Likewise.
18800 (MEMCMP): Likewise.
18801 * string/memcpy.c (memcpy): Likewise.
18802 * string/memmove.c (MEMMOVE): Likewise.
18803 * string/memset.c (memset): Likewise.
18804 * string/rawmemchr.c (RAWMEMCHR): Likewise.
18805 * string/strchrnul.c (STRCHRNUL): Likewise.
18806 * string/strerror.c (strerror): Likewise.
18807 * string/strndup.c (__strndup): Likewise.
18808 * string/strverscmp.c (__strverscmp): Likewise.
18809 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
18810 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
18811 (clnttcp_freeres): Likewise.
18812 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
18813 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
18814 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
18815 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
18816 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
18817 (xdr_callhdr): Likewise.
18818 * sunrpc/rpcinfo.c (udpping): Likewise.
18819 (tcpping): Likewise.
18820 (pstatus): Likewise.
18821 (pmapdump): Likewise.
18822 (brdcst): Likewise.
18823 (deletereg): Likewise.
18824 (getprognum): Likewise.
18825 (getvers): Likewise.
18826 (get_inet_address): Likewise.
18827 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
18828 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18829 (svcudp_stat): Likewise.
18830 (svcudp_recv): Likewise.
18831 (svcudp_reply): Likewise.
18832 (svcudp_getargs): Likewise.
18833 (svcudp_freeargs): Likewise.
18834 (svcudp_destroy): Likewise.
18835 * sunrpc/xdr.c (xdr_bytes): Likewise.
18836 (xdr_netobj): Likewise.
18837 (xdr_string): Likewise.
18838 (xdr_wrapstring): Likewise.
18839 * sunrpc/xdr_float.c (xdr_float): Likewise.
18840 (xdr_double): Likewise.
18841 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
18842 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
18843 * sysvipc/ftok.c (ftok): Likewise.
18844 * sysvipc/msgctl.c (msgctl): Likewise.
18845 * sysvipc/msgget.c (msgget): Likewise.
18846 * sysvipc/msgrcv.c (msgrcv): Likewise.
18847 * sysvipc/msgsnd.c (msgsnd): Likewise.
18848 * sysvipc/semget.c (semget): Likewise.
18849 * sysvipc/semop.c (semop): Likewise.
18850 * sysvipc/shmat.c (shmat): Likewise.
18851 * sysvipc/shmctl.c (shmctl): Likewise.
18852 * sysvipc/shmdt.c (shmdt): Likewise.
18853 * sysvipc/shmget.c (shmget): Likewise.
18854 * termios/cfmakeraw.c (cfmakeraw): Likewise.
18855 * termios/speed.c (cfgetospeed): Likewise.
18856 (cfgetispeed): Likewise.
18857 (cfsetospeed): Likewise.
18858 (cfsetispeed): Likewise.
18859 * termios/tcflow.c (tcflow): Likewise.
18860 * termios/tcflush.c (tcflush): Likewise.
18861 * termios/tcgetattr.c (__tcgetattr): Likewise.
18862 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
18863 * termios/tcgetsid.c (tcgetsid): Likewise.
18864 * termios/tcsendbrk.c (tcsendbreak): Likewise.
18865 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
18866 * time/adjtime.c (__adjtime): Likewise.
18867 * time/dysize.c (dysize): Likewise.
18868 * time/ftime.c (ftime): Likewise.
18869 * time/getitimer.c (__getitimer): Likewise.
18870 * time/gettimeofday.c (__gettimeofday): Likewise.
18871 * time/gmtime.c (__gmtime_r): Likewise.
18872 (gmtime): Likewise.
18873 * time/localtime.c (__localtime_r): Likewise.
18874 (localtime): Likewise.
18875 * time/offtime.c (__offtime): Likewise.
18876 * time/settimeofday.c (__settimeofday): Likewise.
18877 * time/stime.c (stime): Likewise.
18878 * time/strftime_l.c (tm_diff): Likewise.
18879 (iso_week_days): Likewise.
18880 * time/strptime.c (strptime): Likewise.
18881 * time/time.c (time): Likewise.
18882 * time/timespec_get.c (timespec_get): Likewise.
18883 * time/tzset.c (tzset_internal): Likewise.
18884 (compute_change): Likewise.
18885 (__tz_compute): Likewise.
18886 * wcsmbs/btowc.c (__btowc): Likewise.
18887 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
18888 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
18889 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
18890 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
18891 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
18892 * wcsmbs/wcscat.c (__wcscat): Likewise.
18893 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18894 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
18895 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
18896 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18897 * wcsmbs/wcsdup.c (wcsdup): Likewise.
18898 * wcsmbs/wcslen.c (__wcslen): Likewise.
18899 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
18900 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
18901 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
18902 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
18903 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18904 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
18905 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18906 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18907 * wcsmbs/wcstok.c (wcstok): Likewise.
18908 * wcsmbs/wctob.c (wctob): Likewise.
18909 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
18910 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18911 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
18912 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
18913 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
18914 * wcsmbs/wmemset.c (__wmemset): Likewise.
18915 * wctype/wcfuncs.c (__towlower): Likewise.
18916 (__towupper): Likewise.
18917
18918 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
18919 (lll_unlock_elision): Add adapt_count parameter.
18920
18921 2015-10-15 Joseph Myers <joseph@codesourcery.com>
18922
18923 * sysdeps/nptl/configure.ac: Do not give errors based on the
18924 results of top-level configure tests.
18925 * sysdeps/nptl/configure: Regenerated.
18926
18927 * configure.ac (libc_cv_Bgroup): Remove configure test.
18928 * configure: Regenerated.
18929 * config.make.in (have-Bgroup): Remove variable.
18930
18931 * configure.ac (sizeof_long_double): Remove configure test.
18932 * configure: Regenerated.
18933 * config.make.in (sizeof-long-double): Remove variable.
18934
18935 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
18936 * configure: Regenerated.
18937 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
18938 variable.
18939 (exceptions): Likewise.
18940 * sysdeps/arm/configure: Regenerated.
18941 * config.make.in (exceptions): Remove variable.
18942 * Makeconfig (uses-callbacks): Use -fexceptions instead of
18943 $(exceptions).
18944 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
18945 (CFLAGS-vdprintf_chk.c): Likewise.
18946 (CFLAGS-printf_chk.c): Likewise.
18947 (CFLAGS-fprintf_chk.c): Likewise.
18948 (CFLAGS-vprintf_chk.c): Likewise.
18949 (CFLAGS-vfprintf_chk.c): Likewise.
18950 (CFLAGS-gets_chk.c): Likewise.
18951 (CFLAGS-fgets_chk.c): Likewise.
18952 (CFLAGS-fgets_u_chk.c): Likewise.
18953 (CFLAGS-fread_chk.c): Likewise.
18954 (CFLAGS-fread_u_chk.c): Likewise.
18955 (CFLAGS-wprintf_chk.c): Likewise.
18956 (CFLAGS-fwprintf_chk.c): Likewise.
18957 (CFLAGS-vwprintf_chk.c): Likewise.
18958 (CFLAGS-vfwprintf_chk.c): Likewise.
18959 (CFLAGS-fgetws_chk.c): Likewise.
18960 (CFLAGS-fgetws_u_chk.c): Likewise.
18961 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18962 (CFLAGS-fputc.c): Likewise.
18963 (CFLAGS-fputwc.c): Likewise.
18964 (CFLAGS-freopen64.c): Likewise.
18965 (CFLAGS-freopen.c): Likewise.
18966 (CFLAGS-fseek.c): Likewise.
18967 (CFLAGS-fseeko64.c): Likewise.
18968 (CFLAGS-fseeko.c): Likewise.
18969 (CFLAGS-ftello64.c): Likewise.
18970 (CFLAGS-ftello.c): Likewise.
18971 (CFLAGS-fwide.c): Likewise.
18972 (CFLAGS-genops.c): Likewise.
18973 (CFLAGS-getc.c): Likewise.
18974 (CFLAGS-getchar.c): Likewise.
18975 (CFLAGS-getwc.c): Likewise.
18976 (CFLAGS-getwchar.c): Likewise.
18977 (CFLAGS-iofclose.c): Likewise.
18978 (CFLAGS-iofflush.c): Likewise.
18979 (CFLAGS-iofgetpos64.c): Likewise.
18980 (CFLAGS-iofgetpos.c): Likewise.
18981 (CFLAGS-iofgets.c): Likewise.
18982 (CFLAGS-iofgetws.c): Likewise.
18983 (CFLAGS-iofputs.c): Likewise.
18984 (CFLAGS-iofputws.c): Likewise.
18985 (CFLAGS-iofread.c): Likewise.
18986 (CFLAGS-iofsetpos64.c): Likewise.
18987 (CFLAGS-iofsetpos.c): Likewise.
18988 (CFLAGS-ioftell.c): Likewise.
18989 (CFLAGS-iofwrite.c): Likewise.
18990 (CFLAGS-iogetdelim.c): Likewise.
18991 (CFLAGS-iogetline.c): Likewise.
18992 (CFLAGS-iogets.c): Likewise.
18993 (CFLAGS-iogetwline.c): Likewise.
18994 (CFLAGS-ioputs.c): Likewise.
18995 (CFLAGS-ioseekoff.c): Likewise.
18996 (CFLAGS-ioseekpos.c): Likewise.
18997 (CFLAGS-iosetbuffer.c): Likewise.
18998 (CFLAGS-iosetvbuf.c): Likewise.
18999 (CFLAGS-ioungetc.c): Likewise.
19000 (CFLAGS-ioungetwc.c): Likewise.
19001 (CFLAGS-oldfileops.c): Likewise.
19002 (CFLAGS-oldiofclose.c): Likewise.
19003 (CFLAGS-oldiofgetpos64.c): Likewise.
19004 (CFLAGS-oldiofgetpos.c): Likewise.
19005 (CFLAGS-oldiofsetpos64.c): Likewise.
19006 (CFLAGS-oldiofsetpos.c): Likewise.
19007 (CFLAGS-peekc.c): Likewise.
19008 (CFLAGS-putc.c): Likewise.
19009 (CFLAGS-putchar.c): Likewise.
19010 (CFLAGS-putwc.c): Likewise.
19011 (CFLAGS-putwchar.c): Likewise.
19012 (CFLAGS-rewind.c): Likewise.
19013 (CFLAGS-wfileops.c): Likewise.
19014 (CFLAGS-wgenops.c): Likewise.
19015 (CFLAGS-oldiofopen.c): Likewise.
19016 (CFLAGS-iofopen.c): Likewise.
19017 (CFLAGS-iofopen64.c): Likewise.
19018 (CFLAGS-oldtmpfile.c): Likewise.
19019 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19020 (CFLAGS-fprintf.c): Likewise.
19021 (CFLAGS-printf.c): Likewise.
19022 (CFLAGS-vfwprintf.c): Likewise.
19023 (CFLAGS-vfscanf.c): Likewise.
19024 (CFLAGS-vfwscanf.c): Likewise.
19025 (CFLAGS-fscanf.c): Likewise.
19026 (CFLAGS-scanf.c): Likewise.
19027 (CFLAGS-isoc99_vfscanf.c): Likewise.
19028 (CFLAGS-isoc99_vscanf.c): Likewise.
19029 (CFLAGS-isoc99_fscanf.c): Likewise.
19030 (CFLAGS-isoc99_scanf.c): Likewise.
19031 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
19032 (CFLAGS-isoc99_fwscanf.c): Likewise.
19033 (CFLAGS-isoc99_vwscanf.c): Likewise.
19034 (CFLAGS-isoc99_vfwscanf.c): Likewise.
19035
19036 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
19037 after mkstemp64.
19038 * login/tst-utmp.c (do_prepare): Likewise.
19039 * rt/tst-aio.c (do_prepare): Likewise.
19040 * rt/tst-aio64.c (do_prepare): Likewise.
19041
19042 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19043
19044 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19045 (__lll_lock_elision): Remove adapt_count decrement...
19046 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19047 (__lll_trylock_elision): Likewise.
19048 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
19049 (__lll_unlock_elision): ... to here. And utilize
19050 new adapt_count parameter.
19051 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
19052 (__lll_unlock_elision): Update to include adapt_count
19053 parameter.
19054 (lll_unlock_elision): Pass pointer to adapt_count
19055 variable.
19056
19057 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19058
19059 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
19060 Add elision adapt_count parameter to list of arguments.
19061 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
19062 (lll_unlock_elision): Update with new parameter list
19063 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
19064 (lll_unlock_elision): Likewise.
19065 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
19066 (lll_unlock_elision): Likewise.
19067
19068 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
19069
19070 [BZ #19122]
19071 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
19072 attribute_hidden.
19073
19074 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
19075 attribute_hidden.
19076 [IS_IN (rtld)] (__strdup): Likewise.
19077 [IS_IN (rtld)] (__strerror_r): Likewise.
19078 [IS_IN (rtld)] (__strsep_g): Likewise.
19079 [IS_IN (rtld)] (memchr): Likewise.
19080 [IS_IN (rtld)] (memcmp): Likewise.
19081 [IS_IN (rtld)] (memcpy): Likewise.
19082 [IS_IN (rtld)] (memmove): Likewise.
19083 [IS_IN (rtld)] (memset): Likewise.
19084 [IS_IN (rtld)] (rawmemchr): Likewise.
19085 [IS_IN (rtld)] (stpcpy): Likewise.
19086 [IS_IN (rtld)] (strchr): Likewise.
19087 [IS_IN (rtld)] (strcmp): Likewise.
19088 [IS_IN (rtld)] (strlen): Likewise.
19089 [IS_IN (rtld)] (strnlen): Likewise.
19090 [IS_IN (rtld)] (strsep): Likewise.
19091
19092 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
19093 attribute_hidden.
19094 [IS_IN (rtld)] (__strtoul_internal): Likewise.
19095
19096 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
19097 attribute_hidden.
19098 [IS_IN (rtld)] (__libc_sigaction): Likewise.
19099
19100 * include/setjmp.h (__longjmp): Add attribute_hidden.
19101 [IS_IN (rtld)] (__sigsetjmp): Likewise.
19102
19103 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
19104 Add attribute_hidden.
19105
19106 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
19107 [IS_IN (rtld)] (__open): Likewise.
19108 [IS_IN (rtld)] (__fcntl): Likewise.
19109
19110 * include/dirent.h (__opendirat): Add attribute_hidden.
19111 (__getdents): Likewise.
19112 (__getdents64): Likewise.
19113 (__alloc_dir): Likewise.
19114 [IS_IN (rtld)] (__closedir): Likewise.
19115 [IS_IN (rtld)] (__fdopendir): Likewise.
19116 [IS_IN (rtld)] (__readdir): Likewise.
19117 [IS_IN (rtld)] (__readdir64): Likewise.
19118 [IS_IN (rtld)] (__rewinddir): Likewise.
19119
19120 * include/dlfcn.h (_dl_catch_error): Moved to ...
19121 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
19122 attribute_hidden.
19123
19124 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
19125 (_itoa_word): Likewise.
19126
19127 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
19128 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
19129 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
19130 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
19131 (_dl_higher_prime_number): Likewise.
19132 (_dl_debug_printf_c): Likewise.
19133 (_dl_signal_cerror): Likewise.
19134 (_dl_receive_error): Likewise.
19135 (_dl_reloc_bad_type): Likewise.
19136 (_dl_resolve_conflicts): Likewise.
19137 (_dl_check_all_versions): Likewise.
19138 (_dl_check_map_versions): Likewise.
19139 (_dl_sort_fini): Likewise.
19140 (_dl_debug_initialize): Likewise.
19141 (_dl_init_paths): Likewise.
19142 (_dl_show_auxv): Likewise.
19143 (_dl_next_ld_env_entry): Likewise.
19144 (_dl_important_hwcaps): Likewise.
19145 (_dl_load_cache_lookup): Likewise.
19146 (_dl_update_slotinfo): Likewise.
19147 (_dl_show_scope): Likewise.
19148
19149 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
19150 attribute_hidden.
19151 (_wordcopy_fwd_dest_aligned): Likewise.
19152 (_wordcopy_bwd_aligned): Likewise.
19153 (_wordcopy_bwd_dest_aligned): Likewise.
19154
19155 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
19156 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
19157 Likewise.
19158 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
19159 Likewise.
19160 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
19161
19162 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
19163
19164 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
19165 GCC 5 requirement.
19166
19167 2015-10-15 Joseph Myers <joseph@codesourcery.com>
19168
19169 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
19170 test.
19171 * sysdeps/i386/configure: Regenerated.
19172 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
19173 code unconditional.
19174
19175 * configure.ac (libc_cv_asm_previous_directive): Remove configure
19176 test.
19177 (libc_cv_asm_popsection_directive): Likewise.
19178 * configure: Regenerated.
19179 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
19180 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
19181 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
19182 (__make_section_unallocated): Make definition unconditional.
19183 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
19184 Remove conditional definition.
19185 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
19186 (__make_section_unallocated): Likewise.
19187
19188 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
19189 * configure: Regenerated.
19190 * config.make.in (static-libgcc): Remove variable.
19191 * Makerules (build-shlib-helper): Use -static-libgcc instead of
19192 $(static-libgcc).
19193 (build-module-helper): Likewise.
19194
19195 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
19196 * configure: Regenerated.
19197
19198 2015-10-15 Florian Weimer <fweimer@redhat.com>
19199
19200 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
19201 (struct char_buffer): New type.
19202 (char_buffer_start, char_buffer_size, char_buffer_error)
19203 (char_buffer_rewind, char_buffer_add): New functions.
19204 (ADDW): Remove macro, replaced by the char_buffer_add function.
19205 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
19206 of extend_alloca. Make control flow more explicit.
19207
19208 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
19209
19210 [BZ #19137]
19211 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
19212 Add -fomit-frame-pointer.
19213 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
19214
19215 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
19216
19217 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
19218 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
19219 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
19220 only if !__GNUC_PREREQ (5,0).
19221 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
19222 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
19223 (INTERNAL_SYSCALL_NCS): Likewise.
19224 (LOADREGS_0): New macro for GCC 5.
19225 (ASMARGS_0): Likewise.
19226 (LOADREGS_1): Likewise.
19227 (ASMARGS_1): Likewise.
19228 (LOADREGS_2): Likewise.
19229 (ASMARGS_2): Likewise.
19230 (LOADREGS_3): Likewise.
19231 (ASMARGS_3): Likewise.
19232 (LOADREGS_4): Likewise.
19233 (ASMARGS_4): Likewise.
19234 (LOADREGS_5): Likewise.
19235 (ASMARGS_5): Likewise.
19236 (LOADREGS_6): Likewise.
19237 (ASMARGS_6): Likewise.
19238
19239 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
19240
19241 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
19242 -fomit-frame-pointer.
19243 (CFLAGS-mmap64.c): Likewise.
19244 (CFLAGS-semtimedop.c): Likewise.
19245 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
19246 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
19247 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19248 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19249
19250 2015-10-15 Florian Weimer <fweimer@redhat.com>
19251
19252 [BZ #18928]
19253 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
19254 _dl_pointer_guard member.
19255 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
19256 initializer.
19257 (security_init): Always set up pointer guard.
19258 (process_envvars): Do not process LD_POINTER_GUARD.
19259
19260 2015-10-14 Joseph Myers <joseph@codesourcery.com>
19261
19262 [BZ #19134]
19263 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
19264 (.LC2): Likewise.
19265 (.LC3): Likewise.
19266 (__lround): Do not add 0.5 to integer or out-of-range arguments.
19267
19268 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
19269
19270 [BZ #19129]
19271 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
19272 r0 and r1.
19273
19274 2015-10-14 Namhyung Kim <namhyung@gmail.com>
19275
19276 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
19277
19278 2015-10-14 Carlos O'Donell <carlos@redhat.com>
19279
19280 * include/stap-probe.h: Fix macro definition formatting.
19281
19282 2015-10-14 Florian Weimer <fweimer@redhat.com>
19283
19284 [BZ #19074]
19285 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
19286 load and store num_ifs.
19287
19288 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
19289
19290 [BZ #18822]
19291 * sysdeps/unix/sysv/linux/sched_getaffinity.c
19292 (__sched_getaffinity_new): Add libc_hidden_proto and
19293 libc_hidden_def.
19294
19295 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
19296
19297 [BZ #19007]
19298 * scripts/localplt.awk: Also allow GOT references.
19299 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
19300 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
19301 with "+ REL R_386_GLOB_DAT".
19302 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
19303 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
19304
19305 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
19306
19307 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
19308 INLINE_SYSCALL_ERROR_RETURN_VALUE.
19309 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
19310 Likewise.
19311 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
19312 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
19313 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
19314 INTERNAL_SYSCALLINTERNAL_SYSCALL and
19315 INLINE_SYSCALL_ERROR_RETURN_VALUE.
19316 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
19317 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19318 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
19319 Likewise.
19320 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19321
19322 2015-10-13 Joseph Myers <joseph@codesourcery.com>
19323
19324 [BZ #19125]
19325 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
19326 <math_private.h> and <stdint.h>.
19327 (__llround): Avoid conversions to and from long long int, and
19328 subtractions, where those might raise spurious exceptions.
19329 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19330 <math_private.h> and <stdint.h>.
19331 (__llroundf): Avoid conversions to and from long long int, and
19332 subtractions, where those might raise spurious exceptions.
19333
19334 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
19335
19336 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
19337 INLINE_SYSCALL_ERROR_RETURN_VALUE.
19338 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19339 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
19340 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19341 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19342 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
19343 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
19344 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
19345 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19346 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19347 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19348 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
19349 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19350 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19351 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
19352 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
19353 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19354 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
19355 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
19356 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
19357 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
19358 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
19359 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
19360 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
19361 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
19362 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
19363 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19364 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19365 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
19366 (__xstat64_conv): Likewise.
19367 (__xstat32_conv): Likewise.
19368
19369 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
19370
19371 * sysdeps/unix/sysv/linux/sysdep.h: New file.
19372 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
19373 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
19374 <sysdeps/unix/sysv/linux/sysdep.h>.
19375 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
19376 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
19377 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
19378 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19379 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
19380 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
19381 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
19382 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
19383 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
19384 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19386 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19387 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19388 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19389 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19390 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19391 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
19392 (sysdep-dl-routines): Add sysdep.
19393 [$(subdir) == nptl] (libpthread-routines): Likewise.
19394 [$(subdir) == rt] (librt-routines): Likewise.
19395 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
19396 PIC when branching to SYSCALL_ERROR_LABEL.
19397 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
19398 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
19399 <sysdeps/unix/sysv/linux/sysdep.h>.
19400 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
19401 (SYSCALL_ERROR_ERRNO): Removed.
19402 (SYSCALL_ERROR_HANDLER): Changed to empty.
19403 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
19404 (__syscall_error): New prototype.
19405 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
19406 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
19407
19408 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
19409
19410 [BZ #19124]
19411 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
19412 (_dl_runtime_resolve_avx512): Make it a hidden alias of
19413 _dl_runtime_resolve_avx.
19414 (_dl_runtime_profile_avx512): Make it a hidden alias of
19415 _dl_runtime_profile_avx.
19416
19417 2015-10-13 Joseph Myers <joseph@codesourcery.com>
19418
19419 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
19420 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
19421 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
19422 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
19423
19424 [BZ #16422]
19425 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
19426 New configure test.
19427 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
19428 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
19429 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
19430 <math_private.h> and <stdint.h>.
19431 (__llrint): Avoid conversions to long long int where those might
19432 raise spurious exceptions.
19433 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19434 <math_private.h> and <stdint.h>.
19435 (__llrintf): Avoid conversions to long long int where those might
19436 raise spurious exceptions.
19437
19438 2015-10-12 Andreas Schwab <schwab@suse.de>
19439
19440 [BZ #18969]
19441 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
19442 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
19443 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
19444 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
19445 $(gen-locales).
19446 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
19447 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
19448 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
19449 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
19450 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
19451 $(gen-locales).
19452 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
19453 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
19454 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
19455 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
19456 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
19457 ($(objpfx)tst-ftell-active-handler.out)
19458 ($(objpfx)tst-ftell-append.out)
19459 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
19460 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
19461 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
19462 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
19463 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
19464 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
19465 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
19466 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
19467 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
19468 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
19469 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
19470 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
19471 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
19472 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
19473 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
19474 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
19475 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
19476 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
19477 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
19478 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
19479 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
19480 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
19481 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
19482 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
19483 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
19484 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
19485 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
19486 $(gen-locales).
19487 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
19488 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
19489 $(gen-locales).
19490 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
19491 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
19492 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
19493 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
19494 $(gen-locales).
19495 * libio/tst_wprintf2.c (main): Use explicit locale.
19496 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
19497
19498 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19499
19500 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
19501 __msg_sig_post.
19502 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
19503
19504 2015-10-09 Joseph Myers <joseph@codesourcery.com>
19505
19506 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19507 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19508
19509 * sysdeps/arm/libm-test-ulps: Regenerated.
19510
19511 [BZ #15470]
19512 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
19513
19514 [BZ #16399]
19515 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
19516 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
19517 and <fix-fp-int-convert-overflow.h>.
19518 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19519 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19520 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
19521 and <fix-fp-int-convert-overflow.h>.
19522 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
19523 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19524 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
19525 <fix-fp-int-convert-overflow.h>.
19526 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19527 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19528 * sysdeps/ieee754/dbl-64/s_lround.c: Include
19529 <fix-fp-int-convert-overflow.h>.
19530 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
19531 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19532 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
19533 and <fix-fp-int-convert-overflow.h>.
19534 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19535 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19536 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
19537 <limits.h> and <fix-fp-int-convert-overflow.h>.
19538 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19539 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19540 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
19541 and <fix-fp-int-convert-overflow.h>.
19542 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19543 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19544 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
19545 and <fix-fp-int-convert-overflow.h>.
19546 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19547 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19548 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
19549
19550 2015-10-09 Carlos O'Donell <carlos@redhat.com>
19551
19552 [BZ #18589]
19553 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
19554 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
19555 $(gen-locales).
19556
19557 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19558 Phil Blundell <pb@pbcl.net>
19559
19560 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
19561 * nptl/tst-cancel26.c: New file.
19562 * nptl/tst-cancel27.c: Likewise.
19563
19564 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
19565
19566 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
19567 __ILP32__ isn't defined.
19568 (lrint): Likewise.
19569 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
19570 (lrintf): Likewise.
19571 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
19572 (lrintl): Likewise.
19573 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
19574 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
19575 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
19576
19577 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19578
19579 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19580 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19581
19582 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
19583 file.
19584 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
19585 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
19586
19587 2015-10-09 Joseph Myers <joseph@codesourcery.com>
19588
19589 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
19590 configure test.
19591 * sysdeps/i386/configure: Regenerated.
19592 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
19593 configure test.
19594 * sysdeps/x86_64/configure: Regenerated.
19595 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
19596 Make code unconditional.
19597
19598 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
19599 test.
19600 * sysdeps/i386/configure: Regenerated.
19601 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
19602 test.
19603 * sysdeps/x86_64/configure: Regenerated.
19604 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
19605 Make code unconditional.
19606 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19607 Likewise.
19608 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
19609 Likewise.
19610 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19611 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
19612 code unconditional.
19613 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19614 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
19615 code unconditional.
19616 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19617 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
19618 code unconditional.
19619 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
19620 code unconditional.
19621 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19622 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
19623 code unconditional.
19624 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19625 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
19626 code unconditional.
19627 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19628 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
19629 code unconditional.
19630 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19631 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
19632 code unconditional.
19633 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19634 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
19635
19636 [BZ #19095]
19637 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
19638 mantissa to long int before shifting left.
19639
19640 2015-10-08 Joseph Myers <joseph@codesourcery.com>
19641
19642 [BZ #19094]
19643 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
19644 <limits.h>.
19645 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19646 when result overflows but exception would not result from cast.
19647 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
19648 <limits.h>.
19649 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19650 when result overflows but exception would not result from cast.
19651 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
19652 <limits.h>.
19653 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19654 when result overflows but exception would not result from cast.
19655 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
19656 <limits.h>.
19657 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19658 when result overflows but exception would not result from cast.
19659 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
19660 <limits.h>.
19661 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19662 when result overflows but exception would not result from cast.
19663 * math/libm-test.inc (lrint_test_data): Add more tests.
19664 (llrint_test_data): Likewise.
19665
19666 2015-10-08 Roland McGrath <roland@hack.frob.com>
19667
19668 [BZ #18872]
19669 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
19670 Move out from under [$(run-built-tests) = yes] conditional.
19671 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
19672 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
19673
19674 2015-10-08 Carlos O'Donell <carlos@redhat.com>
19675
19676 [BZ #18589]
19677 * string/Makefile (tests): Add bug-strcoll2.
19678 (LOCALES): Add cs_CZ.UTF-8.
19679 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
19680
19681 [BZ #18589]
19682 * string/bug-strcoll2.c: New file.
19683 * locale/categories.def: Revert commit
19684 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
19685 * locale/langinfo.h: Likewise.
19686 * locale/localeinfo.h: Likewise.
19687 * locale/C-collate.c: Likewise.
19688 * locale/programs/ld-collate.c (collate_output): Likewise.
19689 * string/strcoll_l.c (STRDIFF): Likewise.
19690 (STRCOLL): Likewise.
19691 * wcsmbs/wcscoll_l.c: Likewise.
19692
19693 2015-10-08 Joseph Myers <joseph@codesourcery.com>
19694
19695 * math/libm-test.inc (lround_test_data): Do not expect the absence
19696 of "inexact" for some tests with non-integer arguments.
19697 (llround_test_data): Likewise.
19698
19699 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
19700 test.
19701 (libc_cv_cc_sse2avx): Likewise.
19702 * sysdeps/i386/configure: Regenerated.
19703 * sysdeps/i386/i686/multiarch/Makefile
19704 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
19705 [$(subdir) = math].
19706 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
19707 code unconditional.
19708 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19709 Likewise.
19710 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
19711 Likewise.
19712 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19713 Likewise.
19714 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
19715 test.
19716 (libc_cv_cc_sse2avx): Likewise.
19717 * sysdeps/x86_64/configure: Regenerated.
19718 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
19719 unconditional.
19720 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
19721 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
19722 unconditional.
19723 (_dl_runtime_profile)
19724 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
19725 conditional code.
19726 * sysdeps/x86_64/fpu/multiarch/Makefile
19727 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
19728 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19729 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19730 * sysdeps/x86_64/fpu/multiarch/e_exp.c
19731 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19732 * sysdeps/x86_64/fpu/multiarch/e_log.c
19733 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19734 * sysdeps/x86_64/fpu/multiarch/s_atan.c
19735 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19736 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19737 Likewise.
19738 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19739 Likewise.
19740 * sysdeps/x86_64/fpu/multiarch/s_sin.c
19741 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19742 * sysdeps/x86_64/fpu/multiarch/s_tan.c
19743 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19744 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
19745 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
19746 (HAVE_SSE2AVX_SUPPORT): Likewise.
19747
19748 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
19749
19750 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
19751 instead of #pragma optimize.
19752
19753 2015-10-07 Carlos O'Donell <carlos@redhat.com>
19754
19755 [BZ #17195]
19756 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
19757 as is similarly done in systrim and _int_free already.
19758
19759 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
19760
19761 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
19762
19763 2015-10-07 Joseph Myers <joseph@codesourcery.com>
19764
19765 [BZ #19088]
19766 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
19767 <limits.h>.
19768 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19769 overflows but exception would not result from cast.
19770 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
19771 and <limits.h>.
19772 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19773 overflows but exception would not result from cast.
19774 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
19775 <limits.h>.
19776 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19777 overflows but exception would not result from cast.
19778 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
19779 <limits.h>.
19780 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19781 overflows but exception would not result from cast.
19782 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
19783 <limits.h>.
19784 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19785 overflows but exception would not result from cast.
19786 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
19787 <limits.h>.
19788 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19789 overflows but exception would not result from cast.
19790 * math/libm-test.inc (lround_test_data): Add more tests.
19791 (llround_test_data): Likewise.
19792
19793 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
19794
19795 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
19796 (CFLAGS-ialloc.c): Ditto.
19797 (CFLAGS-scheck.c): Ditto.
19798
19799 2015-10-07 Carlos O'Donell <carlos@redhat.com>
19800
19801 [BZ #19086]
19802 * manual/filesys.texi (Storage Allocation): Fix argument order for
19803 posix_fallocate64.
19804
19805 2015-10-07 Joseph Myers <joseph@codesourcery.com>
19806
19807 [BZ #19085]
19808 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
19809 exponent below 48 inside case for non-overflowing exponent.
19810 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
19811
19812 2015-10-07 Florian Weimer <fweimer@redhat.com>
19813
19814 * iconvdata/cp737.h (from_idx): Add const.
19815 * iconvdata/cp775.h (from_idx): Likewise.
19816
19817 2015-10-07 Joseph Myers <joseph@codesourcery.com>
19818
19819 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
19820 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
19821 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
19822
19823 [BZ #19079]
19824 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
19825 file, conditioned on [!_LP64].
19826 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
19827 [!_LP64] (__lround): Do not define as function or alias.
19828 [!_LP64] (lround): Likewise.
19829 [!_LP64] (__lroundl): Likewise.
19830 [!_LP64] (lroundl): Likewise.
19831 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
19832 macro.
19833 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
19834 Likewise.
19835
19836 2015-10-06 Joseph Myers <joseph@codesourcery.com>
19837
19838 * math/libm-test.inc (lrint_test_data): Add more tests.
19839 (llrint_test_data): Likewise.
19840 (lround_test_data): Likewise.
19841 (llround_test_data): Likewise.
19842
19843 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
19844 (llrint_test_data): Add tests used for lrint.
19845
19846 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
19847 test.
19848 * sysdeps/i386/configure: Regenerated.
19849 * sysdeps/i386/i686/multiarch/Makefile
19850 [$(config-cflags-sse4) = yes]: Make code unconditional.
19851 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19852 Likewise.
19853 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
19854 Likewise.
19855 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
19856 test.
19857 * sysdeps/x86_64/configure: Regenerated.
19858 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
19859 Make code unconditional.
19860 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19861 Likewise.
19862 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
19863 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
19864
19865 * scripts/rpm2dynsym.sh: Remove file.
19866
19867 2015-10-06 Florian Weimer <fweimer@redhat.com>
19868
19869 * configure.ac (libc_cv_cxx_thread_local): Define.
19870 * configure: Regenerate.
19871 * config.make.in (have-cxx-thread_local): Define.
19872 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
19873 (LDLIBS-tst-thread_local1): Define.
19874 (tests): Add tst-thread_local1.
19875 [have-cxx-thread_local != yes] (tests-unsupported): Add
19876 tst-thread_local1.
19877 * nptl/tst-thread_local1.cc: New file.
19878
19879 2015-10-06 Joseph Myers <joseph@codesourcery.com>
19880
19881 [BZ #19078]
19882 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
19883 (u_thres): Likewise.
19884 (__expl): Determine whether to call __kernel_standard_l based on
19885 value of result, not argument.
19886
19887 * math/libm-test.inc (scalb_test_data): Add more expectations for
19888 the "inexact" exception.
19889
19890 [BZ #19077]
19891 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
19892 0.0L for argument 1.0L.
19893
19894 [BZ #19076]
19895 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
19896 constant 0.0L when computing infinite result.
19897
19898 2015-10-06 Florian Weimer <fweimer@redhat.com>
19899
19900 [BZ #10432]
19901 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
19902 malloc_usable_size.
19903
19904 2015-10-06 Florian Weimer <fweimer@redhat.com>
19905
19906 [BZ #19018]
19907 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19908 Mangle function pointer before storing it.
19909 (__call_tls_dtors): Demangle function pointer before calling it.
19910
19911 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19912
19913 [BZ #19012]
19914 * iconv/gconv_db.c (gen_steps): Check for additional errors.
19915 Clean up on failure.
19916
19917 2015-10-05 Joseph Myers <joseph@codesourcery.com>
19918
19919 [BZ #19071]
19920 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
19921 long int variable to store possibly incremented high part of
19922 mantissa.
19923 * math/libm-test.inc (lround_test_data): Add tests used for
19924 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
19925 for tests requiring 64-bit long. Do not condition tests on
19926 [TEST_FLOAT] unnecessarily.
19927 (llround_test_data): Add tests used for lround. Add another
19928 expectation for the "inexact" exception. Do not condition tests
19929 on [TEST_FLOAT] unnecessarily.
19930
19931 [BZ #887]
19932 [BZ #19049]
19933 [BZ #19050]
19934 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
19935 * sysdeps/ieee754/dbl-64/e_log10.c: Include
19936 <fix-int-fp-convert-zero.h>.
19937 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19938 * sysdeps/ieee754/dbl-64/e_log2.c: Include
19939 <fix-int-fp-convert-zero.h>.
19940 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19941 * sysdeps/ieee754/dbl-64/s_erf.c: Include
19942 <fix-int-fp-convert-zero.h>.
19943 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19944 * sysdeps/ieee754/dbl-64/s_logb.c: Include
19945 <fix-int-fp-convert-zero.h>.
19946 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19947 * sysdeps/ieee754/flt-32/e_log10f.c: Include
19948 <fix-int-fp-convert-zero.h>.
19949 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19950 * sysdeps/ieee754/flt-32/e_log2f.c: Include
19951 <fix-int-fp-convert-zero.h>.
19952 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19953 * sysdeps/ieee754/flt-32/s_erff.c: Include
19954 <fix-int-fp-convert-zero.h>.
19955 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19956 * sysdeps/ieee754/flt-32/s_logbf.c: Include
19957 <fix-int-fp-convert-zero.h>.
19958 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19959 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
19960 <fix-int-fp-convert-zero.h>.
19961 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19962 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
19963 <fix-int-fp-convert-zero.h>.
19964 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19965 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
19966 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
19967 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
19968 file.
19969 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
19970
19971 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
19972
19973 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19974
19975 2015-10-02 Joseph Myers <joseph@codesourcery.com>
19976
19977 [BZ #19059]
19978 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
19979 overflowing computation.
19980 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19981 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19982 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19983 Likewise.
19984 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19985 Likewise.
19986 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19987 Likewise.
19988 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19989 Likewise.
19990 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19991 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19992 Likewise.
19993 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19994 Likewise.
19995 * math/libm-test.inc (nexttoward_test_data): Add more tests.
19996
19997 * nss/rewrite_field.c (__nss_rewrite_field): Use
19998 internal_function.
19999 * nss/valid_field.c (__nss_valid_field): Likewise.
20000 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
20001
20002 2015-10-02 Florian Weimer <fweimer@redhat.com>
20003
20004 [BZ #18724]
20005 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
20006 (__nss_invalid_field_characters, __nss_valid_field)
20007 (__nss_valid_list_field, __nss_rewrite_field): Declare.
20008 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
20009 tst-field.c: New file.
20010 * nss/Makefile (routines): Add valid_field, rewrite_field.
20011 (tests-static): Define unconditionally.
20012 (tests): Include tests-static.
20013 [build-static-nss] (tests-static): Use append.
20014 [build-static-nss] (tests): Remove modification.
20015 * nss/getent.c (print_group): Call putgrent. Report error.
20016 (print_gshadow): Call putsgent. Report error.
20017 (print_passwd): Call putpwent. Report error.
20018 (print_shadow): Call putspent. Report error.
20019 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
20020 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
20021 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
20022 name, password, directory, shell fields for valid syntax. Rewrite
20023 GECOS field to match syntax.
20024 * pwd/Makefile (tests): Add tst-putpwent.
20025 * pwd/tst-putpwent.c: New file.
20026 * grp/putgrent.c (putgrent): Convert to ISO function definition.
20027 Check grName, grpasswd, gr_mem fields for valid syntax.
20028 Change loop variable i to size_t.
20029 * grp/Makefile (tests): Add tst-putgrent.
20030 * grp/tst-putgrent.c: New file.
20031 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
20032 valid syntax.
20033 * shadow/Makefile (tests): Add tst-putspent.
20034 * shadow/tst-putspent.c: New file.
20035 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
20036 sg_mem fields for valid syntax.
20037 * gshadow/Makefile (tests): Add tst-putsgent.
20038 * gshadow/tst-putsgent.c: New file.
20039
20040 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
20041
20042 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
20043 assembly instructions.
20044
20045 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
20046
20047 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
20048 prefix from operands.
20049
20050 2015-10-01 Joseph Myers <joseph@codesourcery.com>
20051
20052 [BZ #16347]
20053 [BZ #19046]
20054 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
20055 <libc-internal.h>.
20056 (MAXLGM): Do not use diagnostic control macros.
20057 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
20058 threshold for ldbl-128ibm.
20059 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
20060 instead of multiplying by log then subtracting.
20061 * math/auto-libm-test-in: Add more tests of lgamma.
20062 * math/auto-libm-test-out: Regenerated.
20063
20064 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
20065 (TYPE_HEX_DIG): Likewise.
20066 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
20067 precisions when printing floating-point numbers.
20068 (check_float_internal): Likewise.
20069
20070 2015-09-30 Joseph Myers <joseph@codesourcery.com>
20071
20072 [BZ #16620]
20073 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
20074 of log (10) rounded downward to 48 bits.
20075 (log10_low): Use corresponding low part of log (10).
20076
20077 [BZ #19032]
20078 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
20079 compute result as (x - x) / (x - x) not as 0 / 0.
20080 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
20081 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
20082
20083 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20084 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
20085 and expm1.
20086 * math/auto-libm-test-out: Regenerated.
20087 * math/libm-test.inc (acos_test_data): Add more tests.
20088 (asin_test_data): Likewise.
20089 (asinh_test_data): Likewise.
20090 (atan_test_data): Likewise.
20091 (atanh_test_data): Likewise.
20092 (atan2_test_data): Likewise.
20093 (cbrt_test_data): Likewise.
20094 (ceil_test_data): Likewise.
20095 (copysign_test_data): Likewise.
20096 (cos_test_data): Likewise.
20097 (cosh_test_data): Likewise.
20098 (erf_test_data): Likewise.
20099 (erfc_test_data): Likewise.
20100 (exp_test_data): Likewise.
20101 (exp10_test_data): Likewise.
20102 (exp2_test_data): Likewise.
20103 (expm1_test_data): Likewise.
20104 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20105
20106 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
20107
20108 [BZ #19006]
20109 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
20110 to ...
20111 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
20112 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
20113 to ...
20114 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
20115 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
20116 to ...
20117 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
20118 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
20119 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
20120 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
20121 to ...
20122 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
20123 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20124 Moved to ...
20125 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
20126 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
20127 Moved to ...
20128 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
20129 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
20130 to ...
20131 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
20132 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20133 Moved to ...
20134 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
20135 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
20136 to ...
20137 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
20138 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
20139 Removed.
20140 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
20141 Likewise.
20142 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
20143 Likewise.
20144 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
20145 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
20146 Likewise.
20147 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20148 Likewise.
20149 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20150 Likewise.
20151 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20152 Likewise.
20153 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20154 Likewise.
20155 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
20156 Likewise.
20157 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
20158 Likewise.
20159 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
20160 Likewise.
20161 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
20162 Likewise.
20163 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
20164 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
20165 Likewise.
20166 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
20167 Likewise.
20168 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
20169 Likewise.
20170 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
20171 Likewise.
20172 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
20173 Likewise.
20174 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
20175 Replace ../i486/pthread_cond_timedwait.S with
20176 ../pthread_cond_timedwait.S.
20177
20178 2015-09-30 Joseph Myers <joseph@codesourcery.com>
20179
20180 * math/libm-test.inc (acos_test_data): Refine expectations for
20181 errno and "inexact" exceptions.
20182 (acosh_test_data): Likewise.
20183 (asin_test_data): Likewise.
20184 (asinh_test_data): Likewise.
20185 (atan_test_data): Likewise.
20186 (atanh_test_data): Likewise.
20187 (atan2_test_data): Likewise.
20188 (cbrt_test_data): Likewise.
20189 (ceil_test_data): Likewise.
20190 (copysign_test_data): Likewise.
20191 (cosh_test_data): Likewise.
20192 (erf_test_data): Likewise.
20193 (erfc_test_data): Likewise.
20194 (exp_test_data): Likewise.
20195 (exp10_test_data): Likewise.
20196 (exp2_test_data): Likewise.
20197 (expm1_test_data): Likewise.
20198 (fabs_test_data): Likewise.
20199 (floor_test_data): Likewise.
20200 (fma_test_data): Likewise.
20201 (fmax_test_data): Likewise.
20202 (fmin_test_data): Likewise.
20203 (fmod_test_data): Likewise.
20204 (fpclassify_test_data): Likewise.
20205 (frexp_test_data): Likewise.
20206 (hypot_test_data): Likewise.
20207 (ilogb_test_data): Likewise.
20208 (isgreater_test_data): Likewise.
20209 (isgreaterequal_test_data): Likewise.
20210 (isinf_test_data): Likewise.
20211 (isless_test_data): Likewise.
20212 (islessequal_test_data): Likewise.
20213 (islessgreater_test_data): Likewise.
20214 (isnan_test_data): Likewise.
20215 (isnormal_test_data): Likewise.
20216 (issignaling_test_data): Likewise.
20217 (isunordered_test_data): Likewise.
20218 (j0_test_data): Likewise.
20219 (j1_test_data): Likewise.
20220 (jn_test_data): Likewise.
20221 (lgamma_test_data): Likewise.
20222 (lrint_test_data): Likewise.
20223 (llrint_test_data): Likewise.
20224 (log_test_data): Likewise.
20225 (log10_test_data): Likewise.
20226 (log1p_test_data): Likewise.
20227 (log2_test_data): Likewise.
20228 (logb_test_data): Likewise.
20229 (lround_test_data): Likewise.
20230 (llround_test_data): Likewise.
20231 (modf_test_data): Likewise.
20232 (nearbyint_test_data): Likewise.
20233 (nextafter_test_data): Likewise.
20234 (nexttoward_test_data): Likewise.
20235 (pow_test_data): Likewise.
20236 (remainder_test_data): Likewise.
20237 (remquo_test_data): Likewise.
20238 (rint_test_data): Likewise.
20239 (round_test_data): Likewise.
20240 (signbit_test_data): Likewise.
20241 (sinh_test_data): Likewise.
20242 (sqrt_test_data): Likewise.
20243 (tanh_test_data): Likewise.
20244 (tgamma_test_data): Likewise.
20245 (trunc_test_data): Likewise.
20246 (y0_test_data): Likewise.
20247 (y1_test_data): Likewise.
20248 (yn_test_data): Likewise.
20249 (significand_test_data): Likewise.
20250
20251 2015-09-29 Carlos O'Donell <carlos@redhat.com>
20252
20253 * manual/filesys.texi (Storage Allocation): Document that
20254 posix_fallocate emulation fails when fd is open with O_WRONLY.
20255
20256 2015-09-28 Joseph Myers <joseph@codesourcery.com>
20257
20258 [BZ #19016]
20259 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
20260 allow more cases with X^2 + Y^2 >= 0.5.
20261 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
20262 normal element in sum instead of special-casing based on values of
20263 arguments.
20264 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
20265 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
20266 -1 as normal element in sum instead of special-casing based on
20267 values of arguments.
20268 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
20269 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
20270 (__x2y2m1): Update comment.
20271 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
20272 as normal element in sum instead of special-casing based on values
20273 of arguments.
20274 * math/s_clog.c (__clog): Handle more cases using log1p without
20275 hypot.
20276 * math/s_clog10.c (__clog10): Likewise.
20277 * math/s_clog10f.c (__clog10f): Likewise.
20278 * math/s_clog10l.c (__clog10l): Likewise.
20279 * math/s_clogf.c (__clogf): Likewise.
20280 * math/s_clogl.c (__clogl): Likewise.
20281 * math/auto-libm-test-in: Add more tests of clog and clog10.
20282 * math/auto-libm-test-out: Regenerated.
20283 * sysdeps/i386/fpu/libm-test-ulps: Update.
20284 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20285
20286 2015-09-28 Martin Sebor <msebor@redhat.com>
20287
20288 [BZ #18969]
20289 * string/Makefile (LOCALES): Define.
20290 (gen-locales.mk): Include.
20291 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
20292 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
20293 * string/tst-strxfrm2.c (do_test): Print the name of the locale
20294 on setlocale failure.
20295
20296 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
20297
20298 [BZ #18985]
20299 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
20300 (__strftime_internal): Likewise.
20301 * time/tst-strftime.c (do_bz18985): New test.
20302 (do_test): Call it.
20303
20304 2015-09-26 Joseph Myers <joseph@codesourcery.com>
20305
20306 [BZ #18956]
20307 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
20308 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
20309 extracting high part.
20310 * math/auto-libm-test-in: Add another test of pow.
20311 * math/auto-libm-test-out: Regenerated.
20312 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20313
20314 2015-09-25 Joseph Myers <joseph@codesourcery.com>
20315
20316 [BZ #18825]
20317 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
20318 New macro.
20319 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
20320 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20321 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
20322 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
20323 DBL_NARROW_EVAL, reloading the PIC register as needed.
20324 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
20325 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
20326 FLT_NARROW_EVAL. Use separate return path for case when first
20327 argument is NaN.
20328 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
20329 DEFINE_LDBL_MIN.
20330 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
20331 PIC register.
20332 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
20333 math_check_force_underflow_nonneg.
20334 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
20335 underflow for subnormal result.
20336 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20337 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
20338 math_check_force_underflow_nonneg.
20339 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
20340 math_check_force_underflow.
20341 * sysdeps/x86_64/fpu/x86_64-math-asm.h
20342 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
20343 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
20344 DEFINE_LDBL_MIN.
20345 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
20346 * math/auto-libm-test-in: Add more tests of pow.
20347 * math/auto-libm-test-out: Regenerated.
20348
20349 2015-09-25 Florian Weimer <fweimer@redhat.com>
20350
20351 * nss/bug17079.c (init_test_items): Add diagnostic for
20352 inconsistent entries.
20353 (test_buffer_size): Skip inconsistent entries.
20354
20355 2015-09-25 Joseph Myers <joseph@codesourcery.com>
20356
20357 [BZ #13304]
20358 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
20359 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20360 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
20361
20362 [BZ #13304]
20363 * sysdeps/microblaze/s_fma.c: New file.
20364 * sysdeps/microblaze/s_fmaf.c: Likewise.
20365 * sysdeps/microblaze/sfp-machine.h: Likewise.
20366
20367 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
20368
20369 [BZ #17250]
20370 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
20371 member.
20372
20373 2015-09-24 Joseph Myers <joseph@codesourcery.com>
20374
20375 [BZ #18803]
20376 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
20377 (MO): New macro.
20378 (__ieee754_hypot) [PIC]: Load PIC register.
20379 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
20380 DBL_NARROW_EVAL.
20381 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
20382 math_check_force_underflow_nonneg in case where result might be
20383 tiny.
20384 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20385 Likewise.
20386 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20387 Likewise.
20388 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20389 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20390 * math/auto-libm-test-in: Add more tests of hypot.
20391 * math/auto-libm-test-out: Regenerated.
20392
20393 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
20394
20395 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
20396
20397 2015-09-24 Joseph Myers <joseph@codesourcery.com>
20398
20399 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
20400 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
20401 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
20402 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
20403 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
20404 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
20405 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
20406
20407 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
20408 LOAD_PIC_REG.
20409
20410 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
20411 (FLT_CHECK_FORCE_UFLOW): Likewise.
20412 (DBL_CHECK_FORCE_UFLOW): Likewise.
20413 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
20414 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
20415 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
20416 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20417 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20418 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20419 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20420 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20421 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
20422 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20423 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
20424 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
20425 (flt_min): Replace with use of DEFINE_FLT_MIN.
20426 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
20427 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
20428 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20429 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
20430 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
20431 (flt_min): Replace with use of DEFINE_FLT_MIN.
20432 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
20433 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
20434 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20435 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
20436 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
20437 (flt_min): Replace with use of DEFINE_FLT_MIN.
20438 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
20439 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
20440 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
20441 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
20442 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
20443 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
20444 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
20445 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
20446 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20447 (__atan): Use DBL_CHECK_FORCE_UFLOW.
20448 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
20449 (flt_min): Replace with use of DEFINE_FLT_MIN.
20450 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
20451 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
20452 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20453 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
20454 main computation.
20455 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
20456 (flt_min): Replace with use of DEFINE_FLT_MIN.
20457 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
20458 main computation.
20459 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
20460 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20461 (MO): New macro.
20462 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
20463 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
20464 (flt_min): Replace with use of DEFINE_FLT_MIN.
20465 (MO): New macro.
20466 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
20467 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
20468 (__log1pl): Use MO.
20469
20470 [BZ #19003]
20471 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
20472 $(config-cflags-nofma).
20473
20474 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20475
20476 * sysdeps/aarch64/libm-test-ulps: Regenerated.
20477
20478 2015-09-23 Joseph Myers <joseph@codesourcery.com>
20479
20480 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
20481 (TWO127): Likewise.
20482
20483 * sysdeps/generic/math_private.h (fabs_tg): New macro.
20484 (min_of_type): Likewise.
20485 (math_check_force_underflow): Likewise.
20486 (math_check_force_underflow_nonneg): Likewise.
20487 (math_check_force_underflow_complex): Likewise.
20488 * math/e_exp2l.c (__ieee754_exp2l): Use
20489 math_check_force_underflow_nonneg.
20490 * math/k_casinh.c (__kernel_casinh): Likewise.
20491 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20492 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20493 * math/s_catan.c (__catan): Use
20494 math_check_force_underflow_complex.
20495 * math/s_catanf.c (__catanf): Likewise.
20496 * math/s_catanh.c (__catanh): Likewise.
20497 * math/s_catanhf.c (__catanhf): Likewise.
20498 * math/s_catanhl.c (__catanhl): Likewise.
20499 * math/s_catanl.c (__catanl): Likewise.
20500 * math/s_ccosh.c (__ccosh): Likewise.
20501 * math/s_ccoshf.c (__ccoshf): Likewise.
20502 * math/s_ccoshl.c (__ccoshl): Likewise.
20503 * math/s_cexp.c (__cexp): Likewise.
20504 * math/s_cexpf.c (__cexpf): Likewise.
20505 * math/s_cexpl.c (__cexpl): Likewise.
20506 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
20507 * math/s_clog10.c (__clog10): Likewise.
20508 * math/s_clog10f.c (__clog10f): Likewise.
20509 * math/s_clog10l.c (__clog10l): Likewise.
20510 * math/s_clogf.c (__clogf): Likewise.
20511 * math/s_clogl.c (__clogl): Likewise.
20512 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
20513 * math/s_csinf.c (__csinf): Likewise.
20514 * math/s_csinh.c (__csinh): Likewise.
20515 * math/s_csinhf.c (__csinhf): Likewise.
20516 * math/s_csinhl.c (__csinhl): Likewise.
20517 * math/s_csinl.c (__csinl): Likewise.
20518 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
20519 * math/s_csqrtf.c (__csqrtf): Likewise.
20520 * math/s_csqrtl.c (__csqrtl): Likewise.
20521 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
20522 * math/s_ctanf.c (__ctanf): Likewise.
20523 * math/s_ctanh.c (__ctanh): Likewise.
20524 * math/s_ctanhf.c (__ctanhf): Likewise.
20525 * math/s_ctanhl.c (__ctanhl): Likewise.
20526 * math/s_ctanl.c (__ctanl): Likewise.
20527 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
20528 instead of volatile.
20529 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
20530 math_check_force_underflow.
20531 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20532 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
20533 volatile when forcing underflow.
20534 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20535 math_check_force_underflow_nonneg.
20536 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
20537 Likewise.
20538 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
20539 math_check_force_underflow.
20540 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20541 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20542 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20543 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
20544 math_check_force_underflow_nonneg.
20545 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
20546 math_check_force_underflow.
20547 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
20548 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
20549 instead of volatile.
20550 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
20551 math_check_force_underflow.
20552 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20553 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20554 math_check_force_underflow_nonneg.
20555 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
20556 math_check_force_underflow.
20557 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20558 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20559 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
20560 math_check_force_underflow_nonneg.
20561 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20562 Likewise.
20563 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
20564 math_check_force_underflow.
20565 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20566 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20567 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
20568 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
20569 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20570 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
20571 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
20572 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
20573 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20574 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
20575 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20576 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
20577 Likewise.
20578 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
20579 math_check_force_underflow_nonneg.
20580 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20581 Likewise.
20582 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
20583 math_check_force_underflow.
20584 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20585 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
20586 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20587 Likewise.
20588 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
20589 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
20590 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
20591 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
20592 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
20593 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
20594 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
20595 instead of volatile.
20596 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
20597 math_check_force_underflow.
20598 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
20599 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
20600 math_check_force_underflow.
20601 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
20602 Likewise.
20603 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20604 Use math_check_force_underflow_nonneg.
20605 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
20606 math_check_force_underflow.
20607 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
20608 Likewise.
20609 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20610 Likewise.
20611 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20612 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20613 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20614 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20615 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
20616 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20617 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20618 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
20619 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
20620 math_check_force_underflow_nonneg.
20621 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
20622 math_check_force_underflow.
20623 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20624 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
20625 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
20626 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
20627 math_check_force_underflow_nonneg.
20628 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
20629 math_check_force_underflow.
20630 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
20631 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
20632 instead of volatile.
20633 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
20634 math_check_force_underflow.
20635
20636 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
20637 * stdlib/strtod_l.c: Include <math_private.h>.
20638 (overflow_value): Use math_narrow_eval.
20639 (underflow_value): Likewise.
20640 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20641 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
20642 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20643 (__ieee754_gamma_r): Likewise.
20644 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
20645 Likewise.
20646 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
20647 Likewise.
20648 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
20649 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
20650 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
20651 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
20652 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20653 (__ieee754_gammaf_r): Likewise.
20654 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
20655 Likewise.
20656 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
20657 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
20658 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
20659 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
20660 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
20661 volatile.
20662 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
20663 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
20664 math_narrow_eval.
20665 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
20666 Likewise.
20667 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20668 Likewise.
20669 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
20670 Likewise.
20671 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
20672 volatile.
20673 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
20674 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
20675 math_narrow_eval.
20676 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20677 Likewise.
20678 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20679 Likewise.
20680
20681 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
20682
20683 * nptl/Versions: Remove ignored symbols.
20684
20685 2015-09-22 Florian Weimer <fweimer@redhat.com>
20686
20687 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
20688 * nss/Makefile (tests): Update.
20689
20690 2015-09-22 Florian Weimer <fweimer@redhat.com>
20691
20692 * nss/bug18287.c: New file.
20693 * nss/Makefile (tests): Add bug18287.
20694
20695 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20696
20697 * mach/Versions (__mach_host_self_): Add symbol.
20698
20699 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
20700
20701 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
20702 vm_page_size.
20703
20704 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
20705
20706 Really fix sysdeps/i386/fpu/s_scalbn.S build
20707
20708 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
20709 (libc: GLIBC_2_22): Remove unused version set.
20710
20711 2015-09-18 Mike Frysinger <vapier@gentoo.org>
20712
20713 * config.make.in (enable-timezone-tools): New variable.
20714 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
20715 (enable_timezone_tools): Export to generated files.
20716 * configure: Regenerate.
20717 * INSTALL: Regenerate.
20718 * manual/install.texi (--disable-timezone-tools): Document new flag.
20719 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
20720 ifeq ($(enable-timezone-tools),yes) check.
20721
20722 2015-09-18 Joseph Myers <joseph@codesourcery.com>
20723
20724 * timezone/Makefile: Revert previous change.
20725
20726 [BZ #18980]
20727 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
20728 (DEFINE_DBL_MIN): Likewise.
20729 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20730 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20731 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20732 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20733 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
20734 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20735 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20736 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
20737 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
20738 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20739 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20740 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
20741 (flt_min): Replace with use of DEFINE_FLT_MIN.
20742 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20743 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
20744 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20745 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20746 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
20747 (flt_min): Replace with use of DEFINE_FLT_MIN.
20748 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20749 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
20750 (flt_min): Replace with use of DEFINE_FLT_MIN.
20751 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20752 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
20753 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
20754 (__ieee754_hypot): Use DBL_NARROW_EVAL.
20755 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
20756 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
20757 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
20758 (__ieee754_pow): Use DBL_NARROW_EVAL.
20759 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
20760 (__ieee754_powf): Use FLT_NARROW_EVAL.
20761 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
20762 (__ieee754_expf_sse2): Convert double-precision result to single
20763 precision.
20764 * sysdeps/i386/fpu/libm-test-ulps: Update.
20765
20766 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20767
20768 * timezone/Makefile: Ignore unused variable errors due to private.h
20769 (time_t_min) and (time_t_max).
20770 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
20771 Likewise.
20772
20773 2015-09-18 Joseph Myers <joseph@codesourcery.com>
20774
20775 [BZ #18981]
20776 * sysdeps/i386/fpu/i386-math-asm.h: New file.
20777 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
20778 (__ieee754_scalb): Use DBL_NARROW_EVAL.
20779 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
20780 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
20781 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
20782 (__scalbn): Use DBL_NARROW_EVAL.
20783 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
20784 (__scalbnf): Use FLT_NARROW_EVAL.
20785
20786 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20787
20788 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
20789 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
20790 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
20791 * stdio-common/printf_fp.c (___printf_fp):
20792 Use signbit to get the sign. Use isinf macro to allow inlining.
20793 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
20794 * stdio-common/printf_size.c (__printf_size): Likewise.
20795
20796 2015-09-18 Mike Frysinger <vapier@gentoo.org>
20797
20798 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
20799
20800 2015-09-18 Joseph Myers <joseph@codesourcery.com>
20801
20802 [BZ #18980]
20803 * sysdeps/generic/math_private.h: Include <float.h>.
20804 (math_narrow_eval): New macro.
20805 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
20806 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
20807 math_narrow_eval on overflowing return value.
20808 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
20809 Likewise.
20810 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20811 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
20812 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
20813 Likewise.
20814 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20815
20816 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20817
20818 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
20819 * math/Makefile: Remove isinf_ns.c.
20820 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
20821 * math/multc3.c (__multc3): Likewise.
20822 * math/s_casin.c (__casin): Likewise.
20823 * math/s_casinf.c (__casinf): Likewise.
20824 * math/s_casinl.c (__casinl): Likewise.
20825 * math/s_cproj.c (__cproj): Likewise.
20826 * math/s_cprojf.c (__cprojf): Likewise.
20827 * math/s_cprojl.c (__cprofl): Likewise.
20828 * math/s_ctan.c (__ctan): Likewise.
20829 * math/s_ctanf.c (__ctanf): Likewise.
20830 * math/s_ctanh.c (__ctanh): Likewise.
20831 * math/s_ctanhf.c (__ctanhf): Likewise.
20832 * math/s_ctanhl.c (__ctanhl): Likewise.
20833 * math/s_ctanl.c (__ctanl): Likewise.
20834 * math/w_fmod.c (__fmod): Likewise.
20835 * math/w_fmodf.c (__fmodf): Likewise.
20836 * math/w_fmodl.c (_fmodl): Likewise.
20837 * math/w_remainder.c (__remainder): Likewise.
20838 * math/w_remainderf.c (__remainderf): Likewise.
20839 * math/w_remainderl.c (__remainderl): Likewise.
20840 * math/w_scalb.c (__scalb): Likewise.
20841 * math/w_scalbf.c (__scalbf): Likewise.
20842 * math/w_scalbl.c (__scalbl): Likewise.
20843 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
20844 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
20845 with isinf.
20846 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
20847 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
20848 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
20849 __isinf_nsf with isinf.
20850 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
20851 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
20852 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
20853 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
20854 with isinf.
20855 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
20856 __isinf_nsl with isinf.
20857 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
20858 with isinf.
20859 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
20860 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
20861 __isinf_nsl with isinf.
20862 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
20863 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
20864 with isinf.
20865
20866 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20867
20868 * resolv/base64.c (rcsid): Remove unused static.
20869 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
20870 static. (tqpi1): Likewise.
20871 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
20872 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
20873 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
20874 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
20875 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
20876 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
20877 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
20878 * timezone/private.h (time_t_min): Likewise. (time_t_max):
20879 Likewise.
20880
20881 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
20882
20883 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
20884 <nptl/pthreadP.h>.
20885 (_longjmp_unwind): Use __libc_ptf_call.
20886 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
20887
20888 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
20889
20890 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
20891 * sysdeps/arm/__longjmp.S: Likewise.
20892
20893 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20894
20895 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
20896 Use __builtin_signbit.
20897 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
20898 Use __builtin_signbitf.
20899 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
20900 Use __builtin_signbitl.
20901 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20902 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
20903
20904 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20905
20906 [BZ #15367]
20907 [BZ #17441]
20908
20909 * math/Makefile: Build test-snan.c with -fsignaling-nans.
20910 * math/math.h (fpclassify): Use __builtin_fpclassify when
20911 available. (signbit): Use __builtin_signbit(f/l).
20912 (isfinite): Use__builtin_isfinite. (isnormal): Use
20913 __builtin_isnormal. (isnan): Use __builtin_isnan.
20914 (isinf): Use __builtin_isinf_sign.
20915
20916 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20917
20918 * benchtests/Makefile: Add bench-math-inlines, link with libm.
20919 * benchtests/bench-math-inlines.c: New benchmark.
20920 * benchtests/bench-util.h: New file.
20921 * benchtests/bench-util.c: New file.
20922 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
20923
20924 2015-09-18 Carlos O'Donell <carlos@redhat.com>
20925
20926 * elf/tst-dlmopen1.c: Define TEST_SO.
20927 (do_test): Use TEST_SO.
20928
20929 * elf/dl-load.c: Include libc-internal.h.
20930 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
20931
20932 2015-09-18 Vincent Bernat <vincent@bernat.im>
20933
20934 [BZ #17887]
20935 * time/strptime_l.c (__strptime_internal): Make %z accept
20936 [+-]HH:MM time zones.
20937
20938 2015-09-18 Vincent Bernat <vincent@bernat.im>
20939
20940 [BZ #17886]
20941 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
20942 valid time zone.
20943
20944 2015-09-17 Mike Frysinger <vapier@gentoo.org>
20945
20946 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
20947 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
20948 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20949 (__ASSUME_FDATASYNC): Delete.
20950
20951 2015-09-17 Joseph Myers <joseph@codesourcery.com>
20952
20953 * conform/linknamespace.pl: Require weak undefined symbols to be
20954 in the standard namespace.
20955 (%strong_syms): Rename to %seen_syms.
20956 (%strong_seen): Rename to %seen_where.
20957
20958 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
20959
20960 [BZ #18970]
20961 * misc/error.c (error): Replace pthread_setcancelstate with
20962 __pthread_setcancelstate.
20963 (error_at_line): Likewise.
20964 * posix/wordexp.c (parse_comm): Likewise.
20965 * stdlib/fmtmsg.c (fmtmsg): Likewise.
20966 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
20967 (__pthread_setcancelstate): This.
20968 (pthread_setcancelstate): Add an alias.
20969 * nptl/nptl-init.c (pthread_functions): Replace
20970 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
20971 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
20972 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
20973 hidden_proto.
20974 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
20975 it with hidden_def.
20976 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
20977 (pthread_setcancelstate): Renamed to ...
20978 (__pthread_setcancelstate): This.
20979 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
20980 __libc_ptf_call with __pthread_setcancelstate.
20981
20982 2015-09-17 Joseph Myers <joseph@codesourcery.com>
20983 Andreas Schwab <schwab@suse.de>
20984
20985 [BZ #17118]
20986 * math/s_ctan.c (__ctan): Determine sign of zero real part of
20987 result when imaginary part of argument is infinite using sine and
20988 cosine.
20989 * math/s_ctanf.c (__ctanf): Likewise.
20990 * math/s_ctanl.c (__ctanl): Likewise.
20991 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
20992 of result when real part of argument is infinite using sine and
20993 cosine.
20994 * math/s_ctanhf.c (__ctanhf): Likewise.
20995 * math/s_ctanhl.c (__ctanhl): Likewise.
20996 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
20997 (ctanh_test_data): Add more tests of ctanh.
20998
20999 2015-09-17 Joseph Myers <joseph@codesourcery.com>
21000
21001 [BZ #15384]
21002 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
21003 bit-mask as in subtraction.
21004 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
21005 Likewise.
21006 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
21007 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
21008 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
21009
21010 [BZ #18951]
21011 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
21012 underflow exception for small results.
21013 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
21014 Likewise.
21015 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
21016 Likewise.
21017 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21018 Likewise.
21019 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21020 Likewise.
21021 * math/auto-libm-test-in: Add more tests of tgamma.
21022 * math/auto-libm-test-out: Regenerated.
21023
21024 2015-09-17 Andreas Schwab <schwab@suse.de>
21025
21026 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
21027
21028 2015-09-16 Joseph Myers <joseph@codesourcery.com>
21029
21030 [BZ #18977]
21031 * math/bits/mathcalls.h
21032 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
21033 not declare.
21034 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
21035 Likewise.
21036 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
21037 Likewise.
21038 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
21039 Likewise.
21040 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
21041 Likewise.
21042 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
21043 Likewise.
21044 * conform/data/math.h-data
21045 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
21046 function.
21047 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
21048 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
21049 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
21050 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
21051 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
21052 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
21053 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
21054 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
21055 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
21056 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
21057 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
21058
21059 [BZ #6803]
21060 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
21061 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
21062 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
21063 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
21064 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
21065 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
21066 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
21067 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
21068 [NO_LONG_DOUBLE] (scalbnl): Likewise.
21069 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
21070 Likewise.
21071 [NO_LONG_DOUBLE] (scalbnl): Likewise.
21072 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
21073 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
21074 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
21075 long_double_symbol calls.
21076 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
21077 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
21078 strong alias of __ldexpl.
21079 (scalbnl): Define using long_double_symbol.
21080 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
21081 Remove alias.
21082 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
21083 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
21084 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
21085 (scalbln_test_data): Add more errno expectations.
21086
21087 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
21088
21089 Cache the host port like we cache the task port. This way we do not
21090 need to call the kernel just to get the port. Furthermore, we no
21091 longer increase the reference count on every invocation of
21092 `mach_host_self'.
21093
21094 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
21095 Protect declarations against the macro expansion.
21096 * mach/mach_init.c (__mach_host_self_): New variable.
21097 (mach_init): Initialize `__mach_host_self_'.
21098 * mach/mach_init.h (__mach_host_self_): New declaration.
21099 (__mach_host_self, mach_host_self): New macros.
21100 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
21101 Release reference.
21102
21103 2015-09-16 Joseph Myers <joseph@codesourcery.com>
21104
21105 [BZ #4404]
21106 * po/de.po: Update from Translation Project.
21107
21108 [BZ #16415]
21109 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
21110 (__expm1l): Remove code to handle positive infinity and overflow.
21111 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
21112 variable.
21113 (__expm1l): Remove code to handle positive infinity and overflow.
21114
21115 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
21116 Paul Pluzhnikov <ppluzhnikov@google.com>
21117
21118 [BZ #18872]
21119 * stdio-common/Makefile (tst-printf-bz18872): New test.
21120 (tst-printf-bz18872-mem.out): Likewise.
21121 * stdio-common/tst-printf-bz18872.sh: Generate new test.
21122 * stdio-common/vfprintf.c: Fix memory leaks.
21123
21124 2015-09-16 Andreas Schwab <schwab@suse.de>
21125
21126 [BZ #17244]
21127 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
21128 Remove extra va_start/va_end calls.
21129
21130 [BZ #17243]
21131 * posix/execl.c (execl): Add missing va_end.
21132 * posix/execle.c (execle): Likewise.
21133 * posix/execlp.c (execlp): Likewise.
21134
21135 2015-09-15 Roland McGrath <roland@hack.frob.com>
21136
21137 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
21138 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
21139
21140 2015-09-15 Joseph Myers <joseph@codesourcery.com>
21141
21142 [BZ #18967]
21143 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
21144 undefine around includes of <bits/mathcalls.h>.
21145 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
21146 not declare function.
21147 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
21148 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
21149 (scalb): Likewise.
21150 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
21151 not define macro.
21152 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
21153 variable.
21154 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21155 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21156 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21157
21158 [BZ #18857]
21159 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
21160 return non-finite argument without doing ordered comparisons on
21161 it.
21162
21163 [BZ #16296]
21164 * math/fenv.h (fegetround): Use __attribute_pure__.
21165 * include/fenv.h (__fegetround): Likewise.
21166
21167 [BZ #18595]
21168 * math/s_ctan.c (__ctan): Force underflow exception for results
21169 whose real or imaginary part has small absolute value.
21170 * math/s_ctanf.c (__ctanf): Likewise.
21171 * math/s_ctanh.c (__ctanh): Likewise.
21172 * math/s_ctanhf.c (__ctanhf): Likewise.
21173 * math/s_ctanhl.c (__ctanhl): Likewise.
21174 * math/s_ctanl.c (__ctanl): Likewise.
21175 * math/auto-libm-test-in: Do not allow missing underflow for ctan
21176 and ctanh. Add more tests of ctan and ctanh.
21177
21178 [BZ #15918]
21179 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
21180 handling of cases where one argument is an infinity.
21181
21182 [BZ #18875]
21183 [BZ #18966]
21184 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
21185 (MO): New macro.
21186 (__ieee754_exp10): For small results, force underflow exception
21187 and remove excess range and precision from return value.
21188 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
21189 (MO): New macro.
21190 (__ieee754_exp10f): For small results, force underflow exception
21191 and remove excess range and precision from return value.
21192 * math/auto-libm-test-in: Add more tests of exp10.
21193 * math/auto-libm-test-out: Regenerated.
21194
21195 2015-09-14 Joseph Myers <joseph@codesourcery.com>
21196
21197 [BZ #18875]
21198 [BZ #18961]
21199 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
21200 (MO): New macro.
21201 (__ieee754_exp): For small results, force underflow exception and
21202 remove excess range and precision from return value.
21203 (__exp_finite): Likewise.
21204 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
21205 (MO): New macro.
21206 (__ieee754_expf): For small results, force underflow exception and
21207 remove excess range and precision from return value.
21208 (__expf_finite): Likewise.
21209 * math/auto-libm-test-in: Add more tests of exp.
21210 * math/auto-libm-test-out: Regenerated.
21211
21212 [BZ #16521]
21213 [BZ #18875]
21214 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
21215 small results.
21216 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
21217 (MO): New macro.
21218 (__ieee754_exp2): For small results, force underflow exception and
21219 remove excess range and precision from return value.
21220 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
21221 (MO): New macro.
21222 (__ieee754_exp2f): For small results, force underflow exception
21223 and remove excess range and precision from return value.
21224 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
21225 (MO): New macro.
21226 (__ieee754_exp2l): Force underflow exception for small results.
21227 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21228 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21229 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
21230 (MO): New macro.
21231 (__ieee754_exp2l): Force underflow exception for small results.
21232 * math/auto-libm-test-in: Add more tests or exp2.
21233 * math/auto-libm-test-out: Regenerated.
21234
21235 2015-09-14 Carlos O'Donell <carlos@redhat.com>
21236
21237 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
21238
21239 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
21240 /dev/null.
21241
21242 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
21243
21244 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21245 io fs process)): Drop spurious backslash.
21246
21247 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
21248
21249 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
21250 Use sysinfo system call instead of parsing /proc/meminfo.
21251 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
21252 Likewise.
21253
21254 2015-09-11 Mike Frysinger <vapier@gentoo.org>
21255
21256 [BZ #16985]
21257 * programs/localedef.c (main): Display argv[remaining] when
21258 output_path is NULL.
21259
21260 2015-09-11 Joseph Myers <joseph@codesourcery.com>
21261
21262 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21263 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
21264 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
21265 tanh.
21266 * math/auto-libm-test-out: Regenerated.
21267 * sysdeps/i386/fpu/libm-test-ulps: Update.
21268 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21269 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21270 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21271
21272 2015-09-11 Roland McGrath <roland@hack.frob.com>
21273
21274 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
21275 Use 'override' keyword to freeze the value here, preventing
21276 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
21277
21278 2015-09-11 Joseph Myers <joseph@codesourcery.com>
21279
21280 [BZ #14912]
21281 * sysdeps/aarch64/bits/atomic.h: Move to ...
21282 * sysdeps/aarch64/atomic-machine.h: ...here.
21283 (_AARCH64_BITS_ATOMIC_H): Rename macro to
21284 _AARCH64_ATOMIC_MACHINE_H.
21285 * sysdeps/alpha/bits/atomic.h: Move to ...
21286 * sysdeps/alpha/atomic-machine.h: ...here.
21287 * sysdeps/arm/bits/atomic.h: Move to ...
21288 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
21289 * bits/atomic.h: Move to ...
21290 * sysdeps/generic/atomic-machine.h: ...here.
21291 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21292 * sysdeps/i386/bits/atomic.h: Move to ...
21293 * sysdeps/i386/atomic-machine.h: ...here.
21294 * sysdeps/ia64/bits/atomic.h: Move to ...
21295 * sysdeps/ia64/atomic-machine.h: ...here.
21296 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
21297 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
21298 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21299 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
21300 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
21301 * sysdeps/microblaze/bits/atomic.h: Move to ...
21302 * sysdeps/microblaze/atomic-machine.h: ...here.
21303 * sysdeps/mips/bits/atomic.h: Move to ...
21304 * sysdeps/mips/atomic-machine.h: ...here.
21305 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
21306 * sysdeps/powerpc/bits/atomic.h: Move to ...
21307 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
21308 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
21309 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
21310 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
21311 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
21312 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
21313 <atomic-machine.h> instead of <bits/atomic.h>.
21314 * sysdeps/s390/bits/atomic.h: Move to ...
21315 * sysdeps/s390/atomic-machine.h: ...here.
21316 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
21317 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
21318 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21319 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
21320 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
21321 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
21322 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
21323 * sysdeps/tile/bits/atomic.h: Move to ...
21324 * sysdeps/tile/atomic-machine.h: ...here.
21325 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
21326 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
21327 <sysdeps/tile/atomic-machine.h> instead of
21328 <sysdeps/tile/bits/atomic.h>.
21329 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21330 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
21331 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
21332 <sysdeps/tile/atomic-machine.h> instead of
21333 <sysdeps/tile/bits/atomic.h>.
21334 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21335 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
21336 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
21337 <sysdeps/arm/atomic-machine.h> instead of
21338 <sysdeps/arm/bits/atomic.h>.
21339 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
21340 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
21341 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21342 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
21343 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
21344 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21345 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
21346 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
21347 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
21348 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
21349 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
21350 * sysdeps/x86_64/bits/atomic.h: Move to ...
21351 * sysdeps/x86_64/atomic-machine.h: ...here.
21352 * include/atomic.h: Include <atomic-machine.h> instead of
21353 <bits/atomic.h>.
21354
21355 * sysdeps/mips/mips32/libm-test-ulps: Update.
21356 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21357
21358 [BZ #18952]
21359 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
21360 not convert non-integer negative arguments to int to determine the
21361 value of signgam.
21362 * math/auto-libm-test-in: Add more tests of lgamma.
21363 * math/auto-libm-test-out: Regenerated.
21364
21365 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
21366 cosh, csqrt, erfc, expm1 and lgamma.
21367 * math/auto-libm-test-out: Regenerated.
21368 * sysdeps/i386/fpu/libm-test-ulps: Update.
21369 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21370
21371 2015-09-10 Joseph Myers <joseph@codesourcery.com>
21372
21373 [BZ #2542]
21374 [BZ #2543]
21375 [BZ #2558]
21376 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
21377 __lgamma_neg for arguments from -28.0 to -2.0.
21378 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
21379 __lgamma_negf for arguments from -15.0 to -2.0.
21380 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21381 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
21382 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
21383 Call __lgamma_negl for arguments from -33.0 to -2.0.
21384 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
21385 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
21386 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
21387 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
21388 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
21389 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
21390 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
21391 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
21392 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
21393 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
21394 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
21395 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
21396 (__lgamma_neg): Likewise.
21397 (__lgamma_negl): Likewise.
21398 (__lgamma_product): Likewise.
21399 (__lgamma_productl): Likewise.
21400 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
21401 * math/auto-libm-test-in: Add more tests of lgamma.
21402 * math/auto-libm-test-out: Regenerated.
21403 * sysdeps/i386/fpu/libm-test-ulps: Update.
21404 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21405
21406 2015-09-09 Justin Maggard <jmaggard@netgear.com>
21407
21408 [BZ #18675]
21409 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
21410
21411 2015-09-08 Joseph Myers <joseph@codesourcery.com>
21412
21413 [BZ #14912]
21414 * bits/libc-lock.h: Move to ...
21415 * sysdeps/generic/libc-lock.h: ...here.
21416 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21417 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
21418 * sysdeps/mach/hurd/libc-lock.h: ...here.
21419 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21420 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
21421 * sysdeps/mach/bits/libc-lock.h: Move to ...
21422 * sysdeps/mach/libc-lock.h: ...here.
21423 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21424 * sysdeps/nptl/bits/libc-lock.h: Move to ...
21425 * sysdeps/nptl/libc-lock.h: ...here.
21426 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21427 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
21428 * sysdeps/nptl/libc-lockP.h: ...here.
21429 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
21430 * crypt/crypt_util.c: Include <libc-lock.h> instead of
21431 <bits/libc-lock.h>.
21432 * dirent/scandir-tail.c: Likewise.
21433 * dlfcn/dlerror.c: Likewise.
21434 * elf/dl-close.c: Likewise.
21435 * elf/dl-iteratephdr.c: Likewise.
21436 * elf/dl-lookup.c: Likewise.
21437 * elf/dl-open.c: Likewise.
21438 * elf/dl-support.c: Likewise.
21439 * elf/dl-writev.h: Likewise.
21440 * elf/rtld.c: Likewise.
21441 * grp/fgetgrent.c: Likewise.
21442 * gshadow/fgetsgent.c: Likewise.
21443 * gshadow/sgetsgent.c: Likewise.
21444 * iconv/gconv_conf.c: Likewise.
21445 * iconv/gconv_db.c: Likewise.
21446 * iconv/gconv_dl.c: Likewise.
21447 * iconv/gconv_int.h: Likewise.
21448 * iconv/gconv_trans.c: Likewise.
21449 * include/link.h: Likewise.
21450 * inet/getnameinfo.c: Likewise.
21451 * inet/getnetgrent.c: Likewise.
21452 * inet/getnetgrent_r.c: Likewise.
21453 * intl/bindtextdom.c: Likewise.
21454 * intl/dcigettext.c: Likewise.
21455 * intl/finddomain.c: Likewise.
21456 * intl/gettextP.h: Likewise.
21457 * intl/loadmsgcat.c: Likewise.
21458 * intl/localealias.c: Likewise.
21459 * intl/textdomain.c: Likewise.
21460 * libidn/idn-stub.c: Likewise.
21461 * libio/libioP.h: Likewise.
21462 * locale/duplocale.c: Likewise.
21463 * locale/freelocale.c: Likewise.
21464 * locale/newlocale.c: Likewise.
21465 * locale/setlocale.c: Likewise.
21466 * login/getutent_r.c: Likewise.
21467 * login/getutid_r.c: Likewise.
21468 * login/getutline_r.c: Likewise.
21469 * login/utmp-private.h: Likewise.
21470 * login/utmpname.c: Likewise.
21471 * malloc/mtrace.c: Likewise.
21472 * misc/efgcvt.c: Likewise.
21473 * misc/error.c: Likewise.
21474 * misc/fstab.c: Likewise.
21475 * misc/getpass.c: Likewise.
21476 * misc/mntent.c: Likewise.
21477 * misc/syslog.c: Likewise.
21478 * nis/nis_call.c: Likewise.
21479 * nis/nis_callback.c: Likewise.
21480 * nis/nss-default.c: Likewise.
21481 * nis/nss_compat/compat-grp.c: Likewise.
21482 * nis/nss_compat/compat-initgroups.c: Likewise.
21483 * nis/nss_compat/compat-pwd.c: Likewise.
21484 * nis/nss_compat/compat-spwd.c: Likewise.
21485 * nis/nss_nis/nis-alias.c: Likewise.
21486 * nis/nss_nis/nis-ethers.c: Likewise.
21487 * nis/nss_nis/nis-grp.c: Likewise.
21488 * nis/nss_nis/nis-hosts.c: Likewise.
21489 * nis/nss_nis/nis-network.c: Likewise.
21490 * nis/nss_nis/nis-proto.c: Likewise.
21491 * nis/nss_nis/nis-pwd.c: Likewise.
21492 * nis/nss_nis/nis-rpc.c: Likewise.
21493 * nis/nss_nis/nis-service.c: Likewise.
21494 * nis/nss_nis/nis-spwd.c: Likewise.
21495 * nis/nss_nisplus/nisplus-alias.c: Likewise.
21496 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
21497 * nis/nss_nisplus/nisplus-grp.c: Likewise.
21498 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
21499 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
21500 * nis/nss_nisplus/nisplus-network.c: Likewise.
21501 * nis/nss_nisplus/nisplus-proto.c: Likewise.
21502 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
21503 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
21504 * nis/nss_nisplus/nisplus-service.c: Likewise.
21505 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
21506 * nis/ypclnt.c: Likewise.
21507 * nptl/libc_pthread_init.c: Likewise.
21508 * nss/getXXbyYY.c: Likewise.
21509 * nss/getXXent.c: Likewise.
21510 * nss/getXXent_r.c: Likewise.
21511 * nss/nss_db/db-XXX.c: Likewise.
21512 * nss/nss_db/db-netgrp.c: Likewise.
21513 * nss/nss_db/nss_db.h: Likewise.
21514 * nss/nss_files/files-XXX.c: Likewise.
21515 * nss/nss_files/files-alias.c: Likewise.
21516 * nss/nsswitch.c: Likewise.
21517 * posix/regex_internal.h: Likewise.
21518 * posix/wordexp.c: Likewise.
21519 * pwd/fgetpwent.c: Likewise.
21520 * resolv/res_hconf.c: Likewise.
21521 * resolv/res_libc.c: Likewise.
21522 * shadow/fgetspent.c: Likewise.
21523 * shadow/lckpwdf.c: Likewise.
21524 * shadow/sgetspent.c: Likewise.
21525 * socket/opensock.c: Likewise.
21526 * stdio-common/reg-modifier.c: Likewise.
21527 * stdio-common/reg-printf.c: Likewise.
21528 * stdio-common/reg-type.c: Likewise.
21529 * stdio-common/vfprintf.c: Likewise.
21530 * stdio-common/vfscanf.c: Likewise.
21531 * stdlib/abort.c: Likewise.
21532 * stdlib/cxa_atexit.c: Likewise.
21533 * stdlib/fmtmsg.c: Likewise.
21534 * stdlib/random.c: Likewise.
21535 * stdlib/setenv.c: Likewise.
21536 * string/strsignal.c: Likewise.
21537 * sunrpc/auth_none.c: Likewise.
21538 * sunrpc/bindrsvprt.c: Likewise.
21539 * sunrpc/create_xid.c: Likewise.
21540 * sunrpc/key_call.c: Likewise.
21541 * sunrpc/rpc_thread.c: Likewise.
21542 * sysdeps/arm/backtrace.c: Likewise.
21543 * sysdeps/generic/ldsodefs.h: Likewise.
21544 * sysdeps/generic/stdio-lock.h: Likewise.
21545 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
21546 * sysdeps/i386/backtrace.c: Likewise.
21547 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21548 * sysdeps/m68k/backtrace.c: Likewise.
21549 * sysdeps/mach/hurd/cthreads.c: Likewise.
21550 * sysdeps/mach/hurd/dirstream.h: Likewise.
21551 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21552 * sysdeps/nptl/malloc-machine.h: Likewise.
21553 * sysdeps/nptl/stdio-lock.h: Likewise.
21554 * sysdeps/posix/dirstream.h: Likewise.
21555 * sysdeps/posix/getaddrinfo.c: Likewise.
21556 * sysdeps/posix/system.c: Likewise.
21557 * sysdeps/pthread/aio_suspend.c: Likewise.
21558 * sysdeps/s390/s390-32/backtrace.c: Likewise.
21559 * sysdeps/s390/s390-64/backtrace.c: Likewise.
21560 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21561 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
21562 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
21563 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
21564 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
21565 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
21566 * sysdeps/unix/sysv/linux/system.c: Likewise.
21567 * sysdeps/x86_64/backtrace.c: Likewise.
21568 * time/alt_digit.c: Likewise.
21569 * time/era.c: Likewise.
21570 * time/tzset.c: Likewise.
21571 * wcsmbs/wcsmbsload.c: Likewise.
21572 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
21573 instead of <bits/libc-lock.h> in comment.
21574
21575 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
21576
21577 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
21578 Only use .set mips2 if the current ISA is below mips2.
21579 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
21580 Likewise.
21581 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
21582 mips32r2 if the current ISA is below mips32r2.
21583 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
21584 (TLS_IE): Updated to use the TLD_RDHWR macro.
21585 (TLS_LE): Likewise.
21586 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
21587 __ASSEMBLER__ condition.
21588
21589 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
21590
21591 Fix parallel build of before-compile targets.
21592
21593 * sysdeps/mach/Makefile ($(patsubst
21594 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
21595 mach-before-compile target.
21596 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21597 io fs process)): Move rule to dedicated hurd-before-compile target.
21598
21599 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21600
21601 Fix rules generating headers in hurd/ and mach/ when initial make call
21602 has subdir= explicitly set.
21603
21604 * sysdeps/mach/Makefile ($(patsubst
21605 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
21606 calling $(MAKE).
21607 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21608 io fs process)): Force subdir to hurd when calling $(MAKE).
21609 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
21610 subdir to mach when calling $(MAKE).
21611
21612 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
21613
21614 Check sysheaders when looking for Mach and Hurd headers
21615
21616 * sysdeps/mach/configure.ac: Add sysheaders check.
21617 * sysdeps/mach/configure: Regenerate.
21618 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
21619 * sysdeps/mach/hurd/configure: Regenerate.
21620
21621 2015-09-04 Roland McGrath <roland@hack.frob.com>
21622
21623 [BZ #18921]
21624 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
21625 Fix inverted sense of test of 'o_directory_works' value.
21626 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
21627 Bernhard Voelker <mail@bernhard-voelker.de>.
21628
21629 2015-09-04 Joseph Myers <joseph@codesourcery.com>
21630
21631 [BZ #14912]
21632 * bits/linkmap.h: Move to ...
21633 * sysdeps/generic/linkmap.h: ...here.
21634 * sysdeps/aarch64/bits/linkmap.h: Move to ...
21635 * sysdeps/aarch64/linkmap.h: ...here.
21636 * sysdeps/arm/bits/linkmap.h: Move to ...
21637 * sysdeps/arm/linkmap.h: ...here.
21638 * sysdeps/hppa/bits/linkmap.h: Move to ...
21639 * sysdeps/hppa/linkmap.h: ...here.
21640 * sysdeps/ia64/bits/linkmap.h: Move to ...
21641 * sysdeps/ia64/linkmap.h: ...here.
21642 * sysdeps/mips/bits/linkmap.h: Move to ...
21643 * sysdeps/mips/linkmap.h: ...here.
21644 * sysdeps/s390/bits/linkmap.h: Move to ...
21645 * sysdeps/s390/linkmap.h: ...here.
21646 * sysdeps/sh/bits/linkmap.h: Move to ...
21647 * sysdeps/sh/linkmap.h: ...here.
21648 * sysdeps/x86/bits/linkmap.h: Move to ...
21649 * sysdeps/x86/linkmap.h: ...here.
21650 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
21651
21652 2015-09-04 Andreas Schwab <schwab@suse.de>
21653
21654 [BZ #18635]
21655 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
21656 (__makecontext): Terminate FDE before return label.
21657 (__novec_makecontext): Likewise.
21658
21659 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21660
21661 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
21662 first member of struct sv in syscall macro.
21663
21664 2015-09-04 Joseph Myers <joseph@codesourcery.com>
21665
21666 [BZ #14912]
21667 * bits/stdio-lock.h: Move to ...
21668 * sysdeps/generic/stdio-lock.h: ...here.
21669 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21670 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
21671 * sysdeps/nptl/stdio-lock.h: ...here.
21672 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21673 * include/libio.h: Include <stdio-lock.h> instead of
21674 <bits/stdio-lock.h>.
21675 * sysdeps/nptl/fork.c: Likewise.
21676 * sysdeps/pthread/flockfile.c: Likewise.
21677 * sysdeps/pthread/ftrylockfile.c: Likewise.
21678 * sysdeps/pthread/funlockfile.c: Likewise.
21679
21680 [BZ #14912]
21681 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
21682 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
21683 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
21684 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
21685 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
21686 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
21687 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
21688
21689 2015-09-03 Roland McGrath <roland@hack.frob.com>
21690
21691 * elf/Makefile (test-xfail-tst-protected1a): New variable.
21692 (test-xfail-tst-protected1b): New variable.
21693
21694 2015-09-03 Joseph Myers <joseph@codesourcery.com>
21695
21696 [BZ #14912]
21697 * bits/libc-tsd.h: Move to ...
21698 * sysdeps/generic/libc-tsd.h: ...here.
21699 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
21700 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
21701 * sysdeps/mach/hurd/libc-tsd.h: ...here.
21702 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
21703 * include/ctype.h: Include <libc-tsd.h> instead of
21704 <bits/libc-tsd.h>.
21705 * include/rpc/rpc.h: Likewise.
21706 * locale/localeinfo.h: Likewise.
21707 * sunrpc/rpc_thread.c: Likewise.
21708 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21709 * sysdeps/nptl/malloc-machine.h: Likewise.
21710
21711 * Makefile (headers): Remove bits/libc-lock.h.
21712 * libio/Makefile (headers): Remove bits/stdio-lock.h.
21713
21714 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
21715 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
21716 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
21717 <bits/stdio-lock.h>.
21718 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
21719 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
21720
21721 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
21722
21723 [BZ #18757]
21724 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
21725 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
21726 BZ #18757.
21727
21728 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
21729
21730 * malloc/mtrace.pl: Filter out NULL entries.
21731
21732 2015-09-01 Joseph Myers <joseph@codesourcery.com>
21733
21734 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
21735 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
21736 macro.
21737
21738 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
21739 (TCP_CC_INFO): Likewise.
21740 (TCP_SAVE_SYN): Likewise.
21741 (TCP_SAVED_SYN): Likewise.
21742
21743 2015-08-31 Brett Neumeier <brett@neumeier.us>
21744
21745 [BZ #18870]
21746 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
21747
21748 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
21749
21750 [BZ #18873]
21751 Fix broken overflow check in posix_fallocate
21752 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
21753 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21754 Fix parenthesization typo.
21755
21756 2015-08-28 Mike Frysinger <vapier@gentoo.org>
21757
21758 [BZ #18887]
21759 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
21760 tst-mntent-blank-passno.
21761 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
21762 * misc/tst-mntent-blank-corrupt.c: New test.
21763 * misc/tst-mntent-blank-passno.c: New test ripped from ...
21764 * misc/tst-mntent.c (do_test): ... here.
21765
21766 2015-08-29 Mike Frysinger <vapier@gentoo.org>
21767
21768 [BZ #4404]
21769 * po/de.po: Fix SIGALRM typo.
21770
21771 2015-08-28 James Perkins <james@loowit.net>
21772
21773 * time/tst-strptime2.c (tests): Replace short list of test
21774 strings for strptime %z specifier with code which exhaustively
21775 tests every combination of sign and 0 to 5 digits. Tests for
21776 rejection of invalid strings.
21777
21778 2015-08-28 James Perkins <james@loowit.net>
21779
21780 [BZ #16141]
21781 * time/strptime_l.c (__strptime_internal): Fix %z minutes
21782 calculation, removing incorrect decimal time rounding, so that
21783 all minute values result in a valid seconds value.
21784 * time/strptime_l.c (__strptime_internal): Extend %z time zone
21785 offset range limits to UTC-99:59 through UTC+99:59 to parse
21786 current and historical use cases.
21787 * time/tst-strptime2.c (tests): Modify and add tests for the
21788 strptime %z input field descriptor, specifically conversion of
21789 minutes to seconds and validating an offset range of -9959 to
21790 +9959.
21791
21792 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21793 Dmitry V. Levin <ldv@altlinux.org>
21794
21795 [BZ #18877]
21796 * posix/Makefile (tests): Add tst-mmap-offset.
21797 * posix/tst-mmap.c: New file.
21798 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
21799 offset calculation for negative values.
21800
21801 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21802
21803 * sysdeps/i386/init-arch.h: New file.
21804 * sysdeps/i386/i586/init-arch.h: Likewise.
21805 * sysdeps/i386/i686/init-arch.h: Likewise.
21806 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
21807 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
21808 * sysdeps/x86/cpu-features.h (bit_I586): New.
21809 (bit_I686): Likewise.
21810 (bit_CX8): Likewise.
21811 (bit_CMOV): Likewise.
21812 (index_CX8): Likewise.
21813 (index_CMOV): Likewise.
21814 (index_I586): Likewise.
21815 (index_I686): Likewise.
21816 (reg_CX8): Likewise.
21817 (reg_CMOV): Likewise.
21818 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
21819 available at compile-time.
21820 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
21821 available at compile-time.
21822 * sysdeps/x86/init-arch.h (USE_I586): New macro.
21823 (USE_I686): Likewise.
21824
21825 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21826
21827 * sysdeps/i386/bcopy.S: New file.
21828 * sysdeps/i386/bzero.S: Likewise.
21829 * sysdeps/i386/memcpy.S: Likewise.
21830 * sysdeps/i386/memmove.S: Likewise.
21831 * sysdeps/i386/mempcpy.S: Likewise.
21832 * sysdeps/i386/memset.S: Likewise.
21833 * sysdeps/i386/bzero.c: Removed.
21834 * sysdeps/i386/memset.c: Likewise.
21835 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
21836 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
21837 * sysdeps/i386/i586/memset_chk.S: Likewise.
21838 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
21839 * sysdeps/i386/memcpy_chk.S: Here.
21840 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
21841 * sysdeps/i386/memmove_chk.S: Here.
21842 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
21843 * sysdeps/i386/mempcpy_chk.S: Likewise.
21844 * sysdeps/i386/i686/memset_chk.S: Moved to ...
21845 * sysdeps/i386/memset_chk.S: Likewise.
21846
21847 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
21848
21849 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
21850 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
21851 file, move DIAG_POP_NEEDS_COMMENT to end of file.
21852 * soft-fp/fmadf4.c: Ditto.
21853 * soft-fp/fmatf4.c: Ditto.
21854
21855 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21856
21857 * sysdeps/i386/i586/Implies: Removed.
21858 * sysdeps/i386/i686/Implies: Likewise.
21859
21860 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21861
21862 * sysdeps/i386/i486/strlen.S: Moved to ...
21863 * sysdeps/i386/strlen.S: Here.
21864
21865 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21866
21867 * sysdeps/i386/i486/strcat.S: Moved to ...
21868 * sysdeps/i386/strcat.S: Here.
21869
21870 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21871
21872 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
21873 * sysdeps/i386/pthread_spin_trylock.S: Here.
21874 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
21875 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
21876
21877 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21878
21879 * sysdeps/i386/i486/string-inlines.c: Moved to ...
21880 * sysdeps/i386/string-inlines.c: Here.
21881
21882 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21883
21884 * sysdeps/i386/i486/htonl.S: Moved ...
21885 * sysdeps/i386/htonl.S: here.
21886
21887 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21888
21889 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
21890 * sysdeps/i386/bits/atomic.h: Here.
21891
21892 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21893
21894 * sysdeps/i386/i486/Versions: Removed.
21895
21896 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
21897
21898 [BZ #2898]
21899 * misc/mktemp.c: Add mkdtemp to the link_warning message.
21900 Based on patch by Aurelien Jarno.
21901
21902 2015-08-26 Stan Shebs <stanshebs@google.com>
21903
21904 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
21905 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21906
21907 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21908
21909 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
21910 * sysdeps/powerpc/dl-procinfo.c:
21911 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
21912 feature so it shows when LD_SHOW_AUXV=1.
21913
21914 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21915
21916 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21917 (__arch_compare_and_exchange_val_32_acq): Remove and use common
21918 definition. ISA 2.07B no longer requires full sync.
21919
21920 2015-08-26 Mike Frysinger <vapier@gentoo.org>
21921
21922 [BZ #18863]
21923 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
21924 (si_call_addr): Define.
21925 (si_syscall): Define.
21926 (si_arch): Define.
21927
21928 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
21929
21930 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
21931 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
21932 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
21933 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21934 (__memset_zero_constant_len_parameter): New.
21935 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
21936 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21937 (__memset_zero_constant_len_parameter): Don't define if
21938 __memset_chk or USE_AS_BZERO are defined.
21939
21940 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
21941 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
21942 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
21943
21944 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
21945 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
21946 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
21947 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
21948 comments.
21949 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
21950 -mno-mmx for $(all-rtld-routines).
21951 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
21952 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
21953 i386.
21954
21955 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21956
21957 * sysdeps/generic/unwind.h
21958 (_Unwind_Word): Use __mode__(__unwind_word__)
21959 instead of __mode__(__word__).
21960 (_Unwind_Sword): Likewise.
21961
21962 * sysdeps/s390/s390-64/utf8-utf16-z9.c
21963 (MAX_NEEDED_INPUT): New define.
21964 (MAX_NEEDED_OUTPUT): New define.
21965
21966 * NEWS: New item for IBM z13 string optimizations.
21967
21968 * sysdeps/s390/multiarch/memrchr-c.c: New File.
21969 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
21970 * sysdeps/s390/multiarch/memrchr.c: Likewise.
21971 * sysdeps/s390/multiarch/Makefile
21972 (sysdep_routines): Add memrchr functions.
21973 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21974 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
21975
21976 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
21977 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
21978 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
21979 * sysdeps/s390/multiarch/Makefile
21980 (sysdep_routines): Add wmemcmp functions.
21981 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21982 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
21983 * benchtests/bench-wmemcmp.c: New File.
21984 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
21985
21986 * sysdeps/s390/multiarch/wmemset-c.c: New File.
21987 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
21988 * sysdeps/s390/multiarch/wmemset.c: Likewise.
21989 * sysdeps/s390/multiarch/Makefile
21990 (sysdep_routines): Add wmemset functions.
21991 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21992 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
21993 * wcsmbs/wmemset.c: Use WMEMSET if defined.
21994 * string/test-memset.c: Add wmemset support.
21995 * wcsmbs/test-wmemset.c: New File.
21996 * wcsmbs/Makefile (strop-tests): Add wmemset.
21997 * benchtests/bench-memset.c: Add wmemset support.
21998 * benchtests/bench-wmemset.c: New File.
21999 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
22000
22001 * sysdeps/s390/multiarch/memccpy-c.c: New File.
22002 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
22003 * sysdeps/s390/multiarch/memccpy.c: Likewise.
22004 * sysdeps/s390/multiarch/Makefile
22005 (sysdep_routines): Add memccpy functions.
22006 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
22007 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
22008 * string/memccpy.c: Use MEMCCPY if defined.
22009
22010 * sysdeps/s390/multiarch/memchr-vx.S: New File.
22011 * sysdeps/s390/multiarch/memchr.c: Likewise.
22012 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
22013 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
22014 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
22015 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
22016 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
22017 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
22018 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
22019 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
22020 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
22021 and rawmemchr functions.
22022 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
22023 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
22024 and wmemchr.
22025 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
22026 * string/test-memchr.c: Add wmemchr support.
22027 * wcsmbs/test-wmemchr.c: New File.
22028 * wcsmbs/Makefile (strop-tests): Add wmemchr.
22029 * benchtests/bench-memchr.c: Add wmemchr support.
22030 * benchtests/bench-wmemchr.c: New File.
22031 * benchtests/Makefile (wcsmbs-bench): wmemchr.
22032
22033 * sysdeps/s390/multiarch/strcspn-c.c: New File.
22034 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
22035 * sysdeps/s390/multiarch/strcspn.c: Likewise.
22036 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
22037 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
22038 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
22039 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
22040 wcscspn functions.
22041 * sysdeps/s390/multiarch/ifunc-impl-list.c
22042 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
22043 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
22044 * string/test-strcspn.c: Add wcscspn support.
22045 * wcsmbs/test-wcscspn.c: New File.
22046 * wcsmbs/Makefile (strop-tests): Add wcscspn.
22047 * benchtests/bench-strcspn.c: Add wcscspn support.
22048 * benchtests/bench-wcscspn.c: New File.
22049 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
22050
22051 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
22052 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
22053 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
22054 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
22055 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
22056 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
22057 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
22058 wcspbrk functions.
22059 * sysdeps/s390/multiarch/ifunc-impl-list.c
22060 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
22061 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
22062 * string/test-strpbrk.c: Add wcspbrk support.
22063 * wcsmbs/test-wcspbrk.c: New File.
22064 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
22065 * benchtests/bench-strpbrk.c: Add wcspbrk support.
22066 * benchtests/bench-wcspbrk.c: New File.
22067 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
22068
22069 * sysdeps/s390/multiarch/strspn-c.c: New File.
22070 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
22071 * sysdeps/s390/multiarch/strspn.c: Likewise.
22072 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
22073 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
22074 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
22075 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
22076 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
22077 wcsspn functions.
22078 * sysdeps/s390/multiarch/ifunc-impl-list.c
22079 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
22080 * string/test-strspn.c: Add wcsspn support.
22081 * wcsmbs/test-wcsspn.c: New File.
22082 * wcsmbs/Makefile (strop-tests): Add wcsspn.
22083 * benchtests/bench-strspn.c: Add wcsspn support.
22084 * benchtests/bench-wcsspn.c: New File.
22085 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
22086
22087 * sysdeps/s390/multiarch/strrchr-c.c: New File.
22088 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
22089 * sysdeps/s390/multiarch/strrchr.c: Likewise.
22090 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
22091 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
22092 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
22093 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
22094 wcsrchr functions.
22095 * sysdeps/s390/multiarch/ifunc-impl-list.c
22096 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
22097 * benchtests/bench-wcsrchr.c: New File.
22098 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
22099
22100 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
22101 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
22102 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
22103 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
22104 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
22105 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
22106 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
22107 wcschrnul functions.
22108 * sysdeps/s390/multiarch/ifunc-impl-list.c
22109 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
22110 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
22111 * string/test-strchr.c: Add wcschrnul support.
22112 * wcsmbs/test-wcschrnul.c: New File.
22113 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
22114 * benchtests/bench-strchr.c: Add wcschrnul support.
22115 * benchtests/bench-wcschrnul.c: New File.
22116 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
22117
22118 * sysdeps/s390/multiarch/strchr-c.c: New File.
22119 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
22120 * sysdeps/s390/multiarch/strchr.c: Likewise.
22121 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
22122 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
22123 * sysdeps/s390/multiarch/wcschr.c: Likewise.
22124 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
22125 wcschr functions.
22126 * sysdeps/s390/multiarch/ifunc-impl-list.c
22127 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
22128 * string/strchr.c (STRCHR): Define and use macro.
22129 * benchtests/bench-wcschr.c: New File.
22130 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
22131
22132 * sysdeps/s390/multiarch/strncmp-c.c: New File.
22133 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
22134 * sysdeps/s390/multiarch/strncmp.c: Likewise.
22135 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
22136 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
22137 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
22138 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
22139 wcsncmp functions.
22140 * sysdeps/s390/multiarch/ifunc-impl-list.c
22141 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
22142 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
22143 * benchtests/bench-strncmp.c: Add wcsncmp support.
22144 * benchtests/bench-wcsncmp.c: New File.
22145 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
22146
22147 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
22148 * sysdeps/s390/multiarch/strcmp.c: Likewise.
22149 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
22150 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
22151 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
22152 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
22153 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
22154 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
22155 wcscmp functions.
22156 * sysdeps/s390/multiarch/ifunc-impl-list.c
22157 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
22158 * string/strcmp.c (STRCMP): Define and use macro.
22159 * benchtests/bench-wcscmp.c: New File.
22160 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
22161 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
22162 instead of _HAVE_STRING_ARCH_memchr.
22163
22164 * sysdeps/s390/multiarch/strncat-c.c: New File.
22165 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
22166 * sysdeps/s390/multiarch/strncat.c: Likewise.
22167 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
22168 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
22169 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
22170 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
22171 wcsncat functions.
22172 * sysdeps/s390/multiarch/ifunc-impl-list.c
22173 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
22174 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
22175 * string/test-strncat.c: Add wcsncat support.
22176 * wcsmbs/test-wcsncat.c: New File.
22177 * wcsmbs/Makefile (strop-tests): Add wcsncat.
22178 * benchtests/bench-strncat.c: Add wcsncat support.
22179 * benchtests/bench-wcsncat.c: New File.
22180 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
22181
22182 * sysdeps/s390/multiarch/strcat-c.c: New File.
22183 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
22184 * sysdeps/s390/multiarch/strcat.c: Likewise.
22185 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
22186 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
22187 * sysdeps/s390/multiarch/wcscat.c: Likewise.
22188 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
22189 wcscat functions.
22190 * sysdeps/s390/multiarch/ifunc-impl-list.c
22191 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
22192 * string/strcat.c (STRCAT): Define and use macro.
22193 * wcsmbs/wcscat.c: Use WCSCAT if defined.
22194 * string/test-strcat.c: Add wcscat support.
22195 * wcsmbs/test-wcscat.c: New File.
22196 * wcsmbs/Makefile (strop-tests): Add wcscat.
22197 * benchtests/bench-strcat.c: Add wcscat support.
22198 * benchtests/bench-wcscat.c: New File.
22199 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
22200
22201 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
22202 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
22203 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
22204 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
22205 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
22206 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
22207 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
22208 wcpncpy functions.
22209 * sysdeps/s390/multiarch/ifunc-impl-list.c
22210 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
22211 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
22212 * string/test-stpncpy.c: Add wcpncpy support.
22213 * wcsmbs/test-wcpncpy.c: New File.
22214 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
22215 * benchtests/bench-stpncpy.c: Add wcpncpy support.
22216 * benchtests/bench-wcpncpy.c: New File.
22217 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
22218
22219 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
22220 * sysdeps/s390/multiarch/strncpy.c: Likewise.
22221 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
22222 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
22223 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
22224 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
22225 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
22226 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
22227 wcsncpy functions.
22228 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
22229 * sysdeps/s390/multiarch/ifunc-impl-list.c
22230 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
22231 * string/test-strncpy.c: Add wcsncpy support.
22232 * wcsmbs/test-wcsncpy.c: New File.
22233 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
22234 * benchtests/bench-strncpy.c: Add wcsncpy support.
22235 * benchtests/bench-wcsncpy.c: New File.
22236 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
22237
22238 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
22239 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
22240 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
22241 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
22242 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
22243 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
22244 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
22245 wcpcpy functions.
22246 * string/stpcpy.c: Use STPCPY if defined.
22247 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
22248 * sysdeps/s390/multiarch/ifunc-impl-list.c
22249 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
22250 * string/test-stpcpy.c: Add wcpcpy support.
22251 * wcsmbs/test-wcpcpy.c: New File.
22252 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
22253 * benchtests/bench-stpcpy.c: Add wcpcpy support.
22254 * benchtests/bench-wcpcpy.c: New File.
22255 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
22256
22257 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
22258 * sysdeps/s390/multiarch/strcpy.c: Likewise.
22259 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
22260 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
22261 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
22262 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
22263 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
22264 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
22265 wcscpy functions.
22266 * sysdeps/s390/multiarch/ifunc-impl-list.c
22267 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
22268 * benchtests/bench-wcscpy.c: New File.
22269 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
22270
22271 * sysdeps/s390/multiarch/strnlen-c.c: New File.
22272 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
22273 * sysdeps/s390/multiarch/strnlen.c: Likewise.
22274 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
22275 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
22276 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
22277 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
22278 wcsnlen functions.
22279 * sysdeps/s390/multiarch/ifunc-impl-list.c
22280 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
22281 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
22282 * string/test-strnlen.c: Add wcsnlen support.
22283 * wcsmbs/test-wcsnlen.c: New File.
22284 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
22285 * benchtests/bench-strnlen.c: Add wcsnlen support.
22286 * benchtests/bench-wcsnlen.c: New File.
22287 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
22288
22289 * sysdeps/s390/multiarch/Makefile: New File.
22290 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
22291 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
22292 * sysdeps/s390/multiarch/strlen.c: Likewise.
22293 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
22294 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
22295 * sysdeps/s390/multiarch/wcslen.c: Likewise.
22296 * string/strlen.c (STRLEN): Define and use macro.
22297 * sysdeps/s390/multiarch/ifunc-impl-list.c
22298 (IFUNC_VX_IMPL): New macro function.
22299 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
22300 * benchtests/Makefile (wcsmbs-bench): New variable.
22301 (string-bench-all): Added wcsmbs-bench.
22302 * benchtests/bench-wcslen.c: New File.
22303
22304 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
22305 s390_vx_libc_ifunc2): New macro function.
22306
22307 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
22308 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
22309 assembler support.
22310 * sysdeps/s390/configure: Regenerated.
22311
22312 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
22313 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
22314
22315 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
22316 * sysdeps/s390/dl-procinfo.h: Add vector capability.
22317 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
22318
22319 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
22320 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
22321 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
22322 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
22323 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
22324 (memcmp, bcmp): Use __memcmp_default as alias source.
22325 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
22326 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
22327 Rename to __memcmp_default.
22328 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
22329 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
22330 (memcpy): Use __memcpy_default as alias source.
22331 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
22332 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
22333 Rename to __memcpy_default.
22334 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
22335 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
22336 (memset): Use __memset_default as alias source.
22337 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
22338 * sysdeps/s390/s390-32/memset.S (__memset_g5):
22339 Rename to __memset_default.
22340 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
22341 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
22342 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
22343 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
22344 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
22345 (memcmp, bcmp): Use __memcmp_default as alias source.
22346 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
22347 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
22348 Rename to __memcmp_default.
22349 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
22350 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
22351 (memcpy): Use __memcpy_default as alias source.
22352 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
22353 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
22354 Rename to __memcpy_default.
22355 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
22356 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
22357 (memset): Use __memset_default as alias source.
22358 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
22359 * sysdeps/s390/s390-64/memset.S (__memset_z900):
22360 Rename to __memset_default.
22361 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
22362 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
22363
22364 [BZ #18610]
22365 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
22366 __ieee_instruction_pointer to __unused.
22367 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
22368 __ieee_instruction_pointer.
22369 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
22370 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
22371 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22372 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22373 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
22374 Mark dxc-field as reserved.
22375
22376 2015-08-25 Roland McGrath <roland@hack.frob.com>
22377
22378 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
22379 if the weak reference is not null.
22380
22381 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
22382
22383 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
22384
22385 [BZ #11214]
22386 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
22387
22388 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22389
22390 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
22391 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
22392 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
22393 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
22394 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
22395 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
22396 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
22397 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
22398 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
22399 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
22400 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
22401 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
22402 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
22403 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
22404 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
22405 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
22406 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
22407 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
22408
22409 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22410
22411 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
22412 register other than r0 for tabort, it has special meaning.
22413 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
22414 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
22415 transaction before starting syscall.
22416
22417 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22418
22419 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
22420
22421 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
22422
22423 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
22424
22425 * sysdeps/x86_64/rtld-memcmp.c: Removed.
22426 * sysdeps/x86_64/rtld-memset.S: Likewise.
22427 * sysdeps/x86_64/rtld-strchr.S: Likewise.
22428 * sysdeps/x86_64/rtld-strlen.S: Likewise.
22429 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
22430 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
22431
22432 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
22433
22434 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
22435
22436 * debug/strcpy_chk.c: Improve performance.
22437 * debug/stpcpy_chk.c: Likewise.
22438 * sysdeps/x86_64/strcpy_chk.S: Remove.
22439 * sysdeps/x86_64/stpcpy_chk.S: Remove.
22440
22441 [BZ #18240]
22442 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
22443
22444 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
22445
22446 [BZ #15128]
22447 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
22448 ifuncmain8.
22449 (modules-names): Add ifuncmod8.
22450 ($(objpfx)ifuncmain8): New rule.
22451 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
22452 <cpuid.h>.
22453 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
22454 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
22455 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
22456 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
22457 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
22458 * sysdeps/x86_64/dl-trampoline.h: Likewise.
22459 * sysdeps/x86_64/ifuncmain8.c: New file.
22460 * sysdeps/x86_64/ifuncmod8.c: Likewise.
22461 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
22462 Removed.
22463 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
22464 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
22465 Change rtld_savespace_sse to __glibc_unused2.
22466 (RTLD_CHECK_FOREIGN_CALL): Removed.
22467 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
22468 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
22469 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
22470
22471 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
22472
22473 * sysdeps/aarch64/bzero.S (__bzero): Remove.
22474
22475 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
22476
22477 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
22478 Unconditionally set __fpcr to avoid uninialized warning.
22479 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
22480
22481 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22482
22483 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
22484 is corrupt.
22485
22486 * malloc/arena.c (arena_get2): Drop unused argument.
22487 (arena_lock): Adjust.
22488 (arena_get_retry): Likewise.
22489
22490 2015-08-24 Andreas Schwab <schwab@suse.de>
22491
22492 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
22493 Don't define.
22494 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22495 (__ASSUME_IPC64): Don't undef.
22496 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
22497 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22498 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22499 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
22500 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
22501 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
22502 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
22503 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
22504 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
22505 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
22506 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
22507 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
22508 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
22509 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
22510 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
22511 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
22512 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
22513 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
22514 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
22515 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
22516 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
22517
22518 2015-08-21 Mike Frysinger <vapier@gentoo.org>
22519
22520 * manual/Makefile (install): Only build manual when perl is available.
22521
22522 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22523
22524 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
22525 '#undef memcpy' by '#undef memchr'.
22526
22527 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22528
22529 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
22530 memchr not point to the internal __GI_memchr implementation.
22531
22532 2015-08-20 Joseph Myers <joseph@codesourcery.com>
22533
22534 * timezone/Makefile (CFLAGS-zdump.c): Remove
22535 -Wno-strict-prototypes.
22536 (CFLAGS-zic.c): Likewise.
22537 (CFLAGS-ialloc.c): Likewise.
22538 (CFLAGS-scheck.c): Likewise.
22539
22540 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
22541 -Wno-error=undef.
22542
22543 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
22544
22545 * i386/i686/multiarch/strcasestr-c.c: Removed.
22546 * x86_64/multiarch/strcasestr.c: Likewise.
22547 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22548 Remove strcasestr.
22549
22550 2015-08-20 Joseph Myers <joseph@codesourcery.com>
22551
22552 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
22553
22554 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
22555 variables for high and low parts before possibly modifying them.
22556
22557 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
22558
22559 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
22560 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
22561 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
22562 of "multiarch/init-arch.h".
22563 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
22564 * sysdeps/x86/init-arch.h: This.
22565
22566 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
22567
22568 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
22569 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
22570
22571 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
22572
22573 [BZ #17787]
22574 * manual/macros.texi: Add twoexp macro.
22575 * manual/filesys.texi: Fix exponents.
22576 * manual/llio.texi: Likewise.
22577 * manual/stdio.texi: Likewise.
22578
22579 2015-08-20 Florian Weimer <fweimer@redhat.com>
22580
22581 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
22582 incorrect use.
22583
22584 2015-08-19 Joseph Myers <joseph@codesourcery.com>
22585
22586 [BZ #18370]
22587 * math/s_csqrt.c (__csqrt): Force underflow exception for results
22588 whose real or imaginary part has small absolute value.
22589 * math/s_csqrtf.c (__csqrtf): Likewise.
22590 * math/s_csqrtl.c (__csqrtl): Likewise.
22591 * math/auto-libm-test-in: Add more tests of csqrt.
22592 * math/auto-libm-test-out: Regenerated.
22593 * sysdeps/i386/fpu/libm-test-ulps: Update.
22594
22595 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22596
22597 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
22598 __ppc_set_ppr_very_low): New functions.
22599 * manual/platform.texi: Add documentation about
22600 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
22601
22602 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
22603
22604 * string/stpncpy.c (stpncpy): Improve performance using
22605 __strnlen/memcpy/memset.
22606
22607 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
22608
22609 [BZ #18796]
22610 * scripts/test-installation.pl: Don't add -lmvec to build options if
22611 libmvec wasn't built.
22612
22613 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
22614
22615 [BZ #14341]
22616 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
22617 case when there is a gap between DT_REL and DT_JMPREL sections.
22618 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
22619 (LDFLAGS-tst-split-dynreloc): New.
22620 (tst-split-dynreloc-ENV): Likewise.
22621 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
22622 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
22623
22624 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22625
22626 [BZ #18822]
22627 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
22628 attribute_hidden.
22629 (__xstat64_conv): Likewise.
22630 (__xstat32_conv): Likewise.
22631
22632 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22633
22634 [BZ #18822]
22635 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
22636 Don't load %ebx when calling __setcontext. Call __setcontext
22637 with HIDDEN_JUMPTARGET.
22638 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
22639 libc_hidden_def.
22640
22641 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22642
22643 * sysdeps/i386/i686/Makefile
22644 [$(subdir) == string] (sysdep_routines): Moved to ...
22645 * sysdeps/i386/Makefile: Here.
22646 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
22647 * sysdeps/i386/cacheinfo.c: Here.
22648 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
22649 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
22650 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
22651 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
22652
22653 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22654
22655 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
22656 __i586__ is defined.
22657 (HAS_I686): Defined to 1 if __i686__ is defined.
22658
22659 2015-08-19 Joseph Myers <joseph@codesourcery.com>
22660
22661 * elf/Makefile [$(have-z-execstack) = yes]
22662 (CPPFLAGS-tst-execstack.c): New variable.
22663
22664 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
22665 conditional to [defined UTMPX || _HAVE_UT_TYPE].
22666 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
22667 UTMPX || _HAVE_UT_TV].
22668 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
22669 UTMPX || _HAVE_UT_TV - 0].
22670
22671 2015-08-18 Joseph Myers <joseph@codesourcery.com>
22672
22673 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
22674 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
22675 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
22676
22677 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22678
22679 * sysdeps/powerpc/dl-procinfo.c:
22680 (_dl_powerpc_cap_flags): Added missing strings for some
22681 hwcap features.
22682 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
22683
22684 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
22685
22686 Port the 0x7efe...feff pattern to GCC 6.
22687 See Steve Ellcey's bug report in:
22688 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
22689 * string/memrchr.c (MEMRCHR):
22690 * string/rawmemchr.c (RAWMEMCHR):
22691 * string/strchr.c (strchr):
22692 * string/strchrnul.c (STRCHRNUL):
22693 Rewrite code to avoid issues with signed shift overflow.
22694
22695 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
22696
22697 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
22698 whether cpuid is available only if HAS_CPUID is 0.
22699 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
22700 (HAS_I586): Likewise.
22701 (HAS_I686): Likewise.
22702
22703 2015-08-18 Zack Weinberg <zackw@panix.com>
22704
22705 * misc/Versions (libc): Add GLIBC_2.23.
22706
22707 2015-08-18 Alan Modra <amodra@gmail.com>
22708
22709 [BZ #18421]
22710 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
22711 .Lp__global.
22712 (_start): Load %dp via .Lp__global.
22713 [!SHARED]: Use .section .rodata.
22714
22715 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22716
22717 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
22718 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
22719
22720 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22721
22722 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
22723 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
22724
22725 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22726
22727 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
22728 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
22729
22730 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22731
22732 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
22733 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
22734
22735 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22736
22737 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
22738 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
22739
22740 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22741
22742 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
22743 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
22744
22745 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22746
22747 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
22748
22749 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22750
22751 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
22752 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
22753 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22754 (__ASSUME_LWS_CAS): Delete.
22755
22756 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22757
22758 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
22759 * sysdeps/hppa/configure: Regenerated.
22760 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
22761 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
22762 * sysdeps/hppa/nptl/tls.h: Likewise.
22763
22764 2015-08-17 Joseph Myers <joseph@codesourcery.com>
22765
22766 [BZ #18823]
22767 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
22768 for scaling up small arguments.
22769 * math/s_csqrtf.c (__csqrtf): Likewise.
22770 * math/s_csqrtl.c (__csqrtl): Likewise.
22771 * math/auto-libm-test-in: Add more tests of csqrt.
22772 * math/auto-libm-test-out: Regenerated.
22773
22774 2015-08-17 Andreas Schwab <schwab@suse.de>
22775
22776 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
22777 version set GLIBC_2.19.
22778
22779 2015-08-16 Zack Weinberg <zackw@panix.com>
22780
22781 [BZ #18681]
22782 * misc/regexp.h: This interface is no longer supported.
22783 Remove all contents, leaving only an #error directive.
22784 * misc/regexp.c (loc1, loc2, locs, step, advance):
22785 Demote to compatibility symbols.
22786
22787 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
22788
22789 [BZ #18084]
22790 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
22791 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
22792 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
22793 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
22794 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
22795 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
22796 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
22797 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
22798 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22799
22800 2015-08-15 Zack Weinberg <zackw@panix.com>
22801
22802 [BZ #18795]
22803 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
22804 buffer length is known to be too large, not if it's known to be
22805 small enough.
22806 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
22807 overflow at runtime, involving a length parameter, twice: once
22808 with a compile-time constant length parameter, once without.
22809
22810 2015-08-14 Joseph Myers <joseph@codesourcery.com>
22811
22812 [BZ #18824]
22813 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
22814 scaling x * y up instead of down.
22815 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22816 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22817 * math/auto-libm-test-in: Add more tests of fma.
22818 * math/auto-libm-test-out: Regenerated.
22819
22820 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
22821
22822 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22823
22824 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22825
22826 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
22827 unnecessary movq.
22828 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
22829 Likewise.
22830
22831 2015-08-13 Joseph Myers <joseph@codesourcery.com>
22832
22833 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22834 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
22835 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
22836 and tgamma.
22837 * math/auto-libm-test-out: Regenerated.
22838 * sysdeps/i386/fpu/libm-test-ulps: Update.
22839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22840
22841 [BZ #16520]
22842 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
22843 (__tanh): Force underflow exception for arguments with small
22844 absolute value.
22845 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
22846 (__tanhf): Force underflow exception for arguments with small
22847 absolute value.
22848 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
22849 (__tanhl): Force underflow exception for arguments with small
22850 absolute value.
22851 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
22852 (__tanhl): Force underflow exception for arguments with small
22853 absolute value.
22854 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
22855 (__tanhl): Force underflow exception for arguments with small
22856 absolute value.
22857 * math/auto-libm-test-in: Add more tests of tanh.
22858 * math/auto-libm-test-out: Regenerated.
22859 * sysdeps/i386/fpu/libm-test-ulps: Update.
22860
22861 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22862
22863 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
22864 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
22865
22866 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22867
22868 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
22869 <cpuid.h>.
22870
22871 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22872
22873 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
22874 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
22875
22876 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22877
22878 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
22879 Remove $(objpfx)init-arch.o.
22880 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
22881 init-arch.
22882 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
22883 (INIT_ARCH_EXT): Defined as empty.
22884 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
22885 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
22886 __init_cpu_features call. Replace HAS_XXX with
22887 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22888 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
22889 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
22890 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
22891 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
22892 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22893 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
22894 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
22895 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22896 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
22897 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
22898 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22899 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
22900 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
22901 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22902 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
22903 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
22904 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22905 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22906 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
22907 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
22908 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22909 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
22910 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
22911 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22912 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
22913 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
22914 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22915 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
22916 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
22917 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22918 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
22919 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
22920 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22921 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
22922 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
22923
22924 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22925
22926 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
22927 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22928 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22929 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22930 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
22931 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
22932 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
22933 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
22934 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
22935 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
22936 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
22937 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
22938 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22939 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22940 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22941 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22942 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22943 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22944 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22945 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22946 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22947 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22948 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22949 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22950 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22951 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22952 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22953 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22954 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22955 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22956 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22957 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22958 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22959 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22960 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22961 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22962 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22963 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22964 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22965 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22966 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22967 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22968 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22969
22970 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22971
22972 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
22973 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22974 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22975 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22976 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22977 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
22978 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22979 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
22980 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22981 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22982 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22983 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
22984 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
22985 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
22986 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
22987 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
22988 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
22989 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
22990 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
22991 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
22992 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
22993 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
22994 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
22995 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22996 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22997 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
22998 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
22999 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
23000 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
23001 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
23002 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
23003 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
23004 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
23005 * sysdeps/x86_64/multiarch/memset.S: Likewise.
23006 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
23007 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
23008 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23009 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23010 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23011 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23012 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23013 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23014 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23015
23016 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
23017
23018 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
23019 (dl_platform_init): Call init_cpu_features.
23020 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
23021 * sysdeps/i386/i686/cacheinfo.c
23022 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
23023 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
23024 * sysdeps/i386/i686/multiarch/Versions: Removed.
23025 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
23026 Removed.
23027 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
23028 * sysdeps/unix/sysv/linux/x86/Makefile
23029 (libpthread-sysdep_routines): Remove init-arch.
23030 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
23031 <sysdeps/x86_64/dl-procinfo.c> instead of
23032 sysdeps/generic/dl-procinfo.c>.
23033 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
23034 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
23035 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
23036 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
23037 [$(subdir) == elf] (tests-static): Add
23038 tst-get-cpu-features-static.
23039 * sysdeps/x86/Versions: New file.
23040 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
23041 * sysdeps/x86/cpu-features.c: Likewise.
23042 * sysdeps/x86/cpu-features.h: Likewise.
23043 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
23044 * sysdeps/x86/libc-start.c: Likewise.
23045 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
23046 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
23047 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
23048 * sysdeps/x86_64/dl-procinfo.c: Likewise.
23049 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
23050 Assume USE_MULTIARCH is defined and don't check it.
23051 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
23052 (is_amd): Likewise.
23053 (max_cpuid): Likewise.
23054 (intel_check_word): Likewise.
23055 (__cache_sysconf): Don't call __init_cpu_features.
23056 (__x86_preferred_memory_instruction): Removed.
23057 (init_cacheinfo): Don't call __init_cpu_features. Replace
23058 __cpu_features with GLRO(dl_x86_cpu_features).
23059 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
23060 (dl_platform_init): Call init_cpu_features.
23061 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
23062 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
23063 * sysdeps/x86_64/multiarch/Versions: Removed.
23064 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
23065 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
23066 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
23067 Removed.
23068 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
23069
23070 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
23071
23072 [BZ #18820]
23073 * libio/Makefile (test-fmemopen-mem): New test.
23074 * libio/test-fmemopen.c (do_bz18820): New test.
23075 * libio/fmemopen.c (__fmemopen): Fix memory leak.
23076 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
23077
23078 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
23079
23080 [BZ #16734]
23081 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
23082 (FREE_BUF): Delete.
23083 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
23084 * libio/genops.c (_IO_setb): Use malloc and free directly.
23085 (_IO_default_doallocate, _IO_default_finish): Likewise.
23086 ( _IO_unbuffer_all): Likewise.
23087 ( libc_freeres_fn): Likewise.
23088 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23089 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
23090 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
23091 (_IO_wdefault_doallocate): Likewise.
23092
23093 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
23094
23095 [BZ #18086]
23096 * sysdeps/posix/nice.c (nice): Restore old errno.
23097 * posix/tst-nice.c (do_test): Add test for BZ #18086.
23098
23099 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
23100
23101 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
23102
23103 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23104
23105 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
23106 __bcopy and add a weak_alias to bcopy.
23107 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
23108 for static build.
23109
23110 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
23111 cleanup macro usage.
23112 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
23113 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
23114 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
23115 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
23116 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
23117 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
23118 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
23119 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
23120 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23121 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
23122 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
23123 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
23124 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
23125 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
23126 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
23127 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
23128 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
23129 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
23130 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
23131
23132 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
23133 libc_hidden_def.
23134 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
23135
23136 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
23137 (sysdep_routines): Add strstr-ppc64.
23138 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
23139
23140 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
23141
23142 [BZ #18778]
23143 * elf/Makefile (tests): Add Add tst-nodelete2.
23144 (modules-names): Add tst-nodelete2mod.
23145 (tst-nodelete2mod.so-no-z-defs): New.
23146 ($(objpfx)tst-nodelete2): Likewise.
23147 ($(objpfx)tst-nodelete2.out): Likewise.
23148 (LDFLAGS-tst-nodelete2): Likewise.
23149 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
23150 out of loop through all loaded libraries.
23151 * elf/tst-nodelete2.c: New file.
23152 * elf/tst-nodelete2mod.c: Likewise.
23153 * elf/tst-znodelete-zlib.cc: Delete.
23154
23155 2015-08-11 Andreas Schwab <schwab@suse.de>
23156
23157 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
23158 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
23159 (__openat64_nocancel): Likewise.
23160
23161 2015-08-11 Joseph Myers <joseph@codesourcery.com>
23162
23163 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
23164 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
23165 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
23166 * math/auto-libm-test-out: Regenerated.
23167 * sysdeps/i386/fpu/libm-test-ulps: Update.
23168 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23169
23170 2015-08-10 Joseph Myers <joseph@codesourcery.com>
23171
23172 [BZ #18790]
23173 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
23174 threshold for returning +/- 1.
23175 * math/auto-libm-test-in: Add more tests of tanh.
23176 * math/auto-libm-test-out: Regenerated.
23177 * sysdeps/i386/fpu/libm-test-ulps: Update.
23178
23179 2015-08-10 Andreas Schwab <schwab@suse.de>
23180
23181 [BZ #18781]
23182 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
23183 MORE_OFLAGS to oflag.
23184 * io/test-lfs.c (do_test): Test openat64.
23185
23186 2015-08-10 Joseph Myers <joseph@codesourcery.com>
23187
23188 [BZ #18789]
23189 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
23190 smaller threshold for returning the argument.
23191 * math/auto-libm-test-in: Add more tests of sinh.
23192 * math/auto-libm-test-out: Regenerated.
23193 * sysdeps/i386/fpu/libm-test-ulps: Update.
23194
23195 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
23196
23197 [BZ #18674]
23198 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
23199 break.
23200
23201 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
23202
23203 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
23204 (generated): Don't add $(addprefix z.,$(tzfiles)).
23205
23206 2015-08-09 Mike Frysinger <vapier@gentoo.org>
23207
23208 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
23209 * scripts/sysd-rules.awk: Likewise.
23210
23211 2015-08-09 Mike Frysinger <vapier@gentoo.org>
23212
23213 * iconvdata/tst-tables.sh: Change echo -n to printf.
23214 * nss/db-Makefile: Likewise.
23215 * posix/tst-getconf.sh: Likewise.
23216 * stdio-common/tst-unbputc.sh: Likewise.
23217
23218 2015-08-09 Mike Frysinger <vapier@gentoo.org>
23219
23220 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
23221 MADV_*_PAGES defines behind this feature check.
23222
23223 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
23224
23225 [BZ #18480]
23226 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
23227 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
23228 Define.
23229 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
23230 LOAD_REGS_5, LOAD_REGS_6): Update.
23231 (INTERNAL_SYSCALL): Update using new LOAD defines.
23232 (INTERNAL_SYSCALL_NCS): Likewise.
23233 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
23234
23235 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23236
23237 [BZ #16734]
23238 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
23239
23240 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23241
23242 [BZ #17905]
23243 * catgets/Makefile (tst-catgets-mem): New test.
23244 * catgets/catgets.c (catopen): Don't use unbounded alloca.
23245 * catgets/open_catalog.c (__open_catalog): Likewise.
23246 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
23247
23248 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
23249
23250 [BZ #18787]
23251 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
23252 clobber registers.
23253 (atomic_compare_and_exchange_val_acq): Use register asms to assign
23254 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
23255 Cast return to __typeof (oldval).
23256
23257 2015-08-08 Mike Frysinger <vapier@gentoo.org>
23258
23259 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
23260 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
23261 and delete sys/syscall.h include.
23262
23263 2015-08-07 Joseph Myers <joseph@codesourcery.com>
23264
23265 [BZ #16517]
23266 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
23267 (tan): Force underflow exception for arguments with small absolute
23268 value.
23269 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
23270 (__kernel_tanf): Force underflow exception for arguments with
23271 small absolute value.
23272 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
23273 (__kernel_tanl): Force underflow exception for arguments with
23274 small absolute value.
23275 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
23276 (__kernel_tanl): Force underflow exception for arguments with
23277 small absolute value.
23278 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
23279 (__kernel_tanl): Force underflow exception for arguments with
23280 small absolute value.
23281 * math/auto-libm-test-in: Add more tests of tan.
23282 * math/auto-libm-test-out: Regenerated.
23283
23284 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
23285
23286 Fix sysdeps/i386/fpu/s_scalbn.S build
23287
23288 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
23289
23290 2015-08-07 Mike Frysinger <vapier@gentoo.org>
23291
23292 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
23293
23294 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
23295
23296 Fix gcrt0.o compilation
23297
23298 When static-start-installed-name is different from
23299 start-installed-name, we must not use the shared objects.
23300
23301 * csu/Makefile
23302 (extra-objs): Add gmon-start.o when building shared library and
23303 $(static-start-installed-name) is different from
23304 $(start-installed-name).
23305 $(objpfx)g$(static-start-installed-name): When building shared
23306 library and $(static-start-installed-name) is different from
23307 $(static-start-installed-name), revert to non-shared rule,
23308 i.e. using $(objpfx)% and gmon-start.o.
23309
23310 2015-08-06 Joseph Myers <joseph@codesourcery.com>
23311
23312 [BZ #16519]
23313 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
23314 (__ieee754_sinh): Force underflow exception for arguments with
23315 small absolute value.
23316 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
23317 (__ieee754_sinhf): Force underflow exception for arguments with
23318 small absolute value.
23319 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
23320 (__ieee754_sinhl): Force underflow exception for arguments with
23321 small absolute value.
23322 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
23323 (__ieee754_sinhl): Force underflow exception for arguments with
23324 small absolute value.
23325 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
23326 (__ieee754_sinhl): Force underflow exception for arguments with
23327 small absolute value.
23328 * math/auto-libm-test-in: Add more tests of sinh.
23329 * math/auto-libm-test-out: Regenerated.
23330 * sysdeps/i386/fpu/libm-test-ulps: Update.
23331
23332 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23333
23334 * libio/oldfileops.c: Include unistd.h.
23335
23336 2015-08-06 Mike Frysinger <vapier@gentoo.org>
23337
23338 * stdlib/isomac.c: Include ctype.h.
23339
23340 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
23341
23342 * dirent/tst-seekdir.c (main): Converted to ...
23343 (do_test): ... this.
23344 (TEST_FUNCTION): New macro.
23345 Include test-skeleton.c.
23346 * elf/tst-dlmodcount.c (main): Converted to ...
23347 (do_test): ... this.
23348 (TEST_FUNCTION): New macro.
23349 Include test-skeleton.c.
23350 * elf/tst-order-main.c (main): Converted to ...
23351 (do_test): ... this.
23352 (TEST_FUNCTION): New macro.
23353 Include test-skeleton.c.
23354 * elf/tst-pie2.c (main): Converted to ...
23355 (do_test): ... this.
23356 (TEST_FUNCTION): New macro.
23357 Include test-skeleton.c.
23358 * inet/tst-ether_aton.c (main): Converted to ...
23359 (do_test): ... this.
23360 (TEST_FUNCTION): New macro.
23361 Include test-skeleton.c.
23362 * misc/tst-mntent.c (main): Converted to ...
23363 (do_test): ... this.
23364 (TEST_FUNCTION): New macro.
23365 Include test-skeleton.c.
23366 * misc/tst-tsearch.c (main): Converted to ...
23367 (do_test): ... this.
23368 (TEST_FUNCTION): New macro.
23369 Include test-skeleton.c.
23370 * posix/tst-regexloc.c (main): Converted to ...
23371 (do_test): ... this.
23372 (TEST_FUNCTION): New macro.
23373 Include test-skeleton.c.
23374 * resolv/tst-aton.c (main): Converted to ...
23375 (do_test): ... this.
23376 (TEST_FUNCTION): New macro.
23377 Include test-skeleton.c.
23378 * stdio-common/test-fwrite.c (main): Converted to ...
23379 (do_test): ... this.
23380 (TEST_FUNCTION): New macro.
23381 Include test-skeleton.c.
23382 * stdio-common/tst-ferror.c (main): Converted to ...
23383 (do_test): ... this.
23384 (TEST_FUNCTION): New macro.
23385 Include test-skeleton.c.
23386 * stdio-common/tst-printf.c (main): Converted to ...
23387 (do_test): ... this.
23388 (TEST_FUNCTION): New macro.
23389 Include test-skeleton.c.
23390 * stdio-common/tst-printfsz.c (main): Converted to ...
23391 (do_test): ... this.
23392 (TEST_FUNCTION): New macro.
23393 Include test-skeleton.c.
23394 * stdlib/tst-strtod.c (main): Converted to ...
23395 (do_test): ... this.
23396 (TEST_FUNCTION): New macro.
23397 Include test-skeleton.c.
23398 * string/tst-strlen.c (main): Converted to ...
23399 (do_test): ... this.
23400 (TEST_FUNCTION): New macro.
23401 Include test-skeleton.c.
23402 * string/tst-svc.c (main): Converted to ...
23403 (do_test): ... this.
23404 (TEST_FUNCTION): New macro.
23405 Include test-skeleton.c.
23406 * time/tst-strptime.c (main): Converted to ...
23407 (do_test): ... this.
23408 (TEST_FUNCTION): New macro.
23409 Include test-skeleton.c.
23410 * timezone/tst-timezone.c (main): Converted to ...
23411 (do_test): ... this.
23412 (TEST_FUNCTION): New macro.
23413 Include test-skeleton.c.
23414
23415 2015-08-05 Zack Weinberg <zackw@panix.com>
23416
23417 * misc/regexp.h: Update comments.
23418
23419 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
23420
23421 [BZ #18635]
23422 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
23423 before return label.
23424
23425 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23426
23427 [BZ #18661]
23428 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
23429 when calling __errno_location.
23430 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
23431 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
23432
23433 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23434
23435 [BZ #18661]
23436 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
23437 (__lll_timedwait_tid): Align stack to 16 bytes when calling
23438 __gettimeofday.
23439
23440 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23441
23442 [BZ #18661]
23443 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23444 (__start_context): Don't use pop to restore %rdi so that stack
23445 is aligned to 16 bytes when calling __setcontext.
23446
23447 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23448
23449 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
23450 only for libc.
23451 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23452
23453 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23454
23455 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
23456 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
23457 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
23458
23459 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23460
23461 * string/memccpy.c (memccpy):
23462 Improve performance by using memchr/memcpy/__mempcpy.
23463
23464 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23465
23466 * string/strncpy.c (strncpy):
23467 Improve performance by using __strnlen/memcpy.
23468
23469 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23470
23471 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23472 Optimize to avoid an unnecessary FPCR read.
23473
23474 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23475
23476 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23477 Optimize to reduce FPCR/FPSR accesses.
23478
23479 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23480
23481 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
23482 dead->data[category] != NULL.
23483
23484 2015-08-05 Joseph Myers <joseph@codesourcery.com>
23485
23486 [BZ #18647]
23487 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
23488 and |x| close to 1, use absolute value of x when computing log.
23489 * math/auto-libm-test-in: Add more tests of pow.
23490 * math/auto-libm-test-out: Regenerated.
23491
23492 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23493
23494 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
23495 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
23496 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
23497
23498 2015-08-05 Marko Myllynen <myllynen@redhat.com>
23499
23500 [BZ #18525]
23501 * locales/km_KH: Remove timezone definition.
23502 * locales/lo_LA: Likewise.
23503 * locales/my_MM: Likewise.
23504 * locales/nan_TW@latin: Likewise.
23505 * locales/th_TH: Likewise.
23506 * locales/uk_UA: Likewise.
23507
23508 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
23509
23510 [BZ #18265]
23511 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
23512 (wcsncat): Likewise.
23513 (wcscmp): Likewise.
23514 (wcsncmp): Likewise.
23515
23516 2015-08-05 Mike Frysinger <vapier@gentoo.org>
23517
23518 * test-skeleton.c (usage): New function.
23519 (main): Call usage when opt is '?'.
23520
23521 2015-08-05 Mike Frysinger <vapier@gentoo.org>
23522
23523 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
23524 before first use.
23525
23526 2015-08-05 Mike Frysinger <vapier@gentoo.org>
23527
23528 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
23529 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
23530 in there too.
23531
23532 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
23533
23534 * version.h (RELEASE): Set to "development".
23535 (VERSION): Set to "2.22.90"
23536
23537 * version.h (RELEASE): Set to "stable".
23538 (VERSION): Set to "2.22"
23539 * include/features.h (__GLIBC_MINOR__): Set to 22.
23540
23541 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
23542
23543 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
23544 Restructure macro to avoid "value computed is not used" warning.
23545 (atomic_compare_and_exchange_val_acq): Likewise.
23546
23547 2015-08-04 Andreas Schwab <schwab@suse.de>
23548
23549 [BZ #18635]
23550 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
23551 ret.
23552 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
23553
23554 2015-08-01 Carlos O'Donell <carlos@redhat.com>
23555
23556 * po/pl.po: Updated translation.
23557 * po/uk.po: Likewise.
23558 * po/fi.po: Likewise.
23559 * po/ko.po: Likewise.
23560 * po/ru.po: Likewise.
23561 * po/vi.po: Likewise.
23562
23563 2015-07-31 Zack Weinberg <zackw@panix.com>
23564
23565 [BZ #18681]
23566 * regexp.h: Add unconditional #warning stating that this header
23567 will be removed soon. Revise banner comment to match.
23568 (compile): Consistently use ERROR instead of RETURN to report
23569 errors (partial fix for bz#18681).
23570 * regexp.c: Don't include regexp.h. Remove some unnecessary
23571 declarations.
23572
23573 2015-07-31 Carlos O'Donell <carlos@redhat.com>
23574
23575 * po/libc.pot: Regenerated.
23576
23577 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
23578
23579 [BZ #18740]
23580 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
23581 float-vlen4-arch-ext-cflags): Removed.
23582 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
23583 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
23584
23585 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23586
23587 [BZ #14113]
23588 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
23589 aligned to __aligned__.
23590 (pthread_cond_t, pthread_rwlock_t): Likewise.
23591
23592 2015-07-30 Torvald Riegel <triegel@redhat.com>
23593
23594 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
23595
23596 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23597
23598 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
23599 (struct sigaction): Change sa_flags from a long to an int, and add
23600 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
23601
23602 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23603
23604 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
23605 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
23606 sysdeps/generic/sysdep.h include.
23607 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
23608 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
23609 sysdeps/hppa/sysdep.h.
23610 (ENTRY, PSEUDO): Undefine before defining.
23611
23612 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23613
23614 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
23615 from scratch to use INTERNAL_SYSCALL.
23616
23617 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
23618
23619 [BZ #18078]
23620 * scripts/check-localplt.awk: Support alternate relocations.
23621 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
23622 sections.
23623 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
23624 malloc entries with + REL R_386_GLOB_DAT.
23625 * sysdeps/x86_64/localplt.data: New file.
23626
23627 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
23628
23629 [BZ #18731]
23630 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
23631 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23632 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23633
23634 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23635
23636 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
23637
23638 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23639
23640 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
23641 directly in terms of __sync_fetch_and_add and delete (int) cast.
23642
23643 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23644
23645 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
23646 the -D_ASM_IA64_CURRENT_H flag.
23647
23648 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23649
23650 [BZ #18641]
23651 * pwd/pwd.h (putpwent): Delete __nonnull markings.
23652
23653 2015-07-27 Andreas Schwab <schwab@suse.de>
23654
23655 * conform/conformtest.pl (checknamespace): Filter out string
23656 literals while tokenizing.
23657
23658 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
23659
23660 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23661 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
23662 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23663
23664 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
23665
23666 * nptl/tst-join7mod.c: Add #include <string.h>.
23667
23668 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
23669
23670 * sysdeps/nios2/libm-test-ulps: Update.
23671
23672 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
23673
23674 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
23675 Fix order of arguments to the rt_sigprocmask syscall.
23676 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
23677 Likewise.
23678
23679 2015-07-24 Roland McGrath <roland@hack.frob.com>
23680
23681 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
23682
23683 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23684
23685 [BZ #18457]
23686 * nptl/Makefile (tests): New test case tst-join7.
23687 (modules-names): New test case module tst-join7mod.
23688 * nptl/tst-join7.c: New file.
23689 * nptl/tst-join7mod.c: New file.
23690 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
23691 all translation units in libc.so, libpthread.so and rtld.
23692
23693 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23694
23695 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23696
23697 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
23698
23699 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
23700 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
23701 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
23702 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
23703 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
23704 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
23705 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
23706 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
23707 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
23708 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
23709 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
23710 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
23711 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
23712 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
23713 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
23714 implementation.
23715
23716 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
23717
23718 [BZ #17711]
23719 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23720 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
23721 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23722 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23723 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
23724 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23725
23726 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23727
23728 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
23729 instead of just saying load lock in the comments.
23730
23731 2015-07-23 Roland McGrath <roland@hack.frob.com>
23732
23733 * sysdeps/unix/Subdirs: Moved ...
23734 * sysdeps/posix/Subdirs: ... here.
23735 * login/pty.h (struct termios, struct winsize): Add forward decls.
23736 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
23737 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
23738 * sysdeps/arm/nacl/libc.abilist: Updated.
23739 * sysdeps/nacl/libutil.abilist: New file.
23740
23741 * bits/signum.h: Update comments to mention 1003.1-2013 too.
23742 (SIGWINCH): New macro.
23743
23744 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
23745 * sysdeps/arm/nacl/libc.abilist: Add it.
23746
23747 2015-07-23 Mike Frysinger <vapier@gentoo.org>
23748
23749 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
23750
23751 2015-07-23 Mike Frysinger <vapier@gentoo.org>
23752
23753 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23754 Swap __glibc_reserved0 and sa_flags order.
23755
23756 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23757
23758 [BZ #18657]
23759 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
23760 are pending TLS destructor calls.
23761 * include/link.h (struct link_map): Add concurrency note for
23762 L_TLS_DTOR_COUNT.
23763 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23764 Don't touch the link map flag. Atomically increment
23765 l_tls_dtor_count.
23766 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
23767 Avoid taking the load lock and don't touch the link map flag.
23768 * stdlib/tst-tls-atexit-nodelete.c: New test case.
23769 * stdlib/Makefile (tests): Use it.
23770 * stdlib/tst-tls-atexit.c (do_test): dlopen
23771 tst-tls-atexit-lib.so again before dlclose. Add conditionals
23772 to allow tst-tls-atexit-nodelete test case to use it.
23773
23774 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23775
23776 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
23777 to bits/types.h.
23778 (msgqnum_t): New typedef.
23779 (msglen_t): Likewise.
23780 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
23781 and msg_qbytes type to msglen_t.
23782
23783 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23784
23785 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
23786 pad0 to __glibc_reserved0.
23787 (struct stat64): Likewise.
23788
23789 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23790
23791 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23792 Change sa_flags from a long to an int and add __glibc_reserved0 before
23793 it for padding.
23794
23795 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23796
23797 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
23798 anonymous by deleting "siginfo" name.
23799
23800 2015-07-21 Roland McGrath <roland@hack.frob.com>
23801
23802 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
23803 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
23804 rather than __nacl_irt_filename.
23805 * sysdeps/nacl/xstat.c (__xstat): Likewise.
23806
23807 * NEWS: New item for arm-nacl port.
23808 * sysdeps/arm/nacl/libc.abilist: New file.
23809 * sysdeps/nacl/ld.abilist: New file.
23810 * sysdeps/nacl/libBrokenLocale.abilist: New file.
23811 * sysdeps/nacl/libanl.abilist: New file.
23812 * sysdeps/nacl/libcrypt.abilist: New file.
23813 * sysdeps/nacl/libdl.abilist: New file.
23814 * sysdeps/nacl/libm.abilist: New file.
23815 * sysdeps/nacl/libpthread.abilist: New file.
23816 * sysdeps/nacl/libresolv.abilist: New file.
23817 * sysdeps/nacl/librt.abilist: New file.
23818
23819 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
23820
23821 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
23822 __startcontext to initialize the new context.
23823 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
23824 up CFI directive to forbid further backtracing.
23825
23826 2015-07-21 Marko Myllynen <myllynen@redhat.com>
23827
23828 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
23829 reference.
23830 * charmaps/ANSI_X3.4-1968: Likewise.
23831 * charmaps/BS_4730: Likewise.
23832 * charmaps/BS_VIEWDATA: Likewise.
23833 * charmaps/CP1250: Likewise.
23834 * charmaps/CP1251: Likewise.
23835 * charmaps/CP1252: Likewise.
23836 * charmaps/CP1253: Likewise.
23837 * charmaps/CP1254: Likewise.
23838 * charmaps/CP1255: Likewise.
23839 * charmaps/CP1256: Likewise.
23840 * charmaps/CSN_369103: Likewise.
23841 * charmaps/EBCDIC-DK-NO: Likewise.
23842 * charmaps/GB_1988-80: Likewise.
23843 * charmaps/GREEK-CCITT: Likewise.
23844 * charmaps/GREEK7: Likewise.
23845 * charmaps/INIS-8: Likewise.
23846 * charmaps/ISIRI-3342: Likewise.
23847 * charmaps/ISO_2033-1983: Likewise.
23848 * charmaps/ISO_5427-EXT: Likewise.
23849 * locales/POSIX: Likewise.
23850 * locales/ar_SA: Likewise.
23851 * locales/be_BY: Likewise.
23852 * locales/be_BY@latin: Likewise.
23853 * locales/ca_ES: Likewise.
23854 * locales/cs_CZ: Likewise.
23855 * locales/da_DK: Likewise.
23856 * locales/de_BE: Likewise.
23857 * locales/de_CH: Likewise.
23858 * locales/de_LU: Likewise.
23859 * locales/en_AU: Likewise.
23860 * locales/en_BW: Likewise.
23861 * locales/en_CA: Likewise.
23862 * locales/en_DK: Likewise.
23863 * locales/en_GB: Likewise.
23864 * locales/en_IE: Likewise.
23865 * locales/en_NZ: Likewise.
23866 * locales/en_ZA: Likewise.
23867 * locales/en_ZW: Likewise.
23868 * locales/es_AR: Likewise.
23869 * locales/es_BO: Likewise.
23870 * locales/es_CL: Likewise.
23871 * locales/es_CO: Likewise.
23872 * locales/es_DO: Likewise.
23873 * locales/es_EC: Likewise.
23874 * locales/es_ES: Likewise.
23875 * locales/es_HN: Likewise.
23876 * locales/es_MX: Likewise.
23877 * locales/es_PA: Likewise.
23878 * locales/es_PE: Likewise.
23879 * locales/es_PY: Likewise.
23880 * locales/es_SV: Likewise.
23881 * locales/es_US: Likewise.
23882 * locales/es_UY: Likewise.
23883 * locales/es_VE: Likewise.
23884 * locales/et_EE: Likewise.
23885 * locales/fa_IR: Likewise.
23886 * locales/fo_FO: Likewise.
23887 * locales/fr_CA: Likewise.
23888 * locales/fr_CH: Likewise.
23889 * locales/gv_GB: Likewise.
23890 * locales/he_IL: Likewise.
23891 * locales/hr_HR: Likewise.
23892 * locales/id_ID: Likewise.
23893 * locales/is_IS: Likewise.
23894 * locales/it_CH: Likewise.
23895 * locales/iw_IL: Likewise.
23896 * locales/kl_GL: Likewise.
23897 * locales/ko_KR: Likewise.
23898 * locales/kw_GB: Likewise.
23899 * locales/lg_UG: Likewise.
23900 * locales/lt_LT: Likewise.
23901 * locales/lv_LV: Likewise.
23902 * locales/mi_NZ: Likewise.
23903 * locales/nhn_MX: Likewise.
23904 * locales/nl_BE: Likewise.
23905 * locales/pl_PL: Likewise.
23906 * locales/sk_SK: Likewise.
23907 * locales/sl_SI: Likewise.
23908 * locales/sv_FI: Likewise.
23909 * locales/tl_PH: Likewise.
23910 * locales/tr_TR: Likewise.
23911 * locales/vi_VN: Likewise.
23912
23913 2015-07-21 Khem Raj <raj.khem@gmail.com>
23914
23915 [BZ #17475]
23916 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
23917 of tu_IN and bh_IN.
23918
23919 2015-07-21 Mike Frysinger <vapier@gentoo.org>
23920
23921 [BZ #18694]
23922 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
23923 bits/wordsize.h.
23924 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
23925
23926 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23927
23928 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
23929 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
23930 (spawn_thread): New function.
23931 (load): Rename to reg_dtor_and_close. Move dlopen to...
23932 (do_test): ... here. Use IS_LOADED to test for its
23933 availability.
23934
23935 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
23936
23937 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23938
23939 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
23940
23941 [BZ #18696]
23942 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
23943 si_addr_bnd.
23944 (si_lower): New.
23945 (si_upper): Likewise.
23946
23947 2015-07-16 David S. Miller <davem@davemloft.net>
23948
23949 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
23950
23951 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23952
23953 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
23954 buffer.
23955 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
23956 fail output information.
23957
23958 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23959
23960 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
23961 and strstr-ppc64..
23962 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23963 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
23964 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
23965 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
23966 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
23967
23968 2015-07-16 Mike Frysinger <vapier@gentoo.org>
23969
23970 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23971 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23972 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23973 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23974
23975 2015-07-16 Mike Frysinger <vapier@gentoo.org>
23976
23977 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
23978 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
23979 rtld_hidden_proto.
23980 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
23981
23982 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23983
23984 * tst-nodelete-opened.c (do_test): Add comment to clarify how
23985 the test can fail.
23986
23987 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
23988
23989 [BZ #18676]
23990 * elf/tst-nodelete-opened.c: New test case.
23991 * elf/tst-nodelete-opened-lib.c: New test case module.
23992 * elf/Makefile (tests, modules-names): Use them.
23993 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
23994 early.
23995
23996 2015-07-15 David S. Miller <davem@davemloft.net>
23997
23998 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
23999 futex-intenal.h
24000 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
24001 * sysdeps/sparc/sparc64/Makefile: Likewise.
24002 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
24003 Remove space from macro define.
24004 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
24005
24006 2015-07-15 Pravin Satpute <psatpute@redhat.com>
24007
24008 [BZ #17475]
24009 * locale/iso-639.def: Update Bhili and Tulu language codes as
24010 per iso639-3.
24011
24012 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
24013
24014 * elf/tst-leaks1.c (main): Converted to ...
24015 (do_test): ... this.
24016 (TEST_FUNCTION): New macro.
24017 Include test-skeleton.c.
24018 * localedata/tst-langinfo.c (main): Converted to ...
24019 (do_test): ... this.
24020 (TEST_FUNCTION): New macro.
24021 Include test-skeleton.c.
24022 * math/test-fpucw.c (main): Converted to ...
24023 (do_test): ... this.
24024 (TEST_FUNCTION): New macro.
24025 Include test-skeleton.c.
24026 * math/test-tgmath.c (main): Converted to ...
24027 (do_test): ... this.
24028 (TEST_FUNCTION): New macro.
24029 Include test-skeleton.c.
24030 * math/test-tgmath2.c (main): Converted to ...
24031 (do_test): ... this.
24032 (TEST_FUNCTION): New macro.
24033 Include test-skeleton.c.
24034 * setjmp/tst-setjmp.c (main): Converted to ...
24035 (do_test): ... this.
24036 (TEST_FUNCTION): New macro.
24037 Include test-skeleton.c.
24038 * stdio-common/tst-sscanf.c (main): Converted to ...
24039 (do_test): ... this.
24040 (TEST_FUNCTION): New macro.
24041 Include test-skeleton.c.
24042 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
24043 (do_test): ... this.
24044 (TEST_FUNCTION): New macro.
24045 Include test-skeleton.c.
24046
24047 * elf/tst-audit9.c (main): Converted to ...
24048 (do_test): ... this.
24049 (TEST_FUNCTION): New macro.
24050 Include test-skeleton.c.
24051
24052 2015-07-15 Mike Frysinger <vapier@gentoo.org>
24053
24054 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
24055
24056 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
24057
24058 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
24059 New variable.
24060
24061 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
24062
24063 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24064
24065 2015-07-14 Roland McGrath <roland@hack.frob.com>
24066
24067 * sysdeps/generic/dl-fileid.h: New file.
24068 * sysdeps/posix/dl-fileid.h: New file.
24069 * sysdeps/nacl/dl-fileid.h: New file.
24070 * include/link.h: Include <dl-fileid.h>.
24071 (struct link_map): Replace l_dev and l_ino with l_file_id.
24072 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
24073 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
24074 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
24075
24076 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24077
24078 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
24079
24080 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24081
24082 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
24083 Add iff $CXX is set.
24084 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
24085 Likewise.
24086 (tst-nodelete-zmodiff): Likewise.
24087 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
24088
24089 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24090
24091 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
24092
24093 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
24094
24095 * sysdeps/aarch64/fpu/math_private.h
24096 (define math_opt_barrier): Add AArch64 version.
24097 (math_force_eval): Likewise.
24098
24099 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
24100
24101 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
24102
24103 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
24104
24105 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
24106 %ld with %jd and cast to intmax_t.
24107 (do_test_length_zero): Likewise.
24108
24109 2015-07-10 Roland McGrath <roland@hack.frob.com>
24110
24111 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
24112
24113 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
24114
24115 * sysdeps/tile/libm-test-ulps: Regenerated.
24116
24117 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
24118 Comment out the whole function, not just its body.
24119
24120 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24121
24122 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
24123 locks.
24124
24125 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
24126
24127 2015-07-10 Torvald Riegel <triegel@redhat.com>
24128
24129 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
24130 (sem_assume_only_signals_cause_futex_EINTR): Remove.
24131
24132 2015-07-10 Torvald Riegel <triegel@redhat.com>
24133
24134 * sysdeps/nptl/futex-internal.h: New file.
24135 * sysdeps/nacl/futex-internal.h: New file.
24136 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
24137 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
24138 error checking.
24139 (setxid_unmark_thread): Likewise.
24140 (__nptl_setxid): Likewise.
24141 (__wait_lookup_done): Likewise.
24142 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
24143 * nptl/nptl-init.c (sighandler_setxid): Likewise.
24144 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24145 * nptl/pthread_once.c (clear_once_control): Likewise.
24146 (__pthread_once_slow): Likewise.
24147 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
24148 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
24149 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
24150 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24151 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
24152 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
24153 Likewise.
24154 (__pthread_rwlock_rdlock): Likewise.
24155 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24156 Likewise.
24157 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24158 Likewise.
24159 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
24160 Likewise.
24161 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
24162 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
24163 Likewise.
24164 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
24165 __ASSUME_PRIVATE_FUTEX check.
24166 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
24167 Check that shared futexes are supported.
24168 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
24169 wrappers with error checking.
24170 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
24171 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
24172 * nptl/pthread_barrierattr_setpshared.c
24173 (pthread_barrierattr_setpshared): Check that shared futexes are
24174 supported.
24175 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
24176 Likewise.
24177 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
24178 Likewise.
24179 * nptl/sem_init.c (futex_private_if_supported): Remove.
24180 (__new_sem_init): Adapt and check that shared futexes are supported.
24181 * nptl/sem_open.c (sem_open): Likewise.
24182 * nptl/sem_post.c (futex_wake): Remove.
24183 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
24184 (do_futex_wait): Use futex wrappers with error checking.
24185 * nptl/sem_wait.c: Include lowlevellock.h.
24186 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
24187 Use futex_supports_pshared.
24188 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
24189 Use futex wrappers with error checking.
24190 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
24191 Likewise.
24192 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
24193 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
24194 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
24195 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
24196 (futex_wake): Likewise.
24197 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
24198 (do_futex_wait): Use futex wrappers with error checking.
24199 (__new_sem_wait_slow): Update EINTR handling.
24200 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
24201
24202 2015-07-09 Martin Sebor <msebor@redhat.com>
24203
24204 [BZ #18435]
24205 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
24206 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
24207 * nptl/Makefile (test-xfail-tst-once5): Define.
24208
24209 2015-07-09 Roland McGrath <roland@hack.frob.com>
24210
24211 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
24212 * elf/dl-minimal.c: For readability, reorder some definitions and
24213 introduce more page breaks. Include <stdio.h>.
24214 (__libc_fatal): New function.
24215
24216 * include/unistd.h: Add rtld_hidden_proto for _exit.
24217 * posix/_exit.c: Add rtld_hidden_def.
24218 * sysdeps/mach/hurd/_exit.c: Likewise.
24219 * sysdeps/nacl/_exit.c: Likewise.
24220 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
24221 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
24222
24223 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
24224
24225 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
24226 bndmov encoding with zero displacement.
24227
24228 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
24229 H.J. Lu <hongjiu.lu@intel.com>
24230
24231 [BZ #18134]
24232 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
24233 * sysdeps/i386/configure: Regenerated.
24234 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
24235 (_dl_runtime_profile): Save and restore Intel MPX return bound
24236 registers when calling _dl_call_pltexit. Add
24237 PRESERVE_BND_REGS_PREFIX before return.
24238 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
24239 (LRV_BND1_OFFSET): Likewise.
24240 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
24241 lrv_bnd1.
24242 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
24243 typo in bndmov encoding.
24244 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
24245 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
24246 branch instructions to preserve bounds.
24247
24248 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24249
24250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
24251 [GLIBC_2.22]: Add fmemopen.
24252
24253 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
24254
24255 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
24256 returns an error, also try to use host port from __mach_host_self for
24257 the __vm_wire call.
24258 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
24259
24260 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
24261
24262 [BZ #18400]
24263 [BZ #18648]
24264 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
24265 Fix pr_uid and pr_gid members.
24266 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
24267 definition to elf_greg_t.
24268
24269 2015-07-08 Roland McGrath <roland@hack.frob.com>
24270
24271 [BZ #18383]
24272 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
24273 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
24274 * sysdeps/arm/configure: Regenerated.
24275 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
24276 (test-xfail-tst-tlsalign-static): Variable removed.
24277
24278 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
24279 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
24280 rather than explicit 'ln -s'.
24281
24282 * resolv/rpc/netdb.h: New file.
24283 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
24284
24285 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24286
24287 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
24288 length buffers.
24289 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
24290 test-skeleton.c.
24291
24292 [BZ #6544]
24293 [BZ #11216]
24294 [BZ #12836]
24295 [BZ #13151]
24296 [BZ #13152]
24297 [BZ #14292]
24298 * include/stdio.h (fmemopen): Remove hidden prototype.
24299 (__fmemopen): Add new hidden prototype.
24300 * libio/Makefile: Add oldfmemopen object.
24301 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
24302 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
24303 compliance.
24304 * libio/oldfmemopen.c: New file: old fmemopen implementation for
24305 symbol compatibility.
24306 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
24307 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
24308 fmemopen.
24309 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
24310 on append and read mode.
24311 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
24312 fmemopen.
24313 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
24314 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
24315 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
24316 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
24317 Likewise.
24318 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
24319 [GLIBC_2.22]: Likewise.
24320 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
24321 Likewise.
24322 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
24323 Likewise.
24324 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
24325 [GLIBC_2.22]: Likewise.
24326 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
24327 [GLIBC_2.22]: Likewise.
24328 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
24329 [GLIBC_2.22]: Likewise.
24330 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
24331 [GLIBC_2.22]: Likewise.
24332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
24333 [GLIBC_2.22]: Likewise.
24334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
24335 [GLIBC_2.22]: Likewise.
24336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
24337 [GLIBC_2.22]: Likewise.
24338 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
24339 Likewise.
24340 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
24341 Likewise.
24342 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
24343 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
24344 [GLIBC_2.22]: Likewise.
24345 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
24346 [GLIBC_2.22]: Likewise.
24347 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
24348 [GLIBC_2.22]: Likewise.
24349 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
24350 [GLIBC_2.22]: Likewise.
24351 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
24352 Likewise.
24353 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
24354 Likewise.
24355 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
24356 Likewise.
24357 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
24358 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
24359
24360 2015-07-08 Carlos O'Donell <carlos@redhat.com>
24361
24362 [BZ #18643]
24363 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
24364 IPV6_PATHMTU, and IPV6_DONTFRAG.
24365
24366 2015-07-08 Feng Gao <gfree.wind@gmail.com>
24367
24368 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
24369 and _IO_UNBUFFERED.
24370 * libio/oldfileops.c: Likewise.
24371 * libio/wfileops.c: Likewise.
24372
24373 2015-07-08 Mike Frysinger <vapier@gentoo.org>
24374
24375 * nscd/selinux.c: Delete selinux/flask.h include.
24376
24377 2015-07-08 Mike Frysinger <vapier@gentoo.org>
24378
24379 [BZ #18641]
24380 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
24381 (putpwent): Likewise.
24382 (getpwnam): Likewise.
24383 (getpwent_r): Likewise.
24384 (getpwuid_r): Likewise.
24385 (getpwnam_r): Likewise.
24386 (fgetpwent_r): Likewise.
24387
24388 2015-07-08 Carlos O'Donell <carlos@redhat.com>
24389
24390 [BZ #18557]
24391 * inet/rcmd.c (__validuser2_sa): Check user first to
24392 short-circuit host check.
24393
24394 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
24395 Mikhail Ilin <m.ilin@samsung.com>
24396
24397 [BZ #17833]
24398 * elf/Makefile (tests): Add tst-nodelete.
24399 (modules-names): Add tst-nodelete-uniquemod.
24400 (tst-nodelete-uniquemod.so-no-z-defs): New.
24401 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
24402 (tst-nodelete-zmod.so-no-z-defs): Likewise.
24403 ($(objpfx)tst-nodelete): Likewise.
24404 ($(objpfx)tst-nodelete.out): Likewise.
24405 (LDFLAGS-tst-nodelete): Likewise.
24406 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
24407 * elf/dl-close.c (_dl_close_worker): Add a parameter to
24408 implement forced object deletion.
24409 (_dl_close): Pass false to _dl_close_worker.
24410 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
24411 * elf/tst-nodelete.cc: New file.
24412 * elf/tst-nodeletelib.cc: Likewise.
24413 * elf/tst-znodeletelib.cc: Likewise.
24414 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
24415
24416 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
24417
24418 [BZ #18508]
24419 * stdlib/Makefile ($(objpfx)tst-makecontext3):
24420 Depend on $(libdl).
24421 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
24422 is not called infinitely times.
24423 (backtrace_helper): New function.
24424 (trace_arg): New struct.
24425 (st1): Enlarge stack size.
24426 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
24427 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
24428 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
24429 Likewise.
24430
24431 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
24432
24433 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24434
24435 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
24436
24437 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
24438 Include sys/types.h instead of bits/types.h.
24439 Remove inclusion of bits/wordsize.h.
24440
24441 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
24442
24443 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
24444 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
24445 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
24446 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
24447 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
24448 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
24449
24450 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
24451
24452 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
24453 link-defines.sym.
24454 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
24455 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
24456 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
24457 and LR_SIZE.
24458 * sysdeps/i386/link-defines.sym: New file.
24459
24460 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
24461
24462 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
24463 (modules-names): Add tst-auditmod3a tst-auditmod3b.
24464 ($(objpfx)tst-audit3): New rule.
24465 ($(objpfx)tst-audit3.out): Likewise.
24466 * sysdeps/i386/tst-audit3.c: New file.
24467 * sysdeps/i386/tst-audit3.h: Likewise.
24468 * sysdeps/i386/tst-auditmod3a.c: Likewise.
24469 * sysdeps/i386/tst-auditmod3b.c: Likewise.
24470
24471 2015-07-07 Torvald Riegel <triegel@redhat.com>
24472
24473 [BZ #18633]
24474 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
24475 pointer in C code.
24476 (__strcat_c): Likewise.
24477 (__strcat_g): Likewise.
24478
24479 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
24480
24481 [BZ #18592]
24482 * misc/sbrk.c: Set errno to ENOMEM on overflow.
24483
24484 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
24485
24486 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
24487 New function. (__ieee754_sqrtf): New function.
24488 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
24489 New function.
24490 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
24491 New function.
24492
24493 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
24494
24495 * sysdeps/ieee754/support.c: Remove unused file.
24496
24497 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
24498
24499 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
24500 registers instead of d ones so the layout is kernel abi compatible.
24501 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
24502 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
24503 Likewise.
24504
24505 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24506
24507 * sysdeps/aarch64/libm-test-ulps: Regenerated.
24508
24509 2015-07-01 Joseph Myers <joseph@codesourcery.com>
24510
24511 [BZ #18619]
24512 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
24513 and return argument in case of subnormal argument.
24514
24515 2015-07-01 Martin Sebor <msebor@redhat.com>
24516
24517 [BZ #18435]
24518 * nptl/Makefile: Add tst-once5.cc.
24519 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
24520 Remove macro redefinitions.
24521 * nptl/tst-once5.cc: New test.
24522
24523 2015-07-01 Joseph Myers <joseph@codesourcery.com>
24524
24525 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24526
24527 * sysdeps/arm/libm-test-ulps: Regenerated.
24528
24529 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24530 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24531
24532 2015-06-30 Torvald Riegel <triegel@redhat.com>
24533
24534 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
24535 lll_lock_wait_private and lll_futex_wake probes.
24536
24537 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24538 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
24539 Likewise.
24540 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
24541 atomic_spin_nop.
24542 * sysdeps/x86_64/bits/atomic.h: Likewise.
24543 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
24544 to atomic_spin_nop and move ...
24545 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
24546 ... here and ...
24547 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
24548 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
24549 atomic_spin_nop instead of BUSY_WAIT_NOP.
24550 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
24551 Likewise.
24552 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
24553 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24554 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
24555 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
24556 instead of atomic_delay.
24557
24558 2015-06-29 Joseph Myers <joseph@codesourcery.com>
24559
24560 [BZ #18613]
24561 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
24562 X_ADJ not X when adjusting exponent.
24563 (__ieee754_gamma_r): Do intermediate computations in
24564 round-to-nearest then adjust overflowing and underflowing results
24565 as needed.
24566 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
24567 of X_ADJ not X when adjusting exponent.
24568 (__ieee754_gammaf_r): Do intermediate computations in
24569 round-to-nearest then adjust overflowing and underflowing results
24570 as needed.
24571 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
24572 log of X_ADJ not X when adjusting exponent.
24573 (__ieee754_gammal_r): Do intermediate computations in
24574 round-to-nearest then adjust overflowing and underflowing results
24575 as needed. Use 1.0L not 1.0f as numerator of division.
24576 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
24577 log of X_ADJ not X when adjusting exponent.
24578 (__ieee754_gammal_r): Do intermediate computations in
24579 round-to-nearest then adjust overflowing and underflowing results
24580 as needed. Use 1.0L not 1.0f as numerator of division.
24581 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
24582 of X_ADJ not X when adjusting exponent.
24583 (__ieee754_gammal_r): Do intermediate computations in
24584 round-to-nearest then adjust overflowing and underflowing results
24585 as needed. Use 1.0L not 1.0f as numerator of division.
24586 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
24587 to auto-libm-test-in.
24588 (tgamma_test): Use ALL_RM_TEST.
24589 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
24590 tests of tgamma with spurious-overflow.
24591 * math/auto-libm-test-out: Regenerated.
24592 * math/gen-libm-have-vector-test.sh: Do not check for START.
24593 * sysdeps/i386/fpu/libm-test-ulps: Update.
24594 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24595
24596 [BZ #18612]
24597 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
24598 arguments, just return 0.5 times the argument, with underflow
24599 forced as needed.
24600 * math/auto-libm-test-in: Add more tests of j1.
24601 * math/auto-libm-test-out: Regenerated.
24602
24603 [BZ #16559]
24604 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
24605 (__ieee754_j1): Force underflow exception for small results.
24606 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24607 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
24608 (__ieee754_j1f): Force underflow exception for small results.
24609 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24610 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24611 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24612 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
24613 (__ieee754_j1l): Force underflow exception for small results.
24614 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24615 * math/auto-libm-test-in: Add more tests of j1 and jn.
24616 * math/auto-libm-test-out: Regenerated.
24617
24618 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
24619 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
24620 (PF_MPLS): Likewise.
24621 (AF_IB): Likewise.
24622 (AF_MPLS): Likewise.
24623 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
24624 value and macro.
24625 (MS_RMT_MASK): Include MS_LAZYTIME.
24626
24627 2015-06-26 Mel Gorman <mgorman@suse.de>
24628
24629 [BZ #18502]
24630 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
24631 already minimal.
24632
24633 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
24634
24635 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
24636 (DT_MIPS_NUM): Update.
24637 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
24638 DT_MIPS_RLD_MAP_REL.
24639
24640 2015-06-25 Joseph Myers <joseph@codesourcery.com>
24641
24642 [BZ #16559]
24643 [BZ #18602]
24644 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
24645 round-to-nearest internally then recompute results that
24646 underflowed to zero in the original rounding mode.
24647 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24648 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24649 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24650 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24651 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
24652 * sysdeps/i386/fpu/libm-test-ulps: Update.
24653 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24654
24655 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
24656
24657 * NEWS: Fixed description of link with vector math library.
24658
24659 2015-06-25 Andreas Schwab <schwab@suse.de>
24660
24661 [BZ #18549]
24662 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
24663 * libio/test-fmemopen.c (do_test): Add test for it.
24664
24665 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
24666
24667 [BZ #17841]
24668 * Makeconfig (no-pie-ldflag): New.
24669 (+link): Set to $(+link-pie) if default to PIE.
24670 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
24671 * config.make.in (build-pie-default): New.
24672 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
24673 is default. AC_SUBST.
24674 * configure: Regenerated.
24675 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
24676
24677 2015-06-24 Roland McGrath <roland@hack.frob.com>
24678
24679 * nptl/descr.h (struct pthread): Change type of field setxid_futex
24680 to 'unsigned int'.
24681
24682 * resolv/gai_misc.h (struct waitlist): Change type of field
24683 counterp to 'volatile unsigned int *'.
24684 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
24685 FUTEXADDR and OLDVAL.
24686 * resolv/getaddrinfo_a.c (getaddrinfo_a):
24687 Give local variable TOTAL type 'volatile unsigned int'.
24688 (struct async_waitlist): Change type of field counter to 'unsigned int'.
24689 * resolv/gai_suspend.c (gai_suspend):
24690 Give local variable CNTR type 'unsigned int'.
24691
24692 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
24693 counterp to 'volatile unsigned int *'.
24694 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
24695 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
24696 (aio_suspend): Give local variable CNTR type 'unsigned int'.
24697 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
24698 Give local variable TOTAL type 'volatile unsigned int'.
24699 (struct async_waitlist): Change type of field counter to 'unsigned int'.
24700
24701 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
24702
24703 [BZ #18383]
24704 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
24705 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
24706 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
24707 comment for i386/x86-64.
24708 (test-xfail-tst-tlsalign-extern-static): Removed.
24709
24710 2015-06-24 Joseph Myers <joseph@codesourcery.com>
24711
24712 * math/test-double.h: New file.
24713 * math/test-float.h: Likewise.
24714 * math/test-ldouble.h: Likewise.
24715 * math/test-math-inline.h: Likewise.
24716 * math/test-math-no-inline.h: Likewise.
24717 * math/test-math-scalar.h: Likewise.
24718 * math/test-math-vector.h: Likewise.
24719 * math/test-vec-loop.h: Remove file. Contents moved into
24720 test-math-vector.h.
24721 * math/libm-test.inc (MATHCONST): Do not document macro.
24722 * math/test-double.c: Include test-double.h, test-math-no-inline.h
24723 and test-math-scalar.h.
24724 (FUNC): Remove macro.
24725 (FUNC_TEST): Likewise.
24726 (FLOAT): Likewise.
24727 (MATHCONST): Likewise.
24728 (PRINTF_EXPR): Likewise.
24729 (PRINTF_XEXPR): Likewise.
24730 (PRINTF_NEXPR): Likewise.
24731 (TEST_DOUBLE): Likewise.
24732 (TEST_MATHVEC): Likewise.
24733 (__NO_MATH_INLINES): Likewise.
24734 * math/test-float.c: Include test-float.h, test-math-no-inline.h
24735 and test-math-scalar.h.
24736 (FUNC): Remove macro.
24737 (FUNC_TEST): Likewise.
24738 (FLOAT): Likewise.
24739 (MATHCONST): Likewise.
24740 (PRINTF_EXPR): Likewise.
24741 (PRINTF_XEXPR): Likewise.
24742 (PRINTF_NEXPR): Likewise.
24743 (TEST_FLOAT): Likewise.
24744 (TEST_MATHVEC): Likewise.
24745 (__NO_MATH_INLINES): Likewise.
24746 * math/test-idouble.c: Include test-double.h, test-math-inline.h
24747 and test-math-scalar.h.
24748 (FUNC): Remove macro.
24749 (FUNC_TEST): Likewise.
24750 (FLOAT): Likewise.
24751 (MATHCONST): Likewise.
24752 (PRINTF_EXPR): Likewise.
24753 (PRINTF_XEXPR): Likewise.
24754 (PRINTF_NEXPR): Likewise.
24755 (TEST_DOUBLE): Likewise.
24756 (TEST_MATHVEC): Likewise.
24757 (TEST_INLINE): Likewise.
24758 (__NO_MATH_INLINES): Likewise.
24759 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
24760 test-math-scalar.h.
24761 (FUNC): Remove macro.
24762 (FUNC_TEST): Likewise.
24763 (FLOAT): Likewise.
24764 (MATHCONST): Likewise.
24765 (PRINTF_EXPR): Likewise.
24766 (PRINTF_XEXPR): Likewise.
24767 (PRINTF_NEXPR): Likewise.
24768 (TEST_FLOAT): Likewise.
24769 (TEST_MATHVEC): Likewise.
24770 (TEST_INLINE): Likewise.
24771 (__NO_MATH_INLINES): Likewise.
24772 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
24773 and test-math-scalar.h.
24774 (FUNC): Remove macro.
24775 (FUNC_TEST): Likewise.
24776 (FLOAT): Likewise.
24777 (MATHCONST): Likewise.
24778 (PRINTF_EXPR): Likewise.
24779 (PRINTF_XEXPR): Likewise.
24780 (PRINTF_NEXPR): Likewise.
24781 (TEST_LDOUBLE): Likewise.
24782 (TEST_MATHVEC): Likewise.
24783 (TEST_INLINE): Likewise.
24784 (__NO_MATH_INLINES): Likewise.
24785 * math/test-ldouble.c: Include test-ldouble.h,
24786 test-math-no-inline.h and test-math-scalar.h.
24787 (FUNC): Remove macro.
24788 (FUNC_TEST): Likewise.
24789 (FLOAT): Likewise.
24790 (MATHCONST): Likewise.
24791 (PRINTF_EXPR): Likewise.
24792 (PRINTF_XEXPR): Likewise.
24793 (PRINTF_NEXPR): Likewise.
24794 (TEST_LDOUBLE): Likewise.
24795 (TEST_MATHVEC): Likewise.
24796 (__NO_MATH_INLINES): Likewise.
24797 * math/test-double-vlen2.h: Include test-double.h,
24798 test-math-no-inline.h and test-math-vector.h.
24799 (FLOAT): Remove macro.
24800 (FUNC): Likewise.
24801 (MATHCONST): Likewise.
24802 (PRINTF_EXPR): Likewise.
24803 (PRINTF_XEXPR): Likewise.
24804 (PRINTF_NEXPR): Likewise.
24805 (TEST_DOUBLE): Likewise.
24806 (TEST_MATHVEC): Likewise.
24807 (__NO_MATH_INLINES): Likewise.
24808 (CNCT): Likewise.
24809 (CONCAT): Likewise.
24810 (WRAPPER_NAME): Likewise.
24811 (WRAPPER_DECL): Likewise.
24812 (WRAPPER_DECL_ff): Likewise.
24813 (WRAPPER_DECL_fFF): Likewise.
24814 (VECTOR_WRAPPER): Likewise.
24815 (VECTOR_WRAPPER_ff): Likewise.
24816 (VECTOR_WRAPPER_fFF): Likewise.
24817 (VEC_LEN): New macro.
24818 * math/test-double-vlen4.h: Include test-double.h,
24819 test-math-no-inline.h and test-math-vector.h.
24820 (FLOAT): Remove macro.
24821 (FUNC): Likewise.
24822 (MATHCONST): Likewise.
24823 (PRINTF_EXPR): Likewise.
24824 (PRINTF_XEXPR): Likewise.
24825 (PRINTF_NEXPR): Likewise.
24826 (TEST_DOUBLE): Likewise.
24827 (TEST_MATHVEC): Likewise.
24828 (__NO_MATH_INLINES): Likewise.
24829 (CNCT): Likewise.
24830 (CONCAT): Likewise.
24831 (WRAPPER_NAME): Likewise.
24832 (WRAPPER_DECL): Likewise.
24833 (WRAPPER_DECL_ff): Likewise.
24834 (WRAPPER_DECL_fFF): Likewise.
24835 (VECTOR_WRAPPER): Likewise.
24836 (VECTOR_WRAPPER_ff): Likewise.
24837 (VECTOR_WRAPPER_fFF): Likewise.
24838 (VEC_LEN): New macro.
24839 * math/test-double-vlen8.h: Include test-double.h,
24840 test-math-no-inline.h and test-math-vector.h.
24841 (FLOAT): Remove macro.
24842 (FUNC): Likewise.
24843 (MATHCONST): Likewise.
24844 (PRINTF_EXPR): Likewise.
24845 (PRINTF_XEXPR): Likewise.
24846 (PRINTF_NEXPR): Likewise.
24847 (TEST_DOUBLE): Likewise.
24848 (TEST_MATHVEC): Likewise.
24849 (__NO_MATH_INLINES): Likewise.
24850 (CNCT): Likewise.
24851 (CONCAT): Likewise.
24852 (WRAPPER_NAME): Likewise.
24853 (WRAPPER_DECL): Likewise.
24854 (WRAPPER_DECL_ff): Likewise.
24855 (WRAPPER_DECL_fFF): Likewise.
24856 (VECTOR_WRAPPER): Likewise.
24857 (VECTOR_WRAPPER_ff): Likewise.
24858 (VECTOR_WRAPPER_fFF): Likewise.
24859 (VEC_LEN): New macro.
24860 * math/test-float-vlen4.h: Include test-float.h,
24861 test-math-no-inline.h and test-math-vector.h.
24862 (FLOAT): Remove macro.
24863 (FUNC): Likewise.
24864 (MATHCONST): Likewise.
24865 (PRINTF_EXPR): Likewise.
24866 (PRINTF_XEXPR): Likewise.
24867 (PRINTF_NEXPR): Likewise.
24868 (TEST_FLOAT): Likewise.
24869 (TEST_MATHVEC): Likewise.
24870 (__NO_MATH_INLINES): Likewise.
24871 (CNCT): Likewise.
24872 (CONCAT): Likewise.
24873 (WRAPPER_NAME): Likewise.
24874 (WRAPPER_DECL): Likewise.
24875 (WRAPPER_DECL_ff): Likewise.
24876 (WRAPPER_DECL_fFF): Likewise.
24877 (VECTOR_WRAPPER): Likewise.
24878 (VECTOR_WRAPPER_ff): Likewise.
24879 (VECTOR_WRAPPER_fFF): Likewise.
24880 (VEC_LEN): New macro.
24881 * math/test-float-vlen8.h: Include test-float.h,
24882 test-math-no-inline.h and test-math-vector.h.
24883 (FLOAT): Remove macro.
24884 (FUNC): Likewise.
24885 (MATHCONST): Likewise.
24886 (PRINTF_EXPR): Likewise.
24887 (PRINTF_XEXPR): Likewise.
24888 (PRINTF_NEXPR): Likewise.
24889 (TEST_FLOAT): Likewise.
24890 (TEST_MATHVEC): Likewise.
24891 (__NO_MATH_INLINES): Likewise.
24892 (CNCT): Likewise.
24893 (CONCAT): Likewise.
24894 (WRAPPER_NAME): Likewise.
24895 (WRAPPER_DECL): Likewise.
24896 (WRAPPER_DECL_ff): Likewise.
24897 (WRAPPER_DECL_fFF): Likewise.
24898 (VECTOR_WRAPPER): Likewise.
24899 (VECTOR_WRAPPER_ff): Likewise.
24900 (VECTOR_WRAPPER_fFF): Likewise.
24901 (VEC_LEN): New macro.
24902 * math/test-float-vlen16.h: Include test-float.h,
24903 test-math-no-inline.h and test-math-vector.h.
24904 (FLOAT): Remove macro.
24905 (FUNC): Likewise.
24906 (MATHCONST): Likewise.
24907 (PRINTF_EXPR): Likewise.
24908 (PRINTF_XEXPR): Likewise.
24909 (PRINTF_NEXPR): Likewise.
24910 (TEST_FLOAT): Likewise.
24911 (TEST_MATHVEC): Likewise.
24912 (__NO_MATH_INLINES): Likewise.
24913 (CNCT): Likewise.
24914 (CONCAT): Likewise.
24915 (WRAPPER_NAME): Likewise.
24916 (WRAPPER_DECL): Likewise.
24917 (WRAPPER_DECL_ff): Likewise.
24918 (WRAPPER_DECL_fFF): Likewise.
24919 (VECTOR_WRAPPER): Likewise.
24920 (VECTOR_WRAPPER_ff): Likewise.
24921 (VECTOR_WRAPPER_fFF): Likewise.
24922 (VEC_LEN): New macro.
24923 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
24924 test-vec-loop.h.
24925 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24926 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24927 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24928 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24929 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24930 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24931 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24932
24933 2015-06-24 Roland McGrath <roland@hack.frob.com>
24934
24935 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
24936 (__getlogin_r): ... this.
24937
24938 2015-06-24 Joseph Myers <joseph@codesourcery.com>
24939
24940 [BZ #18594]
24941 * math/s_ccosh.c (__ccosh): Compare with least normal value
24942 instead of comparing class with FP_SUBNORMAL.
24943 * math/s_ccoshf.c (__ccoshf): Likewise.
24944 * math/s_ccoshl.c (__ccoshl): Likewise.
24945 * math/s_cexp.c (__cexp): Likewise.
24946 * math/s_cexpf.c (__cexpf): Likewise.
24947 * math/s_cexpl.c (__cexpl): Likewise.
24948 * math/s_csin.c (__csin): Likewise.
24949 * math/s_csinf.c (__csinf): Likewise.
24950 * math/s_csinh.c (__csinh): Likewise.
24951 * math/s_csinhf.c (__csinhf): Likewise.
24952 * math/s_csinhl.c (__csinhl): Likewise.
24953 * math/s_csinl.c (__csinl): Likewise.
24954 * math/s_ctan.c (__ctan): Likewise.
24955 * math/s_ctanf.c (__ctanf): Likewise.
24956 * math/s_ctanh.c (__ctanh): Likewise.
24957 * math/s_ctanhf.c (__ctanhf): Likewise.
24958 * math/s_ctanhl.c (__ctanhl): Likewise.
24959 * math/s_ctanl.c (__ctanl): Likewise.
24960 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
24961 csin, csinh, ctan and ctanh.
24962 * math/auto-libm-test-out: Regenerated.
24963 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
24964 * sysdeps/i386/fpu/libm-test-ulps: Update.
24965 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24966
24967 2015-06-24 Roland McGrath <roland@hack.frob.com>
24968
24969 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
24970 return value is wrong, print the expected value too.
24971
24972 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
24973
24974 [BZ #18585]
24975 * elf/readlib.c (is_gdb_python_file): New.
24976 (process_file): Don't issue errors on filenames with -gdb.py
24977 suffix.
24978
24979 2015-06-24 Joseph Myers <joseph@codesourcery.com>
24980
24981 * math/auto-libm-test-in: Add more tests of csin and csinh.
24982 * math/auto-libm-test-out: Regenerated.
24983 * math/libm-test.inc (csin_test_data): Remove tests moved to
24984 auto-libm-test-in.
24985 (csinh_test_data): Likewise.
24986
24987 [BZ #18593]
24988 * math/s_csin.c (__csin): Negate before rather than after possibly
24989 overflowing multiplication.
24990 * math/s_csinf.c (__csinf): Likewise.
24991 * math/s_csinh.c (__csinh): Likewise.
24992 * math/s_csinhf.c (__csinhf): Likewise.
24993 * math/s_csinhl.c (__csinhl): Likewise.
24994 * math/s_csinl.c (__csinl): Likewise.
24995 * math/auto-libm-test-in: Add some tests of csin and csinh.
24996 * math/auto-libm-test-out: Regenerated.
24997 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
24998 (csinh_test_data): Likewise.
24999 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
25000
25001 [BZ #18586]
25002 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
25003 underflow exception for small results.
25004
25005 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
25006
25007 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
25008 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
25009 variable and included header.
25010 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
25011 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
25012 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
25013 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
25014 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
25015 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
25016 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
25017 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
25018 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
25019 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
25020 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
25021 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
25022 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
25023 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
25024 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
25025 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
25026
25027 2015-06-23 Joseph Myers <joseph@codesourcery.com>
25028
25029 [BZ #16526]
25030 [BZ #16538]
25031 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
25032 (__sin): Force underflow exception for arguments with small
25033 absolute value.
25034 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
25035 (__kernel_sinf): Force underflow exception for arguments with
25036 small absolute value.
25037 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
25038 (__kernel_sincosl): Force underflow exception for arguments with
25039 small absolute value.
25040 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
25041 (__kernel_sinl): Force underflow exception for arguments with
25042 small absolute value.
25043 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
25044 (__kernel_sincosl): Force underflow exception for arguments with
25045 small absolute value.
25046 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
25047 (__kernel_sinl): Force underflow exception for arguments with
25048 small absolute value.
25049 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
25050 (__kernel_sinl): Force underflow exception for arguments with
25051 small absolute value.
25052 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
25053 (__kernel_sinf): Force underflow exception for arguments with
25054 small absolute value.
25055 * math/auto-libm-test-in: Add more tests of sin and sincos.
25056 * math/auto-libm-test-out: Regenerated.
25057
25058 [BZ #18245]
25059 [BZ #18583]
25060 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
25061 (__kernel_standard_l): Use feholdexcept and fesetenv around
25062 conversion to double instead of special-casing overflow and
25063 underflow.
25064 * math/libm-test.inc (fmod_test_data): Add more tests.
25065 (remainder_test_data): Likewise.
25066 (sqrt_test_data): Likewise.
25067
25068 2015-06-23 Torvald Riegel <triegel@redhat.com>
25069
25070 [BZ #17403]
25071 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
25072 atomic_read_barrier, atomic_write_barrier): Define.
25073 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
25074 atomic_read_barrier, atomic_write_barrier): Define.
25075
25076 2015-06-23 Joseph Myers <joseph@codesourcery.com>
25077
25078 * math/Makefile [$(PERL) != no]
25079 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
25080 dependency on libm-test.stmp below the inclusion of Rules.
25081
25082 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
25083
25084 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
25085 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
25086 and included header.
25087 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
25088 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
25089 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
25090 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
25091 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
25092 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
25093 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
25094 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
25095 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
25096 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
25097 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
25098 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
25099 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
25100 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
25101 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
25102 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
25103 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
25104 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
25105 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
25106
25107 2015-06-23 Joseph Myers <joseph@codesourcery.com>
25108
25109 [BZ #18371]
25110 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
25111 intermediate but not final result might underflow.
25112 * math/s_csqrtf.c (__csqrtf): Likewise.
25113 * math/s_csqrtl.c (__csqrtl): Likewise.
25114 * math/auto-libm-test-in: Add more tests of csqrt.
25115 * math/auto-libm-test-out: Regenerated.
25116 * sysdeps/i386/fpu/libm-test-ulps: Update.
25117
25118 [BZ #18219]
25119 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
25120 threshold on absolute value of exponent for which scaling is used.
25121 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25122 * math/auto-libm-test-in: Add more tests of exp2.
25123 * math/auto-libm-test-out: Regenerated.
25124
25125 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
25126
25127 [BZ #17977]
25128 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
25129 when initializing interface list, based on the bug analysis
25130 and the patch proposed by Eric Newton.
25131 * resolv/tst-res_hconf_reorder.c: New test.
25132 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
25133 tst-res_hconf_reorder.
25134 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
25135 and $(shared-thread-library).
25136 (tst-res_hconf_reorder-ENV): New variable.
25137
25138 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
25139 in comment.
25140
25141 2015-06-22 Joseph Myers <joseph@codesourcery.com>
25142
25143 [BZ #16353]
25144 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
25145 (__expm1): Force underflow exception for arguments with small
25146 absolute value.
25147 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
25148 (__expm1f): Force underflow exception for arguments with small
25149 absolute value.
25150 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
25151 (__expm1): Force underflow exception for arguments with small
25152 absolute value.
25153 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
25154 (__expm1f): Force underflow exception for arguments with small
25155 absolute value.
25156 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
25157 Check for small arguments before calling __expm1.
25158 * math/auto-libm-test-in: Do not mark underflow exceptions as
25159 possibly missing for bug 16353.
25160 * math/auto-libm-test-out: Regenerated.
25161
25162 2015-06-22 Andreas Schwab <schwab@suse.de>
25163
25164 [BZ #18513]
25165 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
25166 PTR queries.
25167
25168 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
25169
25170 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
25171
25172 * string/strcoll_l.c: Remove unused struct element idxnow.
25173
25174 2015-06-21 Joseph Myers <joseph@codesourcery.com>
25175
25176 [BZ #18569]
25177 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
25178 underflow and return argument in case of subnormal argument.
25179 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25180 Likewise.
25181 * math/auto-libm-test-in: Add more tests of expm1.
25182 * math/auto-libm-test-out: Regenerated.
25183
25184 [BZ #16361]
25185 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
25186 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
25187 tiny results.
25188 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
25189 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
25190 tiny results.
25191 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
25192 mark underflow exceptions as possibly missing for bug 16361.
25193 * math/auto-libm-test-out: Regenerated.
25194
25195 2015-06-19 Joseph Myers <joseph@codesourcery.com>
25196
25197 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
25198 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
25199 Remove variable.
25200 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
25201 (test-xfail-XOPEN2K8/utmpx.h/conform).
25202
25203 * conform/conformtest.pl ($xerrors): New variable.
25204 (note_error): New function.
25205 (compiletest): New argument $xfail. Use not_error.
25206 (runtest): Likewise.
25207 (top level): Handle xfail- lines. Update calls to compiletest and
25208 runtest. Handle xfail- and optional- in headers listed with
25209 allow-header.
25210 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
25211 (O_EXEC): Likewise.
25212 (O_SEARCH): Likewise.
25213 * conform/data/stropts.h-data (ioctl): Likewise.
25214 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
25215 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
25216 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
25217 (msghdr.msg_controllen): Likewise.
25218 (cmsghdr.cmsg_len): Likewise.
25219 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
25220 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
25221 variable.
25222 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
25223 (test-xfail-XPG4/stropts.h/conform): Likewise.
25224 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
25225 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
25226 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
25227 (test-xfail-UNIX98/stropts.h/conform): Likewise.
25228 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
25229 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
25230 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
25231 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
25232 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
25233 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
25234 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
25235 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
25236 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
25237 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
25238 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
25239 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
25240 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
25241 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
25242 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
25243
25244 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
25245
25246 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
25247 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
25248 definitions for proper unfolding of __MATHDECL_VEC.
25249
25250 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
25251
25252 * benchtests/bench-strcoll.c:
25253 Include string.h.
25254 (main): Remove unused variable res.
25255
25256 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
25257
25258 * timezone/Makefile (%/UTC %/Universal):
25259 Generate test-result files for UTC and Universal.
25260
25261 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
25262
25263 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25264
25265 2015-06-18 Joseph Myers <joseph@codesourcery.com>
25266
25267 [BZ #16350]
25268 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
25269 for arguments with small absolute value.
25270 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
25271 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
25272 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
25273 (__asinh): Force underflow exception for arguments with small
25274 absolute value.
25275 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
25276 (__asinhf): Force underflow exception for arguments with small
25277 absolute value.
25278 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
25279 (__asinhl): Force underflow exception for arguments with small
25280 absolute value.
25281 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
25282 (__asinhl): Force underflow exception for arguments with small
25283 absolute value.
25284 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
25285 (__asinhl): Force underflow exception for arguments with small
25286 absolute value.
25287 * math/auto-libm-test-in: Do not mark underflow exceptions as
25288 possibly missing for bug 16350.
25289 * math/auto-libm-test-out: Regenerated.
25290
25291 * include/bits/ipc.h: Remove file.
25292 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
25293 variable.
25294 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
25295 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
25296 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
25297 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
25298 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
25299 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
25300 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
25301 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
25302 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
25303
25304 * math/auto-libm-test-in: Remove spurious underflow allowance for
25305 tests of cexp.
25306 * math/auto-libm-test-out: Regenerated.
25307
25308 [BZ #18558]
25309 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
25310 unconditional definition.
25311 (MCAST_BLOCK_SOURCE): Likewise.
25312 (MCAST_UNBLOCK_SOURCE): Likewise.
25313 (MCAST_LEAVE_GROUP): Likewise.
25314 (MCAST_JOIN_SOURCE_GROUP): Likewise.
25315 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25316 (MCAST_MSFILTER): Likewise.
25317 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
25318 Remove variable.
25319 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25320 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25321 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25322 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25323 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25324
25325 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
25326
25327 * NEWS: Mention addition of x86_64 vector sincosf.
25328 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
25329 * math/test-float-vlen4.h: Likewise.
25330 * math/test-float-vlen8.h: Likewise.
25331 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25332 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
25333 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25334 * sysdeps/x86_64/fpu/Versions: New versions added.
25335 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25336 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25337 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25338 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
25339 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
25340 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
25341 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
25342 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
25343 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
25344 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
25345 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
25346 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
25347 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
25348 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
25349 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
25350 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
25351 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
25352 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
25353 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25354 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25355 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25356 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25357 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25358 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25359
25360 * NEWS: Mention addition of x86_64 vector sincos.
25361 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
25362 * math/math.h (__MATHDECL_VEC): New macro.
25363 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
25364 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
25365 declaration under condition.
25366 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
25367 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
25368 TEST_VEC_LOOP change.
25369 * math/test-double-vlen4.h: Likewise.
25370 * math/test-double-vlen8.h: Likewise.
25371 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
25372 * math/test-float-vlen4.h: Likewise.
25373 * math/test-float-vlen8.h: Likewise.
25374 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25375 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
25376 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25377 * sysdeps/x86_64/fpu/Versions: New versions added.
25378 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25379 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25380 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25381 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
25382 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
25383 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
25384 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
25385 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
25386 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
25387 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
25388 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
25389 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
25390 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
25391 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
25392 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
25393 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
25394 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
25395 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25396 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25397 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25398 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25399 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25400 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25401 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25402
25403 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25404 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25405 redirections for powf.
25406 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25407 * sysdeps/x86_64/fpu/Versions: New versions added.
25408 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25409 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25410 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25411 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
25412 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
25413 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
25414 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
25415 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
25416 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
25417 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
25418 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
25419 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
25420 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
25421 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
25422 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
25423 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
25424 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
25425 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25426 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25427 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25428 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25429 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25430 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25431 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25432 * math/test-float-vlen16.h: Fixed 2 argument macro.
25433 * math/test-float-vlen4.h: Likewise.
25434 * math/test-float-vlen8.h: Likewise.
25435 * NEWS: Mention addition of x86_64 vector powf.
25436
25437 2015-06-17 Joseph Myers <joseph@codesourcery.com>
25438
25439 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25440 and redefine.
25441 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25442 and redefine.
25443 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
25444 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25445 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25446
25447 [BZ #18553]
25448 * resource/getpriority.c (getpriority): Rename to __getpriority
25449 and define as weak alias of __getpriority.
25450 * resource/setpriority.c (setpriority): Rename to __setpriority
25451 and define as weak alias of __setpriority.
25452 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
25453 __getpriority and define as weak alias of __getpriority.
25454 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
25455 __setpriority and define as weak alias of __setpriority.
25456 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
25457 strong name.
25458 (setpriority): Use __setpriority as strong name.
25459 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
25460 __getpriority and define as weak alias of __getpriority.
25461 * include/sys/resource.h (__getpriority): Declare. Use
25462 libc_hidden_proto.
25463 (__setpriority): Likewise.
25464 (getpriority): Don't use libc_hidden_proto.
25465 (setpriority): Likewise.
25466 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
25467 getpriority. Call __setpriority instead of setpriority.
25468 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
25469 Remove variable.
25470
25471 [BZ #18547]
25472 * misc/getttyent.c (getttynam): Rename to __getttynam and define
25473 as weak alias of __getttynam. Use prototype function definition.
25474 Call __setttyent, __getttyent and __endttyent instead of
25475 setttyent, getttyent and endttyent.
25476 (getttyent): Rename to __getttyent and define as weak alias of
25477 __getttyent. Call __setttyent instead of setttyent. Call
25478 __fgets_unlocked instead of fgets_unlocked.
25479 (setttyent): Rename to __setttyent and define as weak alias of
25480 __setttyent.
25481 (endttyent): Rename to __endttyent and define as weak alias of
25482 __endttyent.
25483 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
25484 (__setttyent): Likewise.
25485 (__endttyent): Likewise.
25486 (getttyent): Don't use libc_hidden_proto.
25487 (setttyent): Likewise.
25488 (endttyent): Likewise.
25489 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
25490 __endttyent instead of setttyent, getttyent and endttyent.
25491 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
25492 Remove variable.
25493
25494 [BZ #18546]
25495 * socket/recv.c (__recv): Use libc_hidden_def.
25496 * socket/socket.c (__socket): Likewise.
25497 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
25498 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
25499 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
25500 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
25501 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
25502 libc_hidden_def.
25503 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
25504 libc_hidden_weak.
25505 * include/sys/socket.h (__socket): Do not use attribute_hidden.
25506 Use libc_hidden_proto.
25507 (__recv): Likewise.
25508 * socket/Versions (libc): Export __recv and __socket at version
25509 GLIBC_PRIVATE.
25510 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
25511 instead of recv.
25512 (init_mq_netlink): Call __socket instead of socket.
25513 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
25514 Remove variable.
25515
25516 [BZ #18545]
25517 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
25518 __mq_timedreceive and define as alias of __mq_timedreceive. Use
25519 hidden_weak.
25520 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
25521 define as alias of __mq_timedsend. Use hidden_weak.
25522 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
25523 __mq_timedsend as strong name.
25524 (mq_timedreceive): Use __mq_timedreceive as strong name.
25525 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
25526 (__mq_timedreceive): Likewise.
25527 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
25528 __mq_timedreceive instead of mq_timedreceive.
25529 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
25530 instead of mq_timedsend.
25531 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
25532 Remove variable.
25533
25534 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
25535 hidden_def and hidden_weak instead of libc_hidden_def and
25536 libc_hidden_weak.
25537 (top level): Refer to hidden_def in comment.
25538 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
25539 macro. Use it instead of libc_hidden_def.
25540 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
25541 specify __GI_* name explicitly.
25542 (mq_timedreceive): Likewise.
25543 (mq_setattr): Likewise.
25544
25545 [BZ #18544]
25546 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
25547 __pthread_barrier_init and define as weak alias of
25548 __pthread_barrier_init.
25549 * sysdeps/sparc/nptl/pthread_barrier_init.c
25550 (pthread_barrier_init): Likewise.
25551 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
25552 __pthread_barrier_wait and define as weak alias of
25553 __pthread_barrier_wait.
25554 * sysdeps/sparc/nptl/pthread_barrier_wait.c
25555 (pthread_barrier_wait): Likewise.
25556 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
25557 (pthread_barrier_wait): Likewise.
25558 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
25559 (pthread_barrier_wait): Likewise.
25560 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
25561 (pthread_barrier_wait): Likewise.
25562 * nptl/Versions (libpthread): Export __pthread_barrier_init and
25563 __pthread_barrier_wait at version GLIBC_PRIVATE.
25564 * include/pthread.h (__pthread_barrier_init): Declare.
25565 (__pthread_barrier_wait): Likewise.
25566 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
25567 Call __pthread_barrier_wait instead of pthread_barrier_wait.
25568 (helper_thread): Likewise.
25569 (init_mq_netlink): Call __pthread_barrier_init instead of
25570 pthread_barrier_init.
25571
25572 [BZ #18542]
25573 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
25574 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
25575 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
25576 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
25577 vswscanf.
25578 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
25579 Remove variable.
25580
25581 [BZ #18540]
25582 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
25583 strong alias of _IO_fflush. Use libc_hidden_def.
25584 * libio/iofflush_u.c (fflush_unlocked): Rename to
25585 __fflush_unlocked and define as weak alias of __fflush_unlocked.
25586 Use libc_hidden_weak.
25587 * include/stdio.h (__fflush_unlocked): Declare. Use
25588 libc_hidden_proto.
25589 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
25590 fflush_unlocked.
25591 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
25592 Remove variable.
25593
25594 [BZ #18539]
25595 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
25596 define as weak alias of __addseverity.
25597 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
25598 Remove variable.
25599 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25600 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25601 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25602
25603 [BZ #18536]
25604 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
25605 (__tfind): Likewise.
25606 (__tdelete): Likewise.
25607 (__twalk): Likewise.
25608 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
25609 __twalk to GLIBC_PRIVATE.
25610 * include/search.h (__tsearch): Use libc_hidden_proto.
25611 (__tfind): Likewise.
25612 (__tdelete): Likewise.
25613 (__twalk): Likewise.
25614 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
25615 Call __tdelete instead of tdelete.
25616 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
25617 tfind. Call __tsearch instead of tsearch.
25618 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
25619 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
25620 Remove variable.
25621 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25622
25623 [BZ #18534]
25624 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
25625 (dprintf): Define as a weak alias of __dprintf, not a strong
25626 alias.
25627 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
25628 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
25629 dprintf.
25630 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
25631 Remove variable.
25632 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25633 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25634
25635 [BZ #18533]
25636 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
25637 not a strong alias.
25638 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
25639 Remove variable.
25640
25641 [BZ #18532]
25642 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
25643 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
25644 (in6addr_loopback): Rename to __in6addr_loopback and define as
25645 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
25646 * include/netinet/in.h (__in6addr_loopback): Declare. Use
25647 libc_hidden_proto.
25648 (__in6addr_any): Likewise.
25649 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
25650 in6addr_any.
25651 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
25652 variable.
25653 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25654
25655 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
25656
25657 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
25658 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
25659 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25660 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25661 redirections for pow.
25662 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25663 * sysdeps/x86_64/fpu/Versions: New versions added.
25664 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25665 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25666 build of SSE, AVX2 and AVX512 IFUNC versions.
25667 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
25668 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
25669 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
25670 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
25671 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
25672 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
25673 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
25674 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
25675 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
25676 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
25677 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
25678 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
25679 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
25680 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
25681 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25682 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25683 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25684 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25685 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25686 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25687 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25688 * NEWS: Mention addition of x86_64 vector pow.
25689
25690 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25691 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25692 redirections for expf.
25693 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25694 * sysdeps/x86_64/fpu/Versions: New versions added.
25695 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25696 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25697 build of SSE, AVX2 and AVX512 IFUNC versions.
25698 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
25699 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
25700 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
25701 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
25702 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
25703 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
25704 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
25705 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
25706 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
25707 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
25708 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
25709 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
25710 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
25711 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25712 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25713 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25714 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25715 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25716 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25717 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25718 * NEWS: Mention addition of x86_64 vector expf.
25719
25720 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
25721 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
25722 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25723 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25724 redirections for exp.
25725 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25726 * sysdeps/x86_64/fpu/Versions: New versions added.
25727 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25728 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25729 build of SSE, AVX2 and AVX512 IFUNC versions.
25730 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
25731 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
25732 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
25733 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
25734 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
25735 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
25736 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
25737 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
25738 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
25739 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
25740 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
25741 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
25742 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
25743 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25744 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25745 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25746 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25747 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25748 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25749 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25750 * NEWS: Mention addition of x86_64 vector exp.
25751
25752 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25753 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25754 redirections for logf.
25755 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25756 * sysdeps/x86_64/fpu/Versions: New versions added.
25757 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25758 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25759 build of SSE, AVX2 and AVX512 IFUNC versions.
25760 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
25761 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
25762 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
25763 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
25764 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
25765 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
25766 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
25767 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
25768 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
25769 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
25770 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
25771 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
25772 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
25773 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25774 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25775 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25776 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25777 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25778 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25779 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25780 * NEWS: Mention addition of x86_64 vector logf.
25781
25782 * bits/libm-simd-decl-stubs.h: Added stubs for log.
25783 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
25784 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25785 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25786 redirections for log.
25787 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25788 * sysdeps/x86_64/fpu/Versions: New versions added.
25789 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25790 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25791 build of SSE, AVX2 and AVX512 IFUNC versions.
25792 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
25793 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
25794 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
25795 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
25796 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
25797 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
25798 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
25799 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
25800 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
25801 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
25802 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
25803 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
25804 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
25805 test.
25806 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25807 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25808 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25809 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25810 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25811 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25812 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25813 * NEWS: Mention addition of x86_64 vector log.
25814
25815 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
25816
25817 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
25818 cfi_adjust_cfa_offset argument.
25819 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
25820 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
25821
25822 [BZ #18034]
25823 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
25824 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
25825 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
25826 ordering using ldar.
25827 (_dl_tlsdesc_dynamic): Likewise.
25828 (_dl_tlsdesc_return_lazy): Likewise.
25829 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
25830 relaxed atomics instead of volatile and synchronize with release store.
25831 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
25832 volatile.
25833 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25834
25835 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
25836
25837 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25838 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
25839 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25840 * sysdeps/x86_64/fpu/Versions: New versions added.
25841 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25842 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25843 build of SSE, AVX2 and AVX512 IFUNC versions.
25844 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
25845 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
25846 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
25847 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
25848 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
25849 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
25850 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
25851 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
25852 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
25853 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
25854 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
25855 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
25856 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
25857 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25858 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25859 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25860 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25861 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25862 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25863 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25864 * NEWS: Mention addition of x86_64 vector sinf.
25865
25866 2015-06-14 Joseph Myers <joseph@codesourcery.com>
25867
25868 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
25869 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
25870 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
25871 Remove variable.
25872 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25873 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25874
25875 2015-06-12 Joseph Myers <joseph@codesourcery.com>
25876
25877 [BZ #18530]
25878 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
25879 strong alias of _IO_fputs. Use libc_hidden_def.
25880 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
25881 and define as weak alias of __fputs_unlocked. Use
25882 libc_hidden_weak.
25883 * include/stdio.h (__fputs_unlocked): Declare. Use
25884 libc_hidden_proto.
25885 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
25886 fputs_unlocked.
25887
25888 [BZ #18529]
25889 * resolv/netdb.h [__USE_POSIX]: Change condition to
25890 [__USE_XOPEN2K].
25891 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
25892 not expect.
25893 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
25894 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
25895 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
25896 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
25897 [XPG4 || UNIX98] (AI_ALL): Likewise.
25898 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
25899 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
25900 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
25901 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
25902 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
25903 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
25904 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
25905 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
25906 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
25907 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
25908 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
25909 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
25910 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
25911 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
25912 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
25913 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25914 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25915 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
25916 [XPG4 || UNIX98] (gai_strerror): Likewise.
25917 [XPG4 || UNIX98] (getaddrinfo): Likewise.
25918 [XPG4 || UNIX98] (getnameinfo): Likewise.
25919
25920 [BZ #18528]
25921 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
25922 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
25923 __USE_XOPEN2K8].
25924 (getgrent): Likewise.
25925 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
25926 expect.
25927 [XPG3 || POSIX2008] (endgrent): Likewise.
25928 [XPG3] (setgrent): Likewise.
25929 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
25930 variable.
25931 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25932
25933 [BZ #18527]
25934 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
25935 define as weak alias of __getlogin_r. Use libc_hidden_weak.
25936 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
25937 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
25938 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
25939 * include/unistd.h (__getlogin_r): Declare. Use
25940 libc_hidden_proto.
25941 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
25942 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
25943 variable.
25944 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25945 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25946 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25947
25948 2015-06-12 Martin Sebor <msebor@redhat.com>
25949
25950 [BZ #18512]
25951 * Makerules (check-install-supported): New target.
25952 (install): Add check-install-supported as a dependency.
25953 * manual/install.texi (Installing the C Library): Document
25954 that overriding prefix and exec_prefix is not supported.
25955 Mention DESTDIR.
25956 * INSTALL: Regenerate from the above.
25957
25958 2015-06-12 Joseph Myers <joseph@codesourcery.com>
25959
25960 [BZ #18519]
25961 * posix/Versions (libc): Export __libc_pread at version
25962 GLIBC_PRIVATE.
25963 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
25964 instead of pread.
25965 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
25966 variable.
25967
25968 [BZ #18522]
25969 * misc/efgcvt_r.c
25970 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
25971 (cvt_symbol): Use weak_alias instead of strong_alias.
25972 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
25973 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
25974 Remove variable.
25975 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25976 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25977
25978 [BZ #18520]
25979 * inet/herrno.c (h_errno): Rename to __h_errno.
25980 (__libc_h_errno): Define as alias of __h_errno not h_errno.
25981 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
25982 to __h_errno instead of h_errno.
25983 * nptl/herrno.c (h_errno): Rename to __h_errno.
25984 (__h_errno_location): Refer to __h_errno not h_errno.
25985 * resolv/Versions (h_errno): Rename to __h_errno.
25986 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
25987 Remove variable.
25988 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25989
25990 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
25991
25992 * configure.ac: More strict check for AVX512 assembler support.
25993 * configure: Regenerated.
25994
25995 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
25996 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
25997 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25998 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
25999 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26000 * sysdeps/x86_64/fpu/Versions: New versions added.
26001 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26002 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26003 Added build of SSE, AVX2 and AVX512 IFUNC versions.
26004 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
26005 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
26006 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
26007 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
26008 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
26009 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
26010 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
26011 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
26012 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
26013 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
26014 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
26015 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
26016 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
26017 test.
26018 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26019 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26020 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26021 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26022 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26023 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26024 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26025 * NEWS: Mention addition of x86_64 vector sin.
26026
26027 2015-06-11 Florian Weimer <fweimer@redhat.com>
26028
26029 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
26030 comment.
26031
26032 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
26033
26034 [BZ #18479]
26035 * nptl/pt-interp.c: New file.
26036 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
26037 Add pt-interp.
26038 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
26039 $(common-objpfx)runtime-linker.h.
26040
26041 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
26042
26043 * Makeconfig (+interp): Remove unused variable.
26044 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
26045 only. Depend on $(common-objpfx)runtime-linker.h instead of
26046 $(elf-objpfx)runtime-linker.h.
26047 ($(elf-objpfx)runtime-linker.h): Rename to
26048 $(common-objpfx)runtime-linker.h and move ...
26049 * Makerules [$(build-shared) = yes]: ... here.
26050 * elf/interp.c: Include <runtime-linker.h> instead of
26051 <elf/runtime-linker.h>.
26052
26053 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26054
26055 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
26056 (__gettimeofday_syscall): Remove vsyscall fallback.
26057 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
26058 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
26059 Add syscall fallback function.
26060 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
26061 if vDSO is not present.
26062 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
26063 fallback function.
26064 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
26065 present.
26066 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
26067 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
26068
26069 2015-06-09 Joseph Myers <joseph@codesourcery.com>
26070
26071 [BZ #18497]
26072 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
26073 of wcscmp.
26074 (wcscmp): Define as weak alias of WCSCMP.
26075 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
26076 wcscoll.
26077 (USE_HIDDEN_DEF): Define.
26078 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
26079 __wcscoll. Don't use libc_hidden_weak.
26080 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
26081 wcscmp.
26082 * sysdeps/i386/i686/multiarch/wcscmp-c.c
26083 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
26084 __GI_wcscmp.
26085 (weak_alias): Undefine and redefine.
26086 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
26087 __wcscmp and define as weak alias of __wcscmp.
26088 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
26089 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
26090 (__wcscoll): Likewise.
26091 (wcscmp): Don't use libc_hidden_proto.
26092 (wcscoll): Likewise.
26093 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
26094 wcscoll.
26095 * posix/regexec.c (check_node_accept_bytes): Likewise.
26096 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
26097 variable.
26098 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
26099 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
26100
26101 [BZ #18507]
26102 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
26103 __fstatvfs and define as weak alias of __fstatvfs. Use
26104 libc_hidden_weak.
26105 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
26106 and define as weak alias of __statvfs. Use libc_hidden_weak.
26107 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
26108 Define as alias of __fstatvfs, not fstatvfs.
26109 (fstatvfs64): Likewise.
26110 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
26111 Define as alias of __statvfs, not statvfs.
26112 (statvfs64): Likewise.
26113 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
26114 Remove variable.
26115
26116 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26117
26118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26119 (HAVE_GETCPU_VSYSCALL): Define.
26120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26121 (HAVE_GETCPU_VSYSCALL): Likewise.
26122 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
26123 * sysdeps/unix/sysv/linux/sched_getcpu.c
26124 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
26125 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
26126 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
26127 prototype.
26128 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26129 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
26130 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
26131 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
26132 Define.
26133 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
26134 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26135 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
26136 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26137
26138 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
26139
26140 * sysdeps/x86_64/fpu/Makefile: New file.
26141 * sysdeps/x86_64/fpu/Versions: New file.
26142 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
26143 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
26144 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
26145 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
26146 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
26147 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
26148 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
26149 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
26150 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
26151 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
26152 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
26153 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
26154 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
26155 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26156 Added build of SSE, AVX2 and AVX512 IFUNC versions.
26157 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
26158 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
26159 * sysdeps/x86_64/configure.ac: Options for libmvec build.
26160 * sysdeps/x86_64/configure: Regenerated.
26161 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
26162 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
26163 * manual/install.texi (Configuring and compiling): Document
26164 --disable-mathvec.
26165 * INSTALL: Regenerated.
26166 * NEWS: Mention addition of libmvec and x86_64 vector cos.
26167
26168 * math/Makefile: Added rules for vector tests.
26169 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
26170 declaration under condition.
26171 * math/test-double-vlen2.h: New file.
26172 * math/test-double-vlen4.h: New file.
26173 * math/test-double-vlen8.h: New file.
26174 * math/test-vec-loop.h: Added initialization macro.
26175 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
26176 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
26177 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
26178 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
26179 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
26180 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
26181 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
26182 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
26183 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
26184 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
26185 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
26186
26187 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26188 * sysdeps/x86_64/fpu/Versions: New versions added.
26189 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
26190 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
26191 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
26192 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
26193 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
26194 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
26195 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
26196 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
26197 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
26198 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
26199 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
26200 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
26201 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
26202 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26203 Added build of SSE, AVX2 and AVX512 IFUNC versions.
26204 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
26205 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
26206 * NEWS: Mention addition of x86_64 vector cosf.
26207
26208 * math/Makefile: Added CFLAGS for new tests.
26209 * math/test-float-vlen16.h: New file.
26210 * math/test-float-vlen4.h: New file.
26211 * math/test-float-vlen8.h: New file.
26212 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
26213 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
26214 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26215 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
26216 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
26217 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
26218 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
26219 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
26220 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
26221 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
26222 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
26223
26224 2015-06-09 Marko Myllynen <myllynen@redhat.com>
26225
26226 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
26227 * locale/programs/ld-ctype.c: Likewise.
26228
26229 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
26230
26231 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
26232 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
26233 bit_ZMM16_31_state): New macro.
26234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26235 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
26236
26237 2015-06-08 Joseph Myers <joseph@codesourcery.com>
26238
26239 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
26240
26241 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
26242
26243 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
26244
26245 2015-06-05 Joseph Myers <joseph@codesourcery.com>
26246
26247 [BZ #18498]
26248 * libio/memstream.c (open_memstream): Rename to __open_memstream
26249 and define as weak alias of __open_memstream.
26250 * include/stdio.h (__open_memstream): Declare. Use
26251 libc_hidden_proto.
26252 (open_memstream): Don't use libc_hidden_proto.
26253 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
26254 open_memstream.
26255 * posix/getopt.c (_getopt_internal_r): Likewise.
26256 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
26257 variable.
26258 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
26259 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
26260 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
26261
26262 [BZ #18496]
26263 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
26264 instead of wcrtomb.
26265
26266 [BZ #18483]
26267 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
26268 [__USE_XOPEN2K8]. Remove redundant #endif.
26269 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
26270 Remove redundant #if.
26271 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
26272 Remove variable.
26273 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
26274 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
26275
26276 [BZ #18495]
26277 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
26278 (__iswlower): Likewise.
26279 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
26280 (__iswlower): Likewise.
26281 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
26282 instead of towlower.
26283 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
26284 instead of iswlower. Call __towupper instead of towupper.
26285 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
26286 instead of iswalnum.
26287
26288 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26289
26290 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
26291 errors to stderr.
26292
26293 2015-06-05 Florian Weimer <fweimer@redhat.com>
26294
26295 [BZ #15661]
26296 [BZ #17322]
26297 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
26298 Check for overflow properly. Check for O_APPEND. Ignore large
26299 file system block sizes. Add comments about problems.
26300 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
26301 * manual/filesys.texi (Storage Allocation): New node.
26302
26303 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26304
26305 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
26306 cancellable syscalls.
26307 (SYS_ify): Add guard to no redefine it.
26308 (INLINE_SYSCALL): Likewise.
26309 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
26310 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
26311 SYSCALL_CANCEL instead.
26312 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
26313 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
26314 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
26315 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
26316 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
26317 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
26318 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
26319 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
26320 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
26321 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
26322 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
26323 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
26324 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
26325 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
26326 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
26327 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
26328 Likewise.
26329 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
26330 (__libc_pread64): Likewise.
26331 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
26332 (__libc_preadv): Likewise.
26333 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
26334 (__libc_readv64): Likewise.
26335 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
26336 (__libc_pwrite): Likewise.
26337 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
26338 (__libc_pwrite64): Likewise.
26339 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
26340 (__libc_pwritev): Likewise.
26341 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
26342 (__libc_pwritev64): Likewise.
26343 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
26344 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
26345 (sync_file_range): Likewise.
26346 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
26347 Likewise.
26348 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
26349 Likewise.
26350 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
26351 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
26352 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
26353 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
26354 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
26355 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
26356 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
26357 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
26358 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
26359 Likewise.
26360 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26361 (__libc_read64): Likewise.
26362 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
26363 Likewise.
26364 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
26365 Likewise.
26366 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
26367 Likewise.
26368 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
26369 Likewise.
26370 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26371 (__libc_pread64): Likewise.
26372 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
26373 Likewise.
26374 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26375 (__libc_pwrite64): Likewise.
26376 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
26377 (sync_file_range): Likewise.
26378 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
26379 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
26380 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
26381 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
26382 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
26383 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
26384 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
26385 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
26386 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
26387 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26388 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26389 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
26390 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
26391 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
26392 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
26393 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
26394 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
26395 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26396 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
26397 Likewise.
26398 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
26399 Likewise.
26400 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
26401 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
26402 Likewise.
26403 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
26404 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
26405 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
26406 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
26407 Likewise.
26408 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
26409 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
26410 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
26411 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
26412 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
26413
26414 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
26415
26416 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
26417 Include dl-vdso.
26418 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
26419 Use VDSO routines for gettimeofday, clock_gettime if
26420 available.
26421 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
26422 Declare VDSO symbols.
26423 * sysdeps/unix/sysv/linux/arm/sysdep.h:
26424 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
26425 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26426 * sysdeps/unix/sysv/linux/arm/Versions: Add
26427 __vdso_clock_gettime.
26428
26429 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26430
26431 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
26432 be an inline implementation regardless of library is built within.
26433 (open_not_cancel_2): Likewise.
26434 (__read_nocancel): Likewise.
26435 (__write_nocancel): Likewise.
26436 (openat_not_cancel): Likewise.
26437 (openat_not_cancel_3): Likewise.
26438 (openat64_not_cancel): Likewise.
26439 (openat64_not_cancel_3): Likewise.
26440 (__close_nocancel): Likewise.
26441 (pause_not_cancel): Likewise.
26442 (nanosleep_not_cancel): Likewise.
26443 (sigsuspend_not_cancel): Likewise.
26444
26445 2015-06-04 Torvald Riegel <triegel@redhat.com>
26446
26447 [BZ #14958]
26448 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
26449 wake-up.
26450 (__pthread_rwlock_rdlock_slow): Likewise.
26451 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26452 Likewise.
26453 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
26454 Likewise.
26455 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
26456 * nptl/tst-rwlock16.c: New file.
26457 * nptl/Makefile (tests): Add new test.
26458
26459 2015-06-04 Torvald Riegel <triegel@redhat.com>
26460
26461 [BZ #18324]
26462 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
26463 missing wake-up of readers.
26464 * nptl/tst-rwlock15.c: New file.
26465 * nptl/Makefile (tests): Add new test.
26466
26467 2015-06-03 Roland McGrath <roland@hack.frob.com>
26468
26469 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
26470 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
26471 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
26472 and __nacl_supply_interface_rtld.
26473 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
26474 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
26475 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
26476 Add __nacl_supply_interface_rtld.
26477 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
26478
26479 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
26480
26481 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
26482 isfinite.
26483 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26484 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
26485
26486 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
26487
26488 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
26489 __signbit* with standard C99 macros.
26490 * math/e_exp10l.c: Likewise.
26491 * math/e_exp2l.c: Likewise.
26492 * math/e_scalb.c: Likewise.
26493 * math/e_scalbf.c: Likewise.
26494 * math/e_scalbl.c: Likewise.
26495 * math/s_ldexp.c: Likewise.
26496 * math/s_ldexpf.c: Likewise.
26497 * math/s_ldexpl.c: Likewise.
26498 * math/w_atan2.c: Likewise.
26499 * math/w_atan2f.c: Likewise.
26500 * math/w_atan2l.c: Likewise.
26501 * math/w_cosh.c: Likewise.
26502 * math/w_coshf.c: Likewise.
26503 * math/w_coshl.c: Likewise.
26504 * math/w_exp10.c: Likewise.
26505 * math/w_exp10f.c: Likewise.
26506 * math/w_exp10l.c: Likewise.
26507 * math/w_exp2.c: Likewise.
26508 * math/w_exp2f.c: Likewise.
26509 * math/w_exp2l.c: Likewise.
26510 * math/w_fmod.c: Likewise.
26511 * math/w_fmodf.c: Likewise.
26512 * math/w_fmodl.c: Likewise.
26513 * math/w_hypot.c: Likewise.
26514 * math/w_hypotf.c: Likewise.
26515 * math/w_hypotl.c: Likewise.
26516 * math/w_jnl.c: Likewise.
26517 * math/w_lgamma.c: Likewise.
26518 * math/w_lgamma_r.c: Likewise.
26519 * math/w_lgammaf.c: Likewise.
26520 * math/w_lgammaf_r.c: Likewise.
26521 * math/w_lgammal.c: Likewise.
26522 * math/w_lgammal_r.c: Likewise.
26523 * math/w_pow.c: Likewise.
26524 * math/w_powf.c: Likewise.
26525 * math/w_powl.c: Likewise.
26526 * math/w_remainder.c: Likewise.
26527 * math/w_remainderf.c: Likewise.
26528 * math/w_remainderl.c: Likewise.
26529 * math/w_scalb.c: Likewise.
26530 * math/w_scalbf.c: Likewise.
26531 * math/w_scalbl.c: Likewise.
26532 * math/w_scalbln.c: Likewise.
26533 * math/w_scalblnf.c: Likewise.
26534 * math/w_scalblnl.c: Likewise.
26535 * math/w_sinh.c: Likewise.
26536 * math/w_sinhf.c: Likewise.
26537 * math/w_sinhl.c: Likewise.
26538 * math/w_tgamma.c: Likewise.
26539 * math/w_tgammaf.c: Likewise.
26540 * math/w_tgammal.c: Likewise.
26541 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26542 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
26543 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26544 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26545 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26546 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26547 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26548 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26549 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26550 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26551 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26552 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26553 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26554 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26555 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26556 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26557 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26558 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26559 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26560 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26561 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26562 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26563 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26564 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26565 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26566 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26567 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
26568 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26569 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26570 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26571 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
26572 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
26573 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
26574 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
26575 * stdio-common/printf_fp.c: Likewise.
26576 * stdio-common/printf_fphex.c: Likewise.
26577 * stdio-common/printf_size.c: Likewise.
26578
26579 2015-06-03 Joseph Myers <joseph@codesourcery.com>
26580
26581 [BZ #18470]
26582 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
26583 strnlen.
26584 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
26585 Remove variable.
26586 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26587 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26588 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26589 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26590 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26591 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26592 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26593 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26594 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26595 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26596
26597 [BZ #18468]
26598 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
26599 weak alias of __wmemchr. Use libc_hidden_weak.
26600 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
26601 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
26602 instead of wmemchr.
26603
26604 2015-06-02 Roland McGrath <roland@hack.frob.com>
26605
26606 [BZ #18383]
26607 * elf/tst-tlsalign-extern.c: New file.
26608 * elf/tst-tlsalign-extern-static.c: New file.
26609 * elf/tst-tlsalign-vars.c: New file.
26610 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
26611 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
26612 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
26613 ($(objpfx)tst-tlsalign-extern-static): Likewise.
26614 (test-xfail-tst-tlsalign-extern-static): New variable.
26615
26616 2015-06-02 Joseph Myers <joseph@codesourcery.com>
26617
26618 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
26619 Use variable name _sc_err instead of err.
26620 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
26621 instead of ret.
26622 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
26623 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
26624 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
26625 (INLINE_SYSCALL): Likewise.
26626
26627 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
26628 * include/string.h (__strnlen): Use libc_hidden_proto.
26629 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
26630 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
26631 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
26632 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
26633 (libc_hidden_def): Undefine and redefine.
26634 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
26635 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
26636 __GI_strnlen.
26637 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
26638 libc_hidden_def.
26639 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
26640
26641 [BZ #18469]
26642 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
26643 weak alias of __towlower. Use libc_hidden_weak.
26644 (towupper): Rename to __towupper and define as weak alias of
26645 __towupper. Use libc_hidden_weak.
26646 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
26647 (__towupper): Likewise.
26648 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
26649 __towlower instead of towlower.
26650
26651 2015-06-02 Roland McGrath <roland@hack.frob.com>
26652
26653 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
26654 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
26655
26656 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26657
26658 * sysdeps/aarch64/libm-test-ulps: Update.
26659
26660 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26661
26662 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
26663 Define.
26664 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26665 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
26666 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26667 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26668 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
26669 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
26670 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
26671
26672 2015-06-01 Martin Sebor <msebor@redhat.com>
26673
26674 [BZ #18116]
26675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26676 (__setcontext): Use extended four-operand version of mtsf whenever
26677 possible.
26678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26679 (__novec_swapcontext): Likewise.
26680
26681 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26682
26683 * benchtests/scripts/compare_bench.py: New file.
26684 * benchtests/scripts/import_bench.py (mean): New function.
26685 (split_list): Likewise.
26686 (do_for_all_timings): Likewise.
26687 (compress_timings): Likewise.
26688
26689 * benchtests/scripts/import_bench.py: New file.
26690 * benchtests/scripts/validate_benchout.py: Import import_bench
26691 instead of jsonschema.
26692 (validate_bench): Remove function.
26693 (main): Use import_bench.
26694
26695 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
26696
26697 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
26698 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
26699
26700 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26701
26702 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26703
26704 2015-05-28 Roland McGrath <roland@hack.frob.com>
26705
26706 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
26707 set THREAD_SELF->tid to a magic value and futex-wake it.
26708 Pass its address to the thread_exit system call.
26709 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
26710 bit is clear.
26711 * sysdeps/nacl/lowlevellock.h: New file.
26712 * sysdeps/nacl/lll_timedwait_tid.c: New file.
26713
26714 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
26715 Add TIMEOUT to current time, don't subtract it.
26716
26717 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
26718
26719 [BZ #2981]
26720 [BZ #18422]
26721 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
26722 ($(objpfx)tst-audit2.out): Also depend on
26723 $(objpfx)tst-auditmod9b.so.
26724 * elf/tst-audit2.c: Include <dlfcn.h>.
26725 (calloc_called): New.
26726 (calloc): Allow to be called more than once.
26727 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
26728
26729 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
26730
26731 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
26732 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
26733
26734 2015-05-27 Marko Myllynen <myllynen@redhat.com>
26735
26736 * stdlib/monetary.h: Fix comment.
26737
26738 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
26739
26740 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
26741 Avoid using variables in #defines that might cause shadowing.
26742 (INTERNAL_VSYSCALL_CALL): Likewise.
26743
26744 2015-05-26 Roland McGrath <roland@hack.frob.com>
26745
26746 * sysdeps/nacl/lll_timedlock_wait.c: New file.
26747
26748 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
26749 * nptl/lll_timedlock_wait.c: ... to this new file.
26750 * nptl/Makefile (libpthread-routines): Add it.
26751 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
26752 * nptl/lll_timedwait_tid.c: ... to this new file.
26753 * nptl/Makefile (libpthread-routines): Add it.
26754 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
26755 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
26756 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
26757 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
26758 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
26759 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
26760 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
26761 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
26762 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
26763 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
26764
26765 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26766
26767 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
26768 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26769 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26770 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
26771 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
26772 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26773 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26774 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26775 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26776 * sysdeps/unix/sysv/linux/tile/sysdep.h
26777 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26778 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
26779 using vDSO syscall macro.
26780
26781 2015-05-26 Andriy Rysin <arysin@gmail.com>
26782
26783 [BZ #17293]
26784 * uk_UA: Fix sorting order for Ukrainian locale
26785
26786 2015-05-26 Marko Myllynen <myllynen@redhat.com>
26787
26788 * stdlib/monetary.h: Fix comment.
26789
26790 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
26791
26792 [BZ #18234]
26793 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
26794 st_mtim and st_ctim members.
26795 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
26796 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
26797 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
26798 (struct stat64): Likewise.
26799 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
26800 (struct stat64): Likewise.
26801 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
26802 (struct stat64): Likewise.
26803
26804 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26805
26806 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
26807 Define and include sysdep-vdso.h.
26808 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
26809 Likewise.
26810 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
26811 Likewise.
26812 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
26813 Define with VDSO_SYMBOL and use PTR_MANGLE.
26814 (__vdso_clock_gettime): Likewise.
26815 (__vdso_clock_getres): Likewise.
26816 (_libc_vdso_platform_setup): Likewise.
26817 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
26818 Likewise.
26819 (_libc_vdso_platform_setup): Likewise.
26820 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
26821 Likewise.
26822 (__vdso_clock_gettime): Likewise.
26823 (__vdso_clock_getres): Likewise.
26824 (__vdso_get_tbfreq): Likewise.
26825 (__vdso_getcpu): Likewise.
26826 (__vdso_time): Likewise.
26827 (__vdso_sigtramp_rt64): Likewise.
26828 (__vdso_signtramp32): Likewise.
26829 (__vdso_sigtramp_rt32): Likewise.
26830 (_libc_vdso_platform_setup): Likewise.
26831 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
26832 Likewise.
26833 (__vdso_clock_gettime): Likewise.
26834 (__vdso_clock_getres): Likewise.
26835 (_libc_vdso_platform_setup): Likewise.
26836 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
26837 Likewise.
26838 (__vdso_clock_gettime): Likewise.
26839 (_libc_vdso_platform_setup): Likewise.
26840 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26841 Likewise.
26842 (__vdso_getcpu): Likewise.
26843 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
26844 Use VDSO_SYMBOL macro to define.
26845 (__vdso_clock_gettime): Likewise.
26846 (__vdso_clock_getres): Likewise.
26847 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
26848 Likewise.
26849 (__vdso_clock_gettime): Likewise.
26850 (__vdso_clock_getres): Likewise.
26851 (__vdso_get_tbfreq): Likewise.
26852 (__vdso_getcpu): Likewise.
26853 (__vdso_time): Likewise.
26854 (__vdso_sigtramp_rt64): Likewise.
26855 (__vdso_signtramp32): Likewise.
26856 (__vdso_sigtramp_rt32): Likewise.
26857 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
26858 Likewise.
26859 (__vdso_clock_gettime): Likewise.
26860 (__vdso_clock_getres): Likewise.
26861 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
26862 Likewise.
26863 (__vdso_clock_gettime): Likewise.
26864 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
26865 Likewise.
26866 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
26867 macro.
26868 (INTERNAL_VSYSCALL): Likewise.
26869 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
26870 Remove macro.
26871 (INTERNAL_VSYSCALL): Likewise.
26872 (INTERNAL_VSYSCALL_NCS): Likewise.
26873 (INTERNAL_VSYSCALL_CALL): New macro.
26874 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26875 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
26876 Likewise.
26877 (INTERNAL_VSYSCALL): Likewise.
26878 (INTERNAL_VSYSCALL_NCS): Likewise.
26879 (INTERNAL_VSYSCALL_CALL): New macro.
26880 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26882 (INLINE_VSYSCALL): Remove macro.
26883 (INTERNAL_VSYSCALL): Remove macro.
26884 (INTERNAL_VSYSCALL_NCS): Remove macro.
26885 (INTERNAL_VSYSCALL_CALL): New macro.
26886 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
26887 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
26888 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26889 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
26890 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26891 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26892 (INLINE_VSYSCALL): Remove macro.
26893 (INTERNAL_VSYSCALL): Likewise.
26894 (INTERNAL_VSYSCALL_NCS): Likewise.
26895 (INTERNAL_VSYSCALL_CALL): New macro.
26896 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
26897 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
26898 PTR_DEMANGLE on vDSO pointer.
26899 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26900 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
26901 macro.
26902 (INTERNAL_SYSCALL): Likewise.
26903 (INTERNAL_VSYSCALL_NCS): Remove macro.
26904 (INTERNAL_VSYSCALL_CALL): New macro.
26905 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
26906 Remove macro.
26907 (INTERNAL_VSYSCALL): Likewise.
26908 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
26909 sysdep-vdso.h instead of libc-vdso.h.
26910 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
26911 definition.
26912 (INLINE_VSYSCALL): Likewise.
26913 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
26914 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
26915 definition.
26916 (INLINE_VSYSCALL): Likewise.
26917 (INTERNAL_VSYSCALL): Likewise.
26918 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26919 * sysdeps/unix/sysv/linux/timespec_get.c
26920 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26921 (timespec_get): Use ANSI prototype.
26922 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
26923 and definition for Linux.
26924
26925 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
26926
26927 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
26928 * include/libc-symbols.h: libmvec_hidden_* macro series added.
26929
26930 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
26931
26932 [BZ #2981]
26933 [BZ #18410]
26934 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
26935 for missing DT_PLTRELSZ.
26936
26937 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
26938
26939 Remove obsolete aliases that broke 'locale -a'
26940 [BZ #18412]
26941 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
26942 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
26943 breaking some applications that use 'locale -a' output.
26944 Change the encoding of this file from Latin-1 to ASCII to avoid
26945 other potential problems with people grepping this file.
26946
26947 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26948
26949 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
26950 -fasynchronous-unwind-tables.
26951 (CFLAGS-sendto.c): Likewise.
26952 (CFLAGS-sendmsg.c): Likewise.
26953 (CFLAGS-connect.c): Likewise.
26954 (CFLAGS-recvmsg.c): Likewise.
26955 (CFLAGS-recvfrom.c): Likewise.
26956 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
26957 (SOCKETCALL): New macro: non-cancellable socketcall.
26958 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
26959 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
26960 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
26961 * sysdeps/unix/sysv/linux/accept.c: New file.
26962 * sysdeps/unix/sysv/linux/bind.c: Likewise.
26963 * sysdeps/unix/sysv/linux/connect.c: Likewise.
26964 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
26965 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
26966 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
26967 * sysdeps/unix/sysv/linux/listen.c: Likewise.
26968 * sysdeps/unix/sysv/linux/recv.c: Likewise.
26969 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
26970 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
26971 * sysdeps/unix/sysv/linux/send.c: Likewise.
26972 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
26973 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
26974 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
26975 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
26976 * sysdeps/unix/sysv/linux/socket.c: Likewise.
26977 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
26978 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
26979 prototype.
26980 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
26981 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26982 instead of __internal_xxx function.
26983 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
26984 prototype.
26985 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
26986 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26987 instead of __internal_xxx function.
26988 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
26989 prototype.
26990 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
26991 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26992 instead of __internal_xxx function.
26993 * sysdeps/unix/sysv/linux/accept.S: Remove file.
26994 * sysdeps/unix/sysv/linux/bind.S: Likewise.
26995 * sysdeps/unix/sysv/linux/connect.S: Likewise.
26996 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
26997 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
26998 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
26999 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
27000 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
27001 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
27002 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
27003 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
27004 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
27005 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
27006 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
27007 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
27008 * sysdeps/unix/sysv/linux/listen.S: Likewise.
27009 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
27010 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
27011 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
27012 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
27013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
27014 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
27015 * sysdeps/unix/sysv/linux/recv.S: Likewise.
27016 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
27017 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
27018 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
27019 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27020 * sysdeps/unix/sysv/linux/send.S: Likewise.
27021 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
27022 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
27023 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
27024 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
27025 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
27026 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
27027 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
27028 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
27029 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
27030 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
27031 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
27032 socketcall is implemented in GLIBC.
27033
27034 2015-05-22 Joseph Myers <joseph@codesourcery.com>
27035
27036 * soft-fp/fmadf4.c: Include <libc-internal.h>.
27037 (__fma): Ignore uninitialized warnings around packing.
27038 * soft-fp/fmasf4.c: Include <libc-internal.h>.
27039 (__fmaf): Ignore uninitialized warnings around packing.
27040 * soft-fp/fmatf4.c: Include <libc-internal.h>.
27041 (__fmal): Ignore uninitialized warnings around packing.
27042
27043 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
27044 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
27045 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
27046 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
27047
27048 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
27049 switch statement into default case.
27050 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
27051
27052 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
27053 a conditional in forcing "inexact".
27054 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27055 Likewise.
27056
27057 2015-05-22 Roland McGrath <roland@hack.frob.com>
27058
27059 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27060 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
27061 for each INTERNAL_SYSCALL use.
27062
27063 2015-05-22 Joseph Myers <joseph@codesourcery.com>
27064
27065 [BZ #438]
27066 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
27067 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
27068 variable.
27069
27070 [BZ #18444]
27071 * string/basename.c (basename): Rename to __basename and define as
27072 weak alias of __basename. Use libc_hidden_weak.
27073 * include/string.h (__basename): Declare. Use libc_hidden_proto.
27074 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
27075 __basename instead of basename.
27076 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
27077 Remove variable.
27078 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
27079
27080 2015-05-18 Florian Weimer <fweimer@redhat.com>
27081
27082 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
27083 (_IO_JUMPS_FILE_plus): New.
27084 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
27085 _IO_CAST_FIELD_ACCESS.
27086 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
27087 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
27088 * libio/freopen.c (freopen): Likewise.
27089 * libio/freopen64.c (freopen64): Likewise.
27090 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
27091 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
27092 * libio/iofwide.c (_IO_fwide): Likewise.
27093 * libio/memstream.c (open_memstream): Likewise.
27094 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27095 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
27096 * libio/oldiopopen.c (_IO_old_popen): Likewise.
27097
27098 2015-05-21 Joseph Myers <joseph@codesourcery.com>
27099
27100 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
27101 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
27102 NADJ.
27103 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
27104 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
27105 NADJ.
27106 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
27107 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
27108 NADJ.
27109
27110 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
27111 (p == 4) case.
27112
27113 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
27114 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
27115 Remove variable.
27116 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
27117 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
27118 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
27119
27120 2015-05-21 Florian Weimer <fweimer@redhat.com>
27121
27122 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
27123 Adjust jump table label generation macros.
27124
27125 2015-05-21 Florian Weimer <fweimer@redhat.com>
27126
27127 * stdio-common/vfprintf.c (vfprintf): Move local variables
27128 args_malloced, specs, specs_malloced, and the code after
27129 do_positional to the printf_positional function.
27130 (printf_positional): New function.
27131
27132 2015-05-21 Florian Weimer <fweimer@redhat.com>
27133
27134 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
27135 function.
27136 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
27137 STEP4_TABLE, process_arg): Move macro definitions
27138 out of the vfprintf function. (Cosmetic change only.)
27139
27140 2015-05-21 Carlos O'Donell <carlos@redhat.com>
27141
27142 * benchtests/Makefile (stdio-common-bench): Define.
27143 (benchset): Add stdio-common-bench.
27144 * sprintf-inputs: New file.
27145 * sprintf-source.c: New file.
27146
27147 2015-05-21 Andreas Schwab <schwab@suse.de>
27148
27149 [BZ #13028]
27150 [BZ #17053]
27151 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
27152 of struct __res_state.
27153 * resolv/res_send.c (__libc_res_nsend): Likewise.
27154 (get_nsaddr): New function.
27155 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
27156 statp directly.
27157
27158 2015-05-20 Joseph Myers <joseph@codesourcery.com>
27159
27160 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
27161 -D_POSIX_C_SOURCE=199506L.
27162
27163 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
27164
27165 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
27166 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
27167 Do not mention otherwise.
27168 [POSIX] (_XOPEN_VERSION): Do not expect.
27169 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
27170 [POSIX] (_POSIX2_C_BIND): Likewise.
27171 [POSIX] (_POSIX2_VERSION): Likewise.
27172 [POSIX] (_XOPEN_XPG2): Likewise.
27173 [POSIX] (_XOPEN_XPG3): Likewise.
27174 [POSIX] (_XOPEN_XPG4): Likewise.
27175 [POSIX] (_XOPEN_UNIX): Likewise.
27176 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
27177 [POSIX] (_POSIX_BARRIERS): Likewise.
27178 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
27179 [POSIX] (_POSIX_CPUTIME): Likewise.
27180 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
27181 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
27182 [POSIX] (_POSIX_SHELL): Likewise.
27183 [POSIX] (_POSIX_SPAWN): Likewise.
27184 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
27185 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
27186 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
27187 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
27188 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
27189 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
27190 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
27191 [POSIX] (_XBS5_LP64_OFF64): Likewise.
27192 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
27193 [POSIX] (_POSIX_TIMEOUTS): Likewise.
27194 [POSIX] (_POSIX2_PBS): Likewise.
27195 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
27196 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
27197 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
27198 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
27199 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
27200 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
27201 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
27202 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
27203 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
27204 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
27205 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
27206 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
27207 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
27208 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
27209 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
27210 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
27211 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
27212 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
27213 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
27214 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
27215 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
27216 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
27217 [POSIX] (_SC_2_C_BIND): Likewise.
27218 [POSIX] (_SC_2_C_VERSION): Likewise.
27219 [POSIX] (_SC_2_PBS): Likewise.
27220 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
27221 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
27222 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
27223 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
27224 [POSIX] (_SC_2_PBS_TRACK): Likewise.
27225 [POSIX] (_SC_ATEXIT_MAX): Likewise.
27226 [POSIX] (_SC_BARRIERS): Likewise.
27227 [POSIX] (_SC_BASE): Likewise.
27228 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
27229 [POSIX] (_SC_DEVICE_IO): Likewise.
27230 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
27231 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
27232 [POSIX] (_SC_FD_MGMT): Likewise.
27233 [POSIX] (_SC_FIFO): Likewise.
27234 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
27235 [POSIX] (_SC_FILE_LOCKING): Likewise.
27236 [POSIX] (_SC_FILE_SYSTEM): Likewise.
27237 [POSIX] (_SC_IOV_MAX): Likewise.
27238 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
27239 [POSIX] (_SC_NETWORKING): Likewise.
27240 [POSIX] (_SC_PAGE_SIZE): Likewise.
27241 [POSIX] (_SC_PASS_MAX): Likewise.
27242 [POSIX] (_SC_PIPE): Likewise.
27243 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
27244 [POSIX] (_SC_REGEXP): Likewise.
27245 [POSIX] (_SC_SHELL): Likewise.
27246 [POSIX] (_SC_SIGNALS): Likewise.
27247 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
27248 [POSIX] (_SC_SPIN_LOCKS): Likewise.
27249 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
27250 [POSIX] (_SC_USER_GROUPS): Likewise.
27251 [POSIX] (_SC_USER_GROUPS_R): Likewise.
27252 [POSIX] (_SC_STREAMS): Likewise.
27253 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
27254 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
27255 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
27256 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
27257 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
27258 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
27259 [POSIX] (_PC_FILESIZEBITS): Likewise.
27260 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
27261 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
27262 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
27263 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
27264 [POSIX] (uid_t): Likewise.
27265 [POSIX] (gid_t): Likewise.
27266 [POSIX] (off_t): Likewise.
27267 [POSIX] (pid_t): Likewise.
27268 [POSIX] (cuserid): Allow.
27269 (_SC_2_CHAR_TERM): Require constant.
27270 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
27271 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
27272 variable.
27273
27274 2015-05-20 Roland McGrath <roland@hack.frob.com>
27275
27276 * sysdeps/nacl/pthread-pids.h: New file.
27277 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
27278 (create_thread): Use __nacl_get_tid to initialize PD->tid.
27279
27280 * nptl/pthread-pids.h: New file.
27281 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
27282 * nptl/nptl-init.c: Include <pthread-pids.h>.
27283 (__pthread_initialize_minimal_internal):
27284 Call __pthread_initialize_pids instead of set_tid_address syscall.
27285
27286 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
27287 * sysdeps/posix/usleep.c: ... here.
27288
27289 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27290
27291 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
27292 call_pselect6 object.
27293 [$(subdir) = io]: Remove call_sync_file_range object.
27294 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
27295 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
27296 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
27297 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
27298
27299 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
27300
27301 * math/s_cproj.c: Add include "math_private.h".
27302 * math/s_cprojf.c: Likewise.
27303 * math/s_cprojl.c: Likewise.
27304
27305 2015-05-19 Joseph Myers <joseph@codesourcery.com>
27306
27307 [BZ #18244]
27308 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
27309 high mantissa bit when testing whether P is a NaN.
27310 * math/libm-test.inc (remainder_test_data): Add more tests.
27311 (remquo_test_data): Likewise.
27312
27313 [BZ #18049]
27314 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
27315 below -32, return the argument, with underflow if subnormal.
27316 * math/auto-libm-test-in: Add more tests of atanh.
27317 * math/auto-libm-test-out: Regenerated.
27318
27319 2015-05-19 Roland McGrath <roland@hack.frob.com>
27320
27321 [BZ #18434]
27322 * nptl/tst-sem15.c: New file.
27323 * nptl/Makefile (tests): Add it.
27324 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
27325 s/<</>>/ to fix typo in EOVERFLOW check.
27326 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
27327
27328 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27329
27330 * manual/strings.texi (envz_remove): Fix typo in safety
27331 annotations.
27332
27333 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
27334 Steve Ellcey <sellcey@imgtec.com>
27335
27336 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
27337 in order to avoid strict alias warnings.
27338 (iruserok_af): Ditto for ra.
27339
27340 2015-05-19 James Lemke <jwlemke@codesourcery.com>
27341
27342 [BZ #17581]
27343 * malloc/hooks.c
27344 (magicbyte): Convert to a function and avoid returning 0x01.
27345 (mem2mem_check): Avoid using a length byte equal to the magic byte.
27346 (mem2chunk_check): Fix unsigned comparisons to zero.
27347 Hoist defs of sz and magic.
27348
27349 2015-05-19 Richard Henderson <rth@redhat.com>
27350
27351 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
27352
27353 * sysdeps/alpha/fpu/libm-test-ulps: Update.
27354
27355 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27356
27357 [BZ #16159]
27358 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
27359 * malloc/arena.c (arena_lock): Check if arena is corrupt.
27360 (reused_arena): Find a non-corrupt arena.
27361 (heap_trim): Pass arena to unlink.
27362 * malloc/hooks.c (malloc_check_get_size): Pass arena to
27363 malloc_printerr.
27364 (top_check): Likewise.
27365 (free_check): Likewise.
27366 (realloc_check): Likewise.
27367 * malloc/malloc.c (malloc_printerr): Add arena argument.
27368 (unlink): Likewise.
27369 (munmap_chunk): Adjust.
27370 (ARENA_CORRUPTION_BIT): New macro.
27371 (arena_is_corrupt): Likewise.
27372 (set_arena_corrupt): Likewise.
27373 (sysmalloc): Use mmap if there are no usable arenas.
27374 (_int_malloc): Likewise.
27375 (__libc_malloc): Don't fail if arena_get returns NULL.
27376 (_mid_memalign): Likewise.
27377 (__libc_calloc): Likewise.
27378 (__libc_realloc): Adjust for additional argument to
27379 malloc_printerr.
27380 (_int_free): Likewise.
27381 (malloc_consolidate): Likewise.
27382 (_int_realloc): Likewise.
27383 (_int_memalign): Don't touch corrupt arenas.
27384 * malloc/tst-malloc-backtrace.c: New test case.
27385
27386 * Makefile (summarize-tests): Fix return value on success.
27387
27388 * manual/string.texi (Envz Functions): Add envz_remove.
27389
27390 2015-05-18 Roland McGrath <roland@hack.frob.com>
27391
27392 * sysdeps/posix/opendir.c: Include <stdbool.h>.
27393 (invalid_name): New function, broken out of ...
27394 (__opendirat): ... here. Call it.
27395 (need_isdir_precheck): New function, broken out of ...
27396 (__opendirat): ... here. Call it.
27397 Use __fxstatat64, not __xstatat64.
27398 (opendir_oflags): New function, broken out of ...
27399 (__opendirat): ... here. Call it.
27400 (opendir_tail): New function, broken out of ...
27401 (__opendirat): ... here. Call it.
27402 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
27403 opendir_tail, rather than punting to __opendirat.
27404 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
27405
27406 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27407
27408 * .gitignore: Ignore generated *.pyc.
27409
27410 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
27411
27412 * include/stdio.h: Define __need_wint_t.
27413 * test-skeleton.c: Avoid `for' loop initial declaration.
27414 * nptl/tst-initializers1.c: Use test-skeleton.c.
27415
27416 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27417
27418 [BZ #18418]
27419 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
27420
27421 2015-05-15 Joseph Myers <joseph@codesourcery.com>
27422
27423 [BZ #16352]
27424 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
27425 (__ieee754_atanh): Force underflow exception for results with
27426 small absolute value.
27427 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
27428 (__ieee754_atanhf): Force underflow exception for results with
27429 small absolute value.
27430 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
27431 (__ieee754_atanh): Force underflow exception for results with
27432 small absolute value.
27433 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
27434 (__ieee754_atanhf): Force underflow exception for results with
27435 small absolute value.
27436 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
27437 (__ieee754_atanhl): Force underflow exception for results with
27438 small absolute value.
27439 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
27440 (__ieee754_atanhl): Force underflow exception for results with
27441 small absolute value.
27442 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
27443 (__ieee754_atanhl): Force underflow exception for results with
27444 small absolute value.
27445 * math/auto-libm-test-in: Do not allow missing underflow
27446 exceptions from atanh.
27447 * math/auto-libm-test-out: Regenerated.
27448
27449 [BZ #18221]
27450 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
27451 2**-28 as threshold for returning x or +/- 1/x.
27452 * math/auto-libm-test-in: Add more tests of tan.
27453 * math/auto-libm-test-out: Regenerated.
27454
27455 [BZ #18220]
27456 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27457 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
27458 * math/auto-libm-test-in: Add another test of lgamma.
27459 * math/auto-libm-test-out: Regenerated.
27460
27461 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
27462
27463 * stdio-common/printf_fp.c (___printf_fp): Use abs.
27464 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
27465 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
27466 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
27467 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
27468 (ADD2A): Use fabs. (SUB2A): Use fabs.
27469 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
27470 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
27471 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
27472 (log1): Use fabs. (my_log2): Use fabs.
27473 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
27474 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
27475 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
27476 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
27477 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
27478 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
27479 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
27480 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
27481 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
27482 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
27483 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
27484
27485 2015-05-15 Joseph Myers <joseph@codesourcery.com>
27486
27487 [BZ #18217]
27488 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
27489 as threshold for returning 1 - x.
27490 * math/auto-libm-test-in: Add more tests of erfc.
27491 * math/auto-libm-test-out: Regenerated.
27492
27493 2015-05-14 Joseph Myers <joseph@codesourcery.com>
27494
27495 [BZ #18196]
27496 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
27497 threshold for large arguments.
27498 * math/auto-libm-test-in: Add another test of atan.
27499 * math/auto-libm-test-out: Regenerated.
27500
27501 [BZ #16339]
27502 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
27503 (__log1p): Force underflow exception for results with small
27504 absolute value.
27505 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
27506 (__log1pf): Force underflow exception for results with small
27507 absolute value.
27508 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
27509 (__log1p): Force underflow exception for results with small
27510 absolute value.
27511 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
27512 (__log1pf): Force underflow exception for results with small
27513 absolute value.
27514 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
27515 (__log1pl): Force underflow exception for results with small
27516 absolute value.
27517 * math/auto-libm-test-in: Do not allow missing underflow
27518 exceptions from log1p.
27519 * math/auto-libm-test-out: Regenerated.
27520
27521 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
27522 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27523
27524 [BZ #16704]
27525 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
27526
27527 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
27528
27529 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
27530 (libmvec): New variable.
27531 * configure.ac: Added option for mathvec build.
27532 * configure: Regenerated.
27533 * mathvec/Depend: New file.
27534 * mathvec/Makefile: New file.
27535 * shlib-versions: Added libmvec.
27536 * math/Makefile: Added rule for libm.so installation.
27537
27538 * bits/math-vector.h: New file.
27539 * bits/libm-simd-decl-stubs.h: New header.
27540 * math/Makefile (headers): Added new header
27541 libm-simd-decl-stubs.h.
27542 * math/math.h (__MATHCALL_VEC): New macro.
27543
27544 * math/gen-libm-have-vector-test.sh: Script generates series of macros
27545 for conditions in testing functions.
27546 * math/Makefile: Added call of libm-have-vector-test.sh.
27547 * math/libm-test.inc (HAVE_VECTOR): New macros.
27548
27549 * math/libm-test.inc: START refactored.
27550 * math/test-double.c (TEST_MATHVEC): Add define.
27551 * math/test-float.c: Likewise.
27552 * math/test-idouble.c: Likewise.
27553 * math/test-ifloat.c: Likewise.
27554 * math/test-ildoubl.c: Likewise.
27555 * math/test-ldouble.c: Likewise.
27556 * sysdeps/generic/math-tests-arch.h
27557 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
27558 architecture check.
27559
27560 * math/test-double.c (FUNC_TEST): New macro.
27561 * math/test-float.c: Likewise.
27562 * math/test-idouble.c: Likewise.
27563 * math/test-ifloat.c: Likewise.
27564 * math/test-ildoubl.c: Likewise.
27565 * math/test-ldouble.c: Likewise.
27566 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
27567
27568 2015-05-13 Roland McGrath <roland@hack.frob.com>
27569
27570 * sysdeps/nacl/fdopendir.c: New file.
27571
27572 * dirent/scandir-tail.c: New file.
27573 * dirent/scandir64-tail.c: New file.
27574 * dirent/Makefile (routines): Add them.
27575 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
27576 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
27577 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
27578 [!SCANDIR] (SCANDIR_TAIL): New macro.
27579 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
27580 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
27581 (SCANDIRAT): Macro removed.
27582 (SCANDIR_TAIL): New macro.
27583 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
27584 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
27585 (SCANDIRAT): Just call __opendirat and __scandir_tail.
27586 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
27587 (READDIR): Macro removed.
27588 (SCANDIR_TAIL): New macro.
27589 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
27590 (SCANDIR_TAIL): New macro.
27591
27592 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
27593 * dirent/scandir-cancel.c: ... to this new file.
27594 * dirent/Makefile (routines): Add it.
27595 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
27596 * sysdeps/unix/sysv/linux/i386/scandir64.c
27597 (SKIP_SCANDIR_CANCEL): Macro removed.
27598 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
27599
27600 * dirent/tst-scandir.c: New file.
27601 * dirent/tst-scandir64.c: New file.
27602 * dirent/Makefile (tests): Add them.
27603
27604 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
27605
27606 [BZ #18409]
27607 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
27608
27609 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27610
27611 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
27612 list.
27613
27614 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
27615
27616 * benchtests/bench-strcoll.c: New benchmark.
27617 * benchtests/Makefile: Generate locales and run benchmark.
27618 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
27619 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
27620 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
27621 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
27622 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
27623 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
27624 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
27625 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
27626 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
27627 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
27628 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
27629 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
27630 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
27631 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
27632 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
27633 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
27634 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
27635 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
27636 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
27637 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
27638 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
27639 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
27640 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
27641 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
27642
27643 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
27644
27645 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
27646 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27647
27648 2015-05-12 Roland McGrath <roland@hack.frob.com>
27649
27650 * posix/uname-values.h: New file.
27651 * posix/uname.c: Include that instead of <config-name.h>.
27652 * sysdeps/nacl/uname-values.h: New file.
27653 * sysdeps/arm/nacl/uname-values.h: New file.
27654
27655 2015-05-12 Joseph Myers <joseph@codesourcery.com>
27656
27657 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
27658 splitting into fields.
27659
27660 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
27661
27662 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
27663 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
27664 * locale/localeinfo.h: Add enum collation_encoding_type.
27665 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
27666 * programs/ld-collate.c (collate_output): Add encoding type info.
27667 * string/strcoll_l.c (STRDIFF): New function.
27668 * (STRCOLL): Use STRDIFF to skip over equal prefix.
27669 * wcsmbs/wcscoll_l.c: Define STRDIFF.
27670
27671 2015-05-11 Joseph Myers <joseph@codesourcery.com>
27672
27673 [BZ #18397]
27674 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
27675 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
27676 <fpu_control.h> instead of <math/fpu_control.c>.
27677 * sysdeps/mips/mips32/fpu/Makefile: New file.
27678
27679 2015-05-11 Andreas Schwab <schwab@suse.de>
27680
27681 [BZ #18007]
27682 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
27683 nss_endgrent.
27684 (_nss_compat_endgrent): Call nss_endgrent.
27685 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
27686 nss_endpwent.
27687 (_nss_compat_endpwent): Call nss_endpwent.
27688 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
27689 needent, call nss_setspent only if non-zero.
27690 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
27691 (internal_endspent): Don't call nss_endspent.
27692 (_nss_compat_endspent): Call nss_endspent.
27693 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
27694 Remove. All uses removed.
27695 (internal_setent): Remove parameter stayopen, add parameter
27696 stream. Use it instead of global variable.
27697 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
27698 (internal_endent, internal_getent): Add parameter stream. Use it
27699 instead of global variable.
27700 (CONCAT(_nss_files_end,ENTNAME))
27701 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
27702 (_nss_files_get##name##_r): Pass local stream. Remove locking.
27703 * nss/nss_files/files-alias.c (position, last_use): Remove. All
27704 uses removed.
27705 (internal_setent, internal_endent): Add parameter stream. Use it
27706 instead of global variable.
27707 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
27708 stream.
27709 (get_next_alias): Add parameter stream.
27710 (_nss_files_getaliasent_r): Pass global stream.
27711 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
27712 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
27713 (_nss_files_gethostbyname4_r): Pass local stream to
27714 internal_setent, internal_getent and internal_endent. Remove
27715 locking.
27716
27717 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
27718
27719 * tst-strfmon1.c (tests): Update expected currency symbol.
27720
27721 2015-05-08 Roland McGrath <roland@hack.frob.com>
27722
27723 * sysdeps/nacl/gethostname.c: New file.
27724
27725 2015-05-08 Joseph Myers <joseph@codesourcery.com>
27726
27727 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
27728 and sinh.
27729 * math/auto-libm-test-out: Regenerated.
27730 * sysdeps/i386/fpu/libm-test-ulps: Update.
27731 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27732
27733 2015-05-08 Carlos O'Donell <carlos@redhat.com>
27734
27735 [BZ #18125]
27736 * stdlib/tst-setcontext3.c: New file.
27737 * stdlib/tst-setcontext3.sh: New file.
27738 * stdlib/Makefile (tests): Add tst-setcontext3.
27739 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
27740 to verify test program created output file.
27741 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
27742 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
27743 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
27744 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
27745
27746 2015-05-06 Roland McGrath <roland@hack.frob.com>
27747
27748 [BZ #18383]
27749 * elf/tst-tlsalign.c: New file.
27750 * elf/tst-tlsalign-static.c: New file.
27751 * elf/tst-tlsalign-lib.c: New file.
27752 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
27753 (tests-static): Add tst-tlsalign-static.
27754 (modules-names): Add tst-tlsalign-lib.
27755 (test-xfail-tst-tlsalign): New variable.
27756 (test-xfail-tst-tlsalign-static): New variable.
27757
27758 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
27759 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
27760
27761 2015-05-06 Joseph Myers <joseph@codesourcery.com>
27762
27763 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
27764 csqrt, erfc, sin and sincos.
27765 * math/auto-libm-test-out: Regenerated.
27766 * sysdeps/i386/fpu/libm-test-ulps: Update.
27767 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27768
27769 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
27770
27771 * sysdeps/aarch64/libm-test-ulps: Update.
27772
27773 2015-05-05 Joseph Myers <joseph@codesourcery.com>
27774
27775 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
27776 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
27777 * math/auto-libm-test-out: Regenerated.
27778 * sysdeps/i386/fpu/libm-test-ulps: Update.
27779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27780
27781 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
27782
27783 [BZ #18265]
27784 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
27785 (wcsncpy): Likewise.
27786
27787 2015-05-05 Florian Weimer <fweimer@redhat.com>
27788
27789 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27790 Assume __ASSUME_FALLOCATE is always true.
27791 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27792 (__posix_fallocate64_l64): Likewise.
27793 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
27794 (posix_fallocate): Likewise.
27795 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
27796 (__posix_fallocate64_l64): Likewise.
27797 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27798 [!__ASSUME_FALLOCATE]: Add comment.
27799
27800 2015-05-05 Florian Weimer <fweimer@redhat.com>
27801
27802 * sysdeps/unix/sysv/linux/i386/Makefile
27803 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
27804 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
27805 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
27806 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27807 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27808 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
27809 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
27810
27811 2015-05-02 Joseph Myers <joseph@codesourcery.com>
27812
27813 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
27814 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
27815 tgamma.
27816 * math/auto-libm-test-out: Regenerated.
27817 * sysdeps/i386/fpu/libm-test-ulps: Update.
27818 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27819
27820 2015-05-01 Joseph Myers <joseph@codesourcery.com>
27821
27822 * math/auto-libm-test-in: Add more tests of tgamma.
27823 * math/auto-libm-test-out: Regenerated.
27824 * sysdeps/i386/fpu/libm-test-ulps: Update.
27825 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27826
27827 * math/auto-libm-test-in: Add more tests of tanh.
27828 * math/auto-libm-test-out: Regenerated.
27829 * sysdeps/i386/fpu/libm-test-ulps: Update.
27830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27831
27832 * math/auto-libm-test-in: Add more tests of tan.
27833 * math/auto-libm-test-out: Regenerated.
27834 * sysdeps/i386/fpu/libm-test-ulps: Update.
27835 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27836
27837 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
27838 * math/auto-libm-test-out: Regenerated.
27839 * sysdeps/i386/fpu/libm-test-ulps: Update.
27840 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27841
27842 * math/auto-libm-test-in: Add another test of pow.
27843 * math/auto-libm-test-out: Regenerated.
27844 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27845
27846 * math/auto-libm-test-in: Add more tests of lgamma.
27847 * math/auto-libm-test-out: Regenerated.
27848 * sysdeps/i386/fpu/libm-test-ulps: Update.
27849 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27850
27851 * math/auto-libm-test-in: Add more tests of log, log10, log2 and
27852 log1p.
27853 * math/auto-libm-test-out: Regenerated.
27854 * sysdeps/i386/fpu/libm-test-ulps: Update.
27855 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27856
27857 2015-05-01 Mark Wielaard <mjw@redhat.com>
27858
27859 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
27860 Elf64_Chdr structs and ELFCOMPRESS constants.
27861
27862 2015-05-01 Joseph Myers <joseph@codesourcery.com>
27863
27864 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
27865 expm1.
27866 * math/auto-libm-test-out: Regenerated.
27867 * sysdeps/i386/fpu/libm-test-ulps: Update.
27868 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27869
27870 * math/auto-libm-test-in: Add more tests of erf and erfc.
27871 * math/auto-libm-test-out: Regenerated.
27872 * sysdeps/i386/fpu/libm-test-ulps: Update.
27873 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27874
27875 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
27876
27877 * config.h.in (HAVE_AARCH64_BE): Add.
27878
27879 2015-04-30 Joseph Myers <joseph@codesourcery.com>
27880
27881 * math/auto-libm-test-in: Add more tests of csqrt.
27882 * math/auto-libm-test-out: Regenerated.
27883 * sysdeps/i386/fpu/libm-test-ulps: Update.
27884 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27885
27886 * math/auto-libm-test-in: Add more tests of cosh and sinh.
27887 * math/auto-libm-test-out: Regenerated.
27888 * sysdeps/i386/fpu/libm-test-ulps: Update.
27889 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27890
27891 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
27892
27893 2015-04-29 Roland McGrath <roland@hack.frob.com>
27894
27895 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
27896 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
27897
27898 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
27899 (euidaccess, eaccess): Define as weak aliases.
27900
27901 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
27902 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
27903 but __suseconds_t is often 'long int' so some sources assume that
27904 type is being used (e.g. they use %ld to print tv_usec).
27905
27906 2015-04-29 Florian Weimer <fweimer@redhat.com>
27907
27908 [BZ #18007]
27909 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
27910 (CVE-2014-8121)
27911 * nss/tst-nss-getpwent.c: New file.
27912 * nss/Makefile (tests): Add new test.
27913
27914 2015-04-28 Joseph Myers <joseph@codesourcery.com>
27915
27916 [BZ #18346]
27917 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
27918 exponents less than 48 as cases where high part of mantissa needs
27919 examining to determine whether argument is integral.
27920 * math/libm-test.inc (round_test_data): Add more tests.
27921
27922 2015-04-28 Mark Wielaard <mjw@redhat.com>
27923
27924 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
27925
27926 2015-04-27 David S. Miller <davem@davemloft.net>
27927
27928 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
27929 __tls_get_addr.
27930 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27931
27932 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
27933
27934 [BZ#18333]
27935 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
27936
27937 2015-04-27 Florian Weimer <fweimer@redhat.com>
27938
27939 [BZ#18333]
27940 * time/tzset.c (parse_tzname): Return error on memory allocation
27941 failure.
27942 * test-skeleton.c (struct temp_name_list): Change type of name
27943 member to non-const.
27944 (add_temp_file): Create a copy of the file name.
27945 (delete_temp_files): Deallocate memory.
27946 (create_temp_file): Add comment.
27947
27948 2015-04-24 Florian Weimer <fweimer@redhat.com>
27949
27950 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
27951 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
27952
27953 2015-04-24 Roland McGrath <roland@hack.frob.com>
27954
27955 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
27956 * sysdeps/arm/configure: Regenerated.
27957
27958 2015-04-24 Florian Weimer <fweimer@redhat.com>
27959
27960 [BZ #17715]
27961 * time/tzfile.c (__tzfile_read): Check for large values of
27962 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
27963 * time/tzset.c (__tzstring_len): New function, based on the old
27964 __tzstring function.
27965 (__tzstring): Call __tzstring_len.
27966 (parse_tzname): New helper function extracted from
27967 __tzset_parse_tz. Call __tzstring_len, without making a copy of
27968 the input string.
27969 (parse_offset): New helper function extracted from
27970 __tzset_parse_tz. Replace switch with fallthrough with
27971 initialization before sscanf.
27972 (parse_rule): Likewise.
27973 (__tzset_parse_tz): Rewrite using the new helper functions. Use
27974 new-style function definition.
27975 * timezone/Makefile (tests): Add tst-tzset.
27976 (tst-tzset.out): Dependencies on time zone files.
27977 (tst-tzset-ENV): Set TZDIR.
27978 (testdata/XT%): Copy crafted time zone files.
27979 * timezone/README: Mention crafted time zone files.
27980 * timezone/testdata/XT1, timezone/testdata/XT2,
27981 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
27982 files.
27983 * timezone/tst-tzset.c: New test.
27984
27985 2015-04-24 Florian Weimer <fweimer@redhat.com>
27986
27987 * Makeconfig (+gccwarn): Remove -Winline.
27988
27989 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
27990
27991 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
27992
27993 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
27994
27995 * NEWS: Mention sysconf() cache information support for s390.
27996 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
27997
27998 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
27999
28000 * math/k_casinh.c (__kernel_casinh): Use __copysign.
28001 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
28002 (__nearbyint): Likewise.
28003 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
28004 (copysignl): Likewise.
28005
28006 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
28007
28008 [BZ #18287]
28009 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
28010 based on padding. (CVE-2015-1781)
28011
28012 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28013
28014 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
28015 libc-vdso.h.
28016 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
28017 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
28018 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
28019 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
28020 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
28021 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
28022 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
28023 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28024 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28025 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
28026 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28027 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28028 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
28029 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
28030 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
28031 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
28032 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
28033 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
28034 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
28035 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
28036 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
28037 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
28038 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
28039
28040 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
28041
28042 * stdlib/setenv.c (__add_to_environ):
28043 Dump core quickly if setenv (..., NULL, ...) is called.
28044 This time, do it the right way, and pacify GCC with a pragma.
28045
28046 2015-04-17 Roland McGrath <roland@hack.frob.com>
28047
28048 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
28049 IMAP->l_prev cannot be null, and #if out the code for the contrary
28050 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
28051 believe that NS (&_dl_ns[NSID]) could point outside the array.
28052
28053 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
28054 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
28055 before using NSID as an index.
28056
28057 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
28058
28059 [BZ #17825]
28060 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
28061 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
28062 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
28063
28064 2015-04-17 Roland McGrath <roland@hack.frob.com>
28065
28066 Add preliminary port to Google Native Client on ARM.
28067 * abi-tags (.*-.*-nacl.*): New entry.
28068 * sysdeps/arm/nacl: New directory.
28069 * sysdeps/nacl: New directory.
28070
28071 2015-04-16 David S. Miller <davem@davemloft.net>
28072
28073 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
28074 lowlevellock-futex.h
28075
28076 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
28077
28078 * sysdeps/tile/configure.ac: New file.
28079 * sysdeps/tile/configure: Regenerated.
28080
28081 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28082
28083 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
28084 conditionals for weak_alias and libc_hidden_weak.
28085 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
28086 libc_hidden_weak and weak_alias.
28087 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
28088 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
28089 and weak_alias for static one.
28090
28091 2015-04-15 David S. Miller <davem@davemloft.net>
28092
28093 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28094
28095 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
28096
28097 [BZ #18206]
28098 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
28099 Use signed comparision instead of substraction to avoid
28100 overflow bug.
28101 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
28102 Take the sign of ret.
28103 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
28104 Do not expect precise return values. Only the sign matters.
28105 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
28106 * wcsmbs/test-wcsncmp.c: New File.
28107 * string/test-strncmp.c: Add wcsncmp support.
28108
28109 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
28110
28111 [BZ #6792]
28112 * math/w_log1p.c: New file.
28113 * math/w_log1pf.c: Likewise.
28114 * math/w_log1pl.c: Likewise.
28115 * math/Makefile (libm-calls): Add w_log1p.
28116 * math/s_log1pl.c (log1pl): Remove weak_alias.
28117 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
28118 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
28119 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
28120 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
28121 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
28122 [NO_LONG_DOUBLE] (log1pl): Likewise.
28123 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
28124 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
28125 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
28126 (log1p): Remove long_double_symbol.
28127 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
28128 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
28129 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
28130 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
28131 remove weak_alias for corresponding log1p function.
28132 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
28133 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
28134 * sysdeps/ia64/fpu/w_log1p.c: New file.
28135 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
28136 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
28137 * math/libm-test.inc (log1p_test_data): Add errno expectations.
28138
28139 2015-04-10 Joseph Myers <joseph@codesourcery.com>
28140
28141 [BZ #18247]
28142 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
28143 decimal exponent by 1.
28144 * stdlib/tst-strtod-round-data: Add more tests.
28145 * stdlib/tst-strtod-round.c (tests): Regenerated.
28146
28147 2015-04-09 Joseph Myers <joseph@codesourcery.com>
28148
28149 * math/auto-libm-test-in: Add more tests of clog and clog10.
28150 * math/auto-libm-test-out: Regenerated.
28151 * sysdeps/i386/fpu/libm-test-ulps: Update.
28152 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28153
28154 2015-04-09 Roland McGrath <roland@hack.frob.com>
28155
28156 * Makeconfig (module-cppflags): Exclude all .v.i files.
28157 (skip-module-cppflags): Variable removed.
28158
28159 * configure.ac (libc_config_ok): Initialize before reading
28160 preconfigure scripts, not after.
28161 * configure: Regenerated.
28162
28163 * test-skeleton.c (TIMEOUT): Move #define to top level.
28164 (main): Grok environment variable TEST_DIRECT. If set, print
28165 test expectation details into that file and then behave as if
28166 given --direct.
28167
28168 2015-04-09 Florian Weimer <fweimer@redhat.com>
28169
28170 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
28171 warning on 32-bit.
28172
28173 2015-04-08 David S. Miller <davem@davemloft.net>
28174
28175 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28176
28177 2015-04-08 Joseph Myers <joseph@codesourcery.com>
28178
28179 * math/auto-libm-test-in: Add more tests of atanh.
28180 * math/auto-libm-test-out: Regenerated.
28181 * sysdeps/i386/fpu/libm-test-ulps: Update.
28182 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28183
28184 * math/auto-libm-test-in: Add more tests of atan.
28185 * math/auto-libm-test-out: Regenerated.
28186 * sysdeps/i386/fpu/libm-test-ulps: Update.
28187 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28188
28189 2015-04-08 Florian Weimer <fweimer@redhat.com>
28190
28191 * elf/pldd.c (main): Rewrite to use struct
28192 scratch_buffer instead of extend_alloca.
28193 * elf/pldd-xx.c (find_maps): Likewise.
28194 * grp/initgroups.c: Include <scratch_buffer.h> instead of
28195 <alloca.h>.
28196 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
28197 scratch_buffer instead of extend_alloca.
28198 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
28199 grp/compat-initgroups.c.
28200 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
28201 Rewrite to use struct scratch_buffer instead of extend_alloca.
28202 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
28203 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28204
28205 2015-04-08 Joseph Myers <joseph@codesourcery.com>
28206
28207 * math/auto-libm-test-in: Add more tests of cbrt.
28208 * math/auto-libm-test-out: Regenerated.
28209 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28210
28211 * math/auto-libm-test-in: Add more tests of cabs.
28212 * math/auto-libm-test-out: Regenerated.
28213 * sysdeps/i386/fpu/libm-test-ulps: Update.
28214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28215
28216 [BZ #18210]
28217 [BZ #18211]
28218 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
28219 (__ieee754_atan2): Set FE_TONEAREST mode for internal
28220 computations.
28221 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
28222 clog10.
28223 * math/auto-libm-test-out: Regenerated.
28224 * sysdeps/i386/fpu/libm-test-ulps: Update.
28225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28226
28227 [BZ #18197]
28228 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
28229 (atan): Set FE_TONEAREST mode for internal computations.
28230 * math/auto-libm-test-in: Add more tests of atan.
28231 * math/auto-libm-test-out: Regenerated.
28232
28233 2015-04-07 James Cowgill <james410@cowgill.org.uk>
28234
28235 [BZ #17930]
28236 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
28237
28238 2015-04-07 Florian Weimer <fweimer@redhat.com>
28239
28240 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
28241
28242 2015-04-07 Florian Weimer <fweimer@redhat.com>
28243
28244 * include/scratch_buffer.h: New file.
28245 * malloc/scratch_buffer_grow.c: Likewise.
28246 * malloc/scratch_buffer_grow_preserve.c: Likewise.
28247 * malloc/scratch_buffer_set_array_size.c: Likewise.
28248 * malloc/tst-scratch_buffer.c: Likewise.
28249 * malloc/Makefile (routines): Add scratch_buffer_grow.
28250 (tests): Add test case.
28251 * malloc/Versions (GLIBC_PRIVATE): Export
28252 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
28253 __libc_scratch_buffer_set_array_size.
28254
28255 2015-04-06 Richard Henderson <rth@redhat.com>
28256
28257 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
28258 * sysdeps/alpha/fpu/libm-test-ulps: Update.
28259
28260 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
28261 unsigned int before printing.
28262
28263 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28264
28265 [BZ #17596]
28266 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
28267 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
28268
28269 2015-04-02 Florian Weimer <fweimer@redhat.com>
28270
28271 * include/libc-internal.h (libc_max_align_t): Define.
28272
28273 2015-04-02 Andreas Schwab <schwab@suse.de>
28274
28275 [BZ #16850]
28276 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
28277
28278 2015-04-02 Mel Gorman <mgorman@suse.de>
28279
28280 [BZ #17195]
28281 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
28282 as well as the main arena.
28283
28284 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
28285
28286 [BZ #18185]
28287 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
28288 sharing L2 cache to 2 for Silvermont/Knights Landing.
28289
28290 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
28291
28292 [BZ #17711]
28293 * config.make.in (have-protected-data): New.
28294 * configure.ac: Check linker support for protected data symbol.
28295 * configure: Regenerated.
28296 * elf/Makefile (modules-names): Add tst-protected1moda and
28297 tst-protected1modb if $(have-protected-data) is yes.
28298 (tests): Add tst-protected1a and tst-protected1b if
28299 $(have-protected-data) is yes.
28300 ($(objpfx)tst-protected1a): New.
28301 ($(objpfx)tst-protected1b): Likewise.
28302 (tst-protected1modb.so-no-z-defs): Likewise.
28303 * elf/tst-protected1a.c: New file.
28304 * elf/tst-protected1b.c: Likewise.
28305 * elf/tst-protected1mod.h: Likewise.
28306 * elf/tst-protected1moda.c: Likewise.
28307 * elf/tst-protected1modb.c: Likewise.
28308
28309 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
28310
28311 [BZ #17711]
28312 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
28313 indicates it is called from do_lookup_x on relocation against
28314 protected data, skip the data definion in the executable from
28315 copy reloc.
28316 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
28317 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
28318 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
28319 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
28320 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
28321 otherwise to 0.
28322 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
28323 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
28324 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
28325 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
28326 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
28327 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
28328
28329 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
28330
28331 * sysdeps/nptl/pthread.h: Remove duplicate definition of
28332 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
28333
28334 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
28335
28336 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
28337 THREAD_SETMEM_NC.
28338 * sysdeps/x86_64/nptl/tls.h: Ditto.
28339
28340 2015-03-27 Roland McGrath <roland@hack.frob.com>
28341
28342 * dlfcn/tststatic.c (main): Converted to ...
28343 (do_test): ... this.
28344 (TEST_FUNCTION): New macro.
28345 Include test-skeleton.c.
28346
28347 2015-03-26 Alan Modra <amodra@gmail.com>
28348
28349 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
28350 Don't segfault if ifunc resolver returns a NULL. Do set plt to
28351 zero for undefined weak.
28352 (elf_machine_plt_conflict): Similarly.
28353
28354 2015-03-25 Joseph Myers <joseph@codesourcery.com>
28355
28356 * math/auto-libm-test-in: Add more tests of acosh, asinh and
28357 atanh.
28358 * math/auto-libm-test-out: Regenerated.
28359 * sysdeps/i386/fpu/libm-test-ulps: Update.
28360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28361
28362 * math/auto-libm-test-in: Add another test of asin.
28363 * math/auto-libm-test-out: Regenerated.
28364 * sysdeps/i386/fpu/libm-test-ulps: Update.
28365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28366
28367 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
28368 Remove macro.
28369 (LLL_EBX_REG): Likewise.
28370 (LLL_ENTER_KERNEL): Likewise.
28371
28372 * math/auto-libm-test-in: Add more tests of asin.
28373 * math/auto-libm-test-out: Regenerated.
28374 * sysdeps/i386/fpu/libm-test-ulps: Update.
28375 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28376
28377 [BZ #18138]
28378 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
28379 libc_do_syscall_args): New structure.
28380 (INTERNAL_SYSCALL_MAIN_0): New macro.
28381 (INTERNAL_SYSCALL_MAIN_1): Likewise.
28382 (INTERNAL_SYSCALL_MAIN_2): Likewise.
28383 (INTERNAL_SYSCALL_MAIN_3): Likewise.
28384 (INTERNAL_SYSCALL_MAIN_4): Likewise.
28385 (INTERNAL_SYSCALL_MAIN_5): Likewise.
28386 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
28387 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
28388 Replace conditional definitions by conditional definitions of ....
28389 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
28390 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
28391 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
28392 (libpthread-sysdep_routines): Add libc-do-syscall.
28393 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
28394 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
28395 to __NR_futex not 240.
28396
28397 2015-03-25 Alan Modra <amodra@gmail.com>
28398
28399 * NEWS: Advertise TLS optimization.
28400 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
28401 (DT_PPC_NUM): Increment.
28402 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
28403 (CHECK_STATIC_TLS): Use here.
28404 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
28405 TLS descriptors.
28406 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28407 * sysdeps/powerpc/dl-tls.c: New file.
28408 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
28409 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
28410 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
28411 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
28412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
28413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
28414 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
28415
28416 2015-03-25 Alan Modra <amodra@gmail.com>
28417
28418 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
28419 for overlapping .opd entries" to "support...".
28420 * sysdeps/powerpc/powerpc64/configure: Regenerate
28421
28422 2015-03-25 Joseph Myers <joseph@codesourcery.com>
28423
28424 * math/auto-libm-test-in: Add more tests of acos.
28425 * math/auto-libm-test-out: Regenerated.
28426 * sysdeps/i386/fpu/libm-test-ulps: Update.
28427 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28428
28429 * math/auto-libm-test-in: Add more tests of expm1.
28430 * math/auto-libm-test-out: Regenerated.
28431 * sysdeps/i386/fpu/libm-test-ulps: Update.
28432 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28433
28434 2015-03-24 Joseph Myers <joseph@codesourcery.com>
28435
28436 * math/auto-libm-test-in: Add more tests of cosh and sinh.
28437 * math/auto-libm-test-out: Regenerated.
28438 * sysdeps/i386/fpu/libm-test-ulps: Update.
28439 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28440
28441 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28442 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28443
28444 * math/auto-libm-test-in: Add more tests of log2.
28445 * math/auto-libm-test-out: Regenerated.
28446 * sysdeps/i386/fpu/libm-test-ulps: Update.
28447 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28448
28449 2015-03-23 Roland McGrath <roland@hack.frob.com>
28450
28451 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
28452 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
28453 _IO_IS_APPENDING bit in READ_WRITE instead.
28454
28455 2015-03-23 Florian Weimer <fweimer@redhat.com>
28456
28457 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
28458 (__determine_cpumask_size): Replace extend_alloca with a
28459 variable-length array. Do not treat res == 0 as an error.
28460
28461 2015-03-23 Florian Weimer <fweimer@redhat.com>
28462
28463 [BZ #18100]
28464 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
28465 and integer overflow.
28466 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
28467 (main): Add integer overflow tests.
28468 * manual/pattern.texi (Calling Wordexp): Document additional use
28469 for WRDE_SYNTAX.
28470
28471 2015-03-23 Alan Modra <amodra@gmail.com>
28472
28473 * config.h.in: Remove HAVE_ASM_PPC_REL16.
28474 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
28475 and false branch of conditional.
28476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28477 Likewise.
28478
28479 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
28480
28481 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
28482 libc-modules.h
28483 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
28484 unused declaration of _hurd_intr_rpc_msg_in_trap.
28485 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
28486 defined instead of whether it is non-zero.
28487 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
28488 input constraint instead of both input and output constraint. Use ecx
28489 clobber instead of %ecx.
28490 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
28491 mutex_unlock): Use a statement expression instead of an expression list.
28492 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
28493 type to vm_size_t instead of vm_address_t.
28494 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
28495 defined instead of whether it is non-zero.
28496 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
28497 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
28498 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
28499 comparisons with mapaddr.
28500 * nscd/nscd-client.h: Include <time.h>.
28501 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
28502 9th parameter to __vm_region instead of int.
28503 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
28504 * scripts/check-local-headers.sh (exclude): Add device/,
28505 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
28506 cthreads.h.
28507
28508 2015-03-19 Roland McGrath <roland@hack.frob.com>
28509
28510 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
28511 to account for alignment padding.
28512 * sysdeps/arm/memmove.S: Likewise.
28513
28514 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
28515
28516 * sysdeps/unix/sysv/linux/generic/README: New file.
28517
28518 2015-03-18 Joseph Myers <joseph@codesourcery.com>
28519
28520 [BZ #18138]
28521 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
28522 (futex_abstimed_wait)
28523 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
28524 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
28525 of lll_futex_timed_wait.
28526
28527 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
28528
28529 [BZ #17542]
28530 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
28531
28532 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
28533
28534 [BZ #17090]
28535 [BZ #17620]
28536 [BZ #17621]
28537 [BZ #17628]
28538 * NEWS: Update.
28539 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
28540 entries with Static TLS too. Skip entries past the end of the
28541 allocated DTV, from Alan Modra.
28542 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
28543 Static TLS DTV entry set up from...
28544 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
28545 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
28546 * nptl/allocatestack.c (init_one_static_tls): ... and here...
28547 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
28548 for Static TLS.
28549 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
28550 that the slot we find is associated with the given map before
28551 using its generation count.
28552 * nptl_db/db_info.c: Include ldsodefs.h.
28553 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
28554 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
28555 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
28556 (link_map::l_tls_offset): New struct field.
28557 (dtv_t::counter): Likewise.
28558 (rtld_global): New struct.
28559 (_rtld_global): New rtld variable.
28560 (dl_tls_dtv_slotinfo_list): New rtld global field.
28561 (dtv_slotinfo_list): New struct.
28562 (dtv_slotinfo): Likewise.
28563 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
28564 (td_lookup): Rename to...
28565 (td_mod_lookup): ... this. Use new mod parameter instead of
28566 LIBPTHREAD_SO.
28567 * nptl_db/td_thr_tlsbase.c: Include link.h.
28568 (dtv_slotinfo_list, dtv_slotinfo): New functions.
28569 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
28570 addresses even if the DTV is out of date or missing them.
28571 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
28572 index zero-length arrays.
28573 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
28574 (td_lookup): Make it a macro implemented in terms of...
28575 (td_mod_lookup): ... this declaration.
28576 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
28577 (DB_MAIN_VARIABLE): Likewise.
28578
28579 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
28580
28581 [BZ #18134]
28582 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28583
28584 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
28585
28586 * stdlib/setenv.c (__add_to_environ): Revert previous change.
28587
28588 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
28589
28590 [BZ #18128]
28591 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
28592 (atomic_add, atomic_increment_and_test)
28593 (atomic_decrement_and_test): Fix 64-bit arithmetic.
28594
28595 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
28596
28597 * stdlib/setenv.c (__add_to_environ):
28598 Dump core quickly if setenv (..., NULL, ...) is called.
28599
28600 2015-03-13 Roland McGrath <roland@hack.frob.com>
28601
28602 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
28603 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
28604 all the necessary asm magic in one place.
28605 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
28606 using those.
28607
28608 2015-03-13 Carlos O'Donell <carlos@redhat.com>
28609
28610 [BZ #14906]
28611 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
28612 traced file mtime. Use consistent log message.
28613 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
28614 (register_traced_file): Call install_watches. Always set mtime.
28615 (invalidate_cache): Iterate over all trace files. Call install_watches.
28616 (inotify_check_files): Don't inline. Handle watching parent
28617 directories and configuration file movement in and out.
28618 (handle_inotify_events): New function.
28619 (main_loop_poll): Call handle_inotify_events.
28620 (main_loop_epoll): Likewise.
28621 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
28622 (struct traced_file): Use array of inotify fds. Add parent directory,
28623 and basename.
28624 (struct database_dyn): Remove unused file_mtime.
28625 (init_traced_file): New inline function.
28626 (define_traced_file): New macro.
28627 * nss/nss_db/db-init.c: Use define_traced_file.
28628 (_nss_db_init): Use init_traced_file.
28629 * nss/nss_files/files-init.c: Use define_traced_file.
28630 (_nss_files_init): Use init_traced_file.
28631
28632 2015-03-12 Joseph Myers <joseph@codesourcery.com>
28633
28634 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
28635 [_LIBC]: Do not include <stdlib.h>.
28636 [!_LIBC] (abort): Remove declaration.
28637 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
28638 _FP_STATIC_ASSERT instead of conditionally calling abort.
28639 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
28640 (_FP_EXTEND_CNAN): Likewise.
28641 (FP_TRUNC): Likewise.
28642 (__FP_CLZ): Likewise.
28643 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
28644
28645 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
28646
28647 * manual/string.texi (XPG basename): Fix prototype.
28648
28649 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
28650
28651 [BZ #18080]
28652 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
28653 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28654 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
28655 (__setcontext): Likewise.
28656 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
28657 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28658 Call rt_sigprocmask syscall one time to set new signal mask
28659 and retrieve the current signal mask instead of two calls.
28660 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
28661 (__swapcontext): Likewise.
28662 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
28663 * stdlib/tst-setcontext2.c: New file.
28664
28665 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
28666
28667 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28668
28669 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
28670
28671 [BZ #18093]
28672 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
28673 the wrong size.
28674
28675 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
28676
28677 [BZ #18043]
28678 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
28679
28680 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
28681
28682 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
28683 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
28684 Remove define.
28685 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
28686 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
28687 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
28688 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
28689 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
28690 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
28691 define.
28692 * nptl_db/td_symbol_list.c (td_lookup): Remove
28693 HAVE_ASM_GLOBAL_DOT_NAME code.
28694 * sysdeps/powerpc/powerpc64/configure.ac: Remove
28695 HAVE_ASM_GLOBAL_DOT_NAME check.
28696 * sysdeps/powerpc/powerpc64/configure: Regenerate.
28697 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
28698 (DOT_LABEL): Remove define.
28699 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
28700 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
28701 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
28702 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
28703 (__TLS_GET_ADDR): Likewise.
28704 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
28705 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
28706
28707 2015-03-11 Carlos O'Donell <carlos@redhat.com>
28708
28709 [BZ #18111]
28710 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
28711 (_FPU_SETCW): Initialize cw from fpsr before storing.
28712 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
28713 (fesetexceptflag): Rewrite using fpu_control.h.
28714 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
28715
28716 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
28717
28718 [BZ #18110]
28719 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
28720 asms.
28721 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28722
28723 2015-03-11 Joseph Myers <joseph@codesourcery.com>
28724
28725 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
28726 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
28727 abort.
28728 (_FP_FMA): Likewise.
28729 (_FP_DIV): Likewise.
28730
28731 2015-03-10 Roland McGrath <roland@hack.frob.com>
28732
28733 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
28734 with 0 in that case.
28735 * Makefile (summarize-tests): New canned sequence, factored out of
28736 commands for targets tests and xtests. Display summary lines that
28737 don't start with PASS: or XFAIL: rather than ones that do start with
28738 ERROR: or FAIL:. Make the commands fail if any summary lines fail
28739 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
28740 do start with ERROR: or FAIL:.
28741 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
28742 (except for [$(build-shared) = yes]).
28743 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
28744 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
28745 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
28746 * nptl/Makefile: Revert 2015-03-04 changes.
28747 [$(CXX) empty] (tests-unsupported): New variable.
28748 * debug/Makefile: Likewise.
28749
28750 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
28751 gnulib file. Replace __attribute with __attribute__ throughout.
28752
28753 2015-03-10 Carlos O'Donell <carlos@redhat.com>
28754
28755 * sysdeps/hppa/fpu/libm-test-ulps: Update.
28756
28757 2015-03-10 Joseph Myers <joseph@codesourcery.com>
28758
28759 [BZ #18104]
28760 * math/auto-libm-test-in: Add another test of pow.
28761 * math/auto-libm-test-out: Regenerated.
28762
28763 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28764
28765 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
28766 $(config-cflags-nofma).
28767
28768 2015-03-10 Joseph Myers <joseph@codesourcery.com>
28769
28770 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
28771 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
28772 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
28773 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
28774 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
28775 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
28776 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
28777 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
28778 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
28779 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
28780 Add comment on closing #endif.
28781
28782 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28783
28784 * posix/wordexp.c (CHAR_IN_SET): New macro.
28785 (parse_param): Use it.
28786
28787 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28788
28789 * sysdeps/powerpc/fpu/libm-test-ulps: update.
28790
28791 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28792
28793 [BZ #18043]
28794 * posix/wordexp.c (parse_param): Fix buffer overflow.
28795 * posix/wordexp-test.c (test_case): Add test case.
28796
28797 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28798
28799 [BZ #18042]
28800 * posix/wordexp.c (parse_backtick): Fix off-by-one.
28801 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
28802
28803 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28804
28805 [BZ #18043]
28806 * posix/wordexp-test.c (test_case): Add test for BZ #18043
28807 (do_bz18043): Delete.
28808 (at_page_end): New.
28809 (testit): Refactor to have words at the edge of unreadable page.
28810
28811 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28812
28813 [BZ #16734]
28814 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
28815 Cleanup read-only streams as well.
28816 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
28817
28818 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
28819
28820 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
28821 <bits/libc-lockP.h>
28822
28823 2015-03-07 Joseph Myers <joseph@codesourcery.com>
28824
28825 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
28826 on [__KERNEL__].
28827 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
28828 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
28829 * soft-fp/op-common.h (_FP_DECL): Likewise.
28830
28831 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
28832
28833 * elf/ifuncdep2.c (global): Replace
28834 __attribute__((visibility("protected"))) with
28835 asm (".protected global").
28836 * elf/ifuncmod1.c (global): Likewise.
28837 * elf/ifuncmod5.c (global): Likewise.
28838
28839 2015-03-06 Joseph Myers <joseph@codesourcery.com>
28840
28841 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
28842 <asm/sfp-machine.h> instead of <sfp-machine.h>.
28843
28844 2015-03-06 Roland McGrath <roland@hack.frob.com>
28845
28846 * manual/install.texi (Configuring and compiling):
28847 Document test-wrapper-env-only.
28848 * INSTALL: Regenerated.
28849
28850 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28851
28852 [BZ #18043]
28853 * posix/wordexp.c (parse_param): Fix buffer overflow.
28854 * posix/wordexp-test.c (do_bz18043): Add test case.
28855
28856 2015-03-06 Vincent Bernat <vincent@bernat.im>
28857
28858 * time/tst-strptime2.c (do_test): Ensure failing tests are
28859 reported correctly.
28860 * time/tst-strptime3.c (do_test): Likewise.
28861
28862 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
28863
28864 Fix aio_error thread-safety.
28865 * sysdeps/pthread/aio_error.c: New file
28866 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
28867 synchronization.
28868
28869 2015-03-06 Florian Weimer <fweimer@redhat.com>
28870
28871 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
28872 (group_number, vfprintf): Use it.
28873 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
28874 (JUMP, REF): Use it.
28875 (WORK_BUFFER_SIZE): New enum constant.
28876 (process_arg, vfprintf): Use it.
28877
28878 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
28879
28880 * manual/errno.texi (Error Messages): Complete example function
28881 by adding missing #define.
28882 (program_invocation_name): Add statement indicating GNU
28883 extension and reference which header file declares the variable.
28884 (program_invocation_short_name): Likewise.
28885
28886 2015-03-06 Mike Frysinger <vapier@gentoo.org>
28887
28888 * manual/errno.texi (Error Messages): Delete strerror ISO C89
28889 compatibility note.
28890
28891 2015-03-05 Roland McGrath <roland@hack.frob.com>
28892
28893 * Makeconfig (test-wrapper-env-only): New variable.
28894 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
28895 then use that with $(test-wrapper-env-only) rather than using
28896 $(test-wrapper-env) $(run-program-env) $($*-ENV).
28897
28898 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
28899
28900 [BZ #18082]
28901 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
28902 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
28903 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
28904 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
28905 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
28906 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
28907 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
28908 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
28909 Likewise.
28910 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
28911 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
28912 Likewise.
28913 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
28914 Likewise.
28915 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
28916 Likewise.
28917 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
28918 Likewise.
28919 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
28920 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
28921 Likewise.
28922 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
28923 Likewise.
28924 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
28925 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
28926
28927 2015-03-04 Roland McGrath <roland@hack.frob.com>
28928
28929 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
28930 (ETH_ALEN): New macro.
28931 (struct ether_addr): Use it for length of ether_addr_octet.
28932
28933 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
28934 (setdb): Don't call __nss_configure_lookup for "rpc".
28935 (do_test): Don't call test_rpc.
28936 (output_rpcent, test_rpc): Functions moved ...
28937 * sunrpc/test-rpcent.c: ... to this new file.
28938 * sunrpc/Makefile (tests): Add it.
28939
28940 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
28941 __xpg_sigpause.
28942 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
28943 * nptl/tst-signal6.c: Likewise.
28944 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
28945 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
28946
28947 * configure.ac (libc_cv_cxx_link_ok): New check.
28948 Reset CXX to empty if it fails to link.
28949 * configure: Regenerated.
28950 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
28951 bug-atexit3-lib only if $(CXX) is nonempty.
28952 * nptl/Makefile (tests): Likewise for tst-cancel24.
28953 (tests, tests-static): Likewise for tst-cancel24-static.
28954 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
28955 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
28956 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
28957 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
28958
28959 2015-03-04 Andreas Schwab <schwab@suse.de>
28960
28961 [BZ #17631]
28962 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
28963 for non-GCC compilers.
28964 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28965 Likewise.
28966
28967 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
28968
28969 [BZ #17776]
28970 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
28971 integer before bitwise and assembly operations.
28972 (feclearexcept): Likewise.
28973 * math/test-fenvinline.c: New file.
28974 * math/Makefile: Add test-fenvinline test.
28975
28976 2015-03-03 Alan Modra <amodra@gmail.com>
28977
28978 [BZ #16512]
28979 * scripts/localplt.awk: Strip off symbol version.
28980 * NEWS: Mention bug fix.
28981
28982 2015-03-02 Roland McGrath <roland@hack.frob.com>
28983
28984 * sysdeps/pthread/timer_routines.c
28985 (timer_free_list, thread_free_list, thread_active_list): Make static.
28986
28987 2015-03-02 Joseph Myers <joseph@codesourcery.com>
28988
28989 [BZ #17779]
28990 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28991 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28992 Undefine.
28993 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28994 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28995 Likewise.
28996 * sysdeps/unix/sysv/linux/sh/kernel-features.h
28997 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28998 Likewise.
28999
29000 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
29001
29002 [BZ #18036]
29003 * posix/fnmatch_loop.c (END): Detect invalid pattern.
29004 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
29005
29006 2015-03-02 Andreas Schwab <schwab@suse.de>
29007
29008 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
29009 variable name.
29010
29011 2015-03-02 Florian Weimer <fweimer@redhat.com>
29012
29013 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
29014 Return error status.
29015
29016 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
29017
29018 [BZ #15969]
29019 * locale/findlocale.c (_nl_find_locale): Introduce const
29020 version of loc_name and drop unsafe type casts.
29021
29022 2015-02-27 Roland McGrath <roland@hack.frob.com>
29023
29024 * dlfcn/tststatic2.c (main): Converted to ...
29025 (do_test): ... this.
29026 (TEST_FUNCTION): New macro.
29027 Include test-skeleton.c.
29028
29029 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
29030
29031 [BZ #17711]
29032 * elf/Makefile (tests): Add vismain only if PIE is enabled.
29033 (tests-pie): Add vismain.
29034 (CFLAGS-vismain.c): New.
29035 * elf/vismain.c: Add comments for PIE requirement.
29036
29037 2015-02-27 Joseph Myers <joseph@codesourcery.com>
29038
29039 [BZ #18046]
29040 [BZ #18047]
29041 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
29042 0x1p-56L as threshold for just returning the argument.
29043 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
29044 0x1p-32L as threshold for just returning the argument.
29045 * math/auto-libm-test-in: Add more tests of atanh.
29046 * math/auto-libm-test-out: Regenerated.
29047 * sysdeps/i386/fpu/libm-test-ulps: Update.
29048 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
29049
29050 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
29051
29052 * string/bcopy.c (bcopy): Call memmove for performance.
29053
29054 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
29055
29056 * string/bzero.c (__bzero): Call memset for performance.
29057
29058 2015-02-27 John David Anglin <dave.anglin@bell.net>
29059
29060 [BZ #18068]
29061 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
29062 to 00100000.
29063
29064 2015-02-27 Joseph Myers <joseph@codesourcery.com>
29065
29066 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
29067
29068 2015-02-26 Joseph Myers <joseph@codesourcery.com>
29069
29070 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
29071 (__kernel_standard): Use CSTR macro when setting exc.name.
29072 * sysdeps/ieee754/Makefile [$(subdir) = math]
29073 (CFLAGS-k_standard.c): Remove variable.
29074
29075 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
29076 setting p and q from "else if" to "else".
29077 (qzero): Likewise.
29078 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
29079 (qone): Likewise.
29080 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
29081 (qzerof): Likewise.
29082 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
29083 (qonef): Likewise.
29084 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
29085 (qzero): Likewise.
29086 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
29087 (qone): Likewise.
29088
29089 [BZ #18038]
29090 [BZ #18039]
29091 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
29092 return pi/2 for arguments below 0x1p-113L.
29093 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
29094 return pi/2 for arguments below 0x1p-106L.
29095 * math/auto-libm-test-in: Add more tests of acos.
29096 * math/auto-libm-test-out: Regenerated.
29097
29098 [BZ #16351]
29099 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
29100 (MO): New macro.
29101 (__ieee754_asin): Force underflow exception for results with small
29102 absolute value.
29103 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
29104 (MO): New macro.
29105 (__ieee754_asinf): Force underflow exception for results with
29106 small absolute value.
29107 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
29108 (__ieee754_asin): Force underflow exception for results with small
29109 absolute value.
29110 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
29111 (__ieee754_asinf): Force underflow exception for results with
29112 small absolute value.
29113 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
29114 (__ieee754_asinl): Force underflow exception for results with
29115 small absolute value.
29116 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
29117 (__ieee754_asinl): Force underflow exception for results with
29118 small absolute value.
29119 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
29120 (__ieee754_asinl): Force underflow exception for results with
29121 small absolute value.
29122 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
29123 Include <math.h>.
29124 * math/auto-libm-test-in: Do not mark underflow exceptions as
29125 possibly missing for bug 16351.
29126 * math/auto-libm-test-out: Regenerated.
29127
29128 [BZ #18030]
29129 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
29130 of power of 2 down when low part has opposite sign.
29131 * math/libm-test.inc (logb_test_data): Add more tests.
29132
29133 2015-02-26 Andreas Schwab <schwab@suse.de>
29134
29135 [BZ #18032]
29136 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
29137 over collating symbol inside a bracket expression. Minor cleanup.
29138 * posix/tst-fnmatch3.c (do_test): Add test case.
29139
29140 2015-02-26 Joseph Myers <joseph@codesourcery.com>
29141
29142 [BZ #18029]
29143 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
29144 Adjust exponent of power of 2 down when low part has opposite
29145 sign.
29146 * math/libm-test.inc (ilogb_test_data): Add more tests.
29147
29148 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
29149
29150 [BZ #15969]
29151 * locale/findlocale.c (_nl_find_locale): Fix constness error in
29152 the previous change.
29153
29154 [BZ #15969]
29155 * locale/findlocale.c (_nl_find_locale): Retry archive search
29156 after alias expansion.
29157
29158 2015-02-25 Roland McGrath <roland@hack.frob.com>
29159
29160 * iconv/tst-iconv3.c (main): Converted to ...
29161 (do_test): ... this.
29162 (TEST_FUNCTION): New macro.
29163 Include test-skeleton.c.
29164
29165 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
29166 (convert): Make function static.
29167 (test_unalign): Likewise. Add const to argument pointee types.
29168 (main): Replace with static function do_test.
29169 Print "Succeeded." only if RET is zero.
29170 (TEST_FUNCTION): New macro.
29171 Include test-skeleton.c.
29172
29173 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
29174 returns a null pointer.
29175
29176 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29177
29178 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
29179 to __memcpy_ppc only for static builds.
29180
29181 2015-02-25 Joseph Myers <joseph@codesourcery.com>
29182
29183 [BZ #18020]
29184 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
29185 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
29186 * math/auto-libm-test-in: Add more tests of asinh.
29187 * math/auto-libm-test-out: Regenerated.
29188 * sysdeps/i386/fpu/libm-test-ulps: Update.
29189 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29190
29191 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
29192
29193 [BZ #15850]
29194 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
29195 and ip6_mtuinfo definitions here.
29196 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
29197 in this define too. Update comment.
29198
29199 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
29200
29201 * elf/sprof.c (load_shobj): Tweak error message to match others.
29202
29203 2015-02-24 Kevin Easton <kevin@guarana.org>
29204
29205 [BZ #16145] (partial fix)
29206 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
29207 to reduce lock contention.
29208
29209 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
29210
29211 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
29212 (struct timex): Update time comment.
29213 (ADJ_SETOFFSET): Define.
29214
29215 2015-02-24 Joseph Myers <joseph@codesourcery.com>
29216
29217 [BZ #18019]
29218 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29219 2**56 not 2**28 as threshold for log (2x) formula.
29220 * math/auto-libm-test-in: Add more tests of acosh.
29221 * math/auto-libm-test-out: Regenerated.
29222 * sysdeps/i386/fpu/libm-test-ulps: Update.
29223 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29224
29225 2015-02-24 Mike Frysinger <vapier@gentoo.org>
29226
29227 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
29228 parenthesis around the buf assignment.
29229 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
29230
29231 2015-02-24 Joseph Myers <joseph@codesourcery.com>
29232
29233 [BZ #16783]
29234 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
29235 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
29236 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
29237 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
29238 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
29239 * math/libm-test.inc (scalb_test_data): Add more tests.
29240
29241 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
29242
29243 [BZ #17916]
29244 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
29245 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
29246
29247 2015-02-24 Eric Rannaud <e@nanocritical.com>
29248
29249 [BZ #17523]
29250 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
29251 * io/bits/fcntl2.h (open): Use it.
29252 (openat): Likewise.
29253 * io/open.c (__libc_open): Likewise.
29254 * io/open64.c (__libc_open64): Likewise.
29255 * io/open64_2.c (__open64_2): Likewise.
29256 * io/open_2.c (__open_2): Likewise.
29257 * io/openat.c (__openat): Likewise.
29258 * io/openat64.c (__openat64): Likewise.
29259 * io/openat64_2.c (__openat64_2): Likewise.
29260 * io/openat_2.c (__openat_2): Likewise.
29261 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
29262 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
29263 * sysdeps/posix/open64.c (__libc_open64): Likewise.
29264 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29265 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
29266 (__open_nocancel): Likewise.
29267 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
29268 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
29269 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
29270
29271 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29272
29273 [BZ #14841]
29274 * resolv/gethnamaddr.c (getanswer): Skip logging if
29275 RES_USE_DNSSEC is set.
29276 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29277
29278 2015-02-24 Mike Frysinger <vapier@gentoo.org>
29279
29280 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
29281
29282 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
29283
29284 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
29285 201304L, for Unicode 7.
29286
29287 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
29288
29289 [BZ #17836]
29290 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
29291 shared library. Add gmon-start.os otherwise.
29292 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
29293 $(objpfx)gmon-start.os if builing shared library.
29294 ($(objpfx)g$(static-start-installed-name)): Likewise.
29295
29296 2015-02-23 Andreas Schwab <schwab@suse.de>
29297
29298 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
29299
29300 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29301
29302 [BZ #17269]
29303 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
29304 (enlarge_userbuf): Likewise.
29305
29306 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
29307
29308 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
29309 * math/atest-exp.c (TIMEOUT): Adjust to 200.
29310 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
29311 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
29312
29313 2015-02-20 Joseph Myers <joseph@codesourcery.com>
29314
29315 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
29316 expression inside statement expression.
29317
29318 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
29319
29320 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
29321 <sysdeps/nptl/lowlevellock.h> and remove macros and
29322 functions that are now defined there.
29323 (SYS_futex): Remove.
29324 (lll_compare_and_swap): Remove.
29325 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
29326
29327 2015-02-19 Joseph Myers <joseph@codesourcery.com>
29328
29329 [BZ #17999]
29330 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
29331 instead of scandirat.
29332 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
29333 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
29334 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
29335 __scandirat.
29336 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
29337 (__scandirat): Declare. Use libc_hidden_proto.
29338 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
29339 Remove variable.
29340 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
29341
29342 2015-02-18 Joseph Myers <joseph@codesourcery.com>
29343
29344 [BZ #15319]
29345 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
29346 (MO): New macro.
29347 (__ieee754_atan2): For results with small absolute value, force
29348 underflow exception and remove excess range and precision from
29349 return value.
29350 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
29351 (MO): New macro.
29352 (__ieee754_atan2f): For results with small absolute value, force
29353 underflow exception and remove excess range and precision from
29354 return value.
29355 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
29356 (MO): New macro.
29357 (__atan): For results with small absolute value, force underflow
29358 exception and remove excess range and precision from return value.
29359 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
29360 (MO): New macro.
29361 (__atanf): For results with small absolute value, force underflow
29362 exception and remove excess range and precision from return value.
29363 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
29364 <math.h>.
29365 (__ieee754_atan2): Force underflow exception for results with
29366 small absolute value.
29367 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
29368 <math_private.h>.
29369 (atan): Force underflow exception for results with small absolute
29370 value.
29371 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
29372 (__atanf): Force underflow exception for results with small
29373 absolute value.
29374 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
29375 <math.h>.
29376 (__atanl): Force underflow exception for results with small
29377 absolute value.
29378 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
29379 (__atanl): Force underflow exception for results with small
29380 absolute value.
29381 * sysdeps/x86/fpu/bits/mathinline.h
29382 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
29383 (__ieee754_atan2): Only define inline for long double.
29384 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29385 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
29386 * math/auto-libm-test-in: Do not mark underflow exceptions as
29387 possibly missing for bug 15319. Add more tests of atan2.
29388 * math/auto-libm-test-out: Regenerated.
29389 * math/libm-test.inc (casin_test_data): Do not mark underflow
29390 exceptions as possibly missing for bug 15319.
29391 (casinh_test_data): Likewise.
29392 * sysdeps/i386/fpu/libm-test-ulps: Update.
29393
29394 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
29395
29396 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
29397 * sysdeps/mips/bits/endian.h: Fix comments.
29398
29399 2015-02-18 Joseph Myers <joseph@codesourcery.com>
29400
29401 [BZ #17996]
29402 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
29403 (hdestroy_r): Likewise.
29404 (hsearch_r): Likewise.
29405 (__hcreate_r): Declare and use libc_hidden_proto.
29406 (__hdestroy_r): Likewise.
29407 (__hsearch_r): Likewise.
29408 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
29409 (hcreate): Call __hcreate_r instead of hcreate_r.
29410 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
29411 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
29412 as weak alias of __hcreate_r.
29413 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
29414 __hdestroy_r.
29415 (hsearch_r): Rename to __hsearch_r and define as weak alias of
29416 __hsearch_r.
29417 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
29418 Remove variable.
29419 (test-xfail-XPG4/search.h/linknamespace): Likewise.
29420 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
29421 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
29422 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
29423
29424 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29425
29426 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
29427 arena_lock into a single arena_get.
29428
29429 2015-02-17 Carlos O'Donell <carlos@redhat.com>
29430
29431 * dl-reloc.c: Inlucde libc-internal.h.
29432 (_dl_try_allocate_static_tls): Call ALIGN_UP.
29433 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
29434 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
29435 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
29436 (grow_heap): Likewise.
29437 * malloc/malloc.c: Include libc-internal.h.
29438 (do_check_malloc): Call powerof2.
29439 (sysmalloc): Use pagesize. Call ALIGN_UP.
29440 (systrim): Use pagesize.
29441 (mremap_chunk): Use pagesize. Call ALIGN_UP.
29442 (__libc_valloc): Use pagesize.
29443 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
29444
29445 2015-02-17 Joseph Myers <joseph@codesourcery.com>
29446
29447 [BZ #17991]
29448 * include/sys/resource.h (__getrlimit64): Declare. Use
29449 libc_hidden_proto.
29450 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
29451 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
29452 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
29453 getrlimit64.
29454 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
29455 __getrlimit64.
29456 [!getrlimit64] (getrlimit64): Define as weak alias of
29457 __getrlimit64. Use libc_hidden_weak.
29458 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
29459 using __getrlimit64 not __new_getrlimit64.
29460 (__GI_getrlimit64): Likewise.
29461 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
29462 Likewise.
29463 (__GI_getrlimit64): Likewise.
29464 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
29465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
29466 (getrlimit): Add __getrlimit64 alias.
29467 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
29468 Likewise.
29469 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
29470 Remove variable.
29471 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29472 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29473
29474 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
29475
29476 * libio/fileops.c: Add missing sys/mman.h
29477 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
29478
29479 2015-02-17 Joseph Myers <joseph@codesourcery.com>
29480
29481 * manual/math.texi (Errors in Math Functions): Clarify goals
29482 regarding inexact and underflow exceptions.
29483
29484 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
29485
29486 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
29487 * sysdeps/mips/memset.S: Ditto.
29488
29489 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
29490
29491 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
29492
29493 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
29494
29495 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
29496 (__v1longjmp): Remove versioned symbol.
29497 (__v1siglongjmp): Remove alias and versioned symbol.
29498 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
29499 (__v2siglongjmp): Likewise.
29500
29501 2015-02-16 Torvald Riegel <triegel@redhat.com>
29502
29503 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
29504
29505 2015-02-16 Mike Frysinger <vapier@gentoo.org>
29506
29507 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
29508
29509 2015-02-16 Joseph Myers <joseph@codesourcery.com>
29510
29511 [BZ #17987]
29512 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
29513 zero result does not depend on the sign resulting from
29514 subtraction.
29515 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29516 Likewise.
29517 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29518 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29519 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29520 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29521 * math/libm-test.inc (remquo_test_data): Add more tests.
29522
29523 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
29524
29525 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
29526 Problem reported by J William Piggott.
29527
29528 2015-02-16 Joseph Myers <joseph@codesourcery.com>
29529
29530 [BZ #17978]
29531 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
29532 products 4 * y and 2 * y where those would overflow.
29533 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29534 Likewise.
29535 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29536 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29537 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29538 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29539 * math/libm-test.inc (remquo_test_data): Add more tests.
29540
29541 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
29542
29543 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
29544 [defined _COMPILING_NEWLIB].
29545 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
29546 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
29547
29548 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
29549 [!defined __mips_isa_rev || __mips_isa_rev < 6].
29550
29551 2015-02-16 Torvald Riegel <triegel@redhat.com>
29552
29553 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
29554 acquired.
29555
29556 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
29557
29558 [BZ #17792]
29559 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
29560 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
29561 HOST_STACK_END_ADDR): Likewise.
29562
29563 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
29564
29565 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
29566 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
29567 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
29568
29569 2015-02-13 Roland McGrath <roland@hack.frob.com>
29570
29571 * sysdeps/generic/c++-types.data: New file.
29572 * sysdeps/generic/ld.abilist: New file.
29573 * sysdeps/generic/libBrokenLocale.abilist: New file.
29574 * sysdeps/generic/libanl.abilist: New file.
29575 * sysdeps/generic/libc.abilist: New file.
29576 * sysdeps/generic/libcrypt.abilist: New file.
29577 * sysdeps/generic/libdl.abilist: New file.
29578 * sysdeps/generic/libm.abilist: New file.
29579 * sysdeps/generic/libpthread.abilist: New file.
29580 * sysdeps/generic/libresolv.abilist: New file.
29581 * sysdeps/generic/librt.abilist: New file.
29582
29583 2015-02-13 Joseph Myers <joseph@codesourcery.com>
29584
29585 [BZ #17569]
29586 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29587 Compute absolute value of x as modified by fmod, not original
29588 value of x.
29589 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
29590 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
29591 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
29592 RUN_TEST_ffI_f1_mod8.
29593 (remquo_test_data): Add more tests.
29594
29595 2015-02-13 Roland McGrath <roland@hack.frob.com>
29596
29597 * sysdeps/init_array/pt-crti.S: New file.
29598
29599 2015-02-13 Joseph Myers <joseph@codesourcery.com>
29600
29601 [BZ #17967]
29602 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
29603 __builtin_fmaf instead of relying on contraction of a * b + c.
29604
29605 2015-02-12 J William Piggott <elseifthen@gmx.com>
29606
29607 [BZ #17969]
29608 * manual/time.texi: correct the zoneinfo path in the TZ Variable
29609 node.
29610
29611 2015-02-12 Joseph Myers <joseph@codesourcery.com>
29612
29613 [BZ #17964]
29614 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
29615 __builtin_fma instead of relying on contraction of a * b + c.
29616
29617 2015-02-12 Roland McGrath <roland@hack.frob.com>
29618
29619 * Makeconfig (ASFLAGS): Add -Werror=undef.
29620 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
29621 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
29622 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
29623
29624 * Makeconfig (after-link): New variable.
29625 (+link-pie, +link-pie-tests): Use it.
29626 (+link-static, +link-static-tests): Likewise.
29627 (+link, +link-tests): Likewise.
29628 * Makerules (build-module, build-module-asneeded): Likewise.
29629 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
29630 Likewise.
29631 * elf/Makefile ($(objpfx)ld.so): Likewise.
29632
29633 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
29634
29635 [BZ #17965]
29636 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
29637 both struct timeval and struct timespec.
29638
29639 2015-02-12 Joseph Myers <joseph@codesourcery.com>
29640
29641 [BZ #16560]
29642 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29643 and redefine.
29644 (__ieee754_exp2l): Do not multiply small fractional parts by
29645 M_LN2l.
29646 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
29647 small argument.
29648 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29649 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29650 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
29651 * math/auto-libm-test-in: Add more tests of exp2.
29652 * math/auto-libm-test-out: Regenerated.
29653
29654 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29655
29656 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
29657 unaligned path.
29658
29659 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29660
29661 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
29662 little endian.
29663
29664 2015-02-12 Andreas Schwab <schwab@suse.de>
29665
29666 [BZ #15790]
29667 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
29668 Filter out elision flags from value returned in kind.
29669 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
29670 * nptl/tst-pthread-mutexattr.c: New file.
29671
29672 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
29673
29674 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
29675 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
29676 into gnu-gnu, and update comment to refer to abi-tags.
29677
29678 2015-02-11 Joseph Myers <joseph@codesourcery.com>
29679
29680 [BZ #15467]
29681 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
29682 (__sincos): Set errno to EDOM for infinite argument.
29683 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
29684 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
29685 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
29686 (__sincosl): Set errno to EDOM for infinite argument.
29687 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
29688 (__sincosl): Set errno to EDOM for infinite argument.
29689 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
29690 (__sincosl): Set errno to EDOM for infinite argument.
29691 * math/libm-test.inc (sincos_test_data): Test errno setting.
29692
29693 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
29694
29695 * string/strxfrm_l.c: Remove #define STRCMP.
29696 * string/strcoll_l.c: Remove #define STRLEN.
29697 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
29698 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
29699
29700 2015-02-10 Joseph Myers <joseph@codesourcery.com>
29701
29702 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
29703 * sysdeps/mips/mips32/sfp-machine.h: ... here.
29704 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
29705 * sysdeps/mips/mips64/Makefile: ... here.
29706 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
29707 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
29708 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
29709 * sysdeps/mips/mips64/sfp-machine.h: ... here.
29710 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
29711 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
29712 * sysdeps/mips/mips64/n64/Implies: Likewise.
29713
29714 2015-02-10 Roland McGrath <roland@hack.frob.com>
29715
29716 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
29717 <sys/time.h>, <string.h>, and <errno.h>.
29718 (dest_offset, dest_address, value, zero): Remove unused variables.
29719 (ldouble): Remove typedef.
29720 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
29721 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
29722 1). Fix code style.
29723 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
29724 (check): Function removed.
29725 (CHECK): New macro.
29726 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
29727 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
29728 Don't call set_sigaction_FP and remove_sigaction_FP here.
29729 (ldouble_test): Just use 'long double' as macro argument, no need for
29730 the 'ldouble' typedef.
29731 (do_test): Set up SIGFPE handler at start, using plain signal rather
29732 than sigaction. Fix code style.
29733
29734 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
29735
29736 [BZ #17949]
29737 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
29738 jump label.
29739
29740 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29741
29742 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
29743 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29744
29745 * sysdeps/powerpc/configure.ac: Remove file.
29746 * sysdeps/powerpc/configure: Likewise.
29747
29748 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29749 [sysdep_routines]: Remove wordcopy-power6 object.
29750 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29751 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
29752 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
29753 (__memmove_ppc32): Likewise.
29754 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
29755 file.
29756 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
29757 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
29758 Remove preprocessor.
29759
29760 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29761 [sysdep_routines]: Remove wide chars objects.
29762 [wcsmbs]: New rule for wide char objects.
29763
29764 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29765 Remove wordcopy-power6 obejct.
29766 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
29767 Use local call for wordcopy and memcpy symbols.
29768 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
29769 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
29770 implementation for loader.
29771 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
29772
29773 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29774 Remove wordcopy-power7 object.
29775 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
29776 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
29777 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
29778 (_wordcopy_fwd_dest_aligned): Likewise.
29779 (_wordcopy_bwd_aligned): Likewise.
29780 (_wordcopy_bwd_dest_aligned): Likewise.
29781
29782 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
29783 Rewrite to call __memmove_ppc instead of include default
29784 implementation.
29785
29786 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29787 Remove wide chars objects.
29788 [wcsmbs]: New rule for wide char objects.
29789
29790 2015-02-09 Andreas Schwab <schwab@suse.de>
29791
29792 [BZ #17912]
29793 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29794 in terms of __O_DIRECTORY.
29795
29796 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
29797
29798 * time/getdate.c: Include <stdbool.h>.
29799 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
29800 call PTR_MANGLE.
29801 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
29802 PTR_DEMANGLE.
29803
29804 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
29805
29806 Add ersatz _Static_assert on older C hosts
29807 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
29808 pre-C11 C platform that is not known to support _Static_assert.
29809
29810 2015-02-07 Richard Braun <rbraun@sceen.net>
29811
29812 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
29813 sigstate.
29814 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
29815
29816 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29817
29818 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
29819 priority against unexistent AIO_PRIO_DELTA_MAX.
29820 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
29821 instead of int.
29822 * misc/fchflags.c (fchflags): Likewise.
29823 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
29824 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
29825 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
29826 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
29827 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
29828 Declare macros.
29829 [__USE_MISC] (chflags, fchflags): Declare functions.
29830 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
29831 EINVAL when nfds is greater than FD_SETSIZE.
29832 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
29833 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
29834 45.
29835 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
29836 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
29837 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
29838 MACH_RCV_TIMED_OUT.
29839 * hurd/hurd/signal.h (_hurd_self_sigstate,
29840 _hurd_critical_section_lock, _hurd_critical_section_unlock):
29841 Explicit casts from void *.
29842 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
29843 * abi-tags: Rename gnu-gnu os into gnu.
29844
29845 [BZ #4719]
29846 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
29847 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
29848 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
29849 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
29850 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
29851 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
29852
29853 [BZ #17944]
29854 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
29855 duplicates ADDR->sun_path with sockaddr LEN limitation.
29856 * sysdeps/mach/hurd/connect.c: Include <string.h>
29857 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
29858 * sysdeps/mach/hurd/sendmsg.c: Likewise.
29859 * sysdeps/mach/hurd/sendto.c: Likewise.
29860 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
29861 implementing it by hand.
29862
29863 2015-02-06 Roland McGrath <roland@hack.frob.com>
29864
29865 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
29866 Use sfi_breg on ldr.
29867 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
29868 Likewise.
29869
29870 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
29871 it's defined.
29872 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
29873 Test SIGSETXID only if it's defined.
29874
29875 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
29876
29877 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
29878 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
29879
29880 * nptl/tst-align2.c: Moved ...
29881 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
29882 * nptl/Makefile (tests): Remove tst-align2.
29883 * sysdeps/unix/sysv/linux/Makefile
29884 [$(subdir) = nptl] (tests): Add tst-align-clone.
29885 * nptl/tst-getpid1.c: Moved ...
29886 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
29887 * nptl/tst-getpid2.c: Moved ...
29888 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
29889 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
29890 * sysdeps/unix/sysv/linux/Makefile
29891 [$(subdir) = nptl] (tests): ... here.
29892 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
29893 * sysdeps/unix/sysv/linux/Makefile
29894 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
29895
29896 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
29897 Drop trailing \n from perror argument. Use return rather than exit.
29898
29899 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
29900 on [SA_SIGINFO].
29901 * nptl/tst-cancel21.c (do_test): Likewise.
29902 * debug/tst-backtrace6.c: Include <signal.h> first thing.
29903 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
29904 [!SA_SIGINFO]: Make it a stub test.
29905
29906 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
29907 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
29908
29909 * posix/tst-getlogin.c: Move to ...
29910 * login/tst-getlogin.c: ... here.
29911 * posix/Makefile (tests): Move tst-getlogin to ...
29912 * login/Makefile (tests): ... here.
29913
29914 * libio/tst-atime.c (do_test): Move local variables SV and E
29915 inside [ST_NOATIME] conditional.
29916
29917 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
29918
29919 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
29920
29921 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
29922 (wait_code): New function replaces macro.
29923 Call nanosleep rather than syscall.
29924
29925 * nptl/pt-system.c: Rewritten. Put everything under
29926 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29927 Use IFUNC to redirect when possible.
29928
29929 * nptl/pt-longjmp.c: Rewritten. Put everything under
29930 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29931 Use IFUNC to redirect when possible.
29932
29933 * nptl/pt-fork.c: Rewritten. Put everything under
29934 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29935 Use IFUNC to redirect when possible.
29936 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
29937
29938 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
29939 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
29940 unconditionally nowadays. This included the only reference to
29941 __vdso_clock_gettime that appears outside libc proper.
29942 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
29943 Remove version set (containing only __vdso_clock_gettime).
29944 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29945 Add attribute_hidden.
29946 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29947 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
29948 libc_hidden_data_def.
29949 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29950 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29951
29952 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
29953 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
29954 setrpcent, and getrpcport to ...
29955 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
29956 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
29957 getrpcbynumber_r, and getrpcent_r to ...
29958 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
29959 * inet/getrpcbyname.c: Moved ...
29960 * sunrpc/getrpcbyname.c: ... here.
29961 * inet/getrpcbyname_r.c: Moved ...
29962 * sunrpc/getrpcbyname_r.c: ... here.
29963 * inet/getrpcbynumber.c: Moved ...
29964 * sunrpc/getrpcbynumber.c: ... here.
29965 * inet/getrpcbynumber_r.c: Moved ...
29966 * sunrpc/getrpcbynumber_r.c: ... here.
29967 * inet/getrpcent.c: Moved ...
29968 * sunrpc/getrpcent.c: ... here.
29969 * inet/getrpcent_r.c: Moved ...
29970 * sunrpc/getrpcent_r.c: ... here.
29971 * inet/Makefile (routines): Move those to ...
29972 * sunrpc/Makefile (routines): ... here.
29973 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
29974 the $(subdirs) list.
29975 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
29976 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
29977 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
29978 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
29979
29980 * elf/Makefile (routines): Include $(all-dl-routines), not just
29981 $(dl-routines).
29982 (rtld-routines): Likewise. Use = rather than :=.
29983 * sysdeps/aarch64/Makefile [$(subdir) = elf]
29984 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
29985 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
29986 * sysdeps/arm/Makefile: Likewise.
29987 * sysdeps/i386/Makefile: Likewise.
29988 * sysdeps/x86_64/Makefile: Likewise.
29989 * sysdeps/hppa/Makefile [$(subdir) = elf]
29990 (sysdep_routines, sysdep-rtld-routines): Don't add
29991 $(sysdep-dl-routines) to these.
29992 * sysdeps/ia64/Makefile: Likewise.
29993 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
29994 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
29995 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
29996 Don't add dl-static to these; sysdep-dl-routines alone is enough.
29997 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
29998 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
29999 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
30000 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
30001 * sysdeps/powerpc/Makefile [$(subdir) = elf]
30002 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
30003 these; sysdep-dl-routines alone is enough.
30004
30005 2015-02-06 Joseph Myers <joseph@codesourcery.com>
30006
30007 [BZ #17932]
30008 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
30009 where multiplication results in zero and third argument is finite
30010 and nonzero.
30011 * math/auto-libm-test-in: Add more tests of fma.
30012 * math/auto-libm-test-out: Regenerated.
30013
30014 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
30015 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
30016 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
30017 (_FP_CMP_EQ): Likewise.
30018 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
30019
30020 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
30021 extra argument CHECK_NAN. Redefine as wrapper around
30022 _FP_EXTEND_CNAN.
30023
30024 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
30025
30026 * version.h (RELEASE): Set to "stable".
30027 (VERSION): Set to "2.21"
30028 * include/features.h (__GLIBC_MINOR__): Set to 21.
30029
30030 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
30031
30032 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30033 Paul Eggert <eggert@cs.ucla.edu>
30034
30035 [BZ #16618]
30036 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
30037 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
30038 size in bytes. Store needed elements in wpmax. Use needed size
30039 in bytes for extend_alloca.
30040
30041 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
30042
30043 * manual/install.texi: Latest tested versions are GCC 4.9.2,
30044 binutls 2.25, and texinfo 5.2.
30045 * INSTALL: Regenerate.
30046 * sysdeps/nios2/configure: Regenerate.
30047 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
30048 * manual/contrib.texi: Update.
30049 * po/be.po: Update.
30050 * po/bg.po: Update.
30051 * po/ca.po: Update.
30052 * po/cs.po: Update.
30053 * po/da.po: Update.
30054 * po/de.po: Update.
30055 * po/el.po: Update.
30056 * po/eo.po: Update.
30057 * po/es.po: Update.
30058 * po/fi.po: Update.
30059 * po/fr.po: Update.
30060 * po/gl.po: Update.
30061 * po/hr.po: Update.
30062 * po/hu.po: Update.
30063 * po/ia.po: Update.
30064 * po/id.po: Update.
30065 * po/it.po: Update.
30066 * po/ja.po: Update.
30067 * po/ko.po: Update.
30068 * po/lt.po: Update.
30069 * po/nb.po: Update.
30070 * po/nl.po: Update.
30071 * po/pl.po: Update.
30072 * po/pt_BR.po: Update.
30073 * po/ru.po: Update.
30074 * po/rw.po: Update.
30075 * po/sk.po: Update.
30076 * po/sl.po: Update.
30077 * po/sv.po: Update.
30078 * po/tr.po: Update.
30079 * po/uk.po: Update.
30080 * po/vi.po: Update.
30081 * po/zh_CN.po: Update.
30082 * po/zh_TW.po: Update.
30083
30084 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
30085 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
30086 * sysdeps/hppa/dl-irel.h: Remove #warning.
30087 * sysdeps/hppa/entry.h: Provide prototype for
30088 __canonicalize_funcptr_for_compare and cast argument.
30089 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
30090 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
30091 * sysdeps/hppa/sotruss-lib.c: New file.
30092 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
30093 (atomic_compare_and_exchange_val_acq): Use __typeof__.
30094 (atomic_compare_and_exchange_bool_acq): Likewise.
30095 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
30096 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
30097
30098 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
30099 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
30100 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
30101
30102 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
30103
30104 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
30105 called function in non-PIC case.
30106
30107 2015-01-31 David S. Miller <davem@davemloft.net>
30108
30109 * sysdeps/sparc/sparc32/bits/atomic.h
30110 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
30111 unlock not after it.
30112 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
30113 volatile register usage warnings from the compiler.
30114
30115 * sysdeps/sparc/nptl/sem_init.c: Delete.
30116 * sysdeps/sparc/nptl/sem_post.c: Delete.
30117 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
30118 * sysdeps/sparc/nptl/sem_wait.c: Delete.
30119 * sysdeps/sparc/sparc32/sem_init.c: New file.
30120 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
30121 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
30122 padding explicitly initialized.
30123 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
30124 padding for in-semaphore spinlock.
30125 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
30126 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
30127 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
30128 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
30129 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
30130 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
30131 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
30132 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
30133 version.
30134 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
30135 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
30136
30137 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
30138
30139 [BZ #17801]
30140 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30141 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
30142 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
30143 New.
30144 (index_AVX_Fast_Unaligned_Load): Likewise.
30145 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
30146 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
30147 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
30148 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
30149 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
30150 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
30151 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
30152 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
30153 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
30154
30155 2015-01-29 Andreas Schwab <schwab@suse.de>
30156
30157 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
30158
30159 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30160
30161 [BZ #17892]
30162 * nscd/nscd_stat.c (send_stats): Initialize DATA.
30163
30164 2015-01-28 Martin Sebor <msebor@redhat.com>
30165
30166 * math/README.libm-test: Clarify. Add "How to read the test output."
30167
30168 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
30169
30170 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
30171 Define to 0.
30172
30173 2015-01-28 Joseph Myers <joseph@codesourcery.com>
30174
30175 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
30176 (__HAVE_64B_ATOMICS): Define to 0.
30177
30178 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
30179
30180 [BZ #17885]
30181 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
30182 value to set as new flag.
30183
30184 [BZ #16576]
30185 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
30186 and use _ARCH_PPCSQ instead.
30187 (__ieee754_sqrt): Likewise.
30188 (__ieee754_sqrtf): Likewise.
30189 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
30190 _ARCH_PPCSQ is defined.
30191 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
30192 fsqrt instruction.
30193 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
30194 _ARCH_PPCSQ is defined.
30195 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
30196 fsqrts instruction.
30197 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
30198
30199 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30200
30201 * iconv/loop.c: Suppress array out of bound warning caused by GCC
30202 bug (GCC BZ #64739).
30203
30204 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
30205
30206 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
30207 Mark _retval as used.
30208 (lll_futex_wake_unlock): Likewise.
30209 (lll_futex_timed_wait_requeue_pi): Likewise.
30210
30211 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
30212 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
30213 register variables.
30214
30215 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
30216 libm_hidden_def.
30217
30218 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
30219 (__bswap_64): Mark as __always_inline.
30220
30221 2015-01-25 Bram <bug_rh@spam.wizbit.be>
30222
30223 [BZ #15378]
30224 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
30225 when none of the search directories exist.
30226
30227 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
30228
30229 [BZ #17869]
30230 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
30231 power8 in .machine directive.
30232
30233 [BZ #17868]
30234 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
30235 set dependency from opd value.
30236
30237 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
30238
30239 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30240 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
30241 architecture.
30242
30243 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
30244
30245 [BZ #17870]
30246 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
30247 with uint64_t.
30248 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
30249 (uint64_t) 1.
30250 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
30251 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
30252 Replace 1UL with (uint64_t) 1.
30253 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
30254 int with uint64_t.
30255
30256 2015-01-23 Roland McGrath <roland@hack.frob.com>
30257
30258 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
30259 (if_freenameindex): Likewise.
30260
30261 * resource/getrlimit64.c: Add missing libc_hidden_def.
30262
30263 2015-01-22 Joseph Myers <joseph@codesourcery.com>
30264
30265 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
30266 __label__.
30267 (_FP_FMA): Likewise.
30268 (_FP_TO_INT_ROUND): Likewise.
30269 (_FP_FROM_INT): Likewise.
30270
30271 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30272
30273 [BZ #16418]
30274 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30275 Make code racy and cancel safe.
30276
30277 2015-01-21 Carlos O'Donell <carlos@redhat.com>
30278
30279 * sysdeps/arm/unwind-resume.h: Fix copyright year.
30280 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
30281 attribution.
30282
30283 * pwd/tst-getpw.c: Rewrite.
30284
30285 [BZ #17702]
30286 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
30287 (modules-names): Add moddummy1 and moddummy2.
30288 ($(objpfx)tst-rec-dlopen): Define.
30289 * dlfcn/moddummy1.c: New file.
30290 * dlfcn/moddummy2.c: New file.
30291 * dlfcn/tst-rec-dlopen.c: New file.
30292 * elf/dl-cache.c (_dl_load_cache_lookup):
30293 Return char*. Copy result with alloca/strcpy/strdup.
30294 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
30295 returns char*. Free cached. If not saving realname
30296 free cached.
30297 * elf/dl-open.c (dl_open_worker): Do not assert that
30298 _r_debug->r_state is RT_CONSISTENT.
30299 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
30300 returns char*.
30301
30302 2015-01-21 Torvald Riegel <triegel@redhat.com>
30303 Carlos O'Donell <carlos@redhat.com>
30304
30305 [BZ #12674]
30306 * nptl/sem_waitcommon.c: New file.
30307 * nptl/sem_wait.c: Include sem_waitcommon.c.
30308 (__sem_wait_cleanup, do_futex_wait): Remove.
30309 (__new_sem_wait): Adapt.
30310 (__new_sem_trywait): New function.
30311 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
30312 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
30313 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
30314 (sem_timedwait): Adapt.
30315 * nptl/sem_post.c (__new_sem_post): Adapt.
30316 (futex_wake): New function.
30317 (__old_sem_post): Add release MO fence.
30318 * nptl/sem_open.c (sem_open): Adapt.
30319 * nptl/sem_init.c (__new_sem_init): Adapt.
30320 (futex_private_if_supported): New function.
30321 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
30322 (__old_sem_getvalue): Add using previous code.
30323 * sysdeps/nptl/internaltypes.h: Adapt.
30324 * nptl/tst-sem13.c (do_test): Adapt.
30325 * nptl/tst-sem11.c (main): Adapt.
30326 * nptl/sem_trywait.c: Remove.
30327 * nptl/DESIGN-sem.txt: Remove.
30328 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
30329 (gen-as-const-headers): Remove structsem.sym.
30330 * nptl/structsem.sym: Remove.
30331 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
30332 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
30333 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
30334 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
30335 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
30336 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
30337 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
30338 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
30339 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
30340 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
30341 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
30342 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
30343 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
30344 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
30345 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
30346 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
30347 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
30348 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
30349 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
30350 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
30351 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
30352 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
30353
30354 2015-01-20 Carlos O'Donell <carlos@redhat.com>
30355
30356 * INSTALL: Regenerated.
30357
30358 * po/libc.pot: Regenerated.
30359
30360 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
30361 Sandra Loosemore <sandra@codesourcery.com>
30362 Andrew Jenner <andrew@codesourcery.com>
30363 Joseph Myers <joseph@codesourcery.com>
30364 Nathan Sidwell <nathan@codesourcery.com>
30365
30366 * NEWS: Mention new Nios II port.
30367 * sysdeps/nios2/Implies: New file.
30368 * sysdeps/nios2/Makefile: New file.
30369 * sysdeps/nios2/Subdirs: New file.
30370 * sysdeps/nios2/Versions: New file.
30371 * sysdeps/nios2/__longjmp.S: New file.
30372 * sysdeps/nios2/abort-instr.h: New file.
30373 * sysdeps/nios2/backtrace.c: New file.
30374 * sysdeps/nios2/bits/endian.h: New file.
30375 * sysdeps/nios2/bits/fenv.h: New file.
30376 * sysdeps/nios2/bits/link.h: New file.
30377 * sysdeps/nios2/bits/setjmp.h: New file.
30378 * sysdeps/nios2/bsd-_setjmp.S: New file.
30379 * sysdeps/nios2/bsd-setjmp.S: New file.
30380 * sysdeps/nios2/configure: New generated file.
30381 * sysdeps/nios2/configure.ac: New file.
30382 * sysdeps/nios2/crti.S: New file.
30383 * sysdeps/nios2/crtn.S: New file.
30384 * sysdeps/nios2/dl-init.c: New file.
30385 * sysdeps/nios2/dl-machine.h: New file.
30386 * sysdeps/nios2/dl-sysdep.h: New file.
30387 * sysdeps/nios2/dl-tls.h: New file.
30388 * sysdeps/nios2/dl-trampoline.S: New file.
30389 * sysdeps/nios2/gccframe.h: New file.
30390 * sysdeps/nios2/gmp-mparam.h: New file.
30391 * sysdeps/nios2/jmpbuf-offsets.h: New file.
30392 * sysdeps/nios2/jmpbuf-unwind.h: New file.
30393 * sysdeps/nios2/ldsodefs.h: New file.
30394 * sysdeps/nios2/libc-tls.c: New file.
30395 * sysdeps/nios2/libm-test-ulps: New file.
30396 * sysdeps/nios2/machine-gmon.h: New file.
30397 * sysdeps/nios2/math-tests.h: New file.
30398 * sysdeps/nios2/math_private.h: New file.
30399 * sysdeps/nios2/memusage.h: New file.
30400 * sysdeps/nios2/nptl/Makefile: New file.
30401 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
30402 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
30403 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
30404 * sysdeps/nios2/nptl/pthreaddef.h: New file.
30405 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
30406 * sysdeps/nios2/nptl/tls.h: New file.
30407 * sysdeps/nios2/preconfigure: New file.
30408 * sysdeps/nios2/s_fma.c: New file.
30409 * sysdeps/nios2/s_fmaf.c: New file.
30410 * sysdeps/nios2/setjmp.S: New file.
30411 * sysdeps/nios2/sfp-machine.h: New file.
30412 * sysdeps/nios2/sotruss-lib.c: New file.
30413 * sysdeps/nios2/stackguard-macros.h: New file.
30414 * sysdeps/nios2/stackinfo.h: New file.
30415 * sysdeps/nios2/start.S: New file.
30416 * sysdeps/nios2/sysdep.h: New file.
30417 * sysdeps/nios2/tls-macros.h: New file.
30418 * sysdeps/nios2/tst-audit.h: New file.
30419 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
30420 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
30421 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
30422 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
30423 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
30424 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
30425 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
30426 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
30427 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
30428 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
30429 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
30430 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
30431 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
30432 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
30433 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
30434 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
30435 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
30436 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
30437 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
30438 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
30439 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
30440 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
30441 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
30442 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
30443 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
30444 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
30445 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
30446 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
30447 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
30448 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
30449 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
30450 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
30451 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
30452 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
30453 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
30454 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
30455 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
30456 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
30457 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
30458 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
30459 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
30460 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
30461 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
30462 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
30463
30464 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
30465
30466 [BZ #17844]
30467 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
30468 (getutent): Use weak_alias in non SHARED case
30469 and default_symbol_version in SHARED case.
30470 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
30471 (getutent_r, pututline): Likewise.
30472 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
30473 (getutid): Likewise.
30474 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
30475 (getutid_r): Likewise.
30476 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
30477 (getutline): Likewise.
30478 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
30479 (getutline_r): Likewise.
30480 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
30481 (updwtmp): Likewise.
30482
30483 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
30484
30485 [BZ #17848]
30486 * sysdeps/s390/s390-32/memcmp.S
30487 (memcmp_g5): Rename to __memcmp_g5.
30488 * sysdeps/s390/s390-32/memcpy.S
30489 (memcpy_g5): Rename to __memcpy_g5.
30490 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30491 (memcpy_mvcle) Rename to __memcpy_mvcle.
30492 * sysdeps/s390/s390-32/memset.S
30493 (memset_g5): Rename to __memset_g5.
30494 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30495 (IFUNC_RESOLVE): Prefix ifunc-resolve function
30496 and use prefixed functions.
30497 * sysdeps/s390/s390-32/multiarch/memcmp.S
30498 (memcmp_z196): Rename to __memcmp_z196.
30499 (memcmp_z10): Rename to __memcmp_z10.
30500 (memcmp): Set alias to __memcmp_g5.
30501 (bcmp): Set alias to __memcmp_g5.
30502 * sysdeps/s390/s390-32/multiarch/memcpy.S
30503 (memcpy_z196): Rename to __memcpy_z196.
30504 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30505 (memcpy_z10): Rename to __memcpy_z10.
30506 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30507 (memcpy): Set alias to __memcpy_g5.
30508 * sysdeps/s390/s390-32/multiarch/memset.S
30509 (memset_z196): Rename to __memset_z196.
30510 Jump to __memset_mvcle instead of memset_mvcle.
30511 (memset_z10): Rename to __memset_z10.
30512 Jump to __memset_mvcle instead of memset_mvcle.
30513 (memset_mvcle) Rename to __memset_mvcle.
30514 (memset): Set alias to __memset_g5.
30515 * sysdeps/s390/s390-64/memcmp.S
30516 (memcmp_z900): Rename to __memcmp_z900.
30517 * sysdeps/s390/s390-64/memcpy.S
30518 (memcpy_z900): Rename to __memcpy_z900.
30519 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30520 (memcpy_mvcle) Rename to __memcpy_mvcle.
30521 * sysdeps/s390/s390-64/memset.S
30522 (memset_z900): Rename to __memset_z900.
30523 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
30524 (IFUNC_RESOLVE): Prefix ifunc-resolve function
30525 and use prefixed functions.
30526 * sysdeps/s390/s390-64/multiarch/memcmp.S
30527 (memcmp_z196): Rename to __memcmp_z196.
30528 (memcmp_z10): Rename to __memcmp_z10.
30529 (memcmp): Set alias to __memcmp_z900.
30530 (bcmp): Set alias to __memcmp_z900.
30531 * sysdeps/s390/s390-64/multiarch/memcpy.S
30532 (memcpy_z196): Rename to __memcpy_z196.
30533 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30534 (memcpy_z10): Rename to __memcpy_z10.
30535 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30536 (memcpy): Set alias to __memcpy_z900.
30537 * sysdeps/s390/s390-64/multiarch/memset.S
30538 (memset_z196): Rename to __memset_z196.
30539 Jump to __memset_mvcle instead of memset_mvcle.
30540 (memset_z10): Rename to __memset_z10.
30541 Jump to __memset_mvcle instead of memset_mvcle.
30542 (memset_mvcle) Rename to __memset_mvcle.
30543 (memset): Set alias to __memset_z900.
30544
30545 2015-01-14 Joseph Myers <joseph@codesourcery.com>
30546
30547 [BZ #17748]
30548 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
30549 __fesetenv instead of fesetenv.
30550
30551 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30552
30553 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
30554 macro.
30555
30556 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30557
30558 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
30559 regression on LE.
30560
30561 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
30562 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
30563 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30564 strncmp-power8 object.
30565 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30566 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
30567 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
30568 * NEWS: Update.
30569
30570 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30571 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30572
30573 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
30574 trailing byte check.
30575
30576 2015-01-13 David S. Miller <davem@davemloft.net>
30577
30578 * include/signal.h (__sigreturn): Guard with __USE_MISC.
30579
30580 2015-01-13 Roland McGrath <roland@hack.frob.com>
30581
30582 * login/logout.c (logout): Use memset rather than bzero.
30583 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
30584 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
30585 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
30586 (_gethtbyaddr): Likewise.
30587 * locale/programs/simple-hash.c (bcopy): Macro removed.
30588
30589 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30590
30591 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30592 Add strcmp-power8 object.
30593 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30594 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
30595 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
30596 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
30597 __strcmp_power8 implementation.
30598 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
30599 * NEWS: Update.
30600
30601 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30602 Add strncpy-power8 and stpncpy-power8 objects.
30603 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30604 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
30605 implementations.
30606 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
30607 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
30608 __stpncpy_power8 implementation.
30609 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
30610 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
30611 __strncpy_power8 implementation.
30612 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
30613 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
30614 * NEWS: Update.
30615
30616 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
30617 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
30618 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
30619
30620 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30621 strncat-power8 object.
30622 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
30623 __strcat_power8 implementation.
30624 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30625 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
30626 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
30627 optimized strcat for power8.
30628
30629 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30630 strcpy-power8 and stpcpy-power8 objects.
30631 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30632 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
30633 implementations.
30634 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
30635 multiarch stpcpy implementation for POWER8.
30636 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
30637 multiarch strcpy implementation for POWER8.
30638 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
30639 __strcpy_power8 function.
30640 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
30641 stpcpy for POWER8.
30642 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
30643 strcpy for POWER8.
30644 * NEWS: Update.
30645
30646 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
30647
30648 [BZ #16009]
30649 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
30650 weights and rules. Use do_xfrm_cached if data fits in cache,
30651 do_xfrm otherwise. Moved former main loop to...
30652 * (do_xfrm_cached): New function.
30653 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
30654 find_idx, find_position and stack_push.
30655 * (find_idx): New function.
30656 * (find_position): Likewise.
30657 * localedata/sort-test.sh: Added test run for do_xfrm.
30658 * localedata/xfrm-test.c (main): Added command line option
30659 -nocache to run the test with strings that are too large for
30660 the STRXFRM cache.
30661
30662 2015-01-13 Torvald Riegel <triegel@redhat.com>
30663
30664 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
30665 variable to lll_futex_wake call, not the value itself.
30666
30667 2015-01-12 Joseph Myers <joseph@codesourcery.com>
30668
30669 [BZ #17803]
30670 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
30671 twom64. Adjust value to 0x1p-64L.
30672 (__scalblnl): Only return standard underflowing result for K <=
30673 -64 not K <= -63; adjust exponent for underflowing result by 64
30674 not 63.
30675 * math/libm-test.inc (scalbn_test_data): Add more tests.
30676 (scalbln_test_data): Likewise.
30677
30678 [BZ #17834]
30679 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
30680 0x1p63L.
30681 (__scalblnl): Get new exponent of adjusted subnormal value from ES
30682 not HX.
30683 * math/libm-test.inc (scalbn_test_data): Add more tests.
30684 (scalbln_test_data): Likewise.
30685
30686 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30687 Stefani Seibold <stefani@seibold.net>
30688
30689 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
30690 (sysdep_routines): Add dl-vdso here, ...
30691 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
30692 (sysdep_routines): ... not here.
30693 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
30694 fallback when vDSO is not presented.
30695 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30696 Define with libc_hidden_proto/libc_hidden_data_def definitions.
30697 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
30698 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
30699 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
30700 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
30701 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
30702 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
30703 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
30704 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
30705 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
30706 fallback configurable symbol when vDSO is not available.
30707 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
30708 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
30709 be able to redefine fallback symbol when vDSO is not available.
30710 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
30711 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
30712
30713 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30714
30715 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
30716 (TLS_INIT_TP): Add tm_capable initialization.
30717 (TLS_DEFINE_INIT_TP): Likewise.
30718 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
30719 TCB.
30720 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
30721 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
30722 calculation.
30723 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
30724 transactoion is lock elision is built and TCB tm_capable is set.
30725 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
30726 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30727 (INTERNAL_SYSCALL_NCS): Likewise.
30728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30729 (INTERNAL_SYSCALL_NCS): Likewise.
30730 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
30731
30732 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
30733 for powerpc.
30734 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30735 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
30736 and remove it for 32 bits case.
30737 [pthread_rwlock_t] (__rwelision): New field for lock elision.
30738 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
30739 initialization.
30740 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
30741 Disable lock elision with rdlocks if elision is not available.
30742
30743 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
30744 (sysdep_routines): Add lock elision objects.
30745 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30746 [pthread_mutex_t] (__spins): Rework to add lock elision field.
30747 [pthread_mutex_t] (__elision): Add field.
30748 [__PTHREAD_SPINS]: Adjust to init lock elision field.
30749 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
30750 elision definitions for powerpc.
30751 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
30752 implementation of lock elision for powerpc.
30753 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
30754 implementation of timed lock elision for powerpc.
30755 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
30756 implementation of trylock with lock elision for powerpc.
30757 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
30758 implementaion of unlock for lock elision for powerpc.
30759 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
30760 automatic enable lock elision for mutexes.
30761 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
30762 transaction execution definitions for powerpc.
30763 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
30764 definitions.
30765 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
30766 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
30767 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
30768 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
30769 * NEWS: Update.
30770
30771 2015-01-09 Roland McGrath <roland@hack.frob.com>
30772
30773 * sysdeps/posix/shm-directory.c: Use <> rather than ""
30774 for #include of <shm-directory.h>.
30775
30776 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
30777
30778 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
30779 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
30780
30781 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
30782
30783 [BZ #17791]
30784 * NEWS: Mention bug fix.
30785 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
30786 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
30787 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
30788
30789 2015-01-09 Torvald Riegel <triegel@redhat.com>
30790
30791 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
30792
30793 2015-01-09 Torvald Riegel <triegel@redhat.com>
30794
30795 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
30796
30797 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
30798
30799 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
30800 pointer and cast to uintptr_t.
30801
30802 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
30803
30804 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
30805 removed.
30806 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
30807
30808 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
30809
30810 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
30811 of 0.
30812
30813 2015-01-08 Roland McGrath <roland@hack.frob.com>
30814
30815 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
30816 <nptl/pthreadP.h> instead.
30817 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
30818
30819 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
30820 already defined.
30821 [__SIGRTMIN] (init): Function removed.
30822 [__SIGRTMIN] (initialized): Variable removed.
30823 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
30824 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
30825 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
30826 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
30827 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
30828 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
30829 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
30830 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
30831 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
30832 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
30833 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
30834 * sysdeps/nptl/allocrtsig.c: New file.
30835 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
30836 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
30837 * sysdeps/generic/testrtsig.h: File removed.
30838
30839 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
30840 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
30841
30842 * nptl/nptl-init.c (pthread_functions): Conditionalize
30843 .ptr__nptl_setxid initialization on [SIGSETXID].
30844
30845 * sysdeps/nptl/sys/procfs.h: New file.
30846 * nptl_db/Makefile (headers): Add it.
30847 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
30848
30849 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
30850 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
30851 * nptl/pthread_attr_setaffinity.c: Include it.
30852 * nptl/pthread_setattr_default_np.c: Likewise.
30853 * nptl/check-cpuset.h: New file.
30854
30855 2015-01-08 Richard Henderson <rth@redhat.com>
30856
30857 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
30858 (CFLAGS-tst-execstack-prog.c): Likewise.
30859 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
30860
30861 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
30862 Sandra Loosemore <sandra@codesourcery.com>
30863 Andrew Jenner <andrew@codesourcery.com>
30864 Joseph Myers <joseph@codesourcery.com>
30865 Nathan Sidwell <nathan@codesourcery.com>
30866
30867 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
30868 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
30869 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
30870 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
30871 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
30872 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
30873 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
30874 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
30875 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
30876 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
30877 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
30878 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
30879 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
30880 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
30881 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
30882 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
30883 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
30884
30885 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30886
30887 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
30888 timespec struct member in syscall macro.
30889 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
30890 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
30891 first timeval struct member in syscall macro.
30892 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
30893
30894 2015-01-07 Joseph Myers <joseph@codesourcery.com>
30895
30896 [BZ #17748]
30897 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
30898 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
30899 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
30900 __feupdateenv and define as weak alias of __feupdateenv. Use
30901 libm_hidden_weak.
30902 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
30903 libm_hidden_def.
30904 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
30905 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
30906 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30907 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
30908 libm_hidden_def.
30909 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
30910 __feupdateenv and define as weak alias of __feupdateenv. Use
30911 libm_hidden_weak.
30912 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
30913 libm_hidden_def.
30914 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
30915 __feupdateenv and define as weak alias of __feupdateenv. Use
30916 libm_hidden_weak.
30917 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
30918 libm_hidden_def.
30919 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30920 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30921 (__feupdateenv): Likewise.
30922 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
30923 __feupdateenv and define as weak alias of __feupdateenv. Use
30924 libm_hidden_weak.
30925 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30926 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
30927 libm_hidden_def.
30928 * sysdeps/tile/math_private.h (__feupdateenv): New inline
30929 function.
30930 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
30931 libm_hidden_def.
30932 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
30933 __feupdateenv instead of feupdateenv.
30934 (default_libc_feupdateenv_test): Likewise.
30935 (libc_feresetround_ctx): Likewise.
30936
30937 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30938
30939 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
30940 prototype.
30941
30942 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
30943
30944 * posix/regcomp.c (parse_bracket_exp): Initialize type to
30945 COLL_SYM in a couple of places to avoid uninitialized variable
30946 wanings on tilegx gcc 4.8.2.
30947
30948 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
30949
30950 * sysdeps/aarch64/strcpy.S: New file.
30951 * sysdeps/aarch64/stpcpy.S: New file.
30952 * NEWS: Updated.
30953
30954 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
30955
30956 * sysdeps/aarch64/strrchr.S: New file.
30957 * NEWS: Updated.
30958
30959 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
30960
30961 [BZ #17658]
30962 * stdlib/setenv.c: Fix memory leak when setting large,
30963 duplicate string.
30964
30965 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
30966
30967 [BZ #17273]
30968 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
30969 and tabs from buffer before parsing fstab entry.
30970 * misc/tst-mntent.c (main): Add test for mount entry with
30971 trailing spaces and tabs.
30972
30973 2015-01-06 Joseph Myers <joseph@codesourcery.com>
30974
30975 [BZ #17748]
30976 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
30977 * math/fesetround.c (fesetround): Rename to __fesetround and
30978 define as weak alias of __fesetround. Use libm_hidden_weak.
30979 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
30980 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
30981 * sysdeps/arm/fesetround.c (fesetround): Likewise.
30982 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
30983 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
30984 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
30985 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
30986 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
30987 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
30988 __fesetround_inline.
30989 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
30990 __fesetround_inline instead of __fesetround.
30991 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
30992 __fesetround and define as weak alias of __fesetround. Use
30993 libm_hidden_weak. Call __fesetround_inline instead of
30994 __fesetround.
30995 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
30996 __fesetround and define as weak alias of __fesetround. Use
30997 libm_hidden_weak.
30998 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
30999 Likewise.
31000 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
31001 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
31002 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
31003 * sysdeps/tile/math_private.h (__fesetround): New inline function.
31004 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
31005 __fesetround and define as weak alias of __fesetround. Use
31006 libm_hidden_weak.
31007 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
31008 __fesetround instead of fesetround.
31009 (default_libc_feholdexcept_setround): Likewise.
31010 (libc_feholdsetround_ctx): Likewise.
31011 (libc_feholdsetround_noex_ctx): Likewise.
31012
31013 [BZ #17748]
31014 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
31015 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
31016 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
31017 and define as weak alias of __fesetenv. Use libm_hidden_weak.
31018 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
31019 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
31020 define as weak alias of __fesetenv. Use libm_hidden_weak.
31021 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
31022 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
31023 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
31024 define as weak alias of __fesetenv. Use libm_hidden_weak.
31025 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
31026 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
31027 define as weak alias of __fesetenv. Use libm_hidden_weak.
31028 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
31029 libm_hidden_def.
31030 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
31031 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
31032 Likewise.
31033 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
31034 define as weak alias of __fesetenv. Use libm_hidden_weak.
31035 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31036 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
31037 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
31038 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
31039 and define as weak alias of __fesetenv. Use libm_hidden_weak.
31040 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
31041 __fesetenv instead of fesetenv.
31042 (libc_feresetround_noex_ctx): Likewise.
31043 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
31044 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
31045 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
31046 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
31047 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
31048 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
31049 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
31050 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
31051 (__feupdateenv): Likewise.
31052 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31053 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31054 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31055 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
31056
31057 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
31058
31059 [BZ #17806]
31060 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
31061 addresses have been freed.
31062
31063 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
31064
31065 * resolv/res_init.c (__res_vinit): Improve comments about nserv
31066 and nservall.
31067
31068 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
31069
31070 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
31071 Clean up check_pf allocation pattern. addresses
31072
31073 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31074
31075 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
31076 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
31077 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
31078 * nptl/pthread_exit.c (__pthread_exit): Likewise.
31079 * nptl/pthread_join.c (pthread_join): Likewise.
31080 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
31081 * sysdeps/posix/waitid.c (__waitid): Likewise.
31082 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
31083 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
31084 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
31085 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
31086 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
31087 Likewise.
31088 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
31089 (__libc_pread64): Likewise.
31090 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
31091 (__libc_pwrite): Likewise.
31092 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
31093 (__libc_pwrite64): Likewsie.
31094 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
31095 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
31096 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
31097 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
31098 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
31099 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
31100 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
31101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
31102 Likewise.
31103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31104 (__libc_pread64): Likewise.
31105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
31106 Likewise.
31107 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31108 (__libc_pwrite64): Likewise.
31109 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
31110 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
31111 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
31112 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
31113 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
31114 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
31115 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
31116 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
31117 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
31118 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
31119 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
31120 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
31121 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
31122 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
31123 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
31124 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
31125 Likewise.
31126
31127 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
31128
31129 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
31130 (CFLAGS-test-double.c): Likewise.
31131 (CFLAGS-test-ldouble.c): Likewise.
31132 (CPPFLAGS-test-ifloat.c): Likewise.
31133 (CPPFLAGS-test-idouble.c): Likewise.
31134 (CPPFLAGS-test-ildoubl.c): Likewise.
31135 (CFLAGS-test-test-fenv.c): Remove variable.
31136 (CFLAGS-test-misc.c): Likewise.
31137
31138 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
31139
31140 [BZ #17797]
31141 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
31142 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
31143 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
31144 CLOCKS_PER_SEC == 1000000.
31145 * time/clocktest.c (main): Replace %ld with %jd and cast to
31146 intmax_t.
31147
31148 2015-01-05 Roland McGrath <roland@hack.frob.com>
31149
31150 * sysdeps/generic/unwind-resume.h: New file.
31151 * sysdeps/gnu/unwind-resume.c: Include it.
31152 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
31153 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
31154 argument list.
31155 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
31156 global rather than static.
31157 (_Unwind_Resume): Update user.
31158 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
31159 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
31160 rather than static. Add __attribute__ ((cold)).
31161 (_Unwind_Resume, __gcc_personality_v0): Update callers.
31162 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
31163 * sysdeps/arm/arm-unwind-resume.S: New file.
31164 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
31165 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
31166 * sysdeps/arm/Makefile [$(subdir) = csu]
31167 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
31168 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
31169 Add rt-arm-unwind-resume.
31170 [$(subdir) = nptl]
31171 (libpthread-sysdep_routines, libpthread-shared-only-routines):
31172 Add pt-arm-unwind-resume.
31173 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
31174 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
31175
31176 2015-01-05 Joseph Myers <joseph@codesourcery.com>
31177
31178 [BZ #17748]
31179 * include/fenv.h (__feholdexcept): Declare. Use
31180 libm_hidden_proto.
31181 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
31182 define as weak alias of __feholdexcept. Use libm_hidden_weak.
31183 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31184 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
31185 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
31186 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
31187 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
31188 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31189 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
31190 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
31191 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
31192 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
31193 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
31194 (feholdexcept): Likewise.
31195 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31196 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31197 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
31198 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31199 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
31200 __feholdexcept instead of feholdexcept.
31201 (default_libc_feholdexcept_setround): Likewise.
31202
31203 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
31204
31205 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
31206 to avoid using stl/str to align destination.
31207
31208 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
31209
31210 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
31211
31212 2015-01-05 Joseph Myers <joseph@codesourcery.com>
31213
31214 [BZ #17796]
31215 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
31216 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
31217 Define as weak alias not strong alias.
31218
31219 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
31220
31221 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
31222 bltzal with addiupc.
31223 (RTLD_START): Ditto.
31224
31225 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
31226
31227 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
31228 for __vdso_* functions in declarations.
31229 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
31230 definitions.
31231 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
31232 INTERNAL_VSYSCALL): Use struct return types to check for error.
31233
31234 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
31235 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
31236 function with cast from llround().
31237 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
31238 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
31239 Define.
31240
31241 2015-01-05 Joseph Myers <joseph@codesourcery.com>
31242
31243 [BZ #17793]
31244 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
31245 Define as weak alias not strong alias.
31246
31247 [BZ #17635]
31248 * ctype/ctype-c99.c: New file. isblank implementation moved from
31249 ...
31250 * ctype/ctype-extn.c: ... here.
31251 (__isblank_l): Move to ...
31252 * ctype/ctype-c99_l.c: ... here. New file.
31253 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
31254 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
31255 Remove variable.
31256 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
31257 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
31258 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
31259 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
31260 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
31261
31262 [BZ #17777]
31263 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
31264 (posix_fadvise64): Define as weak alias not strong alias.
31265 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31266 (posix_fallocate64): Likewise.
31267 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
31268 Remove variable.
31269 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
31270 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
31271 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
31272 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
31273 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
31274
31275 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
31276
31277 [BZ #16191]
31278 * NEWS: Mention bug fix.
31279 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
31280 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
31281 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
31282 (HOST_STACK_END_ADDR): Likewise.
31283
31284 2015-01-02 Joseph Myers <joseph@codesourcery.com>
31285
31286 [BZ #17748]
31287 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
31288 * math/fegetround.c (fegetround): Rename to __fegetround and
31289 define as weak alias of __fegetround. Use libm_hidden_weak.
31290 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
31291 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
31292 * sysdeps/arm/fegetround.c (fegetround): Likewise.
31293 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
31294 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
31295 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
31296 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
31297 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
31298 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
31299 Undefine after rather than before function definition; use
31300 parentheses around function name in definition.
31301 (__fegetround): Also undefine macro after function definition.
31302 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
31303 __fegetround and define as weak alias of __fegetround. Use
31304 libm_hidden_weak. Do not undefine as macro.
31305 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
31306 Likewise.
31307 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
31308 __fegetround and define as weak alias of __fegetround. Use
31309 libm_hidden_weak.
31310 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31311 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
31312 * sysdeps/tile/math_private.h (__fegetround): New inline function.
31313 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
31314 __fegetround and define as weak alias of __fegetround. Use
31315 libm_hidden_weak.
31316 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
31317 __fegetround instead of fegetround.
31318
31319 [BZ #17782]
31320 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
31321 Condition macro definition on [__USE_MISC].
31322
31323 [BZ #17781]
31324 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31325 (struct sigaction): Change type of sa_flags field to int.
31326
31327 [BZ #17780]
31328 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
31329 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
31330 __glibc_reserved0.
31331
31332 * nptl/version.c (banner): Use single year in copyright notice.
31333
31334 * NEWS: Update copyright dates.
31335 * catgets/gencat.c (print_version): Likewise.
31336 * csu/version.c (banner): Likewise.
31337 * debug/catchsegv.sh: Likewise.
31338 * debug/pcprofiledump.c (print_version): Likewise.
31339 * debug/xtrace.sh (do_version): Likewise.
31340 * elf/ldconfig.c (print_version): Likewise.
31341 * elf/ldd.bash.in: Likewise.
31342 * elf/pldd.c (print_version): Likewise.
31343 * elf/sotruss.sh: Likewise.
31344 * elf/sprof.c (print_version): Likewise.
31345 * iconv/iconv_prog.c (print_version): Likewise.
31346 * iconv/iconvconfig.c (print_version): Likewise.
31347 * locale/programs/locale.c (print_version): Likewise.
31348 * locale/programs/localedef.c (print_version): Likewise.
31349 * login/programs/pt_chown.c (print_version): Likewise.
31350 * malloc/memusage.sh (do_version): Likewise.
31351 * malloc/memusagestat.c (print_version): Likewise.
31352 * malloc/mtrace.pl: Likewise.
31353 * manual/libc.texinfo: Likewise.
31354 * nptl/version.c (banner): Likewise.
31355 * nscd/nscd.c (print_version): Likewise.
31356 * nss/getent.c (print_version): Likewise.
31357 * nss/makedb.c (print_version): Likewise.
31358 * posix/getconf.c (main): Likewise.
31359 * scripts/test-installation.pl: Likewise.
31360 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
31361
31362 2015-01-02 Will Newton <will.newton@linaro.org>
31363
31364 * sysdeps/arm/armv7/configure: Removed.
31365 * sysdeps/arm/armv7/configure.ac: Likewise.
31366
31367 2015-01-02 Joseph Myers <joseph@codesourcery.com>
31368
31369 * All files with FSF copyright notices: Update copyright dates
31370 using scripts/update-copyrights.
31371 * intl/plural.c: Regenerated.
31372 * locale/programs/charmap-kw.h: Likewise.
31373 * locale/programs/locfile-kw.h: Likewise.
31374
31375 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31376
31377 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
31378
31379 2014-12-31 Joseph Myers <joseph@codesourcery.com>
31380
31381 [BZ #17748]
31382 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
31383 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
31384 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
31385 and define as weak alias of __fegetenv. Use libm_hidden_weak.
31386 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31387 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
31388 define as weak alias of __fegetenv. Use libm_hidden_weak.
31389 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
31390 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31391 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31392 define as weak alias of __fegetenv. Use libm_hidden_weak.
31393 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31394 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31395 define as weak alias of __fegetenv. Use libm_hidden_weak.
31396 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
31397 libm_hidden_def.
31398 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
31399 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
31400 Likewise.
31401 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31402 define as weak alias of __fegetenv. Use libm_hidden_weak.
31403 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31404 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31405 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
31406 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
31407 and define as weak alias of __fegetenv. Use libm_hidden_weak.
31408 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
31409 __fegetenv instead of fegetenv.
31410 (libc_feholdsetround_noex_ctx): Likewise.
31411
31412 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
31413
31414 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
31415 (Elf_MIPS_ABIFlags_v0): New structure.
31416 (EF_MIPS_FP64): Define.
31417 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
31418 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
31419 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
31420 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
31421 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
31422 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
31423 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
31424 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
31425 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
31426 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
31427 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
31428 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
31429 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
31430 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
31431 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
31432 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
31433 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
31434 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
31435 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
31436 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
31437 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
31438 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
31439 field.
31440 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
31441 EF_MIPS_FP64.
31442 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
31443 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
31444 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
31445 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
31446 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
31447 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
31448 * sysdeps/mips/tst-abi-interlink.c: Likewise.
31449 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
31450 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
31451 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
31452 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
31453 record the current FP ABI extension.
31454 (mips-mode-switch): Define to show if kernel headers support mode
31455 switching.
31456 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
31457 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
31458 supported SYSV ABI version to 3.
31459 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
31460 feature.
31461
31462 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31463 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31464
31465 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
31466 path.
31467 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
31468
31469 2014-12-31 Joseph Myers <joseph@codesourcery.com>
31470
31471 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
31472 __fegetround and redefine to call __fegetround. Remove condition
31473 on [!__NO_MATH_INLINES].
31474 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
31475 function.
31476 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
31477 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31478 Remove macro.
31479 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
31480 instead of <fenv_libc.h>.
31481 (__llrintl): Call fegetround instead of __fegetround.
31482 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
31483 instead of <fenv_libc.h>.
31484 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31485 (__lrintl): Call fegetround instead of __fegetround.
31486 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
31487 instead of <fenv_libc.h>.
31488 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31489 (__rintl): Call fegetround instead of __fegetround.
31490
31491 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31492
31493 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
31494 arrays.
31495
31496 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
31497
31498 [BZ #17775]
31499 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
31500 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
31501 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
31502
31503 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
31504
31505 * sysdeps/i386/tls-macros.h: Include <features.h>.
31506 (TLS_LE): Use non-PIC version for GCC >= 5.0.
31507 (TLS_IE): Likewise.
31508 (TLS_LD): Likewise.
31509 (TLS_GD): Likewise.
31510 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
31511 define for GCC >= 5.0.
31512
31513 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
31514
31515 * math/test-fenv.c (test_single_exception, set_single_exc,
31516 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
31517 feexcp_mask_test, feenable_test, fe_single_test): Add
31518 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
31519 case where they are not used.
31520 * math/libm-test.inc: Likewise.
31521 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
31522 unused in the absence of FP rounding/exception support.
31523 * stdio-common/tst-printf-round.c: Likewise.
31524 * stdlib/tst-strtod-round.c: Likewise.
31525 * stdlib/tst-strtod-underflow.c: Likewise.
31526
31527 2014-12-30 Joseph Myers <joseph@codesourcery.com>
31528
31529 [BZ #17723]
31530 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
31531 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
31532 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31533 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31534 libm_hidden_weak.
31535 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
31536 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31537 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
31538 libm_hidden_def.
31539 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31540 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31541 libm_hidden_weak.
31542 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
31543 Likewise.
31544 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
31545 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31546 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31547 libm_hidden_weak.
31548 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31549 libm_hidden_def.
31550 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31551 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
31552 (__feraiseexcept): Likewise.
31553 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31554 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31555 libm_hidden_weak.
31556 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31557 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31558 libm_hidden_def.
31559 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
31560 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
31561 Use libm_hidden_def.
31562 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
31563 libm_hidden_def.
31564 (feraiseexcept): Define as weak not strong alias. Use
31565 libm_hidden_weak.
31566 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
31567 New inline function. Factored out of ...
31568 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
31569 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
31570 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
31571 feraiseexcept.
31572 * math/w_acos.c (__acos): Likewise.
31573 * math/w_asin.c (__asin): Likewise.
31574 * math/w_ilogb.c (__ilogb): Likewise.
31575 * math/w_j0.c (y0): Likewise.
31576 * math/w_j1.c (y1): Likewise.
31577 * math/w_jn.c (yn): Likewise.
31578 * math/w_log.c (__log): Likewise.
31579 * math/w_log10.c (__log10): Likewise.
31580 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
31581 * sysdeps/aarch64/fpu/math_private.h
31582 (libc_feupdateenv_test_aarch64): Likewise.
31583 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
31584 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
31585 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
31586 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
31587 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
31588 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
31589 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
31590 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31591 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31592 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31593
31594 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
31595
31596 [BZ #17732]
31597 * io/test-utime.c (main): Replace %ld with %jd and cast to
31598 intmax_t.
31599 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
31600 * nptl/tst-mutex5.c: Include <stdint.h>.
31601 (do_test): Replace %ld with %jd and cast to intmax_t.
31602 * posix/tst-regex.c (run_test): Likewise.
31603 (run_test_backwards): Likewise.
31604 * rt/tst-clock.c: Include <stdint.h>.
31605 (clock_test): Replace %ld with %jd and cast to intmax_t.
31606 * rt/tst-cpuclock1.c: Include <stdint.h>.
31607 (do_test): Replace %lu with %ju and cast to uintmax_t.
31608 * rt/tst-cpuclock2.c: Include <stdint.h>.
31609 (do_test): Replace %lu with %ju and cast to uintmax_t.
31610 * rt/tst-mqueue1.c: Include <stdint.h>.
31611 (check_attrs): Replace %ld with %jd and cast to intmax_t.
31612 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
31613 intmax_t.
31614 * rt/tst-mqueue4.c (do_test): Likewise.
31615 * rt/tst-timer4.c: Include <stdint.h>.
31616 (check_ts): Replace %ld with %jd and cast to intmax_t.
31617 (do_test): Likewise.
31618 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
31619 and cast to intmax_t.
31620 * sysdeps/pthread/tst-timer.c (main): Likewise.
31621 * time/clocktest.c (main): Likewise.
31622 * time/tst-posixtz.c (do_test): Likewise.
31623 * timezone/tst-timezone.c (main): Likewise.
31624
31625 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
31626 H.J. Lu <hongjiu.lu@intel.com>
31627
31628 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
31629 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31630 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
31631 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
31632 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
31633 version if bit_Fast_Unaligned_Load is set.
31634 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31635 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31636 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31637 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31638 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31639 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31640 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31641 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
31642 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
31643 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
31644 to 4.
31645 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
31646 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
31647 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
31648 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
31649
31650 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
31651
31652 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
31653 instead of #if to avoid a Wundef warning.
31654 * stdlib/tst-limits.c (do_test): Likewise.
31655
31656 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
31657 parallel other exception macros.
31658 (fegetenv): Convert from macro to extern inline so that it applies
31659 retroactively to inline functions already seen by the compiler.
31660 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
31661
31662 * posix/Makefile (before-compile): Use $(objpfx) for
31663 posix-conf-vars-def.h.
31664
31665 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31666
31667 * posix/getconf.c (main): Use size_t for type of I.
31668 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
31669 NSPEC.
31670
31671 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
31672 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
31673 * posix/posix-envs.def: Likewise.
31674 * sysdeps/posix/sysconf.c: Likewise.
31675 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
31676 (specs): Remove array.
31677 * scripts/gen-posix-conf-vars.awk: Support generation of specs
31678 array.
31679
31680 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
31681 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
31682 (__sysconf): Use CONF_IS_* macros.
31683
31684 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
31685 ($(objpfx)posix-conf-vars-def.h): New target.
31686 * posix/posix-conf-vars.list: New file.
31687 * posix/posix-conf-vars.h: New file.
31688 * posix/confstr.c: Include posix-conf-vars.h.
31689 (confstr): Use CONF_IS_* macros.
31690 * posix/posix-envs.def: Include posix-conf-vars.h. Use
31691 CONF_IS_* macros.
31692 * scripts/gen-posix-conf-vars.awk: New file.
31693
31694 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
31695
31696 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
31697 fegetround): Add no-op macros to avoid linknamespace issues.
31698
31699 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
31700 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
31701
31702 * sysdeps/unix/sysv/linux/tile/sysdep.h
31703 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
31704 assembly-specific section to avoid a redefinition warning.
31705
31706 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
31707 long before casting to pointer to avoid a cast warning.
31708
31709 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
31710
31711 * sysdeps/tile/tilegx/Implies: New file.
31712
31713 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
31714
31715 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
31716
31717 2014-12-23 Florian Weimer <fweimer@redhat.com>
31718
31719 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
31720
31721 2014-12-22 Joseph Myers <joseph@codesourcery.com>
31722
31723 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
31724 not define.
31725 * sysdeps/unix/sysv/linux/utimes.c: Do not include
31726 <kernel-features.h>.
31727 (__utimes) [__NR_utimes]: Make code unconditional.
31728 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
31729 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31730 (__ASSUME_UTIMES): Do not undefine.
31731 * sysdeps/unix/sysv/linux/tile/kernel-features.h
31732 (__ASSUME_UTIMES): Likewise.
31733 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31734 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
31735 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
31736 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
31737
31738 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
31739
31740 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
31741
31742 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
31743
31744 [BZ #17747]
31745 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
31746 alias to weak alias for j0l, y0l.
31747 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
31748 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
31749
31750 [BZ #17746]
31751 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
31752 conversion.
31753
31754 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
31755
31756 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
31757 to zero if not already defined.
31758
31759 2014-12-22 Joseph Myers <joseph@codesourcery.com>
31760
31761 [BZ #17724]
31762 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
31763 (__kernel_standard_f): Remove. Moved to k_standardf.c.
31764 (__kernel_standard_l): Remove. Moved to k_standardl.c with
31765 (char *) casts added.
31766 * sysdeps/ieee754/k_standardf.c: New file.
31767 * sysdeps/ieee754/k_standardl.c: Likewise.
31768 * math/Makefile (libm-support): Remove k_standard.
31769 (libm-calls): Add k_standard.
31770
31771 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31772
31773 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31774 Optimize to avoid an unnecessary FPCR read.
31775
31776 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31777
31778 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
31779 Optimize to reduce FPCR/FPSR accesses.
31780
31781 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31782
31783 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
31784 Call libc_fetestexcept_aarch64.
31785
31786 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31787
31788 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
31789 Call libc_fesetround_aarch64.
31790
31791 2014-12-22 Joseph Myers <joseph@codesourcery.com>
31792
31793 [BZ #17733]
31794 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
31795 (__bind): Do not define as weak alias.
31796 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
31797 define.
31798 (__getsockname): Do not define as weak alias.
31799
31800 2014-12-22 Will Newton <will.newton@linaro.org>
31801
31802 * manual/install.texi: Document that we require bison 2.7
31803 or above.
31804 * INSTALL: Regenerate.
31805 * configure.ac: Use AC_CHECK_PROG_VER instead of
31806 AC_PATH_PROG when checking for bison and check for
31807 version 2.7 or above.
31808 * configure: Regenerate.
31809
31810 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
31811
31812 [BZ #17745]
31813 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
31814 * sysdeps/tile/ffsll.c (ffsll): To here.
31815
31816 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
31817
31818 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
31819
31820 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
31821 if not defined.
31822 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
31823 definition.
31824 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31825 hidden ___tls_get_addr.
31826 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31827 hidden __tls_get_addr.
31828 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
31829 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
31830 Likewise.
31831
31832 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
31833
31834 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
31835 _dl_init call.
31836
31837 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
31838
31839 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
31840 from "call _dl_init@PLT".
31841 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
31842
31843 2014-12-21 Anders Kaseorg <andersk@mit.edu>
31844
31845 * manual/search.texi: (Array Sort Function): Clarify stable sorting
31846 guarantees.
31847
31848 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
31849
31850 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
31851
31852 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
31853
31854 [BZ #17744]
31855 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
31856 strnlen.
31857
31858 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
31859
31860 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
31861 of multu on MIPSr6.
31862 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
31863 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
31864 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
31865 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
31866 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
31867
31868 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
31869
31870 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
31871 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
31872 (PTR_SUBU): Use subu for mips32r6/mips64r6.
31873 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
31874 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
31875 mips32r6/mips64r6.
31876 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
31877
31878 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
31879
31880 * string/strncat.c (STRNCAT): Simplify implementation.
31881
31882 2014-12-19 David S. Miller <davem@davemloft.net>
31883
31884 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
31885 access the quad as both a long double and as a series of 4 words.
31886
31887 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
31888 link_map->l_info array access.
31889
31890 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
31891
31892 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
31893
31894 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
31895 * math/atest-exp2.c (TIMEOUT): Likewise.
31896 * math/atest-sincos.c (TIMEOUT): Likewise.
31897
31898 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
31899
31900 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
31901 -Wno-error with -fno-builtin-lround.
31902
31903 2014-12-19 Torvald Riegel <triegel@redhat.com>
31904
31905 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
31906 Contains futex constants and functions moved over from ...
31907 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
31908 <lowlevellock-futex.h>.
31909 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31910 (lll_timedwait_tid): Add comments and parentheses around macro
31911 arguments.
31912
31913 2014-12-19 Torvald Riegel <triegel@redhat.com>
31914
31915 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
31916 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
31917 (__lll_private_flag): Remove.
31918 (lll_futex_wait): Likewise.
31919 (lll_futex_timed_wait): Likewise.
31920 (lll_futex_wake): Likewise.
31921 (lll_futex_requeue): Likewise.
31922 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31923 (__lll_timedwait_tid): Spell out argument names.
31924 (lll_timedwait_tid): Add comments and parentheses around macro
31925 arguments.
31926 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
31927 LLL_SHARED and LLL_PRIVATE usable from assembly code.
31928
31929 2014-12-19 Torvald Riegel <triegel@redhat.com>
31930
31931 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
31932 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
31933 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31934 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
31935 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
31936 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
31937 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
31938 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
31939 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
31940 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
31941 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
31942 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
31943 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
31944 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
31945 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
31946 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
31947 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
31948 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
31949 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
31950
31951 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
31952
31953 * sysdeps/x86_64/x32/Makefile: New file.
31954
31955 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
31956
31957 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
31958 1L with (mp_limb_t) 1.
31959
31960 2014-12-17 Roland McGrath <roland@hack.frob.com>
31961
31962 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
31963 * nptl/libc_pthread_init.c: ... here.
31964 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
31965 * nptl/register-atfork.c: ... here.
31966
31967 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
31968 Use pthread_sigmask rather than INTERNAL_SYSCALL.
31969 Use assert_perror to check its return value.
31970 (__gai_create_helper_thread): Likewise.
31971
31972 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
31973
31974 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
31975
31976 2014-12-17 Joseph Myers <joseph@codesourcery.com>
31977
31978 [BZ #17725]
31979 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
31980 __profil_counter.
31981 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
31982 Likewise.
31983 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
31984 Likewise.
31985 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
31986 Likewise.
31987 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
31988 (profil_counter): Likewise.
31989 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
31990 (profil_counter): Likewise.
31991 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
31992 Likewise.
31993 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
31994 Likewise.
31995 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
31996 (profil_counter): Likewise.
31997 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
31998 Likewise.
31999 [!__profil_counter] (profil_counter): Define as weak alias of
32000 __profil_counter.
32001 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
32002 (profil_counter): Rename to __profil_counter.
32003 [!__profil_counter] (profil_counter): Define as weak alias of
32004 __profil_counter.
32005 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
32006 (profil_counter): Rename to __profil_counter.
32007 [!__profil_counter] (profil_counter): Define as weak alias of
32008 __profil_counter.
32009 * sysdeps/posix/profil.c: Update comment referring to
32010 profil_counter.
32011 (__profil): Use __profil_counter instead of profil_counter.
32012 * sysdeps/posix/sprofil.c (profil_counter): Rename to
32013 __profil_counter. Use __profil_counter_ushort and
32014 __profil_counter_uint in definitions.
32015 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
32016 instead of profil_counter_uint and profil_counter_ushort.
32017
32018 [BZ #17722]
32019 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
32020 define as weak alias of __inet_makeaddr.
32021 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
32022 as weak alias of __inet_addr.
32023 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
32024 as weak alias of __inet_pton. Use libc_hidden_weak.
32025 * include/arpa/inet.h (__inet_pton): Declare. Use
32026 libc_hidden_proto.
32027 (inet_makeaddr): Don't use libc_hidden_proto.
32028 (__inet_makeaddr): Declare. Use libc_hidden_proto.
32029 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
32030 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
32031 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
32032 Remove variable.
32033 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
32034 (test-xfail-POSIX/time.h/linknamespace): Likewise.
32035
32036 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
32037
32038 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
32039
32040 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
32041
32042 * stdio-common/bug-vfprintf-nargs.c (do_test):
32043 Cast value to intptr_t to avoid format warning
32044 for usage with PRIdPTR printing macro.
32045
32046 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
32047
32048 * libio/tst-widetext.c (do_test):
32049 Use format type %td instead of %Zd for ptrdiff_t
32050 in order to avoid format warning.
32051
32052 2014-12-17 Andreas Schwab <schwab@suse.de>
32053
32054 * nscd/mem.c (gc): Add size_t cast to match printf format.
32055
32056 2014-12-16 Roland McGrath <roland@hack.frob.com>
32057
32058 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
32059 (init): Apply PTR_MANGLE to pointers before storing them.
32060 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
32061 before using them.
32062
32063 2014-12-16 Joseph Myers <joseph@codesourcery.com>
32064
32065 [BZ #17719]
32066 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
32067 define as weak alias of __memrchr.
32068 (__memrchr): Do not define as strong alias of memrchr.
32069 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
32070 Remove variable.
32071 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
32072 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
32073 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
32074
32075 [BZ #17717]
32076 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
32077 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
32078 (if_indextoname): Rename to __if_indextoname and define as weak
32079 alias of __if_indextoname. Use libc_hidden_weak.
32080 (if_freenameindex): Rename to __if_freenameindex and define as
32081 weak alias of __if_freenameindex.
32082 (if_nameindex): Rename to __if_nameindex and define as weak alias
32083 of __if_nameindex.
32084 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
32085 __if_nametoindex and define as weak alias of __if_nametoindex.
32086 Use libc_hidden_weak.
32087 (if_freenameindex): Rename to __if_freenameindex and define as
32088 weak alias of __if_freenameindex.
32089 (if_nameindex): Rename to __if_nameindex and define as weak alias
32090 of __if_nameindex.
32091 (if_indextoname): Rename to __if_indextoname and define as weak
32092 alias of __if_indextoname. Use libc_hidden_weak.
32093 * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
32094 __if_nametoindex and define as weak alias of __if_nametoindex.
32095 Use libc_hidden_weak.
32096 (if_freenameindex): Rename to __if_freenameindex and define as
32097 weak alias of __if_freenameindex. Use libc_hidden_weak.
32098 (if_nameindex_netlink): Use __if_freenameindex instead of
32099 if_freenameindex.
32100 (if_nameindex): Rename to __if_nameindex and define as weak alias
32101 of __if_nameindex. Use libc_hidden_weak.
32102 (if_indextoname): Rename to __if_indextoname and define as weak
32103 alias of __if_indextoname. Use libc_hidden_weak.
32104 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
32105 libc_hidden_proto.
32106 [!_ISOMAC] (__if_freenameindex): Likewise.
32107 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
32108 if_nametoindex.
32109 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
32110 variable.
32111 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
32112 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
32113 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
32114 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
32115 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
32116 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
32117 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
32118
32119 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
32120 Remove variable.
32121 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
32122 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
32123
32124 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32125
32126 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
32127 subscript above bounds'
32128
32129 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
32130 bounds.
32131
32132 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
32133
32134 * libio/tst-fopenloc.c: Use test-skeleton.c.
32135
32136 * stdlib/tst-bsearch.c: Use test-skeleton.c.
32137 (entry): Rename to ITEM.
32138 (do_test, comp): Adjust.
32139
32140 * stdio-common/tst-fseek.c: Use test-skeleton.c.
32141
32142 2014-12-16 Torvald Riegel <triegel@redhat.com>
32143
32144 * string/tester.c: Include <libc-internal.h>.
32145 (test_memset): Ignore -Wmemset-transposed-args.
32146
32147 2014-12-16 Torvald Riegel <triegel@redhat.com>
32148
32149 * misc/tst-mntent2.c (do_test): Fix warning.
32150
32151 2014-12-16 Torvald Riegel <triegel@redhat.com>
32152
32153 * elf/tst-unique4lib.cc(a): Mark as used.
32154
32155 2014-12-16 Florian Weimer <fweimer@redhat.com>
32156
32157 [BZ #17630]
32158 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
32159 names.
32160
32161 2014-12-16 Allan McRae <allan@archlinux.org>
32162
32163 * stdio-common/Makefile (tests): Re-add bug26.
32164
32165 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
32166
32167 [BZ #17657]
32168 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
32169 static array.
32170
32171 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
32172
32173 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
32174 (__lll_lock_wait): Likewise.
32175 (__lll_timedlock_wait): Likewise.
32176 (__lll_timedwait_tid): Likewise.
32177 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
32178 (__lll_robust_timedlock_wait): Likewise.
32179 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
32180 (lll_cond_trylock): Likewise.
32181 (__lll_lock): Likewise.
32182 (__lll_robust_lock): Likewise.
32183 (__lll_cond_lock): Likewise.
32184 (lll_robust_cond_lock): Likewise.
32185 (__lll_timedlock): Likewise.
32186 (__lll_robust_timedlock): Likewise.
32187 (__lll_unlock): Likewise.
32188 (__lll_robust_unlock): Likewise.
32189 (lll_wait_tid): Likewise.
32190 (lll_timedwait_tid): Likewise.
32191
32192 2014-12-15 Torvald Riegel <triegel@redhat.com>
32193
32194 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
32195
32196 2014-12-15 Torvald Riegel <triegel@redhat.com>
32197
32198 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
32199
32200 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
32201
32202 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
32203 * stdio-common/tst-sprintf.c: Likewise.
32204
32205 2014-12-15 Torvald Riegel <triegel@redhat.com>
32206
32207 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
32208
32209 2014-12-15 Jeff Law <law@redhat.com>
32210
32211 [BZ #16617]
32212 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
32213 on the heap. (CVE-2012-3406)
32214 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
32215 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
32216 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
32217
32218 2014-12-15 Will Newton <will.newton@linaro.org>
32219
32220 * manual/install.texi: Bump required version of texinfo
32221 to 4.7 from 4.5.
32222 * INSTALL: Regenerated.
32223 * configure.ac: Check for makeinfo version 4.7 and above.
32224 * configure: Regenerated.
32225
32226 2014-12-12 Roland McGrath <roland@hack.frob.com>
32227
32228 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
32229 PREFIX, string constant to insert between directory and name.
32230 * sysdeps/posix/shm_open.c: Update caller.
32231 * sysdeps/posix/shm_unlink.c: Likewise.
32232 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
32233 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
32234 (SEM_SHM_PREFIX): New macro.
32235 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
32236 [$(have-thread-library) = no].
32237 * nptl/Makefile (libpthread-routines): Add shm-directory.
32238 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
32239 * sysdeps/nptl/shm-directory.h: New file.
32240 * sysdeps/posix/shm-directory.c
32241 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
32242 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
32243 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
32244 INTERNAL_SYSCALL.
32245 (__where_is_shmfs): Function removed.
32246 (mountpoint, defaultmount, defaultdir, __namedsem_once):
32247 Variables removed.
32248 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
32249 Use SHM_GET_NAME.
32250 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
32251
32252 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
32253 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
32254 unconditional for use inside libpthread.
32255 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
32256
32257 2014-12-12 Roland McGrath <roland@hack.frob.com>
32258
32259 * nptl/pthread_getaffinity.c: New file.
32260 * nptl/pthread_setaffinity.c: New file.
32261 * nptl/pthread_getname.c: New file.
32262 * nptl/pthread_setname.c: New file.
32263
32264 * nptl/pthread_create.c (START_THREAD_DEFN)
32265 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
32266
32267 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
32268 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32269
32270 * resolv/res_send.c (send_vc): Disable warning resplen may
32271 be used uninitialized.
32272
32273 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
32274
32275 * nptl/tst-mutex6.c
32276 (ATTR_NULL): New define checks ATTR against NULL.
32277 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
32278 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
32279
32280 2014-12-11 James Lemke <jwlemke@codesourcery.com>
32281
32282 [BZ #17581]
32283 * malloc/hooks.c
32284 (mem2mem_check): Revert my previous change.
32285 (malloc_check_get_size): Revert my previous change.
32286 (mem2chunk_check): Revert my previous change.
32287
32288 2014-12-11 Roland McGrath <roland@hack.frob.com>
32289
32290 * sysdeps/posix/shm-directory.c: New file.
32291 * sysdeps/posix/shm-directory.h: New file.
32292 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
32293 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
32294 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
32295 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
32296 Transmute EPERM to EACCES.
32297 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
32298 from ...
32299 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
32300 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
32301
32302 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32303
32304 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
32305 pointer and cast to uintptr_t.
32306 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
32307 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
32308 Add cast to avoid warning.
32309 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
32310
32311 2014-12-11 Joseph Myers <joseph@codesourcery.com>
32312
32313 * nptl/semaphore.h: Move to ...
32314 * sysdeps/pthread/semaphore.h: ... here.
32315 * Makefile (installed-headers): Change nptl/semaphore.h to
32316 sysdeps/pthread/semaphore.h.
32317
32318 2014-12-11 Roland McGrath <roland@hack.frob.com>
32319
32320 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
32321 generated error format strings.
32322
32323 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
32324 -Wformat-extra-args warnings for scanf formats.
32325 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
32326 test of zero-length format (duh).
32327 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
32328 corner-case scanf format test.
32329 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
32330 generated fprintf format string.
32331 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
32332 corner-case sprintf format tests.
32333 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
32334 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
32335 -Wformat-extra-args warnings throughout.
32336 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
32337 (CFLAGS-scanf4.c): Likewise.
32338 (CFLAGS-scanf7.c): Likewise.
32339 (CFLAGS-tst-sprintf.c): Likewise.
32340 (CFLAGS-tst-printf.c): Likewise.
32341 (CFLAGS-tst-printfsz.c): Likewise.
32342
32343 2014-12-11 Joseph Myers <joseph@codesourcery.com>
32344
32345 * include/cpio.h: New file.
32346 * include/fmtmsg.h: Likewise.
32347
32348 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
32349 corresponding format argument to size_t.
32350 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
32351 arguments.
32352 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
32353 corresponding format argument to size_t.
32354 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
32355 arguments.
32356 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
32357 corresponding format argument to size_t.
32358 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
32359 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
32360 (CFLAGS-tst-mbswcs2.c): Likewise.
32361 (CFLAGS-tst-mbswcs3.c): Likewise.
32362 (CFLAGS-tst-mbswcs4.c): Likewise.
32363 (CFLAGS-tst-mbswcs5.c): Likewise.
32364 (CFLAGS-tst-trans.c): Likewise.
32365
32366 2014-12-11 Roland McGrath <roland@hack.frob.com>
32367
32368 * posix/regexbug1.c (main): Use "%s" format with regerror results,
32369 rather than assuming they won't contain any '%'s.
32370
32371 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
32372
32373 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
32374 inhibit_loop_to_libcall to avoid recursive calls.
32375 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
32376 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
32377
32378 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
32379
32380 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
32381 prototype.
32382
32383 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
32384
32385 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
32386 integer value instead of boolean.
32387
32388 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
32389
32390 * malloc/malloc.c: Fix powerof2 check.
32391
32392 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
32393
32394 * locale/programs/locfile.h (maybe_swap_uint32):
32395 Remove inline and add unused attribute.
32396
32397 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
32398
32399 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
32400 Truncating assembler expression to a .long expression.
32401
32402 2014-12-11 Andreas Schwab <schwab@suse.de>
32403
32404 * elf/rtld.c (struct map_args): Constify str member.
32405 (do_preload): Constify fname argument.
32406
32407 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32408
32409 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
32410 constants definition.
32411
32412 2014-12-11 Andreas Schwab <schwab@suse.de>
32413
32414 [BZ #16657]
32415 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
32416 FORCE_ELISION instead of DO_ELISION.
32417 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
32418 Remove.
32419 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
32420 Likewise.
32421
32422 * iconvdata/gconv-modules: Remove duplicate entry.
32423
32424 2014-12-11 Will Newton <will.newton@linaro.org>
32425
32426 Merge gettext 0.19.3 into intl/.
32427
32428 This involves a number of cosmetic changes to comments
32429 and ANSI function definitions and prototypes throughout
32430 all the files. The gettext copyright header is used but
32431 with the date ranges taken from the glibc copy.
32432
32433 * NEWS: Add gettext merge to 2.21.
32434 * intl/bindtextdom.c: Switch to gettext copyright.
32435 Use ANSI definitions and prototypes.
32436 Use gl_* locking primitives rather than __libc_* ones.
32437 Use __builtin_expect rather than __glibc_likely/unlikely.
32438 * intl/dcgettext.c: Switch to gettext copyright.
32439 Use ANSI definitions and prototypes.
32440 * intl/dcigettext.c: Switch to gettext copyright.
32441 Use ANSI definitions and prototypes.
32442 (INTDIV0_RAISES_SIGFPE): New define.
32443 Use gl_* locking primitives rather than __libc_* ones.
32444 Include eval-plural.h instead of plural-eval.c.
32445 Use __builtin_expect rather than __glibc_likely/unlikely.
32446 * intl/dcngettext.c: Switch to gettext copyright.
32447 Use ANSI definitions and prototypes.
32448 * intl/dgettext.c: Likewise.
32449 * intl/dngettext.c: Likewise.
32450 * intl/plural-eval.c: Renamed to...
32451 * intl/eval-plural.h: ...this.
32452 * intl/explodename.c: Switch to gettext copyright.
32453 Use ANSI definitions and prototypes.
32454 (_nl_explode_name): Use strchr instead of __rawmemchr.
32455 * intl/finddomain.c: Switch to gettext copyright.
32456 Use ANSI definitions and prototypes.
32457 Use gl_* locking primitives rather than __libc_* ones.
32458 (_nl_find_domain): Use malloc rather than alloca for
32459 allocation of temporary locale name.
32460 * intl/gettext.c: Switch to gettext copyright.
32461 Use ANSI definitions and prototypes.
32462 * intl/gettextP.h: Switch to gettext copyright.
32463 Use ANSI definitions and prototypes.
32464 Use gl_* locking primitives rather than __libc_* ones.
32465 * intl/gmo.h: Switch to gettext copyright.
32466 (struct sysdep_string): Move struct segment_pair outside of
32467 struct definition.
32468 * intl/hash-string.c: Use ANSI definitions and prototypes.
32469 * intl/hash-string.h: Switch to gettext copyright.
32470 Use ANSI definitions and prototypes.
32471 * intl/l10nflist.c: Switch to gettext copyright.
32472 Use ANSI definitions and prototypes.
32473 (_nl_normalize_codeset): Avoid integer overflow.
32474 * intl/loadinfo.h: Switch to gettext copyright.
32475 Use ANSI definitions and prototypes.
32476 (LIBINTL_DLL_EXPORTED): New define.
32477 (PATH_SEPARATOR): New define.
32478 * intl/loadmsgcat.c: Switch to gettext copyright.
32479 * intl/localealias.c: Switch to gettext copyright.
32480 Use ANSI definitions and prototypes.
32481 (_nl_expand_alias): Use PATH_SEPARATOR.
32482 * intl/ngettext.c: Switch to gettext copyright.
32483 Use ANSI definitions and prototypes.
32484 * intl/plural-exp.c: Likewise.
32485 * intl/plural-exp.h: Switch to gettext copyright.
32486 Use ANSI definitions and prototypes.
32487 (struct expression): Move definition of enum operator outside
32488 of struct definition.
32489 * intl/plural.c: Regenerate.
32490 * intl/plural.y: Switch to gettext copyright.
32491 Use ANSI definitions and prototypes.
32492 Port to bison 3.0.
32493 * intl/textdomain.c: Switch to gettext copyright.
32494 Use ANSI definitions and prototypes.
32495 Use gl_* locking primitives rather than __libc_* ones.
32496
32497 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
32498
32499 * debug/warning-nop.c: Add used atrribute.
32500
32501 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32502
32503 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
32504
32505 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
32506 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
32507 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
32508
32509 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32510 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32511
32512 [BZ #17634]
32513 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
32514 Undefine after defining function. Define as weak alias of
32515 __wcschr. Use libc_hidden_weak.
32516 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
32517 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
32518 (libc_hidden_def): Also define __GI___wcschr alias.
32519 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
32520 __wcschr and define as weak alias of __wcschr.
32521 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
32522 __wcschr.
32523 [!WCSCHR] (DEFAULT_WCSCHR): Define.
32524 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
32525 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
32526 libc_hidden_weak. Do not use libc_hidden_def.
32527 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
32528 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
32529 __GI___wcschr alias.
32530 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
32531 [IS_IN (libc)] (wcschr): Define as macro expanding to
32532 __redirect_wcschr.
32533 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
32534 [IS_IN (libc)] (__wcschr_power6): Likewise.
32535 [IS_IN (libc)] (__wcschr_power7): Likewise.
32536 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
32537 instead of wcschr.
32538 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
32539 __libc_wcschr.
32540 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
32541 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
32542 __wcschr and define as weak alias of __wcschr. Use
32543 libc_hidden_builtin_def.
32544 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
32545 as weak alias of __wcschr. Use libc_hidden_weak.
32546 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
32547 wcschr.
32548 * time/era.c (_nl_init_era_entries): Likewise.
32549 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
32550 variable.
32551 (test-xfail-XPG3/time.h/linknamespace): Likewise.
32552 (test-xfail-XPG4/time.h/linknamespace): Likewise.
32553
32554 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32555
32556 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
32557 format for long int variable.
32558
32559 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
32560
32561 [BZ #10672]
32562 * manual/search.texi: (Array Sort Function): Remove claim how to make
32563 qsort stable.
32564
32565 2014-12-10 Andreas Schwab <schwab@suse.de>
32566
32567 [BZ #12847]
32568 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
32569 user-controlled locks.
32570
32571 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
32572
32573 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
32574 register.
32575
32576 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32577
32578 * configure.ac (--disable-werror): New configure option.
32579 (enable_werror): New AC_SUBST.
32580 * configure: Regenerated.
32581 * config.make.in (enable-werror): New variable.
32582 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
32583 -Wno-error=undef.
32584 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
32585 * manual/install.texi (Configuring and compiling): Document
32586 --disable-werror.
32587 * INSTALL: Regenerated.
32588 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
32589 (CFLAGS-tst-chk2.c): Likewise.
32590 (CFLAGS-tst-chk3.c): Likewise.
32591 (CFLAGS-tst-chk4.cc): Likewise.
32592 (CFLAGS-tst-chk5.cc): Likewise.
32593 (CFLAGS-tst-chk6.cc): Likewise.
32594 (CFLAGS-tst-lfschk1.c): Likewise.
32595 (CFLAGS-tst-lfschk2.c): Likewise.
32596 (CFLAGS-tst-lfschk3.c): Likewise.
32597 (CFLAGS-tst-lfschk4.cc): Likewise.
32598 (CFLAGS-tst-lfschk5.cc): Likewise.
32599 (CFLAGS-tst-lfschk6.cc): Likewise.
32600
32601 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
32602 (main): Disable -Wdeprecated-declarations around calls to
32603 register_printf_function.
32604
32605 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
32606 (do_test): Disable -Wdiv-by-zero around some calls to
32607 fwrite_unlocked and fread_unlocked.
32608
32609 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
32610 (DIAG_POP_NEEDS_COMMENT): Likewise.
32611 (_DIAG_STR1): Likewise.
32612 (_DIAG_STR): Likewise.
32613 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
32614 * stdio-common/bug21.c: Include <libc-internal.h>.
32615 (do_test): Disable -Wformat around call to sscanf.
32616 * stdio-common/scanf14.c: Include <libc-internal.h>.
32617 (main): Disable -Wformat around some calls to scanf functions.
32618
32619 2014-12-09 Torvald Riegel <triegel@redhat.com>
32620
32621 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
32622
32623 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32624
32625 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
32626 stack variable alignment.
32627
32628 2014-12-06 Joseph Myers <joseph@codesourcery.com>
32629
32630 [BZ #17682]
32631 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
32632 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
32633 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
32634 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
32635 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
32636 __getrlimit instead of getrlimit.
32637 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
32638 __gettimeofday instead of gettimeofday.
32639 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32640 Likewise.
32641 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32642 Likewise.
32643 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32644 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
32645 Remove variable.
32646 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
32647 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
32648
32649 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32650
32651 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
32652 for wide-character tests.
32653
32654 2014-12-04 Roland McGrath <roland@hack.frob.com>
32655
32656 * io/openat64.c: #include <libc-internal.h>
32657 (__openat64): Prototypify. Use ignore_value on MODE.
32658 * io/openat.c: Likewise.
32659 * misc/reboot.c: #include <libc-internal.h>
32660 (reboot): Prototypify. Use ignore_value on HOWTO.
32661 * misc/ptrace.c: #include <libc-internal.h>
32662 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
32663
32664 2014-12-04 Joseph Myers <joseph@codesourcery.com>
32665
32666 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
32667 XPG4, UNIX98 and XOPEN2K.
32668 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
32669 Remove variable.
32670 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
32671
32672 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32673
32674 * libio/fileops.c: Use ISO C style for function definitions.
32675 * libio/iofopen.c: Likewise.
32676 * libio/wfileops.c: Likewise.
32677
32678 [BZ #17653]
32679 * libio/fileops.c (_IO_new_file_underflow): Unset cached
32680 offset on EOF.
32681 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
32682 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
32683 (fgets_func): Function pointer to fgets and fgetws.
32684 (do_ftell_test): Add test to verify ftell value after read
32685 EOF.
32686 (do_test): Set fgets_func.
32687
32688 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
32689 O_TRUNC flag for w and w+ modes.
32690 (do_rewind_test): Likewise.
32691 (do_ftell_test): Likewise.
32692 (do_write_test): Likewise.
32693
32694 [BZ #17647]
32695 * libio/fileops.c (do_ftell): Seek only when there are
32696 unflushed writes.
32697 * libio/wfileops.c (do_ftell_wide): Likewise.
32698 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
32699 test case.
32700 (do_one_test): Call it.
32701
32702 2014-12-03 Joseph Myers <joseph@codesourcery.com>
32703
32704 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
32705 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
32706 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
32707 Remove variable.
32708 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
32709 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
32710 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
32711
32712 2014-12-02 Joseph Myers <joseph@codesourcery.com>
32713
32714 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
32715 Remove variable.
32716 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
32717
32718 [BZ #17668]
32719 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
32720 as weak alias of __getifaddrs. Use libc_hidden_weak.
32721 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32722 __freeifaddrs. Use libc_hidden_weak.
32723 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
32724 define as weak alias of __getifaddrs. Use libc_hidden_weak.
32725 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32726 __freeifaddrs. Use libc_hidden_weak.
32727 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
32728 __getifaddrs and define as weak alias of __getifaddrs. Use
32729 libc_hidden_weak.
32730 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32731 __freeifaddrs. Use libc_hidden_weak.
32732 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
32733 Remove variable.
32734 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
32735 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
32736
32737 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
32738
32739 [BZ #17601]
32740 * sysdeps/mips/start.S (__start): Use indirect jump to call
32741 __libc_start_main.
32742
32743 2014-12-02 Joseph Myers <joseph@codesourcery.com>
32744
32745 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
32746
32747 * nptl/tst-mutex1.c: Include <stdbool.h>.
32748 [!ATTR] (ATTR_NULL): New macro.
32749 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
32750 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
32751 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
32752
32753 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
32754 to char *.
32755
32756 [BZ #17665]
32757 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
32758 Change conditional to [__USE_MISC].
32759
32760 [BZ #17664]
32761 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
32762 fgets_unlocked.
32763 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
32764 __fgets_unlocked.
32765 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
32766 fgets_unlocked.
32767 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
32768 Remove variable.
32769 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
32770 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
32771 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
32772 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
32773 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
32774 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
32775 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
32776 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
32777 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
32778
32779 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
32780
32781 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32782
32783 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32784 Remove strpbrk objects.
32785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32786 (__libc_ifunc_impl_list): Remove strpbrk implementation.
32787 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
32788 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
32789 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
32790 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
32791
32792 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32793 Remove strcspn objects.
32794 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32795 (__libc_ifunc_impl_list): Remove strcspn implementation.
32796 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
32797 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
32798 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
32799 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
32800
32801 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32802 Remove strspn objetcs.
32803 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32804 (__libc_ifunc_impl_list): Remove strspn implementation.
32805 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
32806 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32807 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
32808 * sysdeps/powerpc/powerpc64/strspn.S: New file.
32809
32810 2014-12-01 James Lemke <jwlemke@codesourcery.com>
32811
32812 [BZ #17581]
32813 * malloc/hooks.c
32814 (mem2mem_check): Add a terminator to the chain of checking blocks.
32815 (malloc_check_get_size): Use it here.
32816 (mem2chunk_check): Ditto.
32817
32818 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32819
32820 * sysdeps/powerpc/powerpc64/strtok.S: New file.
32821 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
32822
32823 2014-11-29 Carlos O'Donell <carlos@redhat.com>
32824
32825 * bits/ioctl-types.h: Indent preprocessor directives correctly.
32826
32827 * nptl/nptl-init.c: Include libc-internal.h.
32828 (__pthread_initialize_minimal_internal): Use ROUND_UP.
32829
32830 * elf/ldconfig.c (search_dir): Expand comment.
32831
32832 2014-11-29 Joseph Myers <joseph@codesourcery.com>
32833
32834 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
32835 variable.
32836 (linknamespace-symlist-stdlibs-tests): Likewise.
32837 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
32838 instead of $(objpfx)symlist-stdlibs.
32839 (linknamespace-libs-isoc): New variable.
32840 (linknamespace-libs): Use $(linknamespace-libs-isoc).
32841 (linknamespace-libs-ISO): New variable.
32842 (linknamespace-libs-ISO99): Likewise.
32843 (linknamespace-libs-ISO11): Likewise.
32844 (linknamespace-libs-XPG3): Likewise.
32845 (linknamespace-libs-XPG4): Likewise.
32846 (linknamespace-libs-POSIX): Likewise.
32847 (linknamespace-libs-UNIX98): Likewise.
32848 (linknamespace-libs-XOPEN2K): Likewise.
32849 (linknamespace-libs-POSIX2008): Likewise.
32850 (linknamespace-libs-XOPEN2K8): Likewise.
32851 ($(objpfx)symlist-stdlibs): Replace by
32852 $(linknamespace-symlist-stdlibs-tests). Use
32853 $(linknamespace-libs-$*) as set of libraries.
32854 ($(linknamespace-header-tests)): Update dependencies. Use
32855 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
32856 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
32857 * conform/linknamespace.pl: Remove comment about considering
32858 definitions of symbols from irrelevant libraries.
32859
32860 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
32861
32862 [BZ #13862]
32863 * elf/dl-tls.c: Include <atomic.h>.
32864 (oom): Remove #ifdef SHARED/#endif.
32865 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
32866 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
32867 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
32868 big enough.
32869 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
32870 * nptl/Makefile (tests): Add tst-stack4.
32871 (modules-names): Add tst-stack4mod.
32872 ($(objpfx)tst-stack4): New.
32873 (tst-stack4mod.sos): Likewise.
32874 ($(objpfx)tst-stack4.out): Likewise.
32875 ($(tst-stack4mod.sos)): Likewise.
32876 (clean): Likewise.
32877 * nptl/tst-stack4.c: New file.
32878 * nptl/tst-stack4mod.c: Likewise.
32879
32880 2014-11-27 J. Brown <jb999@gmx.de>
32881
32882 * sysdeps/x86/bits/string.h: Add recent CPUs.
32883
32884 2014-11-27 Joseph Myers <joseph@codesourcery.com>
32885
32886 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
32887 sigblock.
32888
32889 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
32890 feof.
32891
32892 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
32893 variable.
32894
32895 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
32896
32897 * nscd/connections.c: Include libc-internal.h because of macro
32898 usage ignore_value.
32899
32900 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32901
32902 * string/bits/string3.h (__warn_memset_zero_len): Don't
32903 declare for gcc newer than 5.0.
32904 (memset): Don't test for zero-length __LEN for gcc newer than
32905 5.0.
32906
32907 2014-11-27 Joseph Myers <joseph@codesourcery.com>
32908
32909 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
32910 size_t for %zu format.
32911
32912 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
32913 difference, not %ju.
32914
32915 2014-11-26 Joseph Myers <joseph@codesourcery.com>
32916
32917 * include/libc-internal.h (ignore_value): New macro.
32918 * nscd/connections.c (restart): Wrap calls to setuid and setgid
32919 with ignore_value.
32920
32921 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
32922 definition.
32923
32924 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
32925 pthread_cleanup_push to void *.
32926
32927 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
32928 Undefine.
32929
32930 [BZ #16619]
32931 [BZ #16740]
32932 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
32933 instead of 1L << 52.
32934
32935 * libio/bug-rewind.c (do_test): Check fwscanf return values.
32936 * libio/bug-rewind2.c (do_test): Likewise.
32937
32938 * debug/test-stpcpy_chk-ifunc.c: Remove file.
32939 * debug/test-strcpy_chk-ifunc.c: Likewise.
32940 * wcsmbs/test-wcschr-ifunc.c: Likewise.
32941 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32942 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32943 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32944 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32945 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32946 * Rules [$(multi-arch) = no] (tests): Do not filter out
32947 $(tests-ifunc).
32948 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
32949 * debug/Makefile (tests-ifunc): Remove variable.
32950 (tests): Do not add $(tests-ifunc).
32951 * wcsmbs/Makefile (tests-ifunc): Remove variable.
32952 (tests): Do not add $(tests-ifunc).
32953 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
32954 [TEST_IFUNC]: Remove conditionals.
32955 * string/test-string.h (TEST_IFUNC): Remove macro.
32956 [TEST_IFUNC]: Remove conditionals.
32957
32958 * string/test-strchr.c [!WIDE] (L): New macro.
32959 [WIDE] (L): Likewise.
32960 (check1): Use CHAR instead of char. Use L on string and character
32961 constants.
32962
32963 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
32964
32965 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
32966 tests.
32967 * sysdeps/powerpc/bits/atomic.h
32968 (__arch_atomic_exchange_and_add_32_acq): Add definition.
32969 (__arch_atomic_exchange_and_add_32_rel): Likewise.
32970 (atomic_exchange_and_add_acq): Likewise.
32971 (atomic_exchange_and_add_rel): Likewise.
32972 * sysdeps/powerpc/powerpc32/bits/atomic.h
32973 (__arch_atomic_exchange_and_add_64_acq): Add definition.
32974 (__arch_atomic_exchange_and_add_64_rel): Likewise.
32975 * sysdeps/powerpc/powerpc64/bits/atomic.h
32976 (__arch_atomic_exchange_and_add_64_acq): Add definition.
32977 (__arch_atomic_exchange_and_add_64_rel): Likewise.
32978
32979 2014-11-26 Torvald Riegel <triegel@redhat.com>
32980
32981 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
32982 Change synchronization of __sched_fifo_min_prio and
32983 __sched_fifo_max_prio.
32984 * nptl/pthread_mutexattr_getprioceiling.c
32985 (pthread_mutexattr_getprioceiling): Likewise.
32986 * nptl/pthread_mutexattr_setprioceiling.c
32987 (pthread_mutexattr_setprioceiling): Likewise.
32988 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
32989 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
32990 Likewise.
32991
32992 2014-11-26 Joseph Myers <joseph@codesourcery.com>
32993
32994 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
32995 void.
32996
32997 2014-11-25 Joseph Myers <joseph@codesourcery.com>
32998
32999 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
33000 third argument const.
33001
33002 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
33003
33004 fnmatch: work around GCC compiler warning bug with uninit var
33005 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
33006 This works around a bug with x86-64 GCC 4.9.2 and earlier
33007 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
33008 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
33009 used uninitialized in this function [-Wmaybe-uninitialized]".
33010
33011 2014-11-25 Joseph Myers <joseph@codesourcery.com>
33012
33013 * posix/bug-regex31.c (main): Return RES not 0.
33014
33015 2014-11-25 Anton Blanchard <anton@samba.org>
33016
33017 * sysdeps/powerpc/bits/atomic.h
33018 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
33019
33020 2014-11-24 Sterling Augustine <saugustine@google.com>
33021
33022 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
33023
33024 2014-11-24 Ryan Cumming <etaoins@gmail.com>
33025
33026 [BZ #17608]
33027 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
33028
33029 2014-11-24 Joseph Myers <joseph@codesourcery.com>
33030
33031 [BZ #17633]
33032 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
33033 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
33034 variable.
33035 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33036 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33037
33038 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
33039
33040 * string/strncpy.c (strncpy): Improve performance by using memset.
33041
33042 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
33043
33044 * string/strcpy.c (strcpy):
33045 Improve performance by using strlen and memcpy.
33046
33047 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
33048
33049 * string/strcoll_l.c (get_next_seq): __always_inline.
33050 * string/strcoll_l.c (do_compare): __always_inline.
33051
33052 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33053
33054 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
33055 defined.
33056 * include/mqueue.h: Likewise.
33057 * include/stdlib.h: Likewise.
33058
33059 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
33060 (get_null_defines): Adjust.
33061 * sunrpc/Makefile: Adjust comment.
33062 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
33063 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
33064 (CFLAGS-interp.c): Likewise.
33065 (CFLAGS-ldconfig.c): Likewise.
33066 (CPPFLAGS-.os): Likewise.
33067 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33068 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
33069 * extra-modules.mk (extra-modules.mk): Likewise.
33070 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
33071 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
33072 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
33073 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
33074 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
33075 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
33076 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
33077 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
33078 * iconvdata/Makefile (CPPFLAGS): Likewise.
33079 (cpp-srcs-left): Add libof for all iconvdata routines.
33080 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
33081 * include/assert.h: Likewise.
33082 * include/ctype.h: Likewise.
33083 * include/errno.h: Likewise.
33084 * include/libc-symbols.h: Likewise.
33085 * include/math.h: Likewise.
33086 * include/netdb.h: Likewise.
33087 * include/resolv.h: Likewise.
33088 * include/stdio.h: Likewise.
33089 * include/stdlib.h: Likewise.
33090 * include/string.h: Likewise.
33091 * include/sys/stat.h: Likewise.
33092 * include/wctype.h: Likewise.
33093 * intl/l10nflist.c: Likewise.
33094 * libidn/idn-stub.c: Likewise.
33095 * libio/libioP.h: Likewise.
33096 * nptl/libc_multiple_threads.c: Likewise.
33097 * nptl/pthreadP.h: Likewise.
33098 * posix/regex_internal.h: Likewise.
33099 * resolv/res_hconf.c: Likewise.
33100 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
33101 * sysdeps/arm/memmove.S: Likewise.
33102 * sysdeps/arm/sysdep.h: Likewise.
33103 * sysdeps/generic/_itoa.h: Likewise.
33104 * sysdeps/generic/symbol-hacks.h: Likewise.
33105 * sysdeps/gnu/errlist.awk: Likewise.
33106 * sysdeps/gnu/errlist.c: Likewise.
33107 * sysdeps/i386/i586/memcpy.S: Likewise.
33108 * sysdeps/i386/i586/memset.S: Likewise.
33109 * sysdeps/i386/i686/memcpy.S: Likewise.
33110 * sysdeps/i386/i686/memmove.S: Likewise.
33111 * sysdeps/i386/i686/mempcpy.S: Likewise.
33112 * sysdeps/i386/i686/memset.S: Likewise.
33113 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
33114 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33115 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
33116 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
33117 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33118 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33119 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
33120 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33121 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33122 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33123 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33124 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33125 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33126 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33127 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33128 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33129 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
33130 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
33131 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
33132 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33133 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33134 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33135 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33136 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33137 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33138 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33139 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
33140 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33141 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
33142 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33143 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33144 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
33145 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
33146 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33147 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33148 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33149 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33150 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33151 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33152 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33153 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33154 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33155 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33156 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33157 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33158 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33159 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
33160 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
33161 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33162 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33163 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33164 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
33165 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
33166 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33167 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33168 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
33169 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33170 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
33171 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
33172 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33173 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33174 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33175 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
33176 * sysdeps/nptl/bits/libc-lock.h: Likewise.
33177 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
33178 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
33179 * sysdeps/posix/closedir.c: Likewise.
33180 * sysdeps/posix/opendir.c: Likewise.
33181 * sysdeps/posix/readdir.c: Likewise.
33182 * sysdeps/posix/rewinddir.c: Likewise.
33183 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
33184 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
33185 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
33186 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
33187 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33188 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
33189 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
33190 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
33191 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
33192 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
33193 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
33194 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
33195 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
33196 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
33197 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
33198 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
33199 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
33200 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
33201 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
33202 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
33203 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
33204 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
33205 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
33206 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
33207 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
33208 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
33209 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
33210 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
33211 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
33212 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
33213 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
33214 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
33215 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
33216 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
33217 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
33218 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
33219 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
33220 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33221 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
33222 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
33223 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
33224 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
33225 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
33226 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
33227 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
33228 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
33229 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
33230 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
33231 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
33232 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
33233 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
33234 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
33235 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
33236 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
33237 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
33238 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
33239 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
33240 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
33241 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
33242 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
33243 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
33244 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
33245 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33246 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
33247 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
33248 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
33249 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
33250 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
33251 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
33252 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
33253 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
33254 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
33255 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
33256 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
33257 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
33258 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
33259 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
33260 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
33261 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
33262 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
33263 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
33264 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
33265 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
33266 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
33267 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
33268 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
33269 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
33270 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33271 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33272 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33273 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
33274 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
33275 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
33276 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33277 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33278 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
33279 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33280 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33281 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
33282 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
33283 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33284 * sysdeps/unix/alpha/sysdep.S: Likewise.
33285 * sysdeps/unix/alpha/sysdep.h: Likewise.
33286 * sysdeps/unix/make-syscalls.sh: Likewise.
33287 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33288 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33289 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33290 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
33291 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33292 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
33293 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
33294 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33295 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33296 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
33297 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33298 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33299 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33300 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
33301 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33302 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33303 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33304 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
33305 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
33306 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33307 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
33308 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33309 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33310 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33311 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33312 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33313 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33314 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
33315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33316 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
33317 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33318 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33319 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33320 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33321 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33322 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33323 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33324 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33325 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33326 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
33327 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33328 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33329 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33330 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33331 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33332 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33333 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33334 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33335 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33336 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33337 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33338 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33339 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33340 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33341 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
33342 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33343 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33344 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33345 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
33346 * sysdeps/x86_64/memcpy.S: Likewise.
33347 * sysdeps/x86_64/memmove.c: Likewise.
33348 * sysdeps/x86_64/memset.S: Likewise.
33349 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
33350 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33351 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
33352 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
33353 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
33354 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33355 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33356 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33357 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33358 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33359 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33360 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33361 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
33362 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33363 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33364 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
33365 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33366 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33367 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33368 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33369 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
33370 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33371 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33372 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33373 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33374 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33375 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33376 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
33377 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33378 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33379 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
33380 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33381 * sysdeps/x86_64/strcmp.S: Likewise.
33382
33383 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
33384
33385 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
33386 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
33387 * elf/rtld-Rules: Likewise.
33388 * elf/setup-vdso.h: Likewise.
33389 * include/assert.h: Likewise.
33390 * include/bits/stdlib-float.h: Likewise.
33391 * include/errno.h: Likewise.
33392 * include/sys/stat.h: Likewise.
33393 * include/unistd.h: Likewise.
33394 * sysdeps/aarch64/setjmp.S: Likewise.
33395 * sysdeps/alpha/setjmp.S: Likewise.
33396 * sysdeps/arm/__longjmp.S: Likewise.
33397 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
33398 * sysdeps/arm/setjmp.S: Likewise.
33399 * sysdeps/arm/sysdep.h: Likewise.
33400 * sysdeps/generic/_itoa.h: Likewise.
33401 * sysdeps/generic/dl-sysdep.h: Likewise.
33402 * sysdeps/generic/ldsodefs.h: Likewise.
33403 * sysdeps/i386/dl-tls.h: Likewise.
33404 * sysdeps/i386/setjmp.S: Likewise.
33405 * sysdeps/m68k/setjmp.c: Likewise.
33406 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
33407 * sysdeps/mach/hurd/opendir.c: Likewise.
33408 * sysdeps/posix/getcwd.c: Likewise.
33409 * sysdeps/posix/opendir.c: Likewise.
33410 * sysdeps/posix/profil.c: Likewise.
33411 * sysdeps/powerpc/dl-procinfo.h: Likewise.
33412 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33413 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33414 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
33415 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33416 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
33417 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
33418 * sysdeps/s390/dl-tls.h: Likewise.
33419 * sysdeps/s390/s390-32/setjmp.S: Likewise.
33420 * sysdeps/s390/s390-64/setjmp.S: Likewise.
33421 * sysdeps/sh/sh3/setjmp.S: Likewise.
33422 * sysdeps/sh/sh4/setjmp.S: Likewise.
33423 * sysdeps/unix/alpha/sysdep.h: Likewise.
33424 * sysdeps/unix/arm/sysdep.S: Likewise.
33425 * sysdeps/unix/i386/sysdep.S: Likewise.
33426 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33427 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33428 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33429 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33430 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33431 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
33432 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
33433 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33434 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
33435 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
33436 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
33437 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33438 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33439 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33441 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33442 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33443 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33444 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33445 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33446 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33447 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33448 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33449 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33450 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33451 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33452 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33453 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33454 * sysdeps/x86_64/setjmp.S: Likewise.
33455
33456 * include/math.h: Use IS_IN instead of IS_IN_libm.
33457 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
33458 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33459 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33460 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
33461 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33462 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33463 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33464 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33465 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33466 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33467 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
33468 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
33469 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
33470 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
33471 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
33472 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
33473 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
33474 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
33475 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
33476 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
33477 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
33478 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
33479 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
33480 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
33481 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
33482 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
33483 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
33484 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33485 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33486 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
33487 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
33488 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
33489 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33490 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
33491 Likewise.
33492 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
33493 Likewise.
33494 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
33495 Likewise.
33496 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
33497 Likewise.
33498 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
33499 Likewise.
33500 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
33501 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
33502 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
33503 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33504 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33505 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33506 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
33507 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
33508 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
33509 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
33510 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
33511 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
33512 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
33513 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33514 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33515 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33516 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33517 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33518 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33519 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
33520 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
33521 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
33522 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
33523 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
33524 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
33525 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33526 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
33527
33528 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
33529 * nptl/pthreadP.h: Likewise.
33530 * nptl_db/structs.def: Likewise.
33531 * sysdeps/arm/sysdep.h: Likewise.
33532 * sysdeps/nptl/bits/libc-lock.h: Likewise.
33533 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
33534 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
33535 * sysdeps/unix/alpha/sysdep.h: Likewise.
33536 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33537 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33538 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33539 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33540 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33541 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33542 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33543 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33544 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33545 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33546 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33547 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33548 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33549 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33550 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
33551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33552 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33553 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33554 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33555 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33556 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33557 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33558 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33559 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33560 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
33561 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33562
33563 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
33564 * nptl/pthreadP.h: Likewise.
33565 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33566 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33567 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33568 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33569 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33570 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33571 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33572 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33573 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33574 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33575 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33576 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33577 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33578 Likewise.
33579 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33580 Likewise.
33581 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33582 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33583 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33584 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33585 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33586 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33587 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33588 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33589
33590 * dlfcn/dladdr.c: Use IS_IN.
33591 * dlfcn/dladdr1.c: Likewise.
33592 * dlfcn/dlclose.c: Likewise.
33593 * dlfcn/dlerror.c: Likewise.
33594 * dlfcn/dlinfo.c: Likewise.
33595 * dlfcn/dlmopen.c: Likewise.
33596 * dlfcn/dlopen.c: Likewise.
33597 * dlfcn/dlsym.c: Likewise.
33598 * dlfcn/dlvsym.c: Likewise.
33599
33600 * include/ifaddrs.h: Use IS_IN.
33601 * inet/check_pf.c: Likewise.
33602 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33603 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
33604
33605 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
33606 IS_IN_ldconfig.
33607 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
33608 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
33609
33610 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
33611 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
33612 IS_IN (libc).
33613
33614 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
33615
33616 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
33617 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33618 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
33619 * include/libc-symbols.h (IS_IN_LIB): New macro.
33620 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
33621 * include/netdb.h: Likewise.
33622 * include/stap-probe.h: Remove all uses of IN_LIB.
33623
33624 * Makeconfig (module-cppflags-real): Define MODULE_NAME
33625 instead of IN_MODULE.
33626 * include/libc-symbols.h (IN_MODULE): Define using
33627 MODULE_NAME.
33628 (PASTE_NAME, PASTE_NAME1): New macros.
33629 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
33630 of IN_LIB.
33631 (STAP_PROBE_ASM): Likewise.
33632
33633 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
33634
33635 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
33636 __mach_init in dlopened libc.
33637
33638 2014-11-22 Mike Frysinger <vapier@gentoo.org>
33639
33640 * sysdeps/arm/preconfigure.ac: Delete EABI check.
33641 * sysdeps/arm/preconfigure: Regenerate.
33642
33643 2014-11-21 Roland McGrath <roland@hack.frob.com>
33644
33645 * nptl/pthread_create.c (__pthread_create_2_1): Set
33646 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
33647 when copying values from IATTR into PD.
33648
33649 2014-11-21 Will Newton <will.newton@linaro.org>
33650 Andrew Pinski <andrew.pinski@caviumnetworks.com>
33651
33652 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
33653 Refactor inline-asm. Also add comment.
33654
33655 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
33656 ElfW macro instead of hardcoded Elf64 types.
33657 (la_aarch64_gnu_pltenter): Likewise.
33658 * sysdeps/aarch64/dl-machine.h
33659 (elf_machine_runtime_setup): Use ElfW(Addr).
33660
33661 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
33662 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
33663 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
33664 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
33665 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
33666 (R_AARCH64_TLS_DTPMOD64): Rename to ..
33667 (R_AARCH64_TLS_DTPMOD): This.
33668 (R_AARCH64_TLS_DTPREL64): Rename to ...
33669 (R_AARCH64_TLS_DTPREL): This.
33670 (R_AARCH64_TLS_TPREL64): Rename to ...
33671 (R_AARCH64_TLS_TPREL): This.
33672 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
33673 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
33674 R_AARCH64_TLS_TPREL64.
33675 (elf_machine_rela): Likewise.
33676
33677 2014-11-21 Torvald Riegel <triegel@redhat.com>
33678
33679 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
33680 by setting it to 0. 64b atomics are not supported currently.
33681
33682 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33683
33684 [BZ #16469]
33685 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
33686 search domain names.
33687
33688 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33689
33690 [BZ #16469]
33691 * NEWS: Update.
33692 * resolv/res_query.c (__libc_res_nquerydomain): Retain
33693 trailing dot.
33694 * posix/tst-getaddrinfo5.c: New.
33695 * posix/Makefile (tests): Add it.
33696
33697 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33698
33699 [BZ #14498]
33700 * NEWS: Fixed.
33701 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
33702 after parsing line but before break_if_match.
33703 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
33704 if there is a protocol mismatch.
33705
33706 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
33707
33708 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
33709 because the potential race is on the user-supplied stream.
33710
33711 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33712
33713 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
33714 string literal if not passed a buffer.
33715 * manual/job.texi (ctermid): Update reasoning, note deviation
33716 from posix, suggest mtasurace when not passed a buffer, for
33717 future non-preliminary safety notes.
33718
33719 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33720
33721 * manual/users.texi (cuserid): Fix MT-Safety note for the case
33722 of not passing it a buffer.
33723 Reported by Peng Haitao.
33724
33725 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33726
33727 * manual/Makefile ($(objpfx)stamp-summary): Require
33728 check-safety.sh to pass.
33729 * manual/check-safety.sh: Wish for verification that every
33730 @deftypefn and @deftypefun is followed by a @safety remark.
33731
33732 2014-11-20 Roland McGrath <roland@hack.frob.com>
33733
33734 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
33735
33736 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
33737 PTHREAD_CANCEL_ASYNCHRONOUS.
33738 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
33739 send SIGCANCEL.
33740
33741 * nptl/default-sched.h: New file.
33742 * sysdeps/unix/sysv/linux/default-sched.h: New file.
33743 * nptl/pthread_create.c: Include it.
33744 (__pthread_create_2_1): Use collect_default_sched instead of making
33745 Linux syscalls here directly.
33746
33747 2014-11-20 Torvald Riegel <triegel@redhat.com>
33748
33749 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
33750 __pthread_once): Use C11 atomics.
33751
33752 2014-11-20 Torvald Riegel <triegel@redhat.com>
33753
33754 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
33755
33756 2014-11-20 Torvald Riegel <triegel@redhat.com>
33757
33758 * include/atomic.h (__atomic_link_error, __atomic_check_size,
33759 atomic_thread_fence_acquire, atomic_thread_fence_release,
33760 atomic_thread_fence_seq_cst, atomic_load_relaxed,
33761 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
33762 atomic_compare_exchange_weak_relaxed,
33763 atomic_compare_exchange_weak_acquire,
33764 atomic_compare_exchange_weak_release,
33765 atomic_exchange_acquire, atomic_exchange_release,
33766 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
33767 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
33768 atomic_fetch_and_acquire,
33769 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
33770
33771 2014-11-20 Torvald Riegel <triegel@redhat.com>
33772
33773 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
33774 USE_ATOMIC_COMPILER_BUILTINS): Define.
33775 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
33776 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33777 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
33778 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33779 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
33780 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33781 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
33782 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33783 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
33784 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33785 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
33786 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33787 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
33788 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33789 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
33790 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33791 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33792 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33793 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33794 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33795 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
33796 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33797 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33798 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33799 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
33800 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33801 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33802 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33803 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
33804 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33805 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
33806 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33807 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
33808 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33809 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
33810 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33811 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
33812 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33813 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
33814 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33815
33816 2014-11-19 Roland McGrath <roland@hack.frob.com>
33817
33818 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
33819 the sched_priority value here. It was already checked when the user
33820 called pthread_attr_setschedparam.
33821
33822 * nptl/tst-bad-schedattr.c: New file.
33823 * nptl/Makefile (tests): Add it.
33824
33825 2014-11-19 Carlos O'Donell <carlos@redhat.com>
33826 Florian Weimer <fweimer@redhat.com>
33827 Joseph Myers <joseph@codesourcery.com>
33828 Adam Conrad <adconrad@0c3.net>
33829 Andreas Schwab <schwab@suse.de>
33830 Brooks <bmoses@google.com>
33831
33832 [BZ #17625]
33833 * wordexp-test.c (__dso_handle): Add prototype.
33834 (__register_atfork): Likewise.
33835 (__app_register_atfork): New function.
33836 (registered_forks): New global.
33837 (register_fork): New function.
33838 (test_case): Add 3 new tests for WRDE_CMDSUB.
33839 (main): Call __app_register_atfork.
33840 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
33841 fork count is non-zero fail the test.
33842 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
33843 is set.
33844 (parse_dollars): Remove check for WRDE_NOCMD.
33845 (parse_dquote): Likewise.
33846
33847 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33848
33849 * Makeconfig (built-modules): List non-library modules to be
33850 built.
33851 (module-cppflags): Include libc-modules.h for
33852 everything except shlib-versions.v.i.
33853 (CPPFLAGS): Use it.
33854 (before-compile): Add libc-modules.h.
33855 ($(common-objpfx)libc-modules.h,
33856 $(common-objpfx)libc-modules.stmp): New targets.
33857 (common-generated): Add libc-modules.h and libc-modules.stmp.
33858 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
33859 * include/libc-symbols.h: Don't include libc-modules.h.
33860 * include/libc-modules.h: Remove file.
33861 * scripts/gen-libc-modules.awk: New script to generate
33862 libc-modules.h.
33863 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
33864 Depend on libc-modules.stmp.
33865
33866 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
33867
33868 * Makeconfig (in-module): Get value of libof set for the
33869 translation unit.
33870 (CPPFLAGS): Use $(in-module).
33871 * Makerules: Don't suffix routine names for nonlib.
33872 * include/libc-modules.h: New file.
33873 * include/libc-symbols.h: Include libc-modules.h
33874 (IS_IN): New macro to replace IS_IN_* macros.
33875 * elf/Makefile: Set libof-* for each routine.
33876 * elf/rtld-Rules: Likewise.
33877 * extra-modules.mk: Likewise.
33878 * iconv/Makefile: Likewise.
33879 * iconvdata/Makefile: Likewise.
33880 * locale/Makefile: Likewise.
33881 * malloc/Makefile: Likewise.
33882 * nss/Makefile: Likewise.
33883 * sysdeps/gnu/Makefile: Likewise.
33884 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
33885 * sysdeps/unix/sysv/linux/Makefile: Likewise.
33886 * sysdeps/s390/s390-64/Makefile: Likewise.
33887 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
33888 CPPFLAGS for nscd instead of nonlib.
33889
33890 2014-11-18 Roland McGrath <roland@hack.frob.com>
33891
33892 * nptl/createthread.c: New file.
33893
33894 * nptl/createthread.c: Moved ...
33895 * sysdeps/unix/sysv/linux/createthread.c: ... here.
33896
33897 * nptl/createthread.c: Add proper top-line comment.
33898 (do_clone): Folded into ...
33899 (create_thread): ... here. Take new arguments STOPPED_START and
33900 THREAD_RAN. Always set PD->stopped_start to something here. Don't
33901 increment __nptl_threads, do event-reporting logic, do
33902 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
33903 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
33904 resource cleanup if sched_setaffinity or sched_setscheduler fails,
33905 just send SIGCANCEL.
33906 * nptl/pthread_create.c: Forward-declare create_thread before
33907 including createthread.c.
33908 (start_thread): Use new macro START_THREAD_DEFN to replace defining
33909 declaration, and new macro START_THREAD_SELF to replace argument.
33910 Remove return statement.
33911 (report_thread_creation): New function.
33912 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
33913 synchronization logic, and __nptl_nthreads increment here, around
33914 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
33915 PD->parent_cancelhandling here, before create_thread. When
33916 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
33917 __deallocate_stack, and ENOMEM translation here.
33918
33919 2014-11-18 Joseph Myers <joseph@codesourcery.com>
33920
33921 [BZ #17616]
33922 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
33923 (mptwo): Rename to __mptwo.
33924 (__inv): Use __mptwo instead of mptwo.
33925 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
33926 (mptwo): Rename to __mptwo.
33927 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
33928 of mpone and __mptwo instead of mptwo.
33929 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
33930 instead of mpone.
33931 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33932 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
33933 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
33934 of mpone and __mptwo instead of mptwo.
33935 (__mpranred): Use __mpone instead of mpone.
33936 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
33937 variable.
33938 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33939 (test-xfail-ISO99/math.h/linknamespace): Likewise.
33940 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33941 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33942 (test-xfail-ISO11/math.h/linknamespace): Likewise.
33943 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33944 (test-xfail-XPG3/math.h/linknamespace): Likewise.
33945 (test-xfail-XPG4/math.h/linknamespace): Likewise.
33946 (test-xfail-POSIX/math.h/linknamespace): Likewise.
33947 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33948 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33949 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33950 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33951 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33952 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33953 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33954 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33955 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33956 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33957
33958 2014-11-18 Tom de Vries <tom@codesoucery.com>
33959
33960 * manual/signal.texi (Primitives Interrupted by Signals): In section,
33961 replace BSD Handler xref with BSD Signal Handling.
33962
33963 2014-11-17 Richard Henderson <rth@redhat.com>
33964
33965 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
33966 (_FP_PACK_RAW_2): Remove.
33967 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
33968 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
33969 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
33970 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
33971 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
33972 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
33973 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
33974 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
33975 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
33976 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
33977 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
33978 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
33979 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
33980 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
33981 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
33982 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
33983
33984 2014-11-14 Roland McGrath <roland@hack.frob.com>
33985
33986 * signal/signal.h [__USE_MISC]
33987 (struct sigvec): Remove type.
33988 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
33989 (sigvec): Remove declaration.
33990 * sysdeps/posix/sigvec.c: Moved ...
33991 * signal/sigvec.c: ... here, replacing old file.
33992 (struct sigvec): New type, copied from old signal.h definition.
33993 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
33994 (__sigvec): Convert definition to prototype.
33995 (sigvec): Replace weak_alias with compat_symbol.
33996 * signal/Versions (libc: GLIBC_2.21): New version set.
33997 * include/signal.h: Remove __sigvec declaration.
33998 * sysdeps/unix/bsd/sigvec.c: Remove file.
33999 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
34000 * manual/signal.texi (BSD Handler): Remove subsection.
34001 Move siginterrupt up to ...
34002 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
34003 (Blocking in BSD): Fold subsection into its parent.
34004 * NEWS: Mention sigvec removal.
34005
34006 2014-11-14 Joseph Myers <joseph@codesourcery.com>
34007
34008 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
34009 (DLA_FMS): Make definition conditional only on [__FMA4__].
34010 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
34011 definition.
34012
34013 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
34014 Make definition conditional only on [PROF].
34015 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
34016 definition.
34017 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
34018 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
34019
34020 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
34021 !__GNUC__].
34022 * include/signal.h (__sigpause): Move declaration above call to
34023 libc_hidden_proto.
34024 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
34025 variable.
34026 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
34027 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
34028
34029 2014-11-14 David S. Miller <davem@davemloft.net>
34030
34031 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
34032 Define before including <string/memcpy.c> and <string/mempcpy.c>.
34033
34034 2014-11-14 Joseph Myers <joseph@codesourcery.com>
34035
34036 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
34037 * configure: Regenerated.
34038 * manual/install.texi (Tools for Compilation): Document a
34039 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
34040 compiler verified to work.
34041 * INSTALL: Regenerated.
34042
34043 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
34044 redeclare with asm name.
34045 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
34046 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
34047 including <string.h>.
34048 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34049 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
34050 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34051 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
34052 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34053 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
34054 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34055
34056 2014-11-13 Joseph Myers <joseph@codesourcery.com>
34057
34058 * stdlib/strtol.c (__strtol): Use prototype definition.
34059
34060 [BZ #17594]
34061 * stdlib/strtol.c (SYM__): New macro.
34062 (SYM__1): Likewise.
34063 (__strtol): Likewise.
34064 (strtol): Rename to __strtol and define as weak alias of
34065 __strtol. Use libc_hidden_weak.
34066
34067 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
34068
34069 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
34070 Use numbered labels in inline assembly.
34071
34072 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
34073
34074 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
34075 Add setjmp LIBC_PROBE.
34076 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
34077 Likewise.
34078 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
34079 Add longjmp, longjmp_target LIBC_PROBE.
34080 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
34081 Likewise.
34082
34083 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
34084
34085 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
34086 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
34087 to get rid of unused variable warning.
34088
34089 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
34090
34091 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
34092 Check for unwind_backtrace == NULL only in SHARED case.
34093 (__backchain_backtrace): Compile only in SHARED case.
34094 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
34095 Likewise.
34096 (__backchain_backtrace): Declare as static.
34097
34098 2014-11-12 Roland McGrath <roland@hack.frob.com>
34099
34100 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
34101 (__libc_multiple_threads_ptr): Variable moved ...
34102 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
34103
34104 2014-11-12 Joseph Myers <joseph@codesourcery.com>
34105
34106 * conform/GlibcConform.pm: New file.
34107 * conform/conformtest.pl: Use GlibcConform module.
34108 * conform/linknamespace.pl: New file.
34109 * conform/list-header-symbols.pl: Likewise.
34110 * conform/Makefile (linknamespace-symlists-base): New variable.
34111 (linknamespace-symlists-tests): Likewise.
34112 (linknamespace-header-base): Likewise.
34113 (linknamespace-header-tests): Likewise.
34114 (tests-special): Add new tests.
34115 ($(linknamespace-symlists-tests)): New rule.
34116 (linknamespace-libs): New variable.
34117 ($(objpfx)symlist-stdlibs): New rule.
34118 ($(linknamespace-header-tests)): Likewise.
34119 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
34120 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
34121 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
34122 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
34123 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
34124 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
34125 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
34126 (test-xfail-ISO/math.h/linknamespace): Likewise.
34127 (test-xfail-ISO/signal.h/linknamespace): Likewise.
34128 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
34129 (test-xfail-ISO/time.h/linknamespace): Likewise.
34130 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
34131 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
34132 (test-xfail-ISO99/math.h/linknamespace): Likewise.
34133 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
34134 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
34135 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
34136 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
34137 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
34138 (test-xfail-ISO11/math.h/linknamespace): Likewise.
34139 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
34140 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
34141 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
34142 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
34143 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
34144 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
34145 (test-xfail-XPG3/math.h/linknamespace): Likewise.
34146 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
34147 (test-xfail-XPG3/search.h/linknamespace): Likewise.
34148 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
34149 (test-xfail-XPG3/time.h/linknamespace): Likewise.
34150 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
34151 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
34152 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
34153 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
34154 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
34155 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
34156 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
34157 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
34158 (test-xfail-XPG4/math.h/linknamespace): Likewise.
34159 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
34160 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
34161 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
34162 (test-xfail-XPG4/search.h/linknamespace): Likewise.
34163 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
34164 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
34165 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
34166 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
34167 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
34168 (test-xfail-XPG4/time.h/linknamespace): Likewise.
34169 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
34170 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
34171 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
34172 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
34173 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
34174 (test-xfail-POSIX/math.h/linknamespace): Likewise.
34175 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
34176 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
34177 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
34178 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
34179 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
34180 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
34181 (test-xfail-POSIX/time.h/linknamespace): Likewise.
34182 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
34183 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
34184 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
34185 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
34186 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
34187 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
34188 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
34189 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
34190 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
34191 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
34192 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
34193 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
34194 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
34195 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
34196 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
34197 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
34198 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
34199 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
34200 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
34201 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
34202 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
34203 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
34204 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
34205 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
34206 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
34207 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
34208 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
34209 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
34210 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
34211 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
34212 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
34213 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
34214 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
34215 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
34216 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
34217 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
34218 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
34219 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
34220 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
34221 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
34222 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
34223 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
34224 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
34225 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
34226 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
34227 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
34228 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
34229 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
34230 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
34231 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
34232 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
34233 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
34234 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
34235 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
34236 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
34237 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
34238 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
34239 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
34240 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
34241 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
34242 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
34243 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
34244 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
34245 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
34246 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
34247 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
34248 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
34249 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
34250 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
34251 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
34252 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
34253 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
34254 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
34255 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
34256 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
34257 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
34258 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
34259 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
34260 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
34261 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
34262 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
34263 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
34264 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
34265 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
34266 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
34267 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
34268 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
34269 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
34270 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
34271 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
34272 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
34273 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
34274 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
34275 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
34276 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
34277 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
34278 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
34279 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
34280
34281 [BZ #17589]
34282 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
34283 of fgets_unlocked.
34284
34285 [BZ #17585]
34286 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
34287 (memmem): Rename to __memmem and define as weak alias of
34288 __memmem. Use libc_hidden_weak.
34289 (__memmem): Use libc_hidden_def.
34290 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
34291 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
34292 memmem.
34293
34294 [BZ #17582]
34295 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
34296 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
34297 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
34298 and define as weak alias of __fgets_unlocked. Use
34299 libc_hidden_weak.
34300 (__fgets_unlocked): Use libc_hidden_def.
34301 * include/stdio.h (__fgets_unlocked): Declare. Use
34302 libc_hidden_proto.
34303 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
34304 __fgets_unlocked instead of fgets_unlocked.
34305 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
34306 (GET_NPROCS_CONF_PARSER): Likewise.
34307 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
34308 (GET_NPROCS_CONF_PARSER): Likewise.
34309
34310 [BZ #17574]
34311 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
34312 weak alias of __wmemset. Use libc_hidden_weak.
34313 (__wmemset): Use libc_hidden_def.
34314 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
34315 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
34316 of wmemset.
34317
34318 [BZ #17573]
34319 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
34320 with asm name __mempcpy.
34321 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
34322
34323 [BZ #17572]
34324 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
34325 and define as weak alias of __rawmemchr.
34326 (__rawmemchr): Do not define as strong alias of rawmemchr.
34327
34328 [BZ #17571]
34329 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
34330 alias of __qsort_r.
34331 (qsort): Call __qsort_r instead of qsort_r.
34332 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
34333 (__qsort_r): Declare. Call libc_hidden_proto.
34334 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
34335 instead of qsort_r.
34336 * nscd/gai.c (__qsort_r): Define to qsort_r.
34337 * posix/tst-rfc3484.c (__qsort_r): Likewise.
34338 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
34339 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
34340
34341 [BZ #17570]
34342 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
34343 define as weak alias of __malloc_info.
34344
34345 [BZ #17584]
34346 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
34347 as weak alias of __rewinddir. Don't use libc_hidden_def.
34348 (__rewinddir): Use libc_hidden_def.
34349 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
34350 as weak alias of __rewinddir. Don't use libc_hidden_def.
34351 (__rewinddir): Use libc_hidden_def.
34352 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
34353 weak alias of __rewinddir. Don't use libc_hidden_def.
34354 (__rewinddir): Use libc_hidden_def.
34355 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
34356 (__rewinddir): Use libc_hidden_proto.
34357 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
34358 rewinddir.
34359 (__getcwd): Use __rewinddir instead of rewinddir.
34360
34361 [BZ #17583]
34362 * libio/fileno.c (fileno): Rename to __fileno and define as weak
34363 alias of __fileno. Use libc_hidden_weak.
34364 (__fileno): Use libc_hidden_def.
34365 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
34366 * libio/ftello.c (ftello): Rename to __ftello and define as weak
34367 alias of __ftello.
34368 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
34369 __ftello.
34370 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
34371 (__fread_unlocked): Define as strong alias of _IO_fread. Use
34372 libc_hidden_def.
34373 (fread_unlocked): Don't use libc_hidden_ver.
34374 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
34375 and define as weak alias of __fread_unlocked. Don't use
34376 libc_hidden_def.
34377 (__fread_unlocked): Use libc_hidden_def.
34378 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
34379 (ftello): Don't use libc_hidden_proto.
34380 (__ftello): Declare. Use libc_hidden_proto.
34381 (fread_unlocked): Don't use libc_hidden_proto.
34382 (__fread_unlocked): Declare. Use libc_hidden_proto.
34383 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
34384 and __ftello instead of fileno, fread_unlocked and ftello.
34385
34386 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34387
34388 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
34389 GOT12.
34390 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
34391 Likewise.
34392 (_dl_start_user): Likewise.
34393 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
34394
34395 2014-11-12 Carlos O'Donell <carlos@redhat.com>
34396 Siddhesh Poyarekar <siddhesh@redhat.com>
34397
34398 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
34399 Move argv and envp down instead of moving argc up.
34400 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
34401
34402 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
34403
34404 [BZ #17506]
34405 * test-skeleton.c (main): Return successful if one of
34406 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
34407 * string/tst-strcoll-overflow.c: Define expected status.
34408
34409 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
34410
34411 [BZ #17475]
34412 * locale/iso-639.def: Define Bhili and Tulu language codes.
34413
34414 2014-11-11 Alan Hayward <alan.hayward@arm.com>
34415
34416 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
34417
34418 2014-11-10 Renlin Li <Renlin.Li@arm.com>
34419
34420 [BZ #17555]
34421 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
34422
34423 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
34424
34425 * configure.ac: Updated check of minimal required version to
34426 2.22.
34427 * manual/install.texi (Tools for Compilation): Updated version
34428 number.
34429 * configure: Regenerated.
34430 * INSTALL: Likewise.
34431
34432 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
34433
34434 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
34435 __tls_get_addr.
34436
34437 2014-11-07 Joseph Myers <joseph@codesourcery.com>
34438
34439 * include/sys/wait.h (__libc_waitpid): Remove declaration.
34440 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
34441 (__waitpid): Don't define as alias. Use libc_hidden_def not
34442 libc_hidden_weak.
34443 (waitpid): Define as alias of __waitpid.
34444 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
34445 __waitpid.
34446 (__waitpid): Don't define as alias. Use libc_hidden_def not
34447 libc_hidden_weak.
34448 (waitpid): Define as alias of __waitpid.
34449 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
34450 __libc_waitpid alias.
34451 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
34452 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
34453 Likewise.
34454 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
34455 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
34456 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
34457 alias.
34458 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
34459 __waitpid.
34460 (__waitpid): Don't define as alias. Use libc_hidden_def not
34461 libc_hidden_weak.
34462 (waitpid): Define as alias of __waitpid.
34463
34464 2014-11-06 Carlos O'Donell <carlos@redhat.com>
34465
34466 * manual/llio.texi: Add comment that write safety has been
34467 fixed in Linux.
34468
34469 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
34470 (localplt-build-dso): Add elf/ld.so.
34471 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
34472 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
34473 and free for ld.so.
34474 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
34475 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
34476 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
34477 Likewise.
34478 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34479 Likewise.
34480 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
34481 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
34482 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
34483 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
34484 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
34485 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
34486 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
34487 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
34488 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
34489 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
34490 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
34491
34492 2014-11-05 Joseph Myers <joseph@codesourcery.com>
34493
34494 [BZ #14132]
34495 * include/libc-symbols.h (INTUSE): Remove macro.
34496 (INTDEF): Likewise.
34497 (INTVARDEF): Likewise.
34498 (_INTVARDEF): Likewise.
34499 (INTDEF2): Likewise.
34500 (INTVARDEF2): Likewise.
34501 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
34502 rtld_hidden_def instead of INTVARDEF.
34503 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
34504 (_dl_starting_up_internal): Remove declaration.
34505 (_dl_starting_up): Use rtld_hidden_proto.
34506 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
34507 declaration.
34508 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
34509 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
34510 _dl_starting_up.
34511 * elf/dl-writev.h (_dl_writev): Likewise.
34512 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
34513 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
34514 _dl_starting_up_internal.
34515
34516 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34517
34518 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34519 test-skeleton.c.
34520
34521 2014-11-05 Will Newton <will.newton@linaro.org>
34522
34523 * benchtests/Makefile: (bench-malloc): Add malloc thread
34524 scalability benchmark.
34525 * benchtests/bench-malloc-threads.c: New file.
34526
34527 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
34528
34529 * sysdeps/aarch64/strchrnul.S: New file.
34530
34531 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34532
34533 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
34534 definition.
34535 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34536 Likewise.
34537 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34538 Likewise.
34539 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34540 Likewise.
34541 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34542 Likewise.
34543 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34544 Likewise.
34545
34546 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
34547
34548 * catgets/test-gencat.c: Use test-skeleton.c.
34549 * catgets/tst-catgets.c: Likewise.
34550 * csu/tst-empty.c: Likewise.
34551 * elf/tst-audit2.c: Likewise.
34552 * elf/tst-global1.c: Likewise.
34553 * elf/tst-pathopt.c: Likewise.
34554 * elf/tst-piemod1.c: Likewise.
34555 * elf/tst-tls10.c: Likewise.
34556 * elf/tst-tls11.c: Likewise.
34557 * elf/tst-tls12.c: Likewise.
34558 * gnulib/tst-gcc.c: Likewise.
34559 * iconvdata/tst-e2big.c: Likewise.
34560 * iconvdata/tst-loading.c: Likewise.
34561 * iconv/tst-iconv1.c: Likewise.
34562 * iconv/tst-iconv2.c: Likewise.
34563 * inet/test-inet6_opt.c: Likewise.
34564 * inet/tst-gethnm.c: Likewise.
34565 * inet/tst-network.c: Likewise.
34566 * inet/tst-ntoa.c: Likewise.
34567 * intl/tst-codeset.c: Likewise.
34568 * intl/tst-gettext2.c: Likewise.
34569 * intl/tst-gettext3.c: Likewise.
34570 * intl/tst-ngettext.c: Likewise.
34571 * intl/tst-translit.c: Likewise.
34572 * io/test-stat.c: Likewise.
34573 * libio/test-fmemopen.c: Likewise.
34574 * libio/tst-freopen.c: Likewise.
34575 * libio/tst-sscanf.c: Likewise.
34576 * libio/tst-ungetwc1.c: Likewise.
34577 * libio/tst-ungetwc2.c: Likewise.
34578 * libio/tst-widetext.c: Likewise.
34579 * localedata/tst-ctype.c: Likewise.
34580 * localedata/tst-digits.c: Likewise.
34581 * localedata/tst-leaks.c: Likewise.
34582 * localedata/tst-mbswcs1.c: Likewise.
34583 * localedata/tst-mbswcs2.c: Likewise.
34584 * localedata/tst-mbswcs3.c: Likewise.
34585 * localedata/tst-mbswcs4.c: Likewise.
34586 * localedata/tst-mbswcs5.c: Likewise.
34587 * localedata/tst-setlocale.c: Likewise.
34588 * localedata/tst-trans.c: Likewise.
34589 * localedata/tst-wctype.c: Likewise.
34590 * localedata/tst-xlocale1.c: Likewise.
34591 * login/tst-grantpt.c: Likewise.
34592 * malloc/tst-calloc.c: Likewise.
34593 * malloc/tst-malloc.c: Likewise.
34594 * malloc/tst-mallocstate.c: Likewise.
34595 * malloc/tst-mcheck.c: Likewise.
34596 * malloc/tst-mtrace.c: Likewise.
34597 * malloc/tst-obstack.c: Likewise.
34598 * math/atest-exp2.c: Likewise.
34599 * math/atest-exp.c: Likewise.
34600 * math/atest-sincos.c: Likewise.
34601 * math/test-matherr.c: Likewise.
34602 * math/test-misc.c: Likewise.
34603 * math/test-powl.c: Likewise.
34604 * math/tst-definitions.c: Likewise.
34605 * misc/tst-dirname.c: Likewise.
34606 * misc/tst-efgcvt.c: Likewise.
34607 * misc/tst-fdset.c: Likewise.
34608 * misc/tst-hsearch.c: Likewise.
34609 * misc/tst-mntent2.c: Likewise.
34610 * nptl/tst-sem7.c: Likewise.
34611 * nptl/tst-sem8.c: Likewise.
34612 * nptl/tst-sem9.c: Likewise.
34613 * nss/test-netdb.c: Likewise.
34614 * posix/tst-fnmatch.c: Likewise.
34615 * posix/tst-getlogin.c: Likewise.
34616 * posix/tst-gnuglob.c: Likewise.
34617 * posix/tst-mmap.c: Likewise.
34618 * pwd/tst-getpw.c: Likewise.
34619 * resolv/tst-inet_ntop.c: Likewise.
34620 * rt/tst-timer.c: Likewise.
34621 * stdio-common/test-fseek.c: Likewise.
34622 * stdio-common/test-popen.c: Likewise.
34623 * stdio-common/test-vfprintf.c: Likewise.
34624 * stdio-common/tst-cookie.c: Likewise.
34625 * stdio-common/tst-fileno.c: Likewise.
34626 * stdio-common/tst-gets.c: Likewise.
34627 * stdio-common/tst-obprintf.c: Likewise.
34628 * stdio-common/tst-perror.c: Likewise.
34629 * stdio-common/tst-sprintf2.c: Likewise.
34630 * stdio-common/tst-sprintf3.c: Likewise.
34631 * stdio-common/tst-sprintf.c: Likewise.
34632 * stdio-common/tst-swprintf.c: Likewise.
34633 * stdio-common/tst-tmpnam.c: Likewise.
34634 * stdio-common/tst-unbputc.c: Likewise.
34635 * stdio-common/tst-wc-printf.c: Likewise.
34636 * stdlib/tst-environ.c: Likewise.
34637 * stdlib/tst-fmtmsg.c: Likewise.
34638 * stdlib/tst-limits.c: Likewise.
34639 * stdlib/tst-rand48-2.c: Likewise.
34640 * stdlib/tst-rand48.c: Likewise.
34641 * stdlib/tst-random2.c: Likewise.
34642 * stdlib/tst-random.c: Likewise.
34643 * stdlib/tst-strtol.c: Likewise.
34644 * stdlib/tst-strtoll.c: Likewise.
34645 * stdlib/tst-tls-atexit.c: Likewise.
34646 * stdlib/tst-xpg-basename.c: Likewise.
34647 * string/test-ffs.c: Likewise.
34648 * string/tst-bswap.c: Likewise.
34649 * string/tst-inlcall.c: Likewise.
34650 * string/tst-strtok.c: Likewise.
34651 * string/tst-strxfrm.c: Likewise.
34652 * sysdeps/x86_64/tst-audit10.c: Likewise.
34653 * sysdeps/x86_64/tst-audit3.c: Likewise.
34654 * sysdeps/x86_64/tst-audit4.c: Likewise.
34655 * sysdeps/x86_64/tst-audit5.c: Likewise.
34656 * time/tst-ftime_l.c: Likewise.
34657 * time/tst-getdate.c: Likewise.
34658 * time/tst-mktime3.c: Likewise.
34659 * time/tst-mktime.c: Likewise.
34660 * time/tst-posixtz.c: Likewise.
34661 * time/tst-strptime2.c: Likewise.
34662 * time/tst-strptime3.c: Likewise.
34663 * wcsmbs/tst-btowc.c: Likewise.
34664 * wcsmbs/tst-mbrtowc.c: Likewise.
34665 * wcsmbs/tst-mbsrtowcs.c: Likewise.
34666 * wcsmbs/tst-wchar-h.c: Likewise.
34667 * wcsmbs/tst-wcpncpy.c: Likewise.
34668 * wcsmbs/tst-wcrtomb.c: Likewise.
34669 * wcsmbs/tst-wcsnlen.c: Likewise.
34670 * wcsmbs/tst-wcstof.c: Likewise.
34671
34672 2014-11-04 Joseph Myers <joseph@codesourcery.com>
34673
34674 [BZ #14132]
34675 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
34676 INTDEF.
34677 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
34678 declaration.
34679 (_dl_mcount): Use rtld_hidden_proto.
34680 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
34681 _dl_mcount.
34682 * elf/rtld.c (_rtld_global_ro): Likewise.
34683
34684 [BZ #14132]
34685 * elf/dl-init.c (_dl_init): Don't use INTDEF.
34686 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
34687 of _dl_init_internal.
34688 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
34689 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
34690 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
34691 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
34692 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
34693 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
34694 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
34695 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
34696 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
34697 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
34698 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
34699 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
34700 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34701 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34702 * sysdeps/tile/dl-start.S (_start): Likewise.
34703 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
34704 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
34705
34706 [BZ #14132]
34707 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
34708 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
34709 (rtld_progname): Make macro definition unconditional.
34710 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
34711 INTDEF.
34712 (dlmopen_doit): Do not use INTUSE with _dl_argv.
34713 (dl_main): Likewise.
34714 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34715 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
34716 instead of _dl_argv_internal.
34717 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34718 __GI__dl_argv instead of INTUSE(_dl_argv).
34719 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
34720 __GI__dl_argv instead of _dl_argv_internal.
34721
34722 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
34723 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
34724 macro.
34725 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
34726 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
34727 New macro.
34728 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
34729 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
34730 macro.
34731 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
34732 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
34733
34734 2014-11-04 Andreas Schwab <schwab@suse.de>
34735
34736 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
34737
34738 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34739
34740 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
34741 mtvsrd instruction in binary form.
34742
34743 2014-11-03 Andreas Schwab <schwab@suse.de>
34744
34745 [BZ #17522]
34746 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
34747 for less than MB_LEN_MAX use a local buffer of that size.
34748 * libio/tst-fputws.c: New file.
34749 * libio/Makefile (tests): Add tst-fputws.
34750
34751 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
34752
34753 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
34754 the size of the fpu_fr.fpu_dregs[] array.
34755
34756 2014-11-01 Joseph Myers <joseph@codesourcery.com>
34757
34758 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
34759 (__nanosleep): Do not define as alias.
34760 (nanosleep): Define as alias of __nanosleep.
34761 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
34762 __libc_nanosleep name.
34763
34764 2014-10-31 Joseph Myers <joseph@codesourcery.com>
34765
34766 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
34767 install.texi in comment.
34768
34769 2014-10-31 Torvald Riegel <triegel@redhat.com>
34770
34771 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
34772 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
34773 ... add here and use lwsync or sync ...
34774 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
34775 ... and add here using lwsync.
34776
34777 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
34778
34779 * elf/dl-machine-reject-phdr.h: New file.
34780 * elf/dl-load.c: #include that.
34781 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
34782 if that returned true.
34783
34784 2014-10-31 Roland McGrath <roland@hack.frob.com>
34785
34786 [BZ #17496]
34787 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
34788 gen-as-const-headers chunk. Add a big scare comment after the last
34789 safe place to touch before-compile.
34790
34791 2014-10-31 Joseph Myers <joseph@codesourcery.com>
34792
34793 * manual/install.texi (Tools for Compilation): Update autoconf
34794 version requirements.
34795 * INSTALL: Regenerated.
34796
34797 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
34798 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
34799 (__libc_pselect): Likewise.
34800
34801 [BZ #14138]
34802 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
34803 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34804 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34805 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34806
34807 2014-10-31 Torvald Riegel <triegel@redhat.com>
34808
34809 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
34810 correct barrier instruction.
34811 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
34812 Likewise.
34813 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
34814 Likewise.
34815
34816 2014-10-30 Roland McGrath <roland@hack.frob.com>
34817
34818 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
34819 after defining inlines. Instead, just use parens to defeat macro
34820 expansion of __isctype in its declaration.
34821
34822 2014-10-30 Joseph Myers <joseph@codesourcery.com>
34823
34824 * include/sys/uio.h (__libc_readv): Remove declaration.
34825 (__libc_writev): Likewise.
34826 * misc/readv.c (__libc_readv): Rename to __readv.
34827 (__readv): Do not define as alias.
34828 (readv): Define as alias of __readv.
34829 * misc/writev.c (__libc_writev): Rename to __writev.
34830 (__writev): Do not define as alias.
34831 (writev): Define as alias of __writev.
34832 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
34833 (__readv): Do not define as alias.
34834 (readv): Define unconditionally as alias of __readv.
34835 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
34836 (__writev): Do not define as alias.
34837 (writev): Define unconditionally as alias of __writev.
34838 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
34839 name.
34840 (writev): Do not define __libc_writev name.
34841
34842 2014-10-30 Roland McGrath <roland@hack.frob.com>
34843
34844 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
34845 (convert_charseq): New function, broken out of ...
34846 (use_from_charmap): ... here. Call it.
34847 (use_to_charmap): Use convert_charseq and free instead of duplicating
34848 its code with a variable-length stack struct.
34849
34850 2014-10-30 Joseph Myers <joseph@codesourcery.com>
34851
34852 * include/fcntl.h (__libc_creat): Remove declaration.
34853 * io/creat.c (__libc_creat): Rename to creat.
34854 (creat): Do not define as alias.
34855 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
34856 of creat instead of __libc_creat.
34857 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
34858 to creat.
34859 (creat): Do not define as alias.
34860 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
34861 __libc_creat.
34862 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
34863 __libc_creat name.
34864 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
34865 Likewise.
34866
34867 2014-10-29 Carlos O'Donell <carlos@redhat.com>
34868
34869 * manual/llio.texi: Add comments discussing why write() may be
34870 considered MT-unsafe on Linux.
34871
34872 2014-10-28 Carlos O'Donell <carlos@redhat.com>
34873
34874 * dl-load.c (local_strdup): Remove.
34875 (expand_dynamic_string_token): Use __strdup.
34876 (decompose_rpath): Likewise.
34877 (_dl_map_object): Likewise.
34878
34879 2014-10-28 Joseph Myers <joseph@codesourcery.com>
34880
34881 [BZ #14132]
34882 * sysdeps/generic/unwind-dw2-fde.c
34883 (__register_frame_info_bases_internal): Do not declare.
34884 (__register_frame_info_table_bases_internal): Likewise.
34885 (__deregister_frame_info_bases_internal): Likewise.
34886 (__register_frame_info_bases): Declare and use hidden_proto before
34887 definition. Use hidden_def instead of INTDEF.
34888 (__register_frame_info_table_bases): Likewise.
34889 (__deregister_frame_info_bases): Likewise.
34890 (__register_frame_info): Do not use INTUSE.
34891 (__register_frame): Likewise.
34892 (__register_frame_info_table): Likewise.
34893 (__register_frame_table): Likewise.
34894 (__deregister_frame_info): Likewise.
34895 (__deregister_frame): Likewise.
34896
34897 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
34898
34899 * sysdeps/unix/sysv/linux/arm/kernel-features.h
34900 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
34901 not undefine.
34902 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
34903 Likewise.
34904 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
34905 Likewise.
34906
34907 2014-10-27 Joseph Myers <joseph@codesourcery.com>
34908
34909 [BZ #14138]
34910 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
34911 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
34912 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
34913 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
34914 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
34915 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
34916 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
34917 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
34918 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
34919 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
34920 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
34921 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
34922 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
34923 syscall.
34924 (setfsuid): Likewise.
34925 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
34926 (setfsuid): Likewise.
34927 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
34928 (setfsuid): Likewise.
34929 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
34930 Likewise.
34931 (setfsuid): Likewise.
34932 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
34933 (setfsuid): Likewise.
34934 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
34935 Likewise.
34936 (setfsuid): Likewise.
34937
34938 2014-10-27 Andreas Schwab <schwab@suse.de>
34939
34940 [BZ #17501]
34941 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
34942 check for Slow_SSE4_2 feature bit.
34943 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
34944 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34945 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
34946 Likewise. Fix check for Fast_Unaligned_Load feature bit.
34947
34948 2014-10-24 Roland McGrath <roland@hack.frob.com>
34949
34950 * configure.ac: Validate compiler version with a empirical test of
34951 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
34952 $CC -v output.
34953 * configure: Regenerated.
34954
34955 * inet/htons.c (htons): Prototypify.
34956 * inet/htonl.c (htonl): Likewise.
34957
34958 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34959
34960 * string/strncat.c (strncat): Improve performance by using strlen.
34961
34962 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34963
34964 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
34965
34966 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34967
34968 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
34969 Call libc_fetestexcept_aarch64.
34970
34971 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34972
34973 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
34974 Call libc_feholdexcept_aarch64.
34975
34976 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34977
34978 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
34979 Call get_rounding_mode.
34980
34981 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34982
34983 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34984 Simplify logic.
34985
34986 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34987
34988 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
34989 Simplify logic.
34990
34991 2014-10-24 Joseph Myers <joseph@codesourcery.com>
34992
34993 [BZ #14138]
34994 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
34995 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
34996 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
34997 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
34998 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
34999 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
35000 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
35001 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
35002 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
35003 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
35004 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
35005 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
35006 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
35007 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
35008 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
35009 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
35010 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
35011 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
35012 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
35013 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
35014 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
35015 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
35016 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
35017 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
35018 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
35019 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
35020 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
35021 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
35022 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
35023 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
35024 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
35025 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
35026 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
35027 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
35028 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
35029 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
35030 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
35031 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
35032 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
35033 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
35034 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
35035 syscall.
35036 (geteuid): Likewise.
35037 (getgid): Likewise.
35038 (getuid): Likewise.
35039 (getresgid): Likewise.
35040 (getresuid): Likewise.
35041 (getgroups): Likewise.
35042 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
35043 (geteuid): Likewise.
35044 (getgid): Likewise.
35045 (getuid): Likewise.
35046 (getresgid): Likewise.
35047 (getresuid): Likewise.
35048 (getgroups): Likewise.
35049 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
35050 (geteuid): Likewise.
35051 (getgid): Likewise.
35052 (getuid): Likewise.
35053 (getresgid): Likewise.
35054 (getresuid): Likewise.
35055 (getgroups): Likewise.
35056 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
35057 Likewise.
35058 (geteuid): Likewise.
35059 (getgid): Likewise.
35060 (getuid): Likewise.
35061 (getresgid): Likewise.
35062 (getresuid): Likewise.
35063 (getgroups): Likewise.
35064 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
35065 (geteuid): Likewise.
35066 (getgid): Likewise.
35067 (getuid): Likewise.
35068 (getresgid): Likewise.
35069 (getresuid): Likewise.
35070 (getgroups): Likewise.
35071 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
35072 Likewise.
35073 (geteuid): Likewise.
35074 (getgid): Likewise.
35075 (getuid): Likewise.
35076 (getgroups): Likewise.
35077
35078 [BZ #14138]
35079 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
35080 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
35081 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
35082 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
35083 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
35084 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
35085 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
35086 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
35087 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
35088 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
35089 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
35090 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
35091 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
35092 __chown.
35093 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
35094 (lchown): Likewise.
35095 (fchown): Likewise.
35096 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
35097 Likewise.
35098 (lchown): Likewise.
35099 (fchown): Likewise.
35100 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
35101 (lchown): Likewise.
35102 (fchown): Likewise.
35103 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
35104 Likewise.
35105 (lchown): Likewise.
35106 (fchown): Likewise.
35107
35108 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
35109
35110 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
35111 Simplify logic.
35112
35113 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
35114
35115 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
35116 Cleanup logic.
35117
35118 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
35119
35120 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
35121 Remove unused include.
35122
35123 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
35124
35125 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
35126 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
35127 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
35128 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
35129
35130 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
35131 Helge Deller <deller@gmx.de>
35132
35133 [BZ #17508]
35134 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
35135 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
35136 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
35137
35138 2014-10-23 Joseph Myers <joseph@codesourcery.com>
35139
35140 [BZ #14132]
35141 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
35142 Remove macro definition.
35143 (__ashrdi3_v_glibc20): Likewise.
35144 (__lshrdi3_v_glibc20): Likewise.
35145 (__cmpdi2_v_glibc20): Likewise.
35146 (__ucmpdi2_v_glibc20): Likewise.
35147 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
35148 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
35149 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
35150 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
35151 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
35152 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
35153
35154 2014-10-22 Roland McGrath <roland@hack.frob.com>
35155
35156 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
35157 old GNU extension [0] syntax.
35158 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
35159 alloca rather than an array member with variable length.
35160 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
35161 * nscd/nscd.c (invalidate_db): New function, broken out of ...
35162 (parse_opt): ... here. Likewise use alloca there.
35163 Validate the -i argument before checking for rootness.
35164 (send_shutdown): New function, broken out of ...
35165 (parse_opt): ... here.
35166
35167 2014-10-22 Roland McGrath <roland@hack.frob.com>
35168
35169 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
35170 macro to get at the _rt_local_ro field.
35171 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
35172 ([PIC] case) or _dl_hwcap ([!PIC] case).
35173 * sysdeps/arm/setjmp.S: Likewise.
35174
35175 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
35176 * sysdeps/arm/configure.ac: New check to define it.
35177 * sysdeps/arm/configure: Regenerated.
35178 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
35179 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
35180 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
35181 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
35182 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
35183 Use move/movt pair instead of a load.
35184 (LDST_GLOBAL): Macro removed.
35185 (LDR_GLOBAL): New macro replaces it.
35186 (LDR_HIDDEN): New macro.
35187 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
35188 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
35189
35190 * setjmp/tst-setjmp-static.c: New file.
35191 * setjmp/Makefile (tests): Add it.
35192 (tests-static): New variable.
35193
35194 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
35195
35196 [BZ #17485]
35197 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
35198
35199 2014-10-21 Joseph Myers <joseph@codesourcery.com>
35200
35201 [BZ #14132]
35202 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
35203
35204 2014-10-21 Roland McGrath <roland@hack.frob.com>
35205
35206 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
35207
35208 2014-10-20 Roland McGrath <roland@hack.frob.com>
35209
35210 * io/fts.c (dirent_not_directory): New function.
35211 (fts_build): Call it.
35212
35213 2014-10-20 Roland McGrath <roland@hack.frob.com>
35214
35215 * nptl/version.c (__nptl_main): Use normal __write rather than
35216 INTERNAL_SYSCALL.
35217 (banner): Update copyright years.
35218
35219 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
35220 gettimeofday.
35221 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
35222 * nptl/pthread_cond_timedwait.c: Likewise.
35223 * nptl/pthread_mutex_timedlock.c: Likewise.
35224 * nptl/sem_timedwait.c: Likewise.
35225
35226 * sysdeps/nptl/bits/libc-lock.h
35227 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
35228 (__libc_lock_init_recursive): Return void, not 0.
35229 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
35230 (__libc_rwlock_init): Likewise.
35231 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
35232
35233 2014-10-20 Torvald Riegel <triegel@redhat.com>
35234
35235 [BZ #15215]
35236 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
35237 (__pthread_once_slow): ... here.
35238 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
35239 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
35240
35241 2014-10-20 Torvald Riegel <triegel@redhat.com>
35242
35243 [BZ #15215]
35244 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
35245 __PTHREAD_ONCE_FORK_GEN_INCR): New.
35246 * sysdeps/nptl/fork.c (__libc_fork): Use them.
35247 * nptl/pthread_once.c (__pthread_once): Likewise.
35248 Update comments.
35249
35250 2014-10-20 Joseph Myers <joseph@codesourcery.com>
35251
35252 [BZ #14138]
35253 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
35254 name.
35255 (writev): Use __libc_writev as strong name.
35256 * sysdeps/unix/sysv/linux/readv.c: Remove file.
35257 * sysdeps/unix/sysv/linux/writev.c: Likewise.
35258
35259 2014-10-17 Roland McGrath <roland@hack.frob.com>
35260
35261 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
35262
35263 * sysdeps/i386/nptl/tls.h
35264 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
35265 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
35266 New macros.
35267 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
35268 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
35269 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
35270 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
35271 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
35272 Call CHECK_THREAD_SYSINFO instead of doing an assert.
35273
35274 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
35275 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
35276 on [__NR_futex].
35277 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
35278 broken out of ...
35279 (__pthread_mutex_init): ... here. Call it.
35280 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
35281 Conditionalize PI cases on [__NR_futex].
35282 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
35283 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
35284 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
35285
35286 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
35287 conditional on [SIGSETXID].
35288 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
35289 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
35290 is defined. Likewise for SIGSETXID.
35291 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
35292 Conditionalize definitions on [SIGSETXID].
35293 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
35294 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
35295 unblocking on [SIGCANCEL].
35296
35297 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
35298 [__NR_set_robust_list].
35299
35300 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35301
35302 * string/strcoll_l.c (get_next_seq): Fix up formatting.
35303 (do_compare): Likewise.
35304
35305 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
35306
35307 [BZ #15884]
35308 * string/strcoll_l.c: Don't include stdio.h.
35309 (coll_seq): Remove members idxarr and rulearr.
35310 (get_next_seq_cached): Remove function.
35311 (get_next_seq): Likewise.
35312 (get_next_seq_nocache): Rename to get_next_seq.
35313 (do_compare): Remove function.
35314 (do_compare_nocache): Rename to do_compare.
35315 (STRCOLL): Remove weight and rules cache.
35316
35317 2014-10-16 Roland McGrath <roland@hack.frob.com>
35318
35319 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
35320 * sysdeps/arm/sfp-machine.h: ... to here.
35321 * sysdeps/arm/Implies: Remove arm/soft-fp.
35322
35323 2014-10-14 Joseph Myers <joseph@codesourcery.com>
35324
35325 * conform/data/sys/utsname.h-data (*_t): Allow.
35326 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
35327 [POSIX] (WEXITED): Do not expect constant.
35328 [POSIX] (WSTOPPED): Likewise.
35329 [POSIX] (WNOHANG): Likewise.
35330 [POSIX] (WNOWAIT): Likewise.
35331 [POSIX] (siginfo_t): Do not expect type or elements.
35332 [POSIX] (pid_t): Do not expect type.
35333 [POSIX] (signal.h): Do not allow header.
35334 [POSIX] (sys/resource.h): Likewise.
35335 [POSIX] (si_*): Do not allow pattern.
35336 [POSIX] (W*): Likewise.
35337 [POSIX] (P_*): Likewise.
35338 [POSIX] (BUS_*): Likewise.
35339 [POSIX] (CLD_*): Likewise.
35340 [POSIX] (FPE_*): Likewise.
35341 [POSIX] (ILL_*): Likewise.
35342 [POSIX] (POLL_*): Likewise.
35343 [POSIX] (SEGV_*): Likewise.
35344 [POSIX] (SI_*): Likewise.
35345 [POSIX] (TRAP_*): Likewise.
35346 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
35347 variable.
35348
35349 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
35350
35351 [BZ #12926]
35352 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
35353 infinite loop when __recvmsg returns 0.
35354
35355 2014-10-10 Joseph Myers <joseph@codesourcery.com>
35356
35357 * CANCEL-FCT-WAIVE: Remove file.
35358 * CANCEL-FILE-WAIVE: Likewise.
35359
35360 [BZ #14132]
35361 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
35362 instead of INTVARDEF.
35363 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
35364 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
35365 rtld_hidden_data_def instead of INTVARDEF.
35366 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
35367 * elf/dl-deps.c (expand_dst): Likewise.
35368 * elf/dl-load.c (_dl_dst_count): Likewise.
35369 (_dl_dst_substitute): Likewise.
35370 (decompose_rpath): Likewise.
35371 (_dl_init_paths): Likewise.
35372 (open_path): Likewise.
35373 (_dl_map_object): Likewise.
35374 * elf/rtld.c (dl_main): Likewise.
35375 (process_dl_audit): Likewise.
35376 (process_envvars): Likewise.
35377 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
35378 Remove declaration.
35379 (__libc_enable_secure): Use rtld_hidden_proto.
35380
35381 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35382
35383 * elf/dl-load.c
35384 (add_path): New function broken out of _dl_rtld_di_serinfo.
35385 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
35386
35387 2014-10-09 Joseph Myers <joseph@codesourcery.com>
35388
35389 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
35390 parentheses around macro arguments.
35391 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
35392 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
35393 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
35394 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
35395 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
35396 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
35397 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
35398 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
35399 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
35400 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
35401 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
35402 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
35403 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
35404 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
35405 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
35406 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
35407 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
35408 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
35409 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
35410 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
35411 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
35412 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
35413 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
35414 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
35415 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
35416 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
35417 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
35418 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
35419 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
35420 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
35421 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
35422 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
35423 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
35424 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
35425 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
35426 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
35427 Likewise.
35428 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
35429 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
35430 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
35431 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
35432 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
35433 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
35434 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
35435 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
35436 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
35437 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
35438 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
35439 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
35440 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
35441 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
35442 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
35443 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
35444 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
35445 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
35446 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
35447 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
35448 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
35449 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
35450 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
35451 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
35452 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
35453 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
35454 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
35455 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
35456 (_FP_FRAC_SRS_1): Likewise.
35457 (_FP_FRAC_CLZ_1): Likewise.
35458 (_FP_MUL_MEAT_1_imm): Likewise.
35459 (_FP_MUL_MEAT_1_wide): Likewise.
35460 (_FP_MUL_MEAT_1_hard): Likewise.
35461 (_FP_SQRT_MEAT_1): Likewise.
35462 (_FP_FRAC_ASSEMBLE_1): Likewise.
35463 (_FP_FRAC_DISASSEMBLE_1): Likewise.
35464 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
35465 (__FP_CLZ_2): Likewise.
35466 (_FP_MUL_MEAT_2_wide): Likewise.
35467 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35468 (_FP_MUL_MEAT_2_gmp): Likewise.
35469 (_FP_MUL_MEAT_2_120_240_double): Likewise.
35470 (_FP_SQRT_MEAT_2): Likewise.
35471 (_FP_FRAC_ASSEMBLE_2): Likewise.
35472 (_FP_FRAC_DISASSEMBLE_2): Likewise.
35473 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
35474 (_FP_FRAC_CLZ_4): Likewise.
35475 (_FP_MUL_MEAT_4_wide): Likewise.
35476 (_FP_MUL_MEAT_4_gmp): Likewise.
35477 (_FP_SQRT_MEAT_4): Likewise.
35478 (_FP_FRAC_ASSEMBLE_4): Likewise.
35479 (_FP_FRAC_DISASSEMBLE_4): Likewise.
35480 * soft-fp/op-common.h (_FP_CMP): Likewise.
35481 (_FP_CMP_EQ): Likewise.
35482 (_FP_CMP_UNORD): Likewise.
35483 (_FP_TO_INT): Likewise.
35484 (_FP_FROM_INT): Likewise.
35485 [!__FP_CLZ] (__FP_CLZ): Likewise.
35486 (_FP_DIV_HELP_imm): Likewise.
35487 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
35488 Likewise.
35489 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
35490 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
35491 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
35492 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
35493 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
35494 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35495 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35496 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
35497 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
35498 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
35499 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
35500 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
35501 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
35502 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
35503 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
35504 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
35505 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
35506 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
35507 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
35508 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
35509 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
35510 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
35511 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
35512 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35513 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35514 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
35515 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
35516 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
35517 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
35518 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
35519 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
35520 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
35521 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
35522 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
35523 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
35524 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
35525 (FP_UNPACK_RAW_SP): Likewise.
35526 (FP_PACK_RAW_S): Likewise.
35527 (FP_PACK_RAW_SP): Likewise.
35528 (FP_UNPACK_S): Likewise.
35529 (FP_UNPACK_SP): Likewise.
35530 (FP_UNPACK_SEMIRAW_S): Likewise.
35531 (FP_UNPACK_SEMIRAW_SP): Likewise.
35532 (FP_PACK_S): Likewise.
35533 (FP_PACK_SP): Likewise.
35534 (FP_PACK_SEMIRAW_S): Likewise.
35535 (FP_PACK_SEMIRAW_SP): Likewise.
35536 (_FP_SQRT_MEAT_S): Likewise.
35537 (FP_CMP_S): Likewise.
35538 (FP_CMP_EQ_S): Likewise.
35539 (FP_CMP_UNORD_S): Likewise.
35540 (FP_TO_INT_S): Likewise.
35541 (FP_FROM_INT_S): Likewise.
35542
35543 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
35544
35545 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
35546 (FP_EX_INVALID_IMZ): Likewise.
35547 (FP_EX_INVALID_IMZ_FMA): Likewise.
35548 (FP_EX_INVALID_ISI): Likewise.
35549 (FP_EX_INVALID_ZDZ): Likewise.
35550 (FP_EX_INVALID_IDI): Likewise.
35551 (FP_EX_INVALID_SQRT): Likewise.
35552 (FP_EX_INVALID_CVI): Likewise.
35553 (FP_EX_INVALID_VC): Likewise.
35554 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
35555 "invalid" exceptions.
35556 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
35557 (_FP_ADD_INTERNAL): Likewise.
35558 (_FP_MUL): Likewise.
35559 (_FP_FMA): Likewise.
35560 (_FP_DIV): Likewise.
35561 (_FP_CMP_CHECK_NAN): Likewise.
35562 (_FP_SQRT): Likewise.
35563 (_FP_TO_INT): Likewise.
35564 (FP_EXTEND): Likewise.
35565
35566 2014-10-09 Allan McRae <allan@archlinux.org>
35567
35568 * po/fr.po: Update French translation from translation project.
35569
35570 2014-10-09 Joseph Myers <joseph@codesourcery.com>
35571
35572 [BZ #14132]
35573 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
35574 of INTDEF.
35575 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
35576 (__cxa_atexit): Use libc_hidden_proto.
35577 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
35578
35579 [BZ #14132]
35580 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
35581 declaration.
35582 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
35583 [!_ISOMAC] (__iswspace_l_internal): Likewise.
35584 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
35585 [!_ISOMAC] (__iswctype_internal): Likewise.
35586 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
35587 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
35588 alias.
35589 (fcntl): Remove __fcntl_internal alias.
35590 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
35591 __connect_internal alias.
35592 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
35593 Likewise.
35594
35595 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
35596 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
35597 FP_DENORM_ZERO.
35598 (_FP_CHECK_FLUSH_ZERO): New macro.
35599 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
35600 (_FP_CMP): Likewise.
35601 (_FP_CMP_EQ): Likewise.
35602 (_FP_TO_INT): Do not set inexact for subnormal arguments if
35603 FP_DENORM_ZERO.
35604 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
35605 (FP_TRUNC): Likewise.
35606
35607 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
35608 treated as invalid conversion, not as normal exponent.
35609
35610 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
35611 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
35612 (_FP_CMP_EQ): Likewise.
35613 (_FP_CMP_UNORD): Likewise.
35614 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
35615 (FP_CMP_EQ_D): Likewise.
35616 (FP_CMP_UNORD_D): Likewise.
35617 * soft-fp/extended.h (FP_CMP_E): Likewise.
35618 (FP_CMP_EQ_E): Likewise.
35619 (FP_CMP_UNORD_E): Likewise.
35620 * soft-fp/quad.h (FP_CMP_Q): Likewise.
35621 (FP_CMP_EQ_Q): Likewise.
35622 (FP_CMP_UNORD_Q): Likewise.
35623 * soft-fp/single.h (FP_CMP_S): Likewise.
35624 (FP_CMP_EQ_S): Likewise.
35625 (FP_CMP_UNORD_S): Likewise.
35626 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
35627 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
35628 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
35629 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
35630 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
35631 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
35632 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
35633 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
35634 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
35635 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
35636 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
35637 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
35638 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
35639 to FP_CMP_Q.
35640 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
35641 FP_CMP_Q.
35642 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
35643 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
35644 FP_CMP_EQ_Q.
35645 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
35646 FP_CMP_Q.
35647 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
35648 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
35649 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
35650 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
35651 FP_CMP_EQ_Q.
35652 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
35653 FP_CMP_Q.
35654 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
35655 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
35656 FP_CMP_EQ_Q.
35657 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
35658 FP_CMP_Q.
35659 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
35660 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
35661 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
35662 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
35663 FP_CMP_EQ_Q.
35664
35665 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
35666 a subnormal result, set the underflow exception if trapping on
35667 underflow is enabled.
35668 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
35669 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
35670 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
35671 redefine to 0.
35672 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
35673 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35674 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35675 * soft-fp/extendxftf2.c (__extendxftf2): Use
35676 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
35677
35678 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
35679 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
35680 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35681 FP_HANDLE_EXCEPTIONS.
35682 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
35683 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35684 FP_HANDLE_EXCEPTIONS.
35685 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
35686 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35687 FP_HANDLE_EXCEPTIONS.
35688 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
35689 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35690 FP_HANDLE_EXCEPTIONS.
35691
35692 2014-10-08 Joseph Myers <joseph@codesourcery.com>
35693
35694 [BZ #14132]
35695 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
35696 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
35697 use INTUSE.
35698 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
35699 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
35700 Remove alias.
35701 (__adjtimex): Define using libc_hidden_ver.
35702 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
35703 Remove declaration.
35704 (ntp_gettime): Call __adjtimex directly.
35705 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
35706 Remove declaration.
35707 (ntp_gettimex): Call __adjtimex directly.
35708 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
35709 __adjtimex_internal alias.
35710
35711 2014-10-08 Roland McGrath <roland@hack.frob.com>
35712
35713 [BZ #17460]
35714 * nscd/nscd.c (more_help): Rewrite list of tables collection
35715 using xstrdup and asprintf.
35716
35717 * nscd/nscd_conf.c: Remove local xstrdup declaration.
35718
35719 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35720 Roland McGrath <roland@hack.frob.com>
35721
35722 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
35723 (do_lookup_unique): ... local function 'enter' here; update callers.
35724
35725 2014-10-06 Joseph Myers <joseph@codesourcery.com>
35726
35727 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
35728 compat_symbol calls on [SHARED].
35729 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
35730 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
35731 Remove.
35732 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35733 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
35734 (oldsetrlimit): Remove.
35735 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35736 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35737 (lchown): New syscall entry.
35738 (oldsetrlimit): Remove.
35739 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35740 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
35741 (oldsetrlimit): Remove.
35742 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35743
35744 [BZ #14138]
35745 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
35746 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
35747 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
35748 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
35749 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35750 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
35751 (fchown): Likewise.
35752 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
35753 (fchown): Likewise.
35754 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
35755 Likewise.
35756
35757 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35758
35759 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
35760 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
35761 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
35762 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
35763 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
35764 Likewise.
35765 (__old_sem_post): Likewise.
35766
35767 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
35768
35769 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
35770 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
35771 HAVE_CLOCK_GETTIME_VSYSCALL macros.
35772 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
35773 Use INLINE_VSYSCALL macro.
35774 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
35775 __vdso_clock_gettime.
35776 * sysdeps/unix/sysv/linux/tile/init-first.c
35777 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
35778 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
35779 __vdso_clock_gettime.
35780
35781 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
35782 to set up frame more cleanly.
35783
35784 * sysdeps/tile/memcmp.c: New file.
35785
35786 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
35787
35788 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
35789 * sysdeps/tile/tilegx/strcasestr.c: New file.
35790 * sysdeps/tile/tilegx/strnlen.c: New file.
35791 * sysdeps/tile/tilegx/strstr.c: New file.
35792
35793 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
35794
35795 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
35796
35797 * nptl/tst-setuid3.c: Write errors to stdout.
35798
35799 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35800
35801 * elf/dl-deps.c
35802 (preload): New functions broken out of _dl_map_object_deps.
35803 (_dl_map_object_deps): Remove a nested function. Update call sites.
35804
35805 2014-10-01 Joseph Myers <joseph@codesourcery.com>
35806
35807 [BZ #14138]
35808 * sysdeps/unix/sysv/linux/execve.c: Remove file.
35809 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
35810
35811 2014-10-01 Steve Ellcey <sellcey@mips.com>
35812
35813 * sysdeps/mips/strcmp.S: New.
35814
35815 2014-09-30 Joseph Myers <joseph@codesourcery.com>
35816
35817 [BZ #14138]
35818 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
35819 (linkat): Likewise.
35820 (mkdirat): Likewise.
35821 (readlinkat): Likewise.
35822 (renameat): Likewise.
35823 (symlinkat): Likewise.
35824 (unlinkat): Likewise.
35825 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
35826 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
35827 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
35828 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
35829 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
35830 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
35831 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
35832
35833 2014-09-30 Will Newton <will.newton@linaro.org>
35834
35835 * math/math.h: Define long double math functions if
35836 _LIBC_TEST is defined.
35837 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
35838
35839 * localedata/Makefile: Move assignment to tests-special
35840 into an ifdef testing run-built-tests.
35841 * timezone/Makefile: Likewise.
35842
35843 2014-09-29 Joseph Myers <joseph@codesourcery.com>
35844
35845 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
35846 with $(BASH) not $(SHELL).
35847
35848 2014-09-29 Carlos O'Donell <carlos@redhat.com>
35849 Matthew LeGendre <legendre1@llnl.gov>
35850
35851 [BZ #17411]
35852 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
35853 l_reloc_result.
35854
35855 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35856
35857 * stdio-common/printf_fp.c
35858 (hack_digit): New function, broken out of ...
35859 (__printf_fp): ... local function here. Update call sites.
35860 hack_digit now takes an additional parameter that is a pointer
35861 to a struct of the referenced locals. Those locals moved inside
35862 the struct and references updated.
35863
35864 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
35865
35866 * aclocal.m4: Require autoconf 2.69.
35867 * configure: Regenerated.
35868 * sysdeps/aarch64/configure: Likewise.
35869 * sysdeps/alpha/configure: Likewise.
35870 * sysdeps/arm/armv7/configure: Likewise.
35871 * sysdeps/arm/configure: Likewise.
35872 * sysdeps/ia64/configure: Likewise.
35873 * sysdeps/mach/configure: Likewise.
35874 * sysdeps/mips/configure: Likewise.
35875 * sysdeps/s390/configure: Likewise.
35876 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
35877 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
35878
35879 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
35880 file.
35881 * sysdeps/ia64/configure.ac: Likewise.
35882
35883 2014-09-26 Joseph Myers <joseph@codesourcery.com>
35884
35885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
35886 specify symbol version for ld.so. Do not include entry for
35887 libpthread.
35888 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35889 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35890 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35891
35892 [BZ #14171]
35893 * Makeconfig [$(build-shared) = yes]
35894 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
35895 makefiles.
35896 [$(build-shared) = yes && $(soversions.mk-done) = t]
35897 ($(common-objpfx)gnu/lib-names.h): Remove rule.
35898 [$(build-shared) = yes && $(soversions.mk-done) = t]
35899 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
35900 to Makerules.
35901 [$(build-shared) = yes && $(soversions.mk-done) = t]
35902 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
35903 here.
35904 [$(build-shared) = yes && $(soversions.mk-done) = t]
35905 (common-generated): Don't append gnu/lib-names.h and
35906 gnu/lib-names.stmp here.
35907 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
35908 (lib-names-h-abi): New variable.
35909 [$(build-shared) = yes && $(soversions.mk-done) = t]
35910 (lib-names-stmp-abi): Likewise.
35911 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35912 abi-variants] (before-compile): Append
35913 $(common-objpfx)$(lib-names-h-abi).
35914 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35915 abi-variants] (common-generated): Append gnu/lib-names.h.
35916 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35917 abi-variants] (install-others-nosubdir): Depend on
35918 $(inst_includedir)/$(lib-names-h-abi).
35919 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35920 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
35921 [$(build-shared) = yes && $(soversions.mk-done) = t]
35922 ($(common-objpfx)$(lib-names-h-abi)): New rule.
35923 [$(build-shared) = yes && $(soversions.mk-done) = t]
35924 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
35925 [$(build-shared) = yes && $(soversions.mk-done) = t]
35926 (common-generated): Append $(lib-names-h-abi) and
35927 $(lib-names-stmp-abi).
35928 * scripts/lib-names.awk: Do not handle multi being set.
35929 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
35930 Remove variable.
35931 (abi-lp64_be-ld-soname): Likewise.
35932 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
35933 Likewise.
35934 (abi-hard-ld-soname): Likewise.
35935 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
35936 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
35937 Remove variable.
35938 (abi-o32_hard-ld-soname): Likewise.
35939 (abi-o32_soft_2008-ld-soname): Likewise.
35940 (abi-o32_hard_2008-ld-soname): Likewise.
35941 (abi-n32_soft-ld-soname): Likewise.
35942 (abi-n32_hard-ld-soname): Likewise.
35943 (abi-n32_soft_2008-ld-soname): Likewise.
35944 (abi-n32_hard_2008-ld-soname): Likewise.
35945 (abi-n64_soft-ld-soname): Likewise.
35946 (abi-n64_hard-ld-soname): Likewise.
35947 (abi-n64_soft_2008-ld-soname): Likewise.
35948 (abi-n64_hard_2008-ld-soname): Likewise.
35949 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
35950 Likewise.
35951 (abi-64-v2-ld-soname): Likewise.
35952 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
35953 ld.so entries.
35954 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
35955 variable.
35956 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
35957 entry.
35958 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
35959 variable.
35960 (abi-64-ld-soname): Likewise.
35961 (abi-x32-ld-soname): Likewise.
35962 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
35963 entry.
35964 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35965
35966 2014-09-23 Joseph Myers <joseph@codesourcery.com>
35967
35968 [BZ #14138]
35969 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
35970 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
35971 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
35972 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
35973 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
35974 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
35975 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
35976 syscall entry for GLIBC_2.2 symbol version.
35977 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
35978 Likewise.
35979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35980 (setrlimit): Likewise.
35981 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
35982 Likewise.
35983
35984 2014-09-23 Will Newton <will.newton@linaro.org>
35985
35986 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
35987 _LINUX_ARM_SYSDEP_H include guard too.
35988 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
35989 define.
35990
35991 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
35992
35993 * sysdeps/unix/sysv/linux/eventfd.c:
35994 Make first argument unsigned.
35995 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
35996 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
35997
35998 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
35999
36000 [BZ #16852]
36001 * socket/recvmmsg.c (recvmmsg): Drop const argument.
36002 * socket/sys/socket.h: Likewise.
36003 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
36004
36005 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
36006
36007 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
36008
36009 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
36010
36011 * time/tst-ftime.c: New test.
36012 * time/Makefile (tests): Add tst-ftime.
36013
36014 2014-09-17 Joseph Myers <joseph@codesourcery.com>
36015
36016 * soft-fp/extended.h: Fix comment formatting.
36017 * soft-fp/op-1.h: Likewise.
36018 * soft-fp/op-2.h: Likewise.
36019 * soft-fp/op-4.h: Likewise.
36020 * soft-fp/op-8.h: Likewise.
36021 * soft-fp/op-common.h: Likewise.
36022 * soft-fp/soft-fp.h: Likewise.
36023
36024 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
36025
36026 2014-09-16 Joseph Myers <joseph@codesourcery.com>
36027
36028 [BZ #6652]
36029 * Makeconfig (soversions-default-setname): Remove variable.
36030 ($(common-objpfx)soversions.i): Don't pass default_setname to
36031 soversions.awk.
36032 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
36033 oldest_abi to abi-versions.awk.
36034 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
36035 * config.make.in (oldest-abi): Remove variable.
36036 * configure.ac (--enable-oldest-abi): Remove configure option.
36037 * configure: Regenerated.
36038 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
36039 text.
36040 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
36041 * scripts/soversions.awk: Do not handle default_setname variable.
36042 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
36043 variable.
36044 * sysdeps/mach/hurd/configure: Regenerated.
36045 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
36046 variable.
36047 * sysdeps/unix/sysv/linux/configure: Regenerated.
36048
36049 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36050
36051 * elf/Makefile (CFLAGS-interp.c): Remove.
36052 ($(elf-objpfx)runtime-linker.h): Generate header with linker
36053 path string.
36054 * elf/interp.c: Include generated runtime-linker.h
36055
36056 * Makerules (lib%.so): Don't include $(+interp) in
36057 prerequisites.
36058 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
36059 * dlfcn/eval.c: Remove file.
36060
36061 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
36062 macros.
36063
36064 [BZ #17266]
36065 * misc/sys/cdefs.h: Define __extern_always_inline for clang
36066 4.2 and newer.
36067
36068 [BZ #17370]
36069 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
36070
36071 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36072 Jakub Jelinek <jakub@redhat.com>
36073
36074 [BZ #17266]
36075 * libio/stdio.h: Check definition of __fortify_function
36076 instead of __extern_always_inline to include bits/stdio2.h.
36077 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
36078 check if __extern_always_inline is defined.
36079 [__USE_MISC || __USE_XOPEN]: Likewise.
36080 [__USE_ISOC99] Likewise.
36081 * misc/sys/cdefs.h (__fortify_function): Define only if
36082 __extern_always_inline is defined.
36083 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
36084 __extern_always_inline and __extern_inline only for g++-4.3
36085 and newer or a compatible gcc.
36086
36087 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
36088
36089 [BZ #17371]
36090 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
36091 last change to handle zero prefix length.
36092
36093 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36094
36095 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
36096 _SC_REGEX_VERSION.
36097
36098 * posix/getconf.c (vars): Add _POSIX_IPV6 and
36099 _POSIX_RAW_SOCKETS.
36100
36101 2014-09-13 Allan McRae <allan@archlinux.org>
36102
36103 * po/ru.po: Update Russian translation from translation project.
36104
36105 2014-09-12 Roland McGrath <roland@hack.frob.com>
36106
36107 * locale/programs/locale.c (show_locale_vars): Inline local function
36108 into its sole call site. Clean up some style nits.
36109 (print_item): New function, broken out of ...
36110 (show_info): ... local function here. Clean up style nits.
36111
36112 * locale/programs/ld-ctype.c (set_one_default): New function, broken
36113 out of ...
36114 (set_class_defaults): ... local function set_default here.
36115 Define set_default as a macro locally to pass constant parameters.
36116 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
36117 rather than a shared local.
36118
36119 * stdlib/rpmatch.c (try): New function, broken out of ...
36120 (rpmatch): ... local function here. Also, prototypify definition.
36121
36122 2014-09-12 Joseph Myers <joseph@codesourcery.com>
36123
36124 * scripts/soversions.awk: Do not handle configuration names.
36125 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
36126 vendor and os variables to soversions.awk.
36127 * configure.ac: Do not modify gnu-* host_os.
36128 * configure: Regenerated
36129 * shlib-versions: Remove first column with configuration names.
36130 * nptl/shlib-versions: Likewise.
36131 * nptl_db/shlib-versions: Likewise.
36132 * sysdeps/hppa/shlib-versions: Likewise.
36133 * sysdeps/m68k/shlib-versions: Likewise.
36134 * sysdeps/mach/hurd/shlib-versions: Likewise.
36135 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
36136 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
36137 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
36138 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
36139 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
36140 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
36141 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
36142 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
36143 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
36144 Likewise.
36145 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
36146 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
36147 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
36148 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
36149 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
36150 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
36151 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
36152 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
36153
36154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
36155 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
36156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
36157 Regenerated.
36158 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
36159 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
36160 Condition symbol version definitions on [HAVE_ELFV2_ABI].
36161
36162 * shlib-versions: Remove OS-specific entries. Moved to files in
36163 sysdeps.
36164 * sysdeps/mach/hurd/shlib-versions: New file.
36165 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
36166
36167 * nptl/shlib-versions: Remove architecture-specific entries.
36168 Moved to files in sysdeps.
36169 * shlib-versions: Likewise.
36170 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
36171 file.
36172 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
36173 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
36174 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
36175 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
36176
36177 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
36178 (UDP_NO_CHECK6_RX): Likewise.
36179
36180 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
36181
36182 * sysdeps/posix/sysconf.c (__sysconf): Spell
36183 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
36184
36185 2014-08-12 Florian Weimer <fweimer@redhat.com>
36186
36187 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
36188 loading.
36189 * iconv/Versions (__gconv_transliterate): Export for use from
36190 gconv modules.
36191 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
36192 (struct __gconv_trans_data, __gconv_trans_fct,
36193 __gconv_trans_context_fct, __gconv_trans_query_fct,
36194 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
36195 definitions.
36196 (struct __gconv_step_data): Remove __trans member.
36197 (__gconv_transliterate): Declaration moved from gconv_int.h. No
36198 longer hidden. Remove unused trans_data argument.
36199 * iconv/gconv_int.h (struct trans_struct): Remove definition.
36200 (__gconv_translit_find): Remove declaration.
36201 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
36202 prototype.
36203 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
36204 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
36205 trans_data argument. Add hidden definition.
36206 (__gconv_translit_find): Remove.
36207 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
36208 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
36209 * iconv/skeleton.c: Remove transliteration initialization.
36210 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
36211 __gconv_step_data initialization.
36212 * libio/iofwide.c (__libio_translit_): Remove.
36213 (_IO_fwide): Adjust struct __gconv_step_data initialization.
36214 * wcsmbs/btowc.c (__btowc): Likewise.
36215 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36216 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
36217 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
36218 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
36219 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
36220 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
36221 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
36222 * wcsmbs/wctob.c (wctob): Likewise.
36223
36224 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
36225
36226 [BZ #16194]
36227 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
36228 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
36229 register usage.
36230 * sysdeps/x86/Makefile: Adjust.
36231
36232 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
36233 Roland McGrath <roland@hack.frob.com>
36234
36235 * locale/weight.h: Add include guard.
36236 (findidx): Make static rather than auto; take new parameters
36237 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
36238 * locale/weightwc.h: Likewise.
36239 * posix/fnmatch_loop.c
36240 (FCT): Change type of EXTRA from int32_t to wint_t.
36241 Don't include either header inside the function.
36242 Call FINDIDX rather than findidx, and pass new arguments.
36243 #undef FINDIDX at the end of the file.
36244 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
36245 FINDIDX before including fnmatch_loop.c for the non-wide version.
36246 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
36247 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
36248 for the wide version.
36249 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
36250 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
36251 Pass new arguments to findidx.
36252 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
36253 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
36254 Don't #include it inside the function. Pass new arguments to findidx.
36255 * posix/regex_internal.h
36256 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
36257 (re_string_elem_size_at): Don't #include it inside the function.
36258 Pass new arguments to findidx.
36259 * string/strcoll_l.c: #include WEIGHT_H at top level.
36260 (get_next_seq): Don't #include it inside the function.
36261 Pass new arguments to findidx.
36262 (get_next_seq_nocache): Likewise.
36263 * string/strxfrm_l.c: #include WEIGHT_H at top level.
36264 (STRXFRM): Don't #include it inside the function.
36265 Pass new arguments to findidx.
36266
36267 2014-09-11 Florian Weimer <fweimer@redhat.com>
36268
36269 [BZ #17344]
36270 * malloc/malloc.c (unlink): Turn asserts into a call to
36271 malloc_printerr.
36272
36273 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
36274
36275 [BZ #17370]
36276 * libio/wfileops (do_ftell_wide): Free OUT.
36277
36278 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
36279
36280 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
36281
36282 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36283
36284 [BZ #17363]
36285 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
36286 group if the current group is empty.
36287
36288 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36289
36290 * benchtests/bench-memset.c (test_main): Add more test from size
36291 from 32 to 512 bytes.
36292 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36293 Add POWER8 memset object.
36294 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36295 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
36296 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
36297 implementation.
36298 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
36299 Likewise.
36300 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
36301 multiarch POWER8 memset optimization.
36302 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
36303 POWER8 memset optimization.
36304
36305 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36306 Remove bzero multiarch objects.
36307 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
36308 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
36309 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
36310 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
36311 Remove define.
36312 [__bzero]: Redefine to specific name.
36313 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
36314 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
36315 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
36316 define.
36317 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36318 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
36319
36320 2014-09-10 Florian Weimer <fweimer@redhat.com>
36321
36322 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
36323 warnings into errors.
36324
36325 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
36326 __cxa_thread_atexit_impl prototype.
36327
36328 2014-09-09 Steve Ellcey <sellcey@mips.com>
36329
36330 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
36331 Fix capitalization of error message.
36332
36333 2014-09-09 Steve Ellcey <sellcey@mips.com>
36334
36335 * sysdeps/mips/preconfigure: Modify ABI tests.
36336
36337 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
36338
36339 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
36340
36341 2014-09-07 Roland McGrath <roland@hack.frob.com>
36342 Carlos O'Donell <carlos@systemhalted.org>
36343
36344 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
36345 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
36346 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
36347 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
36348 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
36349 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
36350 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
36351 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
36352 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
36353 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
36354 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
36355 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
36356 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
36357 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
36358 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
36359 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
36360 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
36361 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
36362 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
36363 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
36364 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
36365 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
36366 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
36367 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
36368 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
36369 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
36370 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
36371 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
36372 Deconditionalize the code that was previously under [RESET_PID].
36373 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
36374 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
36375 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
36376 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
36377 include sysdep.h.
36378
36379 2014-09-08 Allan McRae <allan@archlinux.org>
36380
36381 * version.h (RELEASE): Set to "development".
36382 (VERSION): Set to "2.20.90"
36383
36384 2014-09-07 Allan McRae <allan@archlinux.org
36385
36386 * version.h (RELEASE): Set to "stable".
36387 (VERSION): Set to "2.20"
36388 * include/features.h (__GLIBC_MINOR__): Set to 20.
36389
36390 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
36391 Liebler.
36392
36393 * po/ko.po: Update Korean translation from translation project.
36394
36395 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
36396
36397 [BZ #17354]
36398 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
36399 macro for handling signed relocations.
36400
36401 2014-09-03 Florian Weimer <fweimer@redhat.com>
36402
36403 [BZ #17325]
36404 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
36405 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
36406 assert.
36407 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
36408 * iconvdata/ibm935.c (BODY): Likewise.
36409 * iconvdata/ibm937.c (BODY): Likewise.
36410 * iconvdata/ibm939.c (BODY): Likewise.
36411 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
36412 assert.
36413 * iconvdata/Makefile (iconv-test.out): Pass module list to test
36414 script.
36415 * iconvdata/run-iconv-test.sh: New test loop for checking for
36416 decoder crashers.
36417
36418 2014-09-02 Khem Raj <raj.khem@gmail.com>
36419
36420 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
36421 libm_hidden_ver.
36422
36423 2014-09-01 Allan McRae <allan@archlinux.org>
36424
36425 * po/eo.po: Update Esperanto translation from translation project.
36426
36427 * po/ca.po: Update Catalan translation from translation project.
36428
36429 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
36430
36431 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
36432 __proc_dostop call.
36433
36434 2014-08-27 Mark Wielaard <mjw@redhat.com>
36435
36436 [BZ #17319]
36437 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
36438 to call set_thread_area instead of hand written asm.
36439 (__NR_set_thread_area): Removed define.
36440 (TLS_FLAG_WRITABLE): Likewise.
36441 (__ASSUME_SET_THREAD_AREA): Remove check.
36442 (TLS_EBX_ARG): Remove define.
36443 (TLS_LOAD_EBX): Likewise.
36444
36445 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
36446
36447 Simplify atomicity of socket creation in bind.
36448
36449 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
36450 looking up the name after linking the file.
36451
36452 2014-08-27 Allan McRae <allan@archlinux.org>
36453
36454 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36455
36456 2014-08-26 Florian Weimer <fweimer@redhat.com>
36457
36458 [BZ #17187]
36459 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
36460 trans_compare, open_translit, __gconv_translit_find):
36461 Remove module loading code.
36462
36463 2014-08-26 Allan McRae <allan@archlinux.org>
36464
36465 * po/vi.po: Update Vietnamese translation from translation project.
36466
36467 * po/uk.po: Update Ukrainian translation from translation project.
36468
36469 * po/fr.po: Update French translation from translation project.
36470
36471 * po/ru.po: Update Russian translation from translation project.
36472
36473 * po/pl.po: Update Polish translation from translation project.
36474
36475 * po/cs.po: Update Czech translation from translation project.
36476
36477 * po/de.po: Update German translation from translation project.
36478
36479 * po/bg.po: Update Bulgarian translation from translation project.
36480
36481 * po/sv.po: Update Sweedish translation from translation project.
36482
36483 * po/nl.po: Update Dutch translation from translation project.
36484
36485 * po/es.po: Update Spanish translation from translation project.
36486
36487 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36488
36489 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
36490
36491 * catgets/Makefile (CPPFLAGS-gencat): Remove.
36492 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
36493 (CPPFLAGS-iconvconfig): Likewise.
36494 * timezone/Makefile (CPPFLAGS-zic): Likewise.
36495
36496 * include/libc-symbols.h: Remove unnecessary check for
36497 NOT_IN_libc.
36498 * nptl/pthreadP.h: Likewise.
36499 * sysdeps/aarch64/setjmp.S: Likewise.
36500 * sysdeps/alpha/setjmp.S: Likewise.
36501 * sysdeps/arm/sysdep.h: Likewise.
36502 * sysdeps/i386/setjmp.S: Likewise.
36503 * sysdeps/m68k/setjmp.c: Likewise.
36504 * sysdeps/posix/getcwd.c: Likewise.
36505 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36506 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36507 * sysdeps/s390/s390-32/setjmp.S: Likewise.
36508 * sysdeps/s390/s390-64/setjmp.S: Likewise.
36509 * sysdeps/sh/sh3/setjmp.S: Likewise.
36510 * sysdeps/sh/sh4/setjmp.S: Likewise.
36511 * sysdeps/unix/alpha/sysdep.h: Likewise.
36512 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36513 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36514 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
36515 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36516 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36517 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36518 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36519 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36520 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36521 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36522 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36523 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36524 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36525 * sysdeps/x86_64/setjmp.S: Likewise.
36526
36527 2014-08-13 Joseph Myers <joseph@codesourcery.com>
36528
36529 [BZ #17263]
36530 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
36531 <stdint.h>.
36532 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
36533 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
36534
36535 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36536
36537 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
36538
36539 [BZ #17262]
36540 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
36541 and __x86_64__ when disabling x87 inline functions.
36542
36543 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
36544
36545 [BZ #17259]
36546 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
36547 asm statement with __cpuid_count.
36548
36549 2014-08-12 Mike Frysinger <vapier@gentoo.org>
36550
36551 * configure.ac: Change __ehdr_start code to dereference the struct.
36552 Run readelf on the output to look for relocations.
36553 * configure: Regenerated.
36554
36555 2014-08-12 Joseph Myers <joseph@codesourcery.com>
36556
36557 [BZ #17261]
36558 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
36559 value to 0.
36560 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
36561
36562 2014-08-12 Roland McGrath <roland@hack.frob.com>
36563
36564 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
36565
36566 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
36567
36568 [BZ #16892]
36569 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
36570 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
36571
36572 2014-08-12 Sean Anderson <seanga2@gmail.com>
36573
36574 * malloc/malloc.c: Fix typo in comment.
36575
36576 2014-08-09 Allan McRae <allan@archlinux.org>
36577
36578 * Regenerate libc.po.
36579
36580 2014-08-08 Mike Frysinger <vapier@gentoo.org>
36581
36582 * intl/tst-gettext2.sh: Check every lang file for creation.
36583
36584 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
36585
36586 * sysdeps/aarch64/fpu/math_private.h
36587 (libc_feholdsetround_noex_aarch64_ctx): New function.
36588
36589 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
36590
36591 * sysdeps/arm/armv6/strcpy.S (strcpy):
36592 Fix performance issue in misaligned cases.
36593
36594 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36595
36596 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
36597 Move definition from termios.h.
36598 (struct termio): Likewise.
36599 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36600 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36601 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36602 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36603 Likewise.
36604 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
36605 Move definition to ioctl-types.h
36606 (struct termio): Likewise.
36607 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36608 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36609 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36610 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36611 Likewise.
36612
36613 2014-08-05 Richard Henderson <rth@redhat.com>
36614
36615 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
36616 exceptions.
36617 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
36618 Add fraiseexcpt.
36619 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
36620 Use __feraiseexcept.
36621 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
36622 Protect libm symbols with IS_IN_libm.
36623
36624 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
36625
36626 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
36627
36628 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
36629
36630 2014-08-04 Will Newton <will.newton@linaro.org>
36631
36632 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
36633 file.
36634
36635 2014-08-04 Mike Frysinger <vapier@gentoo.org>
36636
36637 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
36638 variants for each function.
36639
36640 2014-08-04 Roland McGrath <roland@hack.frob.com>
36641
36642 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
36643 appended ...
36644 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
36645 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
36646 appended ...
36647 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
36648 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
36649 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
36650 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
36651 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
36652 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
36653 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
36654 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
36655 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
36656 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
36657 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
36658 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
36659 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
36660 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
36661 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
36662 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
36663 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
36664 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
36665 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
36666 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
36667 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
36668 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
36669 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
36670 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
36671 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
36672 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
36673 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
36674 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
36675 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
36676 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
36677 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
36678 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
36679 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
36680 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
36681 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
36682 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
36683 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
36684 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
36685 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
36686 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
36687 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
36688 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
36689 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
36690 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
36691 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
36692 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
36693 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
36694 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
36695 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
36696 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
36697 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
36698 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
36699 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
36700 Update #include.
36701 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
36702 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
36703
36704 2014-08-04 Roland McGrath <roland@hack.frob.com>
36705
36706 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
36707 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
36708 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
36709 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
36710 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
36711 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
36712
36713 2014-08-04 Roland McGrath <roland@hack.frob.com>
36714
36715 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
36716 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
36717 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36718 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
36719
36720 2014-08-04 Roland McGrath <roland@hack.frob.com>
36721
36722 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
36723 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
36724 (__libc_vfork): Define function under this name.
36725 (__vfork): Define as an alias.
36726 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
36727 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
36728
36729 2014-08-04 Roland McGrath <roland@hack.frob.com>
36730
36731 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
36732 that was previously under [RESET_PID].
36733 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
36734
36735 2014-08-04 Andreas Schwab <schwab@suse.de>
36736
36737 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
36738
36739 2014-08-03 Mike Frysinger <vapier@gentoo.org>
36740
36741 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
36742 (main): Likewise.
36743
36744 2014-08-01 Roland McGrath <roland@hack.frob.com>
36745
36746 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
36747
36748 2014-08-01 Richard Henderon <rth@redhat.com>
36749
36750 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
36751 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
36752 typo in exact zero test.
36753 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36754 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36755 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36756
36757 2014-08-01 Roland McGrath <roland@hack.frob.com>
36758
36759 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
36760 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
36761 * sysdeps/arm/sysdep.h: ... here.
36762 [!__ASSEMBLER__]: Include <stdint.h>.
36763
36764 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36765
36766 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
36767 (HAVE_WCTYPE_H): Likewise.
36768 (HAVE_ISWCTYPE): Likewise.
36769 (ENABLE_NLS): Likewise.
36770 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
36771 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
36772
36773 * posix/regex_internal.c: Check if DEBUG is defined and is
36774 set.
36775
36776 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
36777 (HAVE_MBSRTOWCS): Likewise.
36778 * posix/fnmatch.c: Include string.h unconditionally.
36779
36780 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
36781
36782 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
36783 reversal.
36784
36785 2014-07-31 Roland McGrath <roland@hack.frob.com>
36786
36787 * sysdeps/generic/safe-fatal.h: New file.
36788 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
36789 * nptl/forward.c: Include it.
36790 (__pthread_unwind): Use __safe_fatal as default action, rather
36791 than a bogus use of INTERNAL_SYSCALL that could never work.
36792
36793 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
36794 * configure.ac (libc_cv_builtin_trap): New test.
36795 * configure: Regenerated.
36796 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
36797 (ABORT_INSTRUCTION): Define using __builtin_trap.
36798
36799 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
36800 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
36801 * sysdeps/nptl/nptl-signals.h: New file.
36802 * nptl/pthreadP.h: Include <nptl-signals.h>.
36803
36804 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
36805
36806 * sysdeps/s390/s390-64/utf16-utf32-z9.c
36807 (ONE_DIRECTION): Define.
36808 * sysdeps/s390/s390-64/utf8-utf16-z9.c
36809 (ONE_DIRECTION): Define.
36810 * sysdeps/s390/s390-64/utf8-utf32-z9.c
36811 (ONE_DIRECTION): Define.
36812
36813 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
36814
36815 * sysdeps/s390/Makefile: Delete file.
36816 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
36817 * sysdeps/s390/__longjmp.c: Delete file.
36818 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
36819 Remove fields __flags and __reserved.
36820 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
36821 and add versioning.
36822 * sysdeps/s390/rtld-__longjmp.c: Delete file.
36823 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
36824 * sysdeps/s390/rtld-setjmp.S: Likewise.
36825 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
36826 * sysdeps/s390/s390-32/__longjmp.c: ... here.
36827 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
36828 * sysdeps/s390/s390-32/setjmp.S: ... here.
36829 Add versioning.
36830 (__sigsetjmp): Remove setting __flags field.
36831 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
36832 * sysdeps/s390/s390-64/__longjmp.c: ... here.
36833 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
36834 * sysdeps/s390/s390-64/setjmp.S: ... here.
36835 Add versioning.
36836 (__sigsetjmp): Remove setting __flags field.
36837 * sysdeps/s390/setjmp.S: Delete file.
36838 * sysdeps/s390/sigjmp.c: Likewise.
36839 * sysdeps/s390/v1-longjmp.c: Likewise.
36840 * sysdeps/s390/v1-setjmp.h: Likewise.
36841 * sysdeps/s390/v1-sigjmp.c: Likewise.
36842 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
36843 Remove v1-longjmp_chk.
36844 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
36845 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
36846 Include debug/longjmp_chk.c and add versioning.
36847 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
36848 Include nptl/pt-longjmp.c and add versioning.
36849 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
36850 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
36851 Include __longjmp.c.
36852 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36853 Move to ...
36854 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
36855 (__getcontext): Remove setting __flags field.
36856 Add versioning.
36857 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36858 Don't restore upper high grps.
36859 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
36860 Likewise.
36861 (__swapcontext): Remove setting uc_flags field.
36862 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
36863 Delete file.
36864 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36865 Include __longjmp.c.
36866 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36867 Move to ...
36868 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
36869 (__getcontext): Remove setting __flags field.
36870 Add versioning.
36871 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
36872 (__swapcontext): Remove setting uc_flags field.
36873 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
36874 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
36875 Remove fields uc_high_gprs and __reserved.
36876 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
36877 New file with reverted content.
36878 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
36879 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
36880 Regenerated.
36881 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
36882 Regenerated.
36883
36884 2014-07-31 Andreas Schwab <schwab@suse.de>
36885
36886 * config.h.in (HAVE_IFUNC): Define to 0.
36887 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
36888 definedness.
36889
36890 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
36891
36892 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36893 memmove-avx-unaligned, memcpy-avx-unaligned and
36894 mempcpy-avx-unaligned.
36895 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36896 Add tests for AVX memcpy functions.
36897 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
36898 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
36899 memcpy_chk.
36900 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
36901 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
36902 memmove_chk.
36903 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
36904 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
36905 mempcpy_chk.
36906 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
36907 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
36908 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
36909
36910 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36911
36912 [BZ #17213]
36913 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
36914 powerpc64le.
36915
36916 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
36917
36918 [BZ #16839]
36919 * manual/llio.texi: Add section about open file description locks.
36920 * manual/examples/ofdlocks.c: Example of open file description
36921 lock usage.
36922 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
36923 F_OFD_SETLK, and F_OFD_SETLKW.
36924
36925 2014-07-23 Allan McRae <allan@archlinux.org>
36926
36927 * po/es.po: Update Spanish translation from translation project.
36928
36929 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
36930
36931 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
36932
36933 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
36934
36935 [BZ #17078]
36936 * sysdeps/arm/dl-machine.h (elf_machine_rela)
36937 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
36938 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
36939
36940 2014-07-17 Joseph Myers <joseph@codesourcery.com>
36941
36942 [BZ #17088]
36943 * math/fesetenv.c (__fesetenv)
36944 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
36945 * math/feupdateenv.c (__feupdateenv)
36946 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
36947
36948 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
36949 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36950 (__ASSUME_SOCKETCALL): Do not define.
36951
36952 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
36953 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
36954 (__ASSUME_SOCKETCALL): Do not define.
36955 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
36956 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36957 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36958 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36959 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36960 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
36961 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36962 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36963
36964 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
36965 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
36966 (__ASSUME_SOCKETCALL): Do not define.
36967 (__ASSUME_IPC64): Define unconditionally.
36968 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36969 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36970 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36971 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36972 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
36973 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36974 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
36975 Likewise.
36976
36977 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
36978 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
36979 (__ASSUME_SOCKETCALL): Do not define.
36980 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
36981 (__ASSUME_FUTEX_LOCK_PI): Likewise.
36982 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36983 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36984 (__ASSUME_REQUEUE_PI): Define unconditionally.
36985 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
36986 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
36987 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36988 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
36989 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36990 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36991
36992 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
36993 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
36994 (__ASSUME_SOCKETCALL): Do not define.
36995 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
36996 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36997 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36998 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
36999 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
37000 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
37001
37002 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
37003 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
37004 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
37005 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
37006 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
37007 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
37008 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
37009 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
37010 (__ASSUME_GETCPU_SYSCALL): Likewise.
37011
37012 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
37013 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
37014 cases for individual architectures.
37015 * sysdeps/gnu/configure: Regenerated.
37016 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
37017 LIBC_SLIBDIR_RTLDDIR.
37018 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
37019 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
37020 LIBC_SLIBDIR_RTLDDIR.
37021 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
37022 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
37023 LIBC_SLIBDIR_RTLDDIR.
37024 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
37025 Regenerated.
37026 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
37027 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
37028 file.
37029 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
37030 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
37031 file.
37032 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
37033 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
37034 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
37035 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
37036
37037 * sysdeps/aarch64/shlib-versions: Move to ...
37038 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
37039 * sysdeps/alpha/shlib-versions: Move to ...
37040 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
37041 * sysdeps/arm/shlib-versions: Move to ...
37042 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
37043 * sysdeps/hppa/shlib-versions: Move all contents except for
37044 libgcc_s entry to ...
37045 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
37046 entry from ...
37047 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
37048 * sysdeps/ia64/shlib-versions: Move to ...
37049 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
37050 entry from ...
37051 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
37052 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
37053 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
37054 * sysdeps/microblaze/shlib-versions: Move to ...
37055 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
37056 * sysdeps/mips/shlib-versions: Move to ...
37057 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
37058 entry from ...
37059 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
37060 * sysdeps/tile/shlib-versions: Move to ...
37061 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
37062 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
37063 from ...
37064 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
37065 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
37066 entry from ...
37067 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
37068
37069 2014-07-17 Will Newton <will.newton@linaro.org>
37070
37071 * sysdeps/arm/bits/atomic.h
37072 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
37073 (__arch_compare_and_exchange_bool_16_int): Likewise.
37074 (__arch_compare_and_exchange_bool_64_int): Likewise.
37075
37076 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
37077 into an #else block.
37078
37079 2014-07-16 Roland McGrath <roland@hack.frob.com>
37080
37081 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
37082 just Linux configurations. Test empirically that the compiler sets
37083 __ARM_EABI__, rather than using the tuple to decide.
37084 * sysdeps/arm/preconfigure: Regenerated.
37085 * sysdeps/unix/sysv/linux/arm/configure: File removed.
37086 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
37087 contents appended ...
37088 * sysdeps/arm/configure.ac: ... here.
37089 * sysdeps/arm/configure: Regenerated.
37090
37091 2014-07-15 Roland McGrath <roland@hack.frob.com>
37092
37093 * nptl/pthread_kill.c: New file.
37094 * nptl/pthread_sigmask.c: New file.
37095 * nptl/pthread_sigqueue.c: New file.
37096
37097 * sysdeps/nptl/lowlevellock.h: New file.
37098 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
37099 * sysdeps/nptl/lowlevellock-futex.h: New file.
37100
37101 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
37102 Remove dead declarations.
37103
37104 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
37105
37106 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
37107 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
37108 config-cflags-avx2.
37109 * sysdeps/x86_64/configure.ac: Likewise.
37110 * sysdeps/i386/configure: Regenerated.
37111 * sysdeps/x86_64/configure: Likewise.
37112 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37113 memset-avx2 only if config-cflags-avx2 is yes.
37114 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37115 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
37116 defined.
37117 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
37118 only if HAVE_AVX2_SUPPORT is defined.
37119 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37120
37121 2014-07-14 Alan Modra <amodra@gmail.com>
37122
37123 [BZ #17153]
37124 * elf/elf.h (DT_PPC64_NUM): Correct value.
37125 * NEWS: Add to fixed bug list.
37126
37127 2014-07-13 Jim Meyering <meyering@fb.com>
37128
37129 [BZ 17150]
37130 regex: don't deref NULL upon heap allocation failure
37131 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
37132 failure in one more place.
37133 To trigger the segfault, configure grep -with-included-regex,
37134 build it, and run these commands:
37135 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
37136
37137 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
37138
37139 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
37140
37141 2014-07-11 Richard Henderson <rth@redhat.com>
37142
37143 * sysdeps/aarch64/libm-test-ulps: Update.
37144
37145 2014-07-10 Florian Weimer <fweimer@redhat.com>
37146
37147 [BZ #17135]
37148 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
37149 * nptl/allocatestack.c (__nptl_setxid_error): New function.
37150 (__nptl_setxid): Initialize error member. Call
37151 __nptl_setxid_error.
37152 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
37153 * nptl/descr.h (struct xid_command): Add error member.
37154 * nptl/tst-setuid3.c: New file.
37155 * nptl/Makefile (tests): Add it.
37156
37157 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37158
37159 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
37160 New define.
37161 (__lll_trylock): Use __lll_base_trylock.
37162 (__lll_cond_trylock): Likewise.
37163
37164 2014-07-10 Roland McGrath <roland@hack.frob.com>
37165
37166 * nptl/pthread_create.c (start_thread): Use atomic_or and
37167 lll_futex_wake directly rather than lll_robust_dead.
37168 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
37169 (lll_robust_dead): Macro removed.
37170 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
37171 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
37172 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
37173 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37174 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37175 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
37176 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
37177 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37178 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
37179 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37180 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37181 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37182 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37183 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37184 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37185
37186 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
37187 Use atomic_compare_and_exchange_val_acq directly rather than
37188 lll_robust_trylock.
37189 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
37190 (__lll_robust_trylock, lll_robust_trylock): Removed.
37191 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
37192 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
37193 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37194 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37195 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
37196 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
37197 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37198 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
37199 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37200 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37201 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37202 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37203 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37204 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37205
37206 2014-07-02 Florian Weimer <fweimer@redhat.com>
37207
37208 * manual/locale.texi (Locale Names): New section documenting
37209 locale name syntax. Adjust menu and node chaining accordingly.
37210 (Choosing Locale): Reference Locale Names, Locale Categories.
37211 Mention setting LC_ALL=C. Reflect that name syntax is now
37212 documented.
37213 (Locale Categories): New section title. Reference Locale Names.
37214 LC_ALL is an environment variable, but not a category.
37215 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
37216 description, now in Locale Name. Reference that section. Locale
37217 name syntax is now documented.
37218
37219 2014-07-02 Florian Weimer <fweimer@redhat.com>
37220
37221 [BZ #17137]
37222 * locale/findlocale.c (name_present, valid_locale_name): New
37223 functions.
37224 (_nl_find_locale): Use the loc_name variable to store name
37225 candidates. Call name_present and valid_locale_name to check and
37226 validate locale names. Return an error if the locale is invalid.
37227
37228 2014-07-02 Florian Weimer <fweimer@redhat.com>
37229
37230 * locale/setlocale.c (setlocale): Use strdup for allocating
37231 composite name copy.
37232
37233 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37234
37235 Sync up with gnulib.
37236 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
37237 [!_LIBC && ENABLE_NLS]: Include gettext.h.
37238 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
37239 and _GL_ARG_NONNULL.
37240 [USE_UNLOCKED_IO]: Include unlocked-io.h.
37241 [!_LIBC]: Include code for Windows and Cygwin.
37242 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
37243 Include prototype for int strerror_r.
37244 [!_LIBC] (is_open): New function.
37245 (flush_stdout): New function.
37246 (print_errno_message): Use it.
37247 (error): Likewise.
37248 (error_at_line): Likewise.
37249 (error_tail) Add function attribute macros. Use
37250 __builtin_expect.
37251
37252 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
37253
37254 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
37255
37256 * io/ftw.c: Include sys/param.h unconditionally.
37257
37258 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
37259
37260 [BZ #17125]
37261 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
37262 libc_freeres_ptr.
37263 (freecache): New function to free CACHE on exit.
37264
37265 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
37266 initialization.
37267
37268 2014-07-09 David S. Miller <davem@davemloft.net>
37269
37270 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37271
37272 * sysdeps/sparc/nptl/internaltypes.h: Delete.
37273 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
37274 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
37275 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
37276 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
37277 * sysdeps/sparc/nptl/sem_init.c: Likewise.
37278 * sysdeps/sparc/nptl/sem_post.c: Likewise.
37279 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
37280 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
37281 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
37282 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
37283 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
37284 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
37285
37286 2014-07-09 Andreas Schwab <schwab@suse.de>
37287
37288 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
37289 output.
37290 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
37291 (do_test): Likewise.
37292
37293 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37294
37295 2014-07-09 Will Newton <will.newton@linaro.org>
37296
37297 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
37298 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
37299 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
37300 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
37301 * sysdeps/hppa/start.S (_start): Likewise.
37302
37303 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
37304
37305 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
37306
37307 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
37308 defined.
37309
37310 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
37311
37312 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
37313 after checking that it is non-NULL.
37314
37315 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
37316
37317 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37318
37319 * sysdeps/powerpc/memmove.c: Remove file.
37320 * sysdeps/powerpc/powerpc32/power4/memcopy.h
37321 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
37322 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
37323 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
37324 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
37325 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
37326 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
37327 string memmove instead of removed powerpc one.
37328
37329 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
37330 [weak_alias]: Fix compiler warning due trailing data.
37331 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
37332 [weak_alias]: Likewise.
37333 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
37334 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
37335
37336 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37337 (__libc_ifunc_impl_list): Add memmove functions.
37338
37339 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
37340
37341 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
37342 Remove code.
37343 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
37344 Likewise.
37345 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
37346 Likewise.
37347 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
37348 Likewise.
37349 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
37350 Likewise.
37351 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
37352 Likewise.
37353 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
37354 Likewise.
37355 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
37356 Likewise.
37357 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
37358 Likewise.
37359 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
37360 Likewise.
37361 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
37362 Likewise.
37363 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
37364 Likewise.
37365 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
37366 Likewise.
37367 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
37368 Likewise.
37369 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
37370 Likewise.
37371 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
37372 Likewise.
37373 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
37374 Likewise.
37375
37376 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37377
37378 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
37379 to avoid alignment traps in non-cacheable memory.
37380 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
37381
37382 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
37383 multiarch objects.
37384 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
37385 file: multiarch power7 memmove.
37386 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
37387 multiarch default memmove.
37388 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
37389 multiarch memove for powerpc32/power4.
37390
37391 * string/bcopy.c: Use full path to include memmove.c.
37392 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
37393 multiarch objects.
37394 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
37395 bcopy for powerpc64.
37396 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
37397 bcopy for powerpc64.
37398 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
37399 and memmove implementations.
37400 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
37401 optimized multiarch memmove for POWER7/powerpc64.
37402 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
37403 default multiarch memmove for powerpc64.
37404 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
37405 multiarch for powerpc64.
37406 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
37407 for POWER7/powerpc64.
37408 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
37409 memmove for POWER7/powerpc64.
37410
37411 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
37412 glibc default one.
37413
37414 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
37415 __ELF_NATIVE_CLASS equal to 64.
37416
37417 2014-07-07 Roland McGrath <roland@hack.frob.com>
37418
37419 * sysdeps/nptl/lowlevellock.h: File removed.
37420
37421 * NEWS: NPTL is no longer an add-on!
37422 * nptl/internaltypes.h: Moved ...
37423 * sysdeps/nptl/internaltypes.h: ... here.
37424 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
37425 * sysdeps/nptl/fork.c: Likewise.
37426 * sysdeps/nptl/gai_misc.h: Likewise.
37427 * sysdeps/nptl/librt-cancellation.c: Likewise.
37428 * sysdeps/nptl/jmp-unwind.c: Likewise.
37429 * sysdeps/nptl/setxid.h: Likewise.
37430 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
37431 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
37432 * sysdeps/unix/sysv/linux/arm/Implies: New file.
37433 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
37434 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
37435 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
37436 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
37437 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
37438 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
37439 * sysdeps/unix/sysv/linux/mips/Implies: New file.
37440 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
37441 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
37442 * sysdeps/unix/sysv/linux/sh/Implies: New file.
37443 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
37444 * sysdeps/unix/sysv/linux/tile/Implies: New file.
37445 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
37446 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
37447 * nptl/Makeconfig: Moved ...
37448 * sysdeps/nptl/Makeconfig: ... here.
37449 * nptl/configure: File removed.
37450 * nptl/ANNOUNCE: File removed.
37451 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
37452 * sysdeps/unix/sysv/linux/configure: Regenerated.
37453
37454 * nptl/Makefile (routines): Add libc_pthread_init,
37455 libc_multiple_threads, register-atfork and unregister-atfork.
37456 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
37457 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
37458 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
37459 pthread-pi-defines.sym, structsem.sym.
37460 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
37461 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
37462 [$(subdir) = nptl] (tests): Add tst-setgetname.
37463 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
37464 * sysdeps/unix/sysv/linux/sigaction.c: Just include
37465 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
37466 [!LIBC_SIGACTION]: Remove aliases.
37467 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
37468 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
37469 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
37470 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
37471 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
37472 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
37473 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37474 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37475 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
37476 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
37477 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
37478 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
37479 __libc_allocate_rtsig_private.
37480 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
37481 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
37482 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
37483 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
37484 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
37485 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
37486 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
37487 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
37488 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
37489 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
37490 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
37491 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
37492 * nptl/internaltypes.h: ... here.
37493 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
37494 * sysdeps/nptl/jmp-unwind.c: ... here.
37495 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
37496 * nptl/libc-lowlevellock.c: ... here.
37497 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
37498 * nptl/libc_multiple_threads.c: ... here.
37499 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
37500 * nptl/libc_pthread_init.c: ... here.
37501 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
37502 * nptl/lowlevelbarrier.sym: ... here.
37503 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
37504 * nptl/lowlevelcond.sym: ... here.
37505 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
37506 * nptl/lowlevellock.c: ... here.
37507 * nptl/lowlevellock.h: Moved ...
37508 * sysdeps/nptl/lowlevellock.h: ... here.
37509 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
37510 * nptl/lowlevelrobustlock.c: ... here.
37511 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
37512 * nptl/lowlevelrobustlock.sym: ... here.
37513 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
37514 * nptl/lowlevelrwlock.sym: ... here.
37515 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
37516 * nptl/pt-fork.c: ... here.
37517 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
37518 * nptl/pthread-pi-defines.sym: ... here.
37519 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
37520 * nptl/pthread_attr_getaffinity.c: ... here.
37521 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
37522 * nptl/pthread_attr_setaffinity.c: ... here.
37523 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
37524 * nptl/pthread_mutex_cond_lock.c: ... here.
37525 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37526 Update #include.
37527 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
37528 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
37529 * nptl/pthread_once.c: ... here, replacing old file.
37530 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
37531 * nptl/pthread_yield.c: ... here.
37532 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
37533 * nptl/register-atfork.c: ... here.
37534 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
37535 * nptl/sem_post.c: ... here.
37536 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
37537 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
37538 * nptl/sem_timedwait.c: ... here.
37539 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
37540 * nptl/sem_trywait.c: ... here.
37541 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
37542 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
37543 * nptl/sem_wait.c: ... here.
37544 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
37545 * nptl/structsem.sym: ... here.
37546 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
37547 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
37548 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
37549 * nptl/unregister-atfork.c: ... here.
37550 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
37551 * nptl/unwindbuf.sym: ... here.
37552 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
37553 * sysdeps/nptl/fork.c: ... here.
37554 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
37555 * sysdeps/nptl/fork.h: ... here.
37556 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
37557 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
37558 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
37559 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
37560 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
37561 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
37562 * sysdeps/unix/sysv/linux/getpid.c: ... here.
37563 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
37564 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
37565 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
37566 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
37567 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
37568 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
37569 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
37570 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
37571 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
37572 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
37573 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
37574 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
37575 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
37576 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
37577 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
37578 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
37579 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
37580 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
37581 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
37582 * sysdeps/unix/sysv/linux/raise.c: ... here.
37583 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
37584 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
37585 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
37586 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
37587 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
37588 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
37589 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
37590 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
37591 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
37592 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
37593 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
37594 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
37595 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
37596 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
37597 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
37598
37599 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37600
37601 * sysdeps/generic/memcopy.h: Add comment for
37602 MEMCPY_OK_FOR_FWD_MEMMOVE.
37603
37604 2014-07-04 Will Newton <will.newton@linaro.org>
37605
37606 * string/memchr.c: Merge from gnulib.
37607 [_LIBC]: Remove conditionals.
37608 (__ptr_t): Remove define.
37609 (LONG_MAX_32_BITS): Likewise.
37610 (LONG_MAX): Likewise.
37611 (MEMCHR): Use ANSI prototype and optimize algorithm.
37612
37613 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
37614
37615 2014-07-03 Roland McGrath <roland@hack.frob.com>
37616
37617 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
37618 (lll_futex_timed_wait_bitset): Fix syscall argument count.
37619
37620 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
37621 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
37622 in a bare environment with no <stdlib.h> installed.
37623 * sysdeps/nptl/configure: Regenerated.
37624
37625 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
37626
37627 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
37628 AC_EGREP_CPP for kernel header checks, so they only succeed if
37629 including <linux/version.h> actually works right.
37630 * sysdeps/unix/sysv/linux/configure: Regenerated.
37631
37632 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
37633 value so it's not diagnosed as unused.
37634
37635 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
37636 thing) with "ifeq ($(subdir),rt)".
37637
37638 2014-07-03 Richard Henderson <rth@redhat.com>
37639
37640 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
37641 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
37642 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
37643
37644 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
37645 (math_force_eval): New.
37646
37647 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
37648 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
37649
37650 * sysdeps/alpha/fpu/s_round.c: Remove file.
37651 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
37652
37653 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
37654 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
37655 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
37656 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
37657 (_dl_start, print_statistics): Likewise.
37658 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
37659 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
37660
37661 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37662 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37663 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37664 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37665 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37666 (HP_SMALL_TIMING_AVAIL): Define.
37667 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37668 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37669 (HP_SMALL_TIMING_AVAIL): Define.
37670 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37671 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37672
37673 * sysdeps/aarch64/hp-timing.h: New file.
37674
37675 * sysdeps/generic/hp-timing.h: Remove dead comment.
37676 * sysdeps/generic/hp-timing-common.h: New file.
37677 * sysdeps/alpha/hp-timing.h: Include it.
37678 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
37679 * sysdeps/i386/i686/hp-timing.h: Likewise.
37680 * sysdeps/ia64/hp-timing.h: Likewise.
37681 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37682 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37683 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37684 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37685 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
37686 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
37687 (hp_timing_t): New.
37688
37689 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
37690 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
37691 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
37692 * elf/rtld.c (_dl_start_final): Likewise.
37693 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
37694 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37695 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37696 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37697 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37698 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37699 (HP_TIMING_DIFF_INIT): Remove.
37700 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37701 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37702 (HP_TIMING_DIFF_INIT): Remove.
37703 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37704 * sysdeps/i386/i686/hp-timing.c: Remove file.
37705 * sysdeps/x86_64/hp-timing.c: Remove file.
37706 * sysdeps/ia64/hp-timing.c: Remove file.
37707 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
37708 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
37709 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
37710 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
37711
37712 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
37713 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
37714 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
37715 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37716 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37717 (HP_TIMING_ACCUM): Remove.
37718 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37719 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
37720 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37721
37722 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
37723 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
37724 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
37725 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
37726 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
37727 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37728 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
37729 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37730
37731 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
37732
37733 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
37734
37735 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
37736
37737 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37738
37739 Sync up with gettext.
37740 * intl/loadmsgcat.c: Define O_BINARY if not defined.
37741 [_MSC_VER]: Include malloc.h
37742 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
37743 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
37744 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
37745 TEMP_FAILURE_RETRY. Cast return of alloca.
37746 [!_LIBC] Call gl_rwlock_init.
37747 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
37748
37749 2014-07-02 Roland McGrath <roland@hack.frob.com>
37750
37751 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
37752 before checking its value.
37753
37754 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37755
37756 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
37757
37758 * debug/memcpy_chk.c: Don't include pagecopy.h.
37759 * debug/mempcpy_chk.c: Likewise.
37760 * string/memcpy.c: Likewise.
37761 * string/memmove.c: Likewise.
37762 * sysdeps/powerpc/memmove.c: Likewise.
37763 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
37764 definition of PAGE_COPY_FWD_MAYBE here...
37765 * sysdeps/generic/pagecopy.h: ... from here.
37766 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
37767
37768 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
37769 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37770
37771 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
37772 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
37773 optimizations.
37774 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37775 (__libc_ifunc_impl_list): Likewise.
37776 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
37777 multiarch strcat for PPC64.
37778 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
37779 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
37780
37781 2014-07-02 Roland McGrath <roland@hack.frob.com>
37782
37783 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
37784
37785 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37786
37787 * intl/loadmsgcat.c: Remove declaration of
37788 get_sysdep_segment_value.
37789 (get_sysdep_segment_value): Use ISO C style.
37790 (_nl_load_domain): Use ISO C style. Get rid of redundant
37791 semicolon. Fix typo and formatting in comment.
37792 (_nl_unload_domain): Use ISO C style.
37793
37794 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
37795
37796 2014-07-02 Will Newton <will.newton@linaro.org>
37797
37798 * malloc/obstack.c: Merge from gnulib master.
37799 [HAVE_CONFIG_H]: Remove conditional code.
37800 [!_LIBC]: Include config.h.
37801 [!ELIDE_CODE]: Don't include inttypes.h, include
37802 stdint.h unconditionally.
37803 (print_and_abort): Mark as _Noreturn.
37804 (_obstack_allocated_p): Mark as __attribute_pure__.
37805 (obstack_free): Rename to __obstack_free.
37806 [!__attribute__]: Remove conditional code.
37807 * malloc/obstack.h: Merge from gnulib master.
37808 [__cplusplus]: Move conditional down.
37809 [!__attribute_pure__]: Define __attribute_pure__ here
37810 if it is not already defined.
37811 (_obstack_memory_used): Mark as __attribute_pure__.
37812 [!__obstack_free]: Define as obstack_free.
37813 [__GNUC__]: Remove check for ancient NeXT gcc.
37814
37815 2014-07-02 Will Newton <will.newton@linaro.org>
37816 Paul Eggert <eggert@cs.ucla.edu>
37817
37818 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
37819
37820 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37821
37822 * resolv/gethnamaddr.c: Add comment warning that the file is
37823 not maintained.
37824
37825 2014-07-01 Carlos O'Donell <carlos@redhat.com>
37826
37827 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
37828 entries.
37829
37830 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
37831 entry for aio_cancel and aio_cancel64.
37832 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
37833 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
37834 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
37835 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
37836 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
37837 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
37838 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
37839 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
37840 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
37841 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
37842 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
37843 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
37844 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
37845
37846 2014-07-01 Roland McGrath <roland@hack.frob.com>
37847
37848 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
37849 * nptl/pthread_mutex_lock.c: Likewise.
37850 * nptl/pthread_mutex_timedlock.c: Likewise.
37851 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
37852
37853 2014-07-01 Richard henderson <rth@redhat.com>
37854
37855 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
37856 (__isnan, __isnanl): Remove.
37857 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
37858
37859 * sysdeps/alpha/fpu/libm-test-ulps: Update.
37860
37861 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
37862
37863 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37864
37865 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
37866
37867 * resolv/nss_dns/dns-host.c (getanswer_r)
37868 [MULTI_PTRS_ARE_ALIASES]: Remove code.
37869
37870 2014-07-01 Joseph Myers <joseph@codesourcery.com>
37871
37872 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37873 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
37874 undefine.
37875 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
37876 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
37877
37878 2014-07-01 Roland McGrath <roland@hack.frob.com>
37879
37880 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
37881 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
37882
37883 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
37884 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
37885
37886 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
37887 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
37888 ... here.
37889 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
37890 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
37891
37892 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
37893 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
37894 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
37895 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
37896
37897 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
37898 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
37899 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
37900 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
37901 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
37902 Moved ...
37903 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
37904 ... here.
37905 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
37906 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
37907 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
37908 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
37909 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
37910 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
37911 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
37912 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
37913 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
37914 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
37915 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
37916 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
37917 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
37918 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
37919 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
37920 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
37921 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
37922 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
37923 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
37924 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
37925 ... here.
37926 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
37927 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
37928 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
37929 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
37930 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
37931 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
37932 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
37933 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
37934
37935 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
37936
37937 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
37938 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
37939 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
37940 Add sysdep.
37941
37942 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37943
37944 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37945
37946 2014-06-30 Joseph Myers <joseph@codesourcery.com>
37947
37948 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
37949 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37950
37951 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37952
37953 * sysdeps/arm/libm-test-ulps: Regenerated.
37954
37955 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
37956 Roland McGrath <roland@hack.frob.com>
37957
37958 * test-skeleton.c (signal_handler): Kill the whole process group
37959 before killing the child individually.
37960 (main): Report any failure on `setpgid'.
37961
37962 2014-06-30 Roland McGrath <roland@hack.frob.com>
37963
37964 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
37965 from _TLS_H to _ARM_NPTL_TLS_H.
37966 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
37967 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
37968
37969 2014-06-30 Joseph Myers <joseph@codesourcery.com>
37970
37971 [BZ #16539]
37972 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
37973 (__expm1l): Return argument unchanged when small but not
37974 subnormal.
37975
37976 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
37977 include macro name.
37978 (_FP_UNPACK_RAW_1_P): Likewise.
37979 (_FP_PACK_RAW_1): Likewise.
37980 (_FP_PACK_RAW_1_P): Likewise.
37981 (_FP_MUL_MEAT_1_wide): Likewise.
37982 (_FP_MUL_MEAT_DW_1_hard): Likewise.
37983 (_FP_MUL_MEAT_1_hard): Likewise.
37984 (_FP_DIV_MEAT_1_imm): Likewise.
37985 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
37986 (_FP_DIV_MEAT_1_udiv): Likewise.
37987 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
37988 (_FP_UNPACK_RAW_2): Likewise.
37989 (_FP_UNPACK_RAW_2_P): Likewise.
37990 (_FP_PACK_RAW_2): Likewise.
37991 (_FP_PACK_RAW_2_P): Likewise.
37992 (_FP_MUL_MEAT_DW_2_wide): Likewise.
37993 (_FP_MUL_MEAT_2_wide): Likewise.
37994 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
37995 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
37996 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
37997 (_FP_MUL_MEAT_2_gmp): Likewise.
37998 (_FP_DIV_MEAT_2_udiv): Likewise.
37999 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
38000 (_FP_FRAC_SRL_4): Likewise.
38001 (_FP_FRAC_SRST_4): Likewise.
38002 (_FP_FRAC_SRS_4): Likewise.
38003 (_FP_UNPACK_RAW_4): Likewise.
38004 (_FP_UNPACK_RAW_4_P): Likewise.
38005 (_FP_PACK_RAW_4): Likewise.
38006 (_FP_PACK_RAW_4_P): Likewise.
38007 (_FP_MUL_MEAT_DW_4_wide): Likewise.
38008 (_FP_MUL_MEAT_4_wide): Likewise.
38009 (_FP_MUL_MEAT_4_gmp): Likewise.
38010 (umul_ppppmnnn): Likewise.
38011 (_FP_DIV_MEAT_4_udiv): Likewise.
38012 (__FP_FRAC_ADD_4): Likewise.
38013 (__FP_FRAC_SUB_3): Likewise.
38014 (__FP_FRAC_SUB_4): Likewise.
38015 (__FP_FRAC_DEC_3): Likewise.
38016 (__FP_FRAC_DEC_4): Likewise.
38017 (__FP_FRAC_ADDI_4): Likewise.
38018 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
38019 (_FP_FRAC_SRL_8): Likewise.
38020 (_FP_FRAC_SRS_8): Likewise.
38021
38022 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
38023 include macro name.
38024 (FP_UNPACK_RAW_EP): Likewise.
38025 (FP_PACK_RAW_E): Likewise.
38026 (FP_PACK_RAW_EP): Likewise.
38027 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
38028 (_FP_ISSIGNAN): Likewise.
38029 (_FP_ADD_INTERNAL): Likewise.
38030 (_FP_FMA): Likewise.
38031 (_FP_CMP): Likewise.
38032 (_FP_SQRT): Likewise.
38033 (_FP_TO_INT): Likewise.
38034 (_FP_FROM_INT): Likewise.
38035 (FP_EXTEND): Likewise.
38036 (_FP_DIV_MEAT_N_loop): Likewise.
38037
38038 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
38039
38040 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
38041 throughout.
38042
38043 2014-06-29 Joseph Myers <joseph@codesourcery.com>
38044
38045 [BZ #17097]
38046 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
38047 result with correct sign in case of exponents that produce
38048 overflow except for X very close to 1.
38049
38050 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
38051
38052 mktime: merge #if/#ifdef usage from glibc
38053 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
38054 as that works with both Glibc's and Gnulib's style.
38055 See thread starting at Siddhesh Poyarekar's bug report at:
38056 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
38057
38058 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38059
38060 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
38061 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
38062 * sysdeps/tile/tilegx/memmove.c: Remove file.
38063
38064 2014-06-27 Joseph Myers <joseph@codesourcery.com>
38065
38066 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
38067 abi-name definition.
38068 * scripts/soversions.awk: Do not handle or generate ABI lines.
38069 * shlib-versions: Remove ABI entries.
38070 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
38071 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
38072
38073 2014-06-27 Roland McGrath <roland@hack.frob.com>
38074
38075 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
38076 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
38077 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
38078 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
38079 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
38080 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
38081 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
38082 Moved ...
38083 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
38084 ... here.
38085 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
38086 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
38087 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
38088 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
38089 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
38090 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
38091 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
38092 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
38093 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
38094 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
38095 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
38096 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
38097 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
38098 Moved ...
38099 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
38100 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
38101 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
38102 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
38103 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
38104 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
38105 Moved ...
38106 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
38107 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
38108 Moved ...
38109 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
38110 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
38111 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
38112 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
38113 Moved ...
38114 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
38115 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
38116 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
38117 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
38118 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
38119 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
38120 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
38121 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
38122 Moved ...
38123 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
38124 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
38125 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
38126 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
38127 Moved ...
38128 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
38129 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
38130 Moved ...
38131 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
38132 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
38133 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
38134 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
38135 Moved ...
38136 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
38137 ... here.
38138 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
38139 Identical file removed.
38140 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
38141 Moved ...
38142 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
38143 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
38144 Identical file removed.
38145 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
38146 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
38147 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
38148 Moved ...
38149 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
38150 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
38151 Identical file removed.
38152 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
38153 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
38154 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
38155 Identical file removed.
38156 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
38157 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
38158 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
38159 Identical file removed.
38160 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
38161 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
38162 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
38163 Identical file removed.
38164 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
38165 Moved ...
38166 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
38167 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
38168 Identical file removed.
38169 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
38170 Moved ...
38171 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
38172 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
38173 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
38174 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
38175 Identical file removed.
38176 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
38177 Moved ...
38178 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
38179 ... here.
38180 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
38181 Identical file removed.
38182 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
38183 Moved ...
38184 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
38185 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
38186 Identical file removed.
38187 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
38188 Moved ...
38189 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
38190 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
38191 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
38192 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
38193 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
38194 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
38195 Moved ...
38196 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
38197 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
38198 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
38199
38200 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
38201 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
38202 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
38203 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
38204 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
38205
38206 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
38207
38208 [BZ #17092]
38209 * nscd/nscd.c (monitor_child): Return exit status of child
38210 instead of return value from wait syscall.
38211
38212 2014-06-27 Joseph Myers <joseph@codesourcery.com>
38213
38214 * configure.ac (libc_commonpagesize): Remove variable.
38215 (libc_relro_required): Likewise.
38216 (libc_cv_z_relro): Remove configure test.
38217 * configure: Regenerated.
38218 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
38219 variable.
38220 (libc_relro_required): Likewise.
38221 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
38222 (libc_relro_required): Likewise.
38223 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
38224 (libc_relro_required): Likewise.
38225 * sysdeps/arm/preconfigure: Regenerated.
38226 * sysdeps/ia64/preconfigure: Remove file.
38227 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
38228 variable.
38229 (libc_relro_required): Likewise.
38230
38231 [BZ #16561]
38232 [BZ #16562]
38233 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
38234 (__ieee754_yn): Set FE_TONEAREST mode internally and then
38235 recompute overflowing results in original rounding mode.
38236 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
38237 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
38238 recompute overflowing results in original rounding mode.
38239 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
38240 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
38241 recompute overflowing results in original rounding mode.
38242 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
38243 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
38244 recompute overflowing results in original rounding mode.
38245 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
38246 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
38247 recompute overflowing results in original rounding mode.
38248 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
38249 (libc_feholdsetround_ctx): New macro.
38250 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
38251 * sysdeps/i386/fpu/libm-test-ulps: Update.
38252 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
38253
38254 2014-06-26 Joseph Myers <joseph@codesourcery.com>
38255
38256 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
38257 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
38258 corresponding .cpsetup call.
38259
38260 2014-06-26 Roland McGrath <roland@hack.frob.com>
38261
38262 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
38263 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
38264 * sysdeps/arm/Makefile [$(subdir) = csu]
38265 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
38266 (static-only-routines): Add aeabi_read_tp here.
38267 (shared-only-routines): Add libc-aeabi_read_tp here.
38268 (CFLAGS-libc-start.c): Add -fexceptions here.
38269 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
38270 (sysdep_routines, static-only-routines, shared-only-routines):
38271 Don't add to these here.
38272 (CFLAGS-libc-start.c): Likewise.
38273
38274 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
38275 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
38276 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
38277 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
38278 * sysdeps/arm/Makefile [$(subdir) = rt]
38279 (librt-sysdep_routines, librt-shared-only-routines):
38280 Append rt-aeabi_unwind_cpp_pr1 here.
38281 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
38282 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
38283 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
38284 (libpthread-sysdep_routines, libpthread-shared-only-routines):
38285 Append nptl-aeabi_unwind_cpp_pr1 here.
38286 (tests): Filter out tst-cleanupx4 here.
38287 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
38288 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
38289 Don't do those here.
38290
38291 2014-06-26 Joseph Myers <joseph@codesourcery.com>
38292
38293 * scripts/list-sources.sh: Do not handle ports specially.
38294
38295 2014-06-26 Roland McGrath <roland@hack.frob.com>
38296
38297 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
38298 * sysdeps/arm/feupdateenv.c: Likewise.
38299
38300 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
38301
38302 2014-06-26 Joseph Myers <joseph@codesourcery.com>
38303
38304 * manual/texinfo.tex: Update to version 2014-05-05.10 with
38305 trailing whitespace removed.
38306 * scripts/config.guess: Update to version 2014-03-23.
38307 * scripts/config.sub: Update to version 2014-05-01
38308 * scripts/install-sh: Update to version 2013-12-25.23.
38309 * scripts/move-if-change: Update from gnulib.
38310
38311 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38312
38313 * debug/memmove_chk.c: Remove pagecopy.h include.
38314
38315 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
38316
38317 * time/mktime.c (leapyear): Remove inline keyword. The code is now
38318 identical to gnulib mktime.
38319
38320 2014-06-26 Joseph Myers <joseph@codesourcery.com>
38321
38322 * configure.ac: Do not test for machine being rs6000. Do not test
38323 for powerpc*-*soft.
38324 * configure: Regenerated.
38325
38326 [BZ #11505]
38327 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
38328 test.
38329 * configure: Regenerated.
38330 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
38331 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
38332 Remove configure test.
38333 * sysdeps/arm/configure: Regenerated.
38334 * sysdeps/nptl/configure.ac: Do not check
38335 libc_cv_asm_cfi_directives.
38336 * sysdeps/nptl/configure: Regenerated.
38337 * sysdeps/x86_64/nptl/configure.ac: Remove file.
38338 * sysdeps/x86_64/nptl/configure: Remove generated file.
38339 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
38340 unconditional.
38341 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
38342
38343 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38344
38345 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
38346 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
38347 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
38348 it is defined.
38349
38350 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
38351 instead of whether it is defined.
38352 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
38353 * sysdeps/hppa/dl-machine.h: Likewise.
38354 * sysdeps/ia64/dl-machine.h: Likewise.
38355 * sysdeps/m68k/dl-machine.h: Likewise.
38356 * sysdeps/microblaze/dl-machine.h: Likewise.
38357 * sysdeps/mips/dl-machine.: Likewise.
38358 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38359 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38360 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38361 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38362 * sysdeps/sh/dl-machine.h: Likewise.
38363 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38364 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38365 * sysdeps/tile/dl-machine.h: Likewise.
38366 * sysdeps/x86_64/dl-machine.h: Likewise.
38367
38368 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
38369 code.
38370 (verify_persistent_db): Likewise.
38371
38372 2014-06-26 Roland McGrath <roland@hack.frob.com>
38373
38374 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
38375 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
38376 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
38377 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
38378 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38379 Moved ...
38380 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
38381 ... here.
38382 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
38383 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
38384 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
38385 Identical file removed.
38386 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
38387 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
38388 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
38389 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
38390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
38391 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
38392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
38393 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
38394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
38395 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
38396 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38397 Moved ...
38398 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
38399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
38400 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
38401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
38402 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
38403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38404 Moved ...
38405 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
38406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
38407 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
38408 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
38409 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
38410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38411 Identical file removed.
38412 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
38413 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
38414 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
38415 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
38416 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38417 Moved ...
38418 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
38419 ... here.
38420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
38421 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
38422 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
38423 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
38424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
38425 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
38426 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
38427 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
38428 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
38429 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
38430 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38431 Moved ...
38432 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
38433 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
38434 Moved ...
38435 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
38436 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
38437 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
38438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38439 Moved ...
38440 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
38441 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
38442 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
38443
38444 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
38445 folded into ...
38446 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
38447 * sysdeps/unix/sysv/linux/s390/Versions
38448 (libpthread: GLIBC_2.19): New version set.
38449 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
38450 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
38451 (librt: GLIBC_2.3.3): New version set.
38452 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
38453 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
38454 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
38455 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
38456 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
38457 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
38458 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
38459 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
38460 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
38461 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
38462 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
38463 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
38464 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
38465 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
38466 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
38467 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
38468 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
38469 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
38470 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
38471 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
38472 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
38473 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
38474 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
38475 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
38476 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
38477 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
38478 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
38479 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
38480 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
38481 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
38482 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
38483 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
38484 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
38485 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
38486 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
38487 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
38488 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
38489 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
38490 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
38491 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
38492 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
38493 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
38494 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
38495 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
38496 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
38497
38498 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
38499 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
38500 (__libc_vfork): Define the function under this name.
38501 [!NOT_IN_libc] (__vfork): Make this an alias.
38502 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38503 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
38504 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
38505 (__libc_vfork): Define the function under this name.
38506 [!NOT_IN_libc] (__vfork): Make this an alias.
38507 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38508 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
38509 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
38510 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
38511 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
38512 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38513
38514 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
38515 code that was previously under [RESET_PID].
38516 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
38517 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
38518 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
38519
38520 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
38521 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
38522 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
38523 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
38524 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
38525 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
38526 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
38527 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
38528 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
38529 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
38530 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
38531 Moved ...
38532 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
38533 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
38534 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
38535 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
38536 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
38537 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
38538 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
38539 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
38540 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
38541 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
38542 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
38543 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
38544 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
38545 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
38546 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
38547 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
38548 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
38549 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
38550 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
38551 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
38552 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
38553 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
38554 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
38555 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
38556 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
38557 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
38558 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
38559 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
38560 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
38561
38562 2014-06-25 Roland McGrath <roland@hack.frob.com>
38563
38564 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
38565 that was previously under [RESET_PID].
38566 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
38567
38568 2014-06-25 Joseph Myers <joseph@codesourcery.com>
38569
38570 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
38571 not undefine and redefine.
38572 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
38573 [O_CLOEXEC]: Make code unconditional.
38574 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
38575 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
38576 <kernel-features.h>.
38577 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
38578 conditional variable definition.
38579 (shm_open) [O_CLOEXEC]: Make code unconditional.
38580 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
38581 code.
38582
38583 * configure.ac (USE_REGPARMS): Don't define here.
38584 * configure: Regenerated.
38585 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
38586 * sysdeps/i386/configure: Regenerated.
38587
38588 * nptl/createthread.c: Don't include kernel-features.h.
38589 * nptl/pthread_cancel.c: Likewise.
38590 * nptl/pthread_condattr_setclock.c: Likewise.
38591 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
38592 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
38593 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
38594 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
38595 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
38596 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
38597 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
38598 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
38599 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
38600 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
38601 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
38602 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
38603 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
38604 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
38605 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
38606 * nscd/gai.c: Likewise.
38607 * nss/nss_db/db-open.c: Likewise.
38608 * sysdeps/generic/ldsodefs.h: Likewise.
38609 * sysdeps/sh/nptl/tls.h: Likewise.
38610 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
38611 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
38612 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
38613 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
38614 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
38615 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
38616 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
38617 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38618 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38619 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38620 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38621 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38622 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
38623 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
38624 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
38625 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
38626 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
38627 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
38628 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
38629 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
38630 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
38631 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
38632 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
38633 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
38634 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
38635 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
38636 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
38637 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
38638 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
38639 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
38640 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
38641 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
38642 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
38643 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38644 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38645 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
38646 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38647 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
38648 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
38649 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
38650 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38651 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
38652 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
38653 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38654 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
38655 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
38656 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
38657 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
38658 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
38659 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
38660 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
38661 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
38662 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
38663 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
38664 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
38665 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
38666 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38667 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
38668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
38669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
38670 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
38671 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
38672 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
38673 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
38674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
38675 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
38676 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
38677 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
38678 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
38679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
38680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
38681 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
38682 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38683 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38684 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38685 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38686 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38687 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
38688 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
38689 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
38690 * sysdeps/unix/sysv/linux/pread.c: Likewise.
38691 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
38692 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
38693 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
38694 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
38695 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
38696 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
38697 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
38698 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
38699 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
38700 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
38701 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
38702 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
38703 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
38704 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
38705 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
38706 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38707 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
38708 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
38709 * sysdeps/unix/sysv/linux/system.c: Likewise.
38710 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
38711 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38712 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38713 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38714 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38715 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
38716 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38717
38718 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
38719 * configure: Regenerated.
38720 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
38721
38722 * configure.ac (base_machine): Do not set specially for particular
38723 machines here.
38724 * configure: Regenerated.
38725 * sysdeps/powerpc/preconfigure: Move machine and base_machine
38726 settings from configure.ac.
38727 * sysdeps/i386/preconfigure: New file.
38728 * sysdeps/s390/preconfigure: Likewise.
38729 * sysdeps/sh/preconfigure: Likewise.
38730 * sysdeps/sparc/preconfigure: Likewise.
38731
38732 2014-06-25 Roland McGrath <roland@hack.frob.com>
38733
38734 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
38735 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
38736 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
38737 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
38738 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
38739 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
38740 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
38741 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
38742 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
38743 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
38744 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
38745 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
38746 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
38747 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
38748 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
38749 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
38750 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
38751 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
38752 * sysdeps/sparc/sparc64/Makefile: ... appended here.
38753
38754 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
38755 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
38756 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
38757 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
38758 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
38759 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
38760 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
38761 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
38762 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
38763 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
38764 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
38765 * sysdeps/sparc/sparc32/sem_post.c: ... here.
38766 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
38767 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
38768 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
38769 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
38770 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
38771 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
38772 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
38773 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
38774 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
38775 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
38776 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
38777 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
38778 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
38779 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
38780 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
38781 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
38782 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
38783 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
38784 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
38785 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
38786 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
38787 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
38788 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
38789 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
38790 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
38791 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
38792
38793 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
38794 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
38795 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
38796 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
38797 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38798 Moved ...
38799 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
38800 ... here.
38801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
38802 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
38803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
38804 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
38805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
38806 Moved ...
38807 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
38808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
38809 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
38810 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
38811 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
38812 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
38813 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
38814 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38815 Moved ...
38816 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
38817 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38818 Moved ...
38819 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
38820 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
38821 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
38822 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38823 Moved ...
38824 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
38825 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
38826 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
38827 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
38828 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
38829 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
38830 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
38831 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
38832 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
38833 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38834 Moved ...
38835 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
38836 ... here.
38837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
38838 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
38839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
38840 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
38841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
38842 Moved ...
38843 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
38844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
38845 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
38846 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
38847 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
38848 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
38849 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
38850 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38851 Moved ...
38852 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
38853 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38854 Moved ...
38855 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
38856 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
38857 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
38858 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38859 Moved ...
38860 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
38861 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
38862 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
38863 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
38864 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
38865
38866 2014-06-25 Joseph Myers <joseph@codesourcery.com>
38867
38868 * timezone/checktab.awk: Update from tzcode 2014e.
38869 * timezone/private.h: Likewise.
38870 * timezone/tzfile.h: Likewise.
38871 * timezone/zdump.c: Likewise.
38872 * timezone/zic.c: Likewise.
38873
38874 * sysdeps/unix/sysv/linux/kernel-features.h
38875 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
38876 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
38877 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
38878 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38879 Remove conditional code.
38880
38881 2014-06-25 Will Newton <will.newton@linaro.org>
38882
38883 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
38884 (_dl_arm_cap_flags): Add HWCAP2 values.
38885 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
38886 (_DL_HWCAP_COUNT): Increase to 37.
38887 (_DL_HWCAP_LAST): New define.
38888 (_DL_HWCAP2_LAST): New define.
38889 (_dl_procinfo): Add support for printing
38890 AT_HWCAP2 entries.
38891 (_dl_string_hwcap): Use _dl_hwcap_string.
38892
38893 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38894
38895 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38896
38897 2014-06-25 Joseph Myers <joseph@codesourcery.com>
38898
38899 * README: Do not mention ports directory.
38900
38901 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
38902 Remove macro.
38903 * sysdeps/unix/sysv/linux/futimes.c: Do not include
38904 <kernel-features.h>.
38905 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
38906 conditional variable definition.
38907 (__futimes): Update comment.
38908 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
38909 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
38910
38911 [BZ #16560]
38912 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
38913 arguments close to 0.
38914 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
38915 Likewise.
38916 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
38917 Likewise.
38918 * math/auto-libm-test-in: Add more tests of exp10.
38919 * math/auto-libm-test-out: Regenerated.
38920 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38921
38922 * sysdeps/unix/sysv/linux/kernel-features.h
38923 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
38924 * sysdeps/unix/sysv/linux/readv.c: Do not include
38925 <kernel-features.h>.
38926 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38927 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38928 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38929 unconditional.
38930 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38931 conditional code.
38932 * sysdeps/unix/sysv/linux/writev.c: Do not include
38933 <kernel-features.h>.
38934 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38935 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38936 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38937 unconditional.
38938 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38939 conditional code.
38940
38941 2014-06-25 Will Newton <will.newton@linaro.org>
38942
38943 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
38944 comment changes throughout the file. Remove checks
38945 for HAVE_*_H definitions that are not required.
38946 (__gen_tempname): Call abort if an unknown kind value is
38947 passed.
38948
38949 2014-06-25 Andreas Schwab <schwab@suse.de>
38950
38951 [BZ #17086]
38952 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
38953 scalbln, scalblnf, scalblnl in libc.
38954
38955 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38956
38957 [BZ #17086]
38958 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
38959 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38960 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38961
38962 2014-06-24 Roland McGrath <roland@hack.frob.com>
38963
38964 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
38965 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
38966 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
38967 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
38968 Update #include.
38969 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
38970 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
38971 Update #include.
38972 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
38973 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
38974 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
38975 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
38976 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
38977 * sysdeps/x86/bits/pthreadtypes.h: ... here.
38978 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
38979 * sysdeps/x86/bits/semaphore.h: ... here.
38980 * sysdeps/x86/nptl/elide.h: Moved ...
38981 * sysdeps/x86/elide.h: ... here.
38982 * sysdeps/x86_64/nptl/Implies: File removed.
38983 * sysdeps/i386/nptl/Implies: File removed.
38984
38985 2014-06-24 Joseph Myers <joseph@codesourcery.com>
38986
38987 [BZ #16539]
38988 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
38989 return the argument for normal arguments with exponent below -64.
38990 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38991 Likewise.
38992 * math/auto-libm-test-in: Add another test of expm1.
38993 * math/auto-libm-test-out: Regenerated.
38994
38995 [BZ #16287]
38996 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
38997 calling __erfcl for arguments at least 16.
38998 * math/auto-libm-test-in: Add more tests of erf.
38999 * math/auto-libm-test-out: Regenerated.
39000
39001 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
39002 individual architectures.
39003 * sysdeps/unix/sysv/linux/configure: Regenerated.
39004 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
39005 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
39006 * sysdeps/unix/sysv/linux/powerpc/configure.ac
39007 (ldd_rewrite_script): Define variable.
39008 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
39009 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
39010 file.
39011 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
39012 generated file.
39013 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
39014 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
39015 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
39016 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
39017 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
39018 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
39019 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
39020 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
39021
39022 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39023
39024 [BZ #17084]
39025 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
39026 Rename member __data.d to __data.__elision_data.
39027
39028 2014-06-24 Wilco <wdijkstr@arm.com>
39029
39030 * NEWS: Add 16918 to fixed bug list.
39031
39032 2014-06-24 Wilco <wdijkstr@arm.com>
39033
39034 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
39035
39036 2014-06-24 Wilco <wdijkstr@arm.com>
39037
39038 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
39039 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
39040 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
39041 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
39042 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
39043 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
39044 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
39045 Use _FPU_MASK_RM.
39046
39047 2014-06-24 Wilco <wdijkstr@arm.com>
39048
39049 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
39050
39051 2014-06-24 Wilco <wdijkstr@arm.com>
39052
39053 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
39054 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
39055 * sysdeps/arm/fesetround.c (fesetround): Remove space.
39056 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
39057
39058 2014-06-24 Wilco <wdijkstr@arm.com>
39059
39060 [BZ #16918]
39061 * sysdeps/arm/feupdateenv.c (feupdateenv):
39062 Rewrite to reduce FPSCR accesses and fix return value.
39063
39064 2014-06-24 Wilco <wdijkstr@arm.com>
39065
39066 * sysdeps/arm/fclrexcpt.c (feclearexcept):
39067 Optimize to avoid unnecessary FPSCR writes.
39068 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
39069 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
39070 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
39071 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
39072
39073 2014-06-24 Wilco <wdijkstr@arm.com>
39074
39075 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
39076 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
39077 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
39078 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
39079 Call libc_fetestexcept_vfp.
39080 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
39081 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
39082 __SOFTFP__ ifdef so that they can be built for softfp.
39083
39084 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39085
39086 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
39087 argument type signed char.
39088
39089 * Makerules (check-abi): Dump diff of symlist if the test
39090 fails.
39091
39092 2014-06-23 Roland McGrath <roland@hack.frob.com>
39093
39094 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
39095 using abort.
39096
39097 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
39098 Remove unused variable ST.
39099
39100 2014-06-23 Joseph Myers <joseph@codesourcery.com>
39101
39102 [BZ #16354]
39103 [BZ #17061]
39104 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
39105 small arguments before calling __expm1.
39106 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
39107 small arguments before calling __expm1f.
39108 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
39109 small arguments before calling __expm1l.
39110 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39111 Likewise.
39112 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
39113 * math/auto-libm-test-in: Add more cosh tests. Do not allow
39114 spurious underflow for some cosh tests.
39115 * math/auto-libm-test-out: Regenerated.
39116 * sysdeps/i386/fpu/libm-test-ulps: Update.
39117
39118 [BZ #17050]
39119 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
39120 (__ieee754_y1): Set errno if return value overflows.
39121 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
39122 (__ieee754_y1f): Set errno if return value overflows.
39123 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
39124 (__ieee754_y1l): Set errno if return value overflows.
39125 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
39126 (__ieee754_y1l): Set errno if return value overflows.
39127 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
39128 * math/auto-libm-test-out: Regenerated.
39129
39130 * math/gen-auto-libm-tests.c: Document use of
39131 ignore-zero-inf-sign.
39132 (input_flag_type): Add value flag_ignore_zero_inf_sign.
39133 (input_flags): Add ignore-zero-inf-sign.
39134 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
39135 * math/gen-libm-test.pl (generate_testfile): Handle
39136 ignore-zero-inf-sign.
39137 * math/auto-libm-test-in: Mark some cpow tests with
39138 ignore-zero-inf-sign and some with xfail-rounding.
39139 * math/auto-libm-test-out: Regenerated.
39140 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
39141 * sysdeps/i386/fpu/libm-test-ulps: Update.
39142 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39143
39144 [BZ #16315]
39145 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
39146 overflowing or underflowing operations take place with sign of
39147 result.
39148 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39149 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
39150 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
39151 (__ieee754_pow): Recompute overflowing and underflowing results in
39152 original rounding mode.
39153 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
39154 (__powl_helper): Allow negative argument X and scale negated value
39155 as needed. Avoid passing value outside [-1, 1] to f2xm1.
39156 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
39157 overflowing or underflowing operations take place with sign of
39158 result.
39159 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
39160 Include <math.h>.
39161 * math/auto-libm-test-in: Add more tests of pow.
39162 * math/auto-libm-test-out: Regenerated.
39163 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
39164 (pow_tonearest_test_data): Remove.
39165 (pow_test_tonearest): Likewise.
39166 (pow_towardzero_test_data): Likewise.
39167 (pow_test_towardzero): Likewise.
39168 (pow_downward_test_data): Likewise.
39169 (pow_test_downward): Likewise.
39170 (pow_upward_test_data): Likewise.
39171 (pow_test_upward): Likewise.
39172 (main): Don't call removed functions.
39173 * sysdeps/i386/fpu/libm-test-ulps: Update.
39174 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39175
39176 2014-06-23 Roland McGrath <roland@hack.frob.com>
39177
39178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
39179 Moved ...
39180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
39181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39182 Moved ...
39183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
39184 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39185 Moved ...
39186 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
39187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39188 Moved ...
39189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
39190 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39191 File removed.
39192 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39193 File removed.
39194 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
39195 File removed.
39196 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
39197 File removed.
39198 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
39199 File removed.
39200 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
39201 File removed.
39202 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
39203 File removed.
39204 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39205 File removed.
39206 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
39207 File removed.
39208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39209 File removed.
39210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
39211 File removed.
39212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
39213 File removed.
39214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
39215 Moved ...
39216 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
39217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
39218 Moved ...
39219 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
39220 ... here.
39221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
39222 Moved ...
39223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
39224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
39225 Moved ...
39226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
39227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
39228 Moved ...
39229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
39230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
39231 Moved ...
39232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
39233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
39234 Moved ...
39235 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
39236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
39237 Moved ...
39238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
39239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
39240 Moved ...
39241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
39242 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
39243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
39244 ... here.
39245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
39246 Moved ...
39247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
39248 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
39249 Moved ...
39250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
39251 ... here.
39252 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
39253 Moved ...
39254 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
39255 ... here.
39256 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39257 Moved ...
39258 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
39259 ... here.
39260 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39261 Moved ...
39262 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
39263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
39264 Moved ...
39265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
39266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
39267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
39268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
39269 Moved ...
39270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
39271 ... here.
39272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39273 Moved ...
39274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
39275 ... here.
39276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
39277 Moved ...
39278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
39279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39280 Moved ...
39281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
39282 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
39283 Moved ...
39284 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
39285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39286 Moved ...
39287 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
39288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
39289 Moved ...
39290 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
39291 ... here.
39292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39293 Moved ...
39294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
39295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39296 Moved ...
39297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
39298 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39299 Moved ...
39300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
39301 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39302 Moved ...
39303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
39304 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
39305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
39306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39307 Moved ...
39308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
39309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39310 Moved ...
39311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
39312 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39313 Moved ...
39314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
39315 ... here.
39316 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39317 Moved ...
39318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
39319 ... here.
39320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39321 Moved ...
39322 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
39323 ... here.
39324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39325 Moved ...
39326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
39327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39328 Moved ...
39329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
39330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39331 Moved ...
39332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
39333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39334 Moved ...
39335 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
39336 ... here.
39337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39338 Moved ...
39339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
39340 ... here.
39341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39342 Moved ...
39343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
39344 ... here.
39345 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39346 Moved ...
39347 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
39348 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39349 Moved ...
39350 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
39351
39352 2014-06-23 Will Newton <will.newton@linaro.org>
39353 Wilco <wdijkstr@arm.com>
39354
39355 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
39356 implementation. Include get-rounding-mode.h.
39357 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
39358 [!libc_feholdsetround_noex_ctx]: Define
39359 libc_feholdsetround_noex_ctx.
39360 [!libc_feholdsetround_noexf_ctx]: Define
39361 libc_feholdsetround_noexf_ctx.
39362 [!libc_feholdsetround_noexl_ctx]: Define
39363 libc_feholdsetround_noexl_ctx.
39364 (libc_feholdsetround_ctx): New function.
39365 (libc_feresetround_ctx): New function.
39366 (libc_feholdsetround_noex_ctx): New function.
39367 (libc_feresetround_noex_ctx): New function.
39368
39369 2014-06-23 Roland McGrath <roland@hack.frob.com>
39370
39371 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
39372 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
39373 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
39374 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
39375 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
39376 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
39377
39378 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
39379 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
39380 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
39381 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
39382 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
39383 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
39384 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
39385 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
39386 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
39387 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
39388 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
39389 Moved ...
39390 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
39391 ... here.
39392 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
39393 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
39394 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
39395 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
39396 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
39397 Moved ...
39398 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
39399 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
39400 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
39401 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
39402 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
39403 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
39404 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
39405 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
39406 Moved ...
39407 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
39408 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
39409 Moved ...
39410 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
39411 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
39412 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
39413 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
39414 Moved ...
39415 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
39416 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
39417 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
39418 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
39419 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
39420 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
39421 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
39422 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
39423 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
39424 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
39425 Moved ...
39426 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
39427 ... here.
39428 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
39429 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
39430 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
39431 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
39432 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
39433 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
39434 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
39435 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
39436 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
39437 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
39438 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
39439 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
39440 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
39441 Moved ...
39442 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
39443 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
39444 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
39445 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
39446 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
39447 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
39448 Moved ...
39449 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
39450 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
39451 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
39452 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
39453 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
39454
39455 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
39456 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
39457 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
39458 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
39459 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
39460 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
39461 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
39462 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
39463 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
39464 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
39465 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
39466 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
39467 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
39468 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
39469 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
39470 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
39471 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
39472 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
39473 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
39474 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
39475 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
39476 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
39477 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
39478 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
39479 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
39480 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
39481 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
39482 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
39483
39484 2014-06-23 Joseph Myers <joseph@codesourcery.com>
39485
39486 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
39487 (FALLOC_FL_COLLAPSE_RANGE): New macro.
39488 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
39489 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
39490 (IPV6_PMTUDISC_INTERFACE): Likewise.
39491 (IPV6_PMTUDISC_OMIT): Likewise.
39492
39493 2014-06-23 Andreas Schwab <schwab@suse.de>
39494
39495 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
39496 Remove unused errout label.
39497
39498 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39499
39500 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
39501 macro: hardware supports Vector Crypto instructions.
39502
39503 2014-06-23 Will Newton <will.newton@linaro.org>
39504
39505 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
39506 rather than __builtin_expect.
39507
39508 * elf/dl-lookup.c (undefined_msg): Remove variable.
39509 (_dl_lookup_symbol_x): Replace undefined_msg with string
39510 literal.
39511
39512 * elf/dl-lookup.c (do_lookup_unique): New function.
39513 (do_lookup_x): Move STB_GNU_UNIQUE handling code
39514 to a separate function.
39515
39516 2014-06-23 Andreas Schwab <schwab@suse.de>
39517
39518 [BZ #17079]
39519 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
39520 before reading the next line.
39521
39522 2014-06-23 Will Newton <will.newton@linaro.org>
39523
39524 * test-skeleton.c (signal_handler): Use printf and %m
39525 rather than perror. Use printf rather than fprintf to
39526 stderr. Use puts rather than fputs to stderr.
39527 (main): Likewise.
39528
39529 2014-06-22 Ludovic Courtès <ludo@gnu.org>
39530
39531 * nscd/nscd.c (thread_info_t): Remove typedef.
39532 (thread_info): Remove variable.
39533
39534 2014-06-21 Allan McRae <allan@archlinux.org>
39535
39536 * NEWS: Mention CVE-2014-4043.
39537
39538 2014-06-20 Roland McGrath <roland@hack.frob.com>
39539
39540 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
39541 * nptl/smp.h: ... here.
39542
39543 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
39544
39545 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
39546 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
39547 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
39548 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
39549
39550 * nptl/allocatestack.c: Include <stack-aliasing.h>.
39551 * nptl/stack-aliasing.h: New file.
39552 * sysdeps/i386/i686/stack-aliasing.h: New file.
39553 * sysdeps/i386/i686/nptl/Makefile: File removed.
39554 * sysdeps/x86_64/stack-aliasing.h: New file.
39555 * sysdeps/x86_64/nptl/Makefile
39556 (CFLAGS-pthread_create.c): Variable removed.
39557
39558 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
39559 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
39560 old file.
39561 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
39562 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
39563 old file.
39564
39565 2014-06-21 Joseph Myers <joseph@codesourcery.com>
39566
39567 * sysdeps/unix/sysv/linux/arm/kernel-features.h
39568 (__ASSUME_SIGFRAME_V2): Remove macro.
39569 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
39570 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
39571 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
39572 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
39573 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
39574 Declare as function. Remove conditional macro definitions.
39575 (__default_rt_sa_restorer): Likewise.
39576 (__default_sa_restorer_v1): Remove declaration.
39577 (__default_sa_restorer_v2): Likewise.
39578 (__default_rt_sa_restorer_v1): Likewise.
39579 (__default_rt_sa_restorer_v2): Likewise.
39580 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
39581 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
39582 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
39583
39584 2014-06-20 Roland McGrath <roland@hack.frob.com>
39585
39586 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
39587 (libpthread-routines): Add sysdep.
39588 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
39589 * sysdeps/unix/sysv/linux/sparc/Versions
39590 (libpthread: GLIBC_2.3.3): New version set.
39591 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
39592 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
39593 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
39594 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
39595 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
39596 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
39597 Moved ...
39598 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
39599 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
39600 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
39601 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
39602 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
39603 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
39604 * sysdeps/sparc/nptl/sem_init.c: ... here.
39605 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
39606 * sysdeps/sparc/nptl/sem_post.c: ... here.
39607 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
39608 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
39609 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
39610 * sysdeps/sparc/nptl/sem_wait.c: ... here.
39611 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
39612 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
39613 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
39614 (libpthread-routines): Add cpu_relax.
39615 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
39616 File removed.
39617 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
39618 (librt: GLIBC_2.3.3): New version set.
39619 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
39620 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
39621 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
39622 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
39623 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
39624 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
39625 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
39626 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
39627 Moved ...
39628 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
39629 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
39630 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
39631 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
39632 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
39633 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
39634 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
39635 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
39636 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
39637 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
39638 Moved ...
39639 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
39640 Update #include.
39641 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
39642 Moved ...
39643 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
39644 Update #include.
39645 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
39646 Moved ...
39647 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
39648 Update #include.
39649 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
39650 Moved ...
39651 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
39652 Update #include.
39653 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
39654 Moved ...
39655 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
39656 Update #include.
39657 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
39658 Moved ...
39659 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
39660 Update #include.
39661 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
39662 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
39663 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
39664 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
39665 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
39666 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
39667 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
39668 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
39669 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
39670 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
39671 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39672 Moved ...
39673 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
39674 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
39675 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
39676 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
39677 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
39678
39679 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39680
39681 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
39682 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
39683 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39684 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
39685 * nscd/nscd.c: Likewise.
39686 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
39687 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
39688 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
39689 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
39690
39691 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
39692 <kernel-features.h>.
39693 (init_mq_netlink): Remove conditional have_sock_cloexec
39694 definitions. Remove code conditional on have_sock_cloexec < 0.
39695 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
39696 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
39697 * sysdeps/unix/sysv/linux/opensock.c: Do not include
39698 <kernel-features.h>.
39699 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
39700 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
39701
39702 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
39703
39704 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39705 Add tests for memset_chk and memset.
39706
39707 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
39708 with AVX2_Usable.
39709
39710 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
39711
39712 [BZ #16046]
39713 * elf/tst-dl-iter-static.c: New file.
39714 * elf/Makefile (tests-static): Add tst-dl-iter-static.
39715
39716 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
39717 error.
39718
39719 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39720
39721 * sysdeps/unix/sysv/linux/kernel-features.h
39722 (__ASSUME_F_GETOWN_EX): Remove macro.
39723 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
39724 <kernel-features.h>.
39725 (miss_F_GETOWN_EX): Remove variable or macro.
39726 (do_fcntl): Do not check miss_F_GETOWN_EX.
39727 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
39728
39729 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
39730 Remove macro.
39731 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
39732 [!__ASSUME_AT_RANDOM]: Remove conditional code.
39733 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
39734
39735 * sysdeps/unix/sysv/linux/kernel-features.h
39736 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
39737 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
39738 [ADJ_OFFSET_SS_READ]: Make code unconditional.
39739 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
39740
39741 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
39742
39743 [BZ #17075]
39744 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
39745 Fix calculation of the symbol's value.
39746 * sysdeps/arm/tst-armtlsdescloc.c: New file.
39747 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
39748 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
39749 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
39750 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
39751 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
39752 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
39753 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
39754 (modules-names): Add `tst-armtlsdescmod',
39755 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
39756 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
39757 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39758 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
39759 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
39760 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39761 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
39762 ($(objpfx)tst-armtlsdescloc): New dependency.
39763 ($(objpfx)tst-armtlsdescextnow): Likewise.
39764 ($(objpfx)tst-armtlsdescextlazy): Likewise.
39765 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
39766 TLS scheme support.
39767 * sysdeps/arm/configure: Regenerate.
39768
39769 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39770
39771 * include/fcntl.h (__atfct_seterrno): Remove prototype.
39772 (__atfct_seterrno_2): Likewise.
39773 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
39774 <kernel-features.h>.
39775 (__ASSUME_ATFCTS): Do not undefine and redefine.
39776 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
39777 (__have_atfcts): Remove conditional definition.
39778 (__fxstatat([__NR_fstatat64]: Make code unconditional.
39779 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
39780 unreachable if [__ASSUME_ATFCTS].
39781 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
39782 not undefine and redefine.
39783 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
39784 <kernel-features.h>.
39785 (faccessat) [__NR_faccessat]: Make code unconditional.
39786 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
39787 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
39788 <kernel-features.h>.
39789 (fchmodat) [__NR_fchmodat]: Make code unconditional.
39790 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39791 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
39792 <kernel-features.h>.
39793 (fchownat) [__NR_fchownat]: Make code unconditional.
39794 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
39795 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
39796 <kernel-features.h>.
39797 (futimesat) [__NR_futimesat]: Make code unconditional.
39798 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
39799 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39800 <kernel-features.h>.
39801 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39802 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39803 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39804 <kernel-features.h>.
39805 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
39806 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39807 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
39808 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39809 <kernel-features.h>.
39810 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
39811 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39812 * sysdeps/unix/sysv/linux/linkat.c: Do not include
39813 <kernel-features.h>.
39814 (linkat) [__NR_linkat]: Make code unconditional.
39815 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39816 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
39817 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
39818 <kernel-features.h>.
39819 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
39820 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39821 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
39822 <kernel-features.h>.
39823 (mkdirat) [__NR_mkdirat]: Make code unconditional.
39824 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
39825 * sysdeps/unix/sysv/linux/openat.c: Do not include
39826 <kernel-features.h>.
39827 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
39828 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
39829 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
39830 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
39831 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
39832 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
39833 <kernel-features.h>.
39834 (readlinkat) [__NR_readlinkat]: Make code unconditional.
39835 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
39836 result of INLINE_SYSCALL directly, not via int variable.
39837 * sysdeps/unix/sysv/linux/renameat.c: Do not include
39838 <kernel-features.h>.
39839 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
39840 (renameat) [__NR_renameat]: Make code unconditional.
39841 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
39842 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
39843 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
39844 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
39845 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
39846 (__ASSUME_ATFCTS): Do not undefine and redefine.
39847 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
39848 <kernel-features.h>.
39849 (symlinkat) [__NR_symlinkat]: Make code unconditional.
39850 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39851 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
39852 <kernel-features.h>.
39853 (unlinkat) [__NR_unlinkat]: Make code unconditional.
39854 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39855 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
39856 (__ASSUME_ATFCTS): Do not undefine and redefine.
39857 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39858 <kernel-features.h>.
39859 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39860 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39861 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39862 <kernel-features.h>.
39863 (__xmknodat) [__NR_mknodat]: Make code unconditional.
39864 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39865
39866 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
39867
39868 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
39869
39870 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
39871
39872 [BZ #17069]
39873 * posix/regcomp.c (parse_reg_exp): Deallocate partially
39874 constructed tree before returning error.
39875 * posix/bug-regexp36.c: Expand test case.
39876
39877 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
39878
39879 [BZ #6803]
39880 * math/libm-test.inc (scalbln_test_date):
39881 Add errno expectations.
39882 * math/w_scalblnf.c: New File.
39883 Add wrapper which checks for setting errno to ERANGE.
39884 Add weak_alias for corresponding scalbln function.
39885 * math/w_scalbln.c: Likewise.
39886 * math/w_scalblnl.c: Likewise.
39887 * math/Makefile (libm-calls): Add w_scalbln.
39888 * sysdeps/ieee754/flt-32/s_scalblnf.c:
39889 Remove weak_alias for corresponding scalbln function.
39890 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39891 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39892 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39893 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39894 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
39895 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
39896 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
39897 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
39898 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
39899 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
39900 Remove long_double_symbol for scalblnl function in libm, libc.
39901 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
39902 Add wrapper which checks for setting errno to ERANGE.
39903 Add long_double_symbol for scalblnl function in libm, libc.
39904 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
39905 Remove long_double_symbol for scalblnl in libm.
39906 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
39907 Add wrapper which checks for setting errno to ERANGE.
39908 Add long_double_symbol for scalblnl function in libm.
39909 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
39910 Do not use wrapper because of own implementation.
39911
39912 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
39913
39914 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
39915 3 bytes for __pad1 for x32.
39916 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
39917
39918 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
39919 H.J. Lu <hongjiu.lu@intel.com>
39920
39921 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
39922 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
39923 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39924 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39925 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
39926
39927 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
39928
39929 [BZ #17069]
39930 * posix/regcomp.c (parse_expression): Deallocate partially
39931 constructed tree before returning error.
39932 * posix/Makefile.c (tests): Add bug-regex36.
39933 (generated): Add bug-regex36.mtrace.
39934 (tests-special): Add $(objpfx)bug-regex36-mem.out
39935 (bug-regex36-ENV): New variable.
39936 ($(objpfx)bug-regex36-mem.out): New rule.
39937 * posix/bug-regex36.c: New file.
39938
39939 2014-06-19 Will Newton <will.newton@linaro.org>
39940
39941 * malloc/malloc.c (systrim): If extra is zero then return
39942 early.
39943
39944 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39945
39946 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
39947
39948 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
39949
39950 * sysdeps/aarch64/strchr.S: New file.
39951
39952 2014-06-18 Joseph Myers <joseph@codesourcery.com>
39953
39954 [BZ #17022]
39955 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
39956 from arguments -2 or below.
39957 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
39958 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
39959
39960 2014-06-18 Andreas Schwab <schwab@suse.de>
39961
39962 [BZ #17062]
39963 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
39964 of a bracket expr not to run off the end of the string.
39965 * posix/Makefile (tests): Add tst-fnmatch3.
39966 * posix/tst-fnmatch3.c: New file.
39967
39968 2014-06-18 Joseph Myers <joseph@codesourcery.com>
39969
39970 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
39971 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39972 [$(cross-compiling) = no]: Likewise.
39973 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39974 [$(cross-compiling) = no]: Likewise.
39975
39976 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39977
39978 [BZ #17031]
39979 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
39980 double, adjusted for any remainder from the high double.
39981 * math/libm-test.inc (nearbyint): Add tests.
39982 (rint): Likewise.
39983
39984 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39985
39986 * nptl/sysdeps/powerpc/Makefile: Moved ...
39987 * sysdeps/powerpc/nptl/Makefile: ... here.
39988 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
39989 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
39990 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
39991 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
39992 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
39993 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
39994 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
39995 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
39996 * nptl/sysdeps/powerpc/tls.h: Moved ...
39997 * sysdeps/powerpc/nptl/tls.h: ... here.
39998
39999 2014-06-16 Joseph Myers <joseph@codesourcery.com>
40000
40001 [BZ #16681]
40002 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
40003 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
40004 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
40005 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
40006 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
40007 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
40008 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
40009 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
40010 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
40011
40012 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
40013
40014 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
40015
40016 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
40017
40018 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
40019 defined operator.
40020
40021 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
40022 $TIMEOUTFACTOR.
40023
40024 2014-06-16 Florian Weimer <fweimer@redhat.com>
40025
40026 [BZ #17058]
40027 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
40028 non-executed part of the test.
40029
40030 2014-06-16 Andreas Schwab <schwab@suse.de>
40031
40032 * string/bits/string2.h (strdup, strndup): Update feature guard.
40033
40034 2014-06-14 David S. Miller <davem@davemloft.net>
40035
40036 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40037
40038 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
40039
40040 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
40041 that was previously under [RESET_PID].
40042 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
40043
40044 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
40045 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
40046 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
40047 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40048 (__libc_vfork): New strong alias.
40049 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
40050
40051 2014-06-14 Andi Kleen <ak@linux.intel.com>
40052
40053 * sysdeps/generic/elide.h: New file.
40054
40055 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
40056
40057 * Makefile (installed-headers): Adjust path of pthread.h header.
40058
40059 2014-06-13 Roland McGrath <roland@hack.frob.com>
40060
40061 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
40062 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
40063 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
40064 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
40065
40066 * nptl/sysdeps/s390/Makefile: Moved ...
40067 * sysdeps/s390/nptl/Makefile: ... here.
40068 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
40069 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
40070 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
40071 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
40072 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
40073 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
40074 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
40075 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
40076 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
40077 * sysdeps/s390/nptl/pthreaddef.h: ... here.
40078 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
40079 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
40080 * nptl/sysdeps/s390/tls.h: Moved ...
40081 * sysdeps/s390/nptl/tls.h: ... here.
40082
40083 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
40084 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
40085
40086 2014-06-13 David S. Miller <davem@davemloft.net>
40087
40088 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
40089 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
40090 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
40091 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
40092 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
40093 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
40094 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
40095 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
40096 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
40097 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
40098 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
40099 Remove RESET_PID cpp guards.
40100 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
40101 Remove RESET_PID cpp guards.
40102 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
40103
40104 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
40105
40106 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
40107 __sp to uintptr_t.
40108
40109 2014-06-13 Andi Kleen <ak@linux.intel.com>
40110
40111 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
40112 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
40113 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
40114 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
40115 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
40116 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
40117 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
40118 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
40119 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
40120 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
40121 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
40122 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
40123 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
40124 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
40125 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
40126 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
40127 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
40128 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
40129 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
40130 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
40131
40132 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
40133 (pthread_rwlock_rdlock): Add elision.
40134 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
40135 (pthread_rwlock_wrlock): Add elision.
40136 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
40137 (pthread_rwlock_trywrlock): Add elision.
40138 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
40139 (pthread_rwlock_tryrdlock): Add elision.
40140 * nptl/pthread_rwlock_unlock.c: Include elide.h.
40141 (pthread_rwlock_tryrdlock): Add elision unlock.
40142 * nptl/sysdeps/pthread/pthread.h:
40143 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
40144 (PTHREAD_RWLOCK_INITIALIZER,
40145 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
40146 Handle new elision field.
40147 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
40148 * sysdeps/arm/nptl/bits/pthreadtypes.h
40149 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40150 * sysdeps/sh/nptl/bits/pthreadtypes.h
40151 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40152 * sysdeps/tile/nptl/bits/pthreadtypes.h
40153 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40154 * sysdeps/a/nptl/bits/pthreadtypes.h
40155 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40156 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
40157 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40158 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
40159 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40160 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
40161 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40162 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
40163 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40164 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
40165 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40166 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
40167 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40168 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
40169 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40170 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
40171 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40172 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
40173 (elision_init): Set try_xbegin to zero when no RTM.
40174 * sysdeps/x86/nptl/bits/pthreadtypes.h
40175 (pthread_rwlock_t): Change __pad1 to __rwelision.
40176 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40177
40178 2014-06-13 Andi Kleen <ak@linux.intel.com>
40179
40180 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
40181 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
40182 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
40183 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
40184
40185 2014-06-13 Meador Inge <meadori@codesourcery.com>
40186
40187 [BZ #16996]
40188 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
40189 that the cached result has been set before returning it.
40190
40191 2014-06-12 Roland McGrath <roland@hack.frob.com>
40192
40193 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
40194 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
40195 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
40196 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
40197 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
40198 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
40199
40200 * nptl/sysdeps/sparc/Makefile: Moved ...
40201 * sysdeps/sparc/nptl/Makefile: ... here.
40202 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
40203 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
40204 * nptl/sysdeps/sparc/tls.h: Moved ...
40205 * sysdeps/sparc/nptl/tls.h: ... here.
40206 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
40207 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
40208 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
40209 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
40210 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
40211 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
40212 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
40213 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
40214 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
40215 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
40216 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
40217 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
40218 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
40219 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
40220 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
40221 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
40222 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
40223 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
40224 Update #include.
40225 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
40226 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
40227 Update #include.
40228 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
40229 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
40230 Update #include.
40231 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
40232 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
40233 Update #include.
40234
40235 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
40236
40237 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
40238 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
40239
40240 * sysdeps/pthread/posix-timer.h: Include <list.h>.
40241 (struct list_links): Type removed.
40242 (struct thread_node, struct timer_node): Replace struct list_links
40243 with struct list_head.
40244 (list_unlink_ip): Likewise.
40245 * sysdeps/pthread/timer_routines.c
40246 (timer_free_list, thread_free_list, thread_active_list): Likewise.
40247 (list_append, list_insbefore): Likewise.
40248 (list_init): Function removed.
40249 (thread_init, init_module): Use INIT_LIST_HEAD instead.
40250 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
40251 * sysdeps/pthread/Makefile: ... here, new file.
40252
40253 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
40254 * sysdeps/nptl/Implies: ... here.
40255 * sysdeps/unix/sysv/linux/Implies: Add nptl.
40256 * nptl/sysdeps/pthread/list.h: Moved ...
40257 * include/list.h: ... here.
40258 * nptl/sysdeps/pthread/createthread.c: Moved ...
40259 * nptl/createthread.c: ... here.
40260 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
40261 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
40262 * nptl/pt-longjmp.c: ... here.
40263 * nptl/sysdeps/pthread/Makefile: Moved ...
40264 * sysdeps/nptl/Makefile: ... here.
40265 * nptl/sysdeps/pthread/Subdirs: Moved ...
40266 * sysdeps/nptl/Subdirs: ... here.
40267 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
40268 * sysdeps/nptl/aio_misc.h: ... here.
40269 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
40270 * sysdeps/nptl/bits/libc-lock.h: ... here.
40271 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
40272 * sysdeps/nptl/bits/libc-lockP.h: ... here.
40273 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
40274 * sysdeps/nptl/bits/stdio-lock.h: ... here.
40275 * nptl/sysdeps/pthread/configure: Moved ...
40276 * sysdeps/nptl/configure: ... here.
40277 * nptl/sysdeps/pthread/configure.ac: Moved ...
40278 * sysdeps/nptl/configure.ac: ... here.
40279 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
40280 * sysdeps/nptl/gai_misc.h: ... here.
40281 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
40282 * sysdeps/nptl/librt-cancellation.c: ... here.
40283 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
40284 * sysdeps/nptl/malloc-machine.h: ... here.
40285 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
40286 * sysdeps/nptl/pthread-functions.h: ... here.
40287 * nptl/sysdeps/pthread/pthread.h: Moved ...
40288 * sysdeps/nptl/pthread.h: ... here.
40289 * nptl/sysdeps/pthread/setxid.h: Moved ...
40290 * sysdeps/nptl/setxid.h: ... here.
40291 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
40292 * sysdeps/nptl/sigfillset.c: ... here.
40293 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
40294 * sysdeps/nptl/tcb-offsets.h: ... here.
40295 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
40296 * sysdeps/nptl/tst-mqueue8x.c: ... here.
40297 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
40298 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
40299 * nptl/sysdeps/pthread/allocalim.h: Moved ...
40300 * sysdeps/pthread/allocalim.h: ... here.
40301 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
40302 * sysdeps/pthread/bits/sigthread.h: ... here.
40303 * nptl/sysdeps/pthread/flockfile.c: Moved ...
40304 * sysdeps/pthread/flockfile.c: ... here.
40305 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
40306 * sysdeps/pthread/ftrylockfile.c: ... here.
40307 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
40308 * sysdeps/pthread/funlockfile.c: ... here.
40309 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
40310 * sysdeps/pthread/posix-timer.h: ... here.
40311 * nptl/sysdeps/pthread/timer_create.c: Moved ...
40312 * sysdeps/pthread/timer_create.c: ... here.
40313 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
40314 * sysdeps/pthread/timer_delete.c: ... here.
40315 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
40316 * sysdeps/pthread/timer_getoverr.c: ... here.
40317 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
40318 * sysdeps/pthread/timer_gettime.c: ... here.
40319 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
40320 * sysdeps/pthread/timer_routines.c: ... here.
40321 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
40322 * sysdeps/pthread/timer_settime.c: ... here.
40323 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
40324 * sysdeps/pthread/tst-timer.c: ... here.
40325 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
40326 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
40327
40328 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
40329 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
40330
40331 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
40332 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
40333 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
40334 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
40335 Update #include target.
40336 * nptl/sysdeps/i386/i686/Makefile: Moved ...
40337 * sysdeps/i386/i686/nptl/Makefile: ... here.
40338 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
40339 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
40340 Update #include target.
40341 * nptl/sysdeps/i386/i686/tls.h: Moved ...
40342 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
40343 * nptl/sysdeps/i386/Makefile: Moved ...
40344 * sysdeps/i386/nptl/Makefile: ... here.
40345 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
40346 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
40347 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
40348 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
40349 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
40350 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
40351 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
40352 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
40353 * sysdeps/i386/nptl/pthreaddef.h: ... here.
40354 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
40355 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
40356 * nptl/sysdeps/i386/tls.h: Moved ...
40357 * sysdeps/i386/nptl/tls.h: ... here.
40358
40359 * sysdeps/sh/Makefile [$(subdir) = csu]
40360 (gen-as-const-headers): Add tcb-offsets.sym.
40361 * nptl/sysdeps/sh/Makefile: File removed.
40362 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
40363 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
40364 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
40365 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
40366 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
40367 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
40368 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
40369 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
40370 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
40371 * sysdeps/sh/nptl/pthreaddef.h: ... here.
40372 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
40373 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
40374 * nptl/sysdeps/sh/tls.h: Moved ...
40375 * sysdeps/sh/nptl/tls.h: ... here.
40376 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
40377 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
40378 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
40379 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
40380 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
40381 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
40382 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
40383 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
40384 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
40385 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
40386 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
40387 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
40388 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
40389 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
40390 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
40391 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
40392 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
40393 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
40394 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
40395 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
40396 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
40397 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
40398 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
40399 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
40400 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
40401 Moved ...
40402 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
40403 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
40404 Moved ...
40405 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
40406 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
40407 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
40408 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
40409 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
40410 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
40411 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
40412 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
40413 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
40414 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
40415 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
40416 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
40417 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
40418 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
40419 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
40420 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
40421 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
40422 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
40423 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
40424
40425 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
40426
40427 * posix/spawn_faction_addopen.c: Include string.h.
40428
40429 2014-06-11 Roland McGrath <roland@hack.frob.com>
40430
40431 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
40432 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
40433 * nptl/sysdeps/x86_64/Makefile: Moved ...
40434 * sysdeps/x86_64/nptl/Makefile: ... here.
40435 * nptl/sysdeps/x86_64/configure: Moved ...
40436 * sysdeps/x86_64/nptl/configure: ... here.
40437 * nptl/sysdeps/x86_64/configure.ac: Moved ...
40438 * sysdeps/x86_64/nptl/configure.ac: ... here.
40439 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
40440 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
40441 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
40442 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
40443 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
40444 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
40445 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
40446 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
40447 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
40448 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
40449 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
40450 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
40451 * nptl/sysdeps/x86_64/tls.h: Moved ...
40452 * sysdeps/x86_64/nptl/tls.h: ... here.
40453 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
40454 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
40455 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
40456 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
40457
40458 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
40459
40460 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40461
40462 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40463
40464 2014-06-11 Joseph Myers <joseph@codesourcery.com>
40465
40466 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
40467 type.
40468 [POSIX] (off_t): Likewise.
40469 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
40470 [POSIX] (S_ISBLK): Require macro.
40471 [POSIX] (S_ISCHR): Likewise.
40472 [POSIX] (S_ISDIR): Likewise.
40473 [POSIX] (S_ISFIFO): Likewise.
40474 [POSIX] (S_ISREG): Likewise.
40475 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
40476 optional-macro.
40477 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
40478 type.
40479 [POSIX] (time_t): Likewise.
40480 [POSIX] (timer_t): Likewise.
40481
40482 2014-06-11 Florian Weimer <fweimer@redhat.com>
40483
40484 [BZ #17048]
40485 * posix/spawn_int.h (struct __spawn_action): Make the path string
40486 non-const to support deallocation.
40487 * posix/spawn_faction_addopen.c
40488 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
40489 * posix/spawn_faction_destroy.c
40490 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
40491 path in all spawn_do_open actions.
40492 * posix/tst-spawn.c (do_test): Exercise the copy operation in
40493 posix_spawn_file_actions_addopen.
40494
40495 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
40496
40497 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
40498 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
40499 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
40500 conditional code always true.
40501 (__libc_vfork): New alias.
40502
40503 2014-06-11 Roland McGrath <roland@hack.frob.com>
40504
40505 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40506 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
40507
40508 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
40509
40510 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40511 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
40512
40513 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
40514 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
40515
40516 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40517 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
40518
40519 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
40520
40521 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
40522 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
40523 multiarch strcmp for PPC64.
40524 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
40525 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
40526 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
40527 multiarch optimizations.
40528 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40529 (__libc_ifunc_impl_list): Likewise.
40530
40531 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
40532
40533 * benchtests/scripts/validate_benchout.py: New script.
40534 * benchtests/Makefile (bench-func): Call it.
40535 * benchtests/scripts/benchout.schema.json: New file.
40536
40537 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
40538
40539 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
40540 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
40541 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
40542 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
40543 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
40544 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
40545 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
40546 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
40547 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
40548 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
40549 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
40550 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
40551 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
40552 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
40553 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
40554 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
40555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
40556 Moved ...
40557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
40558 ... here.
40559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
40560 Moved ...
40561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
40562 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
40563 Moved ...
40564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
40565 ... here.
40566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
40567 Moved ...
40568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
40569 ... here.
40570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
40571 Moved ...
40572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
40573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
40574 Moved ...
40575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
40576 ... here.
40577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
40578 Moved ...
40579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
40580 ... here.
40581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
40582 Moved ...
40583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
40584 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
40585 Moved ...
40586 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
40587 ... here.
40588 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
40589 Moved ...
40590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
40591 ... here.
40592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
40593 Moved ...
40594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
40595 ... here.
40596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
40597 Moved ...
40598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
40599 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
40600 Moved ...
40601 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
40602 ... here.
40603 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
40604 Moved ...
40605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
40606 ... here.
40607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
40608 Moved ...
40609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
40610 ... here.
40611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
40612 Moved ...
40613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
40614 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
40615 Moved ...
40616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
40617 ... here.
40618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
40619 Moved ...
40620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
40621 ... here.
40622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
40623 Moved ...
40624 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
40625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
40626 Moved ...
40627 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
40628 ... here.
40629 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
40630 Moved ...
40631 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
40632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
40633 Moved ...
40634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
40635 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
40636 Moved ...
40637 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
40638 ... here.
40639 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
40640 Moved ...
40641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
40642 ... here.
40643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
40644 Moved ...
40645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
40646 ... here.
40647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
40648 Moved ...
40649 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
40650 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
40651 Moved ...
40652 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
40653 ... here.
40654 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
40655 Moved ...
40656 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
40657 ... here.
40658 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
40659 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
40660 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
40661 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
40662 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
40663 Moved ...
40664 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
40665 ... here.
40666 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
40667 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
40668 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
40669 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
40670 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
40671 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
40672 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
40673 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
40674 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
40675 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
40676 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
40677 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
40678 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
40679 Moved ...
40680 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
40681 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
40682 Moved ...
40683 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
40684 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
40685 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
40686 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
40687 Moved ...
40688 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
40689 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
40690 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
40691 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
40692 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
40693 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
40694 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
40695
40696 2014-06-10 Wilco <wdijkstr@arm.com>
40697
40698 * math/test-fenv-return.c: New file.
40699 * math/Makefile: Add new test test-fenv-return.
40700
40701 2014-06-10 Joseph Myers <joseph@codesourcery.com>
40702
40703 [BZ #17042]
40704 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
40705 when x - 1 is zero.
40706 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
40707 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
40708 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
40709 0.0L for an argument of 1.0L.
40710 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
40711 Likewise.
40712 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
40713 value when x - 1 is zero.
40714 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
40715 * sysdeps/i386/fpu/libm-test-ulps: Update.
40716 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40717
40718 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
40719
40720 [BZ #15119]
40721 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
40722
40723 2014-06-09 Roland McGrath <roland@hack.frob.com>
40724
40725 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
40726 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
40727
40728 2014-06-09 Roland McGrath <roland@hack.frob.com>
40729
40730 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40731 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
40732
40733 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40734 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
40735
40736 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40737 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
40738
40739 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40740 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
40741
40742 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
40743 if not already defined.
40744 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
40745 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
40746 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
40747 (TLS_INIT_TP): Use it.
40748 (TLS_DEFINE_INIT_TP): New macro.
40749 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
40750
40751 2014-06-09 Joseph Myers <joseph@codesourcery.com>
40752
40753 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
40754 constant.
40755 [POSIX] (IXANY): Likewise.
40756 [POSIX] (OLCUC): Likewise.
40757 [POSIX || POSIX2008] (CBAUD): Do not allow.
40758 [POSIX || POSIX2008] (DEFECHO): Likewise.
40759 [POSIX || POSIX2008] (ECHOCTL): Likewise.
40760 [POSIX || POSIX2008] (ECHOKE): Likewise.
40761 [POSIX || POSIX2008] (ECHOPRT): Likewise.
40762 [POSIX || POSIX2008] (EXTA): Likewise.
40763 [POSIX || POSIX2008] (EXTB): Likewise.
40764 [POSIX || POSIX2008] (FLUSHO): Likewise.
40765 [POSIX || POSIX2008] (LOBLK): Likewise.
40766 [POSIX || POSIX2008] (PENDIN): Likewise.
40767 [POSIX || POSIX2008] (SWTCH): Likewise.
40768 [POSIX || POSIX2008] (VDISCARD): Likewise.
40769 [POSIX || POSIX2008] (VDSUSP): Likewise.
40770 [POSIX || POSIX2008] (VLNEXT): Likewise.
40771 [POSIX || POSIX2008] (VREPRINT): Likewise.
40772 [POSIX || POSIX2008] (VSTATUS): Likewise.
40773 [POSIX || POSIX2008] (VWERASE): Likewise.
40774 (B*): Change to B[0123456789]*.
40775 * conform/data/time.h-data [POSIX || UNIX98]
40776 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
40777 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40778 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
40779 [POSIX] (tm_*): Do not allow.
40780
40781 2014-06-07 Joseph Myers <joseph@codesourcery.com>
40782
40783 * Makefile (install): Don't set LANGUAGE.
40784 * Makefile.in (install): Likewise.
40785 * assert/Makefile (test-assert-ENV): Remove variable.
40786 (test-assert-perr-ENV): Likewise.
40787 * elf/Makefile (neededtest4-ENV): Likewise.
40788 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40789 [$(cross-compiling) = no]: Don't set LANGUAGE.
40790 * io/ftwtest-sh (LANG): Remove variable.
40791 * libio/Makefile (tst-widetext-ENV): Likewise.
40792 * manual/install.texi (Running make install): Don't refer to
40793 environment settings for make install.
40794 * INSTALL: Regenerated.
40795 * nptl/tst-tls6.sh: Don't set LANG.
40796 * posix/globtest.sh (LANG): Remove variable.
40797 * string/Makefile (tester-ENV): Likewise.
40798 (inl-tester-ENV): Likewise.
40799 (noinl-tester-ENV): Likewise.
40800 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40801 [$(cross-compiling) = no]: Don't set LANGUAGE.
40802 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
40803 without explicit environment settings.
40804
40805 2014-06-06 Roland McGrath <roland@hack.frob.com>
40806
40807 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
40808 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
40809 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
40810 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
40811
40812 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
40813
40814 * crypt/crypt-private.h [DOS]: Add some includes taken from the
40815 other files in the crypt directory.
40816 * crypt/crypt.c: Remove duplicate includes.
40817 * crypt/crypt-entry.c: Likewise.
40818 * crypt/crypt_util.c: Likewise.
40819
40820 2014-06-06 Joseph Myers <joseph@codesourcery.com>
40821
40822 * Makeconfig (run-program-env): New variable.
40823 (run-program-prefix-before-env): Likewise.
40824 (run-program-prefix-after-env): Likewise.
40825 (run-program-prefix): Define in terms of new variables.
40826 (built-program-cmd-before-env): New variable.
40827 (built-program-cmd-after-env): Likewise.
40828 (built-program-cmd): Define in terms of new variables.
40829 (test-program-prefix-before-env): New variable.
40830 (test-program-prefix-after-env): Likewise.
40831 (test-program-prefix): Define in terms of new variables.
40832 (test-program-cmd-before-env): New variable.
40833 (test-program-cmd-after-env): Likewise.
40834 (test-program-cmd): Define in terms of new variables.
40835 * Rules (make-test-out): Use $(run-program-env).
40836 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
40837 (help): Do not mention environment variables. Mention
40838 --timeoutfactor option.
40839 (timeoutfactor): New variable.
40840 (blacklist_exports): Remove function.
40841 (exports): Remove variable.
40842 (command): Do not include ${exports}.
40843 * manual/install.texi (Configuring and compiling): Do not mention
40844 test wrappers preserving environment variables. Mention that last
40845 assignment to a variable must take precedence.
40846 * INSTALL: Regenerated.
40847 * benchtests/Makefile (run-bench): Use $(run-program-env).
40848 * catgets/Makefile ($(objpfx)test1.cat): Use
40849 $(built-program-cmd-before-env), $(run-program-env) and
40850 $(built-program-cmd-after-env).
40851 ($(objpfx)test2.cat): Do not specify environment variables
40852 explicitly.
40853 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
40854 $(run-program-env) and $(built-program-cmd-after-env).
40855 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
40856 $(run-program-env) and $(test-program-cmd-after-env).
40857 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
40858 explicitly.
40859 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
40860 run_program_env and test_program_cmd_after_env arguments.
40861 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
40862 * elf/tst-pathopt.sh: Use run_program_env argument.
40863 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
40864 $(test-wrapper-env) and $(run-program-env).
40865 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
40866 run_program_env arguments.
40867 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
40868 * intl/Makefile ($(objpfx)tst-gettext.out): Use
40869 $(test-program-prefix-before-env), $(run-program-env) and
40870 $(test-program-prefix-after-env).
40871 ($(objpfx)tst-gettext2.out): Likewise.
40872 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
40873 run_program_env and test_program_prefix_after_env arguments.
40874 * intl/tst-gettext2.sh: Likewise.
40875 * intl/tst-gettext4.sh: Do not set environment variables
40876 explicitly.
40877 * intl/tst-gettext6.sh: Likewise.
40878 * intl/tst-translit.sh: Likewise.
40879 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
40880 $(test-program-prefix-before-env), $(run-program-env) and
40881 $(test-program-prefix-after-env).
40882 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
40883 run_program_env and test_program_prefix_after_env arguments.
40884 * math/Makefile (run-regen-ulps): Use $(run-program-env).
40885 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
40886 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
40887 explicitly with each use of ${test_wrapper_env}.
40888 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
40889 $(test-program-prefix-before-env), $(run-program-env) and
40890 $(test-program-prefix-after-env).
40891 * posix/tst-getconf.sh: Do not set environment variables
40892 explicitly.
40893 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
40894 run_program_env and test_program_prefix_after_env arguments.
40895 * stdio-common/tst-printf.sh: Do not set environment variables
40896 explicitly.
40897 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
40898 $(test-program-prefix-before-env), $(run-program-env) and
40899 $(test-program-prefix-after-env).
40900 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
40901 run_program_env and test_program_prefix_after_env arguments.
40902 Split $test calls into $test_pre and $test.
40903 * timezone/Makefile (build-testdata): Use
40904 $(built-program-cmd-before-env), $(run-program-env) and
40905 $(built-program-cmd-after-env).
40906
40907 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40908
40909 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
40910 strlen for non SHARED builds.
40911
40912 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40913
40914 * nptl/allocatestack.c (check_list): Inlined function...
40915 (__reclaim_stacks): ... here.
40916
40917 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
40918
40919 [BZ #15698]
40920 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40921 memory overrun.
40922
40923 2014-06-05 Joseph Myers <joseph@codesourcery.com>
40924
40925 * Rules (make-test-out): Include
40926 LOCPATH=$(common-objpfx)localedata in default environment.
40927 * debug/Makefile (tst-chk1-ENV): Remove variable.
40928 (tst-chk2-ENV): Likewise.
40929 (tst-chk3-ENV): Likewise.
40930 (tst-chk4-ENV): Likewise.
40931 (tst-chk5-ENV): Likewise.
40932 (tst-chk6-ENV): Likewise.
40933 (tst-lfschk1-ENV): Likewise.
40934 (tst-lfschk2-ENV): Likewise.
40935 (tst-lfschk3-ENV): Likewise.
40936 (tst-lfschk4-ENV): Likewise.
40937 (tst-lfschk5-ENV): Likewise.
40938 (tst-lfschk6-ENV): Likewise.
40939 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
40940 (tst-iconv7-ENV): Likewise.
40941 * intl/Makefile (LOCPATH-ENV): Likewise.
40942 (tst-codeset-ENV): Likewise.
40943 (tst-gettext3-ENV): Likewise.
40944 (tst-gettext5-ENV): Likewise.
40945 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
40946 (tst-fopenloc-ENV): Likewise.
40947 (tst-fgetws-ENV): Remove variable.
40948 (tst-ungetwc1-ENV): Likewise.
40949 (tst-ungetwc2-ENV): Likewise.
40950 (bug-ungetwc2-ENV): Likewise.
40951 (tst-swscanf-ENV): Likewise.
40952 (bug-ftell-ENV): Likewise.
40953 (tst-fgetwc-ENV): Likewise.
40954 (tst-fseek-ENV): Likewise.
40955 (tst-ftell-partial-wide-ENV): Likewise.
40956 (tst-ftell-active-handler-ENV): Likewise.
40957 (tst-ftell-append-ENV): Likewise.
40958 * posix/Makefile (tst-fnmatch-ENV): Likewise.
40959 (tst-regexloc-ENV): Likewise.
40960 (bug-regex1-ENV): Likewise.
40961 (tst-regex-ENV): Likewise.
40962 (tst-regex2-ENV): Likewise.
40963 (bug-regex5-ENV): Likewise.
40964 (bug-regex6-ENV): Likewise.
40965 (bug-regex17-ENV): Likewise.
40966 (bug-regex18-ENV): Likewise.
40967 (bug-regex19-ENV): Likewise.
40968 (bug-regex20-ENV): Likewise.
40969 (bug-regex22-ENV): Likewise.
40970 (bug-regex23-ENV): Likewise.
40971 (bug-regex25-ENV): Likewise.
40972 (bug-regex26-ENV): Likewise.
40973 (bug-regex30-ENV): Likewise.
40974 (bug-regex32-ENV): Likewise.
40975 (bug-regex33-ENV): Likewise.
40976 (bug-regex34-ENV): Likewise.
40977 (bug-regex35-ENV): Likewise.
40978 (tst-rxspencer-ENV): Likewise.
40979 (tst-rxspencer-no-utf8-ENV): Likewise.
40980 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
40981 (tst-sscanf-ENV): Likewise.
40982 (tst-swprintf-ENV): Likewise.
40983 (tst-swscanf-ENV): Likewise.
40984 (test-vfprintf-ENV): Likewise.
40985 (scanf13-ENV): Likewise.
40986 (bug14-ENV): Likewise.
40987 (tst-grouping-ENV): Likewise.
40988 * stdlib/Makefile (tst-strtod-ENV): Likewise.
40989 (tst-strtod3-ENV): Likewise.
40990 (tst-strtod4-ENV): Likewise.
40991 (tst-strtod5-ENV): Likewise.
40992 (testmb2-ENV): Likewise./
40993 * string/Makefile (tst-strxfrm-ENV): Likewise.
40994 (tst-strxfrm2-ENV): Likewise.
40995 (bug-strcoll1-ENV): Likewise.
40996 (test-strcasecmp-ENV): Likewise.
40997 (test-strncasecmp-ENV): Likewise.
40998 * time/Makefile (tst-strptime-ENV): Likewise.
40999 (tst-ftime_l-ENV): Likewise.
41000 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
41001 (tst-mbrtowc-ENV): Likewise.
41002 (tst-wcrtomb-ENV): Likewise.
41003 (tst-mbrtowc2-ENV): Likewise.
41004 (tst-c16c32-1-ENV): Likewise.
41005 (tst-mbsnrtowcs-ENV): Likewise.
41006
41007 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
41008
41009 * manual/resource.texi (How to get information about the memory
41010 subsystem?): Fix typo.
41011 Reported by Peon de la Parra Ivan <peon@keba.com>
41012
41013 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
41014
41015 [BZ #16882]
41016 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
41017 (pthread_spin_lock): Branch out of spin loop to proper location.
41018 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
41019 (pthread_spin_lock): Likewise.
41020
41021 * nptl/tst-spin4.c: New test.
41022 * nptl/Makefile (tests): Add tst-spin4.
41023
41024 2014-06-03 Andreas Schwab <schwab@suse.de>
41025
41026 [BZ #15946]
41027 * resolv/res_send.c (send_dg): Reload file descriptor after
41028 calling reopen.
41029
41030 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
41031
41032 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41033
41034 2014-06-03 Richard Henderson <rth@redhat.com>
41035
41036 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
41037 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
41038 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
41039 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
41040 in the SAVE_PID block.
41041 (__libc_vfork): New alias.
41042 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
41043
41044 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
41045 child in registers, not on the stack. Remove RESET_PID conditionals.
41046 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
41047
41048 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
41049
41050 * sysdeps/aarch64/libm-test-ulps: Regenerate.
41051
41052 2014-06-03 Wilco <wdijkstr@arm.com>
41053
41054 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
41055 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
41056 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
41057 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
41058 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
41059 Likewise.
41060
41061 2014-06-03 Wilco <wdijkstr@arm.com>
41062
41063 * sysdeps/aarch64/fpu/math_private.h
41064 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
41065 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
41066 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
41067 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
41068 Fix declarations.
41069
41070 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
41071
41072 * crypt/crypt-private.h: Include ufc-crypt.h.
41073 (__b64_from_24bit): Declare extern.
41074 * crypt/crypt_util.c(__b64_from_24bit): New function.
41075 (b64t): New static const variable.
41076 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
41077 (b64t): Remove variable.
41078 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
41079 * crypt/sha256-crypt.c: Include crypt-private.h.
41080 (b64t): Remove variable.
41081 (__sha256_crypt_r): Remove b64_from_24bit and replace
41082 with __b64_from_24bit.
41083 * crypt/sha512-crypt.c: Likewise.
41084
41085 2014-06-02 Roland McGrath <roland@hack.frob.com>
41086
41087 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
41088 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
41089 Label the code __libc_vfork rather than __vfork.
41090 [!NOT_IN_libc] (vfork): Define as weak alias.
41091 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
41092 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
41093 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
41094
41095 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41096
41097 * malloc/malloc.c (malloc_info): Fix format specifier for
41098 n_mmaps.
41099
41100 2014-06-02 Wilco <wdijkstr@arm.com>
41101
41102 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
41103 FPCR write.
41104
41105 2014-06-02 Wilco <wdijkstr@arm.com>
41106
41107 [BZ #17009]
41108 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
41109 Rewrite to reduce FPCR/FPSR accesses.
41110
41111 2014-06-01 David S. Miller <davem@davemloft.net>
41112
41113 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41114
41115 2014-05-31 David S. Miller <davem@davemloft.net>
41116
41117 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
41118 to occur in round to nearest mode when |x| >= 2.0
41119
41120 2014-05-30 Richard Henderson <rth@twiddle.net>
41121
41122 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
41123 (PSEUDO_RET_NOERRNO): Remove.
41124 (ret): Don't redefine.
41125 (ret_NOERRNO): Define in terms of ret.
41126 (ret_ERRVAL): Likewise.
41127
41128 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
41129 use of PSEUDO_RET; perform the error check directly.
41130
41131 2014-05-30 Marko Myllynen <myllynen@redhat.com>
41132
41133 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
41134 with __int128_t.
41135
41136 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41137
41138 * malloc/malloc (malloc_info): Fix formatting.
41139
41140 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41141 Roland McGrath <roland@hack.frob.com>
41142
41143 * malloc/malloc (malloc_info): Also print mmapped statistics.
41144
41145 2014-05-30 Roland McGrath <roland@hack.frob.com>
41146
41147 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
41148 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
41149
41150 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
41151
41152 * malloc/malloc.c (malloc_info): Inline mi_arena.
41153
41154 2014-05-29 Richard Henderson <rth@twiddle.net>
41155
41156 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
41157 Remove comma before expanding ASM_ARGS_##nr.
41158 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
41159 Make _x0 a strict output; make _x8 a strict input; adjust expansion
41160 of ASM_ARGS_##nr.
41161 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
41162 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
41163 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
41164 (ASM_ARGS_1): Add leading comma.
41165
41166 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
41167 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
41168 to __errno_location.
41169 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
41170 Remove the expected plt for __errno_location.
41171
41172 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41173 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
41174 call to __read_tp.
41175
41176 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41177 Always allocate 64 bytes of stack frame. Use ldp/stp to create
41178 it and break it down.
41179 (DOCARGS_0, DOCARGS_1): Do nothing.
41180 (DOCARGS_2): Update to store into the new stack frame.
41181 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
41182 (UNDOCARGS_1): Update to restore from the new stack frame.
41183 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
41184 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
41185
41186 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41187 (SINGLE_THREAD_P): New parameter for result regno.
41188 (PSEUDO): Update to match; use cbz instead of beq.
41189
41190 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41191 Use ENTRY to define the _nocancel entry point. Share the syscall
41192 and syscall error check paths with the cancel path.
41193 (PSEUDO_END): New.
41194
41195 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
41196 whitespace; tabs before and after asm mnemonics.
41197
41198 2014-05-29 Eric Wong <normalperson@yhbt.net>
41199
41200 [BZ #15132]
41201 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41202 Call fstat64 or stat64 internally, depending on arguments passed.
41203 Replace stat buffer argument with file descriptor argument.
41204 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
41205 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
41206 Pass fd to __internal_statvfs instead of calling fstat64.
41207 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
41208 Pass fd to __internal_statvfs64 instead of calling fstat64.
41209 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
41210 Pass -1 to __internal_statvfs instead of calling stat64.
41211 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
41212 Pass -1 to __internal_statvfs64 instead of calling stat64.
41213
41214 2014-05-28 Roland McGrath <roland@hack.frob.com>
41215
41216 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
41217 that was previously under [RESET_PID].
41218 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
41219
41220 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
41221 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
41222
41223 2014-05-27 Roland McGrath <roland@hack.frob.com>
41224
41225 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
41226
41227 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
41228 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
41229
41230 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
41231
41232 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
41233
41234 2014-05-27 Andreas Schwab <schwab@suse.de>
41235
41236 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
41237 TLS_INIT_TP macro.
41238 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
41239 * elf/rtld.c (init_tls, dl_main): Likewise.
41240 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
41241 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
41242 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
41243 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
41244 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
41245 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
41246 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
41247 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
41248 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
41249 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
41250 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
41251 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
41252 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
41253 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
41254 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
41255 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
41256 * sysdeps/generic/tls.h: Update description.
41257
41258 2014-05-27 Will Newton <will.newton@linaro.org>
41259
41260 [BZ #16990]
41261 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
41262 and restore r2 rather than just restoring.
41263
41264 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
41265
41266 [BZ #16724]
41267 * libio/tst-ftell-append.c: New test case.
41268 * libio/Makefile (tests): Add test case.
41269 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
41270 append mode.
41271 * libio/wfileops.c (do_ftell_wide): Likewise.
41272
41273 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41274
41275 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41276
41277 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
41278 ...
41279 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
41280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
41281 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
41282 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
41283 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
41284 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
41285 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
41286 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
41287 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
41288 Moved ...
41289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
41290 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
41291 Moved ...
41292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
41293 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
41294 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
41295 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
41296 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
41297 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
41298 ...
41299 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
41300 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
41301 Moved ...
41302 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
41303 here.
41304 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
41305 ...
41306 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
41307 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
41308 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
41309
41310 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
41311 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
41312 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
41313 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
41314
41315 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
41316 merge into ...
41317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
41318 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
41319 ...
41320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
41321 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
41322 ...
41323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
41324 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41325 Moved ...
41326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
41327 here.
41328 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41329 Moved ...
41330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
41331 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41332 Moved ...
41333 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
41334
41335 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
41336 conditional [RESET_PID].
41337 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
41338 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
41339 removed.
41340 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
41341 removed.
41342
41343 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
41344 <tcb-offsets.h>.
41345 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41346 (__libc_vfork): New strong alias.
41347 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
41348 removed.
41349 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
41350 Removed.
41351
41352 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
41353 <tcb-offsets.h>.
41354 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
41355 (__libc_vfork): New strong alias.
41356 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
41357 removed.
41358 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
41359 removed.
41360
41361 2014-05-26 Carlos O'Donell <carlos@redhat.com>
41362
41363 * malloc/malloc.c (mi_arena): New function.
41364 (malloc_info): Remove nested function mi_arena. Call non-nosted
41365 function mi_arena.
41366
41367 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41368
41369 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
41370 by insrwi.
41371 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
41372 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
41373 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
41374 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
41375 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
41376 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
41377 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
41378
41379 2014-05-26 Andreas Schwab <schwab@suse.de>
41380
41381 [BZ #16984]
41382 * locale/programs/repertoire.c (repertoire_read): Add slash
41383 between I18NPATH element and file name.
41384 * locale/programs/locfile.c (locfile_read): Likewise.
41385
41386 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
41387
41388 * nptl/pthread_mutexattr_settype.c
41389 (__pthread_mutexattr_settype):
41390 Disable lock elision for PTHREAD_MUTEX_NORMAL.
41391
41392 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
41393
41394 * nptl/tst-mutex5 (do_test):
41395 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
41396
41397 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41398
41399 * benchtests/README: Document 'init' directive.
41400 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
41401 BENCH_INIT.
41402 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
41403 (parse_file): Recognize 'init' directive.
41404
41405 2014-05-26 Kyle McMartin <kyle@redhat.com>
41406
41407 [BZ #16796]
41408 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
41409 alignment of struct pthread.
41410
41411 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41412
41413 [BZ #16878]
41414 * nscd/netgroupcache.c (addgetnetgrentX): Look for
41415 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
41416 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
41417 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
41418
41419 2014-05-25 Richard Henderson <rth@twiddle.net>
41420
41421 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41422 (SINGLE_THREAD_P_PIC): Remove.
41423 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
41424 (SINGLE_THREAD_P_PIC): Remove.
41425
41426 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
41427 branch to syscall error ...
41428 (PSEUDO): ... here.
41429 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
41430 from __local_syscall_error to .Lsyscall_error.
41431 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
41432 (SYSCALL_ERROR): Update label name.
41433
41434 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41435 Do not use DOARGS/UNDOARGS.
41436 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
41437 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
41438 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
41439 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
41440 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
41441
41442 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
41443 block comment.
41444
41445 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
41446 define if !NOT_IN_libc.
41447 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
41448 define with non-default symbol versions.
41449
41450 2014-05-23 Richard Henderson <rth@twiddle.net>
41451
41452 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
41453 (vfork, __vfork): Define via compat_symbol.
41454
41455 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
41456 [!HAVE_IFUNC] (vfork_compat): Remove.
41457 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
41458
41459 2014-05-23 Joseph Myers <joseph@codesourcery.com>
41460
41461 [BZ #16978]
41462 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
41463 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
41464 variable.
41465
41466 2014-05-23 Richard Henderson <rth@twiddle.net>
41467
41468 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
41469 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
41470 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
41471 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
41472
41473 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
41474 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
41475 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
41476 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
41477 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
41478 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
41479 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
41480 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
41481 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
41482 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
41483 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
41484 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
41485 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
41486 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
41487 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
41488 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
41489 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
41490 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
41491 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
41492 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
41493 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
41494 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
41495 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
41496 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
41497 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
41498 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
41499 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
41500 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
41501 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
41502 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
41503 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
41504 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
41505 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
41506 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
41507 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
41508 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
41509 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
41510 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
41511 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
41512 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
41513 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
41514 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
41515 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
41516 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
41517 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
41518 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
41519 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
41520 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
41521 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
41522 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
41523 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
41524 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
41525 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
41526 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
41527 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
41528 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
41529
41530 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
41531 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
41532 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
41533 before exiting on error.
41534 (__libc_vfork): New strong alias.
41535 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
41536 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
41537
41538 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
41539 that was previously under [RESET_PID].
41540 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
41541
41542 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
41543
41544 2014-05-23 Joseph Myers <joseph@codesourcery.com>
41545
41546 [BZ #16977]
41547 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
41548 value when x - 1 is zero.
41549 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
41550 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
41551 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
41552 0.0L for an argument of 1.0L.
41553 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
41554 Likewise.
41555 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
41556 value when x - 1 is zero.
41557 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
41558 * sysdeps/i386/fpu/libm-test-ulps: Update.
41559 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41560
41561 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
41562
41563 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
41564 alphasort and versionsort.
41565
41566 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41567
41568 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
41569 macro.
41570 [copysignf]: Likewise.
41571
41572 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41573
41574 * crypt/md5-crypt.c: Fix formatting.
41575
41576 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
41577
41578 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
41579 (b64_from_24bit): New function.
41580
41581 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41582
41583 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
41584 libc_hidden_builtin_def to ifunc.
41585 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41586 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
41587
41588 2014-05-21 Roland McGrath <roland@hack.frob.com>
41589
41590 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
41591 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
41592
41593 2014-05-21 Joseph Myers <joseph@codesourcery.com>
41594
41595 * nscd/Depend (linuxthreads): Remove.
41596 (nptl): Add.
41597 * resolv/Depend (linuxthreads): Remove.
41598 * rt/Depend (linuxthreads): Remove.
41599
41600 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
41601 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
41602 $(common-objpfx)elf/.
41603 (link-libc-before-gnulib): Likewise.
41604 (elfobjdir): Remove variable.
41605 * Makefile (install): Use $(elf-objpfx) instead of
41606 $(common-objpfx)elf/.
41607 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
41608 $(elfobjdir)/.
41609 (link-libc-deps): Likewise.
41610 ($(common-objpfx)libc.so): Likewise.
41611 ($(common-objpfx)linkobj/libc.so): Likewise.
41612 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
41613 instead of $(common-objpfx)elf/.
41614 (symbolic-link-list): Likewise.
41615 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41616 [$(cross-compiling) = no]: Likewise.
41617 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
41618 $(elfobjdir)/.
41619 (static-gnulib-arch): Likewise.
41620 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41621 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
41622 $(common-objpfx)elf/.
41623
41624 2014-05-21 Richard Henderson <rth@redhat.com>
41625
41626 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41627 (SINGLE_THREAD_P): Use the correct width load. Fold
41628 into the ldr offset.
41629
41630 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
41631 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
41632
41633 2014-05-20 Joseph Myers <joseph@codesourcery.com>
41634
41635 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
41636 (libgcc_s_resume): Use __attribute_used__.
41637 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
41638 Likewise.
41639
41640 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41641
41642 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
41643 optimization when used with float constants.
41644
41645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41646
41647 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
41648
41649 [BZ #16915]
41650 * locale/nl_langinfo_l.c: Make direct reference to every
41651 _nl_current_CATEGORY symbol.
41652 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
41653 (tests-static): Add tst-langinfo-static.
41654 (tests-special): Add tst-langinfo-static.out.
41655 ($(objpfx)tst-langinfo.out): Redirect output.
41656 ($(objpfx)tst-langinfo-static.out): New.
41657 * localedata/tst-langinfo.sh: Send output to stdout.
41658 * localedata/tst-langinfo-static.c: New file.
41659
41660 [BZ #16965]
41661 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
41662 when the shift amount is modulo the limb size.
41663
41664 2014-05-20 Richard Henderson <rth@redhat.com>
41665
41666 [BZ #16967]
41667 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
41668 Change type of sa_flags from unsigned int to int.
41669
41670 [BZ #16966]
41671 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
41672
41673 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
41674
41675 2014-05-20 Will Newton <will.newton@linaro.org>
41676
41677 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41678 Test the return value of the system call in the nocancel case.
41679
41680 2014-05-20 Will Newton <will.newton@linaro.org>
41681 Yvan Roux <yvan.roux@linaro.org>
41682
41683 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
41684 #include of asm/ptrace.h.
41685 (PTRACE_GET_THREAD_AREA): Remove #undef.
41686 (PTRACE_GETHBPREGS): Likewise.
41687 (PTRACE_SETHBPREGS): Likewise.
41688 (struct user_regs_struct): New structure.
41689 (struct user_fpsimd_struct): New structure.
41690 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
41691 #include of asm/ptrace.h and second #include of sys/user.h.
41692 (PTRACE_GET_THREAD_AREA): Remove #undef.
41693 (PTRACE_GETHBPREGS): Likewise.
41694 (PTRACE_SETHBPREGS): Likewise.
41695 (ELF_NGREG): Use new struct user_regs_struct.
41696 (elf_fpregset_t): Use new struct user_fpsimd_struct.
41697
41698 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41699
41700 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
41701 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
41702
41703 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
41704
41705 [BZ #16958]
41706 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
41707 membar to avoid block loads/stores to overlap previous stores.
41708
41709 2014-05-17 Richard Henderson <rth@redhat.com>
41710
41711 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
41712 Create the __##syscall_name##_nocancel entry point.
41713 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
41714 Remove; let the sysdep-cancel.h code create it.
41715
41716 2014-05-17 David S. Miller <davem@davemloft.net>
41717
41718 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
41719 Protect with __USE_GNU.
41720 (TIOCSET_TEMPT): Likewise.
41721 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41722 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
41723 these are already provided in bits/ioctl-types.h
41724
41725 2014-05-16 Roland McGrath <roland@hack.frob.com>
41726
41727 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
41728 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
41729
41730 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
41731 Use wait4 regardless of [__NR_waitpid].
41732
41733 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
41734
41735 PR libgcc/60166
41736 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41737 (_FP_NANSIGN_Q): Set the quiet bit.
41738
41739 2014-05-16 Joseph Myers <joseph@codesourcery.com>
41740
41741 * benchtests/Makefile
41742 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
41743 not $(common-objpfx)math/libm.so.
41744 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
41745 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
41746 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
41747 $(common-objpfx)dlfcn/libdl.so.
41748 ($(objpfx)tst-audit8): Depend on $(libm), not
41749 $(common-objpfx)math/libm.so.
41750 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
41751 not $(common-objpfx)dlfcn/libdl.so.
41752 * math/Makefile
41753 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
41754 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
41755 [$(build-shared) = yes].
41756 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
41757 $(common-objpfx)nptl/libpthread.so.
41758 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
41759 $(common-objpfx)math/libm.so$(libm.so-version) or
41760 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
41761 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
41762 $(common-objpfx)dlfcn/libdl.so.
41763 * setjmp/Makefile (link-libm): Remove variable.
41764 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
41765 * stdio-common/Makefile (link-libm): Remove variable.
41766 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
41767 * stdlib/Makefile (link-libm): Remove variable.
41768 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
41769 ($(objpfx)tst-strtod-round): Likewise.
41770 ($(objpfx)tst-tininess): Likewise.
41771 ($(objpfx)tst-strtod-underflow): Likewise.
41772 ($(objpfx)tst-strtod6): Likewise.
41773 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
41774 $(libdl), not $(common-objpfx)nptl/libpthread.so and
41775 $(common-objpfx)dlfcn/libdl.so.
41776
41777 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41778
41779 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
41780 BSD terminal modes definitions.
41781
41782 2014-05-16 Roland McGrath <roland@hack.frob.com>
41783
41784 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
41785 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
41786
41787 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
41788 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
41789 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
41790 Don't do #include_next.
41791 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
41792 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
41793 Don't do #include_next.
41794 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
41795 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
41796 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
41797 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
41798
41799 2014-05-16 Allan McRae <allan@archlinux.org>
41800
41801 * po/sv.po: Update Swedish translation from translation project.
41802
41803 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
41804 in sed expression.
41805
41806 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
41807
41808 [BZ #16917]
41809 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
41810 errno if the TIOCGPTN ioctl fails with an error different than
41811 EINVAL.
41812 * login/tst-ptsname.c: New file.
41813 * login/Makefile (tests): Add tst-ptsname.
41814
41815 [BZ #16943]
41816 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
41817 and prlimit64.
41818
41819 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
41820
41821 [BZ #16849]
41822 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
41823 herrno to return EAI_AGAIN.
41824
41825 2014-05-14 Roland McGrath <roland@hack.frob.com>
41826
41827 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
41828 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
41829 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
41830 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
41831 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
41832 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
41833 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
41834 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
41835 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
41836 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
41837 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
41838 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
41839 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
41840 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
41841 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
41842 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
41843 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
41844 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
41845 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
41846 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
41847 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
41848 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
41849 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
41850 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
41851 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
41852 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
41853 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
41854 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
41855 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
41856 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
41857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
41858 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
41859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
41860 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
41861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41862 Moved ...
41863 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
41864 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
41865 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
41866 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
41867 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
41868 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
41869 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
41870 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
41871 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
41872 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
41873 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
41874 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
41875 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
41876 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
41877 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
41878 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
41879 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
41880 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
41881 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
41882 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
41883 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
41884 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
41885 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
41886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
41887 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
41888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
41889 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
41890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41891 Moved ...
41892 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
41893 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
41894 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
41895 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
41896 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
41897 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
41898 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
41899 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
41900 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
41901 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
41902 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
41903 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
41904 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
41905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
41906 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
41907 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
41908 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
41909 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
41910 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
41911 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41912 Moved ...
41913 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
41914 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
41915 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
41916
41917 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
41918 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
41919 (libpthread-sysdep_routines): Add elision-related stuff here instead.
41920 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
41921 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
41922 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
41923 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
41924 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
41925 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
41926 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
41927 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
41928 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
41929 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
41930 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
41931 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
41932 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
41933 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
41934 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
41935 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
41936 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
41937 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
41938 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
41939 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
41940 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
41941 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
41942 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
41943 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
41944 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
41945 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
41946 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
41947 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
41948
41949 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
41950 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
41951
41952 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
41953 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
41954 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
41955 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
41956 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
41957 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
41958 Moved ...
41959 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
41960 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
41961 Moved ...
41962 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
41963 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
41964 Moved ...
41965 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
41966 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
41967 Moved ...
41968 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
41969 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
41970 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
41971 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
41972 Moved ...
41973 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
41974 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
41975 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
41976 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
41977 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
41978 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
41979 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
41980 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
41981 Moved ...
41982 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
41983 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41984 Moved ...
41985 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41986 ... here.
41987 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
41988 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
41989 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
41990 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
41991 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41992 Moved ...
41993 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41994 ... here.
41995 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
41996 Moved ...
41997 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
41998 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
41999 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
42000 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
42001 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
42002 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
42003 Moved ...
42004 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
42005 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
42006 Moved ...
42007 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
42008 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
42009 Moved ...
42010 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
42011 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
42012 Moved ...
42013 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
42014 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
42015 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
42016 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
42017 Moved ...
42018 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
42019 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
42020 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
42021 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
42022 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
42023 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
42024 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
42025 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
42026 Moved ...
42027 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
42028 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
42029 Moved ...
42030 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
42031 ... here.
42032 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
42033 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
42034 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
42035 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
42036 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
42037 Moved ...
42038 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
42039 ... here.
42040 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
42041 Moved ...
42042 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
42043 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
42044 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
42045 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
42046 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
42047 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
42048 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
42049 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
42050 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
42051 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
42052 Moved ...
42053 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
42054 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
42055 Moved ...
42056 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
42057 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
42058 Moved ...
42059 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
42060 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
42061 Moved ...
42062 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
42063 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
42064 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
42065 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
42066 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
42067 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
42068 Moved ...
42069 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
42070 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
42071 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
42072 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
42073 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
42074 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
42075 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
42076 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
42077 Moved ...
42078 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
42079 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
42080 Moved ...
42081 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
42082 ... here.
42083 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
42084 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
42085 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
42086 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
42087 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
42088 Moved ...
42089 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
42090 ... here.
42091 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
42092 Moved ...
42093 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
42094 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
42095 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
42096 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
42097 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
42098 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
42099 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
42100 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
42101 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
42102 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
42103 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
42104
42105 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
42106 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
42107
42108 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
42109 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
42110
42111 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
42112 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
42113 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
42114 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
42115 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
42116 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
42117 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
42118 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
42119 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
42120 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
42121 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
42122 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
42123 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
42124 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
42125 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
42126 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
42127 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
42128 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
42129 Moved ...
42130 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
42131 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
42132 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
42133 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
42134 Moved ...
42135 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
42136 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
42137 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
42138 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
42139 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
42140 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
42141 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
42142 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
42143 Moved ...
42144 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
42145 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
42146 Moved ...
42147 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
42148 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
42149 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
42150 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
42151 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
42152 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
42153 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
42154 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
42155 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
42156 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
42157 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
42158 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
42159 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
42160 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
42161 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
42162 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
42163 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
42164
42165 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
42166 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
42167 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
42168 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
42169 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
42170
42171 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
42172 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
42173 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
42174 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
42175 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
42176 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
42177 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
42178 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
42179 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
42180 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
42181
42182 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
42183 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
42184
42185 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
42186 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
42187 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
42188 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
42189 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
42190 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
42191 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
42192 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
42193 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
42194 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
42195 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
42196 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
42197 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
42198 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
42199 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
42200 Update #include.
42201 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
42202 Likewise.
42203 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
42204 Likewise.
42205 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
42206 Likewise.
42207 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
42208 Likewise.
42209 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
42210 Likewise.
42211 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
42212 Likewise.
42213 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
42214 Likewise.
42215 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
42216 Likewise.
42217 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
42218 Likewise.
42219 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
42220 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
42221 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
42222 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
42223 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
42224 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
42225 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
42226 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
42227 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
42228 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
42229 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
42230 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
42231 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
42232 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
42233 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
42234
42235 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
42236 that was previously under [RESET_PID].
42237 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
42238 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
42239 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
42240
42241 * sysdeps/i386/nptl/Implies: New file.
42242 * sysdeps/x86_64/nptl/Implies: New file.
42243 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
42244 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
42245 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
42246 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
42247
42248 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
42249 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42250 (__libc_vfork): New strong alias.
42251 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
42252 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
42253
42254 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
42255 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42256 (__libc_vfork): New strong alias.
42257 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
42258 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
42259
42260 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
42261 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42262 (__libc_vfork): New strong alias.
42263 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
42264 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
42265 * nptl/pt-vfork.c: New file.
42266 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
42267 (libpthread: GLIBC_2.20): New version set (empty).
42268
42269 2014-05-14 Will Newton <will.newton@linaro.org>
42270
42271 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
42272 rather than #if.
42273
42274 2014-05-14 Joseph Myers <joseph@codesourcery.com>
42275
42276 [BZ #16564]
42277 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
42278 arguments with exponent 65 or above.
42279 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
42280 arguments 0x1p113L or above.
42281 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
42282 to arguments 0x1p107L or above.
42283 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
42284 positive arguments with exponent 65 or above.
42285 * math/auto-libm-test-in: Add more tests of log1p.
42286 * math/auto-libm-test-out: Regenerated.
42287
42288 [BZ #16928]
42289 * math/s_cacos.c (__cacos): Ensure zero real part of result from
42290 non-finite arguments is +0.
42291 * math/s_cacosf.c (__cacosf): Likewise.
42292 * math/s_cacosl.c (__cacosl): Likewise.
42293 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
42294 * sysdeps/i386/fpu/libm-test-ulps: Update.
42295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42296
42297 [BZ #16927]
42298 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
42299 value.
42300 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
42301 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
42302 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
42303 for explicit high bit of mantissa when testing for argument equal
42304 to 1.
42305 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
42306 * sysdeps/i386/fpu/libm-test-ulps: Update.
42307 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42308
42309 [BZ #16516]
42310 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
42311 (__erf): Scale by 16 instead of 8 in potentially underflowing
42312 case. Ensure exception if result actually underflows.
42313 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
42314 (__erff): Scale by 16 instead of 8 in potentially underflowing
42315 case. Ensure exception if result actually underflows.
42316 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
42317 (efx8): Remove variable.
42318 (__erfl): Scale by 16 instead of 8 in potentially underflowing
42319 case. Ensure exception if result actually underflows.
42320 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
42321 (efx8): Remove variable.
42322 (__erfl): Scale by 16 instead of 8 in potentially underflowing
42323 case. Ensure exception if result actually underflows.
42324 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
42325 (efx8): Remove variable.
42326 (__erfl): Scale by 16 instead of 8 in potentially underflowing
42327 case. Ensure exception if result actually underflows.
42328 * math/auto-libm-test-in: Add more tests of erf.
42329 * math/auto-libm-test-out: Regenerated.
42330
42331 2014-05-14 Andreas Schwab <schwab@suse.de>
42332
42333 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
42334 Remove code conditionalized on USE___THREAD.
42335
42336 * config.h.in (HAVE_PT_CHOWN): Define as 0.
42337 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
42338 not definedness.
42339
42340 2014-05-14 Joseph Myers <joseph@codesourcery.com>
42341
42342 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
42343 Define unconditionally.
42344 (__ASSUME_O_CLOEXEC): Likewise.
42345 (__ASSUME_SOCK_CLOEXEC): Likewise.
42346 (__ASSUME_IN_NONBLOCK): Likewise.
42347 (__ASSUME_PIPE2): Likewise.
42348 (__ASSUME_EVENTFD2): Likewise.
42349 (__ASSUME_SIGNALFD4): Likewise.
42350 (__ASSUME_DUP3): Likewise.
42351 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42352 (__ASSUME_DUP3): Do not define.
42353 (__ASSUME_EVENTFD2): Likewise.
42354 (__ASSUME_IN_NONBLOCK): Likewise.
42355 (__ASSUME_O_CLOEXEC): Likewise.
42356 (__ASSUME_PIPE2): Likewise.
42357 (__ASSUME_SIGNALFD4): Likewise.
42358 (__ASSUME_SOCK_CLOEXEC): Likewise.
42359 (__ASSUME_UTIMES): Undefine.
42360 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42361 (__ASSUME_UTIMES): Do not define.
42362 (__ASSUME_O_CLOEXEC): Likewise.
42363 (__ASSUME_SOCK_CLOEXEC): Likewise.
42364 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
42365 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
42366 0x020621].
42367 (__ASSUME_PIPE2): Likewise.
42368 (__ASSUME_EVENTFD2): Likewise.
42369 (__ASSUME_SIGNALFD4): Likewise.
42370 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
42371 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
42372 Do not define.
42373 (__ASSUME_EVENTFD2): Likewise.
42374 (__ASSUME_SIGNALFD4): Likewise.
42375 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
42376 (__ASSUME_32BITUIDS): Likewise.
42377 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42378 (__ASSUME_IPC64): Likewise.
42379 (__ASSUME_ST_INO_64_BIT): Likewise.
42380 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
42381 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
42382 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42383 (__ASSUME_UTIMES): Do not define.
42384 (__ASSUME_PSELECT): Likewise.
42385 (__ASSUME_PPOLL): Likewise.
42386 (__ASSUME_O_CLOEXEC): Likewise.
42387 (__ASSUME_SOCK_CLOEXEC): Likewise.
42388 (__ASSUME_IN_NONBLOCK): Likewise.
42389 (__ASSUME_PIPE2): Likewise.
42390 (__ASSUME_EVENTFD2): Likewise.
42391 (__ASSUME_SIGNALFD4): Likewise.
42392 (__ASSUME_DUP3): Likewise.
42393 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42394 (__ASSUME_UTIMES): Likewise.
42395 (__ASSUME_O_CLOEXEC): Likewise.
42396 (__ASSUME_SOCK_CLOEXEC): Likewise.
42397 (__ASSUME_IN_NONBLOCK): Likewise.
42398 (__ASSUME_PIPE2): Likewise.
42399 (__ASSUME_EVENTFD2): Likewise.
42400 (__ASSUME_SIGNALFD4): Likewise.
42401 (__ASSUME_DUP3): Likewise.
42402 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
42403 (__ASSUME_UTIMES): Likewise.
42404 (__ASSUME_O_CLOEXEC): Likewise.
42405 (__ASSUME_SOCK_CLOEXEC): Likewise.
42406 (__ASSUME_IN_NONBLOCK): Likewise.
42407 (__ASSUME_PIPE2): Likewise.
42408 (__ASSUME_EVENTFD2): Likewise.
42409 (__ASSUME_SIGNALFD4): Likewise.
42410 (__ASSUME_DUP3): Likewise.
42411 * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
42412 Likewise.
42413 (__ASSUME_UTIMES): Likewise.
42414 (__ASSUME_EVENTFD2): Likewise.
42415 (__ASSUME_SIGNALFD4): Likewise.
42416 * sysdeps/unix/sysv/linux/tile/kernel-features.h
42417 (__ASSUME_O_CLOEXEC): Likewise.
42418 (__ASSUME_SOCK_CLOEXEC): Likewise.
42419 (__ASSUME_IN_NONBLOCK): Likewise.
42420 (__ASSUME_PIPE2): Likewise.
42421 (__ASSUME_EVENTFD2): Likewise.
42422 (__ASSUME_SIGNALFD4): Likewise.
42423 (__ASSUME_DUP3): Likewise.
42424 (__ASSUME_UTIMES): Undefine.
42425
42426 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
42427 feclearexcept. Remove symbol versioning code.
42428 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
42429 symbol versioning code.
42430 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
42431 symbol versioning code.
42432 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
42433 feupdateenv. Remove symbol versioning code.
42434 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
42435 fegetexceptflag. Remove symbol versioning code.
42436 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
42437 fesetexceptflag. Remove symbol versioning code.
42438 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
42439 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
42440 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
42441 (__posix_fadvise64_l32): Remove prototype.
42442 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
42443 code.
42444
42445 2014-05-13 Roland McGrath <roland@hack.frob.com>
42446
42447 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
42448 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
42449 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
42450 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
42451
42452 2014-05-13 Sami Kerola <kerolasa@iki.fi>
42453
42454 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
42455 current working directory
42456
42457 2014-05-13 Roland McGrath <roland@hack.frob.com>
42458
42459 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
42460 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
42461 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
42462 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
42463 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
42464 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
42465 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
42466 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
42467 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
42468 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
42469 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
42470 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
42471 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
42472 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
42473 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
42474 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
42475 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
42476 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
42477 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
42478 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
42479 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
42480 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
42481 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
42482 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
42483 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
42484 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
42485 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
42486 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
42487 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
42488 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
42489 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
42490 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
42491 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
42492 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
42493 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
42494 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
42495 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
42496 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
42497 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
42498 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
42499 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
42500 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
42501
42502 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
42503 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
42504
42505 * sysdeps/unix/sysv/linux/arm/Makefile
42506 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
42507 Add rt-aeabi_unwind_cpp_pr1.
42508 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
42509 Add nptl-aeabi_unwind_cpp_pr1.
42510 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
42511 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
42512 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
42513 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42514 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
42515 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42516
42517 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
42518 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
42519 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
42520 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
42521
42522 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
42523 Deconditionalize the code that was previously under [RESET_PID].
42524 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
42525
42526 * sysdeps/generic/exit-thread.h: New file.
42527 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
42528 * include/unistd.h (__exit_thread): Remove declaration.
42529 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
42530 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
42531 * csu/libc-start.c: Include <exit-thread.h>.
42532 (LIBC_START_MAIN): Pass no argument to __exit_thread.
42533 * nptl/pthread_create.c: Include <exit-thread.h>.
42534 (start_thread): Call __exit_thread in place of __exit_thread_inline.
42535 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
42536 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
42537 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
42538 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
42539 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
42540 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
42541 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
42542 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
42543 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
42544 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
42545 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
42546 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
42547 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
42548 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
42549 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
42550 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
42551
42552 2014-05-13 Andreas Schwab <schwab@suse.de>
42553
42554 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
42555
42556 2014-05-12 Joseph Myers <joseph@codesourcery.com>
42557
42558 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
42559 (__ASSUME_UTIMES): Do not condition on kernel version.
42560 (__ASSUME_PSELECT): Define unconditionally.
42561 (__ASSUME_PPOLL): Likewise.
42562 (__ASSUME_ATFCTS): Likewise.
42563 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
42564 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
42565 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
42566 (__ASSUME_UTIMENSAT): Define unconditionally.
42567 (__ASSUME_PRIVATE_FUTEX): Likewise.
42568 (__ASSUME_FALLOCATE): Likewise.
42569 (__ASSUME_O_CLOEXEC): Likewise.
42570 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
42571 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
42572 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
42573 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
42574 (__ASSUME_IN_NONBLOCK): Likewise.
42575 (__ASSUME_PIPE2): Likewise.
42576 (__ASSUME_EVENTFD2): Likewise.
42577 (__ASSUME_SIGNALFD4): Likewise.
42578 (__ASSUME_DUP3): Likewise.
42579 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42580 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
42581 (__ASSUME_AT_RANDOM): Likewise.
42582 (__ASSUME_PREADV): Likewise.
42583 (__ASSUME_PWRITEV): Likewise.
42584 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
42585 (__ASSUME_F_GETOWN_EX): Define unconditionally.
42586 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
42587 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42588 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
42589 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42590 (__ASSUME_O_CLOEXEC): Define unconditionally.
42591 (__ASSUME_PSELECT): Do not undefine conditionally.
42592 (__ASSUME_PPOLL): Likewise.
42593 (__ASSUME_ATFCTS): Likewise.
42594 (__ASSUME_SET_ROBUST_LIST): Likewise.
42595 (__ASSUME_UTIMENSAT): Likewise.
42596 (__ASSUME_FDATASYNC): Define unconditionally.
42597 * sysdeps/unix/sysv/linux/arm/kernel-features.h
42598 (__ASSUME_SIGFRAME_V2): Likewise.
42599 )__ASSUME_EVENTFD2): Likewise.
42600 (__ASSUME_SIGNALFD4): Likewise.
42601 (__ASSUME_PSELECT): Do not undefine conditionally.
42602 (__ASSUME_PPOLL): Likewise.
42603 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42604 (__ASSUME_PSELECT): Define unconditionally.
42605 (__ASSUME_PPOLL): Likewise.
42606 (__ASSUME_O_CLOEXEC): Likewise.
42607 (__ASSUME_SOCK_CLOEXEC): Likewise.
42608 (__ASSUME_IN_NONBLOCK): Likewise.
42609 (__ASSUME_PIPE2): Likewise.
42610 (__ASSUME_EVENTFD2): Likewise.
42611 (__ASSUME_SIGNALFD4): Likewise.
42612 (__ASSUME_DUP3): Likewise.
42613 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42614 (__ASSUME_O_CLOEXEC): Likewise.
42615 (__ASSUME_SOCK_CLOEXEC): Likewise.
42616 (__ASSUME_IN_NONBLOCK): Likewise.
42617 (__ASSUME_PIPE2): Likewise.
42618 (__ASSUME_EVENTFD2): Likewise.
42619 (__ASSUME_SIGNALFD4): Likewise.
42620 (__ASSUME_DUP3): Likewise.
42621 * sysdeps/unix/sysv/linux/mips/kernel-features.h
42622 (__ASSUME_EVENTFD2): Likewise.
42623 (__ASSUME_SIGNALFD4): Likewise.
42624 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42625
42626 2014-05-12 Andreas Schwab <schwab@suse.de>
42627
42628 [BZ #16932]
42629 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
42630 (_nss_nis_gethostbyname4_r): Return error if item length is larger
42631 than maximum RPC packet size.
42632 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
42633 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
42634 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
42635 (_nss_nis_getservbyport_r): Likewise.
42636
42637 2014-05-12 Will Newton <will.newton@linaro.org>
42638
42639 * malloc/Makefile (tests): Add tst-mallopt.
42640 * malloc/tst-mallopt.c: New file.
42641
42642 2014-05-09 Roland McGrath <roland@hack.frob.com>
42643
42644 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
42645 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
42646
42647 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42648
42649 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
42650 (tst-tlsmod6.so): Likewise.
42651
42652 2014-05-09 Roland McGrath <roland@hack.frob.com>
42653
42654 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
42655
42656 2014-05-09 Joseph Myers <joseph@codesourcery.com>
42657
42658 [BZ #16064]
42659 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
42660 and <dl-procinfo.h>.
42661 (__fegetenv): Save SSE state in envp->__eip if supported.
42662 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
42663 envp->__eip if supported.
42664 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
42665 and <dl-procinfo.h>.
42666 (__fesetenv): Always set __eip, __cs_selector, __opcode,
42667 __data_offset and __data_selector in environment to 0. Set SSE
42668 state if supported.
42669 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
42670 test-fenv-sse.
42671 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
42672 -mfpmath=sse.
42673 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
42674
42675 2014-05-09 Will Newton <will.newton@linaro.org>
42676
42677 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
42678 and libc_relro_required for ARM.
42679 * sysdeps/arm/preconfigure: Regenerate.
42680
42681 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
42682 Stefan Liebler <stli@linux.vnet.ibm.com>
42683
42684 * config.make.in (enable-lock-elision): New Makefile variable.
42685 * configure.ac: Likewise.
42686 * configure: Regenerate.
42687 * sysdeps/s390/configure.ac:
42688 Add check for gcc transactions support.
42689 * sysdeps/s390/configure: Regenerate.
42690 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
42691 Build elision files if enabled.
42692 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
42693 Add lock elision support for s390.
42694 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
42695 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
42696 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
42697 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
42698 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
42699 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
42700 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
42701 Likewise.
42702 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
42703 Likewise.
42704 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
42705 Likewise.
42706 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
42707 Likewise.
42708 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
42709 (__lll_timedlock_elision, __lll_lock_elision)
42710 (__lll_unlock_elision, __lll_trylock_elision)
42711 (lll_timedlock_elision, lll_lock_elision)
42712 (lll_unlock_elision, lll_trylock_elision): Add.
42713 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42714 (pthread_mutex_t): Add lock elision support for s390.
42715
42716 2014-05-14 Wilco <wdijkstr@arm.com>
42717
42718 * sysdeps/arm/fclrexcpt.c: Cleanup.
42719 * sysdeps/arm/fedisblxcpt.c: Cleanup.
42720 * sysdeps/arm/feenablxcpt.c: Cleanup.
42721 * sysdeps/arm/fegetenv.c: Cleanup.
42722 * sysdeps/arm/fegetexcept.c: Cleanup.
42723 * sysdeps/arm/fegetround.c: Cleanup.
42724 * sysdeps/arm/feholdexcpt.c: Cleanup.
42725 * sysdeps/arm/fesetenv.c: Cleanup.
42726 * sysdeps/arm/fesetround.c: Cleanup.
42727 * sysdeps/arm/feupdateenv.c: Cleanup.
42728 * sysdeps/arm/fgetexcptflg.c: Cleanup.
42729 * sysdeps/arm/fraiseexcpt.c: Cleanup.
42730 * sysdeps/arm/fsetexcptflg.c: Cleanup.
42731 * sysdeps/arm/ftestexcept.c: Cleanup.
42732 * sysdeps/arm/get-rounding-mode.h: Cleanup.
42733 * sysdeps/arm/setfpucw.c: Cleanup.
42734
42735 2014-05-09 Will Newton <will.newton@linaro.org>
42736
42737 * sysdeps/arm/armv7/strcmp.S: New file.
42738 * NEWS: Mention addition of ARMv7 optimized strcmp.
42739
42740 2014-05-08 Roland McGrath <roland@hack.frob.com>
42741
42742 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
42743 look for %.ac rather than %.in.
42744
42745 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
42746 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
42747 * sysdeps/mach/hurd/configure: Regenerated.
42748 * sysdeps/unix/sysv/linux/configure: Regenerated.
42749
42750 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
42751
42752 2014-05-07 Steve Ellcey <sellcey@mips.com>
42753
42754 [BZ# 16922]
42755 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
42756 (LONG_SUB): Ditto.
42757 (PTR_SUB): Ditto.
42758
42759 2014-05-07 Andreas Schwab <schwab@suse.de>
42760
42761 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
42762 when skipping over non-matching result from nscd.
42763
42764 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
42765
42766 [BZ #16876]
42767 * nptl/sockperf.c (client): Check socket return value.
42768
42769 [BZ #16877]
42770 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
42771 nscd security class.
42772
42773 2014-05-06 Roland McGrath <roland@hack.frob.com>
42774
42775 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
42776 * sysdeps/arm/unwind.h: ... here.
42777
42778 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
42779
42780 [BZ# 16916]
42781 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
42782 Define.
42783
42784 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
42785
42786 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
42787 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
42788 multiarch strncpy for PPC64.
42789 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
42790 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
42791 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
42792 multiarch optimizations.
42793 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42794 (__libc_ifunc_impl_list): Likewise.
42795 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
42796 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
42797 multiarch stpncpy for PPC64.
42798 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
42799 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
42800
42801 2014-05-06 Andreas Schwab <schwab@suse.de>
42802
42803 [BZ #16912]
42804 * gmon/mcount.c (_MCOUNT_DECL): Use
42805 atomic_compare_and_exchange_bool_acq instead of
42806 catomic_compare_and_exchange_bool_acq.
42807
42808 2014-05-05 Roland McGrath <roland@hack.frob.com>
42809
42810 * elf/Makefile (others, install-bin): Remove pldd.
42811 (pldd-modules): Variable removed.
42812 ($(objpfx)pldd): Target removed.
42813 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
42814 (others, install-bin): Append pldd here.
42815 ($(objpfx)pldd): New target.
42816
42817 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
42818 to 0, so the first #if test emitted later doesn't see it undefined.
42819 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
42820 * sysdeps/gnu/errlist.c: Regenerated.
42821
42822 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42823
42824 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
42825 [libc_hidden_builtin_def]: Define to empty value.
42826 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
42827 [libc_hidden_builtin_def]: Likewise.
42828 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
42829 [libc_hidden_builtin_def]: Likewise.
42830 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
42831 [libc_hidden_builtin_def]: Likewise.
42832 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
42833 __redirect_memcpy and define ifunc as default hidden symbol.
42834 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
42835 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
42836
42837 2014-05-04 Adam Conrad <adconrad@0c3.net>
42838
42839 * locale/iso-4217.def: Reintroduce XDR currency.
42840
42841 2014-05-04 Allan McRae <allan@archlinux.org>
42842
42843 * po/eo.po: Update Esperanto translation from translation project.
42844
42845 2014-05-02 Carlos O'Donell <carlos@redhat.com>
42846
42847 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
42848 and FEATURE_INDEX_MAX to 1.
42849 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
42850
42851 2014-05-01 Steve Ellcey <sellcey@mips.com>
42852
42853 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
42854 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
42855 * iconvdata/big5.c (ONE_DIRECTION): Define.
42856 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
42857 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
42858 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
42859 * iconvdata/cp932.c (ONE_DIRECTION): Define.
42860 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
42861 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
42862 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
42863 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
42864 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
42865 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
42866 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
42867 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
42868 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
42869 * iconvdata/gbk.c (ONE_DIRECTION): Define.
42870 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
42871 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
42872 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
42873 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
42874 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
42875 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
42876 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
42877 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
42878 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
42879 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
42880 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
42881 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
42882 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
42883 * iconvdata/iso646.c (ONE_DIRECTION): Define.
42884 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
42885 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
42886 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
42887 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
42888 * iconvdata/johab.c (ONE_DIRECTION): Define.
42889 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
42890 * iconvdata/sjis.c (ONE_DIRECTION): Define.
42891 * iconvdata/t.61.c (ONE_DIRECTION): Define.
42892 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
42893 * iconvdata/tscii.c (ONE_DIRECTION): Define.
42894 * iconvdata/uhc.c (ONE_DIRECTION): Define.
42895 * iconvdata/unicode.c (ONE_DIRECTION): Define.
42896 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
42897 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
42898 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
42899
42900 2014-05-01 Roland McGrath <roland@hack.frob.com>
42901
42902 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
42903 (_IO_JUMPS_OFFSET): Define to 0.
42904
42905 * nptl/sysdeps/pthread/bits/libc-lock.h
42906 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
42907 (__libc_lock_define_initialized_recursive): Always define using
42908 initializer. Modern compilers treat uninitialized (implicit zero) and
42909 explicit zero initializers the same (i.e. put the datum in bss).
42910
42911 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
42912
42913 * nscd/nscd-client.h: Include <string.h>.
42914
42915 2014-05-01 David S. Miller <davem@davemloft.net>
42916
42917 [BZ #16885]
42918 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
42919 multiple zero bytes exist at the end of a string.
42920 Reported by Aurelien Jarno <aurelien@aurel32.net>
42921
42922 * string/test-strcmp.c (check): Add explicit test for situations where
42923 there are multiple zero bytes after the first.
42924
42925 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
42926
42927 [BZ #16890]
42928 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
42929 when compiling wprintf.
42930 * stdio-common/tstdiomisc.c (t3): New function.
42931 (main): Call it.
42932
42933 2014-05-01 Steve Ellcey <sellcey@mips.com>
42934
42935 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
42936 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
42937 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
42938 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
42939
42940 2014-05-01 Steve Ellcey <sellcey@mips.com>
42941
42942 * stdlib/longlong.h: Updated from GCC.
42943
42944 2014-05-01 Will Newton <will.newton@linaro.org>
42945 Bernard Ogden <bernie.ogden@linaro.org>
42946
42947 * NEWS: Update fixed bug list.
42948
42949 [BZ #15119]
42950 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
42951
42952 2014-04-30 David S. Miller <davem@davemloft.net>
42953
42954 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
42955 (libc_feholdexcept_setround_sparc_ctx): New function.
42956 (libc_fesetenv_sparc_ctx): Likewise.
42957 (libc_feupdateenv_sparc_ctx): Likewise.
42958 (libc_feholdsetround_sparc_ctx): Likewise.
42959 (libc_feholdexcept_setround_ctx): Define.
42960 (libc_feholdexcept_setroundf_ctx): Likewise.
42961 (libc_feholdexcept_setroundl_ctx): Likewise.
42962 (libc_fesetenv_ctx): Likewise.
42963 (libc_fesetenvf_ctx): Likewise.
42964 (libc_fesetenvl_ctx): Likewise.
42965 (libc_feupdateenv_ctx): Likewise.
42966 (libc_feupdateenvf_ctx): Likewise.
42967 (libc_feupdateenvl_ctx): Likewise.
42968 (libc_feresetround_ctx): Likewise.
42969 (libc_feresetroundf_ctx): Likewise.
42970 (libc_feresetroundl_ctx): Likewise.
42971 (libc_feholdsetround_ctx): Likewise.
42972 (libc_feholdsetroundf_ctx): Likewise.
42973 (libc_feholdsetroundl_ctx): Likewise.
42974
42975 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42976 with __USE_GNU instead of XOPEN cpp guards.
42977
42978 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
42979 0.
42980
42981 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42982 with XOPEN cpp guards.
42983
42984 2014-04-30 Julian Brown <julian@codesourcery.com>
42985
42986 [BZ #16888]
42987 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
42988 handling.
42989
42990 2014-04-30 Joseph Myers <joseph@codesourcery.com>
42991
42992 [BZ #9894]
42993 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
42994 Change to 2.6.32.
42995 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
42996 * sysdeps/unix/sysv/linux/configure: Regenerated.
42997 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
42998 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
42999 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
43000 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
43001 * README: Update reference to required Linux kernel version.
43002 * manual/install.texi (Linux): Update reference to required Linux
43003 kernel headers version.
43004 * INSTALL: Regenerated.
43005
43006 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
43007 header inclusion.
43008 [POSIX] (limits.h): Likewise.
43009 [POSIX] (math.h): Likewise.
43010 [POSIX] (sys/wait.h): Likewise.
43011 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
43012 function.
43013 [POSIX] (stddef.h): Do not allow header inclusion.
43014
43015 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43016
43017 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
43018
43019 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
43020
43021 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
43022 Return immediately after lll_futex_wake.
43023
43024 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43025
43026 [BZ #16791]
43027 * nscd/nscd-client.h (datahead_init_common): Initialize entire
43028 structure.
43029 (datahead_init_pos): Call datahead_init_common early.
43030 (datahead_init_neg): Likewise.
43031
43032 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
43033 datahead_init_neg): New functions.
43034 * nscd/aicache.c (addhstaiX): Use them.
43035 * nscd/grpcache.c (cache_addgr): Likewise.
43036 * nscd/hstcache.c (cache_addhst): Likewise.
43037 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43038 * nscd/netgroupcache.c (do_notfound): Likewise.
43039 (addgetnetgrentX): Likewise.
43040 (addinnetgrX): Likewise.
43041 * nscd/pwdcache.c (cache_addpw): Likewise.
43042 * nscd/servicescache.c (cache_addserv): Likewise.
43043
43044 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43045 Atsushi Onoe <atsushi@onoe.org>
43046
43047 [BZ #14308]
43048 [BZ #12994]
43049 [BZ #13651]
43050 * resolv/res_query.c (__libc_res_nsearch): Return if at least
43051 one response is valid.
43052 * resolv/res_send.c (send_dg): Check for validity of other
43053 response if the current response is a referral.
43054
43055 2014-04-29 Steve Ellcey <sellcey@mips.com>
43056
43057 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
43058
43059 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
43060
43061 [BZ #16823]
43062 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
43063 Always divide by positive zero when computing -Inf result.
43064 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
43065 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
43066
43067 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43068
43069 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
43070 FPSCR if value do not change.
43071 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
43072 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
43073 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
43074 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
43075 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
43076 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
43077 function.
43078
43079 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
43080
43081 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
43082 * sysdeps/unix/sysv/linux/hppa: Move directory from
43083 ports/systeps/unix/sysv/linux/hppa.
43084 * README: Update listing for hppa-*-linux-gnu.
43085
43086 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
43087
43088 [BZ #16754]
43089 * manual/stdio.texi (Hook functions): Fix types of stream hook
43090 functions.
43091 [BZ #16854]
43092 * socket/sys/socket.h: Fix typo in comment.
43093
43094 2014-04-28 Wilco <wdijkstr@arm.com>
43095
43096 * sysdeps/arm/fenv_private.h: New file.
43097 * sysdeps/arm/math_private.h: New file.
43098 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
43099
43100 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
43101
43102 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
43103 with __int128_t.
43104 (La_x86_64_retval): Likewise.
43105
43106 2014-04-24 Ian Bolton <ian.bolton@arm.com>
43107
43108 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
43109 fpsr if value didn't change.
43110 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
43111 to fpcr if value didn't change.
43112 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
43113 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
43114 fpsr or fpcr if value didn't change.
43115 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
43116 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
43117 fpcr if value didn't change.
43118 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
43119 to fpsr if value didn't change.
43120
43121 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
43122
43123 * nptl/tst-sem3.c: Use test-skeleton.c
43124 (main): Rename to do_test. Use return instead of
43125 exit.
43126 * nptl/tst-sem4.c: Use test-skeleton.c
43127 (main): Rename to do_test.
43128
43129 2014-04-22 David S. Miller <davem@davemloft.net>
43130
43131 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
43132 (struct sigaction): New struct member __glibc_reserved0, change
43133 type of sa_flags to int.
43134
43135 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
43136
43137 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
43138 (COUNT_LEADING_ZEROS_0): Define for AArch64.
43139
43140 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
43141
43142 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
43143 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
43144
43145 2014-04-22 Will Newton <will.newton@linaro.org>
43146 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
43147
43148 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
43149 (__longjmp): Add longjmp and longjmp_target SystemTap
43150 probes.
43151 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
43152 (__sigsetjmp): Add setjmp SystemTap probe.
43153
43154 2014-04-17 Carlos O'Donell <carlos@redhat.com>
43155
43156 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
43157 match manual order.
43158
43159 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43160
43161 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
43162
43163 * sysdeps/powerpc/fpu/fenv_private.h
43164 (libc_feholdexcept_setroundl_ctx): Define to
43165 libc_feholdexcept_setround_ppc_ctx.
43166 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
43167 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
43168 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
43169 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
43170
43171 2014-04-17 Ian Bolton <ian.bolton@arm.com>
43172
43173 * sysdeps/aarch64/math-tests.h: New file.
43174
43175 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
43176
43177 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
43178 New.
43179 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43180 Check and set bit_AVX2_Usable.
43181 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
43182 macro.
43183 (bit_AVX2): Likewise.
43184 (index_AVX2_Usable): Likewise.
43185 (CPUID_AVX2): Likewise.
43186 (HAS_AVX2): Likewise.
43187
43188 2014-04-17 Will Newton <will.newton@linaro.org>
43189
43190 * manual/setjmp.texi (System V contexts): Add note that
43191 calling setcontext on a context created by a call to a
43192 signal handler is undefined. Update text to note that
43193 setcontext from a signal handler is possible but not
43194 recommended.
43195
43196 [BZ #16629]
43197 * stdlib/tst-setcontext.c: Include signal.h.
43198 (main): Check that the signal stack before and
43199 after swapcontext is the same.
43200
43201 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
43202 Re-implement to restore registers in user code and avoid
43203 rt_sigreturn system call.
43204
43205 2014-04-17 Wilco <wdijkstr@arm.com>
43206
43207 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
43208 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
43209 * math/test-fenv.c: Skip exception trap tests on targets which only
43210 support non-stop mode.
43211
43212 2014-04-17 Ian Bolton <ian.bolton@arm.com>
43213 Wilco Dijkstra <wilco.dijkstra@arm.com>
43214
43215 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
43216 (libc_feholdsetround_aarch64_ctx)
43217 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
43218 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
43219 (libc_feresetround_ctx, libc_feresetroundf_ctx)
43220 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
43221 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
43222 (libc_feresetround_noexl_ctx): Define.
43223
43224 2014-04-16 Richard Henderson <rth@redhat.com>
43225
43226 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
43227
43228 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
43229 unwind tables.
43230
43231 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
43232 const from the non-libc, non-ldso copy.
43233
43234 * sysdeps/alpha/libm-test-ulps: Regenerate.
43235
43236 2014-04-16 Ian Bolton <ian.bolton@arm.com>
43237 Wilco Dijkstra <wilco.dijkstra@arm.com>
43238
43239 * sysdeps/aarch64/fpu/math_private.h: New file.
43240
43241 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
43242
43243 * sysdeps/aarch64/libm-test-ulps: Regenerate.
43244
43245 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
43246
43247 [BZ #16275]
43248 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
43249 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
43250 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
43251 Intel MPX bound registers before _dl_profile_fixup.
43252 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
43253 registers after _dl_profile_fixup. Save and restore bound
43254 registers bnd0/bnd1 when calling _dl_call_pltexit.
43255 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
43256 (LR_BND_OFFSET): Likewise.
43257 (LRV_BND0_OFFSET): Likewise.
43258 (LRV_BND1_OFFSET): Likewise.
43259
43260 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43261
43262 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
43263 to...
43264 * sysdeps/mach/hurd/i386/tls.h: ... here.
43265 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
43266 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
43267 fields.
43268
43269 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43270
43271 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
43272
43273 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
43274
43275 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43276
43277 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
43278
43279 [BZ #14770]
43280 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
43281 * sysdeps/s390/configure: Regenerate.
43282
43283 [BZ #16824]
43284 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
43285 Set round-to-nearest internally to reduce error accumulation.
43286
43287 2014-04-16 Alan Modra <amodra@gmail.com>
43288
43289 [BZ #16740]
43290 [BZ #16619]
43291 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
43292 * math/libm-test.inc (frexp_test_data): Add tests.
43293 * NEWS: Update fixed bug list.
43294
43295 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
43296
43297 * benchtests/Makefile: Depend on libraries in build directory.
43298 (bench-math): Separate out math tests.
43299 (bench-pthread): Separate out pthread tests.
43300 (bench): Include math and pthread tests.
43301
43302 2014-04-14 Carlos O'Donell <carlos@redhat.com>
43303
43304 [BZ #16831]
43305 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
43306 _dl_debug_initialize.
43307
43308 * configure.ac: Remove SELinux header check.
43309 * configure: Regenerate.
43310 * nscd/selinux.c (perms): Array of const char* to permission names.
43311 (nscd_request_avc_has_perm): Call security_deny_unknown to find
43312 default policy. Call string_to_security_class and string_to_av_perm to
43313 translate strings. Enforce default policy and call avs_has_perm with
43314 results of translated strings.
43315
43316 2014-04-13 David S. Miller <davem@davemloft.net>
43317
43318 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43319
43320 2014-04-12 Allan McRae <allan@archlinux.org>
43321
43322 [BZ #16838]
43323 * manual/string.texi (Collation Functions): Fix qsort argument
43324 order in example.
43325 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43326
43327 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
43328
43329 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
43330 Make the test a no-op if there are no exceptions defined.
43331
43332 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
43333
43334 * elf/Makefile (tests): make tst-dlopen-aout conditional on
43335 enable-hardcoded-path-in-tests
43336
43337 2014-04-11 Will Newton <will.newton@linaro.org>
43338
43339 * benchtests/Makefile (extra-objs): Add json-lib.o.
43340 (bench-func): Tidy up JSON output.
43341 * benchtests/bench-skeleton.c: Include json-lib.h.
43342 (main): Use JSON library functions to do output of
43343 benchmark results.
43344 * benchtests/bench-timing-type.c (main): Output the
43345 timing type simply, leaving formatting to the user.
43346 * benchtests/json-lib.c: New file.
43347 * benchtests/json-lib.h: Likewise.
43348
43349 2014-04-11 Torvald Riegel <triegel@redhat.com>
43350
43351 [BZ #15215]
43352 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
43353 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
43354 memory barriers. Add comments.
43355 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
43356 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
43357 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
43358 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
43359 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
43360 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
43361
43362 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
43363
43364 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
43365 * sysdeps/s390/s390-64/configure.ac: ... this ...
43366 * sysdeps/s390/configure.ac: ... to here.
43367 * sysdeps/s390/s390-32/configure: Delete file.
43368 * sysdeps/s390/s390-64/configure: Delete file.
43369 * sysdeps/s390/configure: Regenerate.
43370
43371 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
43372
43373 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
43374
43375 2014-04-11 Will Newton <will.newton@linaro.org>
43376
43377 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
43378 to zero if it is not defined elsewhere. (mtrim): Test
43379 the value of MALLOC_DEBUG with #if rather than #ifdef.
43380
43381 2014-04-10 Torvald Riegel <triegel@redhat.com>
43382
43383 * benchtests/pthread_once-inputs: New file.
43384 * benchtests/pthread_once-source.c: New file.
43385 * benchtests/README: Update documentation.
43386
43387 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
43388 H.J. Lu <hongjiu.lu@intel.com>
43389
43390 [BZ #16275]
43391 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
43392 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
43393 * sysdeps/x86_64/configure: Regenerated.
43394 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
43395 macro.
43396 (REGISTER_SAVE_RAX): Likewise.
43397 (REGISTER_SAVE_RCX): Likewise.
43398 (REGISTER_SAVE_RDX): Likewise.
43399 (REGISTER_SAVE_RSI): Likewise.
43400 (REGISTER_SAVE_RDI): Likewise.
43401 (REGISTER_SAVE_R8): Likewise.
43402 (REGISTER_SAVE_R9): Likewise.
43403 (REGISTER_SAVE_BND0): Likewise.
43404 (REGISTER_SAVE_BND1): Likewise.
43405 (REGISTER_SAVE_BND2): Likewise.
43406 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
43407 bound registers when calling _dl_fixup.
43408
43409 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43410
43411 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
43412 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
43413 of its definition.
43414 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
43415 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
43416 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
43417 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
43418 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
43419 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
43420 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
43421
43422 2014-04-09 Peter Brett <peter@peter-b.co.uk>
43423
43424 [BZ #15514]
43425 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
43426 pathconf(_PC_NAME_MAX).
43427
43428 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43429
43430 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
43431 Remove macro usage.
43432 (__PTHREAD_SPINS): Move definition to ...
43433 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43434 (__PTHREAD_SPINS): ... here.
43435 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43436 (__PTHREAD_SPIN): Likewise.
43437 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
43438 (__PTHREAD_SPIN): Likewise.
43439 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
43440 (__PTHREAD_SPIN): Likewise.
43441 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
43442 (__PTHREAD_SPIN): Likewise.
43443 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
43444 (__PTHREAD_SPIN): Likewise.
43445 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
43446 (__PTHREAD_SPIN): Likewise.
43447 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
43448 (__PTHREAD_SPIN): Likewise.
43449 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
43450 (__PTHREAD_SPIN): Likewise.
43451 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
43452 (__PTHREAD_SPIN): Likewise.
43453 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
43454 (__PTHREAD_SPIN): Likewise.
43455 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
43456 (__PTHREAD_SPIN): Likewise.
43457 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
43458 (__PTHREAD_SPIN): Likewise.
43459
43460 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
43461 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
43462 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
43463 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
43464 imply folder.
43465 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
43466 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
43467 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
43468 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
43469 correct imply path.
43470 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
43471 strlen symbol for non multi-arch builds.
43472 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
43473 missing hidden_def and weak_alias.
43474
43475 2014-04-08 Carlos O'Donell <carlos@redhat.com>
43476
43477 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
43478
43479 2014-04-07 Will Newton <will.newton@linaro.org>
43480
43481 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
43482 and contents. [!_LIBC] Remove #ifndef and contents.
43483 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
43484 * string/memccpy.c (__memccpy): Use ANSI prototype.
43485 * string/memfrob.c (memfrob): Likewise.
43486 * string/strcoll.c (STRCOLL): Likewise.
43487 * string/strlen.c (strlen): Likewise.
43488 * string/strtok.c (STRTOK): Likewise.
43489 * string/strcat.c: Remove unused #include of memcopy.h.
43490 (strcat): Use ANSI prototype.
43491 * string/strchr.c: Remove unused #include of memcopy.h.
43492 (strchr): Use ANSI prototype.
43493 * string/strcmp.c: Remove unused #include of memcopy.h.
43494 (strcmp): Use ANSI prototype.
43495 * string/strcpy.c: Remove unused #include of memcopy.h.
43496 (strcpy): Use ANSI prototype.
43497
43498 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43499
43500 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
43501 * config.make.in (config-extra-cppflags): Set it from
43502 libc_extra_cppflags.
43503 * configure.ac (libc_extra_cflags): Make it accumulate over
43504 configure fragments.
43505 (libc_extra_cppflags): New flag.
43506 * configure. Regenerate.
43507 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
43508 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
43509 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
43510 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
43511
43512 [BZ #16815]
43513 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
43514 result for FE_DOWNWARD rounding mode.
43515 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
43516 Likewise.
43517 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43518
43519 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
43520
43521 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
43522 in function argument name.
43523
43524 2014-04-03 David Svoboda <svoboda@cert.org>
43525
43526 [BZ #5666]
43527 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
43528 explicitly.
43529
43530 2014-04-03 Roland McGrath <roland@hack.frob.com>
43531
43532 * elf/dl-unmap-segments.h: New file.
43533 * sysdeps/generic/ldsodefs.h
43534 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
43535 * elf/dl-close.c: Include <dl-unmap-segments.h>.
43536 * elf/dl-fptr.c: Likewise.
43537 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
43538 * sysdeps/aarch64/tlsdesc.c: Likewise.
43539 * sysdeps/arm/tlsdesc.c: Likewise.
43540 * sysdeps/i386/tlsdesc.c: Likewise.
43541 * sysdeps/tile/dl-runtime.c: Likewise.
43542 * sysdeps/x86_64/tlsdesc.c: Likewise.
43543 * elf/dl-load.h: New file.
43544 * elf/dl-load.c: Include it.
43545 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
43546 Macros moved to dl-load.h.
43547 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
43548 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
43549 Use _dl_unmap_segments in place of __munmap.
43550 Break out segment-mapping loop into ...
43551 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
43552
43553 2014-04-03 Will Newton <will.newton@linaro.org>
43554
43555 * elf/dl-lookup.c (do_lookup_x): Remove comment
43556 referring to nested function and move variable
43557 declarations down to before first use.
43558
43559 2014-04-02 Joseph Myers <joseph@codesourcery.com>
43560
43561 [BZ #16799]
43562 [BZ #16800]
43563 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
43564 with 0 numerator.
43565 * math/s_catanf.c (__catanf): Likewise.
43566 * math/s_catanh.c (__catanh): Likewise.
43567 * math/s_catanhf.c (__catanhf): Likewise.
43568 * math/s_catanhl.c (__catanhl): Likewise.
43569 * math/s_catanl.c (__catanl): Likewise.
43570 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
43571 by positive zero when computing -Inf result.
43572 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
43573 (catanh_test): Likewise.
43574 * sysdeps/i386/fpu/libm-test-ulps: Update.
43575 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43576
43577 [BZ #16789]
43578 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
43579 instead of using underflowing value in computing result.
43580 * math/s_clog10.c (__clog10): Likewise.
43581 * math/s_clog10f.c (__clog10f): Likewise.
43582 * math/s_clog10l.c (__clog10l): Likewise.
43583 * math/s_clogf.c (__clogf): Likewise.
43584 * math/s_clogl.c (__clogl): Likewise.
43585 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
43586 (clog10_test): Likewise.
43587 * sysdeps/i386/fpu/libm-test-ulps: Update.
43588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43589
43590 2014-04-02 Alan Modra <amodra@gmail.com>
43591
43592 [BZ #16739]
43593 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
43594 output when value is near a power of two. Use int64_t for lx and
43595 remove casts. Use decimal rather than hex exponent constants.
43596 Don't use long double multiplication when double will suffice.
43597 * math/libm-test.inc (nextafter_test_data): Add tests.
43598 * NEWS: Add 16739 and 16786 to bug list.
43599
43600 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
43601
43602 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
43603
43604 2014-04-01 Will Newton <will.newton@linaro.org>
43605
43606 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
43607 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
43608
43609 2014-04-01 Florian Weimer <fweimer@redhat.com>
43610
43611 [BZ #13347]
43612 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
43613 * nptl/tst-setuid2.c: New file.
43614 * nptl/Makefile (xtests): Add tst-setuid2.
43615
43616 2014-04-01 Alan Modra <amodra@gmail.com>
43617
43618 [BZ #16786]
43619 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
43620
43621 2014-03-31 Joseph Myers <joseph@codesourcery.com>
43622
43623 [BZ #6803]
43624 [BZ #6804]
43625 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
43626 set errno as appropriate.
43627 * math/w_scalbf.c (__scalbf): Likewise.
43628 * math/w_scalbl.c (__scalbl): Likewise.
43629 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
43630 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
43631 * math/libm-test.inc (scalb_test_data): Add errno expectations.
43632 Add more NaN tests.
43633
43634 [BZ #16349]
43635 * math/w_atan2.c: Include <errno.h>.
43636 (__atan2): Set errno for result underflowing to zero.
43637 * math/w_atan2f.c: Include <errno.h>.
43638 (__atan2f): Set errno for result underflowing to zero.
43639 * math/w_atan2l.c: Include <errno.h>.
43640 (__atan2l): Set errno for result underflowing to zero.
43641 * math/auto-libm-test-in: Don't allow missing errno for some atan2
43642 tests.
43643 * math/auto-libm-test-out: Regenerated.
43644
43645 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43646
43647 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
43648 Encode instruction correctly in little endian.
43649 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
43650 Likewise.
43651 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
43652 Likewise.
43653 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
43654 Likewise.
43655 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
43656 Likewise.
43657
43658 2014-03-31 Joseph Myers <joseph@codesourcery.com>
43659
43660 [BZ #9894]
43661 * sysdeps/unix/sysv/linux/kernel-features.h
43662 [__sparc__ && !__arch64__ && !__sparc_v9__]
43663 (__ASSUME_SET_ROBUST_LIST): Do not define.
43664 [__sparc__ && !__arch64__ && !__sparc_v9__]
43665 (__ASSUME_FUTEX_LOCK_PI): Likewise.
43666 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
43667 Likewise.
43668 * sysdeps/unix/sysv/linux/arm/kernel-features.h
43669 (__ASSUME_FUTEX_LOCK_PI): Undefine.
43670 (__ASSUME_REQUEUE_PI): Likewise.
43671 (__ASSUME_SET_ROBUST_LIST): Likewise.
43672 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43673 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
43674 Undefine.
43675 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43676 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
43677 Likewise.
43678 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
43679 Likewise.
43680 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
43681 Likewise.
43682 * sysdeps/unix/sysv/linux/mips/kernel-features.h
43683 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
43684 Undefine.
43685 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
43686 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
43687 Likewise.
43688
43689 [BZ #16648]
43690 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43691 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
43692 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
43693
43694 2014-03-31 Will Newton <will.newton@linaro.org>
43695
43696 * benchtests/Makefile (bench): Add ffs and ffsll to list
43697 of tests.
43698 * benchtests/ffs-inputs: New file.
43699 * benchtests/ffsll-inputs: Likewise.
43700
43701 2014-03-29 Joseph Myers <joseph@codesourcery.com>
43702
43703 [BZ #16770]
43704 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
43705 too large before casting to int.
43706 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
43707 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
43708 * math/libm-test.inc (scalb_test_data): Add more tests.
43709
43710 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43711
43712 * benchtests/Makefile (DETAILED_OPT): New make option.
43713 (bench-func): Run benchmark program with -d if DETAILED_OPT is
43714 set.
43715 * benchtests/bench-skeleton.c: Include stdbool.h.
43716 (main): Store and print timings per input.
43717 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
43718 member to each argument value.
43719 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
43720 (_print_arg_data): Initialize per-input timing to 0.
43721
43722 * benchtests/Makefile (timing-type): New binary.
43723 (bench-clean): Also remove bench-timing-type.
43724 (bench): New target for timing-type.
43725 (bench-func): Print output in JSON format.
43726 * benchtests/bench-skeleton.c (main): Print output in JSON
43727 format.
43728 * benchtests/bench-timing-type.c: New file.
43729 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
43730 (TIMING_PRINT_STATS): Remove.
43731 * benchtests/scripts/bench.py (_print_arg_data): Store variant
43732 name separately.
43733
43734 * benchtests/bench-modf.c: Remove.
43735 * benchtests/modf-inputs: New inputs file.
43736
43737 2014-03-28 Joseph Myers <joseph@codesourcery.com>
43738
43739 [BZ #16362]
43740 * math/s_clog10.c (M_PI_LOG10E): New macro.
43741 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
43742 imaginary parts are 0.
43743 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
43744 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
43745 imaginary parts are 0.
43746 * math/s_clog10l.c (M_PI_LOG10El): New macro.
43747 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
43748 imaginary parts are 0.
43749 * math/libm-test.inc (clog10_test_data): Update expected results
43750 for when real and imaginary parts are 0.
43751
43752 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
43753
43754 * elf/dl-load.c: Finish conversion of __builtin_expect into
43755 __glibc_{un}likely.
43756
43757 2014-03-27 Joseph Myers <joseph@codesourcery.com>
43758
43759 [BZ #16348]
43760 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
43761 1+x for argument with exponent below -67.
43762 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
43763 Likewise.
43764 * math/auto-libm-test-in: Add more tests of exp.
43765 * math/auto-libm-test-out: Regenerated.
43766
43767 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43768
43769 [BZ #16759]
43770 * inet/getnetgrent_r.c (get_nonempty_val): New function.
43771 (nscd_getnetgrent): Use it.
43772
43773 [BZ #16760]
43774 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
43775 of stpcpy.
43776
43777 2014-03-27 Andi Kleen <ak@linux.intel.com>
43778
43779 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
43780 (lll_robust_lock, lll_cond_lock, lll_timedlock)
43781 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43782 (lll_robust_unlock): Remove out of line section. Use cfi
43783 intrinsics.
43784 (LLL_STUB_UNWIND_INFO*): Remove.
43785 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
43786 (lll_robust_lock, lll_cond_lock, lll_timedlock)
43787 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43788 (lll_robust_unlock): Remove out of line section. Use cfi
43789 intrinsics.
43790 (LLL_STUB_UNWIND_INFO*): Remove.
43791
43792 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43793
43794 [BZ #16758]
43795 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
43796 blank values.
43797
43798 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
43799
43800 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
43801
43802 2014-03-26 Joseph Myers <joseph@codesourcery.com>
43803
43804 [BZ #16198]
43805 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
43806 fnstenv.
43807 * math/test-fenv-preserve.c: New file.
43808 * math/Makefile (tests): Add test-fenv-preserve.
43809
43810 2014-03-26 Will Newton <will.newton@linaro.org>
43811
43812 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
43813
43814 2014-03-25 Roland McGrath <roland@hack.frob.com>
43815
43816 * scripts/versionlist.awk: Partition the version sets and emit all
43817 GLIBC_* (sorted) before all others (sorted).
43818
43819 2014-03-25 Joseph Myers <joseph@codesourcery.com>
43820
43821 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
43822 GLIBC_2.2.5 version.
43823
43824 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43825
43826 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
43827 calls.
43828
43829 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
43830 previous change.
43831
43832 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43833
43834 2014-03-25 Andreas Schwab <schwab@suse.de>
43835
43836 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
43837 label to be used after in6ailist is initialized.
43838
43839 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43840
43841 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43842 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43843
43844 2014-03-25 Joseph Myers <joseph@codesourcery.com>
43845
43846 [BZ #16357]
43847 [BZ #16599]
43848 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
43849 min_plus_half.
43850 (fp_formats): Update initializers.
43851 (init_fp_formats): Initialize new field.
43852 (output_for_one_input_case): Allow underflow for results up to
43853 min_plus_half.
43854 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
43855 * math/auto-libm-test-in: Don't mark some underflows from asin and
43856 atanh as spurious.
43857 * math/auto-libm-test-out: Regenerated.
43858 * sysdeps/i386/fpu/libm-test-ulps: Update.
43859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43860
43861 2014-03-25 Andreas Schwab <schwab@suse.de>
43862
43863 * libio/Makefile (tst-ftell-partial-wide-ENV)
43864 (tst-ftell-active-handler-ENV): Define.
43865
43866 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
43867
43868 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
43869
43870 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
43871
43872 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
43873
43874 2014-03-24 Joseph Myers <joseph@codesourcery.com>
43875
43876 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
43877 * sysdeps/x86_64/fpu/multiarch/e_exp.c
43878 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
43879
43880 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
43881
43882 [BZ #16634]
43883 * elf/dl-load.c (open_verify): Add mode parameter.
43884 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
43885 (open_path): Change from boolean 'secure' to complete flag 'mode'
43886 (_dl_map_object): Adjust.
43887 * elf/Makefile (tests): Add tst-dlopen-aout.
43888 * elf/tst-dlopen-aout.c: New test.
43889
43890 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
43891
43892 [BZ #16714]
43893 * sysdeps/unix/sysv/linux/s390/bits/stat.h
43894 (struct stat): Rename member pad0 to __glibc_reserved0.
43895
43896 [BZ #16712]
43897 * sysdeps/s390/s390-32/bits/wordsize.h
43898 (__WORDSIZE32_SIZE_ULONG): New define.
43899 * sysdeps/s390/s390-64/bits/wordsize.h
43900 (__WORDSIZE32_SIZE_ULONG): Likewise.
43901 * sysdeps/generic/stdint.h (SIZE_MAX):
43902 Define as UL if __WORDSIZE32_SIZE_ULONG.
43903
43904 [BZ #16713]
43905 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
43906 (__glibc_reserved0): New variable.
43907 (sa_flags): Change type to int.
43908
43909 * posix/Makefile (before-compile): Use += before-compile instead
43910 of a :=.
43911
43912 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43913 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43914
43915 2014-03-20 Andreas Schwab <schwab@suse.de>
43916
43917 [BZ #16743]
43918 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
43919 non-matching result from nscd.
43920
43921 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
43922
43923 * scripts/bench.py: Moved to ...
43924 * benchtests/scripts/bench.py: ... here.
43925 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
43926
43927 2014-03-24 Andreas Schwab <schwab@suse.de>
43928
43929 [BZ #16002]
43930 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
43931 alloca_account and account alloca use for struct in6ailist.
43932
43933 2014-03-24 Joseph Myers <joseph@codesourcery.com>
43934
43935 [BZ #16284]
43936 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
43937 rounding mode to recompute results that overflow to infinity or
43938 underflow to zero.
43939 * math/auto-libm-test-in: Don't mark tests as expected to fail for
43940 bug 16284.
43941 * math/auto-libm-test-out: Regenerated.
43942 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
43943 (ccosh_test): Likewise.
43944 (csin_test_data): Use plus_oflow.
43945 (csin_test): Use ALL_RM_TEST.
43946 (csinh_test_data): Use plus_oflow.
43947 (csinh_test): Use ALL_RM_TEST.
43948 * sysdeps/i386/fpu/libm-test-ulps: Update.
43949 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43950
43951 2014-03-21 Joseph Myers <joseph@codesourcery.com>
43952
43953 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
43954 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
43955 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
43956
43957 [BZ #16731]
43958 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
43959 when x - 1 is zero.
43960 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
43961 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
43962 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
43963 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
43964 argument is 1.
43965 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
43966 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
43967 zero.
43968 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
43969 * sysdeps/i386/fpu/libm-test-ulps: Update.
43970 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43971
43972 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
43973
43974 * scripts/bench.pl: Remove file.
43975 * scripts/bench.py: New benchmark script.
43976 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
43977 * benchtests/README: Mention python dependency.
43978 * scripts/pylintrc: New file.
43979 * scripts/pylint: New file.
43980
43981 * bits/mathdef.h: Use #ifdef instead of #if.
43982 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
43983 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43984 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
43985 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43986 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
43987 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43988
43989 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43990 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
43991
43992 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
43993 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
43994 and strpbrk-ppc64 objects.
43995 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43996 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
43997 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
43998 multiarch strpbrk for POWER7.
43999 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
44000 multiarch strpbrk for PPC64.
44001 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
44002 ifunc selector.
44003 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
44004 strpbrk for POWER7.
44005
44006 2014-03-20 Joseph Myers <joseph@codesourcery.com>
44007
44008 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
44009 (atan_test): Likewise.
44010 (atanh_test_data): Use NO_TEST_INLINE for two tests.
44011 (atanh_test): Use ALL_RM_TEST.
44012 (atan2_test_data): Likewise.
44013 (cabs_test): Likewise.
44014 (cacosh_test): Likewise.
44015 (carg_test): Likewise.
44016 (casin_test): Likewise.
44017 (casinh_test): Likewise.
44018 (cbrt_test): Likewise.
44019 (csqrt_test): Likewise.
44020 (erf_test): Likewise.
44021 (erfc_test): Likewise.
44022 (pow10_test): Likewise.
44023 (exp2_test): Likewise.
44024 (hypot_test): Likewise.
44025 (j0_test): Likewise.
44026 (j1_test): Likewise.
44027 (lgamma_test): Likewise.
44028 (gamma_test): Likewise.
44029 (sincos_test): Likewise.
44030 (tanh_test): Likewise.
44031 (y0_test): Likewise.
44032 (y1_test): Likewise.
44033 * sysdeps/i386/fpu/libm-test-ulps: Update.
44034 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44035
44036 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44037
44038 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
44039 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
44040 and strcspn-ppc64 objects.
44041 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44042 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
44043 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
44044 multiarch strcspn for POWER7.
44045 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
44046 multiarch strcspn for PPC64.
44047 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
44048 ifunc selector.
44049 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
44050 strcspn for POWER7.
44051
44052 2014-03-20 Joseph Myers <joseph@codesourcery.com>
44053
44054 * math/gen-libm-test.pl (generate_testfile): Expect only function
44055 name as argument to AUTO_TESTS_* and pass results for all rounding
44056 modes to parse_args.
44057 (parse_auto_input): Separate inputs of automatic tests from
44058 outputs before storing in %auto_tests.
44059 * math/libm-test.inc (acos_test_data): Update call to
44060 AUTO_TESTS_f_f.
44061 (acos_test): Use ALL_RM_TEST.
44062 (acos_tonearest_test_data): Remove.
44063 (acos_test_tonearest): Likewise.
44064 (acos_towardzero_test_data): Likewise.
44065 (acos_test_towardzero): Likewise.
44066 (acos_downward_test_data): Likewise.
44067 (acos_test_downward): Likewise.
44068 (acos_upward_test_data): Likewise.
44069 (acos_test_upward): Likewise.
44070 (acosh_test_data): Update call to AUTO_TESTS_f_f.
44071 (asin_test_data): Likewise.
44072 (asin_test): Use ALL_RM_TEST.
44073 (asin_tonearest_test_data): Remove.
44074 (asin_test_tonearest): Likewise.
44075 (asin_towardzero_test_data): Likewise.
44076 (asin_test_towardzero): Likewise.
44077 (asin_downward_test_data): Likewise.
44078 (asin_test_downward): Likewise.
44079 (asin_upward_test_data): Likewise.
44080 (asin_test_upward): Likewise.
44081 (asinh_test_data): Update call to AUTO_TESTS_f_f.
44082 (atan_test_data): Likewise.
44083 (atanh_test_data): Likewise.
44084 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
44085 (cabs_test_data): Update call to AUTO_TESTS_c_f.
44086 (carg_test_data): Likewise.
44087 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
44088 (ccos_test_data): Update call to AUTO_TESTS_c_c.
44089 (ccosh_test_data): Likewise.
44090 (cexp_test_data): Likewise.
44091 (clog_test_data): Likewise.
44092 (clog10_test_data): Likewise.
44093 (cos_test_data): Update call to AUTO_TESTS_f_f.
44094 (cos_test): Use ALL_RM_TEST.
44095 (cos_tonearest_test_data): Remove.
44096 (cos_test_tonearest): Likewise.
44097 (cos_towardzero_test_data): Likewise.
44098 (cos_test_towardzero): Likewise.
44099 (cos_downward_test_data): Likewise.
44100 (cos_test_downward): Likewise.
44101 (cos_upward_test_data): Likewise.
44102 (cos_test_upward): Likewise.
44103 (cosh_test_data): Update call to AUTO_TESTS_f_f.
44104 (cosh_test): Use ALL_RM_TEST.
44105 (cosh_tonearest_test_data): Remove.
44106 (cosh_test_tonearest): Likewise.
44107 (cosh_towardzero_test_data): Likewise.
44108 (cosh_test_towardzero): Likewise.
44109 (cosh_downward_test_data): Likewise.
44110 (cosh_test_downward): Likewise.
44111 (cosh_upward_test_data): Likewise.
44112 (cosh_test_upward): Likewise.
44113 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
44114 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
44115 (ctan_test_data): Likewise.
44116 (ctan_test): Use ALL_RM_TEST.
44117 (ctan_tonearest_test_data): Remove.
44118 (ctan_test_tonearest): Likewise.
44119 (ctan_towardzero_test_data): Likewise.
44120 (ctan_test_towardzero): Likewise.
44121 (ctan_downward_test_data): Likewise.
44122 (ctan_test_downward): Likewise.
44123 (ctan_upward_test_data): Likewise.
44124 (ctan_test_upward): Likewise.
44125 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
44126 (ctanh_test): Use ALL_RM_TEST.
44127 (ctanh_tonearest_test_data): Remove.
44128 (ctanh_test_tonearest): Likewise.
44129 (ctanh_towardzero_test_data): Likewise.
44130 (ctanh_test_towardzero): Likewise.
44131 (ctanh_downward_test_data): Likewise.
44132 (ctanh_test_downward): Likewise.
44133 (ctanh_upward_test_data): Likewise.
44134 (ctanh_test_upward): Likewise.
44135 (erf_test_data): Update call to AUTO_TESTS_f_f.
44136 (erfc_test_data): Likewise.
44137 (exp_test_data): Likewise.
44138 (exp_test): Use ALL_RM_TEST.
44139 (exp_tonearest_test_data): Remove.
44140 (exp_test_tonearest): Likewise.
44141 (exp_towardzero_test_data): Likewise.
44142 (exp_test_towardzero): Likewise.
44143 (exp_downward_test_data): Likewise.
44144 (exp_test_downward): Likewise.
44145 (exp_upward_test_data): Likewise.
44146 (exp_test_upward): Likewise.
44147 (exp10_test_data): Update call to AUTO_TESTS_f_f.
44148 (exp10_test): Use ALL_RM_TEST.
44149 (exp10_tonearest_test_data): Remove.
44150 (exp10_test_tonearest): Likewise.
44151 (exp10_towardzero_test_data): Likewise.
44152 (exp10_test_towardzero): Likewise.
44153 (exp10_downward_test_data): Likewise.
44154 (exp10_test_downward): Likewise.
44155 (exp10_upward_test_data): Likewise.
44156 (exp10_test_upward): Likewise.
44157 (exp2_test_data): Update call to AUTO_TESTS_f_f.
44158 (expm1_test_data): Likewise.
44159 (expm1_test): Use ALL_RM_TEST.
44160 (expm1_tonearest_test_data): Remove.
44161 (expm1_test_tonearest): Likewise.
44162 (expm1_towardzero_test_data): Likewise.
44163 (expm1_test_towardzero): Likewise.
44164 (expm1_downward_test_data): Likewise.
44165 (expm1_test_downward): Likewise.
44166 (expm1_upward_test_data): Likewise.
44167 (expm1_test_upward): Likewise.
44168 (fma_test_data): Update call to AUTO_TESTS_fff_f.
44169 (fma_test): Use ALL_RM_TEST.
44170 (fma_towardzero_test_data): Remove.
44171 (fma_test_towardzero): Likewise.
44172 (fma_downward_test_data): Likewise.
44173 (fma_test_downward): Likewise.
44174 (fma_upward_test_data): Likewise.
44175 (fma_test_upward): Likewise.
44176 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
44177 (j0_test_data): Update call to AUTO_TESTS_f_f.
44178 (j1_test_data): Likewise.
44179 (jn_test_data): Update call to AUTO_TESTS_if_f.
44180 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
44181 (log_test_data): Update call to AUTO_TESTS_f_f.
44182 (log10_test_data): Likewise.
44183 (log1p_test_data): Likewise.
44184 (log2_test_data): Likewise.
44185 (pow_test_data): Update call to AUTO_TESTS_ff_f.
44186 (pow_tonearest_test_data): Likewise.
44187 (sin_test_data): Update call to AUTO_TESTS_f_f.
44188 (sin_test): Use ALL_RM_TEST.
44189 (sin_tonearest_test_data): Remove.
44190 (sin_test_tonearest): Likewise.
44191 (sin_towardzero_test_data): Likewise.
44192 (sin_test_towardzero): Likewise.
44193 (sin_downward_test_data): Likewise.
44194 (sin_test_downward): Likewise.
44195 (sin_upward_test_data): Likewise.
44196 (sin_test_upward): Likewise.
44197 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
44198 (sinh_test_data): Update call to AUTO_TESTS_f_f.
44199 (sinh_test): Use ALL_RM_TEST.
44200 (sinh_tonearest_test_data): Remove.
44201 (sinh_test_tonearest): Likewise.
44202 (sinh_towardzero_test_data): Likewise.
44203 (sinh_test_towardzero): Likewise.
44204 (sinh_downward_test_data): Likewise.
44205 (sinh_test_downward): Likewise.
44206 (sinh_upward_test_data): Likewise.
44207 (sinh_test_upward): Likewise.
44208 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
44209 (sqrt_test): Use ALL_RM_TEST.
44210 (sqrt_tonearest_test_data): Remove.
44211 (sqrt_test_tonearest): Likewise.
44212 (sqrt_towardzero_test_data): Likewise.
44213 (sqrt_test_towardzero): Likewise.
44214 (sqrt_downward_test_data): Likewise.
44215 (sqrt_test_downward): Likewise.
44216 (sqrt_upward_test_data): Likewise.
44217 (sqrt_test_upward): Likewise.
44218 (tan_test_data): Update call to AUTO_TESTS_f_f.
44219 (tan_test): Use ALL_RM_TEST.
44220 (tan_tonearest_test_data): Remove.
44221 (tan_test_tonearest): Likewise.
44222 (tan_towardzero_test_data): Likewise.
44223 (tan_test_towardzero): Likewise.
44224 (tan_downward_test_data): Likewise.
44225 (tan_test_downward): Likewise.
44226 (tan_upward_test_data): Likewise.
44227 (tan_test_upward): Likewise.
44228 (tanh_test_data): Update call to AUTO_TESTS_f_f.
44229 (tgamma_test_data): Likewise.
44230 (y0_test_data): Likewise.
44231 (y1_test_data): Likewise.
44232 (yn_test_data): Update call to AUTO_TESTS_if_f.
44233 (main): Do not call removed functions.
44234
44235 2014-03-19 Joseph Myers <joseph@codesourcery.com>
44236
44237 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
44238 (ldexp_test_data): Remove.
44239 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
44240 scalbn_test_data.
44241 (scalb_test): Use ALL_RM_TEST.
44242
44243 2014-03-19 Andreas Schwab <schwab@suse.de>
44244
44245 * nscd/nscd.service: Also invalidate netgroup cache on reload.
44246
44247 2014-03-19 Joseph Myers <joseph@codesourcery.com>
44248
44249 [BZ #16649]
44250 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44251 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
44252 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
44253 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44254 (__ASSUME_PREADV): Undefine.
44255 (__ASSUME_PWRITEV): Likewise.
44256
44257 2014-03-18 Roland McGrath <roland@hack.frob.com>
44258
44259 * bits/mman-linux.h: Add comment about non-Linux use.
44260 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
44261 bits/mman-linux.h resting place.
44262
44263 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
44264 * bits/mman-linux.h: ... here.
44265
44266 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44267
44268 * conform/conformtest.pl: Add standard definition when calling C
44269 preprocessor on data files.
44270 (checknamespace): Remove unused variable.
44271
44272 2014-03-18 Joseph Myers <joseph@codesourcery.com>
44273
44274 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
44275 minus_oflow, plus_uflow and minus_uflow in expected results.
44276 * math/libm-test.inc (scalbn_test_data): Add more tests of
44277 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
44278 minus_uflow.
44279 (scalbn_test): Use ALL_RM_TEST.
44280 (scalbln_test_data): Add more tests of negative arguments. Use
44281 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
44282 (scalbln_test): Use ALL_RM_TEST.
44283
44284 2014-03-18 Roland McGrath <roland@hack.frob.com>
44285
44286 * scripts/abilist.awk: Ignore symbols marked with .hidden.
44287
44288 2014-03-18 Will Newton <will.newton@linaro.org>
44289
44290 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
44291 inaccurate comment.
44292
44293 2014-03-18 Joseph Myers <joseph@codesourcery.com>
44294
44295 * Makerules [!subdir] (check-abi): Exit with error status if a
44296 test failed.
44297
44298 2014-03-17 Joseph Myers <joseph@codesourcery.com>
44299
44300 * math/libm-test.inc (nearbyint_test_data): Include all tests used
44301 for rint. Include results for all rounding modes.
44302 (nearbyint_test): Use ALL_RM_TEST.
44303 (rint_test_data): Include all tests used for nearbyint.
44304
44305 2014-03-17 Will Newton <will.newton@linaro.org>
44306
44307 * nptl/sysdeps/pthread/pthread.h: Revert previous
44308 change.
44309
44310 * sysdeps/generic/ldsodefs.h: Revert previous
44311 change.
44312
44313 * libio/genops.c: Revert previous change.
44314 * libio/libioP.h: Likewise.
44315 * stdio-common/vfprintf.c: Likewise.
44316
44317 * sysdeps/generic/math_private.h: Revert previous
44318 change.
44319
44320 * sysdeps/generic/math_private.h: Check whether
44321 HAVE_RM_CTX is defined with #ifdef rather
44322 than #if.
44323
44324 * argp/argp-fmtstream.h: Check whether
44325 __STRICT_ANSI__ is defined with #ifdef rather
44326 than #if.
44327 * argp/argp.h: Likewise.
44328
44329 * libio/genops.c: Check whether
44330 _IO_JUMPS_OFFSET is defined with #ifdef rather
44331 than #if.
44332 * libio/libioP.h: Likewise.
44333 * stdio-common/vfprintf.c: Likewise.
44334
44335 * sysdeps/generic/ldsodefs.h: Check whether
44336 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
44337 than #if.
44338
44339 * nptl/sysdeps/pthread/pthread.h: Check
44340 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
44341 its value.
44342
44343 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
44344
44345 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
44346 setting O_APPEND.
44347 * libio/tst-ftell-active-handler.c (do_append_test): Add a
44348 test case.
44349
44350 [BZ #16680]
44351 * libio/fileops.c (_IO_file_open): Seek to end of file but
44352 don't cache the offset.
44353 (get_file_offset): Remove function.
44354 (do_ftell): Use cached offset when available.
44355 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
44356 don't cache the offset.
44357 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
44358 case.
44359 (do_one_test): Call it.
44360 (do_ftell_test): Fix up expected old offset for a+ mode.
44361 * libio/wfileops.c (do_ftell_wide): Used cached offset when
44362 available.
44363
44364 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
44365 up test status with function return status.
44366 (do_write_test): Likewise.
44367 (do_append_test): Likewise.
44368
44369 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
44370 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
44371 Remove.
44372
44373 2014-03-17 Joseph Myers <joseph@codesourcery.com>
44374
44375 * math/gen-libm-test.pl (parse_args): Handle results specified for
44376 each rounding mode separately.
44377 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
44378 tests and results from lrint_tonearest_test_data,
44379 lrint_towardzero_test_data, lrint_downward_test_data and
44380 lrint_upward_test_data.
44381 (lrint_test): Use ALL_RM_TEST.
44382 (lrint_tonearest_test_data): Remove.
44383 (lrint_test_tonearest): Likewise.
44384 (lrint_towardzero_test_data): Likewise.
44385 (lrint_test_towardzero): Likewise.
44386 (lrint_downward_test_data): Likewise.
44387 (lrint_test_downward): Likewise.
44388 (lrint_upward_test_data): Likewise.
44389 (lrint_test_upward): Likewise.
44390 (llrint_test_data): Merge in per-rounding-mode tests and results
44391 from llrint_tonearest_test_data, llrint_towardzero_test_data,
44392 llrint_downward_test_data and llrint_upward_test_data.
44393 (llrint_test): Use ALL_RM_TEST.
44394 (llrint_tonearest_test_data): Remove.
44395 (llrint_test_tonearest): Likewise.
44396 (llrint_towardzero_test_data): Likewise.
44397 (llrint_test_towardzero): Likewise.
44398 (llrint_downward_test_data): Likewise.
44399 (llrint_test_downward): Likewise.
44400 (llrint_upward_test_data): Likewise.
44401 (llrint_test_upward): Likewise.
44402 (rint_test_data): Merge in per-rounding-mode tests and results
44403 from rint_tonearest_test_data, rint_towardzero_test_data,
44404 rint_downward_test_data and rint_upward_test_data. Add
44405 per-rounding-mode results for tests not in those arrays.
44406 (rint_test): Use ALL_RM_TEST.
44407 (rint_tonearest_test_data): Remove.
44408 (rint_test_tonearest): Likewise.
44409 (rint_towardzero_test_data): Likewise.
44410 (rint_test_towardzero): Likewise.
44411 (rint_downward_test_data): Likewise.
44412 (rint_test_downward): Likewise.
44413 (rint_upward_test_data): Likewise.
44414 (rint_test_upward): Likewise.
44415 (main): Don't call removed functions.
44416
44417 2014-03-14 Roland McGrath <roland@hack.frob.com>
44418
44419 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
44420 "Compiled on ..." crapola. It is anti-useful.
44421
44422 2014-03-14 Joseph Myers <joseph@codesourcery.com>
44423
44424 * scripts/evaluate-test.sh: Handle fourth argument to determine
44425 whether test run should stop on failure.
44426 * Makeconfig (stop-on-test-failure): New variable.
44427 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
44428 $(stop-on-test-failure).
44429 * Makefile (tests): Give a summary of results from testing and
44430 exit with failure status if they include an ERROR or FAIL.
44431 (xtests): Likewise.
44432 * manual/install.texi (Configuring and compiling): Mention
44433 stop-on-test-failure=y.
44434 * INSTALL: Regenerated.
44435
44436 2014-03-14 Roland McGrath <roland@hack.frob.com>
44437
44438 * scripts/versionlist.awk: New file.
44439 * Makerules [$(build-shared) = yes]
44440 (postclean-generated): Add Versions.def, not Versions.def.v and
44441 Versions.def.v.i.
44442 ($(common-objpfx)Versions.def.v.i): Target removed.
44443 ($(common-objpfx)Versions.def): New target.
44444 ($(common-objpfx)Versions.all): Depend on that rather that
44445 $(common-objpfx)Versions.def.v.
44446 * Versions.def: File removed.
44447
44448 * Makeconfig (+gccwarn): Add -Wundef.
44449 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
44450 a dl-sysdep.h breaking its contract.
44451 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
44452 * include/stackinfo.h: New file.
44453 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
44454 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
44455 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
44456 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
44457 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
44458 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
44459 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44460 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44461 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44462 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44463 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44464 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
44465 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44466 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44467 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44468
44469 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44470
44471 [BZ #16707]
44472 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
44473 implementation.
44474 * math/libm-test.inc (round_test_data): Add more tests.
44475
44476 [BZ #16706]
44477 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
44478 implementation.
44479 * math/libm-test.inc (nearbyint_test_data): Add more tests.
44480
44481 [BZ #16701]
44482 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
44483 implementation.
44484 * math/libm-test.inc (ceil_test_data): Add more tests.
44485
44486 * math/libm-test.inc (trunc_test_data): Add more tests related to
44487 BZ#16414.
44488
44489 2014-03-14 Roland McGrath <roland@hack.frob.com>
44490
44491 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
44492 with #if rather than #ifdef.
44493 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
44494
44495 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
44496
44497 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
44498 first. Disable AVX-512 GCC support if assembler doesn't support
44499 it.
44500 * sysdeps/x86_64/configure: Regenerated.
44501
44502 2014-03-13 Carlos O'Donell <carlos@redhat.com>
44503
44504 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
44505 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
44506 (__old_pthread_attr_setstack): Likewise.
44507 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
44508 [!_STACK_GROWS_DOWN]: Likewise.
44509
44510 2014-03-13 Mike Frysinger <vapier@gentoo.org>
44511
44512 * config.make.in (have-bash2): Delete.
44513 * configure.ac (libc_cv_have_bash2): Delete.
44514 * configure: Regenerate.
44515 * elf/Makefile (common-ldd-rewrite): Rename to ...
44516 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
44517 (sh-ldd-rewrite): Delete.
44518 (bash-ldd-rewrite): Delete.
44519 (have-bash2): Delete checks.
44520 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
44521 ldd-rewrite.
44522
44523 * config.make.in (have-ksh): Delete.
44524 (KSH): Delete.
44525 * configure.ac (libc_cv_have_ksh): Delete.
44526 * configure: Regenerate.
44527
44528 * elf/Makefile: Delete $(have-ksh) check.
44529 ($(objpfx)sotruss): Change KSH to BASH.
44530 * elf/sotruss.ksh: Rename to ...
44531 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
44532 function style to match POSIX. Drop ksh vim mode setting.
44533
44534 * manual/time.texi (Specifying the Time Zone with TZ): Change
44535 Tuesday to Thursday.
44536
44537 * debug/tst-longjmp_chk2.c: Update header comment.
44538 (stackoverflow_handler): Add comment. Call assert on pass value.
44539
44540 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
44541
44542 [BZ #16194]
44543 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
44544 (HAVE_AVX512_ASM_SUPPORT): Likewise.
44545 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
44546 (La_x86_64_vector): Add zmm.
44547 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
44548 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
44549 ($(objpfx)tst-audit10): New target.
44550 ($(objpfx)tst-audit10.out): Likewise.
44551 (tst-audit10-ENV): New.
44552 (AVX512-CFLAGS): Likewise.
44553 (CFLAGS-tst-audit10.c): Likewise.
44554 (CFLAGS-tst-auditmod10a.c): Likewise.
44555 (CFLAGS-tst-auditmod10b.c): Likewise.
44556 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
44557 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
44558 * sysdeps/x86_64/configure: Regenerated.
44559 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
44560 AVX-512 zmm register support.
44561 (_dl_x86_64_save_sse): Likewise.
44562 (_dl_x86_64_restore_sse): Likewise.
44563 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
44564 size vector registers.
44565 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
44566 (ZMM_SIZE): Likewise.
44567 * sysdeps/x86_64/tst-audit10.c: New file.
44568 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
44569 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
44570
44571 2014-03-13 Roland McGrath <roland@hack.frob.com>
44572
44573 * configure.ac (HAVE_EHDR_START): New check.
44574 * configure: Regenerated.
44575 * config.h.in (HAVE_EHDR_START): New #undef.
44576 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
44577 assuming the lowest-addressed segment maps the start of the file.
44578
44579 2014-03-13 Joseph Myers <joseph@codesourcery.com>
44580
44581 * INSTALL: Regenerated.
44582
44583 2014-03-13 Will Newton <will.newton@linaro.org>
44584
44585 * manual/setjmp.texi (System V contexts): Improve
44586 clarity and grammar of documentation.
44587
44588 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
44589
44590 [BZ #16381]
44591 * elf/Makefile (tests): Add tst-pie2.
44592 (tests-pie): Add tst-pie2.
44593 * elf/tst-pie2.c: New file.
44594 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
44595 for ET_EXEC.
44596 * elf/rtld.c (map_doit): Load executable as lt_executable.
44597 (dl_main): Likewise.
44598
44599 2014-03-12 Joseph Myers <joseph@codesourcery.com>
44600
44601 [BZ #16642]
44602 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44603 (__ASSUME_PSELECT): Undefine.
44604
44605 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44606
44607 [BZ #16689]
44608 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
44609 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
44610 static build.
44611 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
44612 selector for static builds.
44613
44614 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44615
44616 [BZ #16695]
44617 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
44618 key in the buffer.
44619
44620 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44621
44622 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
44623 IFUNC selector for static builds.
44624
44625 2014-03-11 Joseph Myers <joseph@codesourcery.com>
44626
44627 * sysdeps/mips/math_private.h [__mips_hard_float]
44628 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
44629 libc_feresetround_mips_ctx.
44630 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
44631 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
44632 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
44633
44634 [BZ #16677]
44635 * math/s_nextafter.c (__nextafter): Do not return value from
44636 overflowing computation.
44637 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
44638 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
44639 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
44640 Likewise.
44641 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
44642 Likewise.
44643 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
44644 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
44645
44646 2014-03-11 Roland McGrath <roland@hack.frob.com>
44647
44648 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
44649 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
44650 Move sfi_sp use from the load-multiple (that no longer sets sp) to
44651 the new mov targetting sp.
44652
44653 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44654
44655 [BZ #16683]
44656 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
44657 Define it for static builds as well.
44658 (NO_BZERO_IMPL): Likewise.
44659
44660 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
44661
44662 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
44663 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
44664 multiarch strspn for PPC64.
44665 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
44666 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
44667 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44668 (__libc_ifunc_impl_list): Likewise.
44669 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
44670 multiarch optimizations
44671 * string/strspn.c (strspn): Using macro to redefine symbol name.
44672
44673 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
44674 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44675
44676 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
44677 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
44678 multiarch strncat for PPC64.
44679 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
44680 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
44681 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44682 (__libc_ifunc_impl_list): Likewise.
44683 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
44684 multiarch optimizations
44685
44686 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44687
44688 [BZ #16639]
44689 * nscd/nscd.service: Make service type forking.
44690
44691 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44692
44693 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
44694 sign in non default rounding modes.
44695 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
44696
44697 2014-03-08 Joseph Myers <joseph@codesourcery.com>
44698
44699 * math/libm-test.inc (ALL_RM_TEST): New macro.
44700 (ceil_test): Use ALL_RM_TEST.
44701 (cimag_test): Likewise.
44702 (conj_test): Likewise.
44703 (copysign_test): Likewise.
44704 (cproj_test): Likewise.
44705 (creal_test): Likewise.
44706 (fabs_test): Likewise.
44707 (floor_test): Likewise.
44708 (fmax_test): Likewise.
44709 (fmin_test): Likewise.
44710 (fmod_test): Likewise.
44711 (fpclassify_test): Likewise.
44712 (frexp_test): Likewise.
44713 (ilogb_test): Likewise.
44714 (isfinite_test): Likewise.
44715 (finite_test): Likewise.
44716 (isgreater_test): Likewise.
44717 (isgreaterequal_test): Likewise.
44718 (isinf_test): Likewise.
44719 (isless_test): Likewise.
44720 (islessequal_test): Likewise.
44721 (islessgreater_test): Likewise.
44722 (isnan_test): Likewise.
44723 (isnormal_test): Likewise.
44724 (issignaling_test): Likewise.
44725 (isunordered_test): Likewise.
44726 (logb_test): Likewise.
44727 (logb_downward_test_data): Remove.
44728 (logb_test_downward): Likewise.
44729 (lround_test): Use ALL_RM_TEST.
44730 (llround_test): Likewise.
44731 (modf_test): Likewise.
44732 (nexttoward_test): Likewise.
44733 (remainder_test): Likewise.
44734 (drem_test): Likewise.
44735 (remainder_tonearest_test_data): Likewise.
44736 (remainder_test_tonearest): Likewise.
44737 (drem_test_tonearest): Likewise.
44738 (remainder_towardzero_test_data): Likewise.
44739 (remainder_test_towardzero): Likewise.
44740 (drem_test_towardzero): Likewise.
44741 (remainder_downward_test_data): Likewise.
44742 (remainder_test_downward): Likewise.
44743 (drem_test_downward): Likewise.
44744 (remainder_upward_test_data): Likewise.
44745 (remainder_test_upward): Likewise.
44746 (drem_test_upward): Likewise.
44747 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
44748 (round_test): Use ALL_RM_TEST.
44749 (signbit_test): Likewise.
44750 (trunc_test): Likewise.
44751 (significand_test): Likewise.
44752 (main): Don't call removed functions.
44753
44754 2014-03-07 Joseph Myers <joseph@codesourcery.com>
44755
44756 [BZ #16674]
44757 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
44758 || __USE_XOPEN2K8].
44759 (ILL_ILLOPN): Likewise.
44760 (ILL_ILLADR): Likewise.
44761 (ILL_ILLTRP): Likewise.
44762 (ILL_PRVOPC): Likewise.
44763 (ILL_PRVREG): Likewise.
44764 (ILL_COPROC): Likewise.
44765 (ILL_BADSTK): Likewise.
44766 (FPE_INTDIV): Likewise.
44767 (FPE_INTOVF): Likewise.
44768 (FPE_FLTDIV): Likewise.
44769 (FPE_FLTOVF): Likewise.
44770 (FPE_FLTUND): Likewise.
44771 (FPE_FLTRES): Likewise.
44772 (FPE_FLTINV): Likewise.
44773 (FPE_FLTSUB): Likewise.
44774 (SEGV_MAPERR): Likewise.
44775 (SEGV_ACCERR): Likewise.
44776 (BUS_ADRALN): Likewise.
44777 (BUS_ADRERR): Likewise.
44778 (BUS_OBJERR): Likewise.
44779 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44780 (TRAP_TRACE): Likewise.
44781 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44782 __USE_XOPEN2K8].
44783 (CLD_KILLED): Likewise.
44784 (CLD_DUMPED): Likewise.
44785 (CLD_TRAPPED): Likewise.
44786 (CLD_STOPPED): Likewise.
44787 (CLD_CONTINUED): Likewise.
44788 (POLL_IN): Likewise.
44789 (POLL_OUT): Likewise.
44790 (POLL_MSG): Likewise.
44791 (POLL_ERR): Likewise.
44792 (POLL_PRI): Likewise.
44793 (POLL_HUP): Likewise.
44794 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
44795 Likewise.
44796 (ILL_ILLOPN): Likewise.
44797 (ILL_ILLADR): Likewise.
44798 (ILL_ILLTRP): Likewise.
44799 (ILL_PRVOPC): Likewise.
44800 (ILL_PRVREG): Likewise.
44801 (ILL_COPROC): Likewise.
44802 (ILL_BADSTK): Likewise.
44803 (FPE_INTDIV): Likewise.
44804 (FPE_INTOVF): Likewise.
44805 (FPE_FLTDIV): Likewise.
44806 (FPE_FLTOVF): Likewise.
44807 (FPE_FLTUND): Likewise.
44808 (FPE_FLTRES): Likewise.
44809 (FPE_FLTINV): Likewise.
44810 (FPE_FLTSUB): Likewise.
44811 (SEGV_MAPERR): Likewise.
44812 (SEGV_ACCERR): Likewise.
44813 (BUS_ADRALN): Likewise.
44814 (BUS_ADRERR): Likewise.
44815 (BUS_OBJERR): Likewise.
44816 (BUS_MCEERR_AR): Likewise.
44817 (BUS_MCEERR_AO): Likewise.
44818 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44819 (TRAP_TRACE): Likewise.
44820 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44821 __USE_XOPEN2K8].
44822 (CLD_KILLED): Likewise.
44823 (CLD_DUMPED): Likewise.
44824 (CLD_TRAPPED): Likewise.
44825 (CLD_STOPPED): Likewise.
44826 (CLD_CONTINUED): Likewise.
44827 (POLL_IN): Likewise.
44828 (POLL_OUT): Likewise.
44829 (POLL_MSG): Likewise.
44830 (POLL_ERR): Likewise.
44831 (POLL_PRI): Likewise.
44832 (POLL_HUP): Likewise.
44833 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
44834 (ILL_ILLOPN): Likewise.
44835 (ILL_ILLADR): Likewise.
44836 (ILL_ILLTRP): Likewise.
44837 (ILL_PRVOPC): Likewise.
44838 (ILL_PRVREG): Likewise.
44839 (ILL_COPROC): Likewise.
44840 (ILL_BADSTK): Likewise.
44841 (FPE_INTDIV): Likewise.
44842 (FPE_INTOVF): Likewise.
44843 (FPE_FLTDIV): Likewise.
44844 (FPE_FLTOVF): Likewise.
44845 (FPE_FLTUND): Likewise.
44846 (FPE_FLTRES): Likewise.
44847 (FPE_FLTINV): Likewise.
44848 (FPE_FLTSUB): Likewise.
44849 (SEGV_MAPERR): Likewise.
44850 (SEGV_ACCERR): Likewise.
44851 (BUS_ADRALN): Likewise.
44852 (BUS_ADRERR): Likewise.
44853 (BUS_OBJERR): Likewise.
44854 (BUS_MCEERR_AR): Likewise.
44855 (BUS_MCEERR_AO): Likewise.
44856 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44857 (TRAP_TRACE): Likewise.
44858 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44859 __USE_XOPEN2K8].
44860 (CLD_KILLED): Likewise.
44861 (CLD_DUMPED): Likewise.
44862 (CLD_TRAPPED): Likewise.
44863 (CLD_STOPPED): Likewise.
44864 (CLD_CONTINUED): Likewise.
44865 (POLL_IN): Likewise.
44866 (POLL_OUT): Likewise.
44867 (POLL_MSG): Likewise.
44868 (POLL_ERR): Likewise.
44869 (POLL_PRI): Likewise.
44870 (POLL_HUP): Likewise.
44871 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
44872 Likewise.
44873 (ILL_ILLOPN): Likewise.
44874 (ILL_ILLADR): Likewise.
44875 (ILL_ILLTRP): Likewise.
44876 (ILL_PRVOPC): Likewise.
44877 (ILL_PRVREG): Likewise.
44878 (ILL_COPROC): Likewise.
44879 (ILL_BADSTK): Likewise.
44880 (ILL_BADIADDR): Likewise.
44881 (ILL_BREAK): Likewise.
44882 (FPE_INTDIV): Likewise.
44883 (FPE_INTOVF): Likewise.
44884 (FPE_FLTDIV): Likewise.
44885 (FPE_FLTOVF): Likewise.
44886 (FPE_FLTUND): Likewise.
44887 (FPE_FLTRES): Likewise.
44888 (FPE_FLTINV): Likewise.
44889 (FPE_FLTSUB): Likewise.
44890 (FPE_DECOVF): Likewise.
44891 (FPE_DECDIV): Likewise.
44892 (FPE_DECERR): Likewise.
44893 (FPE_INVASC): Likewise.
44894 (FPE_INVDEC): Likewise.
44895 (SEGV_MAPERR): Likewise.
44896 (SEGV_ACCERR): Likewise.
44897 (SEGV_PSTKOVF): Likewise.
44898 (BUS_ADRALN): Likewise.
44899 (BUS_ADRERR): Likewise.
44900 (BUS_OBJERR): Likewise.
44901 (BUS_MCEERR_AR): Likewise.
44902 (BUS_MCEERR_AO): Likewise.
44903 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44904 (TRAP_TRACE): Likewise.
44905 (TRAP_BRANCH): Likewise.
44906 (TRAP_HWBKPT): Likewise.
44907 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44908 __USE_XOPEN2K8].
44909 (CLD_KILLED): Likewise.
44910 (CLD_DUMPED): Likewise.
44911 (CLD_TRAPPED): Likewise.
44912 (CLD_STOPPED): Likewise.
44913 (CLD_CONTINUED): Likewise.
44914 (POLL_IN): Likewise.
44915 (POLL_OUT): Likewise.
44916 (POLL_MSG): Likewise.
44917 (POLL_ERR): Likewise.
44918 (POLL_PRI): Likewise.
44919 (POLL_HUP): Likewise.
44920 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
44921 (ILL_ILLOPN): Likewise.
44922 (ILL_ILLADR): Likewise.
44923 (ILL_ILLTRP): Likewise.
44924 (ILL_PRVOPC): Likewise.
44925 (ILL_PRVREG): Likewise.
44926 (ILL_COPROC): Likewise.
44927 (ILL_BADSTK): Likewise.
44928 (FPE_INTDIV): Likewise.
44929 (FPE_INTOVF): Likewise.
44930 (FPE_FLTDIV): Likewise.
44931 (FPE_FLTOVF): Likewise.
44932 (FPE_FLTUND): Likewise.
44933 (FPE_FLTRES): Likewise.
44934 (FPE_FLTINV): Likewise.
44935 (FPE_FLTSUB): Likewise.
44936 (SEGV_MAPERR): Likewise.
44937 (SEGV_ACCERR): Likewise.
44938 (BUS_ADRALN): Likewise.
44939 (BUS_ADRERR): Likewise.
44940 (BUS_OBJERR): Likewise.
44941 (BUS_MCEERR_AR): Likewise.
44942 (BUS_MCEERR_AO): Likewise.
44943 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44944 (TRAP_TRACE): Likewise.
44945 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44946 __USE_XOPEN2K8].
44947 (CLD_KILLED): Likewise.
44948 (CLD_DUMPED): Likewise.
44949 (CLD_TRAPPED): Likewise.
44950 (CLD_STOPPED): Likewise.
44951 (CLD_CONTINUED): Likewise.
44952 (POLL_IN): Likewise.
44953 (POLL_OUT): Likewise.
44954 (POLL_MSG): Likewise.
44955 (POLL_ERR): Likewise.
44956 (POLL_PRI): Likewise.
44957 (POLL_HUP): Likewise.
44958 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
44959 (ILL_ILLOPN): Likewise.
44960 (ILL_ILLADR): Likewise.
44961 (ILL_ILLTRP): Likewise.
44962 (ILL_PRVOPC): Likewise.
44963 (ILL_PRVREG): Likewise.
44964 (ILL_COPROC): Likewise.
44965 (ILL_BADSTK): Likewise.
44966 (FPE_INTDIV): Likewise.
44967 (FPE_INTOVF): Likewise.
44968 (FPE_FLTDIV): Likewise.
44969 (FPE_FLTOVF): Likewise.
44970 (FPE_FLTUND): Likewise.
44971 (FPE_FLTRES): Likewise.
44972 (FPE_FLTINV): Likewise.
44973 (FPE_FLTSUB): Likewise.
44974 (SEGV_MAPERR): Likewise.
44975 (SEGV_ACCERR): Likewise.
44976 (BUS_ADRALN): Likewise.
44977 (BUS_ADRERR): Likewise.
44978 (BUS_OBJERR): Likewise.
44979 (BUS_MCEERR_AR): Likewise.
44980 (BUS_MCEERR_AO): Likewise.
44981 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44982 (TRAP_TRACE): Likewise.
44983 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44984 __USE_XOPEN2K8].
44985 (CLD_KILLED): Likewise.
44986 (CLD_DUMPED): Likewise.
44987 (CLD_TRAPPED): Likewise.
44988 (CLD_STOPPED): Likewise.
44989 (CLD_CONTINUED): Likewise.
44990 (POLL_IN): Likewise.
44991 (POLL_OUT): Likewise.
44992 (POLL_MSG): Likewise.
44993 (POLL_ERR): Likewise.
44994 (POLL_PRI): Likewise.
44995 (POLL_HUP): Likewise.
44996 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
44997 (ILL_ILLOPN): Likewise.
44998 (ILL_ILLADR): Likewise.
44999 (ILL_ILLTRP): Likewise.
45000 (ILL_PRVOPC): Likewise.
45001 (ILL_PRVREG): Likewise.
45002 (ILL_COPROC): Likewise.
45003 (ILL_BADSTK): Likewise.
45004 (FPE_INTDIV): Likewise.
45005 (FPE_INTOVF): Likewise.
45006 (FPE_FLTDIV): Likewise.
45007 (FPE_FLTOVF): Likewise.
45008 (FPE_FLTUND): Likewise.
45009 (FPE_FLTRES): Likewise.
45010 (FPE_FLTINV): Likewise.
45011 (FPE_FLTSUB): Likewise.
45012 (SEGV_MAPERR): Likewise.
45013 (SEGV_ACCERR): Likewise.
45014 (BUS_ADRALN): Likewise.
45015 (BUS_ADRERR): Likewise.
45016 (BUS_OBJERR): Likewise.
45017 (BUS_MCEERR_AR): Likewise.
45018 (BUS_MCEERR_AO): Likewise.
45019 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45020 (TRAP_TRACE): Likewise.
45021 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45022 __USE_XOPEN2K8].
45023 (CLD_KILLED): Likewise.
45024 (CLD_DUMPED): Likewise.
45025 (CLD_TRAPPED): Likewise.
45026 (CLD_STOPPED): Likewise.
45027 (CLD_CONTINUED): Likewise.
45028 (POLL_IN): Likewise.
45029 (POLL_OUT): Likewise.
45030 (POLL_MSG): Likewise.
45031 (POLL_ERR): Likewise.
45032 (POLL_PRI): Likewise.
45033 (POLL_HUP): Likewise.
45034 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
45035 (ILL_ILLOPN): Likewise.
45036 (ILL_ILLADR): Likewise.
45037 (ILL_ILLTRP): Likewise.
45038 (ILL_PRVOPC): Likewise.
45039 (ILL_PRVREG): Likewise.
45040 (ILL_COPROC): Likewise.
45041 (ILL_BADSTK): Likewise.
45042 (ILL_DBLFLT): Likewise.
45043 (ILL_HARDWALL): Likewise.
45044 (FPE_INTDIV): Likewise.
45045 (FPE_INTOVF): Likewise.
45046 (FPE_FLTDIV): Likewise.
45047 (FPE_FLTOVF): Likewise.
45048 (FPE_FLTUND): Likewise.
45049 (FPE_FLTRES): Likewise.
45050 (FPE_FLTINV): Likewise.
45051 (FPE_FLTSUB): Likewise.
45052 (SEGV_MAPERR): Likewise.
45053 (SEGV_ACCERR): Likewise.
45054 (BUS_ADRALN): Likewise.
45055 (BUS_ADRERR): Likewise.
45056 (BUS_OBJERR): Likewise.
45057 (BUS_MCEERR_AR): Likewise.
45058 (BUS_MCEERR_AO): Likewise.
45059 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45060 (TRAP_TRACE): Likewise.
45061 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45062 __USE_XOPEN2K8].
45063 (CLD_KILLED): Likewise.
45064 (CLD_DUMPED): Likewise.
45065 (CLD_TRAPPED): Likewise.
45066 (CLD_STOPPED): Likewise.
45067 (CLD_CONTINUED): Likewise.
45068 (POLL_IN): Likewise.
45069 (POLL_OUT): Likewise.
45070 (POLL_MSG): Likewise.
45071 (POLL_ERR): Likewise.
45072 (POLL_PRI): Likewise.
45073 (POLL_HUP): Likewise.
45074 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
45075 (ILL_ILLOPN): Likewise.
45076 (ILL_ILLADR): Likewise.
45077 (ILL_ILLTRP): Likewise.
45078 (ILL_PRVOPC): Likewise.
45079 (ILL_PRVREG): Likewise.
45080 (ILL_COPROC): Likewise.
45081 (ILL_BADSTK): Likewise.
45082 (FPE_INTDIV): Likewise.
45083 (FPE_INTOVF): Likewise.
45084 (FPE_FLTDIV): Likewise.
45085 (FPE_FLTOVF): Likewise.
45086 (FPE_FLTUND): Likewise.
45087 (FPE_FLTRES): Likewise.
45088 (FPE_FLTINV): Likewise.
45089 (FPE_FLTSUB): Likewise.
45090 (SEGV_MAPERR): Likewise.
45091 (SEGV_ACCERR): Likewise.
45092 (BUS_ADRALN): Likewise.
45093 (BUS_ADRERR): Likewise.
45094 (BUS_OBJERR): Likewise.
45095 (BUS_MCEERR_AR): Likewise.
45096 (BUS_MCEERR_AO): Likewise.
45097 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45098 (TRAP_TRACE): Likewise.
45099 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45100 __USE_XOPEN2K8].
45101 (CLD_KILLED): Likewise.
45102 (CLD_DUMPED): Likewise.
45103 (CLD_TRAPPED): Likewise.
45104 (CLD_STOPPED): Likewise.
45105 (CLD_CONTINUED): Likewise.
45106 (POLL_IN): Likewise.
45107 (POLL_OUT): Likewise.
45108 (POLL_MSG): Likewise.
45109 (POLL_ERR): Likewise.
45110 (POLL_PRI): Likewise.
45111 (POLL_HUP): Likewise.
45112 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
45113 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
45114
45115 [BZ #16670]
45116 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
45117 before #include of <time.h>.
45118 [!__USE_XOPEN2K] (__need_timespec): Likewise.
45119 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
45120 (test-xfail-UNIX98/sched.h/conform): Likewise.
45121
45122 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
45123
45124 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
45125 error absence of trapping exception support.
45126 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
45127
45128 2014-03-07 Joseph Myers <joseph@codesourcery.com>
45129
45130 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
45131 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
45132 * timezone/Makefile (testdata): Move definition above include of
45133 Rules.
45134 (test-zones): New variable.
45135 (tests-special): Add zone files.
45136 (build-testdata): Use $(evaluate-test).
45137
45138 * elf/Makefile (tests-special): Rename tests to end with .out.
45139 ($(objpfx)noload-mem): Likewise.
45140 ($(objpfx)tst-leaks1-mem): Likewise.
45141 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
45142 * iconv/Makefile (xtests-special): Change test-iconvconfig to
45143 $(objpfx)test-iconvconfig.out.
45144 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
45145 set -e inside subshell and redirect output to file.
45146 * iconvdata/Makefile (generated): Rename tests to end with .out.
45147 Correct type.
45148 (tests-special): Rename tests to end with .out.
45149 ($(objpfx)mtrace-tst-loading): Likewise.
45150 * intl/Makefile (generated): Likewise.
45151 (tests-special): Likewise.
45152 ($(objpfx)mtrace-tst-gettext): Likewise.
45153 * misc/Makefile (generated): Likewise.
45154 (tests-special): Likewise.
45155 ($(objpfx)tst-error1-mem): Likewise.
45156 * nptl/Makefile (tests-special): Likewise.
45157 ($(objpfx)tst-stack3-mem): Likewise.
45158 (generated): Likewise.
45159 * posix/Makefile (generated): Likewise.
45160 (tests-special): Likewise.
45161 (xtests-special): Likewise.
45162 ($(objpfx)tst-fnmatch-mem): Likewise.
45163 ($(objpfx)bug-regex2-mem): Likewise.
45164 ($(objpfx)bug-regex14-mem): Likewise.
45165 ($(objpfx)bug-regex21-mem): Likewise.
45166 ($(objpfx)bug-regex31-mem): Likewise.
45167 ($(objpfx)tst-vfork3-mem): Likewise.
45168 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
45169 ($(objpfx)tst-pcre-mem): Likewise.
45170 ($(objpfx)tst-boost-mem): Likewise.
45171 ($(objpfx)bug-ga2-mem): Likewise.
45172 ($(objpfx)bug-glob2-mem): Likewise.
45173 * resolv/Makefile (generate): Likewise.
45174 (tests-special): Likewise.
45175 (xtests-special): Likewise.
45176 (generated): Likewise.
45177 ($(objpfx)mtrace-tst-leaks): Likewise.
45178 ($(objpfx)mtrace-tst-leaks2): Likewise.
45179
45180 * scripts/merge-test-results.sh: New file.
45181 * Makefile (tests-special-notdir): New variable.
45182 (tests): Run merge-test-results.sh.
45183 (xtests): Likewise.
45184 * Rules (tests-special-notdir): New variable.
45185 (xtests-special-notdir): Likewise.
45186 (tests): Run merge-test-results.sh
45187 (xtests): Likewise.
45188
45189 * Makeconfig (test-xfail-name): New variable.
45190 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
45191 compute variable name for expected failures.
45192 * conform/Makefile (conformtest-headers-data): New variable.
45193 (conformtest-standards): Likewise.
45194 (conformtest-headers-ISO): Likewise.
45195 (conformtest-headers-ISO99): Likewise.
45196 (conformtest-headers-ISO11): Likewise.
45197 (conformtest-headers-POSIX): Likewise.
45198 (conformtest-headers-XPG3): Likewise.
45199 (conformtest-headers-XPG4): Likewise.
45200 (conformtest-headers-UNIX98): Likewise.
45201 (conformtest-headers-XOPEN2K): Likewise.
45202 (conformtest-headers-POSIX2008): Likewise.
45203 (conformtest-headers-XOPEN2K8): Likewise.
45204 (conformtest-header-list-base): Likewise.
45205 (conformtest-header-list-tests): Likewise.
45206 (conformtest-header-base): Likewise.
45207 (conformtest-header-tests): Likewise.
45208 (tests-special): Add $(conformtest-header-list-tests). If
45209 [$(fast-check) && !$(cross-compiling)], add
45210 $(conformtest-header-tests) instead of
45211 $(objpfx)run-conformtest.out.
45212 (generated): Add $(conformtest-header-list-base). If
45213 [$(fast-check) && !$(cross-compiling)], add
45214 $(conformtest-header-base). Remove previous setting.
45215 ($(conformtest-header-list-tests)): New target.
45216 (test-xfail-run-conformtest): Remove variable.
45217 ($(objpfx)run-conformtest.out): Remove target.
45218 (test-xfail-ISO11/complex.h/conform): New variable.
45219 (test-xfail-ISO11/stdalign.h/conform): Likewise.
45220 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
45221 (test-xfail-XPG3/varargs.h/conform): Likewise.
45222 (test-xfail-XPG4/varargs.h/conform): Likewise.
45223 (test-xfail-UNIX98/varargs.h/conform): Likewise.
45224 (test-xfail-XPG4/ndbm.h/conform): Likewise.
45225 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
45226 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
45227 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
45228 (test-xfail-XPG3/fcntl.h/conform): Likewise.
45229 (test-xfail-XPG3/ftw.h/conform): Likewise.
45230 (test-xfail-XPG3/grp.h/conform): Likewise.
45231 (test-xfail-XPG3/langinfo.h/conform): Likewise.
45232 (test-xfail-XPG3/limits.h/conform): Likewise.
45233 (test-xfail-XPG3/pwd.h/conform): Likewise.
45234 (test-xfail-XPG3/search.h/conform): Likewise.
45235 (test-xfail-XPG3/signal.h/conform): Likewise.
45236 (test-xfail-XPG3/stdio.h/conform): Likewise.
45237 (test-xfail-XPG3/stdlib.h/conform): Likewise.
45238 (test-xfail-XPG3/string.h/conform): Likewise.
45239 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
45240 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
45241 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
45242 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
45243 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
45244 (test-xfail-XPG3/sys/types.h/conform): Likewise.
45245 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
45246 (test-xfail-XPG3/termios.h/conform): Likewise.
45247 (test-xfail-XPG3/time.h/conform): Likewise.
45248 (test-xfail-XPG3/unistd.h/conform): Likewise.
45249 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
45250 (test-xfail-XPG4/fcntl.h/conform): Likewise.
45251 (test-xfail-XPG4/langinfo.h/conform): Likewise.
45252 (test-xfail-XPG4/netdb.h/conform): Likewise.
45253 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
45254 (test-xfail-XPG4/signal.h/conform): Likewise.
45255 (test-xfail-XPG4/stdio.h/conform): Likewise.
45256 (test-xfail-XPG4/stdlib.h/conform): Likewise.
45257 (test-xfail-XPG4/stropts.h/conform): Likewise.
45258 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
45259 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
45260 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
45261 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
45262 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
45263 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
45264 (test-xfail-XPG4/sys/time.h/conform): Likewise.
45265 (test-xfail-XPG4/sys/types.h/conform): Likewise.
45266 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
45267 (test-xfail-XPG4/termios.h/conform): Likewise.
45268 (test-xfail-XPG4/ucontext.h/conform): Likewise.
45269 (test-xfail-XPG4/unistd.h/conform): Likewise.
45270 (test-xfail-XPG4/utmpx.h/conform): Likewise.
45271 (test-xfail-POSIX/sched.h/conform): Likewise.
45272 (test-xfail-POSIX/signal.h/conform): Likewise.
45273 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
45274 (test-xfail-POSIX/tar.h/conform): Likewise.
45275 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
45276 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
45277 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
45278 (test-xfail-UNIX98/netdb.h/conform): Likewise.
45279 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
45280 (test-xfail-UNIX98/sched.h/conform): Likewise.
45281 (test-xfail-UNIX98/signal.h/conform): Likewise.
45282 (test-xfail-UNIX98/stdio.h/conform): Likewise.
45283 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
45284 (test-xfail-UNIX98/stropts.h/conform): Likewise.
45285 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
45286 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
45287 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
45288 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
45289 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
45290 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
45291 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
45292 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
45293 (test-xfail-UNIX98/unistd.h/conform): Likewise.
45294 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
45295 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
45296 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
45297 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
45298 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
45299 (test-xfail-XOPEN2K/math.h/conform): Likewise.
45300 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
45301 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
45302 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
45303 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
45304 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
45305 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
45306 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
45307 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
45308 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
45309 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
45310 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
45311 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
45312 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
45313 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
45314 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
45315 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
45316 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
45317 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
45318 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
45319 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
45320 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
45321 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
45322 (test-xfail-POSIX2008/signal.h/conform): Likewise.
45323 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
45324 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
45325 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
45326 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
45327 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
45328 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
45329 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
45330 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
45331 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
45332 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
45333 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
45334 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
45335 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
45336 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
45337 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
45338 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
45339 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
45340 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
45341 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
45342 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
45343 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
45344 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
45345 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
45346 (conformtest-cc-flags): Likewise.
45347 ($(conformtest-header-tests): New target.
45348 * conform/check-header-lists.sh: New file.
45349 * conform/run-conformtest.sh: Remove.
45350
45351 * conform/conformtest.pl: Allow ' and \ in values given for
45352 constants.
45353 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
45354 inclusion.
45355 [POSIX] (sys/types.h): Likewise.
45356 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
45357 inclusion.
45358 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
45359 inclusion.
45360 * conform/data/signal.h-data (SIGIO): Remove expectation.
45361 [XPG3] (SIGBUS): Do not expect.
45362 [POSIX || XPG3] (SIGPOLL): Likewise.
45363 [POSIX || XPG3] (SIGPROF): Likewise.
45364 [POSIX || XPG3] (SIGSYS): Likewise.
45365 [XPG3] (SIGTRAP): Likewise.
45366 [POSIX || XPG3] (SIGURG): Likewise.
45367 [POSIX || XPG3] (SIGVTALRM): Likewise.
45368 [POSIX || XPG3] (SIGXCPU): Likewise.
45369 [POSIX || XPG3] (SIGXFSZ): Likewise.
45370 [POSIX] (SA_SIGINFO): Expect.
45371 [XPG3] (siginfo_t): Do not expect type or contents.
45372 [POSIX] (si_pid): Do not expect element.
45373 [POSIX] (si_uid): Likewise.
45374 [POSIX] (si_addr): Likewise.
45375 [POSIX] (si_status): Likewise.
45376 [POSIX] (si_band): Likewise.
45377 [XPG4] (si_value): Likewise.
45378 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
45379 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
45380 [POSIX || XPG3] (ILL_ILLADR): Likewise.
45381 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
45382 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
45383 [POSIX || XPG3] (ILL_PRVREG): Likewise.
45384 [POSIX || XPG3] (ILL_COPROC): Likewise.
45385 [POSIX || XPG3] (ILL_BADSTK): Likewise.
45386 [POSIX || XPG3] (FPE_INTDIV): Likewise.
45387 [POSIX || XPG3] (FPE_INTOVF): Likewise.
45388 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
45389 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
45390 [POSIX || XPG3] (FPE_FLTUND): Likewise.
45391 [POSIX || XPG3] (FPE_FLTRES): Likewise.
45392 [POSIX || XPG3] (FPE_FLTINV): Likewise.
45393 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
45394 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
45395 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
45396 [POSIX || XPG3] (BUS_ADRALN): Likewise.
45397 [POSIX || XPG3] (BUS_ADRERR): Likewise.
45398 [POSIX || XPG3] (BUS_OBJERR): Likewise.
45399 [POSIX || XPG3] (CLD_EXITED): Likewise.
45400 [POSIX || XPG3] (CLD_KILLED): Likewise.
45401 [POSIX || XPG3] (CLD_DUMPED): Likewise.
45402 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
45403 [POSIX || XPG3] (CLD_STOPPED): Likewise.
45404 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
45405 [POSIX || XPG3] (POLL_IN): Likewise.
45406 [POSIX || XPG3] (POLL_OUT): Likewise.
45407 [POSIX || XPG3] (POLL_MSG): Likewise.
45408 [POSIX || XPG3] (POLL_ERR): Likewise.
45409 [POSIX || XPG3] (POLL_PRI): Likewise.
45410 [POSIX || XPG3] (POLL_HUP): Likewise.
45411 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
45412 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
45413 (SIG*): Do not allow.
45414 [XPG3] (si_*): Likewise.
45415 [XPG3] (SI_*): Likewise.
45416 [XPG3 || XPG4] (sigev_*): Likewise.
45417 [XPG3 || XPG4] (SIGEV_*): Likewise.
45418 [XPG3 || XPG4] (sival_*): Likewise.
45419 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
45420 [POSIX || XPG3] (BUS_*): Likewise.
45421 [POSIX || XPG3] (CLD_*): Likewise.
45422 [POSIX || XPG3] (FPE_*): Likewise.
45423 [POSIX || XPG3] (ILL_*): Likewise.
45424 [POSIX || XPG3] (POLL_*): Likewise.
45425 [POSIX || XPG3] (SEGV_*): Likewise.
45426 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
45427 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
45428 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
45429 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
45430 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
45431 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
45432 Specify type and value.
45433 (TVERSLEN): Likewise.
45434 (REGTYPE): Likewise.
45435 (AREGTYPE): Likewise.
45436 (LNKTYPE): Likewise.
45437 (SYMTYPE): Likewise.
45438 (CHRTYPE): Likewise.
45439 (BLKTYPE): Likewise.
45440 (DIRTYPE): Likewise.
45441 (FIFOTYPE): Likewise.
45442 (CONTTYPE): Likewise.
45443 (TSUID): Likewise.
45444 (TSGID): Likewise.
45445 (TSVTX): Likewise.
45446 (TUREAD): Likewise.
45447 (TUWRITE): Likewise.
45448 (TUEXEC): Likewise.
45449 (TGREAD): Likewise.
45450 (TGWRITE): Likewise.
45451 (TGEXEC): Likewise.
45452 (TOREAD): Likewise.
45453 (TOWRITE): Likewise.
45454 (TOEXEC): Likewise.
45455 [POSIX] (TSVTX): Expect constant.
45456
45457 2014-03-06 Joseph Myers <joseph@codesourcery.com>
45458
45459 * Makefile (tests): Change dependencies to ....
45460 (tests-special): ... additions to this variable.
45461 (tests): Depend on $(tests-special).
45462 * Makerules (check-abi-list): New variable.
45463 (check-abi): Depend on $(check-abi-list).
45464 [$(subdir) = elf] (tests-special): Add
45465 $(objpfx)check-abi-libc.out.
45466 [$(build-shared) = yes && subdir] (tests-special): Add
45467 $(check-abi-list).
45468 [$(build-shared) = yes && subdir] (tests): Do not depend on
45469 check-abi.
45470 * Rules (tests): Depend on $(tests-special).
45471 (xtests): Depend on $(xtests-special).
45472 * catgets/Makefile (tests): Change dependencies to ....
45473 (tests-special): ... additions to this variable.
45474 * conform/Makefile (tests): Change dependencies to ....
45475 (tests-special): ... additions to this variable.
45476 * elf/Makefile (tests): Change dependencies to ....
45477 (tests-special): ... additions to this variable.
45478 * grp/Makefile (tests): Change dependencies to ....
45479 (tests-special): ... additions to this variable.
45480 * iconv/Makefile (xtests): Change dependencies to ....
45481 (xtests-special): ... additions to this variable.
45482 * iconvdata/Makefile (tests): Change dependencies to ....
45483 (tests-special): ... additions to this variable.
45484 * intl/Makefile (tests): Change dependencies to ....
45485 (tests-special): ... additions to this variable. Also add
45486 $(objpfx)tst-gettext.out.
45487 * io/Makefile (tests): Change dependencies to ....
45488 (tests-special): ... additions to this variable.
45489 * libio/Makefile (tests): Change dependencies to ....
45490 (tests-special): ... additions to this variable.
45491 * malloc/Makefile (tests): Change dependencies to ....
45492 (tests-special): ... additions to this variable.
45493 * misc/Makefile (tests): Change dependencies to ....
45494 (tests-special): ... additions to this variable.
45495 * nptl/Makefile (tests): Change dependencies to ....
45496 (tests-special): ... additions to this variable.
45497 * nptl_db/Makefile (tests): Change dependencies to ....
45498 (tests-special): ... additions to this variable.
45499 * posix/Makefile (tests): Change dependencies to ....
45500 (tests-special): ... additions to this variable.
45501 (xtests): Change dependencies to ....
45502 (xtests-special): ... additions to this variable.
45503 * resolv/Makefile (tests): Change dependencies to ....
45504 (tests-special): ... additions to this variable.
45505 (xtests): Change dependencies to ....
45506 (xtests-special): ... additions to this variable.
45507 * stdio-common/Makefile (tests): Change dependencies to ....
45508 (tests-special): ... additions to this variable.
45509 (do-tst-unbputc): Remove target.
45510 (do-tst-printf): Likewise.
45511 * stdlib/Makefile (tests): Change dependencies to ....
45512 (tests-special): ... additions to this variable.
45513 * string/Makefile (tests): Change dependencies to ....
45514 (tests-special): ... additions to this variable.
45515 * sysdeps/x86/Makefile (tests): Change dependencies to ....
45516 (tests-special): ... additions to this variable.
45517
45518 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
45519 whole file.
45520 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
45521 whole file.
45522 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
45523 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
45524
45525 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
45526 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
45527 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
45528 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
45529 * conform/data/libgen.h-data [XPG3]: Likewise.
45530 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
45531 * conform/data/ndbm.h-data [XPG3]: Likewise.
45532 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45533 * conform/data/netdb.h-data [XPG3]: Likewise.
45534 * conform/data/netinet/in.h-data [XPG3]: Likewise.
45535 * conform/data/poll.h-data [XPG3]: Likewise.
45536 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45537 * conform/data/strings.h-data [XPG3]: Likewise.
45538 * conform/data/stropts.h-data [XPG3]: Likewise.
45539 * conform/data/sys/mman.h-data [XPG3]: Likewise.
45540 * conform/data/sys/resource.h-data [XPG3]: Likewise.
45541 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
45542 Likewise.
45543 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
45544 * conform/data/sys/time.h-data [XPG3]: Likewise.
45545 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
45546 * conform/data/sys/uio.h-data [XPG3]: Likewise.
45547 * conform/data/sys/un.h-data [XPG3]: Likewise.
45548 * conform/data/syslog.h-data [XPG3]: Likewise.
45549 * conform/data/ucontext.h-data [XPG3]: Likewise.
45550 * conform/data/utmpx.h-data [XPG3]: Likewise.
45551 * conform/data/varargs.h-data [UNIX98]: Enable file.
45552
45553 * manual/Makefile (INSTALL_INFO): Remove variable setting.
45554
45555 * math/libm-test.inc (struct test_f_f_data): Move expected results
45556 into structure for each rounding mode.
45557 (struct test_ff_f_data): Likewise.
45558 (struct test_ff_f_data_nexttoward): Likewise.
45559 (struct test_fi_f_data): Likewise.
45560 (struct test_fl_f_data): Likewise.
45561 (struct test_if_f_data): Likewise.
45562 (struct test_fff_f_data): Likewise.
45563 (struct test_c_f_data): Likewise.
45564 (struct test_f_f1_data): Likewise.
45565 (struct test_fF_f1_data): Likewise.
45566 (struct test_ffI_f1_data): Likewise.
45567 (struct test_c_c_data): Likewise.
45568 (struct test_cc_c_data): Likewise.
45569 (struct test_f_i_data): Likewise.
45570 (struct test_ff_i_data): Likewise.
45571 (struct test_f_l_data): Likewise.
45572 (struct test_f_L_data): Likewise.
45573 (struct test_fFF_11_data): Likewise.
45574 (RM_): New macro.
45575 (RM_FE_DOWNWARD): Likewise.
45576 (RM_FE_TONEAREST): Likewise.
45577 (RM_FE_TOWARDZERO): Likewise.
45578 (RM_FE_UPWARD): Likewise.
45579 (RUN_TEST_LOOP_f_f): Update references to expected results.
45580 (RUN_TEST_LOOP_2_f): Likewise.
45581 (RUN_TEST_LOOP_fff_f): Likewise.
45582 (RUN_TEST_LOOP_c_f): Likewise.
45583 (RUN_TEST_LOOP_f_f1): Likewise.
45584 (RUN_TEST_LOOP_fF_f1): Likewise.
45585 (RUN_TEST_LOOP_fI_f1): Likewise.
45586 (RUN_TEST_LOOP_ffI_f1): Likewise.
45587 (RUN_TEST_LOOP_c_c): Likewise.
45588 (RUN_TEST_LOOP_cc_c): Likewise.
45589 (RUN_TEST_LOOP_f_i): Likewise.
45590 (RUN_TEST_LOOP_f_i_tg): Likewise.
45591 (RUN_TEST_LOOP_ff_i_tg): Likewise.
45592 (RUN_TEST_LOOP_f_b): Likewise.
45593 (RUN_TEST_LOOP_f_b_tg): Likewise.
45594 (RUN_TEST_LOOP_f_l): Likewise.
45595 (RUN_TEST_LOOP_f_L): Likewise.
45596 (RUN_TEST_LOOP_fFF_11): Likewise.
45597 * math/gen-libm-test.pl (parse_args): Output four copies of
45598 expected results for each test.
45599
45600 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45601 (__ASSUME_UTIMES): Remove.
45602 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45603 (__ASSUME_UTIMES): Likewise.
45604
45605 * math/gen-auto-libm-tests.c: Update comment on output format.
45606 (output_for_one_input_case): Generate before-rounding and
45607 after-rounding information as conditions on output flags not
45608 floating-point format.
45609 * math/auto-libm-test-out: Regenerated.
45610 * math/gen-libm-test.pl (cond_value): New function.
45611 (or_cond_value): Use cond_value.
45612 (generate_testfile): Handle conditional exceptions.
45613
45614 2014-03-05 Joseph Myers <joseph@codesourcery.com>
45615
45616 * math/libm-test.inc (max_valid_error): New variable.
45617 (init_max_error): Take new argument specifying whether function
45618 results are exactly determined. Set max_valid_error and bound
45619 other variables for errors based on this argument.
45620 (set_max_error): Do not record results above max_valid_error.
45621 (check_float_internal): Only accept errors of up to 0.5ulps if
45622 also at most max_valid_error.
45623 (START): Take new argument EXACT and pass it to init_max_error.
45624 (acos_test): Update call to START.
45625 (acos_test_tonearest): Likewise.
45626 (acos_test_towardzero): Likewise.
45627 (acos_test_downward): Likewise.
45628 (acos_test_upward): Likewise.
45629 (acosh_test): Likewise.
45630 (asin_test): Likewise.
45631 (asin_test_tonearest): Likewise.
45632 (asin_test_towardzero): Likewise.
45633 (asin_test_downward): Likewise.
45634 (asin_test_upward): Likewise.
45635 (asinh_test): Likewise.
45636 (atan_test): Likewise.
45637 (atanh_test): Likewise.
45638 (atan2_test): Likewise.
45639 (cabs_test): Likewise.
45640 (cacos_test): Likewise.
45641 (cacosh_test): Likewise.
45642 (carg_test): Likewise.
45643 (casin_test): Likewise.
45644 (casinh_test): Likewise.
45645 (catan_test): Likewise.
45646 (catanh_test): Likewise.
45647 (cbrt_test): Likewise.
45648 (ccos_test): Likewise.
45649 (ccosh_test): Likewise.
45650 (ceil_test): Likewise.
45651 (cexp_test): Likewise.
45652 (cimag_test): Likewise.
45653 (clog_test): Likewise.
45654 (clog10_test): Likewise.
45655 (conj_test): Likewise.
45656 (copysign_test): Likewise.
45657 (cos_test): Likewise.
45658 (cos_test_tonearest): Likewise.
45659 (cos_test_towardzero): Likewise.
45660 (cos_test_downward): Likewise.
45661 (cos_test_upward): Likewise.
45662 (cosh_test): Likewise.
45663 (cosh_test_tonearest): Likewise.
45664 (cosh_test_towardzero): Likewise.
45665 (cosh_test_downward): Likewise.
45666 (cosh_test_upward): Likewise.
45667 (cpow_test): Likewise.
45668 (cproj_test): Likewise.
45669 (creal_test): Likewise.
45670 (csin_test): Likewise.
45671 (csinh_test): Likewise.
45672 (csqrt_test): Likewise.
45673 (ctan_test): Likewise.
45674 (ctan_test_tonearest): Likewise.
45675 (ctan_test_towardzero): Likewise.
45676 (ctan_test_downward): Likewise.
45677 (ctan_test_upward): Likewise.
45678 (ctanh_test): Likewise.
45679 (ctanh_test_tonearest): Likewise.
45680 (ctanh_test_towardzero): Likewise.
45681 (ctanh_test_downward): Likewise.
45682 (ctanh_test_upward): Likewise.
45683 (erf_test): Likewise.
45684 (erfc_test): Likewise.
45685 (exp_test): Likewise.
45686 (exp_test_tonearest): Likewise.
45687 (exp_test_towardzero): Likewise.
45688 (exp_test_downward): Likewise.
45689 (exp_test_upward): Likewise.
45690 (exp10_test): Likewise.
45691 (exp10_test_tonearest): Likewise.
45692 (exp10_test_towardzero): Likewise.
45693 (exp10_test_downward): Likewise.
45694 (exp10_test_upward): Likewise.
45695 (pow10_test): Likewise.
45696 (exp2_test): Likewise.
45697 (expm1_test): Likewise.
45698 (expm1_test_tonearest): Likewise.
45699 (expm1_test_towardzero): Likewise.
45700 (expm1_test_downward): Likewise.
45701 (expm1_test_upward): Likewise.
45702 (fabs_test): Likewise.
45703 (fdim_test): Likewise.
45704 (floor_test): Likewise.
45705 (fma_test): Likewise.
45706 (fma_test_towardzero): Likewise.
45707 (fma_test_downward): Likewise.
45708 (fma_test_upward): Likewise.
45709 (fmax_test): Likewise.
45710 (fmin_test): Likewise.
45711 (fmod_test): Likewise.
45712 (fpclassify_test): Likewise.
45713 (frexp_test): Likewise.
45714 (hypot_test): Likewise.
45715 (ilogb_test): Likewise.
45716 (isfinite_test): Likewise.
45717 (finite_test): Likewise.
45718 (isgreater_test): Likewise.
45719 (isgreaterequal_test): Likewise.
45720 (isinf_test): Likewise.
45721 (isless_test): Likewise.
45722 (islessequal_test): Likewise.
45723 (islessgreater_test): Likewise.
45724 (isnan_test): Likewise.
45725 (isnormal_test): Likewise.
45726 (issignaling_test): Likewise.
45727 (isunordered_test): Likewise.
45728 (j0_test): Likewise.
45729 (j1_test): Likewise.
45730 (jn_test): Likewise.
45731 (ldexp_test): Likewise.
45732 (lgamma_test): Likewise.
45733 (gamma_test): Likewise.
45734 (lrint_test): Likewise.
45735 (lrint_test_tonearest): Likewise.
45736 (lrint_test_towardzero): Likewise.
45737 (lrint_test_downward): Likewise.
45738 (lrint_test_upward): Likewise.
45739 (llrint_test): Likewise.
45740 (llrint_test_tonearest): Likewise.
45741 (llrint_test_towardzero): Likewise.
45742 (llrint_test_downward): Likewise.
45743 (llrint_test_upward): Likewise.
45744 (log_test): Likewise.
45745 (log10_test): Likewise.
45746 (log1p_test): Likewise.
45747 (log2_test): Likewise.
45748 (logb_test): Likewise.
45749 (logb_test_downward): Likewise.
45750 (lround_test): Likewise.
45751 (llround_test): Likewise.
45752 (modf_test): Likewise.
45753 (nearbyint_test): Likewise.
45754 (nextafter_test): Likewise.
45755 (nexttoward_test): Likewise.
45756 (pow_test): Likewise.
45757 (pow_test_tonearest): Likewise.
45758 (pow_test_towardzero): Likewise.
45759 (pow_test_downward): Likewise.
45760 (pow_test_upward): Likewise.
45761 (remainder_test): Likewise.
45762 (drem_test): Likewise.
45763 (remainder_test_tonearest): Likewise.
45764 (drem_test_tonearest): Likewise.
45765 (remainder_test_towardzero): Likewise.
45766 (drem_test_towardzero): Likewise.
45767 (remainder_test_downward): Likewise.
45768 (drem_test_downward): Likewise.
45769 (remainder_test_upward): Likewise.
45770 (drem_test_upward): Likewise.
45771 (remquo_test): Likewise.
45772 (rint_test): Likewise.
45773 (rint_test_tonearest): Likewise.
45774 (rint_test_towardzero): Likewise.
45775 (rint_test_downward): Likewise.
45776 (rint_test_upward): Likewise.
45777 (round_test): Likewise.
45778 (scalb_test): Likewise.
45779 (scalbn_test): Likewise.
45780 (scalbln_test): Likewise.
45781 (signbit_test): Likewise.
45782 (sin_test): Likewise.
45783 (sin_test_tonearest): Likewise.
45784 (sin_test_towardzero): Likewise.
45785 (sin_test_downward): Likewise.
45786 (sin_test_upward): Likewise.
45787 (sincos_test): Likewise.
45788 (sinh_test): Likewise.
45789 (sinh_test_tonearest): Likewise.
45790 (sinh_test_towardzero): Likewise.
45791 (sinh_test_downward): Likewise.
45792 (sinh_test_upward): Likewise.
45793 (sqrt_test): Likewise.
45794 (sqrt_test_tonearest): Likewise.
45795 (sqrt_test_towardzero): Likewise.
45796 (sqrt_test_downward): Likewise.
45797 (sqrt_test_upward): Likewise.
45798 (tan_test): Likewise.
45799 (tan_test_tonearest): Likewise.
45800 (tan_test_towardzero): Likewise.
45801 (tan_test_downward): Likewise.
45802 (tan_test_upward): Likewise.
45803 (tanh_test): Likewise.
45804 (tgamma_test): Likewise.
45805 (trunc_test): Likewise.
45806 (y0_test): Likewise.
45807 (y1_test): Likewise.
45808 (yn_test): Likewise.
45809 (significand_test): Likewise.
45810
45811 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
45812 individual tests in comment.
45813 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
45814 (prev_max_error): New variable.
45815 (prev_real_max_error): Likewise.
45816 (prev_imag_max_error): Likewise.
45817 (compare_ulp_data): Don't refer to test names in comment.
45818 (find_test_ulps): Remove function.
45819 (find_function_ulps): Likewise.
45820 (find_complex_function_ulps): Likewise.
45821 (init_max_error): Take function name as argument. Look up ulps
45822 for that function.
45823 (print_ulps): Remove function.
45824 (print_max_error): Use prev_max_error instead of calling
45825 find_function_ulps.
45826 (print_complex_max_error): Use prev_real_max_error and
45827 prev_imag_max_error instead of calling find_complex_function_ulps.
45828 (check_float_internal): Take max_ulp parameter instead of calling
45829 find_test_ulps. Don't call print_ulps.
45830 (check_float): Update call to check_float_internal.
45831 (check_complex): Update calls to check_float_internal.
45832 (START): Pass argument to init_max_error.
45833 * math/gen-libm-test.pl (%results): Don't include "kind"
45834 information.
45835 (parse_ulps): Don't handle ulps of individual tests.
45836 (print_ulps_file): Likewise.
45837 (output_ulps): Likewise.
45838 * math/README.libm-test: Update.
45839 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
45840 individual tests.
45841 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
45842 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
45843 * sysdeps/arm/libm-test-ulps: Likewise.
45844 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
45845 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
45846 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
45847 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
45848 * sysdeps/microblaze/libm-test-ulps: Likewise.
45849 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
45850 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
45851 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45852 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
45853 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45854 * sysdeps/sh/libm-test-ulps: Likewise.
45855 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45856 * sysdeps/tile/libm-test-ulps: Likewise.
45857 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45858
45859 2014-03-04 Joseph Myers <joseph@codesourcery.com>
45860
45861 * math/libm-test.inc (print_complex_max_error): Check separately
45862 whether real and imaginary errors are within allowed range and
45863 pass 0 to print_complex_function_ulps instead of value within
45864 allowed range.
45865
45866 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45867
45868 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
45869 formatting.
45870 (get_handles_fopen): Likewise.
45871 (do_write_test): Likewise.
45872
45873 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
45874
45875 * libio/fileops.c (do_ftell): Use cached offset when
45876 available.
45877 * libio/iofwide.c (do_ftell_wide): Likewise.
45878 * libio/iofdopen.c (_IO_new_fdopen): Don't use
45879 _IO_file_attach.
45880 * libio/wfileops.c (_IO_fwide): Don't cache offset.
45881
45882 [BZ #16532]
45883 * libio/libioP.h (get_file_offset): New function.
45884 * libio/fileops.c (get_file_offset): Likewise.
45885 (do_ftell): Likewise.
45886 (_IO_new_file_seekoff): Split out ftell logic.
45887 * libio/wfileops.c (do_ftell_wide): Likewise.
45888 (_IO_wfile_seekoff): Split out ftell logic.
45889 * libio/tst-ftell-active-handler.c: New test case.
45890 * libio/Makefile (tests): Add it.
45891
45892 2014-03-03 Roland McGrath <roland@hack.frob.com>
45893
45894 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
45895 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
45896
45897 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
45898
45899 [BZ #16639]
45900 * nscd/connections.c (nscd_init): Call do_exit.
45901 (start_threads): Call do_exit and notify_parent.
45902 (begin_drop_privileges): Call do_exit.
45903 (finish_drop_privileges): Likewise.
45904 * nscd/selinux.c (preserve_capabilities): Likewise.
45905 (install_real_capabilities): Likewise.
45906 (nscd_selinux_enabled): Likewise.
45907 (avc_create_thread): Likewise.
45908 (avc_alloc_lock): Likewise.
45909 (nscd_avc_init): Likewise.
45910 * nscd/nscd.c (parent_fd): New static variable.
45911 (main): Create a pipe between parent and child processes.
45912 Skip closing parent_fd.
45913 (monitor_child): New function.
45914 (do_exit): Likewise.
45915 (notify_parent): Likewise.
45916 * nscd/nscd.h (notify_parent): Likewise.
45917 (do_exit): Likewise.
45918
45919 2014-03-03 Carlos O'Donell <carlos@redhat.com>
45920
45921 * malloc/malloc.c (__libc_calloc): Revert last change.
45922
45923 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45924
45925 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45926
45927 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45928
45929 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
45930 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
45931 implementation.
45932 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45933 (__libc_ifunc_impl_list): Likewise.
45934 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
45935 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
45936 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
45937 * string/strrchr.c: Define STRRCHR.
45938
45939 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
45940
45941 * benchtest/bench-strtok.c (simple_strtok): Delete.
45942 (strtok_string): Use as benchmark.
45943 * string/strtok (STRTOK): New macro.
45944
45945 2014-02-28 Carlos O'Donell <carlos@redhat.com>
45946
45947 * manual/threads.texi: Add header and standard comments to all
45948 functions.
45949
45950 * elf/dl-lookup.c (check_match): New function.
45951 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
45952 (do_lookup_x): Remove nested function check_match. Use non-nested
45953 function check_match.
45954
45955 2014-02-28 Roland McGrath <roland@hack.frob.com>
45956
45957 * csu/Makefile (generated, before-compile): Use += rather than =.
45958 * catgets/Makefile (generated, generated-dirs): Likewise.
45959 * debug/Makefile (generated): Likewise.
45960 * dlfcn/Makefile (generated): Likewise.
45961 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
45962 * iconvdata/Makefile (before-compile, generated): Likewise.
45963 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
45964 * libio/Makefile (generated): Likewise.
45965 * malloc/Makefile (generated): Likewise.
45966 * manual/Makefile (generated, generated-dirs): Likewise.
45967 * misc/Makefile (generated): Likewise.
45968 * posix/Makefile (generated): Likewise.
45969 * resolv/Makefile (generated): Likewise.
45970 * sunrpc/Makefile (generated, generated-dirs): Likewise.
45971 * timezone/Makefile (generated, generated-dirs): Likewise.
45972
45973 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
45974
45975 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45976
45977 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
45978 power8 implementation.
45979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
45980 file: POWER8 llround ifunc implementation.
45981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
45982 (__lllround): Add POWER8 implementation.
45983 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
45984 POWER8 llround implementation.
45985
45986 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
45987 power8 implementation.
45988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
45989 file: POWER8 llrint ifunc implementation.
45990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
45991 Add POWER8 implementation.
45992 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
45993 POWER8 llrint implementation.
45994
45995 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
45996 power8 implementation.
45997 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
45998 file: POWER8 finite ifunc implementation.
45999 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
46000 Add POWER8 implementation.
46001 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
46002 Likewise.
46003 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
46004 POWER8 finite implementation.
46005 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
46006
46007 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
46008 power8 implementation.
46009 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
46010 file: POWER8 isinf ifunc implementation.
46011 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
46012 POWER8 implementation.
46013 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
46014 Likewise.
46015 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
46016 isinf implementation.
46017 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
46018
46019 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
46020 (INIT_ARCH): Add hwcap2 initialization.
46021 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
46022 power8 implementation.
46023 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
46024 file: POWER8 isnan ifunc implementation.
46025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
46026 POWER8 implementation.
46027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
46028 Likewise.
46029 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
46030 isnan implementation.
46031 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
46032
46033 2014-02-27 Joey Ye <joey.ye@arm.com>
46034
46035 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
46036 (_FP_NANFRAC_Q): Set to zero.
46037
46038 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
46039
46040 [BZ #16623]
46041 * math/auto-libm-test-in: New test inputs.
46042 * math/auto-libm-test-out: Regenerate.
46043 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
46044 and DA.
46045 (__cos): Likewise.
46046 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
46047
46048 2014-02-27 Joseph Myers <joseph@codesourcery.com>
46049
46050 * scripts/evaluate-test.sh: Take new argument indicating whether
46051 failure is expected.
46052 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
46053 indicating whether failure is expected.
46054 * conform/Makefile (test-xfail-run-conformtest): New variable.
46055 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
46056 level.
46057 * posix/Makefile (test-xfail-annexc): New variable.
46058 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
46059
46060 2014-02-26 Joseph Myers <joseph@codesourcery.com>
46061
46062 * argp/Makefile: Include Makeconfig immediately after defining
46063 subdir.
46064 * assert/Makefile: Likewise.
46065 * benchtests/Makefile: Likewise.
46066 * catgets/Makefile: Likewise.
46067 * conform/Makefile: Likewise.
46068 * crypt/Makefile: Likewise.
46069 * csu/Makefile: Likewise.
46070 (all): Remove target.
46071 * ctype/Makefile: Include Makeconfig immediately after defining
46072 subdir.
46073 * debug/Makefile: Likewise.
46074 * dirent/Makefile: Likewise.
46075 * dlfcn/Makefile: Likewise.
46076 * gmon/Makefile: Likewise.
46077 * gnulib/Makefile: Likewise.
46078 * grp/Makefile: Likewise.
46079 * gshadow/Makefile: Likewise.
46080 * hesiod/Makefile: Likewise.
46081 * hurd/Makefile: Likewise.
46082 (all): Remove target.
46083 * iconvdata/Makefile: Include Makeconfig immediately after
46084 defining subdir.
46085 * inet/Makefile: Likewise.
46086 * intl/Makefile: Likewise.
46087 * io/Makefile: Likewise.
46088 * libio/Makefile: Likewise.
46089 (all): Remove target.
46090 * locale/Makefile: Include Makeconfig immediately after defining
46091 subdir.
46092 * login/Makefile: Likewise.
46093 * mach/Makefile: Likewise.
46094 (all): Remove target.
46095 * malloc/Makefile: Include Makeconfig immediately after defining
46096 subdir.
46097 (all): Remove target.
46098 * manual/Makefile: Include Makeconfig immediately after defining
46099 subdir.
46100 * math/Makefile: Likewise.
46101 * misc/Makefile: Likewise.
46102 * nis/Makefile: Likewise.
46103 * nss/Makefile: Likewise.
46104 * po/Makefile: Likewise.
46105 (all): Remove target.
46106 * posix/Makefile: Include Makeconfig immediately after defining
46107 subdir.
46108 * pwd/Makefile: Likewise.
46109 * resolv/Makefile: Likewise.
46110 * resource/Makefile: Likewise.
46111 * rt/Makefile: Likewise.
46112 * setjmp/Makefile: Likewise.
46113 * shadow/Makefile: Likewise.
46114 * signal/Makefile: Likewise.
46115 * socket/Makefile: Likewise.
46116 * soft-fp/Makefile: Likewise.
46117 * stdio-common/Makefile: Likewise.
46118 * stdlib/Makefile: Likewise.
46119 * streams/Makefile: Likewise.
46120 * string/Makefile: Likewise.
46121 * sunrpc/Makefile: Likewise.
46122 (all): Remove target.
46123 * sysvipc/Makefile: Include Makeconfig immediately after defining
46124 subdir.
46125 * termios/Makefile: Likewise.
46126 * time/Makefile: Likewise.
46127 * timezone/Makefile: Likewise.
46128 (all): Remove target.
46129 * wcsmbs/Makefile: Include Makeconfig immediately after defining
46130 subdir.
46131 * wctype/Makefile: Likewise.
46132
46133 2014-02-26 Steve Ellcey <sellcey@mips.com>
46134
46135 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
46136 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
46137 (libc_feholdexcept_setround_mips): Ditto.
46138 (libc_feholdsetround): New.
46139 (libc_feholdsetroundf): New.
46140 (libc_feholdsetroundl): New.
46141 (libc_feupdateenv_test_mips): New.
46142 (libc_feupdateenv_test): New.
46143 (libc_feupdateenv_testf): New.
46144 (libc_feupdateenv_testl): New.
46145 (libc_feresetround): New.
46146 (libc_feresetroundf): New.
46147 (libc_feresetroundl): New.
46148 (libc_fetestexcept_mips): New.
46149 (libc_fetestexcept): New.
46150 (libc_fetestexceptf): New.
46151 (libc_fetestexceptl): New.
46152 (HAVE_RM_CTX): New.
46153 (libc_feholdexcept_setround_mips_ctx): New.
46154 (libc_feholdexcept_setround_ctx): New.
46155 (libc_feholdexcept_setroundf_ctx): New.
46156 (libc_feholdexcept_setroundl_ctx): New.
46157 (libc_fesetenv_mips_ctx): New.
46158 (libc_fesetenv_ctx): New.
46159 (libc_fesetenv_ctxf): New.
46160 (libc_fesetenv_ctxl): New.
46161 (libc_feupdateenv_mips_ctx): New.
46162 (libc_feupdateenv_ctx): New.
46163 (libc_feupdateenvf_ctx): New.
46164 (libc_feupdateenvl_ctx): New.
46165 (libc_feholdsetround_mips_ctx): New.
46166 (libc_feholdsetround_ctx): New.
46167 (libc_feholdsetroundf_ctx): New.
46168 (libc_feholdsetroundl_ctx): New.
46169 (libc_feresetround_mips_ctx): New.
46170 (libc_feresetround_ctx): New.
46171 (libc_feresetroundf_ctx): New.
46172 (libc_feresetroundl_ctx): New.
46173
46174 2014-02-26 Carlos O'Donell <carlos@redhat.com>
46175
46176 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
46177
46178 * manual/ipc.texi: New file.
46179 * manual/Makefile (chapters): Add ipc.
46180 * manual/job.texi: Add "Inter-Process Communication" to next.
46181 * manual/process.texi: Add "Inter-Process Communication" to prev.
46182
46183 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46184
46185 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46186
46187 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
46188
46189 * malloc/malloc.c (__libc_calloc): Simplify implementation.
46190
46191 * manual/arith.texi: Fix spaces after sentences.
46192 * manual/charset.texi: Likewise.
46193 * manual/errno.texi: Likewise.
46194 * manual/install.texi: Likewise.
46195 * manual/llio.texi: Likewise.
46196 * manual/locale.texi: Likewise.
46197 * manual/maint.texi: Likewise.
46198 * manual/math.texi: Likewise.
46199 * manual/memory.texi: Likewise.
46200 * manual/message.texi: Likewise.
46201 * manual/probes.texi: Likewise.
46202 * manual/resource.texi: Likewise.
46203 * manual/signal.texi: Likewise.
46204 * manual/socket.texi: Likewise.
46205 * manual/stdio.texi: Likewise.
46206 * manual/string.texi: Likewise.
46207 * manual/time.texi: Likewise.
46208 * manual/users.texi: Likewise.
46209
46210 2014-02-25 Carlos O'Donell <carlos@redhat.com>
46211
46212 [BZ #16632]
46213 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
46214 _DEFAULT_SOURCE is defined.
46215
46216 2014-02-25 Ulrich Drepper <drepper@gmail.com>
46217 Carlos O'Donell <carlos@redhat.com>
46218
46219 [BZ #16613]
46220 * elf/dl-tls.c (_dl_count_modids): New function.
46221 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
46222 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
46223 audit library and increment generation counter.
46224 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
46225 * elf/tst-audit9.c: New file.
46226 * elf/tst-auditmod9a.c: New file.
46227 * elf/tst-auditmod9b.c: New file.
46228 * elf/Makefile: Add rules to build and run tst-audit9.
46229
46230 2014-02-25 Florian Weimer <fweimer@redhat.com>
46231
46232 [BZ #15347]
46233 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
46234
46235 2014-02-25 Will Newton <will.newton@linaro.org>
46236
46237 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
46238 (__longjmp): Restore sp and lr before restoring callee
46239 saved registers. Add longjmp and longjmp_target
46240 SystemTap probe point.
46241 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
46242 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
46243 Define to zero to match jmpbuf layout.
46244 * sysdeps/arm/setjmp.S: Include stap-probe.h.
46245 (__sigsetjmp): Save sp and lr before saving callee
46246 saved registers. Add setjmp SystemTap probe point.
46247
46248 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
46249
46250 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46251
46252 2014-02-24 Andreas Schwab <schwab@suse.de>
46253
46254 [BZ #15804]
46255 * elf/pldd.c (wait_for_ptrace_stop): New function.
46256 (main): Call it after attaching.
46257
46258 2014-02-22 Roland McGrath <roland@hack.frob.com>
46259
46260 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
46261 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
46262 Versions files is now verboten.
46263 * hurd/Versions (libc: GLIBC_2.0):
46264 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
46265 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
46266 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
46267 * mach/Versions: Likewise.
46268
46269 * csu/Versions: Remove unused %include.
46270 * resolv/Versions: Likewise.
46271
46272 2014-02-21 Joseph Myers <joseph@codesourcery.com>
46273
46274 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
46275 ($(objpfx)check-local-headers.out): Likewise.
46276 ($(objpfx)begin-end-check.out): Likewise.
46277 * Makerules (check-abi-%.out): Likewise.
46278 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
46279 ($(objpfx)test2.cat): Likewise.
46280 ($(objpfx)de/libc.cat): Likewise.
46281 ($(objpfx)test-gencat.out): Likewise.
46282 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
46283 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
46284 ($(objpfx)noload-mem): Likewise.
46285 ($(objpfx)tst-pathopt.out): Likewise.
46286 ($(objpfx)tst-rtld-load-self.out): Likewise.
46287 ($(objpfx)tst-array1-cmp.out): Likewise.
46288 ($(objpfx)tst-array1-static-cmp.out): Likewise.
46289 ($(objpfx)tst-array2-cmp.out): Likewise.
46290 ($(objpfx)tst-array3-cmp.out): Likewise.
46291 ($(objpfx)tst-array4-cmp.out): Likewise.
46292 ($(objpfx)tst-array5-cmp.out): Likewise.
46293 ($(objpfx)tst-array5-static-cmp.out): Likewise.
46294 ($(objpfx)check-textrel.out): Likewise.
46295 ($(objpfx)check-execstack.out): Likewise.
46296 ($(objpfx)check-localplt.out): Likewise.
46297 ($(objpfx)order2-cmp.out): Likewise.
46298 ($(objpfx)tst-leaks1-mem): Likewise.
46299 ($(objpfx)tst-leaks1-static-mem): Likewise.
46300 ($(objpfx)tst-initorder-cmp.out): Likewise.
46301 ($(objpfx)tst-initorder2-cmp.out): Likewise.
46302 ($(objpfx)tst-unused-dep.out): Likewise.
46303 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
46304 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
46305 * iconv/Makefile (test-iconvconfig): Likewise.
46306 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
46307 ($(objpfx)iconv-test.out): Likewise.
46308 ($(objpfx)tst-tables.out): Likewise.
46309 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
46310 ($(objpfx)tst-gettext.out): Likewise.
46311 ($(objpfx)tst-translit.out): Likewise.
46312 ($(objpfx)tst-gettext2.out): Likewise.
46313 ($(objpfx)tst-gettext4.out): Likewise.
46314 ($(objpfx)tst-gettext6.out): Likewise.
46315 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
46316 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
46317 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
46318 ($(objpfx)tst-fopenloc-mem.out): Likewise.
46319 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
46320 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
46321 * posix/Makefile ($(objpfx)globtest.out): Likewise.
46322 ($(objpfx)wordexp-tst.out): Likewise.
46323 ($(objpfx)annexc.out): Likewise.
46324 ($(objpfx)tst-fnmatch-mem): Likewise.
46325 ($(objpfx)bug-regex2-mem): Likewise.
46326 ($(objpfx)bug-regex14-mem): Likewise.
46327 ($(objpfx)bug-regex21-mem): Likewise.
46328 ($(objpfx)bug-regex31-mem): Likewise.
46329 ($(objpfx)tst-vfork3-mem): Likewise.
46330 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
46331 ($(objpfx)tst-pcre-mem): Likewise.
46332 ($(objpfx)tst-boost-mem): Likewise.
46333 ($(objpfx)tst-getconf.out): Likewise.
46334 ($(objpfx)bug-ga2-mem): Likewise.
46335 ($(objpfx)bug-glob2-mem): Likewise.
46336 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
46337 ($(objpfx)mtrace-tst-leaks2): Likewise.
46338 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
46339 ($(objpfx)tst-printf.out): Likewise.
46340 ($(objpfx)tst-setvbuf1.out): Likewise.
46341 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
46342 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
46343 ($(objpfx)tst-fmtmsg.out): Likewise.
46344 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
46345 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
46346
46347 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
46348 * bits/sigaction.h [__USE_MISC]: Likewise.
46349 * bits/waitstatus.h: Update #endif comments.
46350 * ctype/ctype.h: Likewise.
46351 * dirent/dirent.h: Likewise.
46352 [__USE_MISC]: Remove redundant conditionals.
46353 * grp/grp.h: Update #endif comments.
46354 [__USE_GNU]: Remove redundant conditionals.
46355 [__USE_MISC]: Likewise.
46356 * inet/netinet/in.h [__USE_GNU]: Likewise.
46357 * io/sys/stat.h [__USE_MISC]: Likewise.
46358 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
46359 * libio/bits/stdio.h: Update #endif comments.
46360 [__USE_MISC]: Remove redundant conditionals.
46361 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
46362 * libio/stdio.h: Update #endif comments.
46363 [__USE_MISC]: Remove redundant conditionals.
46364 * math/bits/math-finite.h [__USE_MISC]: Likewise.
46365 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
46366 * math/math.h: Update #else and #endif comments.
46367 [__USE_MISC]: Remove redundant conditionals.
46368 * misc/sys/uio.h: Update #endif comments.
46369 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
46370 * posix/glob.h [__USE_MISC]: Likewise.
46371 * posix/sys/types.h: Update #endif comments.
46372 [__USE_MISC]: Remove redundant conditionals.
46373 * posix/sys/wait.h: Update #endif comments.
46374 [__USE_MISC]: Remove redundant conditionals.
46375 * posix/unistd.h: Update #endif comments.
46376 [__USE_MISC]: Remove redundant conditionals.
46377 * pwd/pwd.h [__USE_GNU]: Likewise.
46378 [__USE_MISC]: Likewise.
46379 * resolv/netdb.h [__USE_GNU]: Likewise.
46380 * signal/signal.h: Update #endif comments.
46381 [__USE_MISC]: Remove redundant conditionals.
46382 * stdlib/stdlib.h: Update #else and #endif comments.
46383 [__USE_MISC]: Remove redundant conditionals.
46384 [__USE_GNU]: Likewise.
46385 * string/bits/string2.h [__USE_MISC]: Likewise.
46386 * string/string.h: Update #endif comments.
46387 [__USE_MISC]: Remove redundant conditionals.
46388 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
46389 Likewise.
46390 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
46391 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
46392 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
46393 Likewise.
46394 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
46395 Likewise.
46396 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
46397 comments.
46398 [__USE_MISC]: Remove redundant conditionals.
46399 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
46400 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
46401 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
46402 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
46403 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
46404 Likewise.
46405 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
46406 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
46407 Likewise.
46408 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
46409 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
46410 Likewise.
46411 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
46412 Likewise.
46413 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
46414 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
46415 Likewise.
46416 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
46417 Likewise.
46418 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
46419 * sysdeps/x86/bits/string.h: Update #endif comments.
46420 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
46421 conditionals.
46422 * time/sys/time.h: Update #endif comments.
46423 * time/time.h: Likewise.
46424 [__USE_MISC]: Remove redundant conditionals.
46425
46426 2014-02-21 Yury Gribov <y.gribov@samsung.com>
46427
46428 [BZ #16600]
46429 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
46430
46431 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
46432
46433 * Versions.def (librt): Add GLIBC_2.17.
46434
46435 2014-02-21 Adam Conrad <adconrad@0c3.net>
46436
46437 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
46438 synonym for _SYS_AUXV_H to allow direct inclusion.
46439 * sysdeps/sparc/bits/hwcap.h: Likewise.
46440 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
46441 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
46442 * sysdeps/sparc/sysdep.h: Likewise.
46443
46444 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46445
46446 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
46447
46448 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
46449
46450 * benchtests/bench-strrchr.c: Print length instead of position.
46451
46452 2014-02-20 Joseph Myers <joseph@codesourcery.com>
46453
46454 [BZ #16611]
46455 * sysdeps/unix/sysv/linux/kernel-features.h
46456 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
46457 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
46458 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
46459 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
46460 Likewise.
46461 [__i386__ || __powerpc__ || __sh__ || __sparc__]
46462 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46463 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
46464 (__ASSUME_SENDMMSG): Define instead of using previous
46465 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
46466 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46467 (__ASSUME_SENDMMSG_SYSCALL): Define.
46468 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46469 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
46470 Likewise.
46471 * sysdeps/unix/sysv/linux/arm/kernel-features.h
46472 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46473 Likewise.
46474 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46475 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46476 Likewise.
46477 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
46478 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
46479 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46480 [__ASSUME_SENDMMSG]: Change conditionals to
46481 [__ASSUME_SENDMMSG_SOCKETCALL].
46482 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46483 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
46484 Define.
46485 * sysdeps/unix/sysv/linux/mips/kernel-features.h
46486 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
46487 Likewise.
46488 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
46489 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
46490 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46491 [!__ASSUME_SENDMMSG]: Change conditional to
46492 [!__ASSUME_SENDMMSG_SOCKETCALL].
46493 * sysdeps/unix/sysv/linux/tile/kernel-features.h
46494 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46495 Define.
46496
46497 [BZ #16610]
46498 * sysdeps/unix/sysv/linux/kernel-features.h
46499 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
46500 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
46501 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
46502 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
46503 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46504 [__i386__ || __sparc__]
46505 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46506 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
46507 (__ASSUME_RECVMMSG): Define instead of using previous
46508 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
46509 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46510 (__ASSUME_RECVMMSG_SYSCALL): Define.
46511 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46512 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46513 Likewise.
46514 * sysdeps/unix/sysv/linux/arm/kernel-features.h
46515 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46516 Likewise.
46517 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46518 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46519 Likewise.
46520 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
46521 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46522 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46523 [__ASSUME_RECVMMSG]: Change condition to
46524 [__ASSUME_RECVMMSG_SOCKETCALL].
46525 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46526 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46527 Define.
46528 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46529 * sysdeps/unix/sysv/linux/mips/kernel-features.h
46530 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46531 Likewise.
46532 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
46533 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46534 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46535 [!__ASSUME_RECVMMSG]: Change condition to
46536 [!__ASSUME_RECVMMSG_SOCKETCALL].
46537 * sysdeps/unix/sysv/linux/tile/kernel-features.h
46538 (__ASSUME_RECVMMSG_SYSCALL): Define.
46539
46540 [BZ #16609]
46541 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
46542 __powerpc__ || __s390__ || __sh__ || __sparc__]
46543 (__ASSUME_SOCKETCALL): Define.
46544 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
46545 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
46546 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
46547 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
46548 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46549 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
46550 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
46551 (__ASSUME_ACCEPT4): Define instead of using previous
46552 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
46553 __powerpc__ || __sparc__ || __s390__)] condition.
46554 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46555 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46556 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
46557 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46558 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46559 [!__ASSUME_ACCEPT4]: Change condition to
46560 [!__ASSUME_ACCEPT4_SOCKETCALL].
46561 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46562 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
46563 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
46564 * sysdeps/unix/sysv/linux/arm/kernel-features.h
46565 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
46566 __ASSUME_ACCEPT4_SYSCALL.
46567 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
46568 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
46569 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46570 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
46571 __ASSUME_ACCEPT4_SYSCALL.
46572 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
46573 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46574 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46575 [__ASSUME_ACCEPT4]: Change condition to
46576 [__ASSUME_ACCEPT4_SOCKETCALL].
46577 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46578 (__ASSUME_SOCKETCALL): Define.
46579 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
46580 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46581 (__ASSUME_SOCKETCALL): Define.
46582 (__ASSUME_ACCEPT4): Remove.
46583 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
46584 Define.
46585 * sysdeps/unix/sysv/linux/mips/kernel-features.h
46586 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
46587 Likewise.
46588 * sysdeps/unix/sysv/linux/tile/kernel-features.h
46589 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46590
46591 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
46592 macro.
46593 (HWCAP_ARM_LPAE): Likewise.
46594 (HWCAP_ARM_EVTSTRM): Likewise.
46595 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
46596 Add vpfd32, lpae and evtstrm.
46597 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
46598 Increase to 22.
46599
46600 2014-02-19 Joseph Myers <joseph@codesourcery.com>
46601
46602 * math/auto-libm-test-in: Add tests of clog10.
46603 * math/auto-libm-test-out: Regenerated.
46604 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
46605 * sysdeps/i386/fpu/libm-test-ulps: Update.
46606 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46607
46608 2014-02-18 Andreas Schwab <schwab@suse.de>
46609
46610 [BZ #16574]
46611 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
46612 Store non-zero if the second buffer was newly allocated.
46613 (send_dg): Likewise.
46614 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
46615 to send_vc and send_dg.
46616 (res_nsend): Pass NULL for ansp2_malloced.
46617 * resolv/res_query.c (__libc_res_nquery): Add parameter
46618 answerp2_malloced and pass it down to __libc_res_nsend.
46619 (res_nquery): Pass additional NULL to __libc_res_nquery.
46620 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
46621 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
46622 second answer buffer if answerp2_malloced was set.
46623 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
46624 (__libc_res_nquerydomain): Add parameter
46625 answerp2_malloced and pass it down to __libc_res_nquery.
46626 (res_nquerydomain): Pass additional NULL to
46627 __libc_res_nquerydomain.
46628 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
46629 additional NULL to __libc_res_nsend and __libc_res_nquery.
46630 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
46631 additional NULL to __libc_res_nsearch.
46632 (_nss_dns_gethostbyname4_r): Revert last change. Use new
46633 parameter of __libc_res_nsearch to check for separately allocated
46634 second buffer.
46635 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
46636 __libc_res_nquery.
46637 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
46638 additional NULL to __libc_res_nquery.
46639 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
46640 __libc_res_nsearch.
46641 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
46642 * include/resolv.h: Update prototypes of __libc_res_nquery,
46643 __libc_res_nsearch, __libc_res_nsend.
46644
46645 2014-02-18 Joseph Myers <joseph@codesourcery.com>
46646
46647 * math/auto-libm-test-in: Add tests of fma.
46648 * math/auto-libm-test-out: Regenerated.
46649 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
46650 (fma_towardzero_test_data): Likewise.
46651 (fma_downward_test_data): Likewise.
46652 (fma_upward_test_data): Likewise.
46653 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
46654 mpc_mode.
46655 (rounding_modes): Add values for new field.
46656 (func_calc_method): Add value mpfr_fff_f.
46657 (func_calc_desc): Add mpfr_fff_f union field.
46658 (test_function): Add field exact_args.
46659 (FUNC): Add macro argument EXACT_ARGS.
46660 (FUNC_mpfr_f_f): Update call to FUNC.
46661 (FUNC_mpfr_f_f): Likewise.
46662 (FUNC_mpfr_ff_f): Likewise.
46663 (FUNC_mpfr_if_f): Likewise.
46664 (FUNC_mpc_c_f): Likewise.
46665 (FUNC_mpc_c_c): Likewise.
46666 (test_functions): Add fma. Update calls to FUNC.
46667 (handle_input_arg): Add argument exact_args.
46668 (add_test): Update call to handle_input_arg.
46669 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
46670 (output_for_one_input_case): Update call to calc_generic_results.
46671 Recalculate exact zero results in each rounding mode.
46672
46673 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
46674 non-negative before setting low bit.
46675 * math/auto-libm-test-in: Mark one asin test possibly having
46676 spurious underflow.
46677 * math/auto-libm-test-out: Regenerated.
46678 * sysdeps/i386/fpu/libm-test-ulps: Update.
46679 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46680
46681 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
46682
46683 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
46684 * sysdeps/unix/sysv/linux/microblaze: Move directory from
46685 ports/sysdeps/unix/sysv/linux/microblaze.
46686 * README: Add missing listing for microblaze*-*-linux-gnu.
46687
46688 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
46689
46690 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
46691 duplicate code
46692
46693 2014-02-16 Mike Frysinger <vapier@gentoo.org>
46694
46695 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
46696 * sysdeps/unix/sysv/linux/ia64: Move directory from
46697 ports/sysdeps/unix/sysv/linux/ia64.
46698 * README: Update listing for ia64-*-linux-gnu.
46699
46700 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
46701 Joseph Myers <joseph@codesourcery.com>
46702
46703 * Makeconfig (test-name): New variable.
46704 (evaluate-test): Likewise.
46705 * Makerules (do-test-clean): Remove .test-result files.
46706 (common-mostlyclean): Likewise.
46707 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
46708 * scripts/evaluate-test.sh: New file.
46709
46710 2014-02-14 Joseph Myers <joseph@codesourcery.com>
46711
46712 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
46713 separate $(objpfx)tst-fopenloc-cmp.out and
46714 $(objpfx)tst-fopenloc-mem.out targets.
46715 (tests): Update dependencies.
46716 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
46717 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
46718 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
46719 (tst-rxspencer-no-utf8-ARGS): New variable.
46720 (tst-rxspencer-no-utf8-ENV): Likewise.
46721 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
46722 instead of $(objpfx)tst-rxspencer-mem.
46723 ($(objpfx)tst-rxspencer-mem): Change target to
46724 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
46725 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
46726 * posix/tst-rxspencer-no-utf8.c: New file.
46727
46728 * elf/Makefile ($(objpfx)order.out): Remove rule.
46729 [$(run-built-tests) = yes] (tests): Depend on
46730 $(objpfx)order-cmp.out.
46731 ($(objpfx)order-cmp.out): New rule.
46732 [$(run-built-tests) = yes] (tests): Depend on
46733 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
46734 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
46735 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
46736 $(objpfx)tst-array5-static-cmp.out.
46737 ($(objpfx)tst-array1.out): Remove rule.
46738 ($(objpfx)tst-array1-cmp.out): New rule.
46739 ($(objpfx)tst-array1-static.out): Remove rule.
46740 ($(objpfx)tst-array1-static-cmp.out): New rule.
46741 ($(objpfx)tst-array2.out): Remove rule.
46742 ($(objpfx)tst-array2-cmp.out): New rule.
46743 ($(objpfx)tst-array3.out): Remove rule.
46744 ($(objpfx)tst-array3-cmp.out): New rule.
46745 ($(objpfx)tst-array4.out): Remove rule.
46746 ($(objpfx)tst-array4-cmp.out): New rule.
46747 ($(objpfx)tst-array5.out): Remove rule.
46748 ($(objpfx)tst-array5-cmp.out): New rule.
46749 ($(objpfx)tst-array5-static.out): Remove rule.
46750 ($(objpfx)tst-array5-static-cmp.out): New rule.
46751 [$(run-built-tests) = yes] (tests): Depend on
46752 $(objpfx)order2-cmp.out.
46753 ($(objpfx)order2.out): Remove rule.
46754 ($(objpfx)order2-cmp.out): New rule.
46755 ($(objpfx)tst-initorder.out): Remove rule.
46756 [$(run-built-tests) = yes] (tests): Depend on
46757 $(objpfx)tst-initorder-cmp.out.
46758 ($(objpfx)tst-initorder-cmp.out): New rule.
46759 ($(objpfx)tst-initorder2.out): Remove rule.
46760 [$(run-built-tests) = yes] (tests): Depend on
46761 $(objpfx)tst-initorder2-cmp.out.
46762 ($(objpfx)tst-initorder2-cmp.out): New rule.
46763 [$(run-built-tests) = yes] (tests): Depend on
46764 $(objpfx)tst-unused-dep-cmp.out.
46765 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
46766 ($(objpfx)tst-unused-dep-cmp.out): New rule.
46767 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
46768 on $(objpfx)tst-setvbuf1-cmp.out.
46769 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
46770 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
46771 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
46772 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
46773 ($(objpfx)tst-svc.out): Remove rule.
46774 ($(objpfx)tst-svc-cmp.out): New rule.
46775
46776 2014-02-13 Joseph Myers <joseph@codesourcery.com>
46777
46778 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
46779 * ctype/ctype.h [__USE_MISC]: Likewise.
46780 * dirent/dirent.h [__USE_MISC]: Likewise.
46781 * grp/grp.h [__USE_MISC]: Likewise.
46782 * io/fcntl.h [__USE_MISC]: Likewise.
46783 * io/sys/stat.h [__USE_MISC]: Likewise.
46784 * libio/stdio.h [__USE_MISC]: Likewise.
46785 * posix/unistd.h [__USE_MISC]: Likewise.
46786 * pwd/pwd.h [__USE_MISC]: Likewise.
46787 * stdlib.h [__USE_MISC]: Likewise.
46788 * string/bits/string2.h [__USE_MISC]: Likewise.
46789 * string/string.h [__USE_MISC]: Likewise.
46790 * time/time.h [__USE_MISC]: Likewise.
46791
46792 2014-02-13 Andreas Schwab <schwab@suse.de>
46793
46794 [BZ #16574]
46795 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
46796 second answer buffer if it was separately allocated.
46797
46798 2014-02-12 Joseph Myers <joseph@codesourcery.com>
46799
46800 * sysdeps/mips/math-tests.h: Include <features.h>.
46801 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46802 (ROUNDING_TESTS_long_double): Do not define.
46803 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46804 (EXCEPTION_TESTS_long_double): Likewise.
46805 * sysdeps/mips/mips64/libm-test-ulps: Update.
46806
46807 * include/features.h (__USE_BSD): Remove macro definitions.
46808 (__USE_SVID): Likewise.
46809 (_BSD_SOURCE): Likewise.
46810 (_SVID_SOURCE): Likewise.
46811 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
46812 from definition of _DEFAULT_SOURCE.
46813 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
46814 [_DEFAULT_SOURCE].
46815 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
46816 * bits/mman.h [__USE_BSD]: Likewise.
46817 * bits/termios.h [__USE_BSD]: Likewise.
46818 * bits/waitstatus.h [__USE_BSD]: Likewise.
46819 * ctype/ctype.h [__USE_SVID]: Likewise.
46820 * dirent/dirent.h [__USE_BSD]: Likewise.
46821 * grp/grp.h [__USE_SVID]: Likewise.
46822 [__USE_BSD]: Likewise.
46823 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
46824 * io/fcntl.h [__USE_BSD]: Likewise.
46825 * io/ftw.h [__USE_BSD]: Likewise.
46826 * io/sys/stat.h [__USE_BSD]: Likewise.
46827 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
46828 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
46829 * libio/stdio.h [__USE_SVID]: Likewise.
46830 [__USE_BSD]: Likewise.
46831 * math/math.h [__USE_SVID]: Likewise.
46832 [__USE_BSD]: Likewise.
46833 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
46834 * misc/bits/syslog.h [__USE_BSD]: Likewise.
46835 * misc/search.h [__USE_SVID]: Likewise.
46836 * misc/sys/mman.h [__USE_BSD]: Likewise.
46837 * misc/sys/syslog.h [__USE_BSD]: Likewise.
46838 * misc/sys/uio.h [__USE_BSD]: Likewise.
46839 * posix/bits/unistd.h [__USE_BSD]: Likewise.
46840 * posix/glob.h [__USE_BSD]: Likewise.
46841 * posix/regex.h [__USE_BSD]: Likewise.
46842 * posix/sys/types.h [__USE_BSD]: Likewise.
46843 [__USE_SVID]: Likewise.
46844 * posix/sys/utsname.h [__USE_SVID]: Likewise.
46845 * posix/sys/wait.h [__USE_BSD]: Likewise.
46846 [__USE_SVID]: Likewise.
46847 * posix/unistd.h [__USE_BSD]: Likewise.
46848 [__USE_SVID]: Likewise.
46849 * pwd/pwd.h [__USE_SVID]: Likewise.
46850 * resolv/netdb.h [__USE_BSD]: Likewise.
46851 * setjmp/setjmp.h [__USE_BSD]: Likewise.
46852 * signal/signal.h [__USE_BSD]: Likewise.
46853 [__USE_SVID]: Likewise.
46854 * socket/sys/socket.h [__USE_BSD]: Likewise.
46855 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
46856 * stdlib/stdlib.h [__USE_BSD]: Likewise.
46857 [__USE_SVID]: Likewise.
46858 * string/bits/string2.h [__USE_BSD]: Likewise.
46859 [__USE_SVID]: Likewise.
46860 * string/bits/string3.h [__USE_BSD]: Likewise.
46861 * string/endian.h [__USE_BSD]: Likewise.
46862 * string/string.h [__USE_SVID]: Likewise.
46863 [__USE_BSD]: Likewise.
46864 * string/strings.h [__USE_BSD]: Likewise.
46865 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
46866 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
46867 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
46868 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
46869 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
46870 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
46871 Likewise.
46872 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
46873 Likewise.
46874 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
46875 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
46876 Likewise.
46877 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
46878 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
46879 Likewise.
46880 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
46881 Likewise.
46882 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
46883 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
46884 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
46885 Likewise.
46886 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
46887 Likewise.
46888 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
46889 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
46890 * termios/termios.h [__USE_BSD]: Likewise.
46891 * time/sys/time.h [__USE_BSD]: Likewise.
46892 * time/time.h [__USE_BSD]: Likewise.
46893 [__USE_SVID]: Likewise.
46894
46895 * Makefile (subdir_targets): Remove subdir_lint.out.
46896
46897 * stdio-common/Makefile (do-tst-unbputc): Remove target.
46898 (do-tst-printf): Likewise.
46899 (tests): Depend directly on $(objpfx)tst-unbputc.out and
46900 $(objpfx)tst-printf.out.
46901
46902 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
46903
46904 * Makerules (check-abi-%): Change target to
46905 $(objpfx)check-abi-%.out.
46906 (check-abi target): Update dependencies.
46907 (check-abi-pattern variable): Redirect output of diff to $@.
46908 (check-abi variable): Likewise.
46909 * elf/Makefile (check-abi): Update dependencies.
46910
46911 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
46912 unused.
46913 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
46914 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
46915 subnormal range.
46916 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
46917 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
46918 value has largest subnormal exponent.
46919 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
46920 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
46921 * sysdeps/aarch64/soft-fp/sfp-machine.h
46922 (_FP_TININESS_AFTER_ROUNDING): New macro.
46923 * sysdeps/alpha/soft-fp/sfp-machine.h
46924 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46925 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46926 Likewise.
46927 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
46928 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46929 * sysdeps/mips/soft-fp/sfp-machine.h
46930 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46931 * sysdeps/powerpc/soft-fp/sfp-machine.h
46932 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46933 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46934 Likewise.
46935 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46936 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46937 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46938 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46939 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46940 Likewise.
46941
46942 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
46943
46944 [BZ #16545]
46945 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
46946 model 1.
46947
46948 2014-02-12 Richard Henderson <rth@redhat.com>
46949
46950 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
46951 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
46952 * sysdeps/unix/sysv/linux/alpha: Move directory from
46953 ports/sysdeps/unix/sysv/linux/alpha.
46954 * README: Update listing for alpha-*-linux-gnu.
46955
46956 2014-02-11 Joseph Myers <joseph@codesourcery.com>
46957
46958 * include/features.h: Update comment documenting feature test
46959 macros.
46960 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
46961 _DEFAULT_SOURCE.
46962 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
46963 (_SVID_SOURCE): Likewise.
46964 (_DEFAULT_SOURCE): Update description of default features.
46965 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
46966 with _GNU_SOURCE.
46967 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
46968 (S_ISVTX): Likewise.
46969 * manual/math.texi (Mathematical Constants): Likewise.
46970 * manual/signal.texi (Interrupted Primitives): Likewise.
46971 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
46972 * math/test-matherr.c (_SVID_SOURCE): Do not define.
46973 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
46974 Don't refer to _SVID_SOURCE in warning text.
46975
46976 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46977
46978 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
46979 already defined.
46980 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
46981 * sysdeps/mips/dl-lookup.c: Remove.
46982 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
46983
46984 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
46985
46986 [BZ #16447]
46987 * math/auto-libm-test-in: Add testcase for expl.
46988 * math/auto-libm-test-out: Regenerate.
46989 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
46990 calculation of unsafe.
46991 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
46992
46993 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
46994
46995 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
46996 * sysdeps/unix/sysv/linux/aarch64: Move directory from
46997 ports/sysdeps/unix/sysv/linux/aarch64.
46998 * README: Update listing for aarch64*-*-linux-gnu.
46999
47000 2014-02-11 Will Newton <will.newton@linaro.org>
47001
47002 * manual/probes.texi (Mathematical Function Probes): Use
47003 "triggered" instead of "hit".
47004
47005 * manual/probes.texi (Internal Probes): Add documentation
47006 of setjmp, longjmp and longjmp_target probes.
47007
47008 * include/stap-probe.h: Add comment about probe argument
47009 format.
47010
47011 * malloc/mtrace.c (attribute_hidden): Remove unused macro
47012 definition. (tr_where, tr_freehook, tr_mallochook,
47013 tr_reallochook, tr_memalignhook): Use ANSI protoype.
47014
47015 2014-02-11 David S. Miller <davem@davemloft.net>
47016
47017 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
47018 processing int_tests.
47019
47020 2014-02-10 Joseph Myers <joseph@codesourcery.com>
47021
47022 * sysdeps/mips: Move directory from ports/sysdeps/mips.
47023 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
47024 * sysdeps/unix/sysv/linux/mips: Move directory from
47025 ports/sysdeps/unix/sysv/linux/mips.
47026 * README: Update listing for mips-*-linux-gnu and
47027 mips64-*-linux-gnu.
47028
47029 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
47030
47031 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
47032 * sysdeps/unix/sysv/linux/m68k: Move directory from
47033 ports/sysdeps/unix/sysv/linux/m68k.
47034 * README: Update listing for m68k-*-linux-gnu.
47035
47036 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
47037
47038 * sysdeps/tile: Move directory from ports/sysdeps/tile.
47039 * sysdeps/unix/sysv/linux/generic: Move directory from
47040 ports/sysdeps/unix/sysv/linux/generic.
47041 * sysdeps/unix/sysv/linux/tile: Move directory from
47042 ports/sysdeps/unix/sysv/linux/tile.
47043 * README: Update listing for tile*-*-linux-gnu.
47044
47045 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
47046
47047 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
47048 __builtin_expect.
47049 * benchtests/bench-memmem.c (simple_memmem): Likewise.
47050 * catgets/open_catalog.c (__open_catalog): Likewise.
47051 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
47052 * debug/confstr_chk.c: Likewise.
47053 * debug/fread_chk.c (__fread_chk): Likewise.
47054 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
47055 * debug/getgroups_chk.c: Likewise.
47056 * debug/mbsnrtowcs_chk.c: Likewise.
47057 * debug/mbsrtowcs_chk.c: Likewise.
47058 * debug/mbstowcs_chk.c: Likewise.
47059 * debug/memcpy_chk.c: Likewise.
47060 * debug/memmove_chk.c: Likewise.
47061 * debug/mempcpy_chk.c: Likewise.
47062 * debug/memset_chk.c: Likewise.
47063 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
47064 * debug/strcat_chk.c (__strcat_chk): Likewise.
47065 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
47066 * debug/strncat_chk.c (__strncat_chk): Likewise.
47067 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
47068 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
47069 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
47070 * debug/wcpncpy_chk.c: Likewise.
47071 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
47072 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
47073 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
47074 * debug/wcsncpy_chk.c: Likewise.
47075 * debug/wcsnrtombs_chk.c: Likewise.
47076 * debug/wcsrtombs_chk.c: Likewise.
47077 * debug/wcstombs_chk.c: Likewise.
47078 * debug/wmemcpy_chk.c: Likewise.
47079 * debug/wmemmove_chk.c: Likewise.
47080 * debug/wmempcpy_chk.c: Likewise.
47081 * debug/wmemset_chk.c: Likewise.
47082 * dirent/scandirat.c (SCANDIRAT): Likewise.
47083 * dlfcn/dladdr1.c (dladdr1): Likewise.
47084 * dlfcn/dladdr.c (dladdr): Likewise.
47085 * dlfcn/dlclose.c (dlclose_doit): Likewise.
47086 * dlfcn/dlerror.c (__dlerror): Likewise.
47087 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
47088 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
47089 * dlfcn/dlopen.c (dlopen_doit): Likewise.
47090 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
47091 * dlfcn/dlsym.c (dlsym_doit): Likewise.
47092 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
47093 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
47094 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
47095 Likewise.
47096 * elf/dl-conflict.c: Likewise.
47097 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
47098 * elf/dl-dst.h: Likewise.
47099 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
47100 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
47101 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
47102 * elf/dl-init.c (call_init, _dl_init): Likewise.
47103 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
47104 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
47105 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
47106 Likewise.
47107 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
47108 Likewise.
47109 * elf/dl-minimal.c (__libc_memalign): Likewise.
47110 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
47111 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
47112 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
47113 * elf/dl-sym.c (do_sym): Likewise.
47114 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
47115 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
47116 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
47117 * elf/dl-writev.h (_dl_writev): Likewise.
47118 * elf/ldconfig.c (search_dir): Likewise.
47119 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
47120 (dl_main): Likewise.
47121 * elf/setup-vdso.h (setup_vdso): Likewise.
47122 * grp/compat-initgroups.c (compat_call): Likewise.
47123 * grp/fgetgrent.c (fgetgrent): Likewise.
47124 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
47125 * grp/putgrent.c (putgrent): Likewise.
47126 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
47127 Likewise.
47128 * hurd/hurdinit.c: Likewise.
47129 * iconvdata/8bit-gap.c (struct): Likewise.
47130 * iconvdata/ansi_x3.110.c : Likewise.
47131 * iconvdata/big5.c : Likewise.
47132 * iconvdata/big5hkscs.c : Likewise.
47133 * iconvdata/cp1255.c: Likewise.
47134 * iconvdata/cp1258.c : Likewise.
47135 * iconvdata/cp932.c : Likewise.
47136 * iconvdata/euc-cn.c: Likewise.
47137 * iconvdata/euc-jisx0213.c : Likewise.
47138 * iconvdata/euc-jp.c: Likewise.
47139 * iconvdata/euc-jp-ms.c : Likewise.
47140 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
47141 * iconvdata/gb18030.c : Likewise.
47142 * iconvdata/gbbig5.c (const): Likewise.
47143 * iconvdata/gbgbk.c: Likewise.
47144 * iconvdata/gbk.c : Likewise.
47145 * iconvdata/ibm1364.c : Likewise.
47146 * iconvdata/ibm930.c : Likewise.
47147 * iconvdata/ibm932.c: Likewise.
47148 * iconvdata/ibm933.c : Likewise.
47149 * iconvdata/ibm935.c : Likewise.
47150 * iconvdata/ibm937.c : Likewise.
47151 * iconvdata/ibm939.c : Likewise.
47152 * iconvdata/ibm943.c: Likewise.
47153 * iconvdata/iso_11548-1.c: Likewise.
47154 * iconvdata/iso-2022-cn.c : Likewise.
47155 * iconvdata/iso-2022-cn-ext.c : Likewise.
47156 * iconvdata/iso-2022-jp-3.c: Likewise.
47157 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
47158 * iconvdata/iso-2022-kr.c : Likewise.
47159 * iconvdata/iso646.c (gconv_end): Likewise.
47160 * iconvdata/iso_6937-2.c : Likewise.
47161 * iconvdata/iso_6937.c : Likewise.
47162 * iconvdata/iso8859-1.c: Likewise.
47163 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
47164 * iconvdata/shift_jisx0213.c : Likewise.
47165 * iconvdata/sjis.c : Likewise.
47166 * iconvdata/t.61.c : Likewise.
47167 * iconvdata/tcvn5712-1.c : Likewise.
47168 * iconvdata/tscii.c: Likewise.
47169 * iconvdata/uhc.c : Likewise.
47170 * iconvdata/unicode.c (gconv_end): Likewise.
47171 * iconvdata/utf-16.c (gconv_end): Likewise.
47172 * iconvdata/utf-32.c (gconv_end): Likewise.
47173 * iconvdata/utf-7.c (base64): Likewise.
47174 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
47175 * iconv/gconv_close.c (__gconv_close): Likewise.
47176 * iconv/gconv_open.c (__gconv_open): Likewise.
47177 * iconv/gconv_simple.c (internal_ucs4_loop_single)
47178 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
47179 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
47180 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
47181 (ucs4le_internal_loop_single): Likewise.
47182 * iconv/iconv.c (iconv): Likewise.
47183 * iconv/iconv_close.c: Likewise.
47184 * iconv/loop.c (SINGLE): Likewise.
47185 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
47186 * include/atomic.h: Likewise.
47187 * inet/inet6_option.c (option_alloc): Likewise.
47188 * intl/bindtextdom.c (set_binding_values): Likewise.
47189 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
47190 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
47191 * intl/localealias.c (read_alias_file): Likewise.
47192 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
47193 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
47194 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
47195 * libio/fmemopen.c (fmemopen): Likewise.
47196 * libio/iofgets.c (_IO_fgets): Likewise.
47197 * libio/iofgets_u.c (fgets_unlocked): Likewise.
47198 * libio/iofgetws.c (fgetws): Likewise.
47199 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
47200 * libio/iogetdelim.c (_IO_getdelim): Likewise.
47201 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
47202 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
47203 * locale/findlocale.c (_nl_find_locale): Likewise.
47204 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
47205 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
47206 Likewise.
47207 * locale/setlocale.c (setlocale): Likewise.
47208 * login/programs/pt_chown.c (main): Likewise.
47209 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
47210 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
47211 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
47212 (mmap, mmap64, mremap, munmap): Likewise.
47213 * math/e_exp2l.c: Likewise.
47214 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
47215 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
47216 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
47217 * math/s_catan.c (__catan): Likewise.
47218 * math/s_catanf.c (__catanf): Likewise.
47219 * math/s_catanh.c (__catanh): Likewise.
47220 * math/s_catanhf.c (__catanhf): Likewise.
47221 * math/s_catanhl.c (__catanhl): Likewise.
47222 * math/s_catanl.c (__catanl): Likewise.
47223 * math/s_ccosh.c (__ccosh): Likewise.
47224 * math/s_ccoshf.c (__ccoshf): Likewise.
47225 * math/s_ccoshl.c (__ccoshl): Likewise.
47226 * math/s_cexp.c (__cexp): Likewise.
47227 * math/s_cexpf.c (__cexpf): Likewise.
47228 * math/s_cexpl.c (__cexpl): Likewise.
47229 * math/s_clog10.c (__clog10): Likewise.
47230 * math/s_clog10f.c (__clog10f): Likewise.
47231 * math/s_clog10l.c (__clog10l): Likewise.
47232 * math/s_clog.c (__clog): Likewise.
47233 * math/s_clogf.c (__clogf): Likewise.
47234 * math/s_clogl.c (__clogl): Likewise.
47235 * math/s_csin.c (__csin): Likewise.
47236 * math/s_csinf.c (__csinf): Likewise.
47237 * math/s_csinh.c (__csinh): Likewise.
47238 * math/s_csinhf.c (__csinhf): Likewise.
47239 * math/s_csinhl.c (__csinhl): Likewise.
47240 * math/s_csinl.c (__csinl): Likewise.
47241 * math/s_csqrt.c (__csqrt): Likewise.
47242 * math/s_csqrtf.c (__csqrtf): Likewise.
47243 * math/s_csqrtl.c (__csqrtl): Likewise.
47244 * math/s_ctan.c (__ctan): Likewise.
47245 * math/s_ctanf.c (__ctanf): Likewise.
47246 * math/s_ctanh.c (__ctanh): Likewise.
47247 * math/s_ctanhf.c (__ctanhf): Likewise.
47248 * math/s_ctanhl.c (__ctanhl): Likewise.
47249 * math/s_ctanl.c (__ctanl): Likewise.
47250 * math/w_pow.c: Likewise.
47251 * math/w_powf.c: Likewise.
47252 * math/w_powl.c: Likewise.
47253 * math/w_scalb.c (sysv_scalb): Likewise.
47254 * math/w_scalbf.c (sysv_scalbf): Likewise.
47255 * math/w_scalbl.c (sysv_scalbl): Likewise.
47256 * misc/error.c (error_tail): Likewise.
47257 * misc/pselect.c (__pselect): Likewise.
47258 * nis/nis_callback.c (__nis_create_callback): Likewise.
47259 * nis/nis_call.c (__nisfind_server): Likewise.
47260 * nis/nis_creategroup.c (nis_creategroup): Likewise.
47261 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
47262 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
47263 * nis/nis_getservlist.c (nis_getservlist): Likewise.
47264 * nis/nis_lookup.c (nis_lookup): Likewise.
47265 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
47266 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
47267 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
47268 * nis/nis_xdr.c (xdr_endpoint): Likewise.
47269 * nis/nss_compat/compat-grp.c (getgrent_next_file)
47270 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
47271 * nis/nss_compat/compat-initgroups.c (add_group)
47272 (internal_getgrent_r): Likewise.
47273 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
47274 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
47275 * nis/nss_compat/compat-spwd.c (getspent_next_file)
47276 (internal_getspnam_r): Likewise.
47277 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
47278 (_nss_nis_getaliasbyname_r): Likewise.
47279 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
47280 (_nss_nis_getntohost_r): Likewise.
47281 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
47282 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
47283 (_nss_nis_getgrgid_r): Likewise.
47284 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
47285 (internal_nis_gethostent_r, internal_gethostbyname2_r)
47286 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
47287 (_nss_nis_gethostbyname4_r): Likewise.
47288 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
47289 (initgroups_netid): Likewise.
47290 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
47291 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
47292 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
47293 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
47294 (_nss_nis_getprotobynumber_r): Likewise.
47295 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
47296 (_nss_nis_getsecretkey): Likewise.
47297 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
47298 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
47299 (_nss_nis_getpwuid_r): Likewise.
47300 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
47301 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
47302 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
47303 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
47304 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
47305 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
47306 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
47307 Likewise.
47308 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
47309 (_nss_nisplus_getntohost_r): Likewise.
47310 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
47311 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
47312 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
47313 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
47314 Likewise.
47315 * nis/nss_nisplus/nisplus-initgroups.c
47316 (_nss_nisplus_initgroups_dyn): Likewise.
47317 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
47318 (_nss_nisplus_getnetbyaddr_r): Likewise.
47319 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
47320 (_nss_nisplus_getprotobynumber_r): Likewise.
47321 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
47322 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
47323 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
47324 Likewise.
47325 * nis/nss_nisplus/nisplus-service.c
47326 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
47327 (_nss_nisplus_getservbyport_r): Likewise.
47328 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
47329 (_nss_nisplus_getspnam_r): Likewise.
47330 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
47331 Likewise.
47332 * nscd/aicache.c (addhstaiX): Likewise.
47333 * nscd/cache.c (cache_search, prune_cache): Likewise.
47334 * nscd/connections.c (register_traced_file, send_ro_fd)
47335 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
47336 (main_loop_epoll): Likewise.
47337 * nscd/grpcache.c (addgrbyX): Likewise.
47338 * nscd/hstcache.c (addhstbyX): Likewise.
47339 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47340 * nscd/mem.c (gc, mempool_alloc): Likewise.
47341 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
47342 (addinnetgrX): Likewise.
47343 * nscd/nscd-client.h (__nscd_acquire_maplock)
47344 (__nscd_drop_map_ref): Likewise.
47345 * nscd/nscd_getai.c (__nscd_getai): Likewise.
47346 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
47347 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
47348 Likewise.
47349 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
47350 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47351 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
47352 (__nscd_get_map_ref): Likewise.
47353 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
47354 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
47355 Likewise.
47356 * nscd/pwdcache.c (addpwbyX): Likewise.
47357 * nscd/selinux.c (preserve_capabilities): Likewise.
47358 * nscd/servicescache.c (addservbyX): Likewise.
47359 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
47360 * posix/fnmatch.c (fnmatch): Likewise.
47361 * posix/getopt.c (_getopt_internal_r): Likewise.
47362 * posix/glob.c (glob, glob_in_dir): Likewise.
47363 * posix/wordexp.c (exec_comm_child): Likewise.
47364 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
47365 (getanswer_r, gaih_getanswer_slice): Likewise.
47366 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
47367 * resolv/res_init.c: Likewise.
47368 * resolv/res_mkquery.c (res_nmkquery): Likewise.
47369 * resolv/res_query.c (__libc_res_nquery): Likewise.
47370 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
47371 Likewise.
47372 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
47373 * stdio-common/perror.c (perror): Likewise.
47374 * stdio-common/printf_fp.c (___printf_fp): Likewise.
47375 * stdio-common/tmpnam.c (tmpnam): Likewise.
47376 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
47377 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
47378 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
47379 Likewise.
47380 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
47381 * stdlib/putenv.c (putenv): Likewise.
47382 * stdlib/setenv.c (__add_to_environ): Likewise.
47383 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
47384 * stdlib/strtol_l.c (INTERNAL): Likewise.
47385 * string/memmem.c (memmem): Likewise.
47386 * string/strerror.c (strerror): Likewise.
47387 * string/strnlen.c (__strnlen): Likewise.
47388 * string/test-memmem.c (simple_memmem): Likewise.
47389 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
47390 * sunrpc/pm_getport.c (__get_socket): Likewise.
47391 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
47392 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
47393 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
47394 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
47395 Likewise.
47396 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
47397 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
47398 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
47399 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
47400 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
47401 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
47402 Likewise.
47403 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
47404 Likewise.
47405 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
47406 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
47407 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47408 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
47409 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
47410 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
47411 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
47412 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
47413 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
47414 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
47415 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47416 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
47417 Likewise.
47418 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
47419 Likewise.
47420 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
47421 Likewise.
47422 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
47423 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47424 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
47425 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
47426 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
47427 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
47428 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47429 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
47430 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
47431 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
47432 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
47433 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47434 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
47435 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
47436 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47437 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
47438 Likewise.
47439 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
47440 Likewise.
47441 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
47442 Likewise.
47443 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
47444 Likewise.
47445 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47446 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47447 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
47448 Likewise.
47449 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
47450 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
47451 * sysdeps/posix/opendir.c (__opendirat): Likewise.
47452 * sysdeps/posix/sleep.c: Likewise.
47453 * sysdeps/posix/tempname.c: Likewise.
47454 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
47455 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47456 Likewise.
47457 * sysdeps/powerpc/powerpc32/dl-machine.h
47458 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
47459 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
47460 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47461 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
47462 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
47463 Likewise.
47464 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
47465 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
47466 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
47467 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
47468 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
47469 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
47470 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
47471 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
47472 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47473 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
47474 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
47475 (elf_machine_lazy_rel): Likewise.
47476 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47477 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
47478 (elf_machine_lazy_rel): Likewise.
47479 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
47480 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
47481 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
47482 * sysdeps/unix/grantpt.c (grantpt): Likewise.
47483 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
47484 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
47485 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
47486 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47487 Likewise.
47488 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
47489 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
47490 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
47491 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
47492 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47493 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
47494 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
47495 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
47496 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
47497 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47498 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
47499 Likewise.
47500 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
47501 (__posix_fallocate64_l64): Likewise.
47502 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
47503 (posix_fallocate): Likewise.
47504 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
47505 Likewise.
47506 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47507 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
47508 (getifaddrs_internal): Likewise.
47509 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
47510 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
47511 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
47512 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
47513 * sysdeps/unix/sysv/linux/posix_fallocate64.c
47514 (__posix_fallocate64_l64): Likewise.
47515 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
47516 Likewise.
47517 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
47518 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
47519 (__get_clockfreq): Likewise.
47520 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
47521 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
47522 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
47523 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47524 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47525 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
47526 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
47527 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
47528 Likewise.
47529 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
47530 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
47531 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
47532 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
47533 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47534 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
47535 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
47536 Likewise.
47537 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47538 (posix_fallocate): Likewise.
47539 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47540 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
47541 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
47542 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
47543 (elf_machine_rela, elf_machine_rela_relative)
47544 (elf_machine_lazy_rel): Likewise.
47545 * time/asctime.c (asctime_internal): Likewise.
47546 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
47547 * time/tzset.c (__tzset_parse_tz): Likewise.
47548 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
47549 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
47550 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
47551 * wcsmbs/wcsmbsload.h: Likewise.
47552
47553 [BZ #15894]
47554 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
47555
47556 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
47557 (arena_get2): Remove THREAD_STATS conditionals.
47558 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
47559 (__malloc_stats, int): Likewise.
47560
47561 2014-02-08 Mike Frysinger <vapier@gentoo.org>
47562
47563 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
47564 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
47565
47566 * manual/setjmp.texi: Fix typos/grammar errors.
47567
47568 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
47569 Only return early when n is <= 0. Delete unused return statement.
47570
47571 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
47572 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
47573 * debug/tst-longjmp_chk3.c: New file.
47574
47575 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
47576 (test_main): Replace code with set_fortify_handler call.
47577 * debug/test-strcpy_chk.c: Likewise.
47578 * debug/tst-chk1.c: Likewise.
47579 * debug/tst-longjmp_chk.c: Likewise.
47580 * test-skeleton.c: Include fcntl.h & paths.h
47581 (set_fortify_handler): Define.
47582
47583 * debug/tst-longjmp_chk.c: Add header comment and include
47584 ../test-skeleton.c.
47585 (do_test): Mark static.
47586 (TEST_FUNCTION): Define.
47587
47588 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
47589 (IP_PMTUDISC_INTERFACE): Likewise.
47590 (IP_MULTICAST_IF): Likewise.
47591 (IP_MULTICAST_TTL): Likewise.
47592 (IP_MULTICAST_LOOP): Likewise.
47593 (IP_ADD_MEMBERSHIP): Likewise.
47594 (IP_DROP_MEMBERSHIP): Likewise.
47595 (IP_UNBLOCK_SOURCE): Likewise.
47596 (IP_BLOCK_SOURCE): Likewise.
47597 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
47598 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
47599 (IP_MSFILTER): Likewise.
47600 (MCAST_JOIN_GROUP): Likewise.
47601 (MCAST_BLOCK_SOURCE): Likewise.
47602 (MCAST_UNBLOCK_SOURCE): Likewise.
47603 (MCAST_LEAVE_GROUP): Likewise.
47604 (MCAST_JOIN_SOURCE_GROUP): Likewise.
47605 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
47606 (MCAST_MSFILTER): Likewise.
47607 (IP_MULTICAST_ALL): Likewise.
47608 (IP_UNICAST_IF): Likewise.
47609
47610 * timezone/Makefile: Delete $(have-ksh) check.
47611 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
47612 * timezone/tzselect.ksh: Add +x mode bits.
47613
47614 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
47615 (ANON_INODE_FS_MAGIC): Likewise.
47616 (BDEVFS_MAGIC): Likewise.
47617 (BINFMTFS_MAGIC): Likewise.
47618 (BTRFS_TEST_MAGIC): Likewise.
47619 (CRAMFS_MAGIC_WEND): Likewise.
47620 (DEBUGFS_MAGIC): Likewise.
47621 (ECRYPTFS_SUPER_MAGIC): Likewise.
47622 (EXT3_SUPER_MAGIC): Likewise.
47623 (EXT4_SUPER_MAGIC): Likewise.
47624 (FUTEXFS_SUPER_MAGIC): Likewise.
47625 (HOSTFS_SUPER_MAGIC): Likewise.
47626 (HUGETLBFS_MAGIC): Likewise.
47627 (MINIX3_SUPER_MAGIC): Likewise.
47628 (MTD_INODE_FS_MAGIC): Likewise.
47629 (NILFS_SUPER_MAGIC): Likewise.
47630 (OPENPROM_SUPER_MAGIC): Likewise.
47631 (PIPEFS_MAGIC): Likewise.
47632 (PSTOREFS_MAGIC): Likewise.
47633 (QNX6_SUPER_MAGIC): Likewise.
47634 (RAMFS_MAGIC): Likewise.
47635 (REISERFS_SUPER_MAGIC_STRING): Likewise.
47636 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
47637 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
47638 (SECURITYFS_MAGIC): Likewise.
47639 (SELINUX_MAGIC): Likewise.
47640 (SMACK_MAGIC): Likewise.
47641 (SOCKFS_MAGIC): Likewise.
47642 (SQUASHFS_MAGIC): Likewise.
47643 (STACK_END_MAGIC): Likewise.
47644 (TMPFS_MAGIC): Likewise.
47645 (USBDEVICE_SUPER_MAGIC): Likewise.
47646 (V9FS_MAGIC): Likewise.
47647 (XENFS_SUPER_MAGIC): Likewise.
47648 (CRAMFS_MAGIC): Fix typo in comment.
47649 (EXT2_SUPER_MAGIC): Update comment.
47650 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
47651
47652 2014-02-08 Joseph Myers <joseph@codesourcery.com>
47653
47654 * sysdeps/arm: Move directory from ports/sysdeps/arm.
47655 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
47656 * sysdeps/unix/sysv/linux/arm: Move directory from
47657 ports/sysdeps/unix/sysv/linux/arm.
47658 * README: Update listing for arm-*-linux-gnueabi.
47659
47660 * README: Remove mention of am33.
47661
47662 2014-02-07 Roland McGrath <roland@hack.frob.com>
47663
47664 * bits/sigset.h (__sigemptyset): Use a statement expression rather
47665 than the comma operator, to avoid "rhs of comma has no effect"
47666 compiler warnings.
47667 (__sigfillset, __sigandset, __sigorset): Likewise.
47668 * include/signal.h (__sigemptyset): Likewise.
47669 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
47670
47671 2014-02-07 Allan McRae <allan@archlinux.org>
47672
47673 * version.h (RELEASE): Set to "development".
47674 (VERSION): Set to "2.19.90"
47675 * NEWS: Add 2.20 section.
47676
47677 2014-02-06 Carlos O'Donell <carlos@redhat.com>
47678
47679 [BZ #16529]
47680 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
47681
47682 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
47683
47684 * manual/contrib.texi: Update entry for Carlos O'Donell,
47685 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
47686
47687 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
47688
47689 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
47690
47691 * sysdeps/unix/sysv/linux/kernel-features.h
47692 [__LINUX_KERNEL_VERSION >= 0x020621]
47693 (__ASSUME_PROC_PID_TASK_COMM): Define.
47694
47695 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47696
47697 [BZ #16398]
47698 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
47699 conversion when destination buffer does not have enough space.
47700 * libio/tst-ftell-partial-wide.c: New test case.
47701 * libio/Makefile (tests): Add tst-ftell-partial-wide.
47702
47703 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
47704 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
47705 Leonard and Allan McRae.
47706
47707 2014-02-04 David S. Miller <davem@davemloft.net>
47708
47709 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
47710 32-bit.
47711
47712 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47713
47714 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47715 New file
47716 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47717 New file
47718 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47719 New file.
47720 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47721 New file.
47722 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47723 New file.
47724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47725 New file.
47726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47727 New file.
47728 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47729 New file.
47730 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47731 New file.
47732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47733 New file.
47734 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47735 New file.
47736 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47737 New file.
47738 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47739 New file.
47740
47741 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47742
47743 * nptl/shlib-versions: Change powerpc*le start to 2.17.
47744 * shlib-versions: Likewise.
47745
47746 2014-02-04 Roland McGrath <roland@hack.frob.com>
47747 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47748
47749 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
47750 (abilist-pattern): New variable, set to %-le.abilist.
47751
47752 * Makerules (abilist-pattern): New variable.
47753 (vpath): Use $(abilist-pattern) in place of %.abilist.
47754 (check-abi-% pattern rule): Likewise.
47755 (check-abi, update-abi): Likewise.
47756
47757 2014-02-04 Eric Wong <normalperson@yhbt.net>
47758
47759 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47760
47761 2014-02-03 Carlos O'Donell <carlos@redhat.com>
47762
47763 * manual/startup.texi: Add next, previous, and top entries for
47764 the `Program Arguments' and `Environment Variables' nodes.
47765
47766 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
47767
47768 * manual/macros.texi: Add comments before MTASC-safety macros.
47769
47770 * manual/users.texi: Document MTASC-safety properties.
47771
47772 * manual/threads.texi (pthread_key_create, pthread_key_delete)
47773 (pthread_getspecific, pthread_setspecific): Format with
47774 @deftypefun, and add @safety note.
47775 * manual/signal.texi: Move comments that analyze the above
47776 functions to their home place.
47777
47778 2014-02-03 Allan McRae <allan@archlinux.org>
47779
47780 * po/sl.po: Update Slovenian translation from translation project.
47781
47782 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
47783
47784 * manual/time.texi (timegm): Add missing blank after @c.
47785 Reported by Joseph Myers <joseph@codesourcery.com>.
47786
47787 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
47788
47789 * manual/check-safety.sh: New.
47790 * manual/Makefile ($(objpfx)stamp-summary): Run it.
47791
47792 * manual/terminal.texi: Document MTASC-safety properties.
47793
47794 * manual/filesys.texi: Document MTASC-safety properties.
47795
47796 * manual/errno.texi: Document MTASC-safety properties.
47797
47798 * manual/intro.texi: Document safety identifiers and
47799 conditionals.
47800
47801 * manual/string.texi (wcstok): Fix prototype.
47802 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
47803
47804 * manual/time.texi: Document MTASC-safety properties.
47805
47806 * manual/string.texi: Document MTASC-safety properties.
47807
47808 * manual/threads.texi: Document MTASC-safety properties.
47809
47810 * manual/stdio.texi: Document MTASC-safety properties.
47811
47812 * manual/syslog.texi: Document MTASC-safety properties.
47813
47814 * manual/sysinfo.texi: Document MTASC-safety properties.
47815
47816 * manual/startup.texi: Document MTASC-safety properties.
47817
47818 * manual/socket.texi: Document MTASC-safety properties.
47819
47820 * manual/signal.texi: Document MTASC-safety properties.
47821
47822 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
47823
47824 * manual/setjmp.texi: Document MTASC-safety properties.
47825
47826 * manual/search.texi: Document MTASC-safety properties.
47827
47828 * manual/resource.texi: Document MTASC-safety properties.
47829
47830 * manual/process.texi: Document MTASC-safety properties.
47831
47832 * manual/platform.texi: Document MTASC-safety properties.
47833
47834 * manual/pipe.texi: Document MTASC-safety properties.
47835
47836 * manual/pattern.texi: Document MTASC-safety properties.
47837
47838 * manual/message.texi: Document MTASC-safety properties.
47839
47840 [BZ #12751]
47841 * manual/memory.texi: Document MTASC-safety properties.
47842
47843 * manual/math.texi: Document MTASC-safety properties.
47844
47845 * manual/locale.texi: Document MTASC-safety properties.
47846
47847 * manual/llio.texi: Document MTASC-safety properties.
47848
47849 * manual/libdl.texi: New.
47850
47851 * manual/lang.texi: Document MTASC-safety properties.
47852
47853 * manual/job.texi: Document MTASC-safety properties.
47854
47855 * manual/getopt.texi: Document MTASC-safety properties.
47856
47857 * manual/ctype.texi: Document MTASC-safety properties.
47858
47859 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
47860
47861 [BZ #16046]
47862 * csu/libc-tls.c (static_map): Remove variable.
47863 (__libc_setup_tls): Use main executable's link map for TLS data.
47864 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
47865 casing for LM_ID_BASE and GL(dl_nns).
47866 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
47867 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
47868 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
47869 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
47870 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
47871 member.
47872 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
47873 l_phnum members.
47874
47875 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
47876
47877 * manual/debug.texi: Document MTASC-safety properties.
47878
47879 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
47880
47881 [BZ #16510]
47882 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
47883 of __x86_64__ when disabling x87 inline functions.
47884
47885 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
47886
47887 * manual/charset.texi: Document MTASC-safety properties.
47888
47889 * manual/crypt.texi: Document MTASC-safety properties.
47890
47891 * manual/conf.texi: Document MTASC-safety properties.
47892
47893 * manual/arith.texi: Document MTASC-safety properties.
47894
47895 * manual/argp.texi: Document MTASC-safety properties.
47896
47897 * manual/macros.texi: Introduce macros to document multi
47898 thread, asynchronous signal and asynchronous cancellation
47899 safety properties.
47900 * manual/intro.texi: Introduce the properties themselves.
47901
47902 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47903
47904 * sysdeps/sh/sh4/Makefile: New file.
47905
47906 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
47907
47908 * math/gen-libm-test.pl ($srcdir): New variable.
47909 ($auto_input): Use it.
47910
47911 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
47912
47913 [BZ #16506]
47914 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
47915 access beyond array bounds when parsing netgroups file.
47916
47917 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
47918 the old buffer before realloc.
47919
47920 2014-01-27 Allan McRae <allan@archlinux.org>
47921
47922 * po/fr.po: Update French translation from translation project.
47923
47924 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47925
47926 * sysdeps/sh/libm-test-ulps: Regenerate.
47927
47928 2014-01-24 David S. Miller <davem@davemloft.net>
47929
47930 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
47931
47932 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47933
47934 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
47935 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
47936
47937 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
47938
47939 [BZ #16474]
47940 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
47941 string pointers after reallocation.
47942
47943 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47944
47945 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
47946 __SH4A__ instead of __SH_FPU_ANY__.
47947
47948 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47949
47950 * sysdeps/sh/fpu_control.h: New file.
47951 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
47952 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
47953 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
47954 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
47955 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
47956 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
47957 * sysdeps/sh/sys/ucontext.h: Remove.
47958 * sysdeps/sh/sys: Remove directory.
47959
47960 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47961
47962 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
47963 s390/sys/ucontext.h.
47964 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
47965 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
47966
47967 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
47968
47969 [BZ #15605]
47970 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
47971
47972 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47973
47974 [BZ#16431]
47975 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
47976 Adjust the vDSO correctly for internal calls.
47977 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
47978
47979 2014-01-20 Allan McRae <allan@archlinux.org>
47980
47981 * po/ca.po: Update Catalan translation from translation project.
47982
47983 2014-01-16 Mike Frysinger <vapier@gentoo.org>
47984
47985 * sysdeps/s390/sotruss-lib.c: New file.
47986
47987 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47988
47989 [BZ#16430]
47990 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
47991 (__GI___gettimeofday): Alias for a different internal symbol to avoid
47992 local calls issues by not having a PLT stub required for IFUNC calls.
47993 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
47994
47995 2014-01-16 Joseph Myers <joseph@codesourcery.com>
47996
47997 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
47998 * math/test-fpucw-static.c: Likewise.
47999
48000 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
48001
48002 [BZ #16453]
48003 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
48004
48005 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48006
48007 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
48008 implementation for powerpc.
48009
48010 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
48011
48012 [BZ #14782]
48013 * sysdeps/posix/system.c (__libc_system): Do not enable
48014 asynchronous cancellation.
48015
48016 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48017
48018 [BZ #16427]
48019 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
48020 handling only for numbers special also in the IEEE case.
48021
48022 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48023
48024 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48025
48026 2014-01-11 Allan McRae <allan@archlinux.org>
48027
48028 * po/bg.po: Update Bulgarian translation from translation project.
48029
48030 * po/de.po: Update German translation from translation project.
48031
48032 2014-01-10 Roland McGrath <roland@hack.frob.com>
48033
48034 * sysdeps/generic/gcc-compat.h: New file.
48035
48036 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
48037
48038 * benchtests/asin-inputs: Correct slow inputs.
48039 * benchtests/acos-inputs: Likewise.
48040
48041 2014-01-10 Allan McRae <allan@archlinux.org>
48042
48043 * po:sv.po: Update Swedish translation from translation project.
48044
48045 * po/vi.po: Update Vietnamese translation from translation project.
48046
48047 * po/eo.po: Update Esperanto translation from translation project.
48048
48049 * po/cs.po: Update Czech translation from translation project.
48050
48051 * po/nl.po: Update Dutch translation from translation project.
48052
48053 * po/pl.po: Update Polish translation from translation project.
48054
48055 * po/ru.po: Update Russian translation from translation project.
48056
48057 * po/uk.po: Update Ukrainian translation from translation project.
48058
48059 2014-01-08 Brooks Moses <bmoses@google.com>
48060
48061 * elf/dl-load.c: Fix comment typo.
48062
48063 2014-01-08 Carlos O'Donell <carlos@redhat.com>
48064
48065 * po/header.pot: Rename to...
48066 * po/pot.header: ... this.
48067 * po/Makefile: Use pot.header.
48068
48069 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
48070 Maxim Kuvyrkov <maxim@kugelworks.com>
48071
48072 [BZ #16394]
48073 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
48074 SRC and DEST against LEN.
48075
48076 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48077
48078 [BZ #16414]
48079 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
48080 implementation.
48081 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
48082
48083 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48084
48085 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48086
48087 2014-01-08 Joseph Myers <joseph@codesourcery.com>
48088
48089 [BZ #16408]
48090 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
48091 for large positive arguments.
48092
48093 2014-01-07 Joseph Myers <joseph@codesourcery.com>
48094
48095 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48096
48097 * math/auto-libm-test-in: Mark various tests with
48098 xfail-rounding:ldbl-128ibm.
48099 * math/auto-libm-test-out: Regenerated.
48100
48101 [BZ #16407]
48102 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
48103 Increase overflow threshold.
48104
48105 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
48106
48107 [BZ #14286]
48108 * stdio-common/vfprintf.c: Check for integer overflow.
48109
48110 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48111
48112 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
48113 the first argument and return value of __tls_get_addr_internal.
48114
48115 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48116
48117 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
48118 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
48119
48120 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48121
48122 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
48123 * sysdeps/s390/rtld-global-offsets.sym: New file.
48124 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
48125 GLIBC_2.19 symbol.
48126 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
48127 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
48128 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
48129 ... this.
48130 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
48131 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
48132 ... this.
48133 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
48134 Regenerate.
48135 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
48136 Regenerate.
48137 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
48138 halfs of GPRs for high_gprs contexts.
48139 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
48140 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
48141 field.
48142 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
48143 uc_flags field.
48144 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
48145 64 bit versions:
48146 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
48147 for high GPRs (uc_high_gprs) and for future extensions
48148 (__reserved).
48149 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
48150 for future extensions (__reserved).
48151 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
48152 64 bit versions:
48153 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
48154 SC_HIGHGPRS offset definition.
48155 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
48156 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
48157
48158 * Versions.def: Add GLIBC_2.19 for libpthread.
48159 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
48160 siglongjmp for libpthread with GLIBC_2.19 symver.
48161 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
48162 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
48163 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
48164 * sysdeps/s390/__longjmp.c: New file.
48165 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
48166 * sysdeps/s390/longjmp.c: New file.
48167 * sysdeps/s390/setjmp.S: New file.
48168 * sysdeps/s390/sigjmp.S: New file.
48169 * sysdeps/s390/v1-longjmp.c: New file.
48170 * sysdeps/s390/v1-setjmp.h: New file.
48171 * sysdeps/s390/v1-sigjmp.c: New file.
48172 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
48173 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
48174 GLIBC_2.19 version.
48175 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
48176 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
48177 versioned symbols for ____longjmp_chk.
48178 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
48179 Likewise.
48180 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
48181 Regenerate.
48182 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48183 Regenerate.
48184 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
48185 Regenerate.
48186 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48187 Regenerate.
48188 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
48189 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
48190 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
48191 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
48192 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
48193 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
48194 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
48195 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
48196 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
48197 * sysdeps/s390/rtld-__longjmp.c: New file.
48198 * sysdeps/s390/rtld-setjmp.S: New file.
48199
48200 2014-01-06 Joseph Myers <joseph@codesourcery.com>
48201
48202 [BZ #16400]
48203 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
48204 Return -__logl (x) for small positive arguments without evaluating
48205 a polynomial.
48206
48207 2014-01-06 Mike Frysinger <vapier@gentoo.org>
48208
48209 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
48210 Rename to ...
48211 (__ptrace_peeksiginfo_args): ... this.
48212 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48213 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48214 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48215
48216 2014-01-06 Allan McRae <allan@archlinux.org>
48217
48218 * inet/netinet/in.h: Fix typo in comment.
48219
48220 2014-01-05 Andreas Jaeger <aj@suse.de>
48221
48222 * sysdeps/i386/fpu/libm-test-ulps: Update.
48223
48224 2014-01-05 Allan McRae <allan@archlinux.org>
48225
48226 * po/libc.pot: Regenerated.
48227
48228 * malloc/memusagestat.c: Fix gettext call formatting.
48229
48230 2014-01-04 Sami Kerola <kerolasa@iki.fi>
48231
48232 * nscd/nscd.c: Improve usage() output.
48233
48234 2014-01-04 Mike Frysinger <vapier@gentoo.org>
48235
48236 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
48237 * sysdeps/unix/sysv/linux/configure: Regenerated.
48238 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
48239 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
48240
48241 2014-01-03 Joseph Myers <joseph@codesourcery.com>
48242
48243 [BZ #16390]
48244 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
48245 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
48246
48247 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48248
48249 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
48250 extra tokens at end of #undef directive.
48251 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
48252 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
48253 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
48254
48255 2014-01-03 Joseph Myers <joseph@codesourcery.com>
48256
48257 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48258
48259 * math/auto-libm-test-in: Mark various tests with
48260 xfail-rounding:ldbl-128ibm.
48261 * math/auto-libm-test-out: Regenerated.
48262
48263 2014-01-02 Joseph Myers <joseph@codesourcery.com>
48264
48265 [BZ #16386]
48266 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
48267 numbers with subnormal high part when calculating exponent.
48268
48269 [BZ #16385]
48270 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
48271 fabs.
48272
48273 [BZ #16384]
48274 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
48275 M_LN2l.
48276 (__ieee754_acoshl): Use __log1pl not __log1p.
48277
48278 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
48279
48280 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
48281 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
48282 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
48283 (grow_heap, heap_trim, _int_new_arena, get_free_list)
48284 (reused_arena, arena_get2): Convert to GNU style.
48285 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
48286 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
48287 (memalign_check, __malloc_set_state): Likewise.
48288 * malloc/mallocbug.c (main): Likewise.
48289 * malloc/malloc.c (__malloc_assert, malloc_init_state)
48290 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
48291 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
48292 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
48293 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
48294 (__posix_memalign, malloc_info): Likewise.
48295 * malloc/malloc.h: Likewise.
48296 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
48297 (mallochook, memalignhook, reallochook, mabort): Likewise.
48298 * malloc/mcheck.h: Likewise.
48299 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
48300 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
48301 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
48302 * malloc/morecore.c (__default_morecore): Likewise.
48303 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
48304 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
48305 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
48306 (print_and_abort): Likewise.
48307 * malloc/obstack.h: Likewise.
48308 * malloc/set-freeres.c (__libc_freeres): Likewise.
48309 * malloc/tst-mallocstate.c (main): Likewise.
48310 * malloc/tst-mtrace.c (main): Likewise.
48311 * malloc/tst-realloc.c (do_test): Likewise.
48312
48313 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48314
48315 [BZ #16366]
48316 * nscd/netgroupcache.c (do_notfound): New function.
48317 (addgetnetgrentX): Use it.
48318
48319 [BZ # 16365]
48320 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
48321 NSS_STATUS_NOTFOUND.
48322
48323 2014-01-01 Joseph Myers <joseph@codesourcery.com>
48324
48325 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48326 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48327
48328 2014-01-01 Allan McRae <allan@archlinux.org>
48329
48330 * scripts/update-copyrights: Update configure input file suffix.
48331
48332 * NEWS: Update copyright year.
48333 * catgets/gencat.c: Likewise.
48334 * csu/version.c: Likewise.
48335 * debug/catchsegv.sh: Likewise.
48336 * debug/pcprofiledump.c: Likewise.
48337 * debug/xtrace.sh: Likewise.
48338 * elf/ldconfig.c: Likewise.
48339 * elf/ldd.bash.in: Likewise.
48340 * elf/pldd.c: Likewise.
48341 * elf/sotruss.ksh: Likewise.
48342 * elf/sprof.c: Likewise.
48343 * iconv/iconv_prog.c: Likewise.
48344 * iconv/iconvconfig.c: Likewise.
48345 * locale/programs/locale.c: Likewise.
48346 * locale/programs/localedef.c: Likewise.
48347 * login/programs/pt_chown.c: Likewise.
48348 * malloc/memusage.sh: Likewise.
48349 * malloc/memusagestat.c: Likewise.
48350 * malloc/mtrace.pl: Likewise.
48351 * manual/libc.texinfo: Likewise.
48352 * nscd/nscd.c: Likewise.
48353 * nss/getent.c: Likewise.
48354 * nss/makedb.c: Likewise.
48355 * posix/getconf.c: Likewise.
48356 * scripts/test-installation.pl: Likewise.
48357
48358 * All files with FSF copyright notices: Update copyright dates
48359 using scripts/update-copyrights.
48360 * intl/plural.c: Regenerated.
48361 * locale/programs/charmap-kw.h: Likewise.
48362 * locale/programs/locfile-kw.h: Likewise.
48363
48364 2013-12-31 Mike Frysinger <vapier@gentoo.org>
48365
48366 * sysdeps/unix/sysv/linux/configure: Regenerated.
48367 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
48368 the linux/fanotify.h header.
48369 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
48370 HAVE_LINUX_FANOTIFY_H is defined.
48371
48372 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
48373
48374 * benchtests/cos-inputs: New inputs.
48375 * benchtests/sin-inputs: Likewise.
48376
48377 * benchtests/atan-inputs: New inputs. Fix name of multiple
48378 precision fallback inputs.
48379
48380 * benchtests/atanh-inputs: New inputs.
48381 * benchtests/tanh-inputs: Likewise.
48382
48383 * benchtests/acosh-inputs: New inputs.
48384 * benchtests/asinh-inputs: Likewise.
48385
48386 * benchtests/cosh-inputs: New inputs.
48387 * benchtests/sinh-inputs: Likewise.
48388
48389 * benchtests/acos-inputs: Add more inputs.
48390 * benchtests/asin-inputs: Likewise.
48391
48392 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
48393
48394 [BZ #16375]
48395 * manual/arith.texi: Fix spelling.
48396 * manual/charset.texi: Likewise.
48397 * manual/errno.texi: Likewise.
48398 * manual/filesys.texi: Likewise.
48399 * manual/lang.texi: Likewise.
48400 * manual/llio.texi: Likewise.
48401 * manual/locale.texi: Likewise.
48402 * manual/message.texi: Likewise.
48403 * manual/resource.texi: Likewise.
48404 * manual/search.texi: Likewise.
48405 * manual/setjmp.texi: Likewise.
48406 * manual/stdio.texi: Likewise.
48407 * manual/string.texi: Likewise.
48408 * manual/sysinfo.texi: Likewise.
48409 * manual/time.texi: Likewise.
48410
48411 2013-12-27 Carlos O'Donell <carlos@redhat.com>
48412
48413 * po/sl.po: New file.
48414
48415 2013-12-27 Mike Frysinger <vapier@gentoo.org>
48416
48417 * .gitignore: Add core/.gdbinit/.gdb_history.
48418
48419 2013-12-27 Allan McRae <allan@archlinux.org>
48420
48421 [BZ #16369]
48422 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
48423 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
48424
48425 2013-12-24 Brooks Moses <bmoses@google.com>
48426
48427 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
48428 all compilers that claim C++98 compliance, not just GCC.
48429 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
48430 Likewise.
48431
48432 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
48433
48434 * NEWS: Restore accidentally deleted bug-fix entries.
48435
48436 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
48437 Ondřej Bílka <neleai@seznam.cz>
48438
48439 [BZ #15073]
48440 * malloc/malloc.c (_int_free): Perform sanity check only if we
48441 have_lock.
48442
48443 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
48444
48445 [BZ #12986]
48446 * manual/stdio.texi (String Input Conversions): Clarify that character
48447 classes are not supported.
48448
48449 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48450
48451 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48452
48453 2013-12-22 Joseph Myers <joseph@codesourcery.com>
48454
48455 [BZ #16337]
48456 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
48457 Calculate results for small negative arguments directly rather
48458 than using reflection formula with special underflow handling.
48459
48460 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
48461 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
48462 sysdeps/unix/bsd/bsd4.4/syscalls.list.
48463 (fchflags): Likewise.
48464 (revoke): Likewise.
48465 (setlogin): Likewise.
48466 (sigaltstack): Likewise.
48467 (wait4): Likewise.
48468 (sigblock): Remove.
48469 (sigsetmask): Likewise.
48470 (wait3): Likewise.
48471 (waitpid): Likewise.
48472 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
48473 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
48474 file.
48475 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
48476 * sysdeps/unix/bsd/Makefile: ... here.
48477 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
48478 * sysdeps/unix/bsd/Versions: ... here.
48479 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
48480 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
48481 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
48482 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
48483 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
48484 * sysdeps/unix/bsd/sigblock.c: ... here.
48485 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
48486 * sysdeps/unix/bsd/sigsetmask.c: ... here.
48487 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
48488 * sysdeps/unix/bsd/sigvec.c: ... here.
48489 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
48490 * sysdeps/unix/bsd/tcdrain.c: ... here.
48491 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
48492 * sysdeps/unix/bsd/tcgetattr.c: ... here.
48493 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
48494 * sysdeps/unix/bsd/tcsetattr.c: ... here.
48495 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
48496 * sysdeps/unix/bsd/wait.c: ... here.
48497 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
48498 * sysdeps/unix/bsd/wait3.c: ... here.
48499 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
48500 * sysdeps/unix/bsd/waitpid.c: ... here.
48501
48502 2013-12-21 Joseph Myers <joseph@codesourcery.com>
48503
48504 [BZ #16356]
48505 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
48506 round-to-nearest for [!USE_AS_EXPM1L].
48507 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
48508 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
48509 more tests of exp and exp10. Expect some exp10 tests to miss
48510 exceptions or fail in directed rounding modes.
48511 * math/auto-libm-test-out: Regenerated.
48512 * math/libm-test.inc (exp10_tonearest_test_data): New array.
48513 (exp10_test_tonearest): New function.
48514 (exp10_towardzero_test_data): New array.
48515 (exp10_test_towardzero): New function.
48516 (exp10_downward_test_data): New array.
48517 (exp10_test_downward): New function.
48518 (exp10_upward_test_data): New array.
48519 (exp10_test_upward): New function.
48520 (main): Call the new functions.
48521 * sysdeps/i386/fpu/libm-test-ulps: Update.
48522 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48523
48524 2013-12-20 Joseph Myers <joseph@codesourcery.com>
48525
48526 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
48527 asinh, atan, atan2, atanh, cbrt, cos and cosh.
48528 * math/auto-libm-test-out: Regenerated.
48529 * math/libm-test.inc (acosh_test_data): Add more tests.
48530 (atanh_test_data): Likewise.
48531 (ceil_test_data): Likewise.
48532 (copysign_test_data): Likewise.
48533 * sysdeps/i386/fpu/libm-test-ulps: Update.
48534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48535
48536 * timezone/checktab.awk: Update from tzcode 2013i.
48537 * timezone/private.h: Likewise.
48538 * timezone/scheck.c: Likewise.
48539 * timezone/tzfile.h: Likewise.
48540 * timezone/tzselect.ksh: Likewise.
48541 * timezone/zdump.c: Likewise.
48542 * timezone/zic.c: Likewise.
48543
48544 * math/auto-libm-test-in: Add tests of cpow.
48545 * math/auto-libm-test-out: Regenerated.
48546 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
48547 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48548 mpc_cc_c.
48549 (func_calc_desc): Add mpc_cc_c union field.
48550 (test_functions): Add cpow.
48551 (special_fill_2pi): New function.
48552 (special_real_inputs): Add 2pi.
48553 (calc_generic_results): Handle mpc_cc_c.
48554 * sysdeps/i386/fpu/libm-test-ulps: Update.
48555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48556
48557 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
48558 csqrt, ctan and ctanh.
48559 * math/auto-libm-test-out: Regenerated.
48560 * math/libm-test.inc (TEST_COND_x86_64): New macro.
48561 (TEST_COND_x86): Likewise.
48562 (ccos_test_data): Use AUTO_TESTS_c_c.
48563 (ccosh_test_data): Likewise.
48564 (cexp_test_data): Likewise.
48565 (clog_test_data): Likewise.
48566 (csqrt_test_data): Likewise.
48567 (ctan_test_data): Likewise.
48568 (ctan_tonearest_test_data): Likewise.
48569 (ctan_towardzero_test_data): Likewise.
48570 (ctan_downward_test_data): Likewise.
48571 (ctan_upward_test_data): Likewise.
48572 (ctanh_test_data): Likewise.
48573 (ctanh_tonearest_test_data): Likewise.
48574 (ctanh_towardzero_test_data): Likewise.
48575 (ctanh_downward_test_data): Likewise.
48576 (ctanh_upward_test_data): Likewise.
48577 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48578 mpc_c_c.
48579 (func_calc_desc): Add mpc_c_c union field.
48580 (FUNC_mpc_c_c): New macro.
48581 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
48582 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
48583 ctanh.
48584 (special_fill_min_subnorm_p120): New function.
48585 (special_real_inputs): Add min_subnorm_p120.
48586 (calc_generic_results): Handle mpc_c_c.
48587 * sysdeps/i386/fpu/libm-test-ulps: Update.
48588 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48589
48590 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
48591
48592 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
48593 (do_sin_slow): New functions.
48594 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
48595 (cslow2, csloww1, csloww2): Use the new functions.
48596
48597 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
48598 Use M to change sign of result instead of X. Assume X is
48599 positive.
48600 (csloww1): Likewise.
48601 (__sin): Adjust.
48602 (__cos): Adjust.
48603
48604 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
48605 arguments A and DA.
48606 (__sin): Adjust.
48607 (__cos): Likewise.
48608
48609 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
48610 (__cos): Likewise.
48611 (sloww1): Don't adjust sign of DX.
48612 (csloww1): Likewise.
48613 (sloww2): Use X directly and don't adjust sign of DX.
48614 (csloww2): Likewise.
48615
48616 2013-12-19 Joseph Myers <joseph@codesourcery.com>
48617
48618 * math/auto-libm-test-in: Add tests of cabs and carg.
48619 * math/auto-libm-test-out: Regenerated.
48620 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
48621 (carg_test_data): Likewise.
48622 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48623 mpc_c_f.
48624 (func_calc_desc): Add mpc_c_f union field.
48625 (test_functions): Add cabs and carg.
48626 (calc_generic_results): Handle mpc_c_f.
48627
48628 * sysdeps/powerpc/powerpc32/libgcc-compat.S
48629 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
48630 as a macro and a compat symbol.
48631 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
48632 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
48633 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
48634 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
48635 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
48636 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
48637 not use .hidden.
48638 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
48639 Likewise.
48640 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
48641 Likewise.
48642 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
48643 Likewise.
48644 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
48645 Likewise.
48646 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
48647 Likewise.
48648 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
48649 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
48650 from GLIBC_2.3.2.
48651
48652 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48653
48654 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48655
48656 2013-12-19 Joseph Myers <joseph@codesourcery.com>
48657
48658 * manual/texinfo.tex: Update to version 2013-11-26.10 with
48659 trailing whitespace removed.
48660 * scripts/config.guess: Update to version 2013-11-29.
48661 * scripts/config.sub: Update to version 2013-10-01.
48662
48663 * math/auto-libm-test-in: Add tests of sincos.
48664 * math/auto-libm-test-out: Regenerated.
48665 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
48666 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48667 mpfr_f_11.
48668 (func_calc_desc): Add mpfr_f_11 union field.
48669 (test_functions): Add sincos.
48670 (calc_generic_results): Handle mpfr_f_11.
48671 * sysdeps/i386/fpu/libm-test-ulps: Update.
48672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48673
48674 2013-12-19 Andreas Schwab <schwab@suse.de>
48675
48676 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
48677 CALL_MCOUNT.
48678 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48679 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
48680 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
48681
48682 2013-12-19 Joseph Myers <joseph@codesourcery.com>
48683
48684 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
48685 * sysdeps/i386/fpu/libm-test-ulps: Update.
48686 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48687
48688 [BZ #16293]
48689 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
48690 round-to-nearest mode when using frndint.
48691 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
48692 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48693 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48694 Likewise.
48695 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
48696 sinh test to fail.
48697 * math/auto-libm-test-out: Regenerated.
48698 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
48699 (TEST_COND_x86): Likewise.
48700 (expm1_tonearest_test_data): New array.
48701 (expm1_test_tonearest): New function.
48702 (expm1_towardzero_test_data): New array.
48703 (expm1_test_towardzero): New function.
48704 (expm1_downward_test_data): New array.
48705 (expm1_test_downward): New function.
48706 (expm1_upward_test_data): New array.
48707 (expm1_test_upward): New function.
48708 (main): Run the new test functions.
48709 * sysdeps/i386/fpu/libm-test-ulps: Update.
48710 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48711
48712 * include/features.h: Update comment documenting feature test
48713 macros. Mention _DEFAULT_SOURCE in comment.
48714 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
48715 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
48716 _BSD_SOURCE and _SVID_SOURCE.
48717 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
48718 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
48719 !_SVID_SOURCE]: Likewise.
48720 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48721 (__USE_POSIX_IMPLICITLY): Define.
48722 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48723 (_POSIX_SOURCE): Undefine and redefine.
48724 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48725 (_POSIX_C_SOURCE): Likewise.
48726 * manual/creature.texi (_DEFAULT_SOURCE): Document.
48727 (Feature Test Macros): Update documentation of default features.
48728
48729 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48730
48731 * benchtests/Makefile: Add bench-strtok.
48732 * benchtests/bench-strtok.c: New file: strtok benchtest.
48733
48734 2013-12-19 Allan McRae <allan@archlinux.org>
48735
48736 * manual/install.texi: Suppress menu for plain text output.
48737 * INSTALL: Regenerated.
48738
48739 2013-12-18 Brooks Moses <bmoses@google.com>
48740
48741 [BZ #15846]
48742 * misc/getauxval.c: Include errno.h.
48743 (__getauxval): Set errno to ENOENT if the requested type is not
48744 found.
48745 * misc/sys/auxv.h (getauxval): Document that it may set errno;
48746 don't declare with __attribute_const__.
48747 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
48748 * manual/startup.texi: Document that getauxval sets errno.
48749
48750 2013-12-18 Joseph Myers <joseph@codesourcery.com>
48751
48752 * math/auto-libm-test-in: Add tests of jn and yn.
48753 * math/auto-libm-test-out: Regenerated.
48754 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
48755 (yn_test_data): Likewise.
48756 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48757 mpfr_if_f.
48758 (func_calc_desc): Add mpfr_if_f union field.
48759 (FUNC_mpfr_if_f): New macro.
48760 (test_functions): Add jn and yn.
48761 (calc_generic_results): Assert type of second input for
48762 mpfr_ff_f. Handle mpfr_if_f.
48763 (output_for_one_input_case): Disable all checking for arguments
48764 fitting floating-point types in case of an integer argument.
48765 * sysdeps/i386/fpu/libm-test-ulps: Update.
48766 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48767
48768 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48769 Don't expect fegetround reference in libm.so.
48770
48771 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
48772
48773 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
48774 $(config-cflags-nofma).
48775
48776 2013-12-18 Joseph Myers <joseph@codesourcery.com>
48777
48778 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
48779 * math/auto-libm-test-out: Regenerated.
48780
48781 [BZ #16338]
48782 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
48783 to determine exponent and adjust argument to have exponent of -1.
48784 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
48785 log2.
48786 * math/auto-libm-test-out: Regenerated.
48787 * sysdeps/i386/fpu/libm-test-ulps: Update.
48788 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48789
48790 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
48791
48792 * manual/probes.texi: Remove cases when per-thread arenas are
48793 disabled.
48794
48795 2013-12-18 Andreas Schwab <schwab@suse.de>
48796
48797 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
48798 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
48799 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
48800 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
48801 * sysdeps/i386/i686/multiarch/Makefile: Update.
48802 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
48803
48804 2013-12-17 Joseph Myers <joseph@codesourcery.com>
48805
48806 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
48807 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
48808
48809 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
48810
48811 [BZ #15968]
48812 Support TZ transition times < 00:00:00.
48813 This is needed for version-3 tz-format files; it supports time
48814 stamps past 2037 for America/Godthab (the only entry in the tz
48815 database for which this change is relevant).
48816 * manual/time.texi (TZ Variable): Document transition times
48817 from -167:59:59 through -00:00:01.
48818 * time/tzset.c (tz_rule): Time of day is now signed.
48819 (__tzset_parse_tz): Parse negative time of day.
48820
48821 Document TZ transition times >= 25:00:00.
48822 * manual/time.texi (TZ Variable): Document transition times from
48823 25:00:00 through 167:59:59. These are already supported, and this
48824 support will help with version-3 tz-format files.
48825
48826 * manual/time.texi (TZ Variable): Modernize North America example
48827 to reflect current (i.e., 2007-and-later) daylight saving rules.
48828
48829 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
48830
48831 2013-12-17 Joseph Myers <joseph@codesourcery.com>
48832
48833 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
48834 * sysdeps/unix/bsd/bits/stat.h: Likewise.
48835 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
48836 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48837 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
48838 * sysdeps/unix/bsd/bsdstat.h: Likewise.
48839 * sysdeps/unix/bsd/clock.c: Likewise.
48840 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
48841 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
48842 * sysdeps/unix/bsd/init-posix.c: Likewise.
48843 * sysdeps/unix/bsd/poll.c: Likewise.
48844 * sysdeps/unix/bsd/ptsname.c: Likewise.
48845 * sysdeps/unix/bsd/seekdir.c: Likewise.
48846 * sysdeps/unix/bsd/setegid.c: Likewise.
48847 * sysdeps/unix/bsd/seteuid.c: Likewise.
48848 * sysdeps/unix/bsd/setgid.c: Likewise.
48849 * sysdeps/unix/bsd/setrgid.c: Likewise.
48850 * sysdeps/unix/bsd/setruid.c: Likewise.
48851 * sysdeps/unix/bsd/setsid.c: Likewise.
48852 * sysdeps/unix/bsd/setuid.c: Likewise.
48853 * sysdeps/unix/bsd/sigaction.c: Likewise.
48854 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
48855 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
48856 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
48857 * sysdeps/unix/bsd/telldir.c: Likewise.
48858 * sysdeps/unix/bsd/times.c: Likewise.
48859 * sysdeps/unix/bsd/usleep.c: Likewise.
48860
48861 * misc/Makefile (install-lib): Remove libbsd-compat.a.
48862 ($(objpfx)libbsd-compat.a): Remove rule.
48863
48864 * include/features.h (__FAVOR_BSD): Do not define.
48865 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
48866 features conflicting with POSIX.
48867 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
48868 (_BSD_SOURCE): Remove description of not being a subset of other
48869 feature test macros.
48870 * manual/job.texi (getpgrp): Do not document BSD version.
48871 (getpgid): Do not document by reference to BSD getpgrp.
48872 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
48873 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
48874 * signal/signal.h [__FAVOR_BSD]: Likewise.
48875 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
48876 instead of making contents conditional on [__FAVOR_BSD].
48877 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
48878
48879 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48880
48881 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48882
48883 2013-12-17 Joseph Myers <joseph@codesourcery.com>
48884
48885 [BZ #16314]
48886 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
48887 values below 2**-450, not 2**-500.
48888 * math/auto-libm-test-in: Don't allow spurious underflow from
48889 hypot.
48890 * math/auto-libm-test-out: Regenerated.
48891
48892 [BZ #16316]
48893 [BZ #16330]
48894 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
48895 values of ha and hb and sort them after adjusting subnormal
48896 arguments.
48897 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
48898 Likewise.
48899 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
48900 values of ea and eb and sort them after adjusting subnormal
48901 arguments.
48902 * math/auto-libm-test-in: Do not expect some hypot tests of
48903 subnormals to fail. Add more hypot tests.
48904 * math/auto-libm-test-out: Regenerated.
48905
48906 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48907
48908 [BZ #13304]
48909 * sysdeps/sh/s_fma.c: New file.
48910 * sysdeps/sh/s_fmaf.c: New file.
48911 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
48912 version.
48913 * sysdeps/sh/Implies: Add sh/soft-fp.
48914
48915 2013-12-16 Roland McGrath <roland@hack.frob.com>
48916
48917 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
48918 level of indirection to members `objname', `errstring', `malloced'.
48919 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
48920 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
48921 it as the __longjmp argument (just pass 1 instead).
48922 (_dl_catch_error): Initialize C with argument pointers and address of
48923 volatile local ERRCODE rather than copying values out of C at return.
48924
48925 2013-12-16 Joseph Myers <joseph@codesourcery.com>
48926
48927 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
48928 * math/auto-libm-test-out: Regenerated.
48929 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
48930 (hypot_test_data): Likewise.
48931 (pow_test_data): Likewise.
48932 (pow_tonearest_test_data): Likewise.
48933 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48934 mpfr_ff_f.
48935 (func_calc_desc): Add mpfr_ff_f union field.
48936 (FUNC_mpfr_ff_f): New macro.
48937 (test_functions): Add atan2, hypot and pow.
48938 (special_fill_min): New function.
48939 (special_fill_minus_min): Likewise.
48940 (special_fill_min_subnorm): Likewise.
48941 (special_fill_minus_min_subnorm): Likewise.
48942 (special_real_inputs): Add min, -min, min_subnorm and
48943 -min_subnorm.
48944 (calc_generic_results): Handle mpfr_ff_f.
48945 * sysdeps/i386/fpu/libm-test-ulps: Update.
48946 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48947
48948 2013-12-16 Will Newton <will.newton@linaro.org>
48949
48950 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
48951 (Aligned Memory Blocks): Add documentation for aligned_alloc
48952 and suggest it as an alternative to posix_memalign.
48953 (Hooks for Malloc): Document __memalign_hook is also called
48954 for aligned_alloc. (Summary of Malloc): Add summary for
48955 aligned alloc. Document __memalign_hook is also called
48956 for aligned_alloc.
48957
48958 2013-12-16 Will Newton <will.newton@linaro.org>
48959
48960 * manual/memory.texi (Malloc Examples): Clarify default
48961 alignment documentation. Suggest posix_memalign rather
48962 than memalign or valloc.
48963 (Aligned Memory Blocks): Remove suggestion to use memalign
48964 or valloc. Remove obsolete comment about BSD.
48965 Document memalign errno values and mark the function obsolete.
48966 Document posix_memalign returned error codes. Mark valloc
48967 as obsolete. (Hooks for Malloc): __memalign_hook is also
48968 called for posix_memalign and valloc.
48969 (Summary of Malloc): Add posix_memalign to function summary.
48970 __memalign_hook is also called for posix_memalign and valloc.
48971
48972 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
48973
48974 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
48975 TAYLOR_SIN.
48976 (__sin): Adjust.
48977 (__cos): Likewise.
48978 (sloww): Use mynumber union. Expand ternary operator into
48979 if-else statements.
48980 (cslow): use mynumber union.
48981
48982 2013-12-16 Allan McRae <allan@archlinux.org>
48983
48984 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
48985 * configure: Regenerated.
48986
48987 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
48988
48989 [BZ #14120]
48990 * configure.ac: Added --enable-maintainer-mode. Check for
48991 autoconf when enabled.
48992 * configure: Regenerated.
48993
48994 * nscd/nscd.service: New file.
48995 * nscd/nscd.tmpfiles: New file.
48996
48997 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
48998
48999 [BZ #12100]
49000 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
49001 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
49002 * sysdeps/x86_64/multiarch/strstr.c: ... here.
49003 (strstr): Add __strstr_sse2_unaligned ifunc.
49004 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
49005 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
49006 (strcasestr): Remove __strcasestr_sse42 ifunc.
49007 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
49008 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
49009 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
49010
49011 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49012
49013 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
49014 * sysdeps/sh/bits/fenv.h: ... here.
49015 * sysdeps/sh/sh4/fpu/bits: Remove directory.
49016
49017 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49018
49019 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
49020
49021 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
49022 hypotf multiarch implementations.
49023 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
49024 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
49025 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
49026 multiarch hypot for PPC64.
49027 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
49028 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
49029 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
49030 multiarch hypotf for PPC64.
49031
49032 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
49033 modff multiarch implementations.
49034 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
49035 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
49036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
49037 multiarch modf for PPC64.
49038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
49039 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
49040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
49041 multiarch modff for PPC64.
49042
49043 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
49044 and logl multiarch implementations.
49045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
49046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
49047 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
49048 multiarch logb for PPC64.
49049 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
49050 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
49051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
49052 multiarch logb for PPC64.
49053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
49054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
49055 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
49056 multiarch logb for PPC64.
49057
49058 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
49059 isinff multiarch implementation.
49060 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
49061 file.
49062 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
49063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
49064 multiarch isinf for PPC64.
49065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
49066 file.
49067 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
49068 multiarch isinff for PPC64.
49069
49070 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
49071 finitef multiarch implementation.
49072 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
49073 file.
49074 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
49075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
49076 multiarch finite for PPC64.
49077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
49078 file.
49079 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
49080 multiarch finitef for PPC64.
49081
49082 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
49083 lrint multiarch implementation.
49084 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
49085 file.
49086 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
49087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
49088 multiarch llrint for PPC64.
49089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
49090 multiarch lrint for PPC64.
49091
49092 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
49093 copysignf multiarch implementation.
49094 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
49095 file.
49096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
49097 file.
49098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
49099 multiarch copysign for PPC64.
49100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
49101 multiarch copysignf for PPC64.
49102
49103 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
49104 multiarch implementation.
49105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
49106 file.
49107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
49108 file.
49109 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
49110 file.
49111 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
49112 file.
49113 multiarch llround for PPC64.
49114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
49115 multiarch trunc for PPC64.
49116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
49117 multiarch truncf for PPC64.
49118
49119 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
49120 multiarch implementation.
49121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
49122 file.
49123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
49124 file.
49125 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
49126 file.
49127 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
49128 file.
49129 multiarch llround for PPC64.
49130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
49131 multiarch round for PPC64.
49132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
49133 multiarch roundf for PPC64.
49134
49135 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
49136 multiarch implementation.
49137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
49138 file.
49139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
49140 file.
49141 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
49142 file.
49143 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
49144 file.
49145 multiarch llround for PPC64.
49146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
49147 multiarch floor for PPC64.
49148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
49149 multiarch floorf for PPC64.
49150
49151 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
49152 multiarch implementation.
49153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
49154 file.
49155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
49156 file.
49157 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
49158 file.
49159 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
49160 file.
49161 multiarch llround for PPC64.
49162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
49163 multiarch ceil for PPC64.
49164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
49165 multiarch ceilf for PPC64.
49166
49167 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
49168 multiarch implementation.
49169 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
49170 file.
49171 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
49172 file.
49173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
49174 file.
49175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
49176 multiarch llround for PPC64.
49177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
49178 multiarch lround for PPC64.
49179
49180 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
49181 multiarch implementation.
49182 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
49183 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
49184 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
49185 file.
49186 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
49187 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
49188 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
49189 multiarch isnan for PPC64.
49190 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
49191 multiarch isnanf for PPC64.
49192
49193 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
49194 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
49195 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
49196 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
49197 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
49198 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
49199
49200 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
49201 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49202 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49203 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49204
49205 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
49206 multiarch implementations.
49207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49208 (__libc_ifunc_impl_list): Likewise.
49209 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
49210 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
49211 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
49212 multiarch stpcpy for PPC64.
49213
49214 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
49215 multiarch implementations.
49216 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49217 (__libc_ifunc_impl_list): Likewise.
49218 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
49219 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
49220 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
49221 multiarch strcpy for PPC64.
49222
49223 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
49224 redefine function name.
49225 (_wordcopy_fwd_dest_aligned): Likewise.
49226 (_wordcopy_bwd_aligned): Likewise.
49227 (_wordcopy_bwd_dest_aligned): Likewise.
49228 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
49229 multiarch implementations.
49230 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49231 (__libc_ifunc_impl_list): Likewise.
49232 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
49233 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
49234 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
49235 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
49236 multiarch wcscpy for PPC64.
49237
49238 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
49239 multiarch implementations.
49240 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49241 (__libc_ifunc_impl_list): Likewise.
49242 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
49243 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
49244 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
49245 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
49246 multiarch wcscpy for PPC64.
49247
49248 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
49249 multiarch implementations.
49250 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49251 (__libc_ifunc_impl_list): Likewise.
49252 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
49253 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
49254 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
49255 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
49256 multiarch wcsrchr for PPC64.
49257
49258 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
49259 multiarch implementations.
49260 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49261 (__libc_ifunc_impl_list): Likewise.
49262 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
49263 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
49264 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
49265 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
49266 multiarch wcschr for PPC64.
49267
49268 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
49269 multiarch implementations.
49270 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49271 (__libc_ifunc_impl_list): Likewise.
49272 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
49273 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
49274 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
49275 multiarch strchrnul for PPC64.
49276
49277 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
49278 implementations.
49279 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49280 (__libc_ifunc_impl_list): Likewise.
49281 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
49282 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
49283 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
49284 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
49285 strchr for PPC64.
49286
49287 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
49288 implementations.
49289 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49290 (__libc_ifunc_impl_list): Likewise.
49291 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
49292 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
49293 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
49294 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
49295 strncmp for PPC64.
49296
49297 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
49298 multiarch implementations.
49299 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49300 (__libc_ifunc_impl_list): Likewise.
49301 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
49302 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
49303 strncasecmp for PPC64.
49304 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
49305 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
49306 multiarch strncasecmp_l for PPC64.
49307
49308 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
49309 multiarch implementations.
49310 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49311 (__libc_ifunc_impl_list): Likewise.
49312 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
49313 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
49314 multiarch strcasecmp for PPC64.
49315 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
49316 file.
49317 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
49318 multiarch strcasecmp_l for PPC64.
49319
49320 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
49321 implementations.
49322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49323 (__libc_ifunc_impl_list): Likewise.
49324 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
49325 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
49326 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
49327 strnlen for PPC64.
49328
49329 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
49330 implementations.
49331 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49332 (__libc_ifunc_impl_list): Likewise.
49333 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
49334 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
49335 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
49336 strlen for PPC64.
49337
49338 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
49339 implementations.
49340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49341 (__libc_ifunc_impl_list): Likewise.
49342 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
49343 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
49344 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
49345 rawmemrchr for PPC64.
49346
49347 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
49348 implementation.
49349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49350 (__libc_ifunc_impl_list): Likewise.
49351 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
49352 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
49353 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
49354 memrchr for PPC64.
49355
49356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
49357 implementation.
49358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49359 (__libc_ifunc_impl_list): Likewise.
49360 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
49361 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
49362 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
49363 memchr for PPC64.
49364
49365 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
49366 implementation.
49367 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49368 (__libc_ifunc_impl_list): Likewise.
49369 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
49370 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
49371 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
49372 mempcpy for PPC64.
49373
49374 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
49375 avoid cretion of __bzero symbol.
49376 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
49377 Likewise.
49378 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
49379 Likewise.
49380 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
49381 Likewise.
49382 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
49383 multiarch implementations.
49384 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49385 (__libc_ifunc_impl_list): Likewise.
49386 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
49387 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
49388 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
49389 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
49390 bzero for PPC32.
49391 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
49392 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
49393 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
49394 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
49395 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
49396 memset for PPC64.
49397 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
49398
49399 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
49400 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
49401 implementations.
49402 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49403 (__libc_ifunc_impl_list): Likewise.
49404 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
49405 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
49406 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
49407 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
49408 memcmp for PPC64.
49409
49410 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
49411 multiarch for POWER/PPC64.
49412 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
49413 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
49414 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
49415 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
49416 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
49417 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
49418 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
49419 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
49420 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
49421 memcpy for PPC64.
49422
49423 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
49424 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
49425 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
49426 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
49427 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
49428 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
49429 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
49430 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
49431 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
49432 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
49433 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
49434 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
49435 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
49436 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
49437 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
49438 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
49439 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
49440 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
49441 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
49442 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
49443 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
49444 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
49445
49446 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49447
49448 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
49449
49450 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
49451
49452 * benchtests/Makefile (bench): Add exp2 and log2.
49453 (LDLIBS-bench-exp2): Add -lm.
49454 (LDLIBS-bench-log2): Likewise.
49455 * benchtests/exp2-inputs: New inputs file.
49456 * benchtests/log2-inputs: New inputs file.
49457 * benchtests/log-inputs: Add new inputs.
49458 * benchtests/tan-inputs: Likewise.
49459
49460 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
49461
49462 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
49463 definition...
49464 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
49465 (csloww2): ... from here.
49466
49467 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
49468 instead of structures.
49469 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
49470 (POLYNOMIAL): Likewise.
49471 (TAYLOR_SLOW): Likewise.
49472 (__sin): Likewise.
49473 (__cos): Likewise.
49474 (slow1): Likewise.
49475 (slow2): Likewise.
49476 (sloww): Likewise.
49477 (sloww1); Likewise.
49478 (sloww2): Likewise.
49479 (bsloww1): Likewise.
49480 (bsloww2): Likewise.
49481 (cslow2): Likewise.
49482 (csloww): Likewise.
49483 (csloww1): Likewise.
49484 (csloww2): Likewise.
49485
49486 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
49487
49488 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
49489 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
49490 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
49491 * malloc/hooks.c (realloc_check): Likewise.
49492
49493 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
49494 * malloc/arena.c: Remove PER_THREAD conditional.
49495 [!PER_THREAD]: Remove code.
49496 (ptmalloc_unlock_all2): Likewise.
49497 (ptmalloc_init): Likewise.
49498 (_int_new_arena): Likewise.
49499 (arena_get2): Likewise.
49500 * malloc/hooks.c (__malloc_get_state): Likewise.
49501 (__malloc_set_state): Likewise.
49502 * malloc/malloc.c: Likewise.
49503 (struct malloc_state): Likewise.
49504 (struct malloc_par): Likewise.
49505 (__libc_realloc): Likewise.
49506 (__libc_mallopt): Likewise.
49507
49508 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49509
49510 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
49511
49512 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
49513
49514 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
49515 macro to a function. Check for zero perturb_byte.
49516 (_int_malloc, _int_free): Remove zero perturb_byte checks.
49517
49518 * malloc/malloc.c: (force_reg): Remove.
49519 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
49520 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
49521 force_reg by atomic_forced_read.
49522 * malloc/arena.c (ptmalloc_init): Likewise.
49523 * malloc/hooks.c (top_check): Likewise.
49524
49525 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49526
49527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49528
49529 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
49530
49531 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49532
49533 2013-12-08 Joseph Myers <joseph@codesourcery.com>
49534
49535 * math/auto-libm-test-in: Add tests of lgamma.
49536 * math/auto-libm-test-out: Regenerated.
49537 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
49538 (M_LOG_2_SQRT_PIl): Likewise.
49539 (lgamma_test_data): Use AUTO_TESTS_f_f1.
49540 * math/gen-auto-libm-tests.c (func_calc_method): Add value
49541 mpfr_f_f1.
49542 (func_calc_desc): Add mpfr_f_f1 union field.
49543 (ARGS1): New macro.
49544 (ARGS2): Likewise.
49545 (ARGS3): Likewise.
49546 (ARGS4): Likewise.
49547 (RET1): Likewise.
49548 (RET2): Likewise.
49549 (CALC): Likewise.
49550 (FUNC): Likewise.
49551 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
49552 (test_functions): Add lgamma.
49553 (calc_generic_results): Handle mpfr_f_f1.
49554 * sysdeps/i386/fpu/libm-test-ulps: Update.
49555 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49556
49557 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49558
49559 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
49560 __mpn_add_n for PowerPC64/POWER7.
49561 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
49562 __mpn_sub_n for PowerPC64/POWER7.
49563
49564 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
49565 __mpn_addmul_1 for PowerPC64.
49566 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
49567 __mpn_submul_1 for PowerPC64.
49568 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
49569 for PowerPC64.
49570 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
49571 for PowerPC64.
49572
49573 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
49574
49575 [BZ #15089]
49576 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
49577
49578 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49579
49580 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
49581
49582 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
49583 add multiarch folders.
49584 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
49585 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
49586 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
49587 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
49588 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
49589 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
49590 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
49591 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
49592 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
49593 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
49594 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
49595 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
49596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
49597 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
49598 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
49599 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
49600 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
49601
49602 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49603 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
49604 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
49605 New file.
49606 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
49607 New file.
49608 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
49609 multiarch __ieee754_hypot for PowerPC32.
49610 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
49611 New file.
49612 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
49613 New file.
49614 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
49615 multiarch __ieee754_hypotf for PowerPC32.
49616
49617 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
49618 long_double_symbol only if __logbl is defined.
49619 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
49620 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
49621 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
49622 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
49623 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
49624 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
49625 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
49626 path for implementation.
49627 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
49628 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
49629 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
49630 logb, and logbl multiarch implementations for PowerPC32.
49631 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
49632 file.
49633 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
49634 file.
49635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
49636 multiarch logb for PowerPC32.
49637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
49638 file.
49639 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
49640 file.
49641 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
49642 multiarch logbf for PowerPC32.
49643 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
49644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
49645 file.
49646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
49647 multiarch logbl implementation for PowerPC32.
49648
49649 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
49650 and modff multiarch implementations.
49651 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
49652 New file.
49653 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
49654 New file.
49655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
49656 multiarch modf for PowerPC32.
49657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
49658 New file.
49659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
49660 New file.
49661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
49662 multiarch modff for PowerPC32.
49663
49664 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
49665 and lrintf multiarch implementations.
49666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
49667 New file.
49668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
49669 New file.
49670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
49671 multiarch lrint for PowerPC32.
49672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
49673 file: multiarch lrintf for PowerPC32.
49674
49675 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
49676 and lroundf multiarch implementations.
49677 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
49678 New file.
49679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
49680 New file.
49681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
49682 New file.
49683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
49684 multiarch lround for PowerPC32.
49685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
49686 file: multiarch lroundf for PowerPC32.
49687
49688 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49689 copysign and copysignf multiarch implementations.
49690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
49691 New file.
49692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
49693 New file.
49694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
49695 file: multiarch copysign for PowerPC32.
49696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
49697 file: multiarch copysignf for PowerPC32.
49698
49699 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
49700 and truncf multiarch implementations.
49701 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
49702 New file.
49703 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
49704 file.
49705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
49706 multiarch trunc for PowerPC32.
49707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
49708 New file.
49709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
49710 New file.
49711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
49712 multiarch truncf for PowerPC32.
49713
49714 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
49715 and roundf multiarch implementations.
49716 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
49717 New file.
49718 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
49719 file.
49720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
49721 multiarch round for PowerPC32.
49722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
49723 New file.
49724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
49725 New file.
49726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
49727 multiarch roundf for PowerPC32.
49728
49729 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
49730 and floorf multiarch implementations.
49731 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
49732 New file.
49733 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
49734 file.
49735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
49736 multiarch floor for PowerPC32.
49737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
49738 New file.
49739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
49740 New file.
49741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
49742 multiarch floorf for PowerPC32.
49743
49744 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
49745 and ceilf multiarch implementations.
49746 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
49747 New file.
49748 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
49749 file.
49750 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
49751 multiarch ceil for PowerPC32.
49752 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
49753 New file.
49754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
49755 file.
49756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
49757 multiarch ceilf for PowerPC32.
49758
49759 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
49760 is defined.
49761 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
49762 FINITEF is defined.
49763 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
49764 and finitef multiarch implementations.
49765 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
49766 New file.
49767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
49768 file.
49769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
49770 multiarch finite for PowerPC32.
49771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
49772 New file.
49773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
49774 file: multiarch finitef for PowerPC32.
49775
49776 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
49777 and isinff multiarch implementations.
49778 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
49779 file.
49780 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
49781 file.
49782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
49783 multiarch isinf for PowerPC32.
49784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
49785 New file.
49786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
49787 multiarch isinff for PowerPC32.
49788
49789 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
49790 alias when __isnan is defined.
49791 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
49792 and isnanf multiarch implementations.
49793 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
49794 file.
49795 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
49796 file.
49797 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
49798 file.
49799 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
49800 file.
49801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
49802 multiarch isnan for PowerPC32.
49803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
49804 New file.
49805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
49806 New file.
49807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
49808 multiarch isnanf for PowerPC32.
49809
49810 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
49811 and sqrtf multiarch implementations.
49812 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
49813 file.
49814 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
49815 file.
49816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
49817 multiarch sqrt for PowerPC32.
49818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
49819 file.
49820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
49821 file.
49822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
49823 multiarch sqrtf for PowerPC32.
49824
49825 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
49826 and llroundf multiarch implementations.
49827 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
49828 New file.
49829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
49830 New file.
49831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
49832 New file.
49833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
49834 file: multiarch llround for PowerPC32.
49835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
49836 file: multiarch llroundf for PowerPC32.
49837
49838 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
49839 multiarch PowerPC32 fpu implementations.
49840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
49841 New file.
49842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
49843 New file.
49844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
49845 multiarch llrint for PowerPC32.
49846 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
49847 New file.
49848 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
49849 New file.
49850 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
49851 file.
49852
49853 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
49854
49855 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
49856 file.
49857 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
49858 file.
49859 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
49860 file.
49861 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
49862 multiarch wordcopy for PPC32.
49863 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49864 wordcopy objects.
49865 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49866 (__libc_ifunc_impl_list): Likewise.
49867 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
49868 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
49869 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
49870 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
49871 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
49872 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
49873
49874 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
49875 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
49876 file.
49877 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
49878 file.
49879 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
49880 file.
49881 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
49882 multiarch wcscpy for PPC32.
49883 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49884 multiarch objects.
49885 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49886 (__libc_ifunc_impl_list): Likewise.
49887 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49888 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49889 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
49890 sysdeps/powerpc/power6/wcscpy.c.
49891
49892 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
49893 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
49894 file.
49895 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
49896 file.
49897 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
49898 file.
49899 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
49900 multiarch wcsrchr for PPC32.
49901 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49902 multiarch objects.
49903 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49904 (__libc_ifunc_impl_list): Likewise.
49905 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49906 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49907 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
49908 sysdeps/powerpc/power6/wcsrchr.c.
49909
49910 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
49911 file.
49912 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
49913 file.
49914 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
49915 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
49916 multiarch wcschr for PPc32.
49917 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49918 multiarch objects.
49919 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49920 (__libc_ifunc_impl_list): Likewise.
49921 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
49922 * sysdeps/powerpc/power6/wcschr.c: ... to here.
49923 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
49924 sysdeps/powerpc/power6/wcschr.c.
49925
49926 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
49927 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
49928 file.
49929 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
49930 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
49931 file: multiarch strchr for PPC32.
49932 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
49933 multiarch objects.
49934 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49935 (__libc_ifunc_impl_list): Likewise.
49936
49937 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
49938 name.
49939 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
49940 file.
49941 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
49942 file.
49943 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
49944 multiarch strchrnul for PPC32.
49945 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
49946 multiarch objects.
49947 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49948 (__libc_ifunc_impl_list): Likewise.
49949
49950 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
49951 file.
49952 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
49953 multiarch strncasecmp for PPC32.
49954 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
49955 file.
49956 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
49957 multiarch strncasecmp_l for PPC32.
49958 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
49959 strncasecmp multiarch objects.
49960 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49961 (__libc_ifunc_impl_list): Likewise.
49962
49963 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
49964 file.
49965 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
49966 multiarch strncasecmp for PPC32.
49967 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
49968 New file.
49969 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
49970 multiarch strcasecmp_l for PPC32.
49971 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
49972 multiarch objects.
49973 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49974 (__libc_ifunc_impl_list): Likewise.
49975
49976 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
49977 file.
49978 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
49979 file.
49980 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
49981 multiarch strncmp for PPC32.
49982 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
49983 multiarch objects.
49984 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49985 (__libc_ifunc_impl_list): Likewise.
49986
49987 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
49988 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
49989 file.
49990 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
49991 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
49992 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
49993 multiarch objects.
49994 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49995 (__libc_ifunc_impl_list): Likewise.
49996
49997 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
49998 file.
49999 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
50000 file.
50001 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
50002 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
50003 multiarch objects.
50004 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50005 (__libc_ifunc_impl_list): Likewise.
50006
50007 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
50008 file.
50009 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
50010 file.
50011 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
50012 multiarch rawmemchr for PPC32.
50013 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
50014 multiarch objects.
50015 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50016 (__libc_ifunc_impl_list): Likewise.
50017
50018 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
50019 file.
50020 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
50021 file.
50022 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
50023 file: memrchr multiarch for PPC32.
50024 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
50025 multiarch objects.
50026 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50027 (__libc_ifunc_impl_list): Likewise.
50028
50029 * string/memchr.c (__memchr): Using macro to redefine symbol name.
50030 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
50031 file.
50032 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
50033 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
50034 multiarch memchr for PPC32.
50035 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
50036 multiarch objects.
50037 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50038 (__libc_ifunc_impl_list): Likewise.
50039
50040 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
50041 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
50042 file.
50043 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
50044 file.
50045 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
50046 file: multiarch mempcpy for PPC32.
50047 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
50048 multiarch objects.
50049 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50050 (__libc_ifunc_impl_list): Likewise.
50051
50052 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
50053 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
50054 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
50055 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
50056 multiarch bzero for PPC32.
50057 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
50058 file.
50059 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
50060 file.
50061 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
50062 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
50063 file: multiarch memset for PPC32.
50064 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
50065 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
50066 memset multiarch objects.
50067 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50068 (__libc_ifunc_impl_list): Likewise.
50069
50070 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
50071 file.
50072 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
50073 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
50074 memcmp for PPC32.
50075 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
50076 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
50077 multiarch objects.
50078 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50079 (__libc_ifunc_impl_list): Likewise.
50080
50081 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
50082 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
50083 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
50084 file.
50085 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
50086 file.
50087 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
50088 file.
50089 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
50090 multiarch memcpy for PPC32.
50091 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
50092 multiarch objects.
50093 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50094 (__libc_ifunc_impl_list): Likewise.
50095
50096 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
50097 support multiarch for POWER/PPC32.
50098 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
50099 Likewise.
50100 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
50101 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
50102 Implies file to make multiarch folder appers before the fpu and
50103 default folder for power4 configuration.
50104
50105 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
50106
50107 * scripts/bench.pl: Append volatile keyword to type.
50108
50109 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50110
50111 * sysdeps/sh/sotruss-lib.c: New file.
50112 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
50113
50114 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50115
50116 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50117
50118 2013-12-05 Joseph Myers <joseph@codesourcery.com>
50119
50120 [BZ #6810]
50121 * math/w_tgamma.c: Include <errno.h>.
50122 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
50123 * math/w_tgammaf.c: Include <errno.h>.
50124 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
50125 * math/w_tgammal.c: Include <errno.h>.
50126 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
50127 * math/auto-libm-test-in: Do not allow missing errno on tgamma
50128 underflow. Add more tgamma tests.
50129 * math/auto-libm-test-out: Regenerated.
50130 * sysdeps/i386/fpu/libm-test-ulps: Update.
50131 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50132
50133 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
50134 sin, sinh, tan, tanh, tgamma, y0 and y1.
50135 * math/auto-libm-test-out: Regenerated.
50136 * math/libm-test.inc (TEST_COND_x86_64): New macro.
50137 (TEST_COND_x86): Likewise.
50138 (M_E2l): Remove macro.
50139 (M_E3l): Likewise.
50140 (M_2_SQRT_PIl): Likewise.
50141 (M_SQRT_PIl): Likewise.
50142 (M_1_DIV_El): Likewise.
50143 (log_test_data): Use AUTO_TESTS_f_f.
50144 (log10_test_data): Likewise.
50145 (log1p_test_data): Likewise.
50146 (log2_test_data): Likewise.
50147 (sin_test_data): Likewise.
50148 (sin_tonearest_test_data): Likewise.
50149 (sin_towardzero_test_data): Likewise.
50150 (sin_downward_test_data): Likewise.
50151 (sin_upward_test_data): Likewise.
50152 (sinh_test_data): Likewise.
50153 (sinh_tonearest_test_data): Likewise.
50154 (sinh_towardzero_test_data): Likewise.
50155 (sinh_downward_test_data): Likewise.
50156 (sinh_upward_test_data): Likewise.
50157 (tan_test_data): Likewise.
50158 (tan_tonearest_test_data): Likewise.
50159 (tan_towardzero_test_data): Likewise.
50160 (tan_downward_test_data): Likewise.
50161 (tan_upward_test_data): Likewise.
50162 (tanh_test_data): Likewise.
50163 (tgamma_test_data): Likewise.
50164 (y0_test_data): Likewise.
50165 (y1_test_data): Likewise.
50166 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
50167 (special_real_inputs): Add pi/4.
50168 * sysdeps/i386/fpu/libm-test-ulps: Update.
50169 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50170
50171 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50172
50173 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
50174 "longjmp_target" static probes.
50175 (__longjmp): Rename to __longjmp_symbol.
50176 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50177 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
50178 on which longjmp to generate.
50179 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
50180 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
50181 probe.
50182 (__sigsetjmp): Rename to __sigsetjmp_symbol.
50183 (__sigjmp_save): Rename to __sigjmp_save_symbol.
50184 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
50185 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
50186 and __sigjmp_save_symbol based on which sigsetjmp to generated.
50187 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
50188 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
50189 __longjmp_symbol based on which __longjmp to generate.
50190 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
50191 probe.
50192 (setjmp): Rename to setjmp_symbol.
50193 (__sigsetjmp): Rename to __sigsetjmp_symbol.
50194 (_setjmp): Rename to _setjmp_symbol.
50195 (__sigsetjmp): Rename to __sigsetjmp_symbol.
50196 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
50197 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
50198 which setjmp to generate.
50199 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
50200 "longjmp_target" static probes.
50201
50202 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
50203
50204 * benchtests/README: Add note about output arguments.
50205 * benchtests/bench-sincos.c: Remove file.
50206 * benchtests/sincos-inputs: New file.
50207 * scripts/bench.pl: Identify output arguments and define
50208 static variables for them.
50209
50210 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
50211
50212 [BZ #15941]
50213 * Makefile (INSTALL): Add install-plain.texi as the primary
50214 dependency.
50215 * manual/install-plain.texi: New file.
50216 * manual/install.texi: Include node directive only for
50217 non-plaintext output.
50218
50219 2013-12-04 Joseph Myers <joseph@codesourcery.com>
50220
50221 * stdlib/longlong.h: Update from GCC.
50222
50223 [BZ #6807]
50224 [BZ #15901]
50225 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
50226 * math/w_j0f.c (y0f): Likewise.
50227 * math/w_j0l.c (__y0l): Likewise.
50228 * math/w_j1.c (y1): Likewise.
50229 * math/w_j1f.c (y1f): Likewise.
50230 * math/w_j1l.c (__y1l): Likewise.
50231 * math/w_jn.c (yn): Likewise.
50232 * math/w_jnf.c (ynf): Likewise.
50233 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
50234 Bessel function pole errors in _POSIX_ mode. Use NAN as return
50235 value for Bessel function domain errors outside _SVID_ mode.
50236 Adjust sign of return value for yn (negative integer, 0).
50237 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
50238 by zero in return for negative x and set sign appropriately for
50239 negative n.
50240 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
50241 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
50242 * math/libm-test.inc (y0_test_data): Add more tests and adjust
50243 expectations in error cases.
50244 (y1_test_data): Likewise.
50245 (yn_test_data): Likewise.
50246 * sysdeps/i386/fpu/libm-test-ulps: Update.
50247 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50248
50249 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50250
50251 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
50252 "64" to "64-v1". Add "64-v2".
50253 (abi-64-options): Rename to ...
50254 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
50255 (abi-64-condition): Rename to ...
50256 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
50257 (abi-64-ld-soname): Rename to ...
50258 (abi-64-v1-ld-soname): ... this.
50259 (abi-64-v2-options): Define.
50260 (abi-64-v2-condition): Likewise.
50261 (abi-64-v2-ld-soname): Likewise.
50262 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
50263 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
50264 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
50265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
50266 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
50267
50268 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50269 Alan Modra <amodra@gmail.com>
50270
50271 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
50272 New versions for use with the ELFv2 ABI.
50273 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
50274 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
50275 declaration.
50276 (struct La_ppc64v2_retval): Likewise.
50277 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
50278 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
50279 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
50280 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
50281 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
50282 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50283 Do not save or restore CR.
50284 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
50285 (_dl_profile_resolve): Do no save or restore CR. Support extended
50286 return values for ELFv2 ABI. Fix location of FPR return registers.
50287 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
50288 updated values for _CALL_ELF == 2.
50289 (La_regs, La_retval, int_retval): Likewise.
50290
50291 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50292
50293 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
50294 (FRAME_MIN_SIZE_PARM): Likewise.
50295 (FRAME_BACKCHAIN): Likewise.
50296 (FRAME_CR_SAVE): Likewise.
50297 (FRAME_LR_SAVE): Likewise.
50298 (FRAME_TOC_SAVE): Likewise.
50299 (FRAME_PARM_SAVE): Likewise.
50300 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
50301 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
50302 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
50303 (call_mcount_parm_offset): New macro.
50304 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
50305 (PROF): Use symbolic stack frame offsets.
50306 (TAIL_CALL_SYSCALL_ERROR): Likewise.
50307 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
50308 Redefine in terms of FRAME_MIN_SIZE.
50309 (_dl_runtime_resolve): Use symbolic stack frame offsets.
50310 (_dl_profile_resolve): Likewise. Update comment.
50311 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
50312 symbols stack frame offsets.
50313 (__sigsetjmp): Likewise.
50314 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
50315 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
50316 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
50317 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
50318
50319 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
50320 (FRAME_BACKCHAIN): Remove.
50321 (FRAME_CR_SAVE): Likewise.
50322 (FRAME_LR_SAVE): Likewise.
50323 (FRAME_COMPILER_DW): Likewise.
50324 (FRAME_LINKER_DW): Likewise.
50325 (FRAME_TOC_SAVE): Likewise.
50326 (FRAME_PARM_SAVE): Likewise.
50327 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
50328 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
50329 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
50330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
50331 (CHECK_SP): Use symbolic stack frame offsets.
50332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
50333 zone" instead of caller's parameter save area for temp storage.
50334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50335 Likewise. Also, use symbolic stack frame offsets.
50336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
50337 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
50338 our own stack frame instead of the caller's.
50339 (__socket): Use symbolic stack frame offsets.
50340
50341 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50342 Alan Modra <amodra@gmail.com>
50343
50344 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
50345 Define.
50346 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
50347 (PPC64_LOCAL_ENTRY_OFFSET): Define.
50348 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
50349 New function.
50350 (elf_machine_fixup_plt): Call it.
50351 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
50352 reloc arguments.
50353 (elf_machine_rela): Update call to elf_machine_plt_conflict.
50354 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
50355 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
50356 r2 before calling target.
50357
50358 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50359 Alan Modra <amodra@gmail.com>
50360
50361 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
50362 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
50363 versions of macros to support ELFv2 ABI.
50364 (LOCALENTRY): New macro.
50365 (ENTRY, EALIGN): Use it.
50366 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
50367 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
50368 fall through into ENTRY entry point.
50369 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
50370 Only define if _CALL_ELF != 2.
50371
50372 (elf_machine_matches_host): Verify ABI version matches.
50373 (RTLD_START): Use LOCALENTRY.
50374 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
50375 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
50376 (PLT_ENTRY_WORDS): New macro.
50377 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
50378 (elf_machine_runtime_setup): Support ELFv2 ABI.
50379 (elf_machine_fixup_plt): Likewise.
50380 (elf_machine_plt_conflict): Likewise.
50381 (resolve_ifunc): Likewise.
50382 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
50383 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50384 Likewise.
50385 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
50386 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
50387 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50388 (makecontext): Support ELFv2 ABI.
50389 * elf/elf.h (EF_PPC64_ABI): Define.
50390
50391 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50392
50393 * sysdeps/powerpc/powerpc64/sysdep.h
50394 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
50395 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
50396 (ENTRY) [ASSEMBLER]: ... but instead here ...
50397 (EALIGN) [ASSEMBLER]: ... and here.
50398 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
50399 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
50400 (ENTRY_2) [!ASSEMBLER]: Use it.
50401 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
50402 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
50403 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
50404 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
50405 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
50406 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
50407 Use PPC64_LOAD_FUNCPTR.
50408
50409 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
50410
50411 2013-12-04 Alan Modra <amodra@gmail.com>
50412
50413 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
50414 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
50415 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
50416 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
50417
50418 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
50419 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
50420 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
50421 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
50422 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
50423 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
50424
50425 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50426
50427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50428 (__makecontext): Fix incorrect CFI when backtracing out of
50429 context created via makecontext.
50430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
50431 (__setcontext): Fix incorrect CFI during switch to new context.
50432 (__novec_setcontext): Likewise.
50433
50434 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
50435
50436 [BZ #4772]
50437 * time/strptime_l.c (__strptime_internal): Allow modifiers
50438 in strptime.
50439 * time/tst-strptime.c (day_tests): Add testcase.
50440
50441 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
50442
50443 * scripts/bench.pl: Skip over blank lines.
50444
50445 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
50446
50447 [BZ #926]
50448 * manual/time.texi (Calendar Time): Clarify what timezone functions
50449 use.
50450
50451 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50452
50453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50454
50455 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
50456
50457 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
50458 implementation.
50459 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
50460 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
50461 * debug/memset_chk.c (__memset_chk): Likewise.
50462 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
50463 * debug/strncpy_chk.c: Likewise.
50464
50465 2013-12-03 Joseph Myers <joseph@codesourcery.com>
50466
50467 [BZ #15268]
50468 [BZ #15425]
50469 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
50470 (__ieee754_exp): For possibly underflowing results, check size of
50471 result and force underflow exception if required.
50472 * math/auto-libm-test-in: Add more tests of exp.
50473 * math/auto-libm-test-out: Regenerated.
50474 * sysdeps/i386/fpu/libm-test-ulps: Update.
50475 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50476
50477 [BZ #16283]
50478 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
50479 * math/w_exp2f.c (__exp2f): Likewise.
50480 * math/w_exp2l.c (__exp2l): Likewise.
50481 * math/auto-libm-test-in: Do not allow missing errno on exp2
50482 underflow.
50483 * math/auto-libm-test-out: Regenerated.
50484
50485 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
50486
50487 [BZ #16274]
50488 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
50489 handle filename validation.
50490 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
50491 (do_open): Delete.
50492
50493 2013-12-03 Joseph Myers <joseph@codesourcery.com>
50494
50495 [BZ #6786]
50496 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
50497 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
50498 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
50499 <float.h>.
50500 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
50501 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
50502 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50503 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
50504 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50505 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
50506 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50507 * math/auto-libm-test-in: Don't allow missing errno from erfc.
50508 Add more erfc tests.
50509 * math/auto-libm-test-out: Regenerated.
50510 * sysdeps/i386/fpu/libm-test-ulps: Update.
50511 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50512
50513 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
50514 exp2, expm1, j0 and j1.
50515 * math/auto-libm-test-out: Regenerated.
50516 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
50517 (erfc_test_data): Likewise.
50518 (exp_test_data): Likewise.
50519 (exp_tonearest_test_data): Likewise.
50520 (exp_towardzero_test_data): Likewise.
50521 (exp_downward_test_data): Likewise.
50522 (exp_upward_test_data): Likewise.
50523 (exp10_test_data): Likewise.
50524 (exp2_test_data): Likewise.
50525 (expm1_test_data): Likewise.
50526 (j0_test_data): Likewise.
50527 (j1_test_data): Likewise.
50528 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
50529 (input_flag_type): Add flag_xfail_rounding.
50530 (input_flags): Add xfail-rounding.
50531 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
50532 (output_for_one_input_case): Handle flag_xfail_rounding.
50533 * sysdeps/i386/fpu/libm-test-ulps: Update.
50534 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50535
50536 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
50537
50538 [BZ #16289]
50539 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
50540 division by 0.
50541
50542 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
50543
50544 [BZ #16195]
50545 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
50546 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
50547 (STAP_PROBE0): New macro.
50548 (STAP_PROBE1): Likewise.
50549 (STAP_PROBE2): Likewise.
50550 (STAP_PROBE3): Likewise.
50551 (STAP_PROBE4): Likewise.
50552
50553 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
50554
50555 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
50556
50557 2013-12-02 Steve Ellcey <sellcey@mips.com>
50558
50559 * benchtests/Makefile (bench): Add sqrt.
50560 (LDLIBS-bench-sqrt): New.
50561 * benchtests/sqrt-input: New.
50562
50563 2013-12-02 Pavel Simerda <psimerda@redhat.com>
50564
50565 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
50566 (GAIH_EAI): Likewise.
50567 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
50568 (gaih_inet): Likewise.
50569 (getaddrinfo): Don't use GAIH_EAI.
50570
50571 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
50572 (struct gaih): Remove definition.
50573
50574 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
50575
50576 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
50577 Use HERRNOP directly.
50578
50579 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50580
50581 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50582
50583 2013-11-30 Joseph Myers <joseph@codesourcery.com>
50584
50585 * math/gen-auto-libm-tests.c (test_functions): Add more
50586 single-argument functions.
50587 (special_fill_pi_2): New function.
50588 (special_fill_minus_pi_2): Likewise.
50589 (special_fill_pi_6): Likewise.
50590 (special_fill_minus_pi_6): Likewise.
50591 (special_fill_pi_3): Likewise.
50592 (special_fill_2pi_3): Likewise.
50593 (special_fill_e): Likewise.
50594 (special_fill_1_e): Likewise.
50595 (special_fill_e_minus_1): Likewise.
50596 (special_real_inputs): Add more special inputs.
50597 (output_for_one_input_case): Do not require ERANGE on underflow to
50598 zero if round-to-nearest result does not underflow to zero, unless
50599 exact results required.
50600 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
50601 atan, atanh, cbrt, cos and cosh.
50602 * math/auto-libm-test-out: Regenerated.
50603 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
50604 (acos_tonearest_test_data): Likewise.
50605 (acos_towardzero_test_data): Likewise.
50606 (acos_downward_test_data): Likewise.
50607 (acos_upward_test_data): Likewise.
50608 (acosh_test_data): Likewise.
50609 (asin_test_data): Likewise.
50610 (asin_tonearest_test_data): Likewise.
50611 (asin_towardzero_test_data): Likewise.
50612 (asin_upward_test_data): Likewise.
50613 (asinh_test_data): Likewise.
50614 (atan_test_data): Likewise.
50615 (atanh_test_data): Likewise.
50616 (cbrt_test_data): Likewise.
50617 (cos_test_data): Likewise.
50618 (cos_tonearest_test_data): Likewise.
50619 (cos_towardzero_test_data): Likewise.
50620 (cos_downward_test_data): Likewise.
50621 (cos_upward_test_data): Likewise.
50622 (cosh_test_data): Likewise.
50623 (cosh_tonearest_test_data): Likewise.
50624 (cosh_towardzero_test_data): Likewise.
50625 (cosh_downward_test_data): Likewise.
50626 (cosh_upward_test_data): Likewise.
50627 * sysdeps/i386/fpu/libm-test-ulps: Update.
50628 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50629
50630 2013-11-29 Joseph Myers <joseph@codesourcery.com>
50631
50632 [BZ #6787]
50633 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
50634 * math/w_exp10f.c (__exp10f): Likewise.
50635 * math/w_exp10l.c (__exp10l): Likewise.
50636 * math/libm-test.inc (exp10_test_data): Add more tests and expect
50637 errno settings in existing tests.
50638
50639 [BZ #14032]
50640 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
50641 precision control set to double precision.
50642 * sysdeps/i386/fpu/w_sqrt.c: New file.
50643 * math/auto-libm-test-in: Add more tests.
50644 * math/auto-libm-test-out: Update.
50645
50646 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
50647 (sqrt_test_tonearest): New function.
50648 (sqrt_towardzero_test_data): New variable.
50649 (sqrt_test_towardzero): New function.
50650 (sqrt_downward_test_data): New variable.
50651 (sqrt_test_downward): New function.
50652 (sqrt_upward_test_data): New variable.
50653 (sqrt_test_upward): New function.
50654 (main): Call the new functions.
50655
50656 * math/gen-auto-libm-tests.c: New file.
50657 * math/auto-libm-test-in: Likewise.
50658 * math/auto-libm-test-out: New generated file.
50659 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
50660 variables.
50661 (%beautify): Add generated representations of zero.
50662 (top level): Set $auto_input and call parse_auto_input.
50663 (beautify): Remove trailing "f" from hex float constants.
50664 (parse_args): Handle XFAIL_TEST.
50665 (convert_condition): New function.
50666 (or_value): Likewise.
50667 (or_cond_value): Likewise.
50668 (generate_testfile): Handle AUTO_TESTS_* lines.
50669 (parse_auto_input): New function.
50670 * math/libm-test.inc (XFAIL_TEST): New macro.
50671 (ERRNO_UNCHANGED): Update value.
50672 (ERRNO_EDOM): Likewise.
50673 (ERRNO_ERANGE): Likewise.
50674 (IGNORE_RESULT): Likewise.
50675 (TEST_COND_flt_32): New macro.
50676 (TEST_COND_dbl_64): Likewise.
50677 (TEST_COND_ldbl_96_intel): Likewise.
50678 (TEST_COND_ldbl_96_m68k): Likewise.
50679 (TEST_COND_ldbl_128): Likewise.
50680 (TEST_COND_ldbl_128ibm): Likewise.
50681 (TEST_COND_long32): Likewise.
50682 (TEST_COND_long64): Likewise.
50683 (TEST_COND_before_rounding): Likewise.
50684 (TEST_COND_after_rounding): Likewise.
50685 (enable_test): Handle XFAIL_TEST flag.
50686 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
50687 with finite results.
50688 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
50689 auto-libm-test-out.
50690
50691 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
50692 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50693
50694 [BZ #16214]
50695 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
50696 __tls_get_addr_internal instead of __tls_get_offset in order to
50697 avoid GOT pointer dependency. Make rtld export
50698 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
50699 __tls_get_addr since we are a __tls_get_offset platform.
50700 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
50701 GOT pointer being set up before.
50702 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
50703
50704 2013-11-28 Joseph Myers <joseph@codesourcery.com>
50705
50706 * manual/math.texi (Errors in Math Functions): Document accuracy
50707 goals.
50708
50709 [BZ #15004]
50710 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
50711 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
50712 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50713 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50714 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50715 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50716 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50717 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50718 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50719 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50720 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50721 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50722 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50723 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50724 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50725 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50726
50727 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
50728 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
50729 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
50730 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
50731 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
50732 Likewise.
50733 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
50734 Likewise.
50735 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
50736 Likewise.
50737 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
50738 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
50739 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
50740 atomic-feupdateenv and flt-rounds.
50741 * sysdeps/powerpc/nofpu/Versions (libc): Add
50742 __atomic_feholdexcept, __atomic_feclearexcept,
50743 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
50744 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
50745 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
50746 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
50747 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
50748 here.
50749 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
50750 Update.
50751
50752 * manual/arith.texi (FP Exceptions): Document that exceptions may
50753 not be raised when matherr is used.
50754 (Math Error Reporting): Document overflow in directed rounding
50755 modes. Document that errno may not be set when finite values are
50756 returned on overflow. Document intent to set errno on underflow
50757 only for underflow to zero.
50758
50759 [BZ #16271]
50760 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
50761 round-to-nearest then adjust result for other rounding modes.
50762 * include/fenv.h (fegetround): Use libm_hidden_proto.
50763 * math/fegetround.c (fegetround): Use libm_hidden_def.
50764 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
50765 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
50766 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50767 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
50768 Likewise.
50769 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
50770 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50771 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
50772 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
50773
50774 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50775
50776 [BZ #16077]
50777 * nss/Versions (libnss_files): Add
50778 _nss_files_gethostbyname3_r.
50779 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
50780 New function.
50781 (HOST_DB_LOOKUP): Remove macro.
50782 (_nss_files_gethostbyname_r): Implement function without the
50783 HOST_DB_LOOKUP macro.
50784 (_nss_files_gethostbyname2_r): Likewise.
50785
50786 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
50787
50788 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
50789
50790 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
50791
50792 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
50793 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
50794 warning.
50795
50796 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50797
50798 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
50799 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
50800 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
50801 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
50802 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
50803 __fe_nomask_env_priv and attribute_hidden.
50804 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
50805 (libc_feupdateenv_test_ppc): Likewise.
50806 (libc_feresetround_ppc): Likewise.
50807 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50808 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
50809 compat_symbol macro.
50810 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50811 (__fe_nomask_env): Likewise.
50812 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
50813
50814 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50815
50816 * string/Makefile: Remove ifunc tests.
50817 * string/test-string.h: Define TEST_IFUNC.
50818 * string/test-bcopy-ifunc.c: Remove.
50819 * string/test-bzero-ifunc.c: Likewise.
50820 * string/test-memccpy-ifunc.c: Likewise.
50821 * string/test-memchr-ifunc.c: Likewise.
50822 * string/test-memcmp-ifunc.c: Likewise.
50823 * string/test-memcpy-ifunc.c: Likewise.
50824 * string/test-memmem-ifunc.c: Likewise.
50825 * string/test-memmove-ifunc.c: Likewise.
50826 * string/test-mempcpy-ifunc.c: Likewise.
50827 * string/test-memrchr-ifunc.c: Likewise.
50828 * string/test-memset-ifunc.c: Likewise.
50829 * string/test-rawmemchr-ifunc.c: Likewise.
50830 * string/test-stpcpy-ifunc.c: Likewise.
50831 * string/test-stpncpy-ifunc.c: Likewise.
50832 * string/test-strcasecmp-ifunc.c: Likewise.
50833 * string/test-strcasestr-ifunc.c: Likewise.
50834 * string/test-strcat-ifunc.c: Likewise.
50835 * string/test-strchr-ifunc.c: Likewise.
50836 * string/test-strchrnul-ifunc.c: Likewise.
50837 * string/test-strcmp-ifunc.c: Likewise.
50838 * string/test-strcpy-ifunc.c: Likewise.
50839 * string/test-strcspn-ifunc.c: Likewise.
50840 * string/test-strlen-ifunc.c: Likewise.
50841 * string/test-strncasecmp-ifunc.c: Likewise.
50842 * string/test-strncat-ifunc.c: Likewise.
50843 * string/test-strncmp-ifunc.c: Likewise.
50844 * string/test-strncpy-ifunc.c: Likewise.
50845 * string/test-strnlen-ifunc.c: Likewise.
50846 * string/test-strpbrk-ifunc.c: Likewise.
50847 * string/test-strrchr-ifunc.c: Likewise.
50848 * string/test-strspn-ifunc.c: Likewise.
50849 * string/test-strstr-ifunc.c: Likewise.
50850
50851 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50852
50853 * benchtests/Makefile: Remove ifunc tests.
50854 * benchtests/bench-string.h: Define TEST_IFUNC.
50855 * benchtests/bench-bcopy-ifunc.c: Remove.
50856 * benchtests/bench-bzero-ifunc.c: Likewise.
50857 * benchtests/bench-memccpy-ifunc.c: Likewise.
50858 * benchtests/bench-memchr-ifunc.c: Likewise.
50859 * benchtests/bench-memcmp-ifunc.c: Likewise.
50860 * benchtests/bench-memcpy-ifunc.c: Likewise.
50861 * benchtests/bench-memmem-ifunc.c: Likewise.
50862 * benchtests/bench-memmove-ifunc.c: Likewise.
50863 * benchtests/bench-mempcpy-ifunc.c: Likewise.
50864 * benchtests/bench-memrchr-ifunc.c: Likewise.
50865 * benchtests/bench-memset-ifunc.c: Likewise.
50866 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
50867 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
50868 * benchtests/bench-stpcpy-ifunc.c: Likewise.
50869 * benchtests/bench-stpncpy-ifunc.c: Likewise.
50870 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
50871 * benchtests/bench-strcasestr-ifunc.c: Likewise.
50872 * benchtests/bench-strcat-ifunc.c: Likewise.
50873 * benchtests/bench-strchr-ifunc.c: Likewise.
50874 * benchtests/bench-strchrnul-ifunc.c: Likewise.
50875 * benchtests/bench-strcmp-ifunc.c: Likewise.
50876 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
50877 * benchtests/bench-strcpy-ifunc.c: Likewise.
50878 * benchtests/bench-strcspn-ifunc.c: Likewise.
50879 * benchtests/bench-strlen-ifunc.c: Likewise.
50880 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
50881 * benchtests/bench-strncat-ifunc.c: Likewise.
50882 * benchtests/bench-strncmp-ifunc.c: Likewise.
50883 * benchtests/bench-strncpy-ifunc.c: Likewise.
50884 * benchtests/bench-strnlen-ifunc.c: Likewise.
50885 * benchtests/bench-strpbrk-ifunc.c: Likewise.
50886 * benchtests/bench-strrchr-ifunc.c: Likewise.
50887 * benchtests/bench-strsep-ifunc.c: Likewise.
50888 * benchtests/bench-strspn-ifunc.c: Likewise.
50889 * benchtests/bench-strstr-ifunc.c: Likewise.
50890
50891 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50892
50893 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
50894
50895 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50896
50897 * resolv/netdb.h: Use __glibc_reserved instead __unused.
50898 * rt/aio.h: Likewise.
50899 * sysdeps/gnu/bits/utmp.h: Likewise.
50900 * sysdeps/gnu/bits/utmpx.h: Likewise.
50901 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
50902 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
50903 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
50904 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
50905 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
50906 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
50907 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
50908 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
50909 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
50910 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
50911 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
50912 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
50913 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
50914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
50915 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50916 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
50917 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
50918 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
50919 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
50920 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
50921 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
50922 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
50923 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
50924 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50925 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
50926 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50927 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
50928 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
50929 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
50930 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
50931 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
50932 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
50933 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
50934 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
50935 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
50936 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
50937 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
50938 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
50939 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
50940 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
50941 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
50942 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
50943
50944 2013-11-25 Carlos O'Donell <carlos@redhat.com>
50945
50946 [BZ #16245]
50947 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
50948 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
50949
50950 2013-11-25 Joseph Myers <joseph@codesourcery.com>
50951
50952 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
50953 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
50954 Likewise.
50955
50956 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50957
50958 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
50959 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
50960 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
50961 (__fesetround): Remove define.
50962 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
50963 rounding and exceptions handling.
50964 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
50965 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
50966 (__fe_nomask_env): Likewise.
50967 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
50968 __fegetround instead of fegetround.
50969 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50970 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
50971
50972 2013-11-21 Roland McGrath <roland@hack.frob.com>
50973
50974 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
50975 it's there.
50976
50977 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
50978
50979 2013-11-21 Meador Inge <meadori@codesourcery.com>
50980
50981 [BZ #11157]
50982 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
50983 (encrypt_r): Likewise.
50984 * malloc/obstack.h (obstack_free): Likewise.
50985 * posix/unistd.h (encrypt): Likewise.
50986
50987 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
50988
50989 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
50990 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
50991 DL_CALL_DT_FINI() that call the functions directly.
50992 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
50993 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
50994 * elf/dl-fini.c: Likewise.
50995
50996 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
50997
50998 * malloc/hooks.c (memalign_check): Add alignment rounding.
50999 * malloc/malloc.c (_mid_memalign): New function.
51000 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
51001 Implement by calling _mid_memalign.
51002 * manual/probes.texi (Memory Allocation Probes): Remove
51003 memory_valloc_retry and memory_pvalloc_retry.
51004
51005 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
51006
51007 * locale/programs/locarchive.c (open_archive): Add const
51008 qualifier to ARCHIVEFNAME and copy default fname to
51009 DEFAULT_FNAME.
51010
51011 [BZ #15601]
51012 * libio/tst-widetext.input: Rename Oriya to Odia.
51013 * locale/iso-639.def: Likewise.
51014
51015 * manual/probes.texi (Mathematical Function Probes): Add
51016 documentation for sin, cos, asin and acos probes.
51017 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
51018 (__sin32): Add slowasin probe.
51019 (__cos32): Add slowacos probe.
51020 (__mpsin): Add slowsin probe.
51021 (__mpcos): Add slowcos probe.
51022
51023 2013-11-19 Joseph Myers <joseph@codesourcery.com>
51024
51025 [BZ #15483]
51026 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
51027 thread-local __sim_exceptions_thread and global
51028 __sim_exceptions_global.
51029 (__sim_disabled_exceptions): Change to thread-local
51030 __sim_disabled_exceptions_thread and global
51031 __sim_disabled_exceptions_global.
51032 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
51033 and global __sim_round_mode_global.
51034 (__simulate_exceptions): Use thread-local floating-point state and
51035 set global state from it as needed.
51036 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
51037 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
51038 __sim_round_mode_thread.
51039 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
51040 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
51041 and global __sim_exceptions_global.
51042 (__sim_disabled_exceptions): Change to thread-local
51043 __sim_disabled_exceptions_thread and global
51044 __sim_disabled_exceptions_global.
51045 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
51046 and global __sim_round_mode_global.
51047 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
51048 (SIM_SET_GLOBAL): Likewise.
51049 * sysdeps/powerpc/soft-fp/sfp-machine.h
51050 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
51051 __sim_round_mode_thread.
51052 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
51053 __sim_disabled_exceptions_thread.
51054 (__sim_exceptions): Change to __sim_exceptions_thread.
51055 (__sim_disabled_exceptions): Change to
51056 __sim_disabled_exceptions_thread.
51057 (__sim_round_mode): Change to __sim_round_mode_thread.
51058 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
51059 thread-local floating-point state and set global state from it as
51060 needed.
51061 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
51062 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
51063 (__sim_disabled_exceptions): Remove extern declaration.
51064 (feenableexcept): Use thread-local floating-point state and set
51065 global state from it as needed.
51066 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
51067 extern declaration.
51068 (__sim_disabled_exceptions): Likewise.
51069 (__sim_round_mode): Likewise.
51070 (__fegetenv): Use thread-local floating-point state.
51071 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
51072 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
51073 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
51074 floating-point state and set global state from it as needed.
51075 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
51076 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
51077 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
51078 Likewise.
51079 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
51080 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
51081 Likewise.
51082 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
51083 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
51084 Use __sim_round_mode_thread.
51085 * math/test-fenv-tls.c: New file.
51086 * math/Makefile (tests): Add test-fenv-tls.
51087 ($(objpfx)test-fenv-tls): Depend on
51088 $(common-objpfx)nptl/libpthread.so.
51089
51090 2013-11-19 Andreas Schwab <schwab@suse.de>
51091
51092 * locale/programs/locale.c (show_info): Decode wordarray elements.
51093 * locale/categories.def (LC_MONETARY): Add element for
51094 _NL_MONETARY_CRNCYSTR.
51095 * locale/C-monetary.c (conversion_rate): New variable.
51096 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
51097 element.
51098
51099 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
51100
51101 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
51102 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
51103
51104 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51105
51106 * elf/Makefile (tst-auxv): New test.
51107 * elf/tst-auxv.c: New
51108 * elf/rtld.c (dl_main): Adjust AT_EXECFN
51109
51110 2013-11-18 Joseph Myers <joseph@codesourcery.com>
51111
51112 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
51113 (hidden_proto): Caller changed.
51114 (hidden_tls_proto): New macro.
51115 (libc_hidden_tls_proto): Likewise.
51116 (rtld_hidden_tls_proto): Likewise.
51117 (libm_hidden_tls_proto): Likewise.
51118 (libresolv_hidden_tls_proto): Likewise.
51119 (librt_hidden_tls_proto): Likewise.
51120 (libdl_hidden_tls_proto): Likewise.
51121 (libnss_files_hidden_tls_proto): Likewise.
51122 (libnsl_hidden_tls_proto): Likewise.
51123 (libnss_nisplus_hidden_tls_proto): Likewise.
51124 (libutil_hidden_tls_proto): Likewise.
51125
51126 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
51127
51128 [BZ #10253]
51129 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
51130 (decompose_rpath): Defer expansion to fillin_rpath.
51131 (_dl_init_paths): Pass linkmap to fillin_rpath.
51132
51133 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
51134
51135 * benchtests/Makefile: Add strsep.
51136 * benchtests/bench-strsep.c: New file: strsep benchtest.
51137 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
51138
51139 2013-11-18 Andreas Schwab <schwab@suse.de>
51140
51141 * locale/programs/locale.c (show_info) [case byte]: Check for
51142 '\377' instead of '\177'.
51143 * locale/C-monetary.c (not_available): Always use "\377".
51144 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
51145 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
51146 detect unavailable sign_posn locale elements.
51147 * locale/localeconv.c (__localeconv): For grouping and
51148 mon_grouping handle "\177" and "\377" like no grouping.
51149 (INT_ELEM): New macro. Use it to set all numeric members.
51150 * locale/programs/ld-monetary.c (monetary_read)
51151 <tok_mon_grouping>: Normalize single -1 to the empty string.
51152 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
51153 Likewise.
51154
51155 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
51156
51157 [BZ #16055]
51158 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
51159 when we match (nil).
51160 * stdio-common/tst-sscanf.c (struct test): Add testcase.
51161
51162 2013-11-16 Joseph Myers <joseph@codesourcery.com>
51163
51164 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
51165 (NO_TEST_INLINE): Update value.
51166 (ERRNO_UNCHANGED): Likewise.
51167 (ERRNO_EDOM): Likewise.
51168 (ERRNO_ERANGE): Likewise.
51169 (IGNORE_RESULT): Likewise.
51170 (check_float_internal): Check signs of NaN results if
51171 TEST_NAN_SIGN used.
51172 (check_complex): Pass TEST_NAN_SIGN flag through to second
51173 check_float_internal call.
51174 (copysign_test_data): Add tests with quiet NaNs as second
51175 argument. Use TEST_NAN_SIGN.
51176 (fabs_test_data): Add test of negative quiet NaN argument. Use
51177 TEST_NAN_SIGN.
51178 (signbit_test_data): Add tests of quiet NaN argument.
51179 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
51180
51181 * math/gen-libm-test.pl (show_exceptions): Take extra argument
51182 $ignore_result.
51183 (parse_args): Handle function results specified as IGNORE.
51184 * math/libm-test.inc (IGNORE_RESULT): New macro.
51185 (check_float_internal): Do not check numerical result if flag
51186 IGNORE_RESULT set.
51187 (check_complex): Pass through IGNORE_RESULT to second
51188 check_float_internal call.
51189 (check_int): Do not check numerical result if flag IGNORE_RESULT
51190 set.
51191 (check_long): Likewise.
51192 (check_bool): Likewise.
51193 (check_longlong): Likewise.
51194 (lrint_test_data): Add tests of infinite and NaN arguments.
51195 (lrint_tonearest_test_data): Likewise.
51196 (lrint_towardzero_test_data): Likewise.
51197 (lrint_downward_test_data): Likewise.
51198 (lrint_upward_test_data): Likewise.
51199 (llrint_test_data): Likewise.
51200 (llrint_tonearest_test_data): Likewise.
51201 (llrint_towardzero_test_data): Likewise.
51202 (llrint_downward_test_data): Likewise.
51203 (llrint_upward_test_data): Likewise.
51204 (lround_test_data): Likewise.
51205 (llround_test_data): Likewise.
51206
51207 * math/libm-test.inc (NO_TEST_INLINE): New macro.
51208 (ERRNO_UNCHANGED): Update value.
51209 (ERRNO_EDOM): Likewise.
51210 (ERRNO_ERANGE): Likewise.
51211 (NO_TEST_INLINE_FLOAT): New macro.
51212 (NO_TEST_INLINE_DOUBLE): Likewise.
51213 (enable_test): New function.
51214 (RUN_TEST_f_f): Check enable_test before running test.
51215 (RUN_TEST_2_f): Likewise.
51216 (RUN_TEST_fff_f): Likewise.
51217 (RUN_TEST_c_f): Likewise.
51218 (RUN_TEST_f_f1): Likewise.
51219 (RUN_TEST_fF_f1): Likewise.
51220 (RUN_TEST_fI_f1): Likewise.
51221 (RUN_TEST_ffI_f1): Likewise.
51222 (RUN_TEST_c_c): Likewise.
51223 (RUN_TEST_cc_c): Likewise.
51224 (RUN_TEST_f_i): Likewise.
51225 (RUN_TEST_f_i_tg): Likewise.
51226 (RUN_TEST_ff_i_tg): Likewise.
51227 (RUN_TEST_f_b): Likewise.
51228 (RUN_TEST_f_b_tg): Likewise.
51229 (RUN_TEST_f_l): Likewise.
51230 (RUN_TEST_f_L): Likewise.
51231 (RUN_TEST_fFF_11): Likewise.
51232 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
51233 conditionals.
51234 (cosh_test_data): Likewise.
51235 (exp_test_data): Likewise.
51236 (expm1_test_data): Likewise.
51237 (hypot_test_data): Likewise.
51238 (pow_test_data): Likewise.
51239 (sinh_test_data): Likewise.
51240 (tanh_test_data): Likewise.
51241 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
51242 flags argument.
51243
51244 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
51245 tests with quiet NaN input and output.
51246 (acosh_test_data): Likewise.
51247 (asin_test_data): Likewise.
51248 (asinh_test_data): Likewise.
51249 (atan_test_data): Likewise.
51250 (atanh_test_data): Likewise.
51251 (atan2_test_data): Likewise.
51252 (cbrt_test_data): Likewise.
51253 (cos_test_data): Likewise.
51254 (cosh_test_data): Likewise.
51255 (erf_test_data): Likewise.
51256 (erfc_test_data): Likewise.
51257 (exp_test_data): Likewise.
51258 (exp10_test_data): Likewise.
51259 (exp2_test_data): Likewise.
51260 (expm1_test_data): Likewise.
51261 (hypot_test_data): Likewise.
51262 (j0_test_data): Likewise.
51263 (j1_test_data): Likewise.
51264 (jn_test_data): Likewise.
51265 (lgamma_test_data): Likewise.
51266 (log_test_data): Likewise.
51267 (log10_test_data): Likewise.
51268 (log1p_test_data): Likewise.
51269 (log2_test_data): Likewise.
51270 (pow_test_data): Likewise.
51271 (scalb_test_data): Likewise.
51272 (sin_test_data): Likewise.
51273 (sincos_test_data): Likewise.
51274 (sinh_test_data): Likewise.
51275 (tan_test_data): Likewise.
51276 (tanh_test_data): Likewise.
51277 (tgamma_test_data): Likewise.
51278 (y0_test_data): Likewise.
51279 (y1_test_data): Likewise.
51280 (yn_test_data): Likewise.
51281
51282 [BZ #16167]
51283 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
51284 argument being NaN and avoid computations with second argument in
51285 that case.
51286 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51287 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
51288 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51289
51290 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
51291
51292 * locale/iso-639.def: Add Chitwani Tharu (the).
51293
51294 2013-11-14 Andreas Schwab <schwab@suse.de>
51295
51296 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
51297 word instead of empty string.
51298
51299 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51300
51301 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51302 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
51303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51304 (__fe_nomask_env): Likewise.
51305
51306 2013-11-13 Steve Ellcey <sellcey@mips.com>
51307
51308 * benchtests/bench-timing.h: Include time.h.
51309
51310 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
51311
51312 [BZ #15997]
51313 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
51314 to 3.4.0 for x32.
51315 * sysdeps/unix/sysv/linux/configure: Regenerated.
51316
51317 2013-11-13 Joseph Myers <joseph@codesourcery.com>
51318
51319 [BZ #16151]
51320 * stdlib/strtod_l.c (round_and_return): Do not consider
51321 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
51322 exponent one less than half the least subnormal exponent.
51323 * stdlib/test-strtod-round-data: Add more tests.
51324 * stdlib/tst-strtod-round.c (tests): Regenerated.
51325
51326 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51327
51328 [BZ #14143]
51329 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
51330 (__fe_mask_env): Likewise.
51331 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
51332 libm_hidden_proto and add function prototype.
51333 (__fe_mask_env): Add function prototype.
51334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51335 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
51336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
51337 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
51338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51339 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
51340
51341 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51342
51343 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
51344 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
51345
51346 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51347
51348 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
51349 of htab_find_slot().
51350
51351 2013-11-11 David S. Miller <davem@davemloft.net>
51352
51353 [BZ #16150]
51354 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
51355 symbol in the non-vis3 case in static builds.
51356 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
51357 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
51358 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
51359 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
51360
51361 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
51362
51363 [BZ #387]
51364 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
51365 it is empty.
51366
51367 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51368
51369 * benchtests/Makefile: Add bench-strtod.
51370 * benchtests/bench-strtod.c: New file: strtod benchtest
51371
51372 2013-11-11 Andreas Schwab <schwab@suse.de>
51373
51374 [BZ #16153]
51375 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
51376 terminating NUL in key length.
51377
51378 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51379
51380 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
51381 Add artificial ODP entry for vDSO symbol for PPC64.
51382 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
51383 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
51384
51385 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
51386
51387 [BZ #15374]
51388 * nss/getent.c (services_keys): Recognize services starting with digit.
51389
51390 2013-11-06 David S. Miller <davem@davemloft.net>
51391
51392 [BZ #15985]
51393 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
51394 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
51395
51396 2013-11-06 Will Newton <will.newton@linaro.org>
51397
51398 * manual/memory.texi (Malloc Examples): Remove register
51399 keyword from examples.
51400
51401 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
51402
51403 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
51404
51405 2013-11-04 Joseph Myers <joseph@codesourcery.com>
51406
51407 [BZ #6981]
51408 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
51409 depending on [__GCC_IEC_559 > 0].
51410 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
51411 depending on [__GCC_IEC_559_COMPLEX > 0].
51412
51413 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
51414
51415 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
51416 to iso-639.def.
51417
51418 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
51419
51420 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
51421
51422 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
51423
51424 [BZ #16112]
51425 * malloc/malloc (malloc_info): Do not handle first bin as
51426 special case.
51427
51428 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
51429
51430 * locale/iso-639.def: Add Central Nahuatl (nhn).
51431
51432 2013-11-01 Bruno Haible <bruno@clisp.org>
51433
51434 [BZ #7003]
51435 * manual/math.texi (BSD Random): Specify range upper bound as
51436 in POSIX.
51437
51438 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
51439
51440 * locale/iso-639.def: Add Meadow Mari (mhr).
51441
51442 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
51443
51444 [BZ #14752], [BZ #15763]
51445 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
51446 Validate name.
51447 * rt/tst_shm.c: Add test for escaping directory.
51448
51449 2013-10-31 Andreas Schwab <schwab@suse.de>
51450
51451 [BZ #15917]
51452 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
51453 followed by 'x' as part of digit sequence.
51454 * stdio-common/tst-sscanf.c (double_tests2): New tests.
51455
51456 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
51457
51458 [BZ #16037]
51459 * configure.ac: allow GNU Make 4.0 and greater.
51460 * configure: Regenerated.
51461
51462 2013-10-30 Will Newton <will.newton@linaro.org>
51463
51464 [BZ #16038]
51465 * malloc/hooks.c (memalign_check): Limit alignment to the
51466 maximum representable power of two.
51467 * malloc/malloc.c (__libc_memalign): Likewise.
51468 * malloc/tst-memalign.c (do_test): Add test for very
51469 large alignment values.
51470 * malloc/tst-posix_memalign.c (do_test): Likewise.
51471
51472 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
51473
51474 [BZ #11087]
51475 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
51476 (munmap_chunk): Likewise.
51477 (mremap_chunk): Likewise.
51478
51479 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
51480
51481 [BZ #15799]
51482 * stdlib/div.c (div): Remove obsolete code.
51483 * stdlib/ldiv.c (ldiv): Likewise.
51484 * stdlib/lldiv.c (lldiv): Likewise.
51485
51486 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51487
51488 [BZ #16071]
51489 * nss/nss_files/files-XXX.c (get_contents_ret): New
51490 enumerator.
51491 (get_contents): New function.
51492 (internal_getent): Use it. Expand size of LINEBUFLEN.
51493
51494 2013-10-30 Mike Frysinger <vapier@gentoo.org>
51495
51496 * configure.in: Moved to ...
51497 * configure.ac: ... here. Change reference to configure.in
51498 to configure.ac.
51499 * sysdeps/arm/preconfigure.ac: ... here.
51500 configure.in to configure.ac.
51501 * sysdeps/gnu/configure.in: Moved to ...
51502 * sysdeps/gnu/configure.ac: ... here.
51503 * sysdeps/i386/configure.in: Moved to ...
51504 * sysdeps/i386/configure.ac: ... here.
51505 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
51506 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
51507 * sysdeps/mach/configure.in: Moved to ...
51508 * sysdeps/mach/configure.ac: ... here.
51509 * sysdeps/mach/hurd/configure.in: Moved to ...
51510 * sysdeps/mach/hurd/configure.ac: ... here.
51511 * sysdeps/powerpc/configure.in: Moved to ...
51512 * sysdeps/powerpc/configure.ac: ... here.
51513 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
51514 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
51515 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
51516 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
51517 * sysdeps/s390/s390-32/configure.in: Moved to ...
51518 * sysdeps/s390/s390-32/configure.ac: ... here.
51519 * sysdeps/s390/s390-64/configure.in: Moved to ...
51520 * sysdeps/s390/s390-64/configure.ac: ... here.
51521 * sysdeps/sh/configure.in: Moved to ...
51522 * sysdeps/sh/configure.ac: ... here.
51523 * sysdeps/sparc/configure.in: Moved to ...
51524 * sysdeps/sparc/configure.ac: ... here.
51525 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
51526 * sysdeps/unix/sysv/linux/configure.ac: ... here.
51527 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
51528 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
51529 * sysdeps/x86_64/configure.in: Moved to ...
51530 * sysdeps/x86_64/configure.ac: ... here.
51531 * sysdeps/x86_64/preconfigure.in: Moved to ...
51532 * sysdeps/x86_64/preconfigure.ac: ... here.
51533 * aclocal.m4: Change reference to configure.in to configure.ac.
51534 * config.h.in: Likewise.
51535 * manual/install.texi: Likewise.
51536 * manual/maint.texi: Likewise.
51537 * Makefile: Likewise.
51538 * malloc/Makefile: Likewise.
51539 * nscd/Makefile: Likewise.
51540 * Makeconfig: Change reference to configure.in and
51541 preconfigure.in to configure.ac and preconfigure.ac
51542 respectively.
51543 * INSTALL: Regenerated.
51544 * configure: Likewise.
51545 * sysdeps/gnu/configure: Likewise.
51546 * sysdeps/i386/configure: Likewise.
51547 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
51548 * sysdeps/mach/configure: Likewise.
51549 * sysdeps/mach/hurd/configure: Likewise.
51550 * sysdeps/powerpc/configure: Likewise.
51551 * sysdeps/powerpc/powerpc32/configure: Likewise.
51552 * sysdeps/powerpc/powerpc64/configure: Likewise.
51553 * sysdeps/s390/s390-32/configure: Likewise.
51554 * sysdeps/s390/s390-64/configure: Likewise.
51555 * sysdeps/sh/configure: Likewise.
51556 * sysdeps/sparc/configure: Likewise.
51557 * sysdeps/unix/sysv/linux/configure: Likewise.
51558 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
51559 * sysdeps/x86_64/configure: Likewise.
51560 * sysdeps/x86_64/preconfigure: Likewise.
51561
51562 2013-10-29 Andreas Schwab <schwab@suse.de>
51563
51564 * stdio-common/Makefile (tst-swscanf-ENV): Define.
51565
51566 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51567
51568 * benchtests/pow-inputs: Add new inputs.
51569
51570 * benchtests/exp-inputs: Add new inputs.
51571
51572 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
51573 conditional check for return value.
51574 (__cos32): Likewise.
51575
51576 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51577
51578 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
51579 to provide a boost for large inputs with word alignment.
51580 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
51581 implementation based on optimized PPC64 strcpy.
51582 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
51583 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
51584 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
51585 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
51586
51587 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
51588
51589 [BZ #2801]
51590 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
51591
51592 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
51593
51594 [BZ #14876]
51595 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
51596 * time/tst-strptime.c (day_tests): Add testcase.
51597
51598 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
51599
51600 [BZ #14029]
51601 * manual/pattern.texi: Acknowledge that fnmatch can fail.
51602
51603 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
51604
51605 [BZ #16074]
51606 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
51607 MAP_FAILED on error.
51608
51609 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
51610
51611 [BZ #16072]
51612 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
51613 heap for large requests.
51614
51615 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
51616
51617 [BZ #9954]
51618 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
51619 result if the result has no associated interface.
51620 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
51621 interface for all 127.X.Y.Z addresses.
51622
51623 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
51624
51625 * locale/iso-639.def: Add Ligurian (lij)
51626
51627 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
51628
51629 [BZ #15825]
51630 * sunrpc/rpc_main.c: Document rpcgen -5.
51631
51632 2013-10-19 Michael Stahl <mstahl@redhat.com>
51633
51634 * elf/rtld.c (do_preload): Print the reason why preloading failed.
51635
51636 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
51637
51638 [BZ #10278]
51639 * posix/glob.c: Match only directories when trailing slash is present.
51640 * posix/tst-gnuglob.c (my_opendir): Do not open files.
51641 (main): Add testcase.
51642
51643 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
51644
51645 [BZ #15670]
51646 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
51647
51648 2013-10-18 Carlos O'Donell <carlos@redhat.com>
51649
51650 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
51651 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
51652 AUTH_DES and cindex for FIPS 140-2.
51653 (DES Encryption): Add cindex FIPS 46-3.
51654
51655 * locale/locarchive.h (struct locarhandle): Add fname.
51656 * locale/programs/localedef.c (main): Pass ARGV[remaining]
51657 if an optional argument was specified to --list-archive,
51658 otherwise NULL.
51659 * locale/programs/locarchive.c (show_archive_content): Take new
51660 argument fname and pass it via ah.fname to open_archive.
51661 * locale/programs/localedef.h: Update decl.
51662 (open_archive): If AH->fname is non-null, open that file
51663 rather than the default file name, and don't ignore ENOENT.
51664 (create_archive): Set AH.fname to NULL.
51665 (delete_locales_from_archive): Likewise.
51666 (add_locales_to_archive): Likewise.
51667 * locale/programs/locfile.c (write_all_categories): Likewise.
51668
51669 2013-10-18 Joseph Myers <joseph@codesourcery.com>
51670 Aldy Hernandez <aldyh@redhat.com>
51671
51672 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
51673 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
51674 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
51675 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
51676 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
51677 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
51678 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
51679 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
51680 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
51681 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
51682 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
51683 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
51684 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
51685 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
51686 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
51687 Likewise.
51688 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
51689 Likewise.
51690 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
51691 Likewise.
51692 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
51693 Likewise.
51694 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
51695 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
51696 Likewise.
51697 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
51698 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
51699 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
51700 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
51701 Likewise.
51702 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
51703 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
51704 * sysdeps/powerpc/preconfigure: Likewise.
51705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
51706 Likewise.
51707 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
51708 Replace contents of file by #include of <fenv_libc.h>.
51709 * sysdeps/powerpc/soft-fp/sfp-machine.h
51710 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
51711 and <sys/prctl.h>.
51712 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
51713 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
51714 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
51715 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
51716 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
51717 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
51718 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
51719 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
51720 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
51721 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
51722 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
51723 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
51724 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51725 Allow copysignl PLT reference to be missing.
51726
51727 2013-10-18 Richard Sandiford <richard@codesourcery.com>
51728 Joseph Myers <joseph@codesourcery.com
51729
51730 [BZ #15948]
51731 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
51732 single character.
51733 (add_to_tablewc): Assert sequence of wide characters is nonempty.
51734
51735 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
51736
51737 * elf/tst-tls-dlinfo.c: Don't include tls.h.
51738 * elf/tst-tls1.c: Likewise.
51739 * elf/tst-tls10.h: Likewise.
51740 * elf/tst-tls14.c: Likewise.
51741 * elf/tst-tls2.c: Likewise.
51742 * elf/tst-tls3.c: Likewise.
51743 * elf/tst-tls4.c: Likewise.
51744 * elf/tst-tls5.c: Likewise.
51745 * elf/tst-tls6.c: Likewise.
51746 * elf/tst-tls7.c: Likewise.
51747 * elf/tst-tls8.c: Likewise.
51748 * elf/tst-tls9.c: Likewise.
51749 * elf/tst-tlsmod1.c: Likewise.
51750 * elf/tst-tlsmod13.c: Likewise.
51751 * elf/tst-tlsmod13a.c: Likewise.
51752 * elf/tst-tlsmod14a.c: Likewise.
51753 * elf/tst-tlsmod16a.c: Likewise.
51754 * elf/tst-tlsmod16b.c: Likewise.
51755 * elf/tst-tlsmod2.c: Likewise.
51756 * elf/tst-tlsmod3.c: Likewise.
51757 * elf/tst-tlsmod4.c: Likewise.
51758 * elf/tst-tlsmod5.c: Likewise.
51759 * elf/tst-tlsmod6.c: Likewise.
51760
51761 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
51762
51763 [BZ #12486]
51764 * malloc/malloc.c: remove checks for statistics.
51765
51766 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
51767
51768 [BZ #15277]
51769 * inet/inet_net.c (inet_network): Detect additional invalid strings.
51770 * inet/tst-network.c: Add testcase.
51771
51772 2013-10-17 Andreas Schwab <schwab@suse.de>
51773
51774 [BZ #15218]
51775 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
51776 to determine canonical name.
51777
51778 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
51779
51780 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
51781 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
51782 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51783 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51784 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51785 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51786 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51787 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51788 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51789 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51790 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51791 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51792 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51793 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51794 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51795 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51796 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51797 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51798 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51799 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51800 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51801 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51802 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51803 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
51804 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
51805 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51806 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51807 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
51808 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51809 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
51810 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51811 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51812 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51813 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51814 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51815 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51816 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51817 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51818 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51819 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51820 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51821 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51822 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51823 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51824 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51825 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51826 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51827 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51828 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51829 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51830 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51831 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51832 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51833 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51834 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51835 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51836 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51837 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51838
51839 2013-10-17 Joseph Myers <joseph@codesourcery.com>
51840
51841 [BZ #16041]
51842 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
51843 make result into a quiet NaN.
51844
51845 2013-10-16 Joseph Myers <joseph@codesourcery.com>
51846
51847 * soft-fp/adddf3.c: Fix horizontal whitespace.
51848 * soft-fp/addsf3.c: Likewise.
51849 * soft-fp/addtf3.c: Likewise.
51850 * soft-fp/divdf3.c: Likewise.
51851 * soft-fp/divsf3.c: Likewise.
51852 * soft-fp/divtf3.c: Likewise.
51853 * soft-fp/double.h: Likewise.
51854 * soft-fp/eqdf2.c: Likewise.
51855 * soft-fp/eqsf2.c: Likewise.
51856 * soft-fp/eqtf2.c: Likewise.
51857 * soft-fp/extenddftf2.c: Likewise.
51858 * soft-fp/extended.h: Likewise.
51859 * soft-fp/extendsfdf2.c: Likewise.
51860 * soft-fp/extendsftf2.c: Likewise.
51861 * soft-fp/extendxftf2.c: Likewise.
51862 * soft-fp/fixdfdi.c: Likewise.
51863 * soft-fp/fixdfsi.c: Likewise.
51864 * soft-fp/fixdfti.c: Likewise.
51865 * soft-fp/fixsfdi.c: Likewise.
51866 * soft-fp/fixsfsi.c: Likewise.
51867 * soft-fp/fixsfti.c: Likewise.
51868 * soft-fp/fixtfdi.c: Likewise.
51869 * soft-fp/fixtfsi.c: Likewise.
51870 * soft-fp/fixtfti.c: Likewise.
51871 * soft-fp/fixunsdfdi.c: Likewise.
51872 * soft-fp/fixunsdfsi.c: Likewise.
51873 * soft-fp/fixunsdfti.c: Likewise.
51874 * soft-fp/fixunssfdi.c: Likewise.
51875 * soft-fp/fixunssfsi.c: Likewise.
51876 * soft-fp/fixunssfti.c: Likewise.
51877 * soft-fp/fixunstfdi.c: Likewise.
51878 * soft-fp/fixunstfsi.c: Likewise.
51879 * soft-fp/fixunstfti.c: Likewise.
51880 * soft-fp/floatdidf.c: Likewise.
51881 * soft-fp/floatdisf.c: Likewise.
51882 * soft-fp/floatditf.c: Likewise.
51883 * soft-fp/floatsidf.c: Likewise.
51884 * soft-fp/floatsisf.c: Likewise.
51885 * soft-fp/floatsitf.c: Likewise.
51886 * soft-fp/floattidf.c: Likewise.
51887 * soft-fp/floattisf.c: Likewise.
51888 * soft-fp/floattitf.c: Likewise.
51889 * soft-fp/floatundidf.c: Likewise.
51890 * soft-fp/floatundisf.c: Likewise.
51891 * soft-fp/floatunditf.c: Likewise.
51892 * soft-fp/floatunsidf.c: Likewise.
51893 * soft-fp/floatunsisf.c: Likewise.
51894 * soft-fp/floatunsitf.c: Likewise.
51895 * soft-fp/floatuntidf.c: Likewise.
51896 * soft-fp/floatuntisf.c: Likewise.
51897 * soft-fp/floatuntitf.c: Likewise.
51898 * soft-fp/fmadf4.c: Likewise.
51899 * soft-fp/fmasf4.c: Likewise.
51900 * soft-fp/fmatf4.c: Likewise.
51901 * soft-fp/gedf2.c: Likewise.
51902 * soft-fp/gesf2.c: Likewise.
51903 * soft-fp/getf2.c: Likewise.
51904 * soft-fp/ledf2.c: Likewise.
51905 * soft-fp/lesf2.c: Likewise.
51906 * soft-fp/letf2.c: Likewise.
51907 * soft-fp/muldf3.c: Likewise.
51908 * soft-fp/mulsf3.c: Likewise.
51909 * soft-fp/multf3.c: Likewise.
51910 * soft-fp/negdf2.c: Likewise.
51911 * soft-fp/negsf2.c: Likewise.
51912 * soft-fp/negtf2.c: Likewise.
51913 * soft-fp/op-1.h: Likewise.
51914 * soft-fp/op-2.h: Likewise.
51915 * soft-fp/op-4.h: Likewise.
51916 * soft-fp/op-8.h: Likewise.
51917 * soft-fp/op-common.h: Likewise.
51918 * soft-fp/quad.h: Likewise.
51919 * soft-fp/single.h: Likewise.
51920 * soft-fp/soft-fp.h: Likewise.
51921 * soft-fp/sqrtdf2.c: Likewise.
51922 * soft-fp/sqrtsf2.c: Likewise.
51923 * soft-fp/sqrttf2.c: Likewise.
51924 * soft-fp/subdf3.c: Likewise.
51925 * soft-fp/subsf3.c: Likewise.
51926 * soft-fp/subtf3.c: Likewise.
51927 * soft-fp/truncdfsf2.c: Likewise.
51928 * soft-fp/trunctfdf2.c: Likewise.
51929 * soft-fp/trunctfsf2.c: Likewise.
51930 * soft-fp/trunctfxf2.c: Likewise.
51931 * soft-fp/unorddf2.c: Likewise.
51932 * soft-fp/unordsf2.c: Likewise.
51933 * soft-fp/unordtf2.c: Likewise.
51934
51935 2013-10-15 Joseph Myers <joseph@codesourcery.com>
51936
51937 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
51938 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
51939
51940 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
51941
51942 * elf/dl-libc.c: Clear initfini list after freeing.
51943
51944 2013-10-14 Joseph Myers <joseph@codesourcery.com>
51945
51946 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
51947 * soft-fp/addsf3.c: Likewise.
51948 * soft-fp/addtf3.c: Likewise.
51949 * soft-fp/divdf3.c: Likewise.
51950 * soft-fp/divsf3.c: Likewise.
51951 * soft-fp/divtf3.c: Likewise.
51952 * soft-fp/double.h: Likewise.
51953 * soft-fp/eqdf2.c: Likewise.
51954 * soft-fp/eqsf2.c: Likewise.
51955 * soft-fp/eqtf2.c: Likewise.
51956 * soft-fp/extenddftf2.c: Likewise.
51957 * soft-fp/extended.h: Likewise.
51958 * soft-fp/extendsfdf2.c: Likewise.
51959 * soft-fp/extendsftf2.c: Likewise.
51960 * soft-fp/extendxftf2.c: Likewise.
51961 * soft-fp/fixdfdi.c: Likewise.
51962 * soft-fp/fixdfsi.c: Likewise.
51963 * soft-fp/fixdfti.c: Likewise.
51964 * soft-fp/fixsfdi.c: Likewise.
51965 * soft-fp/fixsfsi.c: Likewise.
51966 * soft-fp/fixsfti.c: Likewise.
51967 * soft-fp/fixtfdi.c: Likewise.
51968 * soft-fp/fixtfsi.c: Likewise.
51969 * soft-fp/fixtfti.c: Likewise.
51970 * soft-fp/fixunsdfdi.c: Likewise.
51971 * soft-fp/fixunsdfsi.c: Likewise.
51972 * soft-fp/fixunsdfti.c: Likewise.
51973 * soft-fp/fixunssfdi.c: Likewise.
51974 * soft-fp/fixunssfsi.c: Likewise.
51975 * soft-fp/fixunssfti.c: Likewise.
51976 * soft-fp/fixunstfdi.c: Likewise.
51977 * soft-fp/fixunstfsi.c: Likewise.
51978 * soft-fp/fixunstfti.c: Likewise.
51979 * soft-fp/floatdidf.c: Likewise.
51980 * soft-fp/floatdisf.c: Likewise.
51981 * soft-fp/floatditf.c: Likewise.
51982 * soft-fp/floatsidf.c: Likewise.
51983 * soft-fp/floatsisf.c: Likewise.
51984 * soft-fp/floatsitf.c: Likewise.
51985 * soft-fp/floattidf.c: Likewise.
51986 * soft-fp/floattisf.c: Likewise.
51987 * soft-fp/floattitf.c: Likewise.
51988 * soft-fp/floatundidf.c: Likewise.
51989 * soft-fp/floatundisf.c: Likewise.
51990 * soft-fp/floatunsidf.c: Likewise.
51991 * soft-fp/floatunsisf.c: Likewise.
51992 * soft-fp/floatuntidf.c: Likewise.
51993 * soft-fp/floatuntisf.c: Likewise.
51994 * soft-fp/floatuntitf.c: Likewise.
51995 * soft-fp/fmadf4.c: Likewise.
51996 * soft-fp/fmasf4.c: Likewise.
51997 * soft-fp/fmatf4.c: Likewise.
51998 * soft-fp/gedf2.c: Likewise.
51999 * soft-fp/gesf2.c: Likewise.
52000 * soft-fp/getf2.c: Likewise.
52001 * soft-fp/ledf2.c: Likewise.
52002 * soft-fp/lesf2.c: Likewise.
52003 * soft-fp/letf2.c: Likewise.
52004 * soft-fp/muldf3.c: Likewise.
52005 * soft-fp/mulsf3.c: Likewise.
52006 * soft-fp/multf3.c: Likewise.
52007 * soft-fp/negdf2.c: Likewise.
52008 * soft-fp/negsf2.c: Likewise.
52009 * soft-fp/negtf2.c: Likewise.
52010 * soft-fp/op-1.h: Likewise.
52011 * soft-fp/op-2.h: Likewise.
52012 * soft-fp/op-4.h: Likewise.
52013 * soft-fp/op-8.h: Likewise.
52014 * soft-fp/op-common.h: Likewise.
52015 * soft-fp/quad.h: Likewise.
52016 * soft-fp/single.h: Likewise.
52017 * soft-fp/soft-fp.h: Likewise.
52018 * soft-fp/sqrtdf2.c: Likewise.
52019 * soft-fp/sqrtsf2.c: Likewise.
52020 * soft-fp/sqrttf2.c: Likewise.
52021 * soft-fp/subdf3.c: Likewise.
52022 * soft-fp/subsf3.c: Likewise.
52023 * soft-fp/subtf3.c: Likewise.
52024 * soft-fp/truncdfsf2.c: Likewise.
52025 * soft-fp/trunctfdf2.c: Likewise.
52026 * soft-fp/trunctfsf2.c: Likewise.
52027 * soft-fp/trunctfxf2.c: Likewise.
52028 * soft-fp/unorddf2.c: Likewise.
52029 * soft-fp/unordsf2.c: Likewise.
52030 * soft-fp/unordtf2.c: Likewise.
52031
52032 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
52033
52034 [BZ #15672]
52035 * misc/error.c (error_tail): Fix possible buffer overflow.
52036
52037 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
52038
52039 [BZ #13028]
52040 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
52041 address.
52042
52043 2013-10-14 P. J. McDermott <pj@pehjota.net>
52044
52045 [BZ #832]
52046 * elf/ldd.bash.in (try_trace): New function. Delete previous code
52047 testing pipefail option.
52048
52049 2013-10-12 Joseph Myers <joseph@codesourcery.com>
52050
52051 * soft-fp/double.h: Indent preprocessor directives inside #if.
52052 * soft-fp/extended.h: Likewise.
52053 * soft-fp/op-2.h: Likewise.
52054 * soft-fp/op-4.h: Likewise.
52055 * soft-fp/op-common.h: Likewise.
52056 * soft-fp/quad.h: Likewise.
52057 * soft-fp/single.h: Likewise.
52058 * soft-fp/soft-fp.h: Likewise.
52059
52060 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
52061
52062 * iconv/iconv_prog.c: Fix typos.
52063 * stdio-common/psiginfo-data.h: Likewise.
52064
52065 2013-10-12 Reuben Thomas <rrt@sc3d.org>
52066
52067 [BZ #15764]
52068 * locale/setlocale.c: Fix typo.
52069
52070 2013-10-12 Joseph Myers <joseph@codesourcery.com>
52071
52072 [BZ #16036]
52073 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
52074 signaling NaN arguments.
52075 * soft-fp/unordsf2.c (__unordsf2): Likewise.
52076 * soft-fp/unordtf2.c (__unordtf2): Likewise.
52077
52078 [BZ #14910]
52079 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
52080 unordered operands.
52081 * soft-fp/gesf2.c (__gesf2): Likewise.
52082 * soft-fp/getf2.c (__getf2): Likewise.
52083 * soft-fp/ledf2.c (__ledf2): Likewise.
52084 * soft-fp/lesf2.c (__lesf2): Likewise.
52085 * soft-fp/letf2.c (__letf2): Likewise.
52086
52087 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
52088 * soft-fp/eqsf2.c (__eqsf2): Likewise.
52089 * soft-fp/eqtf2.c (__eqtf2): Likewise.
52090 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
52091 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
52092 * soft-fp/fixdfti.c (__fixdfti): Likewise.
52093 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
52094 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
52095 * soft-fp/fixsfti.c (__fixsfti): Likewise.
52096 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
52097 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
52098 * soft-fp/fixtfti.c (__fixtfti): Likewise.
52099 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
52100 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
52101 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
52102 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
52103 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
52104 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
52105 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
52106 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
52107 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
52108 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
52109 * soft-fp/floatdisf.c (__floatdisf): Likewise.
52110 * soft-fp/floatsisf.c (__floatsisf): Likewise.
52111 * soft-fp/floattidf.c (__floattidf): Likewise.
52112 * soft-fp/floattisf.c (__floattisf): Likewise.
52113 * soft-fp/floattitf.c (__floattitf): Likewise.
52114 * soft-fp/floatundidf.c (__floatundidf): Likewise.
52115 * soft-fp/floatundisf.c (__floatundisf): Likewise.
52116 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
52117 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
52118 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
52119 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
52120 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
52121 * soft-fp/gesf2.c (__gesf2): Likewise.
52122 * soft-fp/getf2.c (__getf2): Likewise.
52123 * soft-fp/ledf2.c (__ledf2): Likewise.
52124 * soft-fp/lesf2.c (__lesf2): Likewise.
52125 * soft-fp/letf2.c (__letf2): Likewise.
52126
52127 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
52128 Undefine and redefine.
52129 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
52130 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
52131 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
52132 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
52133 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
52134 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
52135 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
52136 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
52137 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
52138 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
52139 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
52140 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
52141 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
52142 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
52143 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
52144
52145 [BZ #16032]
52146 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
52147 without decrementing exponent if mantissa >= that for the
52148 denominator, not >.
52149 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
52150 denominator, not >. Decrement exponent in < case instead of
52151 incrementing in >= case.
52152 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
52153 without decrementing exponent if mantissa >= that for the
52154 denominator, not >.
52155
52156 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
52157 computing saturated result for unsigned overflow.
52158
52159 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
52160 Jeff Law <law@redhat.com>
52161
52162 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
52163 (atan2Mp): Add systemtap probe marker.
52164 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
52165 (__ieee754_log): Add systemtap probe marker.
52166 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
52167 (atanMp): Add systemtap probe marker.
52168 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
52169 (tanMp): Add systemtap probe marker.
52170 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
52171 (__slowexp): Add systemtap probe marker.
52172 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
52173 (__slowpow): Add systemtap probe marker.
52174 * manual/probes.texi: Document probes.
52175
52176 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
52177
52178 [BZ #15362]
52179 * libio/fileops.c (_IO_new_file_write): Return count of bytes
52180 written.
52181 (_IO_new_file_xsputn): Don't return EOF if nothing has been
52182 written.
52183 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
52184 written to buffer but not flushed.
52185 * libio/iofwrite_u.c: Likewise.
52186 * libio/iopadn.c: Return bytes returned even if EOF was
52187 encountered.
52188 * libio/iowpadn.c: Likewise.
52189 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
52190 if _IO_padn does not write the whole buffer.
52191 [!COMPILE_WPRINTF] (PAD): Likewise.
52192
52193 2013-10-10 David S. Miller <davem@davemloft.net>
52194
52195 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
52196 directory block.
52197
52198 2013-10-10 Joseph Myers <joseph@codesourcery.com>
52199
52200 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
52201 instead of FSF address.
52202 * soft-fp/fixdfti.c: Likewise.
52203 * soft-fp/fixsfti.c: Likewise.
52204 * soft-fp/fixtfti.c: Likewise.
52205 * soft-fp/fixunsdfti.c: Likewise.
52206 * soft-fp/fixunssfti.c: Likewise.
52207 * soft-fp/fixunstfti.c: Likewise.
52208 * soft-fp/floattidf.c: Likewise.
52209 * soft-fp/floattisf.c: Likewise.
52210 * soft-fp/floattitf.c: Likewise.
52211 * soft-fp/floatuntidf.c: Likewise.
52212 * soft-fp/floatuntisf.c: Likewise.
52213 * soft-fp/floatuntitf.c: Likewise.
52214 * soft-fp/trunctfxf2.c: Likewise.
52215
52216 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
52217 * soft-fp/fixdfti.c: Likewise.
52218 * soft-fp/fixsfti.c: Likewise.
52219 * soft-fp/fixtfti.c: Likewise.
52220 * soft-fp/fixunsdfti.c: Likewise.
52221 * soft-fp/fixunssfti.c: Likewise.
52222 * soft-fp/fixunstfti.c: Likewise.
52223 * soft-fp/floattidf.c: Likewise.
52224 * soft-fp/floattisf.c: Likewise.
52225 * soft-fp/floattitf.c: Likewise.
52226 * soft-fp/floatuntidf.c: Likewise.
52227 * soft-fp/floatuntisf.c: Likewise.
52228 * soft-fp/floatuntitf.c: Likewise.
52229 * soft-fp/trunctfxf2.c: Likewise.
52230
52231 2013-10-10 David S. Miller <davem@davemloft.net>
52232
52233 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52234
52235 2013-10-10 Joseph Myers <joseph@codsourcery.com>
52236
52237 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
52238 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
52239 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
52240 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
52241 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
52242 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
52243 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
52244
52245 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
52246 for NaNs before doing comparisons on argument.
52247 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
52248 Likewise.
52249
52250 2013-10-10 Will Newton <will.newton@linaro.org>
52251
52252 * malloc/hooks.c (memalign_check): Ensure the value of bytes
52253 passed to _int_memalign does not overflow.
52254
52255 2013-10-10 Torvald Riegel <triegel@redhat.com>
52256
52257 * scripts/bench.pl: Add include-sources directive.
52258 * benchtests/README: Update documentation.
52259
52260 2013-10-10 Joseph Myers <joseph@codesourcery.com>
52261
52262 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
52263 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
52264 instead of FP_INIT_ROUNDMODE.
52265 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
52266 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
52267
52268 [BZ #16034]
52269 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
52270 copy class of input value.
52271 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
52272 not handle exceptions.
52273 * soft-fp/negsf2.c (__negsf2): Likewise.
52274 * soft-fp/negtf2.c (__negtf2): Likewise.
52275 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
52276
52277 2013-10-09 Joseph Myers <joseph@codesourcery.com>
52278
52279 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
52280 semicolon. From Linux kernel.
52281
52282 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
52283
52284 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
52285
52286 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
52287
52288 [BZ #156]
52289 * manual/socket.texi: Added statement about buffer
52290 for gethostbyname2_r.
52291
52292 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
52293
52294 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
52295 Use .p2align directive instead, throughout.
52296 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
52297 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
52298 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
52299 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52300 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52301 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
52302 * sysdeps/x86_64/strchr.S: Likewise.
52303 * sysdeps/x86_64/strrchr.S: Likewise.
52304
52305 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
52306
52307 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
52308
52309 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
52310
52311 * sysdeps/generic/math_private.h (__mpsin1): Remove
52312 declaration.
52313 (__mpcos1): Likewise.
52314 (__mpsin): New argument __range_reduce.
52315 (__mpcos): Likewise.
52316 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52317 (slow): Use __mpsin and __mpcos.
52318 (slow1): Likewise.
52319 (slow2): Likewise.
52320 (sloww): Likewise.
52321 (sloww1): Likewise.
52322 (sloww2): Likewise.
52323 (bsloww): Likewise.
52324 (bsloww1): Likewise.
52325 (bsloww2): Likewise.
52326 (cslow2): Likewise.
52327 (csloww): Likewise.
52328 (csloww1): Likewise.
52329 (csloww2): Likewise.
52330 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
52331 range_reduce. Merge in __mpsin1.
52332 (__mpcos): Likewise.
52333 (__mpsin1): Remove.
52334 (__mpcos1): Likewise.
52335
52336 2013-10-07 Joseph Myers <joseph@codesourcery.com>
52337
52338 * locale/loadlocale.c (_nl_intern_locale_data): Use
52339 LOCFILE_ALIGNED_P.
52340 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
52341 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
52342 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
52343 obstack data is appropriately aligned.
52344 (obstack_int32_grow_fast): Likewise.
52345 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
52346 * locale/programs/locfile.c (add_locale_uint32): Likewise.
52347 (add_locale_uint32_array): Likewise.
52348
52349 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
52350
52351 * benchtests/Makefile: Remove ARGLIST and RET variables.
52352 ($(objpfx)bench-%.c): Pass only function name to the script.
52353 * benchtests/README: Update documentation.
52354 * benchtests/acos-inputs: Add new directives.
52355 * benchtests/acosh-inputs: Likewise.
52356 * benchtests/asin-inputs: Likewise.
52357 * benchtests/asinh-inputs: Likewise.
52358 * benchtests/atan-inputs: Likewise.
52359 * benchtests/atanh-inputs: Likewise.
52360 * benchtests/cos-inputs: Likewise.
52361 * benchtests/cosh-inputs: Likewise.
52362 * benchtests/exp-inputs: Likewise.
52363 * benchtests/log-inputs: Likewise.
52364 * benchtests/pow-inputs: Likewise.
52365 * benchtests/rint-inputs: Likewise.
52366 * benchtests/sin-inputs: Likewise.
52367 * benchtests/sinh-inputs: Likewise.
52368 * benchtests/tan-inputs: Likewise.
52369 * benchtests/tanh-inputs: Likewise.
52370 * scripts/bench.pl: Add support for new directives.
52371
52372 2013-10-07 Alan Modra <amodra@gmail.com>
52373
52374 * README: Fix careless merge.
52375
52376 2013-10-05 Alan Modra <amodra@gmail.com>
52377
52378 * NEWS: Mention powerpc64le support and bugs fixed.
52379 * README: Both big-endian and little-endian powerpc64 supported.
52380
52381 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
52382
52383 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
52384 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
52385 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
52386 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
52387
52388 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
52389
52390 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
52391 match prototype.
52392
52393 2013-10-04 Joseph Myers <joseph@codesourcery.com>
52394
52395 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
52396 Move -mhard-float appending from
52397 ports/sysdeps/powerpc/powerpc32/Makefile.
52398 [$(with-fp) = yes] (ASFLAGS): Likewise.
52399 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
52400 * sysdeps/powerpc/nofpu: Move directory from
52401 ports/sysdeps/powerpc/nofpu.
52402 * sysdeps/powerpc/soft-fp: Move directory from
52403 ports/sysdeps/powerpc/soft-fp.
52404 * sysdeps/powerpc/powerpc32/405: Move directory from
52405 ports/sysdeps/powerpc/powerpc32/405.
52406 * sysdeps/powerpc/powerpc32/440: Move directory from
52407 ports/sysdeps/powerpc/powerpc32/440.
52408 * sysdeps/powerpc/powerpc32/464: Move directory from
52409 ports/sysdeps/powerpc/powerpc32/464.
52410 * sysdeps/powerpc/powerpc32/476: Move directory from
52411 ports/sysdeps/powerpc/powerpc32/476.
52412 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
52413 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
52414 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
52415 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
52416 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
52417 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
52418 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
52419 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
52420 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
52421 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
52422 * README: Update for powerpc-*-linux-gnu software floating point
52423 support in libc.
52424
52425 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
52426 case to powerpc/powerpc32*.
52427 * sysdeps/unix/sysv/linux/configure: Regenerated.
52428
52429 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
52430 (_FPU_MASK_OM): Define as 0x04.
52431 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
52432 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
52433 0x00c10080.
52434 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
52435 0x0000003c.
52436 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
52437
52438 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
52439 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
52440 getcontext_e500.
52441 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
52442 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
52443 setcontext_e500.
52444 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
52445 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
52446 and setcontext_e500.
52447
52448 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
52449
52450 * locale/iso-3166.def: Update iso-1366.def and related occurrences
52451
52452 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
52453
52454 * manual/threads.texi (Default Thread Attributes): Fix typo.
52455
52456 2013-10-04 Will Newton <will.newton@linaro.org>
52457
52458 * malloc/Makefile: Add tst-memalign.
52459 * malloc/tst-memalign.c: New file.
52460
52461 * malloc/tst-posix_memalign.c: Add comments.
52462 (do_test): Add comments and call free on all potentially
52463 allocated pointers. Add space after cast.
52464
52465 * malloc/tst-pvalloc.c: Add comments.
52466 (do_test): Add comments and call free on all potentially
52467 allocated pointers. Remove duplicate check for NULL pointer.
52468 Add space after cast.
52469
52470 * malloc/tst-valloc.c: Add comments.
52471 (do_test): Add comments and call free on all potentially
52472 allocated pointers. Remove duplicate check for NULL pointer.
52473 Add space after cast.
52474
52475 2013-10-04 Alan Modra <amodra@gmail.com>
52476
52477 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52478 Use stdint types in rather than __attribute__((mode())).
52479 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52480
52481 2013-10-04 Alan Modra <amodra@gmail.com>
52482
52483 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52484 Correct handling of unaligned relocs for little-endian.
52485 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52486
52487 2013-10-04 Alan Modra <amodra@gmail.com>
52488
52489 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
52490 * configure: Regenerate.
52491 * nptl/shlib-versions: Powerpc*le starts at 2.18.
52492 * shlib-versions: Likewise.
52493
52494 2013-10-04 Alan Modra <amodra@gmail.com>
52495
52496 * string/tester.c (test_memrchr): Increment reported test cycle.
52497
52498 2013-10-04 Alan Modra <amodra@gmail.com>
52499
52500 * string/test-memcpy.c (do_one_test): When reporting errors, print
52501 string address and don't overrun end of string.
52502
52503 2013-10-04 Alan Modra <amodra@gmail.com>
52504
52505 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
52506 insrdi. Make better use of reg selection to speed exit slightly.
52507 Schedule entry path a little better. Remove useless "are we done"
52508 checks on entry to main loop. Handle wrapping around zero address.
52509 Correct main loop count. Handle single left-over word from main
52510 loop inline rather than by using loop_small. Remove extra word
52511 case in loop_small caused by wrong loop count. Add little-endian
52512 support.
52513 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52514 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
52515 cache hint.
52516 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52517 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
52518 support. Avoid rlwimi.
52519 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
52520
52521 2013-10-04 Alan Modra <amodra@gmail.com>
52522
52523 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
52524 insrdi. Formatting.
52525 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
52526 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
52527 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
52528 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52529 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
52530 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
52531
52532 2013-10-04 Alan Modra <amodra@gmail.com>
52533
52534 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
52535 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52536 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
52537 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
52538 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52539 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52540 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52541 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52542 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
52543 use of regs. Use power7 mtocrf. Tidy function tails.
52544
52545 2013-10-04 Alan Modra <amodra@gmail.com>
52546
52547 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
52548 Formatting. Consistently use rXXX register defines or rN defines.
52549 Use early exit labels that avoid restoring unused non-volatile regs.
52550 Make cr field use more consistent with rWORDn compares. Rename
52551 regs used as shift registers for unaligned loop, using rN defines
52552 for short lifetime/multiple use regs.
52553 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52554 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
52555 addi 1,1,64 to pop stack frame. Simplify return value code.
52556 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52557
52558 2013-10-04 Alan Modra <amodra@gmail.com>
52559
52560 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
52561 support. Correct typos, formatting. Optimize tail. Use insrdi
52562 rather than rlwimi.
52563 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
52564 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
52565 little-endian support. Correct typos.
52566 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
52567 rather than rlwimi.
52568 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
52569 in loop and entry code to keep "and." results.
52570 (strchr): Add little-endian support. Comment. Move cntlzd
52571 earlier in tail.
52572 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
52573
52574 2013-10-04 Alan Modra <amodra@gmail.com>
52575
52576 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
52577 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
52578 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
52579 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
52580
52581 2013-10-04 Alan Modra <amodra@gmail.com>
52582
52583 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
52584 (rTMP): Define as r11.
52585 (strcmp): Add little-endian support. Optimise tail.
52586 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
52587 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52588 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52589 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52590 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52591 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52592 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52593
52594 2013-10-04 Alan Modra <amodra@gmail.com>
52595
52596 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
52597 little-endian support. Remove unnecessary "are we done" tests.
52598 Handle "s" wrapping around zero and extremely large "size".
52599 Correct main loop count. Handle single left-over word from main
52600 loop inline rather than by using small_loop. Correct comments.
52601 Delete "zero" tail, use "end_max" instead.
52602 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
52603
52604 2013-10-04 Alan Modra <amodra@gmail.com>
52605
52606 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
52607 support. Don't branch over align.
52608 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
52609 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
52610 support. Rearrange tmp reg use to suit. Comment.
52611 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
52612
52613 2013-10-04 Alan Modra <amodra@gmail.com>
52614
52615 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
52616
52617 2013-10-04 Alan Modra <amodra@gmail.com>
52618
52619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
52620 conditional form of branch and link when obtaining pc.
52621 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
52622
52623 2013-10-04 Alan Modra <amodra@gmail.com>
52624
52625 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
52626 HIWORD/LOWORD.
52627 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
52628 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
52629
52630 2013-10-04 Alan Modra <amodra@gmail.com>
52631
52632 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
52633 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
52634 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
52635 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
52636 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52637 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
52638 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
52639 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52640 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
52641 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
52642
52643 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52644 Alistair Popple <alistair@ozlabs.au.ibm.com>
52645 Alan Modra <amodra@gmail.com>
52646
52647 [BZ #15723]
52648 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
52649 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
52650 _dl_hwcap access for little-endian.
52651 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
52652 destroy vmx regs when saving unaligned.
52653 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
52654 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
52655 destroy vmx regs when saving unaligned.
52656
52657 2013-10-04 Alan Modra <amodra@gmail.com>
52658
52659 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
52660 Don't use a union to pack hi/low value.
52661
52662 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52663
52664 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
52665 for little-endian.
52666 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52667 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
52668 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52669 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52670 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52671
52672 2013-10-04 Alan Modra <amodra@gmail.com>
52673
52674 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
52675 constants to usual value for .cst8 section, and remove redundant
52676 high address load.
52677 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
52678 constant for 0x1p52. Load little-endian words of double from
52679 correct stack offsets.
52680
52681 2013-10-04 Alan Modra <amodra@gmail.com>
52682
52683 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
52684 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
52685 words of double from correct stack offsets.
52686 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
52687 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
52688 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52689 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52690 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52691 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52692 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52693 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
52694 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
52695 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52696 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52697 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52698 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52699 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52700 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52701 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
52702 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
52703
52704 2013-10-04 Alan Modra <amodra@gmail.com>
52705
52706 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
52707 64-bit int/double union.
52708 (_FPU_SETCW): Likewise.
52709 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
52710 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
52711
52712 2013-10-04 Alan Modra <amodra@gmail.com>
52713
52714 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
52715 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
52716
52717 2013-10-04 Alan Modra <amodra@gmail.com>
52718
52719 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
52720 use vector int constants.
52721 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
52722
52723 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52724
52725 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
52726 array with long long.
52727 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
52728 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
52729 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
52730 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
52731 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
52732 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
52733 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
52734 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
52735 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
52736 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
52737 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
52738 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
52739 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
52740
52741 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52742
52743 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
52744 (__signbit): Likewise. Correct for little-endian.
52745 (__signbitl): Call __signbit.
52746 (lrint): Correct for little-endian.
52747 (lrintf): Call lrint.
52748
52749 2013-10-04 Alan Modra <amodra@gmail.com>
52750
52751 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
52752 union 32-bit int array member with 64-bit int array.
52753 (t515, tm256): Double rather than long double.
52754 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
52755
52756 2013-10-04 Alan Modra <amodra@gmail.com>
52757
52758 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
52759 Delete.
52760 (IEEE854_LONG_DOUBLE_BIAS): Delete.
52761 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
52762 version of math_ldbl.h.
52763
52764 2013-10-04 Alan Modra <amodra@gmail.com>
52765
52766 [BZ #15734], [BZ #15735]
52767 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
52768 all uses of ieee875 long double macros and unions. Simplify test
52769 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
52770 ldbl_extract_mantissa value for ix,iy exponents. Properly
52771 normalize after ldbl_extract_mantissa, and don't add hidden bit
52772 already handled. Don't treat low word of ieee854 mantissa like
52773 low word of IBM long double and mask off bit when testing for
52774 zero.
52775 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
52776 all uses of ieee875 long double macros and unions. Simplify tests
52777 for 0.0L and inf. Correct double adjustment of k. Delete dead code
52778 adjusting ha,hb. Simplify code setting kld. Delete two600 and
52779 two1022, instead use their values. Recognise that tests for large
52780 "a" and small "b" are mutually exclusive. Rename vars. Comment.
52781 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
52782 Rewrite all uses of ieee875 long double macros and unions. Simplify
52783 test for 0.0L and nan. Correct negation.
52784 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
52785 ieee875 long double macros and unions. Correct output for large
52786 magnitude x. Correct absolute value calculation.
52787 (__erfcl): Likewise.
52788 * math/libm-test.inc: Add tests for errors discovered in IBM long
52789 double versions of fmodl, remainderl, erfl and erfcl.
52790
52791 2013-10-04 Alan Modra <amodra@gmail.com>
52792
52793 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
52794 all uses of ieee854 long double macros and unions. Simplify tests
52795 for long doubles that are fully specified by the high double.
52796 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
52797 Likewise.
52798 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
52799 Remove dead code too.
52800 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
52801 (__ieee754_ynl): Likewise.
52802 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
52803 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
52804 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
52805 Remove dead code too.
52806 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
52807 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
52808 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
52809 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
52810 Simplify.
52811 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
52812 Simplify.
52813 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
52814 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
52815 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
52816 Comment on variable precision.
52817 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
52818 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52819 Likewise.
52820 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
52821 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52822 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52823 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
52824 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
52825
52826 2013-10-04 Alan Modra <amodra@gmail.com>
52827
52828 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
52829 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
52830 all uses of ieee854 long double macros and unions.
52831 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
52832 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52833 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
52834 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
52835 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
52836 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
52837 Likewise.
52838 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
52839 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52840 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
52841 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52842 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
52843 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
52844 Simplify sign and nan test too.
52845 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
52846 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
52847 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
52848 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
52849 Likewise.
52850 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
52851 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
52852 Likewise.
52853 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52854 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
52855 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
52856 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
52857 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
52858 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
52859
52860 2013-10-04 Alan Modra <amodra@gmail.com>
52861
52862 * stdio-common/printf_size.c (__printf_size): Don't use
52863 union ieee854_long_double in fpnum union.
52864 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
52865 signbit macro to retrieve sign from long double.
52866 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
52867 retrieve sign from long double.
52868 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
52869 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
52870 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
52871 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52872 * math/test-misc.c (main): Don't use union ieee854_long_double.
52873
52874 2013-10-04 Alan Modra <amodra@gmail.com>
52875
52876 [BZ #15680]
52877 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
52878 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
52879 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
52880 calculation. Remove unnecessary test for denormal exponent.
52881 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
52882 Correct handling of denormals. Avoid undefined shift behaviour.
52883 Correct normalisation of low mantissa when low double is denormal.
52884 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
52885 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
52886 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
52887 Correct normalisation of low mantissa. Test for overflow of high
52888 mantissa and normalise.
52889 (ldbl_nearbyint): Use more readable constant for two52.
52890 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
52891 (__mpn_construct_long_double): Fix test for overflow of high
52892 mantissa and correct normalisation. Avoid undefined shift.
52893
52894 2013-10-04 Alan Modra <amodra@gmail.com>
52895
52896 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52897 (union ibm_extended_long_double): Define as an array of ieee754_double.
52898 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
52899 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
52900 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
52901 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52902 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52903 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
52904 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52905 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52906 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52907 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
52908 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52909
52910 2013-10-03 Joseph Myers <joseph@codesourcery.com>
52911
52912 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
52913 page size instead of calling getpagesize.
52914
52915 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
52916 (LOCFILE_ALIGN_MASK): Likewise.
52917 (LOCFILE_ALIGN_UP): Likewise.
52918 (LOCFILE_ALIGNED_P): Likewise.
52919 * locale/programs/ld-collate.c (collate_output): Use the new
52920 macros instead of __alignof__ (int32_t).
52921 * locale/weight.h (findidx): Likewise.
52922
52923 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
52924
52925 [BZ #431]
52926 * manual/string.texi: Fix strncat and wcsncat.
52927
52928 2013-10-03 Brooks Moses <bmoses@google.com>
52929
52930 [BZ #15915]
52931 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
52932 * Makerules: ...here, and adjust associated comments.
52933
52934 2013-10-02 Will Newton <will.newton@linaro.org>
52935
52936 * malloc/Makefile: Add tst-pvalloc.
52937 * malloc/tst-pvalloc.c: New file.
52938
52939 2013-10-02 Will Newton <will.newton@linaro.org>
52940
52941 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
52942 improve test coverage.
52943
52944 2013-10-02 Will Newton <will.newton@linaro.org>
52945
52946 * malloc/Makefile: Add tst-posix_memalign.
52947 * malloc/tst-posix_memalign.c: New file.
52948
52949 2013-10-01 Eric Blake <eblake@redhat.com>
52950
52951 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
52952 Use __THROWNL rather than __THROW on static functions.
52953
52954 2013-09-30 Petr Machata <pmachata@redhat.com>
52955
52956 * elf/elf.h (R_AARCH64_ABS16): New macro.
52957 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
52958 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
52959 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
52960 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
52961 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
52962 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
52963 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
52964 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
52965 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
52966 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
52967 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
52968 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
52969 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
52970 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
52971 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
52972 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
52973 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
52974 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
52975 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
52976 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
52977 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
52978 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
52979 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
52980 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
52981 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
52982 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
52983 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
52984 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
52985 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
52986 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
52987 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
52988 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
52989 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
52990 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
52991 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
52992 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
52993 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
52994 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
52995 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
52996 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
52997 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
52998 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
52999 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
53000 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
53001 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
53002 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
53003 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
53004 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
53005 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
53006 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
53007 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
53008 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
53009 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
53010 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
53011 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
53012 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
53013 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
53014 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
53015 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
53016 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
53017 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
53018 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
53019 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
53020 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
53021 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
53022 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
53023 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
53024 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
53025 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
53026 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
53027 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
53028 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
53029 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
53030 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
53031 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
53032 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
53033 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
53034 (R_AARCH64_TLSDESC_LDR): Likewise.
53035 (R_AARCH64_TLSDESC_ADD): Likewise.
53036 (R_AARCH64_TLSDESC_CALL): Likewise.
53037
53038 2013-09-30 Andreas Schwab <schwab@suse.de>
53039
53040 [BZ #15048]
53041 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
53042 the nss database lookup.
53043 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53044 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53045
53046 2013-09-28 Mike Frysinger <vapier@gentoo.org>
53047
53048 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
53049
53050 2013-09-28 P. J. McDermott <pj@pehjota.net>
53051
53052 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
53053 ${Bash-specific parameter/pattern/string} parameter expansion.
53054 * sysdeps/unix/make-syscalls.sh: Likewise.
53055
53056 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53057
53058 * sysdeps/sh/stackguard-macros.h: New file.
53059
53060 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
53061
53062 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
53063 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
53064 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
53065 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
53066 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53067 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
53068
53069 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53070
53071 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
53072 Fix thread ID register.
53073
53074 2013-09-25 Joseph Myers <joseph@codesourcery.com>
53075
53076 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
53077 [POSIX || UNIX98]: Require rather than permitting all symbols from
53078 <time.h>.
53079 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
53080 element of struct sched_param.
53081 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
53082 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
53083 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
53084 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
53085 constant.
53086
53087 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
53088
53089 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
53090 argument calculation.
53091
53092 2013-09-24 Joseph Myers <joseph@codesourcery.com>
53093
53094 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
53095 Expect macro.
53096 [POSIX] (pthread_attr_t): Do not require type.
53097 [POSIX] (pthread_cond_t): Likewise.
53098 [POSIX] (pthread_condattr_t): Likewise.
53099 [POSIX] (pthread_key_t): Likewise.
53100 [POSIX] (pthread_mutex_t): Likewise.
53101 [POSIX] (pthread_mutexattr_t): Likewise.
53102 [POSIX] (pthread_once_t): Likewise.
53103 [POSIX] (pthread_t): Likewise.
53104 [POSIX-based standards] (pthread_atfork): Expect function.
53105
53106 2013-09-24 Joseph Myers <joseph@codesourcery.com>
53107 Richard Sandiford <richard@codesourcery.com>
53108
53109 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
53110 (swap_endianness_p): New extern variable.
53111 (set_big_endian): New inline function.
53112 (maybe_swap_uint32): Likewise.
53113 (maybe_swap_uint32_array): Likewise.
53114 (maybe_swap_uint32_obstack): Likewise.
53115 * locale/programs/locfile.c: Include <stdbool.h>.
53116 (swap_endianness_p): New variable.
53117 (add_locale_uint32): Call maybe_swap_uint32.
53118 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
53119 (write_locale_data): Call maybe_swap_uint32_array.
53120 * locale/programs/ld-collate.c (obstack_int32_grow): Call
53121 maybe_swap_uint32.
53122 (obstack_int32_grow_fast): Likewise.
53123 (output_weightwc): Call maybe_swap_uint32_obstack.
53124 (collate_output): Likewise.
53125 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
53126 (OPT_LITTLE_ENDIAN): Likewise.
53127 (options): Add --little-endian and --big-endian options.
53128 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
53129 * locale/programs/locarchive.c: Include "locfile.h".
53130 (GET): New macro.
53131 (SET): Likewise.
53132 (INC): Likewise.
53133 (create_archive): Use the new macros to access fields of
53134 structures directly mapped from or written to locale archives.
53135 (oldlocrecentcmp): Likewise.
53136 (enlarge_archive): Likewise.
53137 (insert_name): Likewise.
53138 (add_alias): Likewise.
53139 (add_locale): Likewise.
53140 (delete_locales_from_archive): Likewise.
53141 (show_archive_content): Likewise.
53142 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
53143 locale data.
53144
53145 2013-09-24 Roland McGrath <roland@hack.frob.com>
53146
53147 * manual/freemanuals.texi: Updated from (newly) canonical copy at
53148 http://www.gnu.org/doc/freemanuals.texi.
53149 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
53150
53151 2013-09-24 Will Newton <will.newton@linaro.org>
53152
53153 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
53154 macro.
53155
53156 2013-09-23 Joseph Myers <joseph@codesourcery.com>
53157
53158 * locale/hashval.h (compute_hashval): Interpret bytes of key as
53159 unsigned char.
53160
53161 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
53162
53163 * manual/threads.texi (POSIX Threads): Fix a typo.
53164
53165 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
53166
53167 [BZ #14547]
53168 * string/tst-strcoll-overflow.c: New test case.
53169 * string/Makefile (xtests): Add tst-strcoll-overflow.
53170 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
53171 cache if string sizes may cause integer overflow.
53172
53173 [BZ #14547]
53174 * string/strcoll_l.c (coll_seq): New members rule, idx,
53175 save_idx and back_us.
53176 (get_next_seq_nocache): New function.
53177 (do_compare_nocache): New function.
53178 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
53179 when malloc fails.
53180
53181 2013-09-23 Carlos O'Donell <carlos@redhat.com>
53182
53183 [BZ #15754]
53184 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
53185 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
53186 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
53187
53188 [BZ #15754]
53189 * elf/Makefile (tests): Add tst-ptrguard1.
53190 (tests-static): Add tst-ptrguard1-static.
53191 (tst-ptrguard1-ARGS): Define.
53192 (tst-ptrguard1-static-ARGS): Define.
53193 * elf/tst-ptrguard1.c: New file.
53194 * elf/tst-ptrguard1-static.c: New file.
53195 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
53196 * sysdeps/i386/stackguard-macros.h: Likewise.
53197 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
53198 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
53199 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
53200 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
53201 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
53202 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
53203
53204 2013-09-23 Hector Marco <hecmargi@upv.es>
53205 Ismael Ripoll <iripoll@disca.upv.es>
53206 Carlos O'Donell <carlos@redhat.com>
53207
53208 [BZ #15754]
53209 * sysdeps/generic/stackguard-macros.h: Define
53210 __pointer_chk_guard_local and POINTER_CHK_GUARD.
53211 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
53212 Define __pointer_chk_guard_local.
53213 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
53214 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
53215
53216 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
53217
53218 [BZ #15859]
53219 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
53220
53221 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
53222
53223 * include/string.h (__ffs): Declare as hidden.
53224 * string/ffs.c (__ffs): Define as hidden.
53225 * sysdeps/i386/ffs.c (__ffs): Likewise.
53226 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
53227 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
53228 * sysdeps/s390/ffs.c (__ffs): Likewise.
53229 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
53230
53231 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
53232
53233 * NEWS: Mention malloc probes.
53234
53235 * malloc/arena.c (new_heap): New memory_heap_new probe.
53236 (grow_heap): New memory_heap_more probe.
53237 (shrink_heap): New memory_heap_less probe.
53238 (heap_trim): New memory_heap_free probe.
53239 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
53240 (systrim): New memory_sbrk_less probe.
53241 * manual/probes.texi: Document them.
53242
53243 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
53244 * manual/probes.texi: Document it.
53245
53246 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
53247 (__libc_realloc): Add memory_realloc_retry probe.
53248 (__libc_memalign): Add memory_memalign_retry probe.
53249 (__libc_valloc): Add memory_valloc_retry probe.
53250 (__libc_pvalloc): Add memory_pvalloc_retry probe.
53251 (__libc_calloc): Add memory_calloc_retry probe.
53252 * manual/probes.texi: Document them.
53253
53254 * malloc/arena.c (get_free_list): Add probe
53255 memory_arena_reuse_free_list.
53256 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
53257 and memory_arena_reuse.
53258 (arena_get2) [!PER_THREAD]: Likewise.
53259 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
53260 memory_arena_reuse_realloc.
53261 * manual/probes.texi: Document them.
53262
53263 * malloc/malloc.c (__libc_free): Add
53264 memory_mallopt_free_dyn_thresholds probe.
53265 (__libc_mallopt): Add multiple memory_mallopt probes.
53266 * manual/probes.texi: Document them.
53267
53268 * malloc/malloc.c: Include stap-probe.h.
53269 (__libc_mallopt): Add memory_mallopt probe.
53270 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
53271 * manual/probes.texi: New.
53272 * manual/Makefile (chapters): Add probes.
53273 * manual/threads.texi: Set next node.
53274
53275 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
53276
53277 [BZ #15963, #13985]
53278 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
53279 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
53280 Add `Chinese' to `nan' entry name.
53281
53282 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
53283
53284 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
53285 (POLYNOMIAL): Likewise.
53286 (TAYLOR_SINCOS): Likewise.
53287 (TAYLOR_SLOW): Likewise.
53288 (__sin): Use TAYLOR_SINCOS.
53289 (__cos): Likewise.
53290 (slow): Use TAYLOR_SLOW.
53291 (sloww): Likewise.
53292 (bsloww): Likewise.
53293 (csloww): Likewise.
53294
53295 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53296
53297 * stdlib/strtod_l.c: Fix buffer overrun.
53298
53299 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
53300
53301 * benchtests/Makefile (bench): Add sincos.
53302 * benchtests/bench-sincos.c: New file.
53303
53304 * math/libm-test.inc (cos_test_data): New test inputs.
53305 (sin_test_data): Likewise.
53306
53307 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
53308 macro.
53309 (__sin): Use it.
53310 (__cos): Likewise.
53311 (slow1): Likewise.
53312 (slow2): Likewise.
53313 (sloww1): Likewise.
53314 (sloww2): Likewise.
53315 (bsloww1): Likewise.
53316 (bsloww2): Likewise.
53317 (cslow2): Likewise.
53318 (csloww1): Likewise.
53319 (csloww2): Likewise.
53320
53321 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
53322 function.
53323 (__sin): Use it.
53324 (__cos): Likewise.
53325
53326 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
53327 gotos.
53328 (__cos): Likewise.
53329
53330 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
53331
53332 * config.h.in (HAVE_MIPS_NAN2008): New macro.
53333 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
53334 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
53335 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
53336 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
53337 * elf/cache.c (print_entry): Handle the new cache flags.
53338
53339 2013-09-18 Joseph Myers <joseph@codesourcery.com>
53340 Aldy Hernandez <aldyh@redhat.com>
53341
53342 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
53343 Change condition to [_SOFT_FLOAT].
53344 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
53345 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
53346 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
53347 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
53348 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
53349 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
53350 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
53351 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
53352 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
53353 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
53354 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
53355 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
53356 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
53357 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
53358 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
53359 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
53360 declaration.
53361
53362 2013-09-18 Joseph Myers <joseph@codesourcery.com>
53363
53364 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
53365 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
53366 (__longjmp): Use LOAD_GP to load saved GPRs.
53367 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
53368 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
53369 (__sigsetjmp): Use SAVE_GP to save GPRs.
53370
53371 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
53372 Do not append -msoft-float.
53373 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
53374
53375 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
53376
53377 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
53378
53379 2013-09-17 Joseph Myers <joseph@codesourcery.com>
53380
53381 [BZ #15966]
53382 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
53383 (_FPU_GETCW): Use initial "__" on variable and field names but not
53384 on macro parameter name.
53385 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
53386 parentheses around reference to macro parameter.
53387
53388 2013-09-13 Richard Sandiford <richard@codesourcery.com>
53389
53390 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
53391 prototype.
53392 (ctype_startup): Use uint32_t in cast and sizeof for
53393 ctype->charnames.
53394
53395 2013-09-11 Jia Liu <proljc@gmail.com>
53396
53397 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
53398 __daddr_t_defined.
53399 [__FreeBSD__]: Likewise.
53400
53401 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
53402
53403 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
53404 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
53405 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
53406 (strchr): Remove __strchr_sse42 ifunc selection.
53407 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
53408 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
53409
53410 2013-09-11 Will Newton <will.newton@linaro.org>
53411
53412 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
53413 parameter to RES. Remove hardcoded 1000 value.
53414 * benchtests/bench-skeleton.c (main): Pass RES parameter
53415 to TIMING_INIT and multiply result by 1000.
53416
53417 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53418
53419 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53420
53421 2013-09-11 Andreas Schwab <schwab@suse.de>
53422
53423 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
53424 if not defined.
53425 (O_TMPFILE) [__USE_GNU]: Define.
53426 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
53427 Define.
53428
53429 2013-09-11 Will Newton <will.newton@linaro.org>
53430
53431 [BZ #15857]
53432 * malloc/malloc.c (__libc_memalign): Check the value of bytes
53433 does not overflow.
53434
53435 2013-09-11 Will Newton <will.newton@linaro.org>
53436
53437 [BZ #15856]
53438 * malloc/malloc.c (__libc_valloc): Check the value of bytes
53439 does not overflow.
53440
53441 2013-09-11 Will Newton <will.newton@linaro.org>
53442
53443 [BZ #15855]
53444 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
53445 does not overflow.
53446
53447 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
53448
53449 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
53450 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53451 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53452 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53453 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53454
53455 2013-09-10 Allan McRae <allan@archlinux.org>
53456
53457 [BZ #15748]
53458 * manual/arith.texi (Parsing of Floats): Clarify
53459 cross-reference.
53460
53461 [BZ #15849]
53462 * manual/install.texi (Running make install): Mention
53463 --enable-pt-chown.
53464 * INSTALL: Regenerated.
53465
53466 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
53467
53468 * csu/init-first.c (_init): Remove the !SHARED condition around
53469 FPU control word initialization.
53470 * elf/dl-support.c (_dl_fpu_control): New variable.
53471 (_dl_aux_init) <AT_FPUCW>: Initialize it.
53472 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
53473 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
53474 * math/test-fpucw-static.c: New file.
53475 * math/test-fpucw-ieee.c: New file.
53476 * math/test-fpucw-ieee-static.c: New file.
53477 * math/Makefile (tests): Add `test-fpucw-ieee' and
53478 `$(tests-static)'.
53479 (tests-static): New variable.
53480 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
53481 dependency to...
53482 [($(build-shared),yes)]
53483 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
53484 ... this.
53485 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
53486 New dependency.
53487
53488 2013-09-09 Allan McRae <allan@archlinux.org>
53489
53490 [BZ #15939]
53491 * manual/string.texi (Collation Functions): Fix typo in
53492 strcoll example.
53493 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
53494
53495 [BZ #15893]
53496 * stdlib/isomac.c (get_null_defines): Fix memory leak.
53497
53498 [BZ #15892]
53499 * libio/memstream.c (open_memstream): Fix memory leak.
53500 * libio/wmemstream.c (open_wmemstream): Likewise.
53501
53502 [BZ #15895]
53503 * nscd/netgroupcache.c: Fix nesting of ifdefs.
53504
53505 2013-09-09 Will Newton <will.newton@linaro.org>
53506
53507 * malloc/Makefile: Add tst-realloc to tests.
53508 * malloc/tst-realloc.c: New file.
53509
53510 2013-09-09 Allan McRae <allan@archlinux.org>
53511
53512 [BZ #15844]
53513 * COPYING: Update from GNU website to fix FSF address.
53514 * COPYING.LIB: Likewise.
53515
53516 2013-09-06 David S. Miller <davem@davemloft.net>
53517
53518 * po/zh_TW.po: Update Chinese (traditional) translation from
53519 translation project.
53520
53521 2013-09-06 Richard Sandiford <richard@codesourcery.com>
53522 Joseph Myers <joseph@codesourcery.com>
53523
53524 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
53525 "localeinfo.h".
53526 (obstack_chunk_alloc): New macro.
53527 (obstack_chunk_free): Likewise.
53528 (record_offset): New function.
53529 (init_locale_data): Likewise.
53530 (align_locale_data): Likewise.
53531 (add_locale_empty): Likewise.
53532 (add_locale_raw_data): Likewise.
53533 (add_locale_raw_obstack): Likewise.
53534 (add_locale_string): Likewise.
53535 (add_locale_wstring): Likewise.
53536 (add_locale_uint32): Likewise.
53537 (add_locale_uint32_array): Likewise.
53538 (add_locale_char): Likewise.
53539 (start_locale_structure): Likewise.
53540 (end_locale_structure): Likewise.
53541 (start_locale_prelude): Likewise.
53542 (end_locale_prelude): Likewise.
53543 (write_locale_data): Take locale_file structure rather than an
53544 iovec.
53545 * locale/programs/locfile.h: Include "obstack.h".
53546 (struct locale_file): Change to store locale file contents instead
53547 of header.
53548 (init_locale_data): New prototype.
53549 (align_locale_data): Likewise.
53550 (add_locale_empty): Likewise.
53551 (add_locale_raw_data): Likewise.
53552 (add_locale_raw_obstack): Likewise.
53553 (add_locale_string): Likewise.
53554 (add_locale_wstring): Likewise.
53555 (add_locale_uint32): Likewise.
53556 (add_locale_uint32_array): Likewise.
53557 (add_locale_char): Likewise.
53558 (start_locale_structure): Likewise.
53559 (end_locale_structure): Likewise.
53560 (start_locale_prelude): Likewise.
53561 (end_locale_prelude): Likewise.
53562 (write_locale_data): Update prototype.
53563 * locale/programs/3level.h (struct TABLE): Remove result field.
53564 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
53565 Use new locale_file interface.
53566 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
53567 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
53568 * locale/programs/ld-address.c (address_output): Use new
53569 locale_file interface.
53570 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
53571 NO_ADD_LOCALE.
53572 (collate_finish): Don't call collseq_table_finalize.
53573 (collate_output): Use new locale_file interface.
53574 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
53575 in file.
53576 (NO_FINALIZE): Change to NO_ADD_LOCALE.
53577 (TABLE): Move defines earlier in file.
53578 (ELEMENT): Likewise.
53579 (DEFAULT): Likewise.
53580 (wctrans_table_add): Move macro and inline function earlier in
53581 file.
53582 (struct wctype_table): Move type earlier in file.
53583 (add_locale_wctype_table): New static prototype.
53584 (struct locale_ctype_t): Use logical types instead of struct iovec
53585 pointers for members.
53586 (ctype_output): Use new locale_file interface.
53587 (wctype_table_finalize): Change to add_locale_wctype_table. Use
53588 new locale_file interface.
53589 (allocate_arrays): Update for use of new locale_file interface.
53590 * locale/programs/ld-identification.c (identification_output): Use
53591 new locale_file interface.
53592 * locale/programs/ld-measurement.c (measurement_output): Likewise.
53593 * locale/programs/ld-messages.c (messages_output): Likewise.
53594 * locale/programs/ld-monetary.c (monetary_output): Likewise.
53595 * locale/programs/ld-name.c (name_output): Likewise.
53596 * locale/programs/ld-numeric.c (numeric_output): Likewise.
53597 * locale/programs/ld-paper.c (paper_output): Likewise.
53598 * locale/programs/ld-telephone.c (telephone_output): Likewise.
53599 * locale/programs/ld-time.c (time_output): Likewise.
53600
53601 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53602
53603 * benchtests/Makefile: Add memrchr benchmark.
53604 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
53605 benchmark as memrchr.
53606 * benchtests/bench-memrchr-ifunc.c: New file.
53607 * benchtests/bench-memrchr.c: New file.
53608
53609 2013-09-06 Will Newton <will.newton@linaro.org>
53610
53611 * benchtests/Makefile (string-bench): Add memcpy.
53612
53613 2013-09-05 Carlos O'Donell <carlos@redhat.com>
53614 Cong Wang <amwang@redhat.com>
53615
53616 [BZ #15850]
53617 * sysdeps/unix/sysv/linux/bits/in.h
53618 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
53619 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
53620 before __USE_KERNEL_IPV6_DEFS uses.
53621 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
53622 IPPROTO_BEETPH.
53623 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
53624 sockaddr_in6, or ipv6_mreq.
53625
53626 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53627
53628 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
53629 memory access for final bytes in some large inputs.
53630 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
53631
53632 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53633
53634 * string/test-memrchr.c: New file.
53635 * string/test-memrchr-ifunc.c: New file.
53636 * string/Makefile: Add new memrchr testcase.
53637
53638 2013-09-05 Mike Frysinger <vapier@gentoo.org>
53639
53640 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
53641 fanotify_init returns EPERM.
53642
53643 2013-09-04 Joseph Myers <joseph@codesourcery.com>
53644
53645 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
53646 errors.
53647 (top level): Treat second token from macro or constant entries for
53648 allowed headers as allowed.
53649 * include/complex.h: Condition internal declarations on
53650 [!_ISOMAC].
53651 * include/fenv.h: Condition include of <stdbool.h> and internal
53652 declarations on [!_ISOMAC].
53653
53654 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
53655
53656 [BZ #15923]
53657 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
53658
53659 2013-09-04 Joseph Myers <joseph@codesourcery.com>
53660
53661 * configure.in (--enable-versioning): Remove configure option.
53662 (libc_cv_asm_symver_directive): Remove configure test.
53663 (libc_cv_ld_version_script_option): Likewise.
53664 (VERSIONING): Remove variable and AC_SUBST.
53665 (DO_VERSIONING): Remove AC_DEFINE.
53666 * configure: Regenerated.
53667 * config.h.in (DO_VERSIONING): Remove macro.
53668 * Makerules [$(versioning) = yes]: Change conditionals to
53669 [$(build-shared) = yes].
53670 * config.make.in (versioning): Remove variable.
53671 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
53672 [$(build-shared) = yes].
53673 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
53674 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
53675 * elf/Makefile [$(versioning) = yes]: Change conditionals to
53676 [$(build-shared) = yes].
53677 * extra-lib.mk [$(versioning) = yes]: Likewise.
53678 * hurd/Makefile [$(versioning) = yes]: Likewise.
53679 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
53680 [SHARED].
53681 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
53682 [SHARED].
53683 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53684 [SHARED && !NO_HIDDEN].
53685 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
53686 [SHARED].
53687 [SHARED && DO_VERSIONING]: Likewise..
53688 * libio/Makefile [$(versioning) = yes]: Change conditionals to
53689 [$(build-shared) = yes].
53690 * manual/install.texi (--disable-versioning): Remove
53691 documentation.
53692 * INSTALL: Regenerated.
53693 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
53694 to [SHARED].
53695 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
53696 [$(build-shared) = yes].
53697 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
53698 * sysdeps/i386/i686/multiarch/strstr-c.c
53699 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53700 [SHARED && !NO_HIDDEN].
53701 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
53702 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
53703 * sysdeps/powerpc/powerpc32/dl-machine.c
53704 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
53705 * sysdeps/powerpc/powerpc32/sysdep.h
53706 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
53707 to [SHARED && PIC && !NO_HIDDEN].
53708 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
53709 conditional to [SHARED].
53710
53711 2013-09-04 Will Newton <will.newton@linaro.org>
53712
53713 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
53714 * benchtests/bench-string.h: Include bench-timing.h instead
53715 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
53716 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
53717 call to HP_TIMING_DIFF_INIT.
53718 * benchtests/bench-memccpy.c: Use bench-timing.h macros
53719 instead of hp-timing.h macros.
53720 * benchtests/bench-memchr.c: Likewise.
53721 * benchtests/bench-memcmp.c: Likewise.
53722 * benchtests/bench-memcpy.c: Likewise.
53723 * benchtests/bench-memmem.c: Likewise.
53724 * benchtests/bench-memmove.c: Likewise.
53725 * benchtests/bench-memset.c: Likewise.
53726 * benchtests/bench-rawmemchr.c: Likewise.
53727 * benchtests/bench-strcasecmp.c: Likewise.
53728 * benchtests/bench-strcasestr.c: Likewise.
53729 * benchtests/bench-strcat.c: Likewise.
53730 * benchtests/bench-strchr.c: Likewise.
53731 * benchtests/bench-strcmp.c: Likewise.
53732 * benchtests/bench-strcpy.c: Likewise.
53733 * benchtests/bench-strcpy_chk.c: Likewise.
53734 * benchtests/bench-strlen.c: Likewise.
53735 * benchtests/bench-strncasecmp.c: Likewise.
53736 * benchtests/bench-strncat.c: Likewise.
53737 * benchtests/bench-strncmp.c: Likewise.
53738 * benchtests/bench-strncpy.c: Likewise.
53739 * benchtests/bench-strnlen.c: Likewise.
53740 * benchtests/bench-strpbrk.c: Likewise.
53741 * benchtests/bench-strrchr.c: Likewise.
53742 * benchtests/bench-strspn.c: Likewise.
53743 * benchtests/bench-strstr.c: Likewise.
53744
53745 2013-09-04 Will Newton <will.newton@linaro.org>
53746
53747 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
53748
53749 2013-09-03 Joseph Myers <joseph@codesourcery.com>
53750
53751 [BZ #15427]
53752 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
53753 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
53754 * math/libm-test.inc (lgamma_test_data): Add more tests.
53755 * sysdeps/i386/fpu/libm-test-ulps: Update.
53756 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53757
53758 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
53759
53760 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
53761 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53762 Add ifunc.
53763 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53764 Add strcmp-sse2-unaligned
53765 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
53766
53767 2013-09-02 Mike Frysinger <vapier@gentoo.org>
53768
53769 * Versions.def (libc): Add GLIBC_2.19.
53770
53771 2013-09-02 Mike Frysinger <vapier@gentoo.org>
53772
53773 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
53774 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
53775
53776 2013-09-02 Joseph Myers <joseph@codesourcery.com>
53777
53778 [BZ #14155]
53779 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
53780 intermediate calculations in recurrence.
53781 (__ieee754_ynf): Likewise.
53782 * math/libm-test.inc (jn_test_data): Do not allow spurious
53783 underflow exception. Add more tests.
53784 (yn_test_data): Add more tests.
53785 * sysdeps/i386/fpu/libm-test-ulps: Update.
53786 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53787
53788 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
53789
53790 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
53791
53792 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
53793
53794 * csu/init-first.c: Fix then/than typos.
53795 * locale/programs/ld-collate.c: Likewise.
53796 * locale/programs/linereader.h: Likewise.
53797 * manual/charset.texi: Likewise.
53798 * manual/filesys.texi: Likewise.
53799 * manual/stdio.texi: Likewise.
53800 * manual/string.texi: Likewise.
53801 * stdlib/fmtmsg.c: Likewise.
53802 * sysdeps/i386/stpncpy.S: Likewise.
53803 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53804 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
53805 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53806 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
53807
53808 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
53809
53810 * elf/dl-open.c: Fix typos.
53811 * iconvdata/gbbig5.c: Likewise.
53812 * iconvdata/iso-2022-jp.c: Likewise.
53813 * iconv/gconv_int.h: Likewise.
53814 * iconv/loop.c: Likewise.
53815 * nis/rpcsvc/nis.h: Likewise.
53816 * resolv/ns_name.c: Likewise.
53817 * stdio-common/vfscanf.c: Likewise.
53818 * streams/stropts.h: Likewise.
53819 * sunrpc/rpc_thread.c: Likewise.
53820 * sysdeps/i386/strpbrk.S: Likewise.
53821 * sysdeps/ieee754/k_standard.c: Likewise.
53822 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53823 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53824 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
53825 * sysdeps/mach/hurd/profil.c: Likewise.
53826 * sysdeps/s390/dl-procinfo.h: Likewise.
53827 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
53828 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
53829 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
53830 * sysdeps/x86_64/dl-trampoline.S: Likewise.
53831 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53832
53833 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
53834
53835 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
53836 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
53837
53838 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
53839
53840 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
53841 aix specific files.
53842 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
53843 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
53844 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
53845 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
53846 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
53847 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
53848 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
53849 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
53850
53851 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
53852 Roland McGrath <roland@hack.frob.com>
53853
53854 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
53855 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
53856
53857 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
53858
53859 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
53860 __executable_start symbol instead of _start.
53861
53862 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
53863
53864 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
53865 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
53866 Move macros to...
53867 * sysdeps/gnu/ldsodefs.h: ... this new file.
53868
53869 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
53870 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
53871 instead of ELFOSABI_LINUX.
53872
53873 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
53874 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
53875 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
53876 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
53877 Likewise.
53878 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
53879 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
53880 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
53881 Likewise.
53882 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
53883 (ibm_extended_long_double): Add ieee_nan member.
53884 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
53885 (do_test): New function.
53886
53887 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
53888 TEST_TRUNC.
53889 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
53890 functions, renamed from truncdfsf_test, trunctfsf_test,
53891 trunctfdf_test.
53892 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
53893 functions.
53894 (do_test): Run all these.
53895
53896 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
53897
53898 * argp/argp-help.c: Fix typos.
53899 * argp/argp-parse.c: Likewise.
53900 * debug/backtracesyms.c: Likewise.
53901 * elf/elf.h: Likewise.
53902 * malloc/malloc.c: Likewise.
53903 * nis/nis_print.c: Likewise.
53904 * resolv/res_comp.c: Likewise.
53905 * stdlib/stdlib.h: Likewise.
53906 * sunrpc/clnt_tcp.c: Likewise.
53907 * sunrpc/clnt_udp.c: Likewise.
53908 * sunrpc/clnt_unix.c: Likewise.
53909 * sysdeps/unix/bsd/ptsname.c: Likewise.
53910 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
53911 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
53912 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
53913 Likewise.
53914 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
53915 Likewise.
53916 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
53917 Likewise.
53918 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53919
53920 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
53921
53922 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
53923 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53924
53925 2013-08-27 Mike Frysinger <vapier@gentoo.org>
53926
53927 [BZ #15897]
53928 * dlfcn/Makefile (tests): Add bug-dl-leaf.
53929 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
53930 ($(objpfx)bug-dl-leaf): New rule.
53931 ($(objpfx)bug-dl-leaf.so): Likewise.
53932 ($(objpfx)bug-dl-leaf.out): Likewise.
53933 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
53934 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
53935 * dlfcn/bug-dl-leaf.c: New test.
53936 * dlfcn/bug-dl-leaf-lib.c: Likewise.
53937 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
53938 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
53939 (dlclose): Likewise.
53940 (dlmopen): Likewise.
53941
53942 2013-08-27 Roland McGrath <roland@hack.frob.com>
53943
53944 * include/netdb.h [!_ISOMAC]:
53945 Don't include <tls.h>.
53946 (h_errno, __libc_h_errno): Move declaration and macros out of
53947 [_LIBC_REENTRANT].
53948
53949 * include/resolv.h [_RESOLV_H_]:
53950 Don't include <tls.h>.
53951 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
53952 * resolv/res_libc.c: Don't include <tls.h>.
53953 (_res): Use __attribute__ ((nocommon)) in place of
53954 __attribute__ ((section (".bss"))).
53955
53956 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
53957 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
53958
53959 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
53960
53961 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
53962 only under [SIOCGIFCONF && SIOCGIFNETMASK].
53963
53964 * resolv/res_mkquery.c: Include <sys/time.h>.
53965
53966 * inet/ifreq.c: Moved to ...
53967 * sysdeps/unix/ifreq.c: ... here.
53968 * inet/ifreq.c: New file, true stub version.
53969
53970 * socket/sa_len.c: New file.
53971 * socket/Makefile (aux): Add it.
53972 * sysdeps/unix/sysv/linux/Makefile
53973 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
53974 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
53975 and #include <socket/sa_len.c>.
53976 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
53977 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
53978
53979 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
53980 * bits/socket.h: ... here.
53981
53982 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
53983 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
53984 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
53985
53986 2013-08-27 Andreas Schwab <schwab@suse.de>
53987
53988 [BZ #15736]
53989 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
53990 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
53991 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
53992 * string/test-strcasecmp.c (test_main): Run tests in several
53993 locales.
53994 * string/test-strncasecmp.c (test_main): Likewise.
53995
53996 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
53997 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
53998 to __strcasecmp_nonascii and __strncasecmp_nonascii.
53999 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
54000 (__strncasecmp_ssse3) [PIC]: Likewise.
54001
54002 2013-08-26 Roland McGrath <roland@hack.frob.com>
54003
54004 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
54005
54006 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
54007 instead of explicitly declaring xdecrypt.
54008 * nis/nss_nis/nis-publickey.c: Likewise.
54009
54010 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
54011
54012 [BZ #15890]
54013 * nscd/aicache.c: Include res_hconf.h.
54014 (addhstaiX): Initialize res_hconf.
54015
54016 2013-08-26 Andreas Schwab <schwab@suse.de>
54017
54018 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
54019 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
54020
54021 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
54022
54023 * nscd/aicache.c (addhstaiX): Fix indentation.
54024
54025 2013-08-25 Mike Frysinger <vapier@gentoo.org>
54026
54027 * configure.ac: Quote $build_pt_chown test.
54028 * configure: Regenerated.
54029
54030 2013-08-23 Joseph Myers <joseph@codesourcery.com>
54031
54032 [BZ #15532]
54033 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
54034 * math/s_cexpf.c (__cexpf): Likewise.
54035 * math/s_cexpl.c (__cexpl): Likewise.
54036 * math/libm-test.inc (cexp_test_data): Correct expected return
54037 value for NaN + i0. Add another test.
54038
54039 2013-08-22 David S. Miller <davem@davemloft.net>
54040
54041 * po/ca.po: Update Catalan translation from translation project.
54042 * po/uk.po: Add Ukrainian translations from translation project.
54043
54044 2013-08-21 Joseph Myers <joseph@codesourcery.com>
54045
54046 [BZ #15797]
54047 * math/s_fdim.c (__fdim): Check for infinite arguments if result
54048 is infinite, not alongside NaN test.
54049 * math/s_fdimf.c (__fdimf): Likewise.
54050 * math/s_fdiml.c (__fdiml): Likewise.
54051 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
54052 errno is unchanged.
54053
54054 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
54055
54056 * argp/argp-help.c: Fix typos.
54057 * crypt/speeds.c: Likewise.
54058 * csu/check_fds.c: Likewise.
54059 * elf/dl-load.c: Likewise.
54060 * elf/dl-open.c: Likewise.
54061 * elf/reldep3.c: Likewise.
54062 * elf/reldep.c: Likewise.
54063 * elf/sprof.c: Likewise.
54064 * iconv/iconv_charmap.c: Likewise.
54065 * iconv/skeleton.c: Likewise.
54066 * iconv/strtab.c: Likewise.
54067 * io/lockf64.c: Likewise.
54068 * libio/libioP.h: Likewise.
54069 * resolv/gai_notify.c: Likewise.
54070 * resolv/ns_name.c: Likewise.
54071 * resolv/ns_samedomain.c: Likewise.
54072 * resolv/res_send.c: Likewise.
54073 * stdlib/random.c: Likewise.
54074 * sunrpc/rpc/xdr.h: Likewise.
54075 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
54076 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54077 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54078 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54079 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54080 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54081 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54082 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54083 * sysdeps/mach/hurd/check_fds.c: Likewise.
54084 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
54085 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
54086 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54087 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
54088 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54089 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
54090 * sysdeps/pthread/aio_notify.c: Likewise.
54091 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
54092 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
54093 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
54094 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54095 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
54096
54097 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54098
54099 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
54100 version if bit_Slow_SSE4_2 is set.
54101 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54102 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54103
54104 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54105
54106 [BZ #15867]
54107 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
54108 trampoline stack frame information.
54109 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
54110 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
54111 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
54112 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
54113 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
54114 * sysdeps/unix/sysv/linux/powerpc/init-first.c
54115 (_libc_vdso_platform_setup): Initialize the signal trampolines.
54116 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
54117 sa_flags value.
54118 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
54119 interrupting a syscall and set with option SA_SIGINFO.
54120
54121 2013-08-20 Joseph Myers <joseph@codesourcery.com>
54122
54123 [BZ #15531]
54124 * math/s_cproj.c (__cproj): Only return an infinity if one part of
54125 argument is infinite.
54126 * math/s_cprojf.c (__cprojf): Likewise.
54127 * math/s_cprojl.c (__cprojl): Likewise.
54128 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
54129 * math/libm-test.inc (cproj_test_data): Add more tests.
54130
54131 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
54132
54133 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
54134 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
54135 size. Use __ffs to determine corresponding shift.
54136
54137 2013-08-20 Joseph Myers <joseph@codesourcery.com>
54138 Roland McGrath <roland@hack.frob.com>
54139
54140 * Makefile (INSTALL): Remove trailing blank lines from output of
54141 makeinfo.
54142
54143 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54144
54145 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
54146 Align 32 bit compat elf_greg to 8 bytes.
54147
54148 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
54149
54150 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
54151
54152 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
54153
54154 * string/strcoll_l.c (coll_seq): New structure.
54155 (get_next_seq_cached): New function.
54156 (get_next_seq): New function.
54157 (do_compare): New function.
54158 (STRCOLL): Use GNU style definition. Simplify implementation
54159 by using get_next_seq, get_next_seq_cached and do_compare.
54160
54161 2013-08-16 Florian Weimer <fweimer@redhat.com>
54162
54163 [BZ #14699]
54164 CVE-2013-4237
54165 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
54166 member.
54167 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
54168 member.
54169 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
54170 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
54171 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
54172 conditional.
54173 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
54174 GETDENTS_64BIT_ALIGNED.
54175 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
54176 * manual/filesys.texi (Reading/Closing Directory): Document
54177 ENAMETOOLONG return value of readdir_r. Recommend readdir more
54178 strongly.
54179 * manual/conf.texi (Limits for Files): Add portability note to
54180 NAME_MAX, PATH_MAX.
54181 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
54182
54183 2013-08-13 Andreas Schwab <schwab@suse.de>
54184
54185 [BZ #15749]
54186 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
54187 of fabs.
54188 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
54189 LDBL_MAX_EXP >= 16384]: Add tests for it.
54190
54191 2013-08-12 David S. Miller <davem@davemloft.net>
54192
54193 * version.h (RELEASE): Set to "development".
54194 (VERSION): Set to "2.18.90".
54195 * NEWS: Add 2.19 section.
54196
54197 2013-08-03 David S. Miller <davem@davemloft.net>
54198
54199 * po/ko.po: Update Korean translation from translation project.
54200
54201 2013-08-01 David S. Miller <davem@davemloft.net>
54202
54203 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
54204 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
54205 Bilka.
54206
54207 2013-07-30 David S. Miller <davem@davemloft.net>
54208
54209 * po/fr.po: Update French translation from translation project.
54210
54211 2013-07-28 David S. Miller <davem@davemloft.net>
54212
54213 * po/cs.po: Update Czech translation from translation project.
54214
54215 * po/sv.po: Update Swedish translation from translation project.
54216
54217 2013-07-27 David S. Miller <davem@davemloft.net>
54218
54219 * po/eo.po: Update Esperanto translation from translation project.
54220
54221 * po/vi.po: Update Vietnamese translation from translation project.
54222
54223 * po/de.po: Update German translation from translation project.
54224
54225 2013-07-26 David S. Miller <davem@davemloft.net>
54226
54227 * po/bg.po: Update Bulgarian translation from translation project.
54228
54229 * po/nl.po: Update Dutch translation from translation project.
54230 * po/pl.po: Update Polish translation from translation project.
54231 * po/ru.po: Update Russian translation from translation project.
54232
54233 2013-07-24 David S. Miller <davem@davemloft.net>
54234
54235 * po/libc.pot: Update.
54236
54237 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54238
54239 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
54240 variable page size.
54241 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
54242 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
54243 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
54244
54245 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54246
54247 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
54248
54249 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
54250 Andreas Schwab <schwab@suse.de>
54251 Roland McGrath <roland@hack.frob.com>
54252 Joseph Myers <joseph@codesourcery.com>
54253 Carlos O'Donell <carlos@redhat.com>
54254
54255 [BZ #15755]
54256 * config.h.in: Define HAVE_PT_CHOWN.
54257 * config.make.in (build-pt-chown): New variable.
54258 * configure.in (--enable-pt_chown): New configure option.
54259 * configure: Regenerate.
54260 * login/Makefile: Include Makeconfig. Build pt_chown only if
54261 build-pt-chown is enabled.
54262 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
54263 pt_chown to fix pty ownership.
54264 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
54265 CLOSE_ALL_FDS.
54266 * manual/install.texi (Configuring and compiling): Mention
54267 --enable-pt_chown. Add @findex for grantpt.
54268 * INSTALL: Regenerate.
54269
54270 2013-07-20 David S. Miller <davem@davemloft.net>
54271
54272 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
54273 difference between 32-bit and 64-bit.
54274
54275 2013-07-15 Carlos O'Donell <carlos@redhat.com>
54276
54277 [BZ #15711]
54278 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
54279 Avoid system header dependency with -ffreestanding.
54280 ($(objpfx)bits/syscall%d): Likewise.
54281
54282 2013-07-13 David S. Miller <davem@davemloft.net>
54283
54284 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
54285 underflows from atanl/atan2l due to bug 15319.
54286 (casinh_test_data): Likewise.
54287
54288 2013-07-07 David S. Miller <davem@davemloft.net>
54289
54290 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
54291
54292 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
54293
54294 * sysdeps/i386/fpu/libm-test-ulps: Update.
54295 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54296
54297 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
54298
54299 * configure.in (--enable-lock-elision): Fix message text.
54300 * INSTALL: Regenerate.
54301 * configure: Regenerate.
54302
54303 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54304
54305 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54306
54307 2013-07-03 Andreas Jaeger <aj@suse.de>
54308
54309 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
54310 define.
54311 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
54312 (ptrace_peeksiginfo_args): Add.
54313 (__ptrace_peeksiginfo_flags): Add.
54314 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54315 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54316 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54317
54318 2013-07-03 Allan McRae <allan@archlinux.org>
54319
54320 * sysdeps/i386/fpu/libm-test-ulps: Update.
54321
54322 2013-07-02 David S. Miller <davem@davemloft.net>
54323
54324 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54325
54326 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
54327
54328 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54329
54330 2013-07-02 Joseph Myers <joseph@codesourcery.com>
54331
54332 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
54333 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54334
54335 2013-07-02 Andi Kleen <ak@linux.intel.com>
54336
54337 * config.h.in (ENABLE_LOCK_ELISION): Add.
54338 * configure.in (--enable-lock-elision): Add option.
54339 * manual/install.texi: Document --enable lock elision.
54340 * configure: Regenerate
54341 * INSTALL: Regenerate.
54342
54343 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
54344
54345 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
54346 SSE4.2 strcasecmp for libc.a.
54347 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
54348
54349 2013-07-02 Joseph Myers <joseph@codesourcery.com>
54350
54351 [BZ #13304]
54352 * soft-fp/op-common.h (_FP_FMA): New macro.
54353 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
54354 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
54355 (_FP_MUL_MEAT_1_imm): ... here.
54356 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
54357 (_FP_MUL_MEAT_1_wide): ... here.
54358 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
54359 (_FP_MUL_MEAT_1_hard): ... here.
54360 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
54361 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
54362 (_FP_MUL_MEAT_2_wide): ... here.
54363 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
54364 (_FP_MUL_MEAT_2_wide_3mul): ... here.
54365 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
54366 (_FP_MUL_MEAT_2_gmp): ... here.
54367 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
54368 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
54369 (_FP_MUL_MEAT_4_wide): ... here.
54370 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
54371 (_FP_MUL_MEAT_4_gmp): ... here.
54372 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
54373 (_FP_WFRACBITS_DW_S): Likewise.
54374 (_FP_WFRACXBITS_DW_S): Likewise.
54375 (_FP_HIGHBIT_DW_S): Likewise.
54376 (FP_FMA_S): Likewise.
54377 (_FP_FRAC_HIGH_DW_S): Likewise.
54378 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
54379 (_FP_WFRACBITS_DW_D): Likewise.
54380 (_FP_WFRACXBITS_DW_D): Likewise.
54381 (_FP_HIGHBIT_DW_D): Likewise.
54382 (FP_FMA_D): Likewise.
54383 (_FP_FRAC_HIGH_DW_D): Likewise.
54384 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
54385 (_FP_WFRACBITS_DW_E): Likewise.
54386 (_FP_WFRACXBITS_DW_E): Likewise.
54387 (_FP_HIGHBIT_DW_E): Likewise.
54388 (FP_FMA_E): Likewise.
54389 (_FP_FRAC_HIGH_DW_E): Likewise.
54390 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
54391 (_FP_WFRACBITS_DW_Q): Likewise.
54392 (_FP_WFRACXBITS_DW_Q): Likewise.
54393 (_FP_HIGHBIT_DW_Q): Likewise.
54394 (FP_FMA_Q): Likewise.
54395 (_FP_FRAC_HIGH_DW_Q): Likewise.
54396 * soft-fp/fmasf4.c: New file.
54397 * soft-fp/fmadf4.c: Likewise.
54398 * soft-fp/fmatf4.c: Likewise.
54399
54400 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54401
54402 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54403 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
54404 Silvermont.
54405 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
54406 macro.
54407 (index_Slow_SSE4_2): Likewise.
54408 (index_Prefer_PMINUB_for_stringop): Likewise.
54409 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
54410 bit_Slow_SSE4_2 is set.
54411 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
54412 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54413
54414 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54415
54416 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
54417 rtld_global._dl_hwcap2.
54418 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
54419 POWER8.
54420 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
54421 POWER8 feature descriptions defined in _dl_hwcap2.
54422 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
54423 string handling for POWER8 feature bits.
54424 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
54425 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
54426 _dl_powerpc_cap_flags.
54427 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
54428 * sysdeps/powerpc/rtld-global-offsets.sym
54429 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
54430 _dl_hwcap2 in the rtld_global_ro structure.
54431
54432 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54433
54434 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
54435 hardware capabilities in support of AT_HWCAP2.
54436 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
54437 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
54438 GLRO(dl_hwcap2).
54439 (_dl_show_auxv): Add support for calling _dl_procinfo to display
54440 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
54441 explicitly the unknown a_type display mechanism is used.
54442 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
54443 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
54444 struct member.
54445 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
54446 to macro prototype for AT_HWCAP2 support.
54447 * sysdeps/i386/dl-procinfo.h: Likewise.
54448 * sysdeps/s390/dl-procinfo.h: Likewise.
54449 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
54450 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
54451 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
54452 return -1 for unknown a_type display fallback.
54453 * sysdeps/sparc/dl-procinfo.h: Likewise.
54454 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
54455 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
54456
54457 2013-06-28 Joseph Myers <joseph@codesourcery.com>
54458
54459 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
54460 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
54461
54462 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
54463
54464 [BZ #12492]
54465 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
54466 mprotect making __stack_prot writable.
54467
54468 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
54469 Joseph Myers <joseph@codesourcery.com>
54470
54471 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
54472 as being properly aligned.
54473
54474 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
54475
54476 * dlfcn/modstatic5.c: New file.
54477 * dlfcn/tststatic5.c: New file.
54478 * dlfcn/Makefile (tests): Add tststatic5.
54479 (tests-static): Likewise.
54480 (modules-names): Add modstatic5.
54481 (tststatic5-ENV): New variable.
54482 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
54483
54484 [BZ #15022]
54485 * elf/dl-support.c (_dl_main_map): New variable.
54486 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
54487 (_dl_nns, _dl_load_adds): Set to 1.
54488 (_dl_initial_searchlist): Refer to _dl_main_map.
54489 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
54490 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
54491 call to _dl_get_origin.
54492 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
54493 around call_map.
54494 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
54495 * dlfcn/modstatic3.c: New file.
54496 * dlfcn/tststatic3.c: New file.
54497 * dlfcn/tststatic4.c: New file.
54498 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
54499 (tests-static): Likewise.
54500 (modules-names): Add modstatic3.
54501 (tststatic3-ENV, tststatic4-ENV): New variables.
54502 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
54503 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
54504
54505 2013-06-26 Joseph Myers <joseph@codesourcery.com>
54506
54507 * configure.in (CC): Require GCC version 4.4 or later.
54508 * configure: Regenerated.
54509 * manual/install.texi (Tools for Compilation): Update GCC version
54510 requirement.
54511 * INSTALL: Regenerated.
54512
54513 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54514
54515 [BZ #15674]
54516 * string/test-memcmp.c (check2): New.
54517 (main): Call check2.
54518
54519 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
54520
54521 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
54522
54523 [BZ #15022]
54524 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
54525 over to...
54526 (dl_open_worker) [!SHARED]: ... here.
54527
54528 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54529
54530 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
54531
54532 2013-06-25 Richard Henderson <rth@redhat.com>
54533
54534 * locale/programs/locarchive.c: Include <libc-internal.h>
54535
54536 2013-06-25 Joseph Myers <joseph@codesourcery.com>
54537
54538 * manual/texinfo.tex: Update to version 2013-06-21.17, with
54539 trailing whitespace removed.
54540
54541 2013-06-24 Mike Frysinger <vapier@gentoo.org>
54542
54543 [BZ #10283]
54544 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
54545 * locale/programs/locarchive.c: Include libc-mmap.h.
54546 (prepare_address_space): Take two new outputs (the mmap base and len).
54547 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
54548 values.
54549 (create_archive): Declare new mmap base and len values for
54550 prepare_address_space, and store the result in ah.
54551 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
54552 (enlarge_archive): If ah->mmap_base is not NULL, use that and
54553 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54554 Declare new mmap base and len values for
54555 prepare_address_space, and store the result in new_ah.
54556 (open_archive): Declare new mmap base and len values for
54557 prepare_address_space, and store the result in ah.
54558 (close_archive): If ah->mmap_base is not NULL, use that and
54559 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54560 * sysdeps/generic/libc-mmap.h: New file.
54561
54562 2013-06-24 Mike Frysinger <vapier@gentoo.org>
54563
54564 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
54565 (ALIGN_UP): Likewise.
54566 (PTR_ALIGN_DOWN): Likewise.
54567 (PTR_ALIGN_UP): Likewise.
54568
54569 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54570
54571 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
54572 entry mapped to PPC_PLATFORM_POWER8.
54573 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
54574 POWER8.
54575 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
54576 (_dl_string_platform): Add case for exporting platform position for
54577 POWER8.
54578 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
54579 search path to sysdeps/powerpc/powerpc32/power8 directory.
54580 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
54581 search path to sysdeps/powerpc/powerpc64/power8 directory.
54582 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
54583 power7 directories.
54584 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
54585 power7 directories.
54586
54587 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
54588
54589 * INSTALL: Regenerate.
54590
54591 * nscd/connections.c (nscd_init): Fix comment.
54592
54593 2013-06-22 Joseph Myers <joseph@codesourcery.com>
54594
54595 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
54596
54597 [BZ #15667]
54598 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
54599 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
54600
54601 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
54602
54603 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
54604 DL_DST_REQ_STATIC.
54605 (DL_DST_REQ_STATIC): Remove macro.
54606
54607 2013-06-21 Joseph Myers <joseph@codesourcery.com>
54608
54609 [BZ #7006]
54610 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
54611 with a shift of 0 bits.
54612
54613 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
54614
54615 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
54616 $(tststatic-ENV).
54617
54618 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
54619
54620 [BZ #15655]
54621 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
54622
54623 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54624
54625 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
54626 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
54627 accepts -fno-tree-loop-distribute-patterns.
54628 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
54629 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
54630 recursive call.
54631 * string/memset.c (memset): Likewise.
54632 * string/test-memmove.c (simple_memmove): Disable loop transformation
54633 to library calls.
54634 * string/test-memset.c (simple_memset): Likewise.
54635 * benchtests/bench-memmove.c (simple_memmove): Likewise.
54636 * benchtests/bench-memset.c (simple_memset): Likewise.
54637 * configure: Regenerated.
54638
54639 2013-06-20 Joseph Myers <joseph@codesourcery.com>
54640
54641 * math/test-misc.c (main): Ignore fesetround failure when failures
54642 of subsequent rounding tests would be ignored.
54643
54644 [BZ #15654]
54645 * math/fedisblxcpt.c (fedisableexcept): Return 0.
54646 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
54647 * math/fegetenv.c (__fegetenv): Return 0.
54648 * math/fegetexcept.c (fegetexcept): Return 0.
54649 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
54650 FE_TONEAREST.
54651 * math/feholdexcpt.c (feholdexcept): Return 0.
54652 * math/fesetenv.c (__fesetenv): Return 0.
54653 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
54654 argument FE_TONEAREST.
54655 * math/feupdateenv.c (__feupdateenv): Return 0.
54656 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
54657
54658 2013-06-18 Roland McGrath <roland@hack.frob.com>
54659
54660 * elf/rtld-Rules (rtld-compile-command.S): New variable.
54661 (rtld-compile-command.s, rtld-compile-command.c): New variables.
54662 ($(objpfx)rtld-%.os rules): Use them.
54663
54664 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54665
54666 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
54667 fields.
54668
54669 2013-06-17 Roland McGrath <roland@hack.frob.com>
54670
54671 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
54672 length of target pattern, then descending length of dependency pattern.
54673 * configure.in (AWK): Require gawk 3.1.2 or newer.
54674 * manual/install.texi (Tools for Compilation): Say that we do.
54675 * configure: Regenerated.
54676
54677 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
54678 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
54679 * scripts/sysd-rules.awk: ... this new script.
54680 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
54681 than a glob-style pattern.
54682
54683 2013-06-17 Joseph Myers <joseph@codesourcery.com>
54684
54685 * math/test-misc.c (main): Do not treat incorrectly rounded
54686 conversions as failure unless ROUNDING_TESTS passes.
54687
54688 2013-06-15 Joseph Myers <joseph@codesourcery.com>
54689
54690 [BZ #15631]
54691 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
54692 restore exception state around main square root computation, then
54693 check for inexactness explicitly.
54694
54695 * math/libm-test.inc (fma_test_data): Add another test.
54696
54697 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
54698
54699 * manual/threads.texi (Non-POSIX Extensions): New document
54700 node. Document pthread_getattr_default_np and
54701 pthread_setattr_default_np.
54702
54703 * Versions.def (libpthread): Add GLIBC_2.18.
54704 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
54705 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54706 Likewise.
54707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54708 Likewise.
54709 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54710 Likewise.
54711 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54712 Likewise.
54713 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
54714 Likewise.
54715 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54716 Likewise.
54717 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54718 Likewise.
54719 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
54720 Likewise.
54721 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
54722 Likewise.
54723
54724 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54725
54726 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54727 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
54728
54729 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
54730 H.J. Lu <hjl.tools@gmail.com>
54731
54732 [BZ #15627]
54733 * sysdeps/x86_64/rtld-memset.c: Remove file.
54734 * sysdeps/x86_64/rtld-memset.S: New file.
54735
54736 2013-06-14 Joseph Myers <joseph@codesourcery.com>
54737
54738 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
54739 (test_in_one_mode): Take arguments for whether the rounding mode
54740 is supported for each floating-point type.
54741 (do_test): Pass new arguments to test_in_one_mode using
54742 ROUNDING_TESTS.
54743
54744 2013-06-13 Roland McGrath <roland@hack.frob.com>
54745
54746 * posix/tst-waitid.c (do_test): Distinguish different instances of
54747 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
54748 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
54749 before entering the kernel for waitpid.
54750
54751 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
54752
54753 * NEWS: Fix note on clock function precision. Text by Roland
54754 McGrath.
54755
54756 2013-06-13 Roland McGrath <roland@hack.frob.com>
54757
54758 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
54759 it into place only when and if the sanity check passes.
54760
54761 2013-06-13 Joseph Myers <joseph@codesourcery.com>
54762
54763 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
54764 output for whether conversion result is exact. Take argument
54765 indicating whether type is IBM long double.
54766 (round_for_all): Change need_exact field to ibm_ld.
54767 * stdlib/tst-strtod-round.c (struct exactness): New type.
54768 (struct test): Change bool ld_ok field to struct exactness exact.
54769 (TEST): Update all definitions for change to field.
54770 (tests): Regenerate array contents.
54771 (test_in_one_mode): Take pointer to new field instead of old ld_ok
54772 field value. Check for IBM long double here.
54773 (do_test): Update calls to test_in_one_mode.
54774
54775 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
54776
54777 [BZ #12515]
54778 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
54779 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
54780
54781 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54782
54783 [BZ #15605]
54784 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
54785 generated by the compiler on loop optimizations.
54786 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
54787 general definitions.
54788
54789 2013-06-12 Joseph Myers <joseph@codesourcery.com>
54790
54791 * math/bug-nextafter.c: Include <math-tests.h>.
54792 (main): Only test for exceptions if EXCEPTION_TESTS is true for
54793 the relevant type.
54794 * math/bug-nexttoward.c: Include <math-tests.h>.
54795 (main): Only test for exceptions if EXCEPTION_TESTS is true for
54796 the relevant type.
54797 * math/test-misc.c: Include <math-tests.h>.
54798 (main): Only test for exceptions if EXCEPTION_TESTS is true for
54799 the relevant type.
54800
54801 2013-06-12 Andreas Jaeger <aj@suse.de>
54802
54803 * po/ia.po: Update Interlingua translation from translation
54804 project.
54805
54806 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
54807
54808 * include/fenv.h: Include stdbool.h.
54809 (struct rm_ctx): New structure.
54810 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
54811 Define macro.
54812 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
54813 (SET_RESTORE_ROUNDF): Likewise.
54814 (SET_RESTORE_ROUNDL): Likewise.
54815 (SET_RESTORE_ROUND_NOEX): Likewise.
54816 (SET_RESTORE_ROUND_NOEXF): Likewise.
54817 (SET_RESTORE_ROUND_NOEXL): Likewise.
54818 (SET_RESTORE_ROUND_53BIT): Likewise.
54819 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
54820 (libc_feresetround_noexf_ctx): Likewise.
54821 (libc_feresetround_noexl_ctx): Likewise.
54822 (libc_feholdsetround_53bit_ctx): Likewise.
54823 (libc_feresetround_53bit_ctx): Likewise.
54824 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
54825 (libc_feholdexcept_setround_sse_ctx): New function.
54826 (libc_fesetenv_sse_ctx): Likewise.
54827 (libc_feupdateenv_sse_ctx): Likewise.
54828 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
54829 (libc_feholdexcept_setround_387_ctx): Likewise.
54830 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
54831 (libc_feholdsetround_387_prec_ctx): Likewise.
54832 (libc_feholdsetround_387_ctx): Likewise.
54833 (libc_feholdsetround_387_53bit_ctx): Likewise.
54834 (libc_feholdsetround_sse_ctx): Likewise.
54835 (libc_feresetround_sse_ctx): Likewise.
54836 (libc_feresetround_387_ctx): Likewise.
54837 (libc_feupdateenv_387_ctx): Likewise.
54838 (libc_feholdexcept_setroundf_ctx): Define macro.
54839 (libc_fesetenvf_ctx): Likewise.
54840 (libc_feupdateenvf_ctx): Likewise.
54841 (libc_feholdsetroundf_ctx): Likewise.
54842 (libc_feresetroundf_ctx): Likewise.
54843 (libc_feholdexcept_setround_ctx): Likewise.
54844 (libc_fesetenv_ctx): Likewise.
54845 (libc_feupdateenv_ctx): Likewise.
54846 (libc_feholdsetround_ctx): Likewise.
54847 (libc_feresetround_ctx): Likewise.
54848 (libc_feholdexcept_setroundl_ctx): Likewise.
54849 (libc_feupdateenvl_ctx): Likewise.
54850 (libc_feholdsetroundl_ctx): Likewise.
54851 (libc_feresetroundl_ctx): Likewise.
54852 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
54853 (libc_feresetround_53bit_ctx): Likewise.
54854
54855 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54856
54857 * locale/iso-639.def: Convert to UTF-8.
54858
54859 2013-06-11 Joseph Myers <joseph@codesourcery.com>
54860
54861 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
54862 (EXCEPTION_TESTS_double): Likewise.
54863 (EXCEPTION_TESTS_long_double): Likewise.
54864 (EXCEPTION_TESTS): Likewise.
54865 * math/libm-test.inc (test_exceptions): Only test exceptions if
54866 EXCEPTION_TESTS (FLOAT).
54867
54868 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54869
54870 * benchtests/Makefile (string-bench): Add strcpy_chk and
54871 stpcpy_chk.
54872 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
54873 * benchtests/bench-stpcpy_chk.c: New file.
54874 * benchtests/bench-strcpy_chk-ifunc.c: New file.
54875 * benchtests/bench-strcpy_chk.c: New file.
54876 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
54877 code.
54878 (do_test): Likewise.
54879
54880 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54881
54882 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
54883 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
54884 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
54885 with tabs where appropriate.
54886 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
54887 dl-procinfo.h.
54888 [PPC_PLATFORM_PPC440]: Likewise.
54889 [PPC_PLATFORM_PPC464]: Likewise.
54890 [PPC_PLATFORM_PPC476]: Likewise.
54891 (_dl_string_platform): Add support for detecting ppc405, ppc440,
54892 ppc464, and ppc476 platform strings merging from ports/
54893 dl-procinfo.h.
54894
54895 2013-06-11 Andreas Schwab <schwab@suse.de>
54896
54897 [BZ #14991]
54898 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
54899 (from_ucs4_idx): Regenerate.
54900 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
54901 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
54902 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
54903 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
54904 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
54905 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
54906 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
54907 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
54908 from FROM_LOOP and TO_LOOP specific macros.
54909 (BODY): Handle combining characters.
54910 * iconvdata/BIG5HKSCS.irreversible: Update.
54911 * iconvdata/BIG5HKSCS.precomposed: New file.
54912 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
54913 characters.
54914 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
54915
54916 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54917
54918 * include/sys/time.h: Fix indentation and add copyright header.
54919
54920 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
54921 (do_test): Likewise.
54922 * string/test-memchr.c (do_one_test): Likewise.
54923 (do_test): Likewise.
54924 * string/test-memcmp.c (do_one_test): Likewise.
54925 (do_test): Likewise.
54926 * string/test-memcpy.c (do_one_test): Likewise.
54927 (do_test): Likewise.
54928 * string/test-memmem.c (do_one_test): Likewise.
54929 (do_test): Likewise.
54930 (do_random_tests): Likewise.
54931 * string/test-memmove.c (do_one_test): Likewise.
54932 (do_test): Likewise.
54933 * string/test-memset.c (do_one_test): Likewise.
54934 (do_test): Likewise.
54935 * string/test-rawmemchr.c (do_one_test): Likewise.
54936 (do_test): Likewise.
54937 * string/test-strcasecmp.c (do_one_test): Likewise.
54938 (do_test): Likewise.
54939 * string/test-strcasestr.c (do_one_test): Likewise.
54940 (do_test): Likewise.
54941 * string/test-strcat.c (do_one_test): Likewise.
54942 (do_test): Likewise.
54943 * string/test-strchr.c (do_one_test): Likewise.
54944 (do_test): Likewise.
54945 * string/test-strcmp.c (do_one_test): Likewise.
54946 (do_test): Likewise.
54947 * string/test-strcpy.c (do_one_test): Likewise.
54948 (do_test): Likewise.
54949 * string/test-string.h: Likewise.
54950 (test_init): Likewise.
54951 * string/test-strlen.c (do_one_test): Likewise.
54952 (do_test): Likewise.
54953 * string/test-strncasecmp.c (do_one_test): Likewise.
54954 (do_test): Likewise.
54955 * string/test-strncat.c (do_one_test): Likewise.
54956 (do_test): Likewise.
54957 * string/test-strncmp.c (do_one_test): Likewise.
54958 (do_test_limit): Likewise.
54959 (do_test): Likewise.
54960 * string/test-strncpy.c (do_one_test): Likewise.
54961 (do_test): Likewise.
54962 * string/test-strnlen.c (do_one_test): Likewise.
54963 (do_test): Likewise.
54964 * string/test-strpbrk.c (do_one_test): Likewise.
54965 (do_test): Likewise.
54966 * string/test-strrchr.c (do_one_test): Likewise.
54967 (do_test): Likewise.
54968 * string/test-strspn.c (do_one_test): Likewise.
54969 (do_test): Likewise.
54970 * string/test-strstr.c (do_one_test): Likewise.
54971 (do_test): Likewise.
54972
54973 * benchtests/Makefile (string-bench): Add string benchmarks.
54974 * benchtests/bench-bcopy-ifunc.c: New file.
54975 * benchtests/bench-bcopy.c: New file.
54976 * benchtests/bench-bzero-ifunc.c: New file.
54977 * benchtests/bench-bzero.c: New file.
54978 * benchtests/bench-memccpy-ifunc.c: New file.
54979 * benchtests/bench-memccpy.c: New file.
54980 * benchtests/bench-memchr-ifunc.c: New file.
54981 * benchtests/bench-memchr.c: New file.
54982 * benchtests/bench-memcmp-ifunc.c: New file.
54983 * benchtests/bench-memcmp.c: New file.
54984 * benchtests/bench-memmem-ifunc.c: New file.
54985 * benchtests/bench-memmem.c: New file.
54986 * benchtests/bench-memmove-ifunc.c: New file.
54987 * benchtests/bench-memmove.c: New file.
54988 * benchtests/bench-mempcpy-ifunc.c: New file.
54989 * benchtests/bench-mempcpy.c: New file.
54990 * benchtests/bench-memset-ifunc.c: New file.
54991 * benchtests/bench-memset.c: New file.
54992 * benchtests/bench-rawmemchr-ifunc.c: New file.
54993 * benchtests/bench-rawmemchr.c: New file.
54994 * benchtests/bench-stpcpy-ifunc.c: New file.
54995 * benchtests/bench-stpcpy.c: New file.
54996 * benchtests/bench-stpncpy-ifunc.c: New file.
54997 * benchtests/bench-stpncpy.c: New file.
54998 * benchtests/bench-strcasecmp-ifunc.c: New file.
54999 * benchtests/bench-strcasecmp.c: New file.
55000 * benchtests/bench-strcasestr-ifunc.c: New file.
55001 * benchtests/bench-strcasestr.c: New file.
55002 * benchtests/bench-strcat-ifunc.c: New file.
55003 * benchtests/bench-strcat.c: New file.
55004 * benchtests/bench-strchr-ifunc.c: New file.
55005 * benchtests/bench-strchr.c: New file.
55006 * benchtests/bench-strchrnul-ifunc.c: New file.
55007 * benchtests/bench-strchrnul.c: New file.
55008 * benchtests/bench-strcmp-ifunc.c: New file.
55009 * benchtests/bench-strcmp.c: New file.
55010 * benchtests/bench-strcpy-ifunc.c: New file.
55011 * benchtests/bench-strcpy.c: New file.
55012 * benchtests/bench-strcspn-ifunc.c: New file.
55013 * benchtests/bench-strcspn.c: New file.
55014 * benchtests/bench-strlen-ifunc.c: New file.
55015 * benchtests/bench-strlen.c: New file.
55016 * benchtests/bench-strncasecmp-ifunc.c: New file.
55017 * benchtests/bench-strncasecmp.c: New file.
55018 * benchtests/bench-strncat-ifunc.c: New file.
55019 * benchtests/bench-strncat.c: New file.
55020 * benchtests/bench-strncmp-ifunc.c: New file.
55021 * benchtests/bench-strncmp.c: New file.
55022 * benchtests/bench-strncpy-ifunc.c: New file.
55023 * benchtests/bench-strncpy.c: New file.
55024 * benchtests/bench-strnlen-ifunc.c: New file.
55025 * benchtests/bench-strnlen.c: New file.
55026 * benchtests/bench-strpbrk-ifunc.c: New file.
55027 * benchtests/bench-strpbrk.c: New file.
55028 * benchtests/bench-strrchr-ifunc.c: New file.
55029 * benchtests/bench-strrchr.c: New file.
55030 * benchtests/bench-strspn-ifunc.c: New file.
55031 * benchtests/bench-strspn.c: New file.
55032 * benchtests/bench-strstr-ifunc.c: New file.
55033 * benchtests/bench-strstr.c: New file.
55034
55035 * benchtests/Makefile: Disable parallel execution of targets.
55036 (string-bench): Add memcpy.
55037 (benchset): New variable to store a list of benchmark sets.
55038 (bench-func): Renamed from bench.
55039 (bench-set): New target.
55040 (bench): Depend on bench-func and bench-set.
55041 * benchtests/README: Add section on benchmark sets.
55042 * benchtests/bench-memcpy-ifunc.c: New file.
55043 * benchtests/bench-memcpy.c: New file.
55044 * benchtests/bench-string.h: New file.
55045
55046 2013-06-11 Andreas Schwab <schwab@suse.de>
55047
55048 [BZ #15577]
55049 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
55050 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
55051 values in the triple.
55052 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
55053 terminator in the group key.
55054
55055 2013-06-11 Andreas Jaeger <aj@suse.de>
55056
55057 * po/zh_TW.po: Update Chinese (traditional) translation from
55058 translation project.
55059
55060 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
55061
55062 * include/time.h (__clock_gettime): Add libc_hidden_proto.
55063 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
55064 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
55065 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55066 (clock_getcpuclockid): Likewise.
55067 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
55068 Add weak_alias and libc_hidden_def.
55069 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
55070 * rt/clock_gettime.c (clock_gettime): Rename to
55071 __clock_gettime. Add weak_alias and libc_hidden_def.
55072 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
55073 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
55074 __clock_nanosleep. Add weak_alias and libc_hidden_def.
55075 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
55076 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
55077 Likewise.
55078 * rt/clock_settime.c (clock_settime): Rename to
55079 __clock_settime. Add weak_alias and libc_hidden_def.
55080 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
55081
55082 2013-06-10 Joseph Myers <joseph@codesourcery.com>
55083
55084 * mach/err_boot.sub: Remove trailing whitespace.
55085 * mach/err_ipc.sub: Likewise.
55086 * mach/err_mach.sub: Likewise.
55087
55088 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
55089 (ROUNDING_TESTS_double): Likewise.
55090 (ROUNDING_TESTS_long_double): Likewise.
55091 (ROUNDING_TESTS): Likewise.
55092 * math/libm-test.inc: Include <math-tests.h>.
55093 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
55094 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
55095 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
55096 (IF_ROUND_INIT_FE_UPWARD): Likewise.
55097
55098 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
55099
55100 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
55101 of assigning.
55102
55103 2013-06-08 Joseph Myers <joseph@codesourcery.com>
55104
55105 * sysdeps/gnu/errlist.awk: Do not generate space at end of
55106 otherwise empty TRANS lines.
55107 * sysdeps/gnu/errlist.c: Regenerated.
55108
55109 * catgets/gencat.c (error_print): Use (void) in function
55110 definition.
55111 * crypt/crypt_util.c (__init_des): Likewise.
55112 * crypt/speeds.c (Stop): Likewise.
55113 (main): Likewise.
55114 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
55115 * inet/ruserpass.c (token): Likewise.
55116 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
55117 * intl/localealias.c (extend_alias_table): Likewise.
55118 * intl/plural-exp.c (init_germanic_plural): Likewise.
55119 * libio/fcloseall.c (__fcloseall): Likewise.
55120 * libio/genops.c (_IO_flush_all): Likewise.
55121 (_IO_flush_all_linebuffered): Likewise.
55122 (_IO_cleanup): Likewise.
55123 (_IO_iter_begin): Likewise.
55124 (_IO_iter_end): Likewise.
55125 (_IO_list_lock): Likewise.
55126 (_IO_list_unlock): Likewise.
55127 (_IO_list_resetlock): Likewise.
55128 * libio/getchar.c (getchar): Likewise.
55129 * libio/getchar_u.c (getchar_unlocked): Likewise.
55130 * libio/getwchar.c (getwchar): Likewise.
55131 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
55132 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
55133 * login/getpt.c (__getpt): Likewise.
55134 * login/tst-utmp.c (main): Likewise.
55135 * malloc/hooks.c (__malloc_check_init): Likewise.
55136 * malloc/malloc.c (__malloc_stats): Likewise.
55137 * malloc/mtrace.c (tr_break): Likewise.
55138 (mtrace): Likewise.
55139 (muntrace): Likewise.
55140 * misc/fstab.c (endfsent): Likewise.
55141 * misc/getclktck.c (__getclktck): Likewise.
55142 * misc/getdtsz.c (__getdtablesize): Likewise.
55143 * misc/gethostid.c (gethostid): Likewise.
55144 * misc/getpagesize.c (__getpagesize): Likewise.
55145 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
55146 (__get_nprocs): Likewise.
55147 (__get_phys_pages): Likewise.
55148 (__get_avphys_pages): Likewise.
55149 * misc/getttyent.c (getttyent): Likewise.
55150 (setttyent): Likewise.
55151 (endttyent): Likewise.
55152 * misc/getusershell.c (getusershell): Likewise.
55153 (endusershell): Likewise.
55154 (setusershell): Likewise.
55155 (initshells): Likewise.
55156 * misc/hsearch.c (__hdestroy): Likewise.
55157 * misc/sync.c (sync): Likewise.
55158 * misc/syslog.c (closelog_internal): Likewise.
55159 (closelog): Likewise.
55160 * misc/ttyslot.c (ttyslot): Likewise.
55161 * misc/vhangup.c (vhangup): Likewise.
55162 * posix/fork.c (__fork): Likewise.
55163 * posix/getegid.c (__getegid): Likewise.
55164 * posix/geteuid.c (__geteuid): Likewise.
55165 * posix/getgid.c (__getgid): Likewise.
55166 * posix/getpid.c (__getpid): Likewise.
55167 * posix/getppid.c (__getppid): Likewise.
55168 * posix/getuid.c (__getuid): Likewise.
55169 * posix/pause.c (pause): Likewise.
55170 * posix/setpgrp.c (setpgrp): Likewise.
55171 * posix/setsid.c (__setsid): Likewise.
55172 * posix/test-vfork.c (noop): Likewise.
55173 * resolv/gethnamaddr.c (_endhtent): Likewise.
55174 (_gethtent): Likewise.
55175 (ht_endhostent): Likewise.
55176 (gethostent): Likewise.
55177 (dns_service): Likewise.
55178 * stdlib/drand48.c (drand48): Likewise.
55179 * stdlib/lrand48.c (lrand48): Likewise.
55180 * stdlib/mrand48.c (mrand48): Likewise.
55181 * stdlib/rand.c (rand): Likewise.
55182 * stdlib/random.c (__random): Likewise.
55183 * stdlib/setenv.c (clearenv): Likewise.
55184 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
55185 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
55186 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
55187 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
55188 (__get_nprocs): Likewise.
55189 (__get_phys_pages): Likewise.
55190 (__get_avphys_pages): Likewise.
55191 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
55192 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
55193 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
55194 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
55195 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
55196 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
55197 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
55198 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
55199 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
55200 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
55201 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
55202 * sysdeps/mach/hurd/sync.c (sync): Likewise.
55203 * sysdeps/posix/clock.c (clock): Likewise.
55204 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
55205 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
55206 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
55207 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
55208 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
55209 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
55210 (__get_nprocs_conf): Likewise.
55211 (__get_phys_pages): Likewise.
55212 (__get_avphys_pages): Likewise.
55213 * time/clock.c (clock): Likewise.
55214 * time/tzset.c (__tzname_max): Likewise.
55215
55216 2013-06-07 Joseph Myers <joseph@codesourcery.com>
55217
55218 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
55219 (__bswap_32): Do not use "register".
55220 * crypt/crypt.c (_ufc_doit_r): Likewise.
55221 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
55222 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
55223 * gmon/gmon.c (__monstartup): Likewise.
55224 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
55225 * hurd/hurdmalloc.c (more_memory): Likewise.
55226 (malloc): Likewise.
55227 (free): Likewise.
55228 (realloc): Likewise.
55229 (malloc_fork_prepare): Likewise.
55230 (malloc_fork_parent): Likewise.
55231 (malloc_fork_child): Likewise.
55232 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
55233 (_svcauth_des): Likewise.
55234 * inet/inet_lnaof.c (inet_lnaof): Likewise.
55235 * inet/inet_net.c (inet_network): Likewise.
55236 * inet/inet_netof.c (inet_netof): Likewise.
55237 * inet/rcmd.c (__validuser2_sa): Likewise.
55238 * io/fts.c (fts_open): Likewise.
55239 (fts_load): Likewise.
55240 (fts_close): Likewise.
55241 (fts_read): Likewise.
55242 (fts_children): Likewise.
55243 (fts_build): Likewise.
55244 (fts_stat): Likewise.
55245 (fts_sort): Likewise.
55246 (fts_alloc): Likewise.
55247 (fts_lfree): Likewise.
55248 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
55249 (_IO_file_xsgetn): Likewise.
55250 (_IO_file_xsgetn_mmap): Likewise.
55251 * libio/iofopncook.c (_IO_cookie_read): Likewise.
55252 (_IO_cookie_write): Likewise.
55253 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
55254 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
55255 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
55256 * malloc/obstack.c (_obstack_begin): Likewise.
55257 (_obstack_begin_1): Likewise.
55258 (_obstack_newchunk): Likewise.
55259 (_obstack_allocated_p): Likewise.
55260 (obstack_free): Likewise.
55261 (_obstack_memory_used): Likewise.
55262 * misc/getttyent.c (getttynam): Likewise.
55263 (getttyent): Likewise.
55264 (skip): Likewise.
55265 (value): Likewise.
55266 * misc/getusershell.c (initshells): Likewise.
55267 * misc/syslog.c (__vsyslog_chk): Likewise.
55268 * misc/ttyslot.c (ttyslot): Likewise.
55269 * nis/nis_hash.c (__nis_hash): Likewise.
55270 * posix/fnmatch_loop.c (FCT): Likewise.
55271 * posix/getconf.c (print_all): Likewise.
55272 (main): Likewise.
55273 * posix/getopt.c (exchange): Likewise.
55274 * posix/glob.c (globfree): Likewise.
55275 (prefix_array): Likewise.
55276 (__glob_pattern_type): Likewise.
55277 * resolv/arpa/nameser.h (NS_GET16): Likewise.
55278 (NS_GET32): Likewise.
55279 (NS_PUT16): Likewise.
55280 (NS_PUT32): Likewise.
55281 * resolv/gethnamaddr.c (getanswer): Likewise.
55282 (gethostbyname2): Likewise.
55283 (gethostbyaddr): Likewise.
55284 (_gethtent): Likewise.
55285 (_gethtbyname2): Likewise.
55286 (_gethtbyaddr): Likewise.
55287 * resolv/ns_print.c (dst_s_get_int16): Likewise.
55288 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
55289 * resolv/res_init.c (__res_vinit): Likewise.
55290 (net_mask): Likewise.
55291 * resolv/res_mkquery.c (outchar): Likewise.
55292 (PRINT): Likewise.
55293 * stdio-common/printf_fp.c (outchar): Likewise.
55294 (PRINT): Likewise.
55295 * stdio-common/printf_fphex.c (outchar): Likewise.
55296 (PRINT): Likewise.
55297 * stdio-common/printf_size.c (outchar): Likewise.
55298 (PRINT): Likewise.
55299 * stdio-common/test_rdwr.c (main): Likewise.
55300 * stdio-common/tfformat.c (matches): Likewise.
55301 * stdio-common/vfprintf.c (outchar): Likewise.
55302 (printf_unknown): Likewise.
55303 (buffered_vfprintf): Likewise.
55304 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
55305 * stdio-common/xbug.c (AppendToBuffer): Likewise.
55306 (ReadFile): Likewise.
55307 * stdlib/qsort.c (SWAP): Likewise.
55308 (_quicksort): Likewise.
55309 * stdlib/setenv.c (__add_to_environ): Likewise.
55310 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
55311 * stdlib/strtol_l.c (__strtol_l): Likewise.
55312 * stdlib/tst-strtod.c (main): Likewise.
55313 * stdlib/tst-strtol.c (main): Likewise.
55314 * stdlib/tst-strtoll.c (main): Likewise.
55315 * string/bits/string2.h (__strcmp_cc): Likewise.
55316 (__strcmp_cg): Likewise.
55317 (__strcspn_c1): Likewise.
55318 (__strcspn_c2): Likewise.
55319 (__strcspn_c3): Likewise.
55320 (__strspn_c1): Likewise.
55321 (__strspn_c2): Likewise.
55322 (__strspn_c3): Likewise.
55323 (__strsep_1c): Likewise.
55324 (__strsep_2c): Likewise.
55325 (__strsep_3c): Likewise.
55326 * string/memccpy.c (__memccpy): Likewise.
55327 * string/stpcpy.c (__stpcpy): Likewise.
55328 * string/strcmp.c (strcmp): Likewise.
55329 * string/strrchr.c (strrchr): Likewise.
55330 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
55331 Likewise.
55332 * sysdeps/mach/hurd/getcwd.c
55333 (_hurd_canonicalize_directory_name_internal): Likewise.
55334 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
55335 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
55336 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
55337 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
55338 Likewise, in both definitions.
55339 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
55340 definitions.
55341 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
55342 64] (__bswap_64): Likewise.
55343 * time/test_time.c (main): Likewise.
55344 * time/tzfile.c (__tzfile_read): Likewise.
55345 (__tzfile_compute): Likewise.
55346 * time/tzset.c (__tzset_parse_tz): Likewise.
55347 (tzset_internal): Likewise.
55348 (compute_change): Likewise.
55349 * wcsmbs/wcscat.c (__wcscat): Likewise.
55350 * wcsmbs/wcschr.c (wcschr): Likewise.
55351 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
55352 * wcsmbs/wcscspn.c (wcscspn): Likewise.
55353 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
55354 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
55355 * wcsmbs/wcsspn.c (wcsspn): Likewise.
55356 * wcsmbs/wcsstr.c (wcsstr): Likewise.
55357 * wcsmbs/wmemchr.c (wmemchr): Likewise.
55358 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55359 * wcsmbs/wmemset.c (wmemset): Likewise.
55360
55361 2013-06-06 Joseph Myers <joseph@codesourcery.com>
55362
55363 * scripts/config.guess: Update to version 2013-05-16.
55364 * scripts/config.sub: Update to version 2013-04-24.
55365 * scripts/install-sh: Update to version 2011-11-20.07.
55366 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
55367 * scripts/move-if-change: Update to version 2012-01-06 07:23.
55368
55369 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
55370
55371 * debug/fgetws_u_chk.c: Fix leading whitespaces.
55372 * elf/sln.c: Likewise.
55373 * hurd/hurd/ioctl.h: Likewise.
55374 * hurd/hurdmalloc.c: Likewise.
55375 * hurd/xattr.c: Likewise.
55376 * include/shlib-compat.h: Likewise.
55377 * inet/ruserpass.c: Likewise.
55378 * libio/iofgets_u.c: Likewise.
55379 * libio/iofgetws_u.c: Likewise.
55380 * locale/programs/ld-identification.c: Likewise.
55381 * locale/programs/ld-time.c: Likewise.
55382 * mach/msg-destroy.c: Likewise.
55383 * nss/nss_files/files-netgrp.c: Likewise.
55384 * resolv/res_data.c: Likewise.
55385 * soft-fp/op-1.h: Likewise.
55386 * soft-fp/op-2.h: Likewise.
55387 * soft-fp/op-4.h: Likewise.
55388 * soft-fp/op-common.h: Likewise.
55389 * stdio-common/printf_fphex.c: Likewise.
55390 * stdlib/strtod_l.c: Likewise.
55391 * sunrpc/rpc/clnt.h: Likewise.
55392 * sysdeps/generic/framestate.c: Likewise.
55393 * sysdeps/i386/bsd-_setjmp.S: Likewise.
55394 * sysdeps/i386/bsd-setjmp.S: Likewise.
55395 * sysdeps/i386/__longjmp.S: Likewise.
55396 * sysdeps/i386/setjmp.S: Likewise.
55397 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55398 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55399 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55400 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55401 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55402 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55403 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55404 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55405 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55406 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
55407 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55408 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55409 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55410 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55411 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55412 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55413 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55414 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
55415 * sysdeps/ieee754/support.c: Likewise.
55416 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55417 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
55418 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
55419 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
55420 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
55421 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
55422 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
55423 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
55424 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
55425 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
55426 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
55427 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
55428 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
55429 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
55430 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
55431 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
55432 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
55433 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
55434
55435 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
55436
55437 * posix/transbug.c: Remove executable mode.
55438
55439 2013-06-05 Joseph Myers <joseph@codesourcery.com>
55440
55441 * crypt/speeds.c: Remove trailing whitespace.
55442 * dlfcn/default.c: Likewise.
55443 * elf/ifuncdep2.c: Likewise.
55444 * elf/ifuncmain1.c: Likewise.
55445 * elf/ifuncmain1vis.c: Likewise.
55446 * elf/testobj.h: Likewise.
55447 * elf/tst-stackguard1.c: Likewise.
55448 * gmon/sys/gmon.h: Likewise.
55449 * hurd/hurdmsg.c: Likewise.
55450 * hurd/new-fd.c: Likewise.
55451 * hurd/ports-get.c: Likewise.
55452 * iconvdata/ibm1008_420.c: Likewise.
55453 * inet/tst-getni1.c: Likewise.
55454 * inet/tst-getni2.c: Likewise.
55455 * libio/ioungetc.c: Likewise.
55456 * libio/wfiledoalloc.c: Likewise.
55457 * manual/libm-err-tab.pl: Likewise.
55458 * math/w_dremf.c: Likewise.
55459 * misc/ftruncate.c: Likewise.
55460 * posix/bug-glob2.c: Likewise.
55461 * posix/tst-pcre.c: Likewise.
55462 * posix/wait4.c: Likewise.
55463 * resolv/README: Likewise.
55464 * resolv/res_debug.h: Likewise.
55465 * resolv/tst-inet_ntop.c: Likewise.
55466 * setjmp/bug269-setjmp.c: Likewise.
55467 * soft-fp/extended.h: Likewise.
55468 * soft-fp/op-1.h: Likewise.
55469 * soft-fp/op-2.h: Likewise.
55470 * soft-fp/op-4.h: Likewise.
55471 * soft-fp/op-8.h: Likewise.
55472 * soft-fp/testit.c: Likewise.
55473 * stdio-common/bug16.c: Likewise.
55474 * stdlib/random.c: Likewise.
55475 * sunrpc/rpcsvc/rquota.x: Likewise.
55476 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
55477 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55478 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55479 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55480 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55481 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55482 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55483 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55484 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55485 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55486 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55487 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55488 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55489 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55490 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55491 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55492 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55493 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55494 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55495 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55496 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55497 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55498 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
55499 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55500 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55501 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55502 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55503 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55504 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55505 * sysdeps/ieee754/s_lib_version.c: Likewise.
55506 * sysdeps/mach/hurd/check_fds.c: Likewise.
55507 * sysdeps/mach/hurd/getsockname.c: Likewise.
55508 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
55509 * sysdeps/mach/hurd/recvfrom.c: Likewise.
55510 * sysdeps/powerpc/bits/link.h: Likewise.
55511 * sysdeps/powerpc/dl-procinfo.c: Likewise.
55512 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
55513 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
55514 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
55515 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55516 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55517 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
55518 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55519 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
55520 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55521 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
55522 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
55523 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
55524 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55525 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55526 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55527 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
55528 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
55529 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55530 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55531 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55532 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
55533 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55534 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
55535 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
55536 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
55537 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
55538 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55539 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55540 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
55541 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
55542 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
55543 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55544 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
55545 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
55546 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55547 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
55548 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
55549 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
55550 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
55551 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
55552 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
55553 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
55554 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
55555 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
55556 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
55557 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
55558 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
55559 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
55560 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
55561 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55562 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55563 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55564 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55565 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
55566 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
55567 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
55568 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55569 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
55570 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
55571 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
55572 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
55573 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
55574 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55575 * sysdeps/powerpc/sysdep.h: Likewise.
55576 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55577 * sysdeps/s390/s390-64/sub_n.S: Likewise.
55578 * sysdeps/sh/dl-trampoline.S: Likewise.
55579 * sysdeps/sh/memset.S: Likewise.
55580 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
55581 * sysdeps/sh/strlen.S: Likewise.
55582 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
55583 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
55584 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
55585 * sysdeps/sparc/sparc32/rem.S: Likewise.
55586 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
55587 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
55588 * sysdeps/sparc/sparc32/strchr.S: Likewise.
55589 * sysdeps/sparc/sparc32/udiv.S: Likewise.
55590 * sysdeps/sparc/sparc32/urem.S: Likewise.
55591 * sysdeps/sparc/sparc64/add_n.S: Likewise.
55592 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55593 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
55594 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
55595 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
55596 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
55597 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
55598 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
55599 * sysdeps/unix/bsd/times.c: Likewise.
55600 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
55601 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
55602 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
55603 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
55604 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
55605 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
55606 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55607 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
55608 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
55609 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
55610 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
55611 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
55612 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
55613 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55614 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
55615 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
55616 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
55617 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
55618 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
55619 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
55620 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
55621 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
55622 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55623 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
55624 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
55625 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
55626 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
55627 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55628 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
55629 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
55630 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
55631 * sysdeps/x86_64/strcspn.S: Likewise.
55632
55633 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
55634
55635 * locale/C-translit.h: Revert #include <stdint.h> because this is a
55636 generated file. Regenerate properly from gen-translit.pl.
55637 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
55638 locale/C-translit.h.
55639
55640 2013-06-05 Andreas Schwab <schwab@suse.de>
55641
55642 [BZ #15100]
55643 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
55644 week as 6 instead of -1.
55645 * time/tst-strptime.c (day_tests): Add test case.
55646
55647 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
55648
55649 * sysdeps/generic/math_private.h
55650 (libc_feholdexcept_setround_53bit): Replace with
55651 libc_feholdsetround_53bit.
55652 (libc_feupdateenv_53bit): Replace with
55653 libc_feresetround_53bit.
55654 (SET_RESTORE_ROUND_53BIT): Adjust.
55655
55656 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
55657
55658 * string/test-strchrnul.c: Add copyright header.
55659
55660 * posix/tst-getaddrinfo4.c: Increase test timeout.
55661
55662 2013-06-03 Carlos O'Donell <carlos@redhat.com>
55663
55664 [BZ #15536]
55665 * math/libm-test.inc (MAX_EXP): Remove
55666 (MIN_EXP): Define.
55667 (ulp): Use MIN_EXP - MANT_DIG.
55668 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
55669
55670 2013-05-31 Carlos O'Donell <carlos@redhat.com>
55671
55672 * po/be.po: Revert last change.
55673 * po/zh_CN.po: Likewise.
55674 * po/header.pot: Likewise.
55675
55676 2013-05-31 Joseph Myers <joseph@codesourcery.com>
55677
55678 * Makefile ($(common-objpfx)linkobj/libc.so): Define
55679 link-libc-deps to empty as target-specific variable.
55680 * Makerules (link-libc-args): New variable.
55681 (libc-for-link): Likewise.
55682 (link-libc-deps): Likewise.
55683 (lib%.so): Depend on $(link-libc-deps). Link with
55684 $(link-libc-args).
55685 (build-module): Link with $(link-libc-args).
55686 (build-module-asneeded): Likewise.
55687 (build-module-helper-objlist): Filter out $(link-libc-deps) from
55688 list of objects.
55689 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
55690 target-specific variable.
55691 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
55692 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
55693 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
55694 libc.
55695 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
55696 libc and ld.so.
55697 ($(objpfx)libpcprofile.so): Likewise.
55698 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
55699 libc_nonshared.a.
55700 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
55701 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
55702 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
55703 $(link-libc-deps).
55704 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
55705 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
55706 * login/Makefile ($(objpfx)libutil.so): Likewise.
55707 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
55708 * math/Makefile ($(objpfx)libm.so): Likewise.
55709 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
55710 $(objpfx)libnsl.so): Define libc-for-link as target-specific
55711 variable instead of depending directly on libc.
55712 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
55713 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
55714 $(link-libc-deps).
55715 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
55716 libc.
55717 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
55718 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
55719 ($(objpfx)libanl.so): Likewise.
55720 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
55721 ld.so.
55722 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
55723 $(link-libc-deps).
55724 * sysdeps/i386/fpu/Makefile: Remove file.
55725 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
55726 ($(objpfx)libm.so): Remove dependency on ld.so.
55727
55728 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
55729
55730 [BZ # 15553]
55731 * nis/yp_xdr.c (XDRMAXNAME): Define.
55732 (XDRMAXRECORD): Define.
55733 (xdr_domainname): Use XDRMAXNAME.
55734 (xdr_mapname): Likewise.
55735 (xdr_peername): Likewise.
55736 (xdr_keydat): Use XDRMAXRECORD.
55737 (xdr_valdat): Likewise.
55738
55739 2013-05-30 Jeff Law <law@redhat.com>
55740
55741 [BZ #14256]
55742 * manual/errno.texi (ESTALE): Update to account for more than
55743 just NFS file systems.
55744 * sysdeps/gnu/errlist.c: Regenerated.
55745
55746 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
55747
55748 [BZ #15465]
55749 * elf/Makefile (tests): Add tst-null-argv.
55750 (modules-names): Add tst-null-argv-lib.
55751 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
55752 (tst-null-argv-ENV): Set environment for tst-null-argv.
55753 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
55754 (RTLD_PROGNAME): New macro.
55755 * elf/tst-null-argv.c: New test case.
55756 * elf/tst-null-argv-lib.c: Library for test case.
55757 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
55758 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
55759 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
55760 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
55761 * elf/dl-init.c (call_init): Likewise.
55762 (_dl_init): Likewise.
55763 * elf/dl-load.c (print_search_path): Likewise.
55764 (_dl_map_object): Likewise.
55765 * elf/dl-lookup.c (do_lookup_x): Likewise.
55766 (add_dependency): Likewise.
55767 (_dl_lookup_symbol_x): Likewise.
55768 (_dl_debug_bindings): Likewise.
55769 * elf/dl-open.c (_dl_show_scope): Likewise.
55770 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55771 * elf/dl-version.c (match_symbol): Likewise.
55772 (_dl_check_map_versions): Likewise.
55773 * elf/rtld.c (dl_main): Likewise.
55774 (print_unresolved): Use RTLD_PROGNAME.
55775 (print_missing_version): Likewise.
55776 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
55777 (elf_machine_rela): Likewise.
55778 * sysdeps/powerpc/powerpc32/dl-machine.c
55779 (__process_machine_rela): Likewise.
55780 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55781 Likewise.
55782 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55783 Likewise.
55784 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
55785 Likewise.
55786 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55787 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
55788 Likewise.
55789 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
55790 Likewise.
55791 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55792
55793 2013-05-28 Carlos O'Donell <carlos@redhat.com>
55794
55795 * po/be.po: Add descriptive title.
55796 * po/zh_CN.po: Likewise.
55797 * po/header.pot: Likewise.
55798
55799 2013-05-28 Mike Frysinger <vapier@gentoo.org>
55800
55801 * locale/programs/locarchive.c (create_archive): Inlucde fname in
55802 error message.
55803 (enlarge_archive): Likewise.
55804
55805 2013-05-28 Ben North <ben@redfrontdoor.org>
55806
55807 * manual/arith.texi (frexp): It is the magnitude of the return
55808 value which lies in [0.5, 1), not the return value itself.
55809
55810 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55811
55812 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55813
55814 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
55815
55816 * stdio-common/bug26.c (main): Correct fscanf template.
55817
55818 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
55819 declare _dl_skip_args.
55820
55821 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
55822 Don't declare.
55823
55824 * manual/platform.texi: Add missing @end deftypefun.
55825
55826 2013-05-24 Joseph Myers <joseph@codesourcery.com>
55827
55828 [BZ #15529]
55829 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
55830 bit of mantissa of 2^16382.
55831 * math/libm-test.inc (hypot_test_data): Add more tests.
55832
55833 * math/libm-test.inc: Add drem and pow10 to list of tested
55834 functions.
55835 (pow10_test): New function.
55836 (drem_test): Likewise.
55837 (drem_test_tonearest): Likewise.
55838 (drem_test_towardzero): Likewise.
55839 (drem_test_downward): Likewise.
55840 (drem_test_upward): Likewise.
55841 (main): Call the new functions.
55842
55843 * math/libm-test.inc (finite_test_data): Remove.
55844 (finite_test): Run tests from isfinite_test_data.
55845 (gamma_test_data): Remove.
55846 (gamma_test): Run tests from lgamma_test_data.
55847 * sysdeps/i386/fpu/libm-test-ulps: Update.
55848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55849
55850 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55851
55852 * manual/platform.texi: Add PowerPC PPR function set documentation.
55853 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
55854 implementation.
55855
55856 2013-05-24 Carlos O'Donell <carlos@redhat.com>
55857
55858 * math/libm-test.inc (MAX_EXP): Define.
55859 (ULPDIFF): Define.
55860 (ulp): New function.
55861 (check_float_internal): Use ULPDIFF.
55862 (cpow_test): Disable failing test.
55863 (check_ulp): Test ulp() implementation.
55864 (main): Call check_ulp before starting tests.
55865
55866 2013-05-24 Joseph Myers <joseph@codesourcery.com>
55867
55868 * math/gen-libm-test.pl (generate_testfile): Do not handle
55869 START_DATA and END_DATA.
55870 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
55871 END_DATA.
55872 (acos_tonearest_test_data): Likewise.
55873 (acos_towardzero_test_data): Likewise.
55874 (acos_downward_test_data): Likewise.
55875 (acos_upward_test_data): Likewise.
55876 (acosh_test_data): Likewise.
55877 (asin_test_data): Likewise.
55878 (asin_tonearest_test_data): Likewise.
55879 (asin_towardzero_test_data): Likewise.
55880 (asin_downward_test_data): Likewise.
55881 (asin_upward_test_data): Likewise.
55882 (asinh_test_data): Likewise.
55883 (atan_test_data): Likewise.
55884 (atanh_test_data): Likewise.
55885 (atan2_test_data): Likewise.
55886 (cabs_test_data): Likewise.
55887 (cacos_test_data): Likewise.
55888 (cacosh_test_data): Likewise.
55889 (carg_test_data): Likewise.
55890 (casin_test_data): Likewise.
55891 (casinh_test_data): Likewise.
55892 (catan_test_data): Likewise.
55893 (catanh_test_data): Likewise.
55894 (cbrt_test_data): Likewise.
55895 (ccos_test_data): Likewise.
55896 (ccosh_test_data): Likewise.
55897 (ceil_test_data): Likewise.
55898 (cexp_test_data): Likewise.
55899 (cimag_test_data): Likewise.
55900 (clog_test_data): Likewise.
55901 (clog10_test_data): Likewise.
55902 (conj_test_data): Likewise.
55903 (copysign_test_data): Likewise.
55904 (cos_test_data): Likewise.
55905 (cos_tonearest_test_data): Likewise.
55906 (cos_towardzero_test_data): Likewise.
55907 (cos_downward_test_data): Likewise.
55908 (cos_upward_test_data): Likewise.
55909 (cosh_test_data): Likewise.
55910 (cosh_tonearest_test_data): Likewise.
55911 (cosh_towardzero_test_data): Likewise.
55912 (cosh_downward_test_data): Likewise.
55913 (cosh_upward_test_data): Likewise.
55914 (cpow_test_data): Likewise.
55915 (cproj_test_data): Likewise.
55916 (creal_test_data): Likewise.
55917 (csin_test_data): Likewise.
55918 (csinh_test_data): Likewise.
55919 (csqrt_test_data): Likewise.
55920 (ctan_test_data): Likewise.
55921 (ctan_tonearest_test_data): Likewise.
55922 (ctan_towardzero_test_data): Likewise.
55923 (ctan_downward_test_data): Likewise.
55924 (ctan_upward_test_data): Likewise.
55925 (ctanh_test_data): Likewise.
55926 (ctanh_tonearest_test_data): Likewise.
55927 (ctanh_towardzero_test_data): Likewise.
55928 (ctanh_downward_test_data): Likewise.
55929 (ctanh_upward_test_data): Likewise.
55930 (erf_test_data): Likewise.
55931 (erfc_test_data): Likewise.
55932 (exp_test_data): Likewise.
55933 (exp_tonearest_test_data): Likewise.
55934 (exp_towardzero_test_data): Likewise.
55935 (exp_downward_test_data): Likewise.
55936 (exp_upward_test_data): Likewise.
55937 (exp10_test_data): Likewise.
55938 (exp2_test_data): Likewise.
55939 (expm1_test_data): Likewise.
55940 (fabs_test_data): Likewise.
55941 (fdim_test_data): Likewise.
55942 (finite_test_data): Likewise.
55943 (floor_test_data): Likewise.
55944 (fma_test_data): Likewise.
55945 (fma_towardzero_test_data): Likewise.
55946 (fma_downward_test_data): Likewise.
55947 (fma_upward_test_data): Likewise.
55948 (fmax_test_data): Likewise.
55949 (fmin_test_data): Likewise.
55950 (fmod_test_data): Likewise.
55951 (fpclassify_test_data): Likewise.
55952 (frexp_test_data): Likewise.
55953 (gamma_test_data): Likewise.
55954 (hypot_test_data): Likewise.
55955 (ilogb_test_data): Likewise.
55956 (isfinite_test_data): Likewise.
55957 (isgreater_test_data): Likewise.
55958 (isgreaterequal_test_data): Likewise.
55959 (isinf_test_data): Likewise.
55960 (isless_test_data): Likewise.
55961 (islessequal_test_data): Likewise.
55962 (islessgreater_test_data): Likewise.
55963 (isnan_test_data): Likewise.
55964 (isnormal_test_data): Likewise.
55965 (issignaling_test_data): Likewise.
55966 (isunordered_test_data): Likewise.
55967 (j0_test_data): Likewise.
55968 (j1_test_data): Likewise.
55969 (jn_test_data): Likewise.
55970 (ldexp_test_data): Likewise.
55971 (lgamma_test_data): Likewise.
55972 (lrint_test_data): Likewise.
55973 (lrint_tonearest_test_data): Likewise.
55974 (lrint_towardzero_test_data): Likewise.
55975 (lrint_downward_test_data): Likewise.
55976 (lrint_upward_test_data): Likewise.
55977 (llrint_test_data): Likewise.
55978 (llrint_tonearest_test_data): Likewise.
55979 (llrint_towardzero_test_data): Likewise.
55980 (llrint_downward_test_data): Likewise.
55981 (llrint_upward_test_data): Likewise.
55982 (log_test_data): Likewise.
55983 (log10_test_data): Likewise.
55984 (log1p_test_data): Likewise.
55985 (log2_test_data): Likewise.
55986 (logb_test_data): Likewise.
55987 (logb_downward_test_data): Likewise.
55988 (lround_test_data): Likewise.
55989 (llround_test_data): Likewise.
55990 (modf_test_data): Likewise.
55991 (nearbyint_test_data): Likewise.
55992 (nextafter_test_data): Likewise.
55993 (nexttoward_test_data): Likewise.
55994 (pow_test_data): Likewise.
55995 (pow_tonearest_test_data): Likewise.
55996 (pow_towardzero_test_data): Likewise.
55997 (pow_downward_test_data): Likewise.
55998 (pow_upward_test_data): Likewise.
55999 (remainder_test_data): Likewise.
56000 (remainder_tonearest_test_data): Likewise.
56001 (remainder_towardzero_test_data): Likewise.
56002 (remainder_downward_test_data): Likewise.
56003 (remainder_upward_test_data): Likewise.
56004 (remquo_test_data): Likewise.
56005 (rint_test_data): Likewise.
56006 (rint_tonearest_test_data): Likewise.
56007 (rint_towardzero_test_data): Likewise.
56008 (rint_downward_test_data): Likewise.
56009 (rint_upward_test_data): Likewise.
56010 (round_test_data): Likewise.
56011 (scalb_test_data): Likewise.
56012 (scalbn_test_data): Likewise.
56013 (scalbln_test_data): Likewise.
56014 (signbit_test_data): Likewise.
56015 (sin_test_data): Likewise.
56016 (sin_tonearest_test_data): Likewise.
56017 (sin_towardzero_test_data): Likewise.
56018 (sin_downward_test_data): Likewise.
56019 (sin_upward_test_data): Likewise.
56020 (sincos_test_data): Likewise.
56021 (sinh_test_data): Likewise.
56022 (sinh_tonearest_test_data): Likewise.
56023 (sinh_towardzero_test_data): Likewise.
56024 (sinh_downward_test_data): Likewise.
56025 (sinh_upward_test_data): Likewise.
56026 (sqrt_test_data): Likewise.
56027 (tan_test_data): Likewise.
56028 (tan_tonearest_test_data): Likewise.
56029 (tan_towardzero_test_data): Likewise.
56030 (tan_downward_test_data): Likewise.
56031 (tan_upward_test_data): Likewise.
56032 (tanh_test_data): Likewise.
56033 (tgamma_test_data): Likewise.
56034 (trunc_test_data): Likewise.
56035 (y0_test_data): Likewise.
56036 (y1_test_data): Likewise.
56037 (yn_test_data): Likewise.
56038 (significand_test_data): Likewise.
56039
56040 * math/gen-libm-test.pl (@functions): Remove variable.
56041 (generate_testfile): Don't handle START and END lines.
56042 * math/libm-test.inc (START): New macro.
56043 (END): Likewise.
56044 (END_COMPLEX): Likewise.
56045 (acos_test): Use END macro without arguments.
56046 (acos_test_tonearest): Likewise.
56047 (acos_test_towardzero): Likewise.
56048 (acos_test_downward): Likewise.
56049 (acos_test_upward): Likewise.
56050 (acosh_test): Likewise.
56051 (asin_test): Likewise.
56052 (asin_test_tonearest): Likewise.
56053 (asin_test_towardzero): Likewise.
56054 (asin_test_downward): Likewise.
56055 (asin_test_upward): Likewise.
56056 (asinh_test): Likewise.
56057 (atan_test): Likewise.
56058 (atanh_test): Likewise.
56059 (atan2_test): Likewise.
56060 (cabs_test): Likewise.
56061 (cacos_test): Use END_COMPLEX macro without arguments.
56062 (cacosh_test): Likewise.
56063 (carg_test): Use END macro without arguments.
56064 (casin_test): Use END_COMPLEX macro without arguments.
56065 (casinh_test): Likewise.
56066 (catan_test): Likewise.
56067 (catanh_test): Likewise.
56068 (cbrt_test): Use END macro without arguments.
56069 (ccos_test): Use END_COMPLEX macro without arguments.
56070 (ccosh_test): Likewise.
56071 (ceil_test): Use END macro without arguments.
56072 (cexp_test): Use END_COMPLEX macro without arguments.
56073 (cimag_test): Use END macro without arguments.
56074 (clog_test): Use END_COMPLEX macro without arguments.
56075 (clog10_test): Likewise.
56076 (conj_test): Likewise.
56077 (copysign_test): Use END macro without arguments.
56078 (cos_test): Likewise.
56079 (cos_test_tonearest): Likewise.
56080 (cos_test_towardzero): Likewise.
56081 (cos_test_downward): Likewise.
56082 (cos_test_upward): Likewise.
56083 (cosh_test): Likewise.
56084 (cosh_test_tonearest): Likewise.
56085 (cosh_test_towardzero): Likewise.
56086 (cosh_test_downward): Likewise.
56087 (cosh_test_upward): Likewise.
56088 (cpow_test): Use END_COMPLEX macro without arguments.
56089 (cproj_test): Likewise.
56090 (creal_test): Use END macro without arguments.
56091 (csin_test): Use END_COMPLEX macro without arguments.
56092 (csinh_test): Likewise.
56093 (csqrt_test): Likewise.
56094 (ctan_test): Likewise.
56095 (ctan_test_tonearest): Likewise.
56096 (ctan_test_towardzero): Likewise.
56097 (ctan_test_downward): Likewise.
56098 (ctan_test_upward): Likewise.
56099 (ctanh_test): Likewise.
56100 (ctanh_test_tonearest): Likewise.
56101 (ctanh_test_towardzero): Likewise.
56102 (ctanh_test_downward): Likewise.
56103 (ctanh_test_upward): Likewise.
56104 (erf_test): Use END macro without arguments.
56105 (erfc_test): Likewise.
56106 (exp_test): Likewise.
56107 (exp_test_tonearest): Likewise.
56108 (exp_test_towardzero): Likewise.
56109 (exp_test_downward): Likewise.
56110 (exp_test_upward): Likewise.
56111 (exp10_test): Likewise.
56112 (exp2_test): Likewise.
56113 (expm1_test): Likewise.
56114 (fabs_test): Likewise.
56115 (fdim_test): Likewise.
56116 (finite_test): Likewise.
56117 (floor_test): Likewise.
56118 (fma_test): Likewise.
56119 (fma_test_towardzero): Likewise.
56120 (fma_test_downward): Likewise.
56121 (fma_test_upward): Likewise.
56122 (fmax_test): Likewise.
56123 (fmin_test): Likewise.
56124 (fmod_test): Likewise.
56125 (fpclassify_test): Likewise.
56126 (frexp_test): Likewise.
56127 (gamma_test): Likewise.
56128 (hypot_test): Likewise.
56129 (ilogb_test): Likewise.
56130 (isfinite_test): Likewise.
56131 (isgreater_test): Likewise.
56132 (isgreaterequal_test): Likewise.
56133 (isinf_test): Likewise.
56134 (isless_test): Likewise.
56135 (islessequal_test): Likewise.
56136 (islessgreater_test): Likewise.
56137 (isnan_test): Likewise.
56138 (isnormal_test): Likewise.
56139 (issignaling_test): Likewise.
56140 (isunordered_test): Likewise.
56141 (j0_test): Likewise.
56142 (j1_test): Likewise.
56143 (jn_test): Likewise.
56144 (ldexp_test): Likewise.
56145 (lgamma_test): Likewise.
56146 (lrint_test): Likewise.
56147 (lrint_test_tonearest): Likewise.
56148 (lrint_test_towardzero): Likewise.
56149 (lrint_test_downward): Likewise.
56150 (lrint_test_upward): Likewise.
56151 (llrint_test): Likewise.
56152 (llrint_test_tonearest): Likewise.
56153 (llrint_test_towardzero): Likewise.
56154 (llrint_test_downward): Likewise.
56155 (llrint_test_upward): Likewise.
56156 (log_test): Likewise.
56157 (log10_test): Likewise.
56158 (log1p_test): Likewise.
56159 (log2_test): Likewise.
56160 (logb_test): Likewise.
56161 (logb_test_downward): Likewise.
56162 (lround_test): Likewise.
56163 (llround_test): Likewise.
56164 (modf_test): Likewise.
56165 (nearbyint_test): Likewise.
56166 (nextafter_test): Likewise.
56167 (nexttoward_test): Likewise.
56168 (pow_test): Likewise.
56169 (pow_test_tonearest): Likewise.
56170 (pow_test_towardzero): Likewise.
56171 (pow_test_downward): Likewise.
56172 (pow_test_upward): Likewise.
56173 (remainder_test): Likewise.
56174 (remainder_test_tonearest): Likewise.
56175 (remainder_test_towardzero): Likewise.
56176 (remainder_test_downward): Likewise.
56177 (remainder_test_upward): Likewise.
56178 (remquo_test): Likewise.
56179 (rint_test): Likewise.
56180 (rint_test_tonearest): Likewise.
56181 (rint_test_towardzero): Likewise.
56182 (rint_test_downward): Likewise.
56183 (rint_test_upward): Likewise.
56184 (round_test): Likewise.
56185 (scalb_test): Likewise.
56186 (scalbn_test): Likewise.
56187 (scalbln_test): Likewise.
56188 (signbit_test): Likewise.
56189 (sin_test): Likewise.
56190 (sin_test_tonearest): Likewise.
56191 (sin_test_towardzero): Likewise.
56192 (sin_test_downward): Likewise.
56193 (sin_test_upward): Likewise.
56194 (sincos_test): Likewise.
56195 (sinh_test): Likewise.
56196 (sinh_test_tonearest): Likewise.
56197 (sinh_test_towardzero): Likewise.
56198 (sinh_test_downward): Likewise.
56199 (sinh_test_upward): Likewise.
56200 (sqrt_test): Likewise.
56201 (tan_test): Likewise.
56202 (tan_test_tonearest): Likewise.
56203 (tan_test_towardzero): Likewise.
56204 (tan_test_downward): Likewise.
56205 (tan_test_upward): Likewise.
56206 (tanh_test): Likewise.
56207 (tgamma_test): Likewise.
56208 (trunc_test): Likewise.
56209 (y0_test): Likewise.
56210 (y1_test): Likewise.
56211 (yn_test): Likewise.
56212 (significand_test): Likewise.
56213
56214 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
56215
56216 [BZ #15381]
56217 * libio/genops.c (_IO_no_init): Initialize wide struct info.
56218
56219 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
56220
56221 [BZ #14894]
56222 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
56223 __ppc_mdoio and __ppc_mdoom.
56224 * manual/platform.texi: Document new functions __ppc_yield,
56225 __ppc_mdoio and __ppc_mdoom.
56226
56227 2013-05-22 Carlos O'Donell <carlos@redhat.com>
56228
56229 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
56230 (main): Mention "tls" pseudo-hwcap is legacy.
56231 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
56232
56233 2013-05-22 Joseph Myers <joseph@codesourcery.com>
56234
56235 * math/gen-libm-test.pl (parse_args): Output only string of
56236 arguments as text for test name, not full call or descriptions of
56237 tests for extra outputs.
56238 (generate_testfile): Do not pass function name to parse_args.
56239 Generate this_func variable from START.
56240 * math/libm-test.inc (struct test_f_f_data): Rename test_name
56241 field to arg_str.
56242 (struct test_ff_f_data): Likewise.
56243 (test_ff_f_data_nexttoward): Likewise.
56244 (struct test_fi_f_data): Likewise.
56245 (struct test_fl_f_data): Likewise.
56246 (struct test_if_f_data): Likewise.
56247 (struct test_fff_f_data): Likewise.
56248 (struct test_c_f_data): Likewise.
56249 (struct test_f_f1_data): Likewise. Remove field extra_name.
56250 (struct test_fF_f1_data): Likewise.
56251 (struct test_ffI_f1_data): Likewise.
56252 (struct test_c_c_data): Rename test_name field to arg_str.
56253 (struct test_cc_c_data): Likewise.
56254 (struct test_f_i_data): Likewise.
56255 (struct test_ff_i_data): Likewise.
56256 (struct test_f_l_data): Likewise.
56257 (struct test_f_L_data): Likewise.
56258 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
56259 and extra2_name.
56260 (COMMON_TEST_SETUP): New macro.
56261 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
56262 (COMMON_TEST_CLEANUP): Likewise.
56263 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
56264 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
56265 macros.
56266 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
56267 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
56268 macros.
56269 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
56270 (RUN_TEST_fff_f): Take argument string. Call new setup and
56271 cleanup macros.
56272 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
56273 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
56274 macros.
56275 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
56276 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
56277 macros.
56278 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
56279 (RUN_TEST_fF_f1): Take argument string. Call new setup and
56280 cleanup macros.
56281 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
56282 (RUN_TEST_fI_f1): Take argument string. Call new setup and
56283 cleanup macros.
56284 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
56285 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
56286 cleanup macros.
56287 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
56288 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
56289 macros.
56290 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
56291 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
56292 macros.
56293 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
56294 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
56295 macros.
56296 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
56297 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
56298 cleanup macros.
56299 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
56300 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
56301 cleanup macros.
56302 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
56303 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
56304 macros.
56305 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
56306 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
56307 cleanup macros.
56308 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
56309 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
56310 macros.
56311 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
56312 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
56313 macros.
56314 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
56315 (RUN_TEST_fFF_11): Take argument string. Call new setup and
56316 cleanup macros.
56317 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
56318
56319 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
56320
56321 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
56322 to _sifields.sigfault.
56323 (si_addr_lsb): Define new macro.
56324 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56325 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56326 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
56327
56328 2013-05-03 Carlos O'Donell <carlos at redhat.com>
56329
56330 [BZ #15441]
56331 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
56332 returns -1.
56333 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
56334 null return -1.
56335 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
56336 loading the domain.
56337
56338 2013-05-22 Joseph Myers <joseph@codesourcery.com>
56339
56340 * math/gen-libm-test.pl (parse_args): Do not include expected
56341 result in test name.
56342 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
56343 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56344 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56345 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56346 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56347 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56348
56349 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
56350
56351 * benchtests/Makefile: Sort function entries.
56352
56353 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
56354 tanh, asinh, acosh, atanh.
56355 * benchtests/acos-inputs: New file.
56356 * benchtests/acosh-inputs: New file.
56357 * benchtests/asin-inputs: New file.
56358 * benchtests/asinh-inputs: New file.
56359 * benchtests/atanh-inputs: New file.
56360 * benchtests/cosh-inputs: New file.
56361 * benchtests/log-inputs: New file.
56362 * benchtests/sinh-inputs: New file.
56363 * benchtests/tanh-inputs: New file.
56364
56365 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
56366
56367 [BZ #15339]
56368 * posix/tst-getaddrinfo4.c: New test.
56369 * posix/Makefile (tests): Add it.
56370
56371 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56372
56373 [BZ #15339]
56374 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
56375 when no services were used.
56376 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
56377 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
56378
56379 2013-05-21 Andreas Schwab <schwab@suse.de>
56380
56381 [BZ #15014]
56382 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
56383 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
56384 successful.
56385 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
56386 redundant variable declarations and reallocation of buffer when
56387 parsing as IPv6 address. Always set NSS status when called from
56388 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
56389 buffer too small. Correct computation of needed size.
56390 * nss/Makefile (tests): Add test-digits-dots.
56391 * nss/test-digits-dots.c: New test.
56392
56393 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56394
56395 * benchtests/Makefile: Remove instructions for adding
56396 benchmark tests.
56397 * benchtests/README: New file to explain how to execute and
56398 enhance the benchmark tests.
56399
56400 2013-05-21 Andreas Schwab <schwab@suse.de>
56401
56402 [BZ #15493]
56403 * setjmp/Makefile (tests): Add tst-sigsetjmp.
56404 * setjmp/tst-sigsetjmp.c: New test.
56405
56406 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
56407
56408 * sysdeps/x86_64/memset.S (memset): New implementation.
56409 (__bzero): Likewise.
56410 (__memset_tail): New function.
56411
56412 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
56413
56414 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
56415 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
56416 __memcpy_sse2_unaligned ifunc selection.
56417 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56418 Add memcpy-sse2-unaligned.S.
56419 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56420 Add: __memcpy_sse2_unaligned.
56421
56422 2013-05-19 Joseph Myers <joseph@codesourcery.com>
56423
56424 [BZ #15490]
56425 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56426 math_force_eval before restoring floating-point envrionment.
56427 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
56428 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
56429 Likewise.
56430 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
56431 <math_private.h>.
56432 (__nearbyintl): Use math_force_eval before restoring
56433 floating-point environment.
56434 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
56435
56436 * math/gen-libm-test.pl (special_functions): Remove.
56437 (parse_args): Don't handle TEST_extra. Handle functions with no
56438 return value.
56439 * math/libm-test.inc (struct test_sincos_data): Replace with
56440 struct test_fFF_11_data.
56441 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
56442 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
56443 (sincos_test_data): Change element type to struct
56444 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
56445 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
56446 RUN_TEST_LOOP_sincos.
56447 * math/README.libm-test: Don't mention special handling of
56448 individual functions.
56449 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
56450 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56451 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56452 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56453 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56454 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56455
56456 * math/gen-libm-test.pl (get_variable): Remove function.
56457 (parse_args): Don't show pointer parameters to call in test
56458 names. Use "extra output N" in test names for extra outputs
56459 rather than naming variables.
56460
56461 2013-05-18 Joseph Myers <joseph@codesourcery.com>
56462
56463 [BZ #15488]
56464 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
56465 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
56466 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
56467 double tests.
56468 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
56469 disable.
56470 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
56471 check_long_double.
56472
56473 * math/gen-libm-test.pl (@tests): Remove variable.
56474 ($count): Likewise.
56475 (new_test): Remove function.
56476 (show_exceptions): New function.
56477 (special_functions): Use show_exceptions instead of new_test.
56478 (parse_args): Likewise.
56479 (generate_testfile): Pass only function name in generated call to
56480 print_max_error or print_complex_max_error.
56481 (get_ulps): Do not handle complex tests specially.
56482 (output_test): Rename to ...
56483 (get_all_ulps_for_test): ... this. Return a string rather than
56484 printing to a file. Require ulps to be present.
56485 (output_ulps): Generate arrays rather than #defines.
56486 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
56487 (struct ulp_data): New type.
56488 (BUILD_COMPLEX_ULP): Remove macro.
56489 (compare_ulp_data): New function.
56490 (find_ulps): Likewise.
56491 (find_test_ulps): Likewise.
56492 (find_function_ulps): Likewise.
56493 (find_complex_function_ulps): Likewise.
56494 (print_max_error): Determine allowed ulps using
56495 find_function_ulps.
56496 (print_complex_max_error): Determine allowed ulps using
56497 find_complex_function_ulps.
56498 (check_float_internal): Determine max ulps using find_test_ulps.
56499 (check_float): Do not take max_ulp parameter. Update call to
56500 check_float_internal.
56501 (check_complex): Likewise.
56502 (check_int): Do not take max_ulp parameter.
56503 (check_long): Likewise.
56504 (check_bool): Likewise.
56505 (check_longlong): Likewise.
56506 (struct test_f_f_data): Remove max_ulp field.
56507 (struct test_ff_f_data): Likewise.
56508 (struct test_ff_f_data_nexttoward): Likewise.
56509 (struct test_fi_f_data): Likewise.
56510 (struct test_fl_f_data): Likewise.
56511 (struct test_if_f_data): Likewise.
56512 (struct test_fff_f_data): Likewise.
56513 (struct test_c_f_data): Likewise.
56514 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
56515 (struct test_fF_f1_data): Likewise.
56516 (struct test_ffI_f1_data): Likewise.
56517 (struct test_c_c_data): Remove max_ulp field.
56518 (struct test_cc_c_data): Likewise.
56519 (struct test_f_i_data): Likewise.
56520 (struct test_ff_i_data): Likewise.
56521 (struct test_f_l_data): Likewise.
56522 (struct test_f_L_data): Likewise.
56523 (struct test_sincos_data): Likewise.
56524 (RUN_TEST_f_f): Do not handle ulps.
56525 (RUN_TEST_LOOP_f_f): Likewise.
56526 (RUN_TEST_2_f): Likewise.
56527 (RUN_TEST_LOOP_2_f): Likewise.
56528 (RUN_TEST_fff_f): Likewise.
56529 (RUN_TEST_LOOP_fff_f): Likewise.
56530 (RUN_TEST_c_f): Likewise.
56531 (RUN_TEST_LOOP_c_f): Likewise.
56532 (RUN_TEST_f_f1): Likewise.
56533 (RUN_TEST_LOOP_f_f1): Likewise.
56534 (RUN_TEST_fF_f1): Likewise.
56535 (RUN_TEST_LOOP_fF_f1): Likewise.
56536 (RUN_TEST_fI_f1): Likewise.
56537 (RUN_TEST_LOOP_fI_f1): Likewise.
56538 (RUN_TEST_ffI_f1): Likewise.
56539 (RUN_TEST_LOOP_ffI_f1): Likewise.
56540 (RUN_TEST_c_c): Likewise.
56541 (RUN_TEST_LOOP_c_c): Likewise.
56542 (RUN_TEST_cc_c): Likewise.
56543 (RUN_TEST_LOOP_cc_c): Likewise.
56544 (RUN_TEST_f_i): Likewise.
56545 (RUN_TEST_LOOP_f_i): Likewise.
56546 (RUN_TEST_f_i_tg): Likewise.
56547 (RUN_TEST_LOOP_f_i_tg): Likewise.
56548 (RUN_TEST_ff_i_tg): Likewise.
56549 (RUN_TEST_LOOP_ff_i_tg): Likewise.
56550 (RUN_TEST_f_b): Likewise.
56551 (RUN_TEST_LOOP_f_b): Likewise.
56552 (RUN_TEST_f_b_tg): Likewise.
56553 (RUN_TEST_LOOP_f_b_tg): Likewise.
56554 (RUN_TEST_f_l): Likewise.
56555 (RUN_TEST_LOOP_f_l): Likewise.
56556 (RUN_TEST_f_L): Likewise.
56557 (RUN_TEST_LOOP_f_L): Likewise.
56558 (RUN_TEST_sincos): Likewise.
56559 (RUN_TEST_LOOP_sincos): Likewise.
56560
56561 2013-05-17 Joseph Myers <joseph@codesourcery.com>
56562
56563 [BZ #15480]
56564 [BZ #15485]
56565 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
56566 main case of finite arguments, set rounding mode to FE_TONEAREST
56567 and discard exceptions.
56568 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
56569 exceptions.
56570 (remainder_tonearest_test_data): New variable.
56571 (remainder_test_tonearest): New function.
56572 (remainder_towardzero_test_data): New variable.
56573 (remainder_test_towardzero): New function.
56574 (remainder_downward_test_data): New variable.
56575 (remainder_test_downward): New function.
56576 (remainder_upward_test_data): New variable.
56577 (remainder_test_upward): New function.
56578 (main): Call the new test functions.
56579
56580 * math/libm-test.inc (struct test_f_f1_data): Remove field
56581 extra_init.
56582 (struct test_fF_f1_data): Likewise.
56583 (struct test_ffI_f1_data): Likewise.
56584 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
56585 based on value of EXTRA_EXPECTED.
56586 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
56587 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
56588 EXTRA_VAR based on value of EXTRA_EXPECTED.
56589 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
56590 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
56591 EXTRA_VAR based on value of EXTRA_EXPECTED.
56592 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
56593 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
56594 EXTRA_VAR based on value of EXTRA_EXPECTED.
56595 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
56596 * math/gen-libm-test.pl (parse_args): Don't output initializers
56597 for extra output values.
56598
56599 * math/libm-test.inc (check_int): Expect result to be exactly
56600 equal to expected value and do not handle ulps.
56601 (check_long): Likewise.
56602 (check_longlong): Likewise.
56603
56604 * math/libm-test.inc (ceil_test_data): Test for "inexact"
56605 exceptions.
56606 (cimag_test_data): Likewise.
56607 (conj_test_data): Likewise.
56608 (copysign_test_data): Likewise.
56609 (cproj_test_data): Likewise.
56610 (creal_test_data): Likewise.
56611 (fabs_test_data): Likewise.
56612 (fdim_test_data): Likewise.
56613 (finite_test_data): Likewise.
56614 (floor_test_data): Likewise.
56615 (fmax_test_data): Likewise.
56616 (fmin_test_data): Likewise.
56617 (fmod_test_data): Likewise.
56618 (fpclassify_test_data): Likewise.
56619 (frexp_test_data): Likewise.
56620 (ilogb_test_data): Likewise.
56621 (isfinite_test_data): Likewise.
56622 (isgreater_test_data): Likewise.
56623 (isgreaterequal_test_data): Likewise.
56624 (isinf_test_data): Likewise.
56625 (isless_test_data): Likewise.
56626 (islessequal_test_data): Likewise.
56627 (islessgreater_test_data): Likewise.
56628 (isnan_test_data): Likewise.
56629 (isnormal_test_data): Likewise.
56630 (issignaling_test_data): Likewise.
56631 (isunordered_test_data): Likewise.
56632 (ldexp_test_data): Likewise.
56633 (lrint_test_data): Likewise.
56634 (lrint_test_data) [TEST_FLOAT]: Disable one test.
56635 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
56636 (lrint_tonearest_test_data): Test for "inexact" exceptions.
56637 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56638 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
56639 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56640 test input.
56641 (lrint_towardzero_test_data): Test for "inexact" exceptions.
56642 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56643 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
56644 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
56645 that test input.
56646 (lrint_downward_test_data): Test for "inexact" exceptions.
56647 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56648 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
56649 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56650 test input.
56651 (lrint_upward_test_data): Test for "inexact" exceptions.
56652 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
56653 test input.
56654 (llrint_test_data): Test for "inexact" exceptions.
56655 (llrint_test_data) [TEST_FLOAT]: Disable one test.
56656 (llrint_tonearest_test_data): Test for "inexact" exceptions.
56657 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56658 (llrint_towardzero_test_data): Test for "inexact" exceptions.
56659 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56660 (llrint_downward_test_data): Test for "inexact" exceptions.
56661 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56662 (llrint_upward_test_data): Test for "inexact" exceptions.
56663 (logb_test_data): Likewise.
56664 (logb_downward_test_data): Likewise.
56665 (nextafter_test_data): Likewise.
56666 (nexttoward_test_data): Likewise.
56667 (remainder_test_data): Likewise.
56668 (remquo_test_data): Likewise.
56669 (scalbn_test_data): Likewise.
56670 (scalbln_test_data): Likewise.
56671 (signbit_test_data): Likewise.
56672 (sqrt_test_data): Likewise.
56673 (significand_test_data): Likewise.
56674
56675 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
56676
56677 [BZ #15424]
56678 * benchtests/bench-modf.c (struct args): Mark arg0 as
56679 volatile.
56680 * scripts/bench.pl: Mark members of struct args as volatile.
56681
56682 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56683
56684 [BZ # 15497]
56685 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
56686 negative infinity on POWER6 or lower.
56687 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
56688
56689 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
56690
56691 [BZ #15442]
56692 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
56693 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
56694 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
56695 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
56696 (_FP_SETQNAN): New macro.
56697 (_FP_SETQNAN_SEMIRAW): Likewise.
56698 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
56699 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
56700 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
56701 (FP_EXTEND): Use _FP_FRAC_SNANP.
56702 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
56703 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
56704 into account.
56705 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56706 New macro.
56707 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56708 Likewise.
56709
56710 2013-05-16 Joseph Myers <joseph@codesourcery.com>
56711
56712 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
56713 with DIVIDE_BY_ZERO_EXCEPTION.
56714 (gamma_test_data): Likewise.
56715 (lgamma_test_data): Likewise.
56716 (log_test_data): Likewise.
56717 (log10_test_data): Likewise.
56718 (log2_test_data): Likewise.
56719 (tgamma_test_data): Likewise.
56720
56721 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
56722 (acos_test_tonearest): Likewise.
56723 (acos_test_towardzero): Likewise.
56724 (acos_test_downward): Likewise.
56725 (acos_test_upward): Likewise.
56726 (acosh_test): Likewise.
56727 (asin_test): Likewise.
56728 (asin_test_tonearest): Likewise.
56729 (asin_test_towardzero): Likewise.
56730 (asin_test_downward): Likewise.
56731 (asin_test_upward): Likewise.
56732 (asinh_test): Likewise.
56733 (atan_test): Likewise.
56734 (atanh_test): Likewise.
56735 (atan2_test): Likewise.
56736 (cabs_test): Likewise.
56737 (cacos_test): Likewise.
56738 (cacosh_test): Likewise.
56739 (casin_test): Likewise.
56740 (casinh_test): Likewise.
56741 (catan_test): Likewise.
56742 (catanh_test): Likewise.
56743 (cbrt_test): Likewise.
56744 (ccos_test): Likewise.
56745 (ccosh_test): Likewise.
56746 (cexp_test): Likewise.
56747 (clog_test): Likewise.
56748 (clog10_test): Likewise.
56749 (cos_test): Likewise.
56750 (cos_test_tonearest): Likewise.
56751 (cos_test_towardzero): Likewise.
56752 (cos_test_downward): Likewise.
56753 (cos_test_upward): Likewise.
56754 (cosh_test): Likewise.
56755 (cosh_test_tonearest): Likewise.
56756 (cosh_test_towardzero): Likewise.
56757 (cosh_test_downward): Likewise.
56758 (cosh_test_upward): Likewise.
56759 (cpow_test): Likewise.
56760 (csin_test): Likewise.
56761 (csinh_test): Likewise.
56762 (csqrt_test): Likewise.
56763 (ctan_test): Likewise.
56764 (ctan_test_tonearest): Likewise.
56765 (ctan_test_towardzero): Likewise.
56766 (ctan_test_downward): Likewise.
56767 (ctan_test_upward): Likewise.
56768 (ctanh_test): Likewise.
56769 (ctanh_test_tonearest): Likewise.
56770 (ctanh_test_towardzero): Likewise.
56771 (ctanh_test_downward): Likewise.
56772 (ctanh_test_upward): Likewise.
56773 (erf_test): Likewise.
56774 (erfc_test): Likewise.
56775 (exp_test): Likewise.
56776 (exp_test_tonearest): Likewise.
56777 (exp_test_towardzero): Likewise.
56778 (exp_test_downward): Likewise.
56779 (exp_test_upward): Likewise.
56780 (exp10_test): Likewise.
56781 (exp2_test): Likewise.
56782 (expm1_test): Likewise.
56783 (fmod_test): Likewise.
56784 (gamma_test): Likewise.
56785 (hypot_test): Likewise.
56786 (j0_test): Likewise.
56787 (j1_test): Likewise.
56788 (jn_test): Likewise.
56789 (lgamma_test): Likewise.
56790 (log_test): Likewise.
56791 (log10_test): Likewise.
56792 (log1p_test): Likewise.
56793 (log2_test): Likewise.
56794 (logb_test_downward): Likewise.
56795 (pow_test): Likewise.
56796 (pow_test_tonearest): Likewise.
56797 (pow_test_towardzero): Likewise.
56798 (pow_test_downward): Likewise.
56799 (pow_test_upward): Likewise.
56800 (remainder_test): Likewise.
56801 (remquo_test): Likewise.
56802 (sin_test): Likewise.
56803 (sin_test_tonearest): Likewise.
56804 (sin_test_towardzero): Likewise.
56805 (sin_test_downward): Likewise.
56806 (sin_test_upward): Likewise.
56807 (sincos_test): Likewise.
56808 (sinh_test): Likewise.
56809 (sinh_test_tonearest): Likewise.
56810 (sinh_test_towardzero): Likewise.
56811 (sinh_test_downward): Likewise.
56812 (sinh_test_upward): Likewise.
56813 (sqrt_test): Likewise.
56814 (tan_test): Likewise.
56815 (tan_test_tonearest): Likewise.
56816 (tan_test_towardzero): Likewise.
56817 (tan_test_downward): Likewise.
56818 (tan_test_upward): Likewise.
56819 (tanh_test): Likewise.
56820 (tgamma_test): Likewise.
56821 (y0_test): Likewise.
56822 (y1_test): Likewise.
56823 (yn_test): Likewise.
56824
56825 * math/gen-libm-test.pl (adjust_arg): Remove function.
56826 (special_function): Remove argument $in_func. Only handle
56827 generating output for tables of tests, not inside functions.
56828 (parse_args): Likewise.
56829 (generate_testfile): Remove variable $in_func. Update call to
56830 parse_args.
56831 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
56832 (MINUS_ZERO_INIT): Rename macro to minus_zero.
56833 (PLUS_INFTY_INIT): Rename macro to plus_infty.
56834 (MINUS_INFTY_INIT): Rename macro to minus_infty.
56835 (QNAN_VALUE_INIT): Rename macro to qnan_value.
56836 (MAX_VALUE_INIT): Rename macro to max_value.
56837 (MIN_VALUE_INIT): Rename macro to min_value.
56838 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
56839 (plus_zero): Remove variable.
56840 (minus_zero): Likewise.
56841 (plus_infty): Likewise.
56842 (minus_infty): Likewise.
56843 (qnan_value): Likewise.
56844 (max_value): Likewise.
56845 (min_value): Likewise.
56846 (min_subnorm_value): Likewise.
56847
56848 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
56849
56850 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
56851 uint64_t or uint32_t usage.
56852 * crypt/sha256-block.c: Likewise.
56853 * crypt/sha256-crypt.c: Likewise.
56854 * crypt/sha256.c: Likewise.
56855 * crypt/sha512-block.c: Likewise.
56856 * crypt/sha512-crypt.c: Likewise.
56857 * crypt/sha512.c: Likewise.
56858 * debug/backtrace-tst.c: Likewise.
56859 * debug/pcprofiledump.c: Likewise.
56860 * elf/cache.c: Likewise.
56861 * elf/dl-cache.c: Likewise.
56862 * elf/dl-misc.c: Likewise.
56863 * elf/dl-profile.c: Likewise.
56864 * elf/dl-support.c: Likewise.
56865 * elf/ldconfig.c: Likewise.
56866 * elf/sprof.c: Likewise.
56867 * iconv/dummy-repertoire.c: Likewise.
56868 * iconv/iconv_charmap.c: Likewise.
56869 * iconv/skeleton.c: Likewise.
56870 * iconvdata/8bit-generic.c: Likewise.
56871 * iconvdata/cp737.h: Likewise.
56872 * iconvdata/cp775.h: Likewise.
56873 * iconvdata/ibm1008.h: Likewise.
56874 * iconvdata/ibm1025.h: Likewise.
56875 * iconvdata/ibm1046.h: Likewise.
56876 * iconvdata/ibm1097.h: Likewise.
56877 * iconvdata/ibm1112.h: Likewise.
56878 * iconvdata/ibm1122.h: Likewise.
56879 * iconvdata/ibm1123.h: Likewise.
56880 * iconvdata/ibm1124.h: Likewise.
56881 * iconvdata/ibm1129.h: Likewise.
56882 * iconvdata/ibm1130.h: Likewise.
56883 * iconvdata/ibm1132.h: Likewise.
56884 * iconvdata/ibm1133.h: Likewise.
56885 * iconvdata/ibm1137.h: Likewise.
56886 * iconvdata/ibm1140.h: Likewise.
56887 * iconvdata/ibm1141.h: Likewise.
56888 * iconvdata/ibm1142.h: Likewise.
56889 * iconvdata/ibm1143.h: Likewise.
56890 * iconvdata/ibm1144.h: Likewise.
56891 * iconvdata/ibm1145.h: Likewise.
56892 * iconvdata/ibm1146.h: Likewise.
56893 * iconvdata/ibm1147.h: Likewise.
56894 * iconvdata/ibm1148.h: Likewise.
56895 * iconvdata/ibm1149.h: Likewise.
56896 * iconvdata/ibm1153.h: Likewise.
56897 * iconvdata/ibm1154.h: Likewise.
56898 * iconvdata/ibm1155.h: Likewise.
56899 * iconvdata/ibm1156.h: Likewise.
56900 * iconvdata/ibm1157.h: Likewise.
56901 * iconvdata/ibm1158.h: Likewise.
56902 * iconvdata/ibm1160.h: Likewise.
56903 * iconvdata/ibm1161.h: Likewise.
56904 * iconvdata/ibm1162.h: Likewise.
56905 * iconvdata/ibm1163.h: Likewise.
56906 * iconvdata/ibm1164.h: Likewise.
56907 * iconvdata/ibm1166.h: Likewise.
56908 * iconvdata/ibm1167.h: Likewise.
56909 * iconvdata/ibm12712.h: Likewise.
56910 * iconvdata/ibm1390.h: Likewise.
56911 * iconvdata/ibm1399.h: Likewise.
56912 * iconvdata/ibm16804.h: Likewise.
56913 * iconvdata/ibm4517.h: Likewise.
56914 * iconvdata/ibm4899.h: Likewise.
56915 * iconvdata/ibm4909.h: Likewise.
56916 * iconvdata/ibm4971.h: Likewise.
56917 * iconvdata/ibm5347.h: Likewise.
56918 * iconvdata/ibm803.h: Likewise.
56919 * iconvdata/ibm856.h: Likewise.
56920 * iconvdata/ibm901.h: Likewise.
56921 * iconvdata/ibm902.h: Likewise.
56922 * iconvdata/ibm9030.h: Likewise.
56923 * iconvdata/ibm9066.h: Likewise.
56924 * iconvdata/ibm921.h: Likewise.
56925 * iconvdata/ibm922.h: Likewise.
56926 * iconvdata/ibm9448.h: Likewise.
56927 * iconvdata/isiri-3342.h: Likewise.
56928 * iconvdata/jis0201.h: Likewise.
56929 * include/link.h: Likewise.
56930 * include/netdb.h: Likewise.
56931 * inet/check_native.c: Likewise.
56932 * inet/check_pf.c: Likewise.
56933 * inet/getipv4sourcefilter.c: Likewise.
56934 * inet/getnameinfo.c: Likewise.
56935 * inet/getsourcefilter.c: Likewise.
56936 * inet/htonl.c: Likewise.
56937 * inet/setipv4sourcefilter.c: Likewise.
56938 * inet/setsourcefilter.c: Likewise.
56939 * inet/test-inet6_opt.c: Likewise.
56940 * inet/tst-network.c: Likewise.
56941 * locale/C-collate.c: Likewise.
56942 * locale/C-ctype.c: Likewise.
56943 * locale/C-time.c: Likewise.
56944 * locale/C-translit.h: Likewise.
56945 * locale/loadarchive.c: Likewise.
56946 * locale/programs/3level.h: Likewise.
56947 * locale/programs/charmap.c: Likewise.
56948 * locale/programs/charmap.h: Likewise.
56949 * locale/programs/ld-address.c: Likewise.
56950 * locale/programs/ld-collate.c: Likewise.
56951 * locale/programs/ld-ctype.c: Likewise.
56952 * locale/programs/ld-identification.c: Likewise.
56953 * locale/programs/ld-measurement.c: Likewise.
56954 * locale/programs/ld-messages.c: Likewise.
56955 * locale/programs/ld-monetary.c: Likewise.
56956 * locale/programs/ld-name.c: Likewise.
56957 * locale/programs/ld-numeric.c: Likewise.
56958 * locale/programs/ld-paper.c: Likewise.
56959 * locale/programs/ld-telephone.c: Likewise.
56960 * locale/programs/ld-time.c: Likewise.
56961 * locale/programs/linereader.c: Likewise.
56962 * locale/programs/locale.c: Likewise.
56963 * locale/programs/locarchive.c: Likewise.
56964 * locale/programs/locfile.h: Likewise.
56965 * locale/programs/repertoire.c: Likewise.
56966 * locale/programs/simple-hash.c: Likewise.
56967 * locale/programs/simple-hash.h: Likewise.
56968 * malloc/memusage.c: Likewise.
56969 * malloc/memusagestat.c: Likewise.
56970 * nis/nis_defaults.c: Likewise.
56971 * nis/nis_hash.c: Likewise.
56972 * nis/nis_print.c: Likewise.
56973 * nis/nis_xdr.c: Likewise.
56974 * nscd/connections.c: Likewise.
56975 * nscd/hstcache.c: Likewise.
56976 * nscd/nscd_gethst_r.c: Likewise.
56977 * nscd/nscd_getserv_r.c: Likewise.
56978 * nscd/nscd_helper.c: Likewise.
56979 * nscd/servicescache.c: Likewise.
56980 * nss/makedb.c: Likewise.
56981 * nss/nss_db/db-XXX.c: Likewise.
56982 * nss/nss_db/db-initgroups.c: Likewise.
56983 * nss/nss_db/db-netgrp.c: Likewise.
56984 * nss/nss_files/files-network.c: Likewise.
56985 * nss/nss_files/files-parse.c: Likewise.
56986 * posix/bug-regex5.c: Likewise.
56987 * posix/fnmatch_loop.c: Likewise.
56988 * posix/regcomp.c: Likewise.
56989 * posix/regexec.c: Likewise.
56990 * posix/tst-rfc3484-2.c: Likewise.
56991 * posix/tst-rfc3484-3.c: Likewise.
56992 * posix/tst-rfc3484.c: Likewise.
56993 * resolv/nss_dns/dns-canon.c: Likewise.
56994 * resolv/nss_dns/dns-network.c: Likewise.
56995 * resolv/res_init.c: Likewise.
56996 * resolv/res_mkquery.c: Likewise.
56997 * resolv/tst-aton.c: Likewise.
56998 * stdlib/cxa_atexit.c: Likewise.
56999 * stdlib/cxa_finalize.c: Likewise.
57000 * stdlib/gen-fpioconst.c: Likewise.
57001 * stdlib/strtol_l.c: Likewise.
57002 * string/tst-endian.c: Likewise.
57003 * sunrpc/auth_des.c: Likewise.
57004 * sunrpc/clnt_udp.c: Likewise.
57005 * sunrpc/rtime.c: Likewise.
57006 * sunrpc/svcauth_des.c: Likewise.
57007 * sunrpc/xdr.c: Likewise.
57008 * sunrpc/xdr_intXX_t.c: Likewise.
57009 * sunrpc/xdr_rec.c: Likewise.
57010 * sysdeps/generic/ldconfig.h: Likewise.
57011 * sysdeps/generic/ldsodefs.h: Likewise.
57012 * sysdeps/generic/memusage.h: Likewise.
57013 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
57014 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
57015 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
57016 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
57017 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57018 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57019 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
57020 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
57021 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57022 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57023 * sysdeps/posix/getaddrinfo.c: Likewise.
57024 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57025 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57026 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57027 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57028 * sysdeps/powerpc/test-gettimebase.c: Likewise.
57029 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
57030 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
57031 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
57032 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
57033 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
57034 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57035 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57036 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
57037 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
57038 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
57039 * sysdeps/x86_64/dl-tls.h: Likewise.
57040 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
57041 * time/alt_digit.c: Likewise.
57042 * time/era.c: Likewise.
57043 * wcsmbs/tst-c16c32-1.c: Likewise.
57044
57045 2013-05-16 Joseph Myers <joseph@codesourcery.com>
57046
57047 * math/libm-test.inc (struct test_sincos_data): New type.
57048 (RUN_TEST_LOOP_sincos): New macro.
57049 (sincos_test_data): New variable.
57050 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
57051
57052 2013-05-16 Richard Henderson <rth@redhat.com>
57053
57054 * math/atest-exp2.c (LIMB64): New macro.
57055 (CONSTSZ): New macro.
57056 (mp_exp1, mp_exp_m1, mp_log2): New variables.
57057 (hexdig): Move ...
57058 (print_mpn_fp): ... to function scope.
57059 (read_mpn_hex): Remove.
57060 (get_log2): Remove.
57061 (exp2_mpn): Use mp_log2.
57062 (main): Use mp_exp1.
57063
57064 2013-05-16 Joseph Myers <joseph@codesourcery.com>
57065
57066 * math/libm-test.inc: Remove comment about not testing "inexact"
57067 exceptions.
57068 (INEXACT_EXCEPTION): New macro.
57069 (NO_INEXACT_EXCEPTION): Likewise.
57070 (INVALID_EXCEPTION_OK): Update value.
57071 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
57072 (OVERFLOW_EXCEPTION_OK): Likewise.
57073 (UNDERFLOW_EXCEPTION_OK): Likewise.
57074 (IGNORE_ZERO_INF_SIGN): Likewise.
57075 (ERRNO_UNCHANGED): Likewise.
57076 (ERRNO_EDOM): Likewise.
57077 (ERRNO_ERANGE): Likewise.
57078 (test_exceptions): Handle testing "inexact" exceptions.
57079 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
57080 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
57081 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
57082 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
57083 INEXACT_EXCEPTION.
57084 (rint_towardzero_test_data): Likewise.
57085 (rint_downward_test_data): Likewise.
57086 (rint_upward_test_data): Likewise.
57087
57088 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
57089 with OVERFLOW_EXCEPTION.
57090 (exp10_test_data): Likewise.
57091 (exp2_test_data): Likewise.
57092 (expm1_test_data): Likewise.
57093 (lgamma_test_data): Likewise.
57094 (pow_test_data): Likewise.
57095 (tgamma_test_data): Likewise.
57096 (yn_test_data): Remove duplicate test of overflow.
57097
57098 * math/libm-test.inc (struct test_cc_c_data): New type.
57099 (RUN_TEST_LOOP_cc_c): New macro.
57100 (cpow_test_data): New variable.
57101 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
57102
57103 * math/libm-test.inc (struct test_f_L_data): New type.
57104 (RUN_TEST_LOOP_f_L): New macro.
57105 (llrint_test_data): New variable.
57106 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
57107 (llrint_tonearest_test_data): New variable.
57108 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
57109 (llrint_towardzero_test_data): New variable.
57110 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
57111 (llrint_downward_test_data): New variable.
57112 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
57113 (llrint_upward_test_data): New variable.
57114 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
57115 (llround_test_data): New variable.
57116 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
57117
57118 2013-05-13 Peter Collingbourne <pcc@google.com>
57119
57120 * math/atest-exp2.c (get_log2): Remove const attribute.
57121
57122 2013-05-15 Joseph Myers <joseph@codesourcery.com>
57123
57124 * math/libm-test.inc (struct test_f_l_data): New type.
57125 (RUN_TEST_LOOP_f_l): New macro.
57126 (lrint_test_data): New variable.
57127 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
57128 (lrint_tonearest_test_data): New variable.
57129 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
57130 (lrint_towardzero_test_data): New variable.
57131 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
57132 (lrint_downward_test_data): New variable.
57133 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
57134 (lrint_upward_test_data): New variable.
57135 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
57136 (lround_test_data): New variable.
57137 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
57138
57139 2013-05-15 Peter Collingbourne <pcc@google.com>
57140
57141 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
57142 (EXTRACT_WORDS64) Use where appropriate.
57143 (INSERT_WORDS64) Likewise.
57144
57145 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
57146 constraints with x constraints.
57147 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
57148
57149 * malloc/obstack.c (_obstack_compat): Add initializer.
57150
57151 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
57152
57153 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
57154 si_trapno and add si_addr_lsb to _sifields.sigfault.
57155 (si_trapno): Remove macro.
57156 (si_addr_lsb): Define new macro.
57157 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
57158
57159 2013-05-15 Joseph Myers <joseph@codesourcery.com>
57160
57161 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
57162 instead of TEST_f_l.
57163 (llrint_test_tonearest): Likewise.
57164 (llrint_test_towardzero): Likewise.
57165 (llrint_test_downward): Likewise.
57166 (llrint_test_upward): Likewise.
57167 (llround_test): Likewise.
57168
57169 * math/libm-test.inc (struct test_f_i_data): Add comment.
57170 (RUN_TEST_LOOP_f_b): New macro.
57171 (RUN_TEST_LOOP_f_b_tg): Likewise.
57172 (finite_test_data): New variable.
57173 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
57174 (isfinite_test_data): New variable.
57175 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
57176 (isinf_test_data): New variable.
57177 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
57178 (isnan_test_data): New variable.
57179 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
57180 (isnormal_test_data): New variable.
57181 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
57182 (issignaling_test_data): New variable.
57183 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
57184 (signbit_test_data): New variable.
57185 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
57186
57187 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
57188 with INVALID_EXCEPTION.
57189 (acosh_test_data): Likewise.
57190 (asin_test_data): Likewise.
57191 (atanh_test_data): Likewise.
57192 (fmod_test_data): Likewise.
57193 (log_test_data): Likewise.
57194 (log10_test_data): Likewise.
57195 (log2_test_data): Likewise.
57196 (pow_test_data): Likewise.
57197 (sqrt_test_data): Likewise.
57198 (y0_test_data): Likewise.
57199 (y1_test_data): Likewise.
57200 (yn_test_data): Likewise.
57201
57202 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
57203 function contents.
57204
57205 * math/libm-test.inc (struct test_ff_i_data): New type.
57206 (RUN_TEST_LOOP_ff_i_tg): New macro.
57207 (isgreater_test_data): New variable.
57208 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
57209 (isgreaterequal_test_data): New variable.
57210 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
57211 (isless_test_data): New variable.
57212 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
57213 (islessequal_test_data): New variable.
57214 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
57215 (islessgreater_test_data): New variable.
57216 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
57217 (isunordered_test_data): New variable.
57218 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
57219
57220 2013-05-14 David S. Miller <davem@davemloft.net>
57221
57222 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57223
57224 2013-05-14 Joseph Myers <joseph@codesourcery.com>
57225
57226 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
57227
57228 * math/libm-test.inc (struct test_fF_f1_data): Change type of
57229 extra_test to int.
57230 (struct test_f_i_data): Change type of max_ulp to int.
57231
57232 * math/libm-test.inc (test_ffI_f1_data): New type.
57233 (RUN_TEST_LOOP_ffI_f1): New macro.
57234 (remquo_test_data): New variable.
57235 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
57236
57237 * setjmp/tst-setjmp-fp.c: New file.
57238 * setjmp/Makefile (tests): Add tst-setjmp-fp.
57239 (link-libm): New variable.
57240 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
57241
57242 * math/libm-test.inc (struct test_f_i_data): New type.
57243 (RUN_TEST_LOOP_f_i): New macro.
57244 (RUN_TEST_LOOP_f_i_tg): Likewise.
57245 (fpclassify_test_data): New variable.
57246 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
57247 (ilogb_test_data): New variable.
57248 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
57249
57250 * math/libm-test.inc (scalbln_test): Correct function name in END
57251 call.
57252
57253 * math/libm-test.inc (struct test_f_f1_data): Add comment.
57254 (RUN_TEST_LOOP_fI_f1): New macro.
57255 (frexp_test_data): New variable.
57256 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
57257
57258 * math/libm-test.inc (struct test_fF_f1_data): New type.
57259 (RUN_TEST_LOOP_fF_f1): New macro.
57260 (modf_test_data): New variable.
57261 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
57262
57263 * math/libm-test.inc (struct test_f_f1_data): New type.
57264 (RUN_TEST_LOOP_f_f1): New macro.
57265 (gamma_test_data): New variable.
57266 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
57267 (lgamma_test_data): New variable.
57268 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
57269
57270 2013-05-13 Carlos O'Donell <carlos@redhat.com>
57271
57272 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
57273 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
57274 (main): Comment "tls" pseudo-hwcap.
57275
57276 2013-05-13 Joseph Myers <joseph@codesourcery.com>
57277
57278 * math/libm-test.inc (struct test_fl_f_data): New type.
57279 (RUN_TEST_LOOP_fl_f): New variable.
57280 (scalbln_test_data): New variable.
57281 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
57282
57283 * math/libm-test.inc (struct test_fi_f_data): New type.
57284 (RUN_TEST_LOOP_fi_f): New macro.
57285 (ldexp_test_data): New variable.
57286 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
57287 (scalbn_test_data): New variable.
57288 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
57289
57290 * math/libm-test.inc (struct test_c_f_data): New type.
57291 (RUN_TEST_LOOP_c_f): New macro.
57292 (cabs_test_data): New variable.
57293 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
57294 (carg_test_data): New variable.
57295 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
57296 (cimag_test_data): New variable.
57297 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
57298 (creal_test_data): New variable.
57299 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
57300
57301 * math/libm-test.inc (struct test_if_f_data): New type.
57302 (RUN_TEST_LOOP_if_f): New macro.
57303 (jn_test_data): New variable.
57304 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
57305 (yn_test_data): New variable.
57306 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
57307
57308 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
57309
57310 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57311
57312 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
57313 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
57314
57315 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
57316
57317 * benchtests/Makefile (CPPFLAGS-nonlib): Add
57318 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
57319 (bench-deps): Add bench-timing.h.
57320 * benchtests-bench-skeleton.c: Include bench-timing.h.
57321 (main): Use TIMING_* macros instead of clock_gettime.
57322 * benchtests/bench-timing.h: New file.
57323
57324 [BZ #14582]
57325 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
57326 Renamed from _LIB_VERSION.
57327 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
57328
57329 2013-05-12 Joseph Myers <joseph@codesourcery.com>
57330
57331 * math/libm-test.inc (struct test_fff_f_data): New type.
57332 (RUN_TEST_LOOP_fff_f): New macro.
57333 (fma_test_data): New variable.
57334 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
57335 (fma_towardzero_test_data): New variable.
57336 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
57337 (fma_downward_test_data): New variable.
57338 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
57339 (fma_upward_test_data): New variable.
57340 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
57341
57342 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
57343 (struct test_c_c_data): New type.
57344 (RUN_TEST_LOOP_c_c): New macro.
57345 (cacos_test_data): New variable.
57346 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
57347 (cacosh_test_data): New variable.
57348 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
57349 (casin_test_data): New variable.
57350 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
57351 (casinh_test_data): New variable.
57352 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
57353 (catan_test_data): New variable.
57354 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
57355 (catanh_test_data): New variable.
57356 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
57357 (ccos_test_data): New variable.
57358 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
57359 (ccosh_test_data): New variable.
57360 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
57361 (cexp_test_data): New variable.
57362 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
57363 (clog_test_data): New variable.
57364 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
57365 (clog10_test_data): New variable.
57366 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
57367 (conj_test_data): New variable.
57368 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
57369 (cproj_test_data): New variable.
57370 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
57371 (csin_test_data): New variable.
57372 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
57373 (csinh_test_data): New variable.
57374 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
57375 (csqrt_test_data): New variable.
57376 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
57377 (ctan_test_data): New variable.
57378 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
57379 (ctan_tonearest_test_data): New variable.
57380 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
57381 (ctan_towardzero_test_data): New variable.
57382 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
57383 (ctan_downward_test_data): New variable.
57384 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
57385 (ctan_upward_test_data): New variable.
57386 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
57387 (ctanh_test_data): New variable.
57388 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
57389 (ctanh_tonearest_test_data): New variable.
57390 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
57391 (ctanh_towardzero_test_data): New variable.
57392 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
57393 (ctanh_downward_test_data): New variable.
57394 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
57395 (ctanh_upward_test_data): New variable.
57396 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
57397 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
57398 of BUILD_COMPLEX.
57399
57400 * math/libm-test.inc (struct test_ff_f_data): New type.
57401 (struct test_ff_f_data_nexttoward): Likewise.
57402 (RUN_TEST_LOOP_2_f): New macro.
57403 (RUN_TEST_LOOP_ff_f): Likewise.
57404 (atan2_test_data): New variable.
57405 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
57406 (copysign_test_data): New variable.
57407 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
57408 (fdim_test_data): New variable.
57409 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
57410 (fmax_test_data): New variable.
57411 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
57412 (fmin_test_data): New variable.
57413 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
57414 (fmod_test_data): New variable.
57415 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
57416 (hypot_test_data): New variable.
57417 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
57418 (nextafter_test_data): New variable.
57419 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
57420 (nexttoward_test_data): New variable.
57421 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
57422 (pow_test_data): New variable.
57423 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
57424 (pow_tonearest_test_data): New variable.
57425 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
57426 (pow_towardzero_test_data): New variable.
57427 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
57428 (pow_downward_test_data): New variable.
57429 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
57430 (pow_upward_test_data): New variable.
57431 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
57432 (remainder_test_data): New variable.
57433 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
57434 (scalb_test_data): New variable.
57435 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
57436 * sysdeps/i386/fpu/libm-test-ulps: Update.
57437
57438 2013-05-11 Joseph Myers <joseph@codesourcery.com>
57439
57440 * math/libm-test.inc (fma_test): Use max_value instead of local
57441 variable fltmax.
57442 (nextafter_test): Likewise.
57443
57444 * math/libm-test.inc (acos_towardzero_test_data): New variable.
57445 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57446 (acos_downward_test_data): New variable.
57447 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57448 (acos_upward_test_data): New variable.
57449 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57450 (acosh_test_data): New variable.
57451 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
57452 (asin_test_data): New variable.
57453 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
57454 (asin_tonearest_test_data): New variable.
57455 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57456 (asin_towardzero_test_data): New variable.
57457 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57458 (asin_downward_test_data): New variable.
57459 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57460 (asin_upward_test_data): New variable.
57461 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57462 (asinh_test_data): New variable.
57463 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
57464 (atan_test_data): New variable.
57465 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
57466 (atanh_test_data): New variable.
57467 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
57468 (cbrt_test_data): New variable.
57469 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
57470 (ceil_test_data): New variable.
57471 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
57472 (cos_test_data): New variable.
57473 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
57474 (cos_tonearest_test_data): New variable.
57475 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57476 (cos_towardzero_test_data): New variable.
57477 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57478 (cos_downward_test_data): New variable.
57479 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57480 (cos_upward_test_data): New variable.
57481 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57482 (cosh_test_data): New variable.
57483 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
57484 (cosh_tonearest_test_data): New variable.
57485 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57486 (cosh_towardzero_test_data): New variable.
57487 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57488 (cosh_downward_test_data): New variable.
57489 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57490 (cosh_upward_test_data): New variable.
57491 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57492 (erf_test_data): New variable.
57493 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
57494 (erfc_test_data): New variable.
57495 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
57496 (exp_test_data): New variable.
57497 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
57498 (exp_tonearest_test_data): New variable.
57499 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57500 (exp_towardzero_test_data): New variable.
57501 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57502 (exp_downward_test_data): New variable.
57503 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57504 (exp_upward_test_data): New variable.
57505 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57506 (exp10_test_data): New variable.
57507 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
57508 (exp2_test_data): New variable.
57509 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
57510 (expm1_test_data): New variable.
57511 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
57512 (fabs_test_data): New variable.
57513 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
57514 (floor_test_data): New variable.
57515 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
57516 (j0_test_data): New variable.
57517 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
57518 (j1_test_data): New variable.
57519 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
57520 (log_test_data): New variable.
57521 (log_test): Run tests with RUN_TEST_LOOP_f_f.
57522 (log10_test_data): New variable.
57523 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
57524 (log1p_test_data): New variable.
57525 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
57526 (log2_test_data): New variable.
57527 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
57528 (logb_test_data): New variable.
57529 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
57530 (logb_downward_test_data): New variable.
57531 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57532 (nearbyint_test_data): New variable.
57533 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
57534 (rint_test_data): New variable.
57535 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
57536 (rint_tonearest_test_data): New variable.
57537 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57538 (rint_towardzero_test_data): New variable.
57539 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57540 (rint_downward_test_data): New variable.
57541 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57542 (rint_upward_test_data): New variable.
57543 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57544 (round_test_data): New variable.
57545 (round_test): Run tests with RUN_TEST_LOOP_f_f.
57546 (sin_test_data): New variable.
57547 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
57548 (sin_tonearest_test_data): New variable.
57549 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57550 (sin_towardzero_test_data): New variable.
57551 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57552 (sin_downward_test_data): New variable.
57553 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57554 (sin_upward_test_data): New variable.
57555 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57556 (sinh_test_data): New variable.
57557 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
57558 (sinh_tonearest_test_data): New variable.
57559 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57560 (sinh_towardzero_test_data): New variable.
57561 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57562 (sinh_downward_test_data): New variable.
57563 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57564 (sinh_upward_test_data): New variable.
57565 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57566 (sqrt_test_data): New variable.
57567 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
57568 (tan_test_data): New variable.
57569 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
57570 (tan_tonearest_test_data): New variable.
57571 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57572 (tan_towardzero_test_data): New variable.
57573 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57574 (tan_downward_test_data): New variable.
57575 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57576 (tan_upward_test_data): New variable.
57577 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57578 (tanh_test_data): New variable.
57579 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
57580 (tgamma_test_data): New variable.
57581 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
57582 (trunc_test_data): New variable.
57583 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
57584 (y0_test_data): New variable.
57585 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
57586 (y1_test_data): New variable.
57587 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
57588 (significand_test_data): New variable.
57589 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
57590
57591 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
57592
57593 [BZ #12387]
57594 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
57595
57596 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
57597
57598 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
57599
57600 2013-05-10 Andreas Jaeger <aj@suse.de>
57601
57602 [BZ #15448]
57603 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
57604 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
57605
57606 2013-05-10 Joseph Myers <joseph@codesourcery.com>
57607
57608 * math/gen-libm-test.pl (adjust_arg): New function.
57609 (special_functions): Handle generating output in both functions
57610 and arrays.
57611 (parse_args): Likewise.
57612 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
57613 $in_func argument to parse_args.
57614 * math/libm-test.inc (struct test_f_f_data): New type.
57615 (IF_ROUND_INIT_): New macro.
57616 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
57617 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57618 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57619 (IF_ROUND_INIT_FE_UPWARD): Likewise.
57620 (ROUND_RESTORE_): Likewise.
57621 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
57622 (ROUND_RESTORE_FE_TONEAREST): Likewise.
57623 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
57624 (ROUND_RESTORE_FE_UPWARD): Likewise.
57625 (RUN_TEST_LOOP_f_f): New macro.
57626 (acos_test_data): New variable.
57627 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
57628 (acos_tonearest_test_data): New variable.
57629 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57630
57631 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
57632
57633 * benchtests/bench-skeleton.c (startup): Fix coding style.
57634
57635 2013-05-10 Joseph Myers <joseph@codesourcery.com>
57636
57637 [BZ #6809]
57638 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
57639 negative infinity argument.
57640 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
57641 negative infinity argument.
57642 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
57643 negative infinity argument.
57644 * math/libm-test.inc (tgamma_test): Expect errno to be set for
57645 domain errors.
57646
57647 2013-05-10 Florian Weimer <fweimer@redhat.com>
57648
57649 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
57650 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
57651 * iconv/iconv_prog.c (main): Likewise.
57652 * locale/programs/charmap-dir.c (charmap_readdir)
57653 (fopen_uncompressed): Likewise.
57654 * locale/programs/locfile.c (siblings_uncached)
57655 (write_locale_data): Use lstat64 instead of lstat.
57656 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
57657 stat.
57658
57659 2013-05-10 Andreas Jaeger <aj@suse.de>
57660
57661 [BZ #15395]
57662 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
57663 localization.
57664 Include <locale.h>.
57665
57666 2013-05-09 Carlos O'Donell <carlos@redhat.com>
57667
57668 * elf/dl-close.c (_dl_close_worker): Add comments.
57669
57670 2013-05-09 Joseph Myers <joseph@codesourcery.com>
57671
57672 [BZ #15359]
57673 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
57674 high part of pi/2.
57675 (__ieee754_rem_pio2l): Update comments.
57676
57677 [BZ #15429]
57678 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
57679 high part of pi/2.
57680 (__ieee754_rem_pio2l): Update comments.
57681
57682 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
57683 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
57684
57685 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
57686 M_PI_4l.
57687
57688 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
57689 (M_PI_34_LOG10El): Likewise.
57690 (M_PI2_LOG10El): Likewise.
57691 (M_PI4_LOG10El): Likewise.
57692 (M_PI_LOG10El): Likewise.
57693
57694 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57695
57696 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57697
57698 2013-05-08 Joseph Myers <joseph@codesourcery.com>
57699
57700 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
57701 (MINUS_ZERO_INIT): Likewise.
57702 (PLUS_INFTY_INIT): Likewise.
57703 (MINUS_INFTY_INIT): Likewise.
57704 (QNAN_VALUE_INIT): Likewise.
57705 (MAX_VALUE_INIT): Likewise.
57706 (MIN_VALUE_INIT): Likewise.
57707 (MIN_SUBNORM_VALUE_INIT): Likewise.
57708 (plus_zero): Initialize with PLUS_ZERO_INIT.
57709 (minus_zero): Initialize with MINUS_ZERO_INIT.
57710 (plus_infty): Initialize with PLUS_INFTY_INIT.
57711 (minus_infty): Initialize with MINUS_INFTY_INIT.
57712 (qnan_value): Initialize with QNAN_VALUE_INIT.
57713 (max_value): Initialize with MAX_VALUE_INIT.
57714 (min_value): Initialize with MIN_VALUE_INIT.
57715 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
57716
57717 * math/libm-test.inc (RUN_TEST_if_f): New macro.
57718 (jn_test): Use TEST_if_f instead of TEST_ff_f.
57719 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
57720 (yn_test): Use TEST_if_f instead of TEST_ff_f.
57721
57722 * math/libm-test.inc (RUN_TEST_f_f): New macro.
57723 (RUN_TEST_2_f): Likewise.
57724 (RUN_TEST_ff_f): Likewise.
57725 (RUN_TEST_fi_f): Likewise.
57726 (RUN_TEST_fl_f): Likewise.
57727 (RUN_TEST_fff_f): Likewise.
57728 (RUN_TEST_c_f): Likewise.
57729 (RUN_TEST_f_f1): Likewise.
57730 (RUN_TEST_fF_f1): Likewise.
57731 (RUN_TEST_fI_f1): Likewise.
57732 (RUN_TEST_ffI_f1): Likewise.
57733 (RUN_TEST_c_c): Likewise.
57734 (RUN_TEST_cc_c): Likewise.
57735 (RUN_TEST_f_i): Likewise.
57736 (RUN_TEST_f_i_tg): Likewise.
57737 (RUN_TEST_ff_i_tg): Likewise.
57738 (RUN_TEST_f_b): Likewise.
57739 (RUN_TEST_f_b_tg): Likewise.
57740 (RUN_TEST_f_l): Likewise.
57741 (RUN_TEST_f_L): Likewise.
57742 (RUN_TEST_sincos): Likewise.
57743 * math/gen-libm-test.pl (new_test): Take new argument to indicate
57744 whether to show exceptions. Do not include ");\n" in return
57745 value.
57746 (special_functions): Output call to RUN_TEST_sincos instead of
57747 check_float calls. Update calls to new_test.
57748 (parse_args): Output call to single RUN_TEST_* macro instead of
57749 check_* calls and other assignments. Update calls to new_test.
57750
57751 [BZ #2546]
57752 [BZ #2560]
57753 [BZ #5159]
57754 [BZ #15426]
57755 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
57756 input to result for tgamma overflow.
57757 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
57758 (gamma_coeff): New variable.
57759 (NCOEFF): New macro.
57760 (gamma_positive): New function.
57761 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
57762 underflow here. Use gamma_positive instead of exp (lgamma) for
57763 other arguments.
57764 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
57765 (gamma_coeff): New variable.
57766 (NCOEFF): New macro.
57767 (gammaf_positive): New function.
57768 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
57769 underflow here. Use gamma_positive instead of exp (lgamma) for
57770 other arguments.
57771 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
57772 (gamma_coeff): New variable.
57773 (NCOEFF): New macro.
57774 (gammal_positive): New function.
57775 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
57776 underflow here. Use gamma_positive instead of exp (lgamma) for
57777 other arguments.
57778 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
57779 (gamma_coeff): New variable.
57780 (NCOEFF): New macro.
57781 (gammal_positive): New function.
57782 (__ieee754_gammal_r): Handle positive infinity, overflow and
57783 underflow here. Handle NaN the same as positive infinity. Remove
57784 check x < 0xffffffff for negative integers. Use gamma_positive
57785 instead of exp (lgamma) for other arguments.
57786 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
57787 (gamma_coeff): New variable.
57788 (NCOEFF): New macro.
57789 (gammal_positive): New function.
57790 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
57791 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
57792 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
57793 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
57794 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
57795 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
57796 * sysdeps/generic/math_private.h (__gamma_productf): New
57797 prototype.
57798 (__gamma_product): Likewise.
57799 (__gamma_productl): Likewise.
57800 * math/Makefile (libm-calls): Add gamma_product.
57801 * math/libm-test.inc (tgamma_test): Add more tests.
57802 * sysdeps/i386/fpu/libm-test-ulps: Update.
57803 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57804
57805 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
57806
57807 * benchtests/bench-skeleton.c (main): Preheat CPU.
57808
57809 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
57810
57811 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
57812
57813 2013-05-07 Roland McGrath <roland@hack.frob.com>
57814
57815 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
57816 and _dl_skip_args_internal.
57817
57818 2013-05-07 Carlos O'Donell <carlos@redhat.com>
57819
57820 * manual/message.texi (Message Translation): Talk about users.
57821 Message to key mapping impacts design.
57822
57823 2013-05-06 Roland McGrath <roland@hack.frob.com>
57824
57825 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
57826
57827 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
57828
57829 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
57830 * sysdeps/wordsize-64/glob64.c: ... here.
57831
57832 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
57833 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
57834 New macros.
57835
57836 * debug/getlogin_r_chk.c: Moved to ...
57837 * login/getlogin_r_chk.c: ... here.
57838 * debug/Makefile (routines): Move getlogin_r_chk to ...
57839 * login/Makefile (routines): ... here.
57840 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
57841 * login/Versions (libc: GLIBC_2.4): ... here.
57842
57843 * io/poll.c (__poll): Renamed from poll.
57844 Add libc_hidden_def.
57845 (poll): Define as weak alias.
57846
57847 * debug/ptsname_r_chk.c: Moved to ...
57848 * login/ptsname_r_chk.c: ... here.
57849 * debug/Makefile (routines): Move ptsname_r_chk to ...
57850 * login/Makefile (routines): ... here.
57851 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
57852 * login/Versions (libc: GLIBC_2.4): ... here.
57853
57854 * posix/getlogin.c: Moved to ...
57855 * login/getlogin.c: ... here.
57856 * posix/getlogin_r.c: Moved to ...
57857 * login/getlogin_r.c: ... here.
57858 * posix/getlogin_r.c: Moved to ...
57859 * login/getlogin_r.c: ... here.
57860 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
57861 * login/Makefile (routines): ... here.
57862 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
57863 * login/Versions (libc: GLIBC_2.0): ... here.
57864
57865 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
57866 (setrlimit): Define as weak alias.
57867
57868 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
57869 Call __ names for open, ftruncate, and close.
57870 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
57871 (truncate): Define as weak alias.
57872
57873 2013-05-06 Joseph Myers <joseph@codesourcery.com>
57874
57875 * math/gen-libm-test.pl (parse_args): Initialize x before each
57876 test of frexp, modf and remquo.
57877
57878 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
57879 test signgam value.
57880
57881 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57882
57883 [BZ #15418]
57884 [BZ #15419]
57885 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
57886 internal tests.
57887 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57888
57889 2013-05-06 Roland McGrath <roland@hack.frob.com>
57890
57891 * elf/dl-writev.h: New file.
57892 * elf/dl-misc.c: Include it.
57893 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
57894 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
57895
57896 2013-05-04 Joseph Myers <joseph@codesourcery.com>
57897
57898 * math/libm-test.inc (noXFails): Remove variable.
57899 (noXPasses): Likewise.
57900 (BUILD_COMPLEX_INT): Remove macro.
57901 (print_screen): Remove xfail argument.
57902 (print_screen_max_error): Likewise.
57903 (update_stats): Likewise.
57904 (print_max_error): Likewise. Update calls to other affected
57905 functions.
57906 (print_complex_max_error): Likewise.
57907 (test_single_exception): Update calls to print_screen.
57908 (test_single_errno): Likewise.
57909 (check_float_internal): Remove xfail argument. Update calls to
57910 other affected functions.
57911 (check_float): Likewise.
57912 (check_complex): Likewise.
57913 (check_int): Likewise.
57914 (check_long): Likewise.
57915 (check_bool): Likewise.
57916 (check_longlong): Likewise.
57917 (main): Don't print noXFails and noXPasses.
57918 * math/gen-libm-test.pl (top level): Don't mention expected
57919 failure handling in comment.
57920 (new_test): Don't handle expected failures.
57921 (parse_args): Don't mention expected failure handling in comment.
57922 (generate_testfile): Don't handle expected failures.
57923 (parse_ulps): Likewise.
57924 (print_ulps_file): Likewise.
57925 (get_failure): Remove function.
57926 (output_test): Don't handle expected failures.
57927 * make/README.libm-test: Don't mention expected failure handling.
57928
57929 * math/libm-test.inc (plus_zero): Make const. Add initializer.
57930 (minus_zero): Likewise.
57931 (plus_infty): Likewise.
57932 (minus_infty): Likewise.
57933 (qnan_value): Likewise.
57934 (max_value): Likewise.
57935 (min_value): Likewise.
57936 (min_subnorm_value): Likewise.
57937 (initialize): Do not initialize those variables dynamically.
57938
57939 2013-05-03 Roland McGrath <roland@hack.frob.com>
57940
57941 * io/open.c (__open_2): Moved to ...
57942 * io/open_2.c: ... this new file.
57943 * io/open64.c (__open64_2): Moved to ...
57944 * io/open64_2.c: ... this new file.
57945 * io/openat.c (__openat_2): Moved to ...
57946 * io/openat_2.c: ... this new file.
57947 * io/openat64.c (__openat64_2): Moved to ...
57948 * io/openat64_2.c: ... this new file.
57949 * io/Makefile (routines): Add them.
57950 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
57951 * sysdeps/unix/sysv/linux/open_2.c: File removed.
57952 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
57953 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
57954 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
57955 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
57956 (__openat64): Add hidden_ver.
57957 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
57958 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
57959
57960 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
57961 Separately conditionalize setting of GLRO(dl_sysinfo) so
57962 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
57963 as well, but the actual setting is only under [NEED_DL_SYSINFO].
57964
57965 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57966
57967 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
57968 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
57969 definition.
57970 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
57971 * sysdeps/unix/sysv/linux/powerpc/init-first.c
57972 (_libc_vdso_platform_setup): Add __vdso_time initialization.
57973 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
57974 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
57975
57976 2013-05-03 Joseph Myers <joseph@codesourcery.com>
57977
57978 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
57979 test signgam value.
57980
57981 * math/libm-test.inc (hypot_test): Do not use
57982 IGNORE_ZERO_INF_SIGN.
57983
57984 2013-05-03 Andreas Jaeger <aj@suse.de>
57985
57986 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
57987 Linux 3.9.
57988 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
57989 (PF_MAX): Adjust for VSOCK change.
57990
57991 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57992
57993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57994
57995 2013-05-02 Carlos O'Donell <carlos@redhat.com>
57996
57997 [BZ #15264]
57998 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
57999 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
58000 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
58001
58002 2013-05-02 David S. Miller <davem@davemloft.net>
58003
58004 * sysdeps/sparc/fpu/libm-test-ulps: Update.
58005
58006 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
58007
58008 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
58009
58010 2013-05-01 Roland McGrath <roland@hack.frob.com>
58011
58012 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
58013
58014 2013-05-01 Richard Smith <richard@metafoo.co.uk>
58015
58016 [BZ #14952]
58017 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
58018 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
58019 Use __attribute__ ((__gnu_inline__)).
58020 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
58021 Don't use __attribute__ ((__gnu_inline__)).
58022
58023 2013-05-01 Joseph Myers <joseph@codesourcery.com>
58024
58025 [BZ #15423]
58026 * math/s_catan.c (__catan): Handle small real or imaginary part of
58027 input specially to avoid spurious underflow.
58028 * math/s_catanf.c (__catanf): Likewise.
58029 * math/s_catanh.c (__catanh): Likewise.
58030 * math/s_catanhf.c (__catanhf): Likewise.
58031 * math/s_catanhl.c (__catanhl): Likewise.
58032 * math/s_catanl.c (__catanl): Likewise.
58033 * math/libm-test.inc (catan_test): Add more tests.
58034 (catanh_test): Likewise.
58035 * sysdeps/i386/fpu/libm-test-ulps: Update.
58036 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58037
58038 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58039
58040 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58041
58042 2013-04-30 Joseph Myers <joseph@codesourcery.com>
58043
58044 [BZ #15416]
58045 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
58046 accurately for denominator in atan2.
58047 * math/s_catanf.c (__catanf): Likewise.
58048 * math/s_catanh.c (__catanh): Likewise.
58049 * math/s_catanhf.c (__catanhf): Likewise.
58050 * math/s_catanhl.c (__catanhl): Likewise.
58051 * math/s_catanl.c (__catanl): Likewise.
58052 * math/libm-test.inc (catan_test): Add more tests.
58053 (catanh_test): Likewise.
58054 * sysdeps/i386/fpu/libm-test-ulps: Update.
58055 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58056
58057 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
58058
58059 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
58060
58061 * benchtests/Makefile (bench): Remove slow benchmarks.
58062 * benchtests/atan-inputs: Add slow benchmark inputs.
58063 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
58064 (BENCH_FUNC): Accept variant offset.
58065 (VARIANT): Define.
58066 * benchtests/bench-skeleton.c (main): Run benchmark for each
58067 variant.
58068 * benchtests/cos-inputs: Add slow benchmark inputs.
58069 * benchtests/exp-inputs: Likewise.
58070 * benchtests/pow-inputs: Likewise.
58071 * benchtests/sin-inputs: Likewise.
58072 * benchtests/slowatan-inputs: Remove.
58073 * benchtests/slowatan.c: Remove.
58074 * benchtests/slowcos-inputs: Remove.
58075 * benchtests/slowcos.c: Remove.
58076 * benchtests/slowexp-inputs: Remove.
58077 * benchtests/slowexp.c: Remove.
58078 * benchtests/slowpow-inputs: Remove.
58079 * benchtests/slowpow.c: Remove.
58080 * benchtests/slowsin-inputs: Remove.
58081 * benchtests/slowsin.c: Remove.
58082 * benchtests/slowtan-inputs: Remove.
58083 * benchtests/slowtan.c: Remove.
58084 * benchtests/tan-inputs: Add slow benchmark inputs.
58085 * scripts/bench.pl: Parse comments and directives.
58086
58087 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
58088 in CPPFLAGS.
58089 ($(objpfx)bench-%.c): Remove *-ITER.
58090 * benchtests/bench-modf.c: Remove definition of ITER.
58091 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
58092 (main): Loop for DURATION seconds instead of fixed number of
58093 iterations.
58094 * scripts/bench.pl: Don't expect iterations in parameters.
58095
58096 2013-04-29 Roland McGrath <roland@hack.frob.com>
58097
58098 * io/fchdir.c (__fchdir): Renamed from fchdir.
58099 (fchdir): Define as weak alias.
58100
58101 2013-04-29 Joseph Myers <joseph@codesourcery.com>
58102
58103 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
58104 (ERRNO_EDOM): Likewise.
58105 (ERRNO_ERANGE): Likewise.
58106 (noErrnoTests): New variable.
58107 (init_max_error): Set errno to 0.
58108 (test_single_errno): New function.
58109 (test_errno): Likewise.
58110 (check_float_internal): Call test_errno. Set errno to 0.
58111 (check_complex): Refer to errno tests in comment.
58112 (check_int): Call test_errno. Set errno to 0.
58113 (check_long): Likewise.
58114 (check_bool): Likewise.
58115 (check_longlong): Likewise.
58116 (cos_test): Use ERRNO_* flags for errno tests instead of
58117 check_int.
58118 (expm1_test): Likewise.
58119 (fmod_test): Likewise.
58120 (ilogb_test): Likewise.
58121 (lgamma_test): Likewise.
58122 (pow_test): Likewise.
58123 (remainder_test): Likewise.
58124 (sin_test): Likewise.
58125 (tan_test): Likewise.
58126 (yn_test): Likewise.
58127 (initialize): Set errno to 0.
58128 (main): Print number of errno tests.
58129 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
58130
58131 2013-04-29 Andreas Jaeger <aj@suse.de>
58132
58133 [BZ #15084]
58134 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
58135 and RES_USEVC.
58136
58137 [BZ #15085]
58138 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
58139 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
58140 unimplemented.
58141
58142 [BZ #15380]
58143 * stdlib/random.c (__initstate): Return NULL if
58144 __initstate fails.
58145
58146 [BZ #15086]
58147 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
58148 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
58149 RES_SNGLKUPREOP.
58150
58151 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58152
58153 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58154
58155 2013-04-29 Joseph Myers <joseph@codesourcery.com>
58156
58157 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
58158 of individual tests.
58159 (casin_test): Likewise.
58160 (casinh_test): Likewise.
58161
58162 2013-04-27 Joseph Myers <joseph@codesourcery.com>
58163
58164 [BZ #15409]
58165 * math/s_catan.c (__catan): Handle arguments with large real or
58166 imaginary part separately without squaring.
58167 * math/s_catanf.c (__catanf): Likewise.
58168 * math/s_catanh.c (__catanh): Likewise.
58169 * math/s_catanhf.c (__catanhf): Likewise.
58170 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
58171 and redefine.
58172 (__catanhl): Handle arguments with large real or imaginary part
58173 separately without squaring.
58174 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
58175 and redefine.
58176 (__catanl): Handle arguments with large real or imaginary part
58177 separately without squaring.
58178 * math/libm-test.inc (catan_test): Add more tests.
58179 (catanh_test): Likewise.
58180 * sysdeps/i386/fpu/libm-test-ulps: Update.
58181 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58182
58183 2013-04-27 Andreas Jaeger <aj@suse.de>
58184
58185 [BZ #15007]
58186 * stdlib/stdlib.h: Update guards for qecvt.
58187 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
58188 <stdlib.h>.
58189
58190 2013-04-27 Allan McRae <allan@archlinux.org>
58191
58192 * sysdeps/i386/fpu/libm-test-ulps: Update.
58193
58194 2013-04-26 Joseph Myers <joseph@codesourcery.com>
58195
58196 [BZ #15406]
58197 * math/s_catan.c: Include <float.h>.
58198 (__catan): Ensure underflow exception occurs for underflowed
58199 result.
58200 * math/s_catanf.c: Include <float.h>.
58201 (__catanf): Ensure underflow exception occurs for underflowed
58202 result.
58203 * math/s_catanh.c: Include <float.h>.
58204 (__catanh): Ensure underflow exception occurs for underflowed
58205 result.
58206 * math/s_catanhf.c: Include <float.h>.
58207 (__catanhf): Ensure underflow exception occurs for underflowed
58208 result.
58209 * math/s_catanhl.c: Include <float.h>.
58210 (__catanhl): Ensure underflow exception occurs for underflowed
58211 result.
58212 * math/s_catanl.c: Include <float.h>.
58213 (__catanl): Ensure underflow exception occurs for underflowed
58214 result.
58215 * math/libm-test.inc (catan_test): Add more tests.
58216 (catanh_test): Likewise.
58217
58218 [BZ #15405]
58219 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
58220 underflowed result.
58221 * math/s_ccoshf.c (__ccoshf): Likewise.
58222 * math/s_ccoshl.c (__ccoshl): Likewise.
58223 * math/s_csin.c (__csin): Likewise.
58224 * math/s_csinf.c (__csinf): Likewise.
58225 * math/s_csinh.c (__csinh): Likewise.
58226 * math/s_csinhf.c (__csinhf): Likewise.
58227 * math/s_csinhl.c (__csinhl): Likewise.
58228 * math/s_csinl.c (__csinl): Likewise.
58229 * math/libm-test.inc (ccos_test): Add more tests.
58230 (ccosh_test): Likewise.
58231 (csin_test): Likewise.
58232 (csinh_test): Likewise.
58233
58234 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58235
58236 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
58237 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
58238 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
58239 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
58240 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
58241 powerpc/power5+/fpu folders.
58242 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
58243
58244
58245 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
58246
58247 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58248
58249 2013-04-25 Joseph Myers <joseph@codesourcery.com>
58250
58251 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
58252 additions to variable.
58253 [$(config-machine) = x86_64] (modules-names): Likewise.
58254 ($(objpfx)tst-audit3): Remove dependency.
58255 ($(objpfx)tst-audit3.out): Likewise.
58256 ($(objpfx)tst-audit4): Likewise.
58257 ($(objpfx)tst-audit4.out): Likewise.
58258 ($(objpfx)tst-audit5): Likewise.
58259 ($(objpfx)tst-audit5.out): Likewise.
58260 ($(objpfx)tst-audit6): Likewise.
58261 ($(objpfx)tst-audit6.out): Likewise.
58262 ($(objpfx)tst-audit7): Likewise.
58263 ($(objpfx)tst-audit7.out): Likewise.
58264 (tst-audit3-ENV): Remove variable.
58265 (tst-audit4-ENV): Likewise.
58266 (tst-audit5-ENV): Likewise.
58267 (tst-audit6-ENV): Likewise.
58268 (tst-audit7-ENV): Likewise.
58269 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
58270 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
58271 addition to variable.
58272 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
58273 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
58274 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
58275 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
58276 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
58277 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
58278 tst-audit3, tst-audit4 and tst-audit5.
58279 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
58280 tst-audit6 and tst-audit7.
58281 [$(subdir) = elf] (modules-names): Add audit modules for those
58282 tests.
58283 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
58284 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
58285 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
58286 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
58287 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
58288 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
58289 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
58290 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
58291 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
58292 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
58293 [$(subdir) = elf] (tst-audit3-ENV): New variable.
58294 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
58295 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
58296 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
58297 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
58298 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
58299 Likewise.
58300 [$(subdir) = elf && $(config-cflags-avx) = yes]
58301 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
58302 [$(subdir) = elf && $(config-cflags-avx) = yes]
58303 (CFLAGS-tst-auditmod4a.c): Likewise.
58304 [$(subdir) = elf && $(config-cflags-avx) = yes]
58305 (CFLAGS-tst-auditmod4b.c): Likewise.
58306 [$(subdir) = elf && $(config-cflags-avx) = yes]
58307 (CFLAGS-tst-auditmod6b.c): Likewise.
58308 [$(subdir) = elf && $(config-cflags-avx) = yes]
58309 (CFLAGS-tst-auditmod6c.c): Likewise.
58310 [$(subdir) = elf && $(config-cflags-avx) = yes]
58311 (CFLAGS-tst-auditmod7b.c): Likewise.
58312 * elf/tst-audit3.c: Move to ...
58313 * sysdeps/x86_64/tst-audit3.c: ... here.
58314 * elf/tst-audit4.c: Move to ...
58315 * sysdeps/x86_64/tst-audit4.c: ... here.
58316 * elf/tst-audit5.c: Move to ...
58317 * sysdeps/x86_64/tst-audit5.c: ... here.
58318 * elf/tst-audit6.c: Move to ...
58319 * sysdeps/x86_64/tst-audit6.c: ... here.
58320 * elf/tst-audit7.c: Move to ...
58321 * sysdeps/x86_64/tst-audit7.c: ... here.
58322 * elf/tst-auditmod3a.c: Move to ...
58323 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
58324 * elf/tst-auditmod3b.c: Move to ...
58325 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
58326 * elf/tst-auditmod4a.c: Move to ...
58327 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
58328 * elf/tst-auditmod4b.c: Move to ...
58329 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
58330 * elf/tst-auditmod5a.c: Move to ...
58331 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
58332 * elf/tst-auditmod5b.c: Move to ...
58333 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
58334 * elf/tst-auditmod6a.c: Move to ...
58335 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
58336 * elf/tst-auditmod6b.c: Move to ...
58337 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
58338 * elf/tst-auditmod6c.c: Move to ...
58339 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
58340 * elf/tst-auditmod7a.c: Move to ...
58341 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
58342 * elf/tst-auditmod7b.c: Move to ...
58343 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
58344
58345 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
58346
58347 [BZ #15366]
58348 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
58349 define unconditionally.
58350 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
58351 define unconditionally.
58352 (INT8_C, INT16_C, etc.): Likewise.
58353
58354 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
58355
58356 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
58357 __ehdr_start with hidden visibility.
58358
58359 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
58360
58361 2013-04-24 Carlos O'Donell <carlos@redhat.com>
58362
58363 * math/libm-test.inc (cos_test): Use accurate hex constants.
58364 (sincost_test): Likewise.
58365
58366 2013-04-24 Joseph Myers <joseph@codesourcery.com>
58367
58368 * math/libm-test.inc (catan_test): Add more tests.
58369 (catanh_test): Likewise.
58370
58371 * math/s_catanf.c (__catanf): Use suffixed floating-point
58372 constants.
58373 * math/s_catanhf.c (__catanhf): Likewise.
58374 * math/s_catanhl.c (__catanhl): Likewise.
58375 * math/s_catanl.c (__catanl): Likewise.
58376
58377 [BZ #15394]
58378 * math/s_catan.c (__catan): Calculate imaginary part of result
58379 with log1p not log unless computing log of number close to 0.
58380 * math/s_catanf.c (__catanf): Likewise.
58381 * math/s_catanl.c (__catanl): Likewise.
58382 * math/s_catanh.c (__catanh): Calculate real part of result with
58383 log1p not log unless computing log of number close to 0.
58384 * math/s_catanhf.c (__catanhf): Likewise.
58385 * math/s_catanhl.c (__catanhl): Likewise.
58386 * math/libm-test.inc (catan_test): Add more tests.
58387 (catanh_test): Likewise.
58388 * sysdeps/i386/fpu/libm-test-ulps: Update.
58389 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58390
58391 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
58392
58393 * benchtests/Makefile: Mention files in which fast and slow
58394 paths of math functions are implemented.
58395
58396 2013-04-23 Roland McGrath <roland@hack.frob.com>
58397
58398 * sysdeps/posix/timespec_get.c: New file.
58399
58400 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58401
58402 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
58403 POWER.
58404 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
58405 for POWER.
58406 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
58407 powerpc/power5/fpu folders.
58408 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
58409 * benchtests/Makefile: Add modf testcase.
58410 * benchtests/bench-modf.c: New file: Benchmark test for mo
58411
58412 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
58413
58414 [BZ #14888]
58415 * time/Makefile (tests): Add tst-strptime-whitespace.
58416 * time/strptime_l.c (get_number): Use ISSPACE.
58417 (__strptime_internal): Likewise.
58418 * time/tst-strptime-whitespace.c: New test case.
58419
58420 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
58421
58422 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
58423 member.
58424 (_nss_files_init): Set it here.
58425
58426 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
58427
58428 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
58429 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
58430 unsigned.
58431
58432 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
58433
58434 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
58435
58436 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
58437
58438 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
58439 size just once.
58440
58441 2013-04-21 David S. Miller <davem@davemloft.net>
58442
58443 * po/ru.po: Update Russion translation from translation project.
58444
58445 2013-04-17 Adam Conrad <adconrad@0c3.net>
58446
58447 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
58448 and setfsgid.
58449
58450 2013-04-17 Carlos O'Donell <carlos@redhat.com>
58451
58452 * configure.in: Remove i386 configure warning. Remove i386 case.
58453 * configure: Regenerate.
58454 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
58455 Add example to error message.
58456 * sysdeps/i386/configure: Regenerate.
58457
58458 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
58459
58460 * benchtests/Makefile (bench): Add cos, tan, slowcos and
58461 slowtan.
58462 * benchtests/cos-inputs: New file.
58463 * benchtests/slowcos-inputs: New file.
58464 * benchtests/slowcos.c: New file.
58465 * benchtests/slowtan-inputs: New file.
58466 * benchtests/slowtan.c: New file.
58467 * benchtests/tan-inputs: New file.
58468
58469 2013-04-16 Roland McGrath <roland@hack.frob.com>
58470
58471 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
58472 considered kosher.
58473
58474 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58475
58476 * benchtests/Makefile: Include cppflags-iterator.mk to add
58477 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
58478
58479 * Makefile.in (bench-clean): New target.
58480 * benchtests/Makefile (bench-clean): Likewise.
58481
58482 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
58483
58484 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
58485
58486 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
58487
58488 * stdio-common/tstdiomisc.c: Fix coding-style violation.
58489
58490 2013-04-15 Andreas Schwab <schwab@suse.de>
58491
58492 * nscd/grpcache.c (cache_addgr): Properly check for short write.
58493 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58494 * nscd/pwdcache.c (cache_addpw): Likewise.
58495 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
58496 more than recsize.
58497
58498 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58499
58500 * benchtests/Makefile (bench): Write all output to
58501 bench-out.tmp together.
58502
58503 2013-04-15 Andreas Schwab <schwab@suse.de>
58504
58505 * nscd/nscd.c (main): Don't fork again after closing files.
58506
58507 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58508
58509 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
58510
58511 * benchtests/Rules (bench-deps): Collect dependencies into a
58512 single variable. Add Makefile to dependencies.
58513 ($(objpfx)bench-%.c): Depend on bench-deps.
58514
58515 2013-04-12 Roland McGrath <roland@hack.frob.com>
58516 Xavier Roche <roche+kml2@exalead.com>
58517
58518 [BZ #15361]
58519 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
58520 just that it's a file descriptor.
58521 * manual/llio.texi (Synchronizing AIO Operations): Update description
58522 for EBADF error from aio_fsync.
58523
58524 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
58525
58526 * Rules (bench): Move target definition...
58527 * benchtests/Makefile: ... here.
58528
58529 2013-04-11 Carlos O'Donell <carlos@redhat.com>
58530
58531 * math/libm-test.inc (cos_test): Fix PI/2 test.
58532 (sincos_test): Likewise.
58533 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
58534 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
58535
58536 2013-04-11 Andreas Schwab <schwab@suse.de>
58537
58538 [BZ #13988]
58539 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
58540 accept exponent character only when digits were seen.
58541 * stdio-common/Makefile (tests): Add bug26.
58542 * stdio-common/bug26.c: New file.
58543
58544 [BZ #14293]
58545 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
58546 non-freeable.
58547
58548 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
58549
58550 * Makeconfig (rtld-prefix): Define built linker prefix.
58551 * Rules (run-bench): Use it.
58552 * math/Makefile (run-regen-ulps): Likewise.
58553
58554 * Rules (bench): Remove eval.
58555
58556 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
58557 Roland McGrath <roland@hack.frob.com>
58558 Ondrej Bilka <neleai@seznam.cz>
58559
58560 [BZ #15346]
58561 * time/getdate.c: Include ctype.h and alloca.h.
58562 (__getdate_r): Trim leading and trailing spaces of input.
58563 * time/tst-getdate.c (tests): Add tests with leading and
58564 trailing spaces.
58565
58566 2013-04-08 Roland McGrath <roland@hack.frob.com>
58567
58568 [BZ #14280]
58569 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
58570 when computing value.
58571
58572 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58573
58574 * math/README.libm-test (How can I generate "libm-test-ulps"?):
58575 Use testrun.sh to run libm tests.
58576
58577 [BZ #15309]
58578 * elf/dl-open.c (dl_open_worker): memset all of seen array.
58579
58580 2013-04-06 Marko Myllynen <myllynen@redhat.com>
58581
58582 [BZ #15264]
58583 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
58584
58585 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58586
58587 * Makefile.in (regen-ulps): New target.
58588 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
58589 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
58590 [ifneq (no,$(PERL)] (regen-ulps): New target.
58591 [ifeq (no,$(PERL)] (regen-ulps): New target.
58592 * math/libm-test.inc (ulps_file_name): Define.
58593 (output_dir): New variable.
58594 (options): Add "output-dir" option.
58595 (parse_opt): Handle 'o' case.
58596 (main): If output_dir is non-NULL use it as a prefix
58597 otherwise use "".
58598 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
58599
58600 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58601
58602 [BZ #10060, #10062]
58603 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
58604 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
58605 fail configure if __sync_val_compare_and_swap is not inlined.
58606 * sysdeps/i386/configure: Regenerate.
58607 * configure.in: Build for i686 when configured for i386.
58608 * configure: Regenerate.
58609 * README: Remove i386 reference.
58610
58611 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58612
58613 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
58614 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58615
58616 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
58617
58618 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
58619 (lmsnanval): New variables.
58620 (F): Add conversion tests.
58621 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
58622 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
58623
58624 * stdio-common/tstdiomisc.c (F): Properly collect individual
58625 tests' results.
58626
58627 [BZ #14686, #15336]
58628 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
58629 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
58630 Instead, use input NaN values or generate a qNaN by arithmetic
58631 operation. Also fix bugs to comply with the standard.
58632 * math/libm-test.inc (remainder_test): Add more tests.
58633
58634 [BZ #15335, #15342]
58635 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
58636 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
58637 input NaN values or generate a qNaN by arithmetic operation.
58638
58639 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
58640 unreachable code.
58641
58642 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
58643 definitions.
58644
58645 2013-04-03 Joseph Myers <joseph@codesourcery.com>
58646
58647 [BZ #14478]
58648 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
58649 underflowed result.
58650 * math/s_cexpf.c (__cexpf): Likewise.
58651 * math/s_cexpl.c (__cexpl): Likewise.
58652 * math/libm-test.inc (cexp_test): Add more tests.
58653
58654 2013-04-03 Andreas Schwab <schwab@suse.de>
58655
58656 [BZ #15330]
58657 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
58658 order arrays from heap if bigger than alloca cutoff.
58659
58660 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
58661
58662 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
58663 (SNAN_TESTS_double): Refer to GCC PR56831.
58664 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
58665 GCC PR56828.
58666
58667 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
58668
58669 * Rules (bench): Move bench.out after the run is complete.
58670
58671 * Rules (bench): Echo currently running benchmark.
58672
58673 * benchtests/Makefile (bench): Add atan and slowatan.
58674 * benchtests/atan-inputs: New file.
58675 * benchtests/slowatan-inputs: New file.
58676 * benchtests/slowatan.c: New file.
58677
58678 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
58679 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
58680 its value.
58681
58682 [BZ #15305]
58683 * sysdeps/unix/sysv/linux/kernel-features.h
58684 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
58685 __ASSUME_XFS_RESTRICTED_CHOWN.
58686 * sysdeps/unix/sysv/linux/pathconf.c
58687 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
58688 Save and restore errno.
58689
58690 2013-04-02 Joseph Myers <joseph@codesourcery.com>
58691
58692 [BZ #15327]
58693 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
58694 arguments using __kernel_casinh.
58695 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
58696 arguments using __kernel_casinhf.
58697 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
58698 arguments using __kernel_casinhl.
58699 * math/libm-test.inc (cacosh_test): Add more tests.
58700 * sysdeps/i386/fpu/libm-test-ulps: Update.
58701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58702
58703 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
58704
58705 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
58706 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
58707
58708 * bench/Makefile (bench): Add sin and slowsin.
58709 * benchtests/sin-inputs: New file.
58710 * benchtests/slowsin-inputs: New file.
58711 * benchtests/slowsin.c: New file.
58712
58713 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
58714 (bench): Add slowexp and slowpow.
58715 (exp-ITER): Increase iterations.
58716 (pow-ITER): Likewise.
58717 * benchtests/exp-inputs: Change input.
58718 * benchtests/pow-inputs: Likewise.
58719 * benchtests/slowexp-inputs: New file.
58720 * benchtests/slowexp.c: New file.
58721 * benchtests/slowpow-inputs: New file.
58722 * benchtests/slowpow.c: New file.
58723
58724 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58725
58726 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
58727 instructions.
58728 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58729 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
58730 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
58731 * benchtests/Makefile: Add rint benchtest.
58732 * benchtests/rint-inputs: Input for rint benchtest.
58733
58734 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
58735
58736 * Versions.def (libm): Add GLIBC_2.18.
58737 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
58738 hidden libm prototypes.
58739 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
58740 * math/Makefile (libm-calls): Add s_issignaling.
58741 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
58742 __issignalingf, __issignalingl. Adjust all libm.abilist files.
58743 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
58744 declaration.
58745 * math/math.h [__USE_GNU] (issignaling): New macro.
58746 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
58747 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
58748 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
58749 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
58750 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
58751 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
58752 * manual/arith.texi (issignaling): New section.
58753 * manual/libm-err-tab.pl (@all_functions): Update comment.
58754 * math/gen-libm-test.pl (parse_args): Apply special handling for
58755 issignaling.
58756 * math/libm-test.inc (print_float, issignaling_test): New
58757 functions.
58758 (check_float_internal): Add issignaling checks.
58759 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
58760 default definition.
58761 * sysdeps/powerpc/math-tests.h: New file.
58762 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
58763 tests.
58764 * math/test-snan.c (TEST_FUNC): Likewise.
58765
58766 2013-03-30 David S. Miller <davem@davemloft.net>
58767
58768 * po/de.po: Update from translation team.
58769
58770 2013-03-30 Joseph Myers <joseph@codesourcery.com>
58771
58772 [BZ #10357]
58773 * math/k_casinh.c (__kernel_casinh): Handle arguments with
58774 imaginary part less than 1.0 and real part less than 0.5
58775 specially.
58776 * math/k_casinhf.c (__kernel_casinhf): Likewise.
58777 * math/k_casinhl.c (__kernel_casinhl): Likewise.
58778 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
58779 (cacos_test): Add more tests.
58780 (casin_test): Likewise.
58781 (casinh_test): Likewise.
58782 * sysdeps/i386/fpu/libm-test-ulps: Update.
58783 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58784
58785 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
58786
58787 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
58788 ONE with its value.
58789
58790 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
58791 (__pow_mp): Replace ONE and MONE with their values.
58792 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58793 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
58794 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58795 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
58796 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58797 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58798
58799 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
58800
58801 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
58802 (__pow_mp): Replace ZERO and MZERO with their values.
58803 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58804 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58805 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58806 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58807 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58808 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
58809 (__sqr): Likewise.
58810
58811 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
58812
58813 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
58814
58815 2013-03-28 Roland McGrath <roland@hack.frob.com>
58816
58817 * include/stdlib.h [!SHARED] (__call_tls_dtors):
58818 Declare with __attribute__ ((weak)).
58819 * stdlib/exit.c (__libc_atexit) [!SHARED]:
58820 Call __call_tls_dtors only if it's not NULL.
58821
58822 2013-03-28 Roland McGrath <roland@hack.frob.com>
58823
58824 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
58825 didn't do it already, then set _dl_phdr and _dl_phnum based on the
58826 magic __ehdr_start linker symbol if it's defined.
58827 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
58828 them up here if it was already done.
58829
58830 * elf/dl-support.c (_dl_phdr): Make pointer to const.
58831 (_dl_aux_init): Use const in cast when setting it.
58832 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
58833 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
58834 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
58835
58836 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
58837 Declare them here.
58838 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
58839 * csu/libc-tls.c: Nor here.
58840 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
58841
58842 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
58843 (__libc_message): Never call vsyslog.
58844
58845 2013-03-28 Alan Modra <amodra@gmail.com>
58846
58847 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
58848 Define as empty.
58849 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
58850 Likewise.
58851
58852 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58853
58854 [BZ #15214]
58855 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
58856 underflow.
58857 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58858
58859 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58860
58861 [BZ #15304]
58862 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
58863 Don't add gid passed as argument.
58864
58865 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
58866
58867 2013-03-27 Joseph Myers <joseph@codesourcery.com>
58868
58869 [BZ #15307]
58870 * math/k_casinh.c (__kernel_casinh): Handle arguments with
58871 imaginary part between 1.0 and 1.5 and real part less than 0.5
58872 specially.
58873 * math/k_casinhf.c (__kernel_casinhf): Likewise.
58874 * math/k_casinhl.c (__kernel_casinhl): Likewise.
58875 * math/libm-test.inc (cacos_test): Add more tests.
58876 (casin_test): Likewise.
58877 (casinh_test): Likewise.
58878 * sysdeps/i386/fpu/libm-test-ulps: Update.
58879 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58880
58881 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
58882
58883 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
58884 constants.
58885 (norm): Likewise.
58886 (denorm): Likewise.
58887 (__dbl_mp): Likewise.
58888 (add_magnitudes): Likewise.
58889 (sub_magnitudes): Likewise.
58890 (__add): Likewise.
58891 (__sub): Likewise.
58892 (__mul): Likewise.
58893 (__sqr): Likewise.
58894 (__inv): Likewise.
58895 (__dvd): Likewise.
58896
58897 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
58898 commented code.
58899 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
58900 (__dubcos): Likewise.
58901 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
58902 (__ieee754_acos): Likewise.
58903 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58904 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
58905 (__exp1): Likewise.
58906 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58907 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
58908 (log1): Likewise.
58909 (my_log2): Likewise.
58910 (checkint): Likewise.
58911 * sysdeps/ieee754/dbl-64/e_remainder.c
58912 (__ieee754_remainder): Likewise.
58913 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58914 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
58915 (bsloww): Likewise.
58916 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58917
58918 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58919 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
58920 MANTISSA_STORE_T to store computations on mantissa. Use
58921 macros for rounding and division.
58922 (denorm): Likewise.
58923 (__dbl_mp): Likewise.
58924 (add_magnitudes): Likewise.
58925 (sub_magnitudes): Likewise.
58926 (__mul): Likewise.
58927 (__sqr): Likewise.
58928 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
58929 powers of two in terms of TWOPOW macro.
58930 (mp_no): Make type of mantissa as MANTISSA_T.
58931 [!RADIXI]: Define RADIXI.
58932 [!TWO52]: Define TWO52.
58933 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58934
58935 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58936
58937 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
58938 llroundl symbol when building for PPC32.
58939
58940 2013-03-24 Mark H Weaver <mhw@netris.org>
58941
58942 * manual/arith.texi (Normalization Functions): Fix prototypes for
58943 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
58944
58945 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58946
58947 [BZ #13889]
58948 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
58949 high value to check if expl overflow.
58950 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
58951 to check for underflow and overflow.
58952 * math/libm-test.inc: Add exp test.
58953
58954 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
58955
58956 [BZ #11120]
58957 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
58958 with NOT_IN_libc.
58959
58960 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58961
58962 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
58963 symbol.
58964
58965 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
58966
58967 * math/gen-libm-test.pl (parse_args, special_functions): Properly
58968 wrap blocks consisting of several statements.
58969
58970 * sysdeps/generic/math-tests.h: New file.
58971 * sysdeps/i386/fpu/math-tests.h: Likewise.
58972 * math/test-snan.c: Include it.
58973 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
58974
58975 2013-03-21 Joseph Myers <joseph@codesourcery.com>
58976
58977 [BZ #15285]
58978 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
58979 (__ieee754_j0l): Do not improve calculations using cos of twice
58980 input for inputs above LDBL_MAX / 2.0L.
58981 (__ieee754_y0l): Likewise.
58982 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
58983 (__ieee754_j1l): Do not improve calculations using cos of twice
58984 input for inputs above LDBL_MAX / 2.0L.
58985 (__ieee754_y1l): Likewise.
58986 * math/libm-test.inc (j0_test): Add another test.
58987 (j1_test): Likewise.
58988 (y0_test): Likewise.
58989 (y1_test): Likewise.
58990 * sysdeps/i386/fpu/libm-test-ulps: Update.
58991
58992 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
58993
58994 * Rules ($(objpfx)bench-%.c): Include code from a C source
58995 file.
58996
58997 2013-03-21 Joseph Myers <joseph@codesourcery.com>
58998
58999 [BZ #15287]
59000 * math/k_casinh.c (__kernel_casinh): Handle arguments with
59001 imaginary part 1.0 and real part less than 0.5 specially.
59002 * math/k_casinhf.c (__kernel_casinhf): Likewise.
59003 * math/k_casinhl.c (__kernel_casinhl): Likewise.
59004 * math/libm-test.inc (cacos_test): Add more tests.
59005 (casin_test): Likewise.
59006 (casinh_test): Likewise.
59007 * sysdeps/i386/fpu/libm-test-ulps: Update.
59008 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59009
59010 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
59011
59012 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
59013 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
59014
59015 2013-03-20 Joseph Myers <joseph@codesourcery.com>
59016
59017 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
59018 * config.make.in (config-cflags-sse4): Remove variable.
59019 (config-cflags-avx): Likewise.
59020 (config-cflags-sse2avx): Likewise.
59021 (config-cflags-novzeroupper): Likewise.
59022 (config-asflags-i686): Likewise.
59023 (have-mfma4): Likewise.
59024 (have-as-vis3): Likewise.
59025 (MIG): Likewise.
59026 * configure.in (MIG): Do not AC_SUBST.
59027 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
59028 (libc_cv_cc_sse4): Do not AC_SUBST.
59029 (libc_cv_cc_avx): Likewise.
59030 (libc_cv_cc_sse2avx): Likewise.
59031 (libc_cv_cc_novzeroupper): Likewise.
59032 (libc_cv_cc_fma4): Likewise.
59033 (libc_cv_as_i686): Likewise.
59034 (libc_cv_sparc_as_vis3): Likewise.
59035 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
59036 LIBC_CONFIG_VAR.
59037 (config-asflags-i686): Likewise.
59038 (config-cflags-avx): Likewise.
59039 (config-cflags-sse2avx): Likewise.
59040 (have-mfma4): Likewise.
59041 (config-cflags-novzeroupper): Likewise.
59042 * sysdeps/mach/configure.in (MIG): Likewise.
59043 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
59044 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
59045 LIBC_CONFIG_VAR.
59046 (config-cflags-avx): Likewise.
59047 (config-cflags-sse2avx): Likewise.
59048 (have-mfma4): Likewise.
59049 (config-cflags-novzeroupper): Likewise.
59050 * configure: Regenerated.
59051 * sysdeps/i386/configure: Likewise.
59052 * sysdeps/mach/configure: Likewise.
59053 * sysdeps/sparc/configure: Likewise.
59054 * sysdeps/x86_64/configure: Likewise.
59055
59056 2013-03-20 Roland McGrath <roland@hack.frob.com>
59057
59058 [BZ #14812]
59059 * locale/programs/localedef.c (options): Put N_ translation marker
59060 on argument names, not just descriptions.
59061
59062 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
59063
59064 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
59065
59066 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
59067
59068 [BZ #14176]
59069 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
59070
59071 2013-03-19 Roland McGrath <roland@hack.frob.com>
59072
59073 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
59074 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
59075 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
59076 [!BEFORE_ABORT] (before_abort): New function.
59077 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
59078 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
59079 (writev_for_fatal): New function.
59080 (WRITEV_FOR_FATAL): New macro; call that.
59081 (backtrace_and_maps): New function.
59082 (BEFORE_ABORT): New macro; call that.
59083 (struct str_list): Type removed.
59084 (__libc_message, __libc_fatal): Functions removed.
59085 Include <sysdeps/posix/libc_fatal.c> instead.
59086
59087 2013-03-19 Joseph Myers <joseph@codesourcery.com>
59088
59089 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
59090 constants.
59091 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
59092 double constants.
59093
59094 2013-03-19 Andreas Schwab <schwab@suse.de>
59095
59096 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
59097 * sysdeps/gnu/configure: Regenerate.
59098
59099 * configure.in: Substitute libc_cv_rtlddir.
59100 * configure: Regenerate.
59101 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
59102 * Makeconfig (rtlddir, inst_rtlddir): New variables.
59103 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
59104 * elf/Makefile (install-others, CFLAGS-interp.c)
59105 (ldso_install, common-ldd-rewrite): Likewise.
59106 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
59107 $(inst_slibdir)/$(rtld-installed-name).
59108 * scripts/rellns-sh: Add -p option.
59109 * Makerules (make-shlib-link): Use rellns-sh to get relative name
59110 for source.
59111
59112 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
59113
59114 * manual/nptl.texi: Renamed to ...
59115 * manual/threads.texi: ... this.
59116 * manual/Makefile (chapters): Update.
59117
59118 2013-03-18 Roland McGrath <roland@hack.frob.com>
59119
59120 [BZ #14812]
59121 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
59122 on argument names, not just descriptions.
59123 * malloc/memusagestat.c (options): Likewise.
59124 * nss/getent.c (options): Likewise.
59125
59126 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
59127
59128 [BZ #14812]
59129 * iconv/iconv_prog.c (options): Put N_ translation marker
59130 on argument names, not just descriptions.
59131 * iconv/iconvconfig.c (options): Likewise.
59132
59133 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
59134
59135 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
59136 implementation which is faster on all x86_64 architectures.
59137 Tested on AMD, Intel Nehalem, SNB, IVB.
59138 * sysdeps/x86_64/strnlen.S: Likewise.
59139
59140 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
59141 Remove all multiarch strlen and strnlen versions.
59142 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
59143 Remove strlen and strnlen related parts.
59144
59145 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
59146 Inline strlen part.
59147 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
59148
59149 * sysdeps/x86_64/multiarch/strlen.S: Remove.
59150 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
59151 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
59152 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
59153 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
59154 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
59155
59156 2013-03-17 Carlos O'Donell <carlos@redhat.com>
59157
59158 * manual/memory.texi (Malloc Tunable Parameters):
59159 Sort parameters alphabetically. Add comments for missing entries.
59160
59161 2013-03-17 David S. Miller <davem@davemloft.net>
59162
59163 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59164
59165 2013-03-16 Joseph Myers <joseph@codesourcery.com>
59166
59167 [BZ #15283]
59168 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
59169 for arguments at most half maximum finite value.
59170 * math/libm-test.inc (j0_test): Add more tests.
59171 (j1_test): Likewise.
59172 (y0_test): Likewise.
59173 (y1_test): Likewise.
59174 * sysdeps/i386/fpu/libm-test-ulps: Update.
59175 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59176
59177 [BZ #14155]
59178 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
59179 1 / x and functions P and Q for arguments above 0x1p256L.
59180 (__ieee754_y0l): Likewise.
59181 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
59182 (__ieee754_y1l): Likewise.
59183 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
59184 (j1_test): Likewise.
59185 (y0_test): Likewise.
59186 (y1_test): Likewise.
59187
59188 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
59189
59190 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
59191 variable.
59192
59193 2013-03-15 Roland McGrath <roland@hack.frob.com>
59194
59195 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
59196 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
59197 zero since it's initialized to EXEC_PAGESIZE.
59198
59199 * sysdeps/unix/sysv/linux/ldsodefs.h
59200 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
59201 * sysdeps/generic/ldsodefs.h: ... here.
59202
59203 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
59204
59205 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
59206
59207 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
59208 math/test-snan.c.
59209 * math/test-snan.c: Renamed from
59210 sysdeps/powerpc/fpu/test-powerpc-snan.c.
59211 * math/Makefile (tests): Add test-snan.
59212 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
59213 test-powerpc-snan.
59214
59215 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
59216 SUFFIX. Initialize qNaN_var with __builtin_nan family of
59217 functions.
59218 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
59219 __builtin_nan family of functions.
59220 * math/libm-test.inc (initialize): Initialize qnan_value with
59221 __builtin_nan family of functions.
59222 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
59223 Remove variables.
59224 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
59225 Remove functions.
59226 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
59227 storage class. Initialize qNaN_var and sNaN_var with
59228 __builtin_nan and __builtin_nans families of functions,
59229 respectively.
59230
59231 * math/libm-test.inc (acosh_test): Also test with qNaN input.
59232 (sqrt_test): Remove duplicate test with qNaN input.
59233 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
59234 (round_test, signbit_test, significand_test): Note missing +/-Inf
59235 as well as qNaN tests.
59236
59237 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
59238 qNaN_var. Fix a few strings, too.
59239 * math/libm-test.inc (nan_value): Rename to qnan_value.
59240 * math/gen-libm-test.pl (%beautify): Adjust to that.
59241 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
59242 * math/test-misc.c (main): Likewise.
59243 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
59244 to __qnan_bytes, and __qnan_union, respectively.
59245 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
59246 Likewise.
59247 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
59248 and lqnanval, respectively.
59249 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
59250 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
59251 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
59252 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
59253
59254 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
59255 * math/test-misc.c (main) [__x86_64__]: Enable test for long
59256 doubles.
59257
59258 * math/test-misc.c (main): Fix copy'n'pastos.
59259 * misc/tst-efgcvt.c (special): Likewise.
59260
59261 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
59262 Remove declarations.
59263
59264 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
59265
59266 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
59267 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
59268 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
59269 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
59270
59271 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59272
59273 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
59274 macro to return vdso values correctly in IFUNC implementations.
59275 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
59276 Optimization by using IFUNC.
59277
59278 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
59279 Richard Henderson <rth@redhat.com>
59280 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
59281
59282 * Makefile.in (bench): New target.
59283 * NEWS: Mention the benchmark framework.
59284 * Rules (bench): Likewise.
59285 (binaries-bench): Generate binaries for functions to
59286 benchmark.
59287 * benchtests/Makefile: New makefile for benchmark tests.
59288 * benchtests/bench-skeleton.c: New skeleton file for benchmark
59289 programs.
59290 * benchtests/exp-inputs: New input file for EXP function.
59291 * benchtests/pow-inputs: New input file for POW function.
59292 * scripts/bench.pl: New script to generate source files for
59293 benchmark programs.
59294
59295 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
59296
59297 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
59298 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
59299 computations on mantissa. Use macros for rounding and
59300 division.
59301 (denorm): Likewise.
59302 (__dbl_mp): Likewise.
59303 (add_magnitudes): Likewise.
59304 (sub_magnitudes): Likewise.
59305 (__mul): Likewise.
59306 (__sqr): Likewise.
59307 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
59308 powers of two in terms of TWOPOW macro.
59309 (mp_no): Make type of mantissa as MANTISSA_T.
59310 [!RADIXI]: Define RADIXI.
59311 [!TWO52]: Define TWO52.
59312 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
59313
59314 * manual/nptl.texi (cindex): Modify threads to pthreads.
59315
59316 2013-03-15 Joseph Myers <joseph@codesourcery.com>
59317
59318 * sysdeps/x86_64/preconfigure: Regenerated.
59319
59320 2013-03-14 Joseph Myers <joseph@codesourcery.com>
59321
59322 [BZ #14155]
59323 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
59324 0x1p28 and above.
59325 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
59326 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
59327 0x1p28 and above.
59328 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
59329 * math/libm-test.inc (j0_test): Do not allow one spurious
59330 underflow exception.
59331 (y1_test): Likewise.
59332
59333 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
59334
59335 * manual/Makefile (chapters): Add nptl.
59336 * manual/debug.texi (Debugging Support): Add link to Threads
59337 chapter.
59338 * manual/nptl.texi: New file.
59339
59340 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
59341
59342 2013-03-14 Petr Baudis <pasky@ucw.cz>
59343
59344 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
59345 for non-NULL pointer before the memory validity test. Pointed
59346 out by Holger Brunck <holger.brunck@keymile.com>.
59347
59348 2013-03-13 Andreas Schwab <schwab@suse.de>
59349
59350 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
59351 instead of .os.
59352
59353 2013-03-13 Joseph Myers <joseph@codesourcery.com>
59354
59355 * timezone/zic.c: Update from tzcode 2013b.
59356
59357 2013-03-12 Carlos O'Donell <carlos@redhat.com>
59358
59359 * manual/install.texi (Configuring and compiling):
59360 Mention i686 and i586.
59361 * INSTALL: Regenerate.
59362
59363 2013-03-12 Roland McGrath <roland@hack.frob.com>
59364
59365 * sysdeps/init_array/elf-init.c: New file.
59366 * csu/elf-init.c
59367 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
59368 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
59369
59370 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
59371 __gmon_start__ as global, but as static with a .preinit_array pointer.
59372 * sysdeps/init_array/gmon-start.c: New file. Use that.
59373 * sysdeps/init_array/crti.S: New file, empty except for comments.
59374 * sysdeps/init_array/crtn.S: Likewise.
59375
59376 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
59377
59378 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
59379 definining bcopy.
59380 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59381 Remove Prefer_SSE_for_memop.
59382 * sysdeps/x86_64/multiarch/init-arch.h: Remove
59383 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
59384 HAS_PREFER_SSE_FOR_MEMOP.
59385 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
59386 memset-x86-64.
59387 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59388 Remove bzero, memset ifunc support.
59389 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
59390 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
59391 * sysdeps/x86_64/multiarch/memset.S: Likewise.
59392 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59393
59394 2013-03-11 Andreas Schwab <schwab@suse.de>
59395
59396 [BZ #15234]
59397 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
59398 by SHLIB_COMPAT.
59399 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
59400 (GLIBC_2.16): Remove pthread_atfork.
59401
59402 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
59403
59404 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
59405 (ptestcases.h): Likewise.
59406
59407 2013-03-08 Roland McGrath <roland@hack.frob.com>
59408
59409 * Makeconfig ($(common-objpfx)config.status): Depend on
59410 sysdeps/*/preconfigure{,.in} too.
59411
59412 2013-03-08 Joseph Myers <joseph@codesourcery.com>
59413
59414 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
59415 (__free_hook): Use void * instead of __malloc_ptr_t.
59416 (__malloc_hook): Likewise.
59417 (__realloc_hook): Likewise.
59418 (__memalign_hook): Likewise.
59419 (__after_morecore_hook): Likewise.
59420 * malloc/arena.c (save_malloc_hook): Likewise.
59421 (save_free_hook): Likewise.
59422 * malloc/hooks.c (malloc_hook_ini): Likewise.
59423 (realloc_hook_ini): Likewise.
59424 (memalign_hook_ini): Likewise.
59425 * malloc/malloc.c (malloc_hook_ini): Likewise.
59426 (realloc_hook_ini): Likewise.
59427 (memalign_hook_ini): Likewise.
59428 (__free_hook): Likewise.
59429 (__malloc_hook): Likewise.
59430 (__realloc_hook): Likewise.
59431 (__memalign_hook): Likewise.
59432 (__libc_malloc): Likewise.
59433 (__libc_free): Likewise.
59434 (__libc_realloc): Likewise.
59435 (__libc_memalign): Likewise.
59436 (__libc_valloc): Likewise.
59437 (__libc_pvalloc): Likewise.
59438 (__libc_calloc): Likewise.
59439 (__posix_memalign): Likewise.
59440 * malloc/morecore.c (__sbrk): Likewise.
59441 (__default_morecore): Likewise.
59442
59443 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
59444
59445 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
59446 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
59447 __malloc_ptrdiff_t.
59448
59449 * malloc/malloc.h (__malloc_size_t): Remove macro.
59450 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
59451 __malloc_size_t.
59452 (old_memalign_hook): Likewise.
59453 (old_realloc_hook): Likewise.
59454 (struct hdr): Likewise.
59455 (flood): Likewise.
59456 (mallochook): Likewise.
59457 (memalignhook): Likewise.
59458 (reallochook): Likewise.
59459 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
59460 (tr_old_realloc_hook): Likewise.
59461 (tr_old_memalign_hook): Likewise.
59462 (tr_mallochook): Likewise.
59463 (tr_reallochook): Likewise.
59464 (tr_memalignhook): Likewise.
59465
59466 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59467
59468 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
59469 default_ldbl_pack and using as default implementation.
59470 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
59471 implementation.
59472 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
59473 redundant definition.
59474 (ldbl_insert_mantissa): Likewise.
59475 (ldbl_canonicalize): Likewise.
59476 (ldbl_nearbyint): Likewise.
59477 (ldbl_pack): Rename to ldbl_pack_ppc.
59478 (ldbl_unpack): Rename to ldbl_unpack_ppc.
59479 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
59480 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
59481
59482 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
59483
59484 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
59485 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
59486 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
59487 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
59488 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
59489 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
59490 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
59491 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
59492
59493 2013-03-07 Andreas Jaeger <aj@suse.de>
59494
59495 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59496 bits/mman-linux.h.
59497
59498 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
59499
59500 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
59501 Include mpa.h and declare __MPEXP.
59502 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
59503 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59504 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59505 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
59506 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59507 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59508 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
59509
59510 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
59511 (__slowpow): Use long double EXPL and LOGL functions to
59512 compute POW.
59513 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59514 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59515 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
59516 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59517 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59518 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
59519
59520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
59521 intermediate variable to calculate exponent.
59522 (__sqr): Likewise.
59523 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59524 Likewise.
59525 (__sqr): Likewise.
59526
59527 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
59528 [!NO__SQR]: Define __sqr.
59529 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
59530 and NO__SQR. Remove all code except __mul and __sqr. Include
59531 sysdeps/ieee754/dbl-64/mpa.c.
59532 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59533
59534 [BZ #12723]
59535 * posix/Makefile (tests): Add tst-pathconf.
59536 * posix/tst-pathconf.c: New test case.
59537 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
59538 _PC_PIPE_BUF.
59539 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
59540
59541 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
59542
59543 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
59544
59545 2013-03-06 Andreas Jaeger <aj@suse.de>
59546
59547 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
59548 definition via __MAP_ANONYMOUS.
59549
59550 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
59551 it's not part of Linux headers.
59552
59553 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
59554 (MAP_HUGE_MASK): Define.
59555
59556 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59557 Define.
59558 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59559 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59560 Define.
59561 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59562 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59563 Define.
59564 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59565 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
59566 Define.
59567 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59568
59569 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
59570 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
59571 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
59572 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
59573 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
59574 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
59575
59576 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59577 Handle f2fs.
59578
59579 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59580 Handle f2fs and efivarfs.
59581
59582 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
59583 f2fs.
59584
59585 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
59586 (EFIVARFS_MAGIC): Add.
59587 (F2FS_LINK_MAX): Add.
59588
59589 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
59590
59591 * stdio-common/vfprintf.c: Replace __builtin_expect with
59592 __glibc_unlikely.
59593
59594 2013-03-06 Joseph Myers <joseph@codesourcery.com>
59595
59596 [BZ #13550]
59597 * sysdeps/generic/bp-sym.h: Remove file.
59598 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
59599 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
59600 <bp-sym.h> and <bp-asm.h>.
59601 (__longjmp): Don't use BP_SYM.
59602 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
59603 and <bp-asm.h>.
59604 (memcpy): Don't use BP_SYM.
59605 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
59606 <bp-sym.h> and <bp-asm.h>.
59607 (memcpy): Don't use BP_SYM.
59608 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
59609 <bp-asm.h>.
59610 (memcpy): Don't use BP_SYM.
59611 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
59612 <bp-asm.h>.
59613 (memset): Don't use BP_SYM.
59614 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59615 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59616 (__bzero): Don't use BP_SYM.
59617 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59618 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59619 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
59620 <bp-sym.h> and <bp-asm.h>.
59621 (memcmp): Don't use BP_SYM. Remove comment about bounded
59622 pointers.
59623 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
59624 <bp-sym.h> and <bp-asm.h>.
59625 (memcpy): Don't use BP_SYM.
59626 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
59627 <bp-sym.h> and <bp-asm.h>.
59628 (memset): Don't use BP_SYM.
59629 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59630 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59631 (__bzero): Don't use BP_SYM.
59632 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59633 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59634 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
59635 <bp-sym.h> and <bp-asm.h>.
59636 (strncmp): Don't use BP_SYM. Remove comment about bounded
59637 pointers.
59638 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
59639 <bp-sym.h> and <bp-asm.h>.
59640 (memcpy): Don't use BP_SYM.
59641 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
59642 <bp-sym.h> and <bp-asm.h>.
59643 (memset): Don't use BP_SYM.
59644 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59645 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59646 (__bzero): Don't use BP_SYM.
59647 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59648 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59649 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
59650 <bp-sym.h> and <bp-asm.h>.
59651 (__memchr): Don't use BP_SYM.
59652 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
59653 <bp-sym.h> and <bp-asm.h>.
59654 (memcmp): Don't use BP_SYM. Remove comment about bounded
59655 pointers.
59656 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
59657 <bp-sym.h> and <bp-asm.h>.
59658 (memcpy): Don't use BP_SYM.
59659 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
59660 <bp-sym.h> and <bp-asm.h>.
59661 (__mempcpy): Don't use BP_SYM.
59662 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
59663 <bp-sym.h> and <bp-asm.h>.
59664 (__memrchr): Don't use BP_SYM.
59665 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
59666 <bp-sym.h> and <bp-asm.h>.
59667 (memset): Don't use BP_SYM.
59668 (__bzero): Likewise.
59669 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
59670 <bp-sym.h> and <bp-asm.h>.
59671 (__rawmemchr): Don't use BP_SYM.
59672 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
59673 <bp-sym.h> and <bp-asm.h>.
59674 (__STRCMP): Don't use BP_SYM.
59675 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
59676 <bp-sym.h> and <bp-asm.h>.
59677 (strchr): Don't use BP_SYM.
59678 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
59679 <bp-sym.h> and <bp-asm.h>.
59680 (__strchrnul): Don't use BP_SYM.
59681 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
59682 <bp-sym.h> and <bp-asm.h>.
59683 (strlen): Don't use BP_SYM.
59684 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
59685 <bp-sym.h> and <bp-asm.h>.
59686 (strncmp): Don't use BP_SYM. Remove comment about bounded
59687 pointers.
59688 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
59689 <bp-sym.h> and <bp-asm.h>.
59690 (__strnlen): Don't use BP_SYM.
59691 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
59692 <bp-sym.h> and <bp-asm.h>.
59693 (__GI__setjmp): Don't use BP_SYM.
59694 (_setjmp): Likewise.
59695 (__sigsetjmp): Likewise.
59696 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
59697 (L(start_addresses)): Don't use BP_SYM.
59698 (_start): Likewise.
59699 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
59700 <bp-asm.h>.
59701 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
59702 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
59703 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59704 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59705 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
59706 <bp-asm.h>.
59707 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
59708 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
59709 about bounded pointers.
59710 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59711 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59712 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
59713 <bp-asm.h>.
59714 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
59715 about bounded pointers. Remove GKM FIXME comments.
59716 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59717 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
59718 <bp-asm.h>.
59719 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
59720 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
59721 Remove GKM FIXME comments.
59722 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59723 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59724 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
59725 <bp-asm.h>.
59726 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
59727 about bounded pointers. Remove GKM FIXME comment.
59728 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
59729 and <bp-asm.h>.
59730 (strncmp): Don't use BP_SYM. Remove comment about bounded
59731 pointers.
59732 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
59733 <bp-sym.h> and <bp-asm.h>.
59734 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59735 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
59736 <bp-sym.h> and <bp-asm.h>.
59737 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
59738 comment.
59739
59740 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59741
59742 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
59743 call free(NULL).
59744
59745 2013-03-05 David S. Miller <davem@davemloft.net>
59746
59747 * po/es.po: Update from translation team.
59748
59749 2013-03-05 Andreas Jaeger <aj@suse.de>
59750
59751 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
59752 <bits/mman-linux.h>.
59753 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59754 is fine.
59755 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
59756 <bits/mman-linux.h> to end of file.
59757 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59758 is fine.
59759 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
59760 <bits/mman-linux.h> to end of file.
59761 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59762 is fine.
59763 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
59764 <bits/mman-linux.h> to end of file.
59765
59766 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
59767 (MCL_CURRENT, MCL_FUTURE): Define here.
59768
59769 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59770
59771 [BZ #15232]
59772 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
59773 attribute_hidden.
59774 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59775
59776 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59777
59778 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
59779 fourth parameter needed for rt_sigprocmask syscall.
59780 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
59781 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59782 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
59783 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59784 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59785 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
59786
59787 2013-03-04 Joseph Myers <joseph@codesourcery.com>
59788
59789 [BZ #13550]
59790 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
59791 comment about bounded pointers.
59792 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
59793 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
59794
59795 2013-03-04 Andreas Jaeger <aj@suse.de>
59796
59797 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
59798 common definitions.
59799
59800 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
59801 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
59802 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
59803 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59804 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59805 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59806
59807 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59808
59809 [BZ #15055]
59810 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
59811 __ieee754_sqrl instead of __sqrl.
59812
59813 2013-03-01 Joseph Myers <joseph@codesourcery.com>
59814
59815 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
59816 * sysdeps/powerpc/fpu_control.h: ... here.
59817 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
59818 * sysdeps/powerpc/bits/fenvinline.h: ... here.
59819 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
59820 * sysdeps/powerpc/bits/mathinline.h: ... here.
59821
59822 2013-03-01 Roland McGrath <roland@hack.frob.com>
59823
59824 * elf/dl-hwcaps.c (_dl_important_hwcaps):
59825 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
59826 to just [NEED_DL_SYSINFO_DSO].
59827 * elf/dl-support.c: Likewise.
59828 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
59829 * elf/rtld.c (dl_main): Likewise.
59830 * elf/setup-vdso.h (setup_vdso): Likewise.
59831 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
59832 * sysdeps/unix/sysv/linux/dl-sysdep.c
59833 (_dl_discover_osversion): Likewise.
59834
59835 2013-03-01 Carlos O'Donell <carlos@redhat.com>
59836
59837 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
59838 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59839
59840 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
59841
59842 * NEWS: Mention libm performance improvements and non-x86 PI
59843 futex support.
59844
59845 * csu/libc-start.c (__pthread_initialize_minimal): Change
59846 function arguments.
59847 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59848
59849 2013-02-28 Joseph Myers <joseph@codesourcery.com>
59850
59851 [BZ #13550]
59852 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
59853 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
59854 <bp-sym.h> and <bp-asm.h>.
59855 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59856 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
59857 and <bp-asm.h>.
59858 (memcpy): Don't use BP_SYM.
59859 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
59860 <bp-asm.h>.
59861 (__mpn_add_n): Don't use BP_SYM.
59862 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
59863 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
59864 and <bp-asm.h>.
59865 (__mpn_addmul_1): Don't use BP_SYM.
59866 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59867 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
59868 <bp-sym.h>.
59869 (_setjmp): Don't use BP_SYM.
59870 (__novmx_setjmp): Likewise.
59871 (__GI__setjmp): Likewise.
59872 (__vmx_setjmp): Likewise.
59873 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
59874 <bp-sym.h>.
59875 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
59876 (__bzero): Don't use BP_SYM.
59877 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59878 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59879 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
59880 <bp-sym.h> and <bp-asm.h>.
59881 (memcpy): Don't use BP_SYM.
59882 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
59883 <bp-sym.h> and <bp-asm.h>.
59884 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59885 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
59886 <bp-sym.h> and <bp-asm.h>.
59887 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59888 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
59889 <bp-asm.h>.
59890 (__mpn_lshift): Don't use BP_SYM.
59891 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59892 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
59893 <bp-asm.h>.
59894 (memset): Don't use BP_SYM.
59895 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59896 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59897 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
59898 <bp-asm.h>.
59899 (__mpn_mul_1): Don't use BP_SYM.
59900 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59901 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
59902 <bp-sym.h> and <bp-asm.h>.
59903 (memcmp): Don't use BP_SYM.
59904 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
59905 <bp-sym.h> and <bp-asm.h>.
59906 (memcpy): Don't use BP_SYM.
59907 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
59908 <bp-sym.h> and <bp-asm.h>.
59909 (memset): Don't use BP_SYM.
59910 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
59911 <bp-sym.h> and <bp-asm.h>.
59912 (strncmp): Don't use BP_SYM.
59913 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
59914 <bp-sym.h> and <bp-asm.h>.
59915 (memcpy): Don't use BP_SYM.
59916 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
59917 <bp-sym.h> and <bp-asm.h>.
59918 (memset): Don't use BP_SYM.
59919 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
59920 <bp-sym.h> and <bp-asm.h>.
59921 (__memchr): Don't use BP_SYM.
59922 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
59923 <bp-sym.h> and <bp-asm.h>.
59924 (memcmp): Don't use BP_SYM.
59925 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
59926 <bp-sym.h> and <bp-asm.h>.
59927 (memcpy): Don't use BP_SYM.
59928 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
59929 <bp-sym.h> and <bp-asm.h>.
59930 (__mempcpy): Don't use BP_SYM.
59931 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
59932 <bp-sym.h> and <bp-asm.h>.
59933 (__memrchr): Don't use BP_SYM.
59934 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
59935 <bp-sym.h> and <bp-asm.h>.
59936 (memset): Don't use BP_SYM.
59937 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
59938 <bp-sym.h> and <bp-asm.h>.
59939 (__rawmemchr): Don't use BP_SYM.
59940 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
59941 <bp-sym.h> and <bp-asm.h>.
59942 (__STRCMP): Don't use BP_SYM.
59943 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
59944 <bp-sym.h> and <bp-asm.h>.
59945 (strchr): Don't use BP_SYM.
59946 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
59947 <bp-sym.h> and <bp-asm.h>.
59948 (__strchrnul): Don't use BP_SYM.
59949 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
59950 <bp-sym.h> and <bp-asm.h>.
59951 (strlen): Don't use BP_SYM.
59952 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
59953 <bp-sym.h> and <bp-asm.h>.
59954 (strncmp): Don't use BP_SYM.
59955 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
59956 <bp-sym.h> and <bp-asm.h>.
59957 (__strnlen): Don't use BP_SYM.
59958 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
59959 <bp-asm.h>.
59960 (__mpn_rshift): Don't use BP_SYM.
59961 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59962 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
59963 <bp-sym.h> and <bp-asm.h>.
59964 (__sigsetjmp): Don't use BP_SYM.
59965 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
59966 (L(start_addresses)): Don't use BP_SYM.
59967 (_start): Likewise.
59968 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
59969 <bp-asm.h>.
59970 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
59971 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59972 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59973 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
59974 <bp-asm.h>.
59975 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
59976 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59977 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59978 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
59979 <bp-asm.h>.
59980 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
59981 comments.
59982 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59983 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
59984 <bp-asm.h>.
59985 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
59986 FIXME comments.
59987 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59988 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59989 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
59990 <bp-asm.h>.
59991 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
59992 comment.
59993 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
59994 and <bp-asm.h>.
59995 (strncmp): Don't use BP_SYM,
59996 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
59997 <bp-asm.h>.
59998 (__mpn_sub_n): Don't use BP_SYM.
59999 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60000 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
60001 and <bp-asm.h>.
60002 (__mpn_submul_1): Don't use BP_SYM.
60003 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
60005 <bp-sym.h> and <bp-asm.h>.
60006 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
60007 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
60008 <bp-sym.h> and <bp-asm.h>.
60009 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
60010 comment.
60011
60012 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
60013
60014 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
60015 Use ZK to minimize writes to Z.
60016 (sub_magnitudes): Simplify code a bit.
60017 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
60018 Use ZK to minimize writes to Z.
60019 (sub_magnitudes): Simplify code a bit.
60020
60021 2013-02-27 Roland McGrath <roland@hack.frob.com>
60022
60023 * csu/gmon-start.c: Add special exception to license text.
60024
60025 2013-02-27 Richard Henderson <rth@redhat.com>
60026
60027 * scripts/config.guess: Update from config.git.
60028 * scripts/config.sub: Likewise.
60029
60030 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
60031
60032 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
60033
60034 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
60035
60036 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
60037
60038 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
60039
60040 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
60041
60042 2013-02-26 Roland McGrath <roland@hack.frob.com>
60043
60044 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
60045 [$(build-shared = yes].
60046
60047 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
60048
60049 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
60050 (__mul): Reduce iterations for calculating mantissa.
60051
60052 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
60053 MPTWO.
60054 (__mpranred): Likewise.
60055
60056 [BZ #15160]
60057 * malloc/memusagestat.c (main): Draw graphs for heap and stack
60058 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
60059
60060 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
60061
60062 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
60063 Define __attribute__.
60064
60065 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
60066
60067 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
60068 unused.
60069 * posix/regex_internal.h (__attribute): Remove.
60070 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
60071 (re_string_context_at): Likewise.
60072 (bitset_not): Use __attribute__ and mark function as possibly
60073 unused.
60074 (bitset_merge): Likewise.
60075 (bitset_mask): Likewise.
60076 (re_string_char_size_at): Likewise.
60077 (re_string_wchar_at): Likewise.
60078 (re_string_elem_size_at): Likewise.
60079
60080 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
60081
60082 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
60083 code.
60084 (cc32): Likewise.
60085
60086 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
60087 (__acr): Likewise.
60088 (__cpy): Likewise.
60089 (norm): Likewise.
60090 (denorm): Likewise.
60091 (__dbl_mp): Likewise.
60092 (add_magnitudes): Likewise.
60093 (sub_magnitudes): Likewise.
60094 (__mul): Likewise.
60095 (__inv): Likewise.
60096
60097 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
60098 style.
60099
60100 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
60101 style.
60102
60103 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
60104 code.
60105
60106 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
60107 up changes with default code.
60108 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
60109 Likewise.
60110
60111 2013-02-24 Allan McRae <allan@archlinux.org>
60112
60113 * manual/socket.texi (The Internet Namespace): Order menu items
60114 to match that in the file.
60115
60116 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
60117 node listing of the info page menu.
60118
60119 2013-02-21 Joseph Myers <joseph@codesourcery.com>
60120
60121 [BZ #13550]
60122 * sysdeps/i386/bp-asm.h: Remove file.
60123 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
60124 (PARMS): Do not use macros from bp-asm.h.
60125 (S1): Likewise.
60126 (S2): Likewise.
60127 (SIZE): Likewise.
60128 (__mpn_add_n): Do not use BP_SYM
60129 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
60130 "bp-asm.h".
60131 (PARMS): Do not use macros from bp-asm.h.
60132 (S1): Likewise.
60133 (SIZE): Likewise.
60134 (__mpn_addmul_1): Do not use BP_SYM
60135 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
60136 "bp-asm.h".
60137 (PARMS): Do not use macros from bp-asm.h.
60138 (SIGMSK): Likewise.
60139 (_setjmp): Likewise. Do not use BP_SYM.
60140 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
60141 "bp-asm.h".
60142 (PARMS): Do not use macros from bp-asm.h.
60143 (SIGMSK): Likewise.
60144 (setjmp): Likewise. Do not use BP_SYM.
60145 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
60146 "bp-asm.h".
60147 (PARMS): Do not use macros from bp-asm.h.
60148 (__frexp): Do not use BP_SYM.
60149 (frexp): Likewise.
60150 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
60151 "bp-asm.h".
60152 (PARMS): Do not use macros from bp-asm.h.
60153 (__frexpf): Do not use BP_SYM.
60154 (frexpf): Likewise.
60155 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
60156 "bp-asm.h".
60157 (PARMS): Do not use macros from bp-asm.h.
60158 (__frexpl): Do not use BP_SYM.
60159 (frexpl): Likewise.
60160 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
60161 "bp-asm.h".
60162 (PARMS): Do not use macros from bp-asm.h.
60163 (__remquo): Do not use BP_SYM.
60164 (remquo): Likewise.
60165 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
60166 "bp-asm.h".
60167 (PARMS): Do not use macros from bp-asm.h.
60168 (__remquof): Do not use BP_SYM.
60169 (remquof): Likewise.
60170 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
60171 "bp-asm.h".
60172 (PARMS): Do not use macros from bp-asm.h.
60173 (__remquol): Do not use BP_SYM.
60174 (remquol): Likewise.
60175 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
60176 "bp-asm.h".
60177 (PARMS): Do not use macros from bp-asm.h.
60178 (DEST): Likewise.
60179 (SRC): Likewise.
60180 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
60181 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
60182 "bp-asm.h".
60183 (PARMS): Do not use macros from bp-asm.h.
60184 (strlen): Do not use BP_SYM.
60185 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
60186 "bp-asm.h".
60187 (PARMS): Do not use macros from bp-asm.h.
60188 (S1): Likewise.
60189 (S2): Likewise.
60190 (SIZE): Likewise.
60191 (__mpn_add_n): Do not use BP_SYM.
60192 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
60193 "bp-asm.h".
60194 (PARMS): Do not use macros from bp-asm.h.
60195 (S1): Likewise.
60196 (SIZE): Likewise.
60197 (__mpn_addmul_1): Do not use BP_SYM.
60198 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
60199 weak_alias.
60200 (bzero): Likewise.
60201 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
60202 "bp-asm.h".
60203 (PARMS): Do not use macros from bp-asm.h.
60204 (S): Likewise.
60205 (SIZE): Likewise.
60206 (__mpn_lshift): Do not use BP_SYM.
60207 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
60208 "bp-asm.h".
60209 (PARMS): Do not use macros from bp-asm.h.
60210 (DEST): Likewise.
60211 (SRC): Likewise.
60212 (LEN): Likewise.
60213 (memcpy): Likewise. Do not use BP_SYM.
60214 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
60215 libc_hidden_def and weak_alias.
60216 (mempcpy): Do not use BP_SYM in weak_alias.
60217 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
60218 "bp-asm.h".
60219 (PARMS): Do not use macros from bp-asm.h.
60220 (DEST): Likewise.
60221 (LEN): Likewise.
60222 [!BZERO_P] (CHR): Likewise.
60223 (memset): Likewise. Do not use BP_SYM.
60224 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
60225 "bp-asm.h".
60226 (PARMS): Do not use macros from bp-asm.h.
60227 (S1): Likewise.
60228 (SIZE): Likewise.
60229 (__mpn_mul_1): Do not use BP_SYM.
60230 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
60231 "bp-asm.h".
60232 (PARMS): Do not use macros from bp-asm.h.
60233 (S): Likewise.
60234 (SIZE): Likewise.
60235 (__mpn_rshift): Do not use BP_SYM.
60236 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
60237 "bp-asm.h".
60238 (PARMS): Do not use macros from bp-asm.h.
60239 (STR): Likewise.
60240 (CHR): Likewise.
60241 (strchr): Likewise. Do not use BP_SYM.
60242 (index): Do not use BP_SYM in weak_alias.
60243 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
60244 "bp-asm.h".
60245 (PARMS): Do not use macros from bp-asm.h.
60246 (DEST): Likewise.
60247 (SRC): Likewise.
60248 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
60249 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
60250 "bp-asm.h".
60251 (PARMS): Do not use macros from bp-asm.h.
60252 (strlen): Do not use BP_SYM.
60253 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
60254 "bp-asm.h".
60255 (PARMS): Do not use macros from bp-asm.h.
60256 (S1): Likewise.
60257 (S2): Likewise.
60258 (SIZE): Likewise.
60259 (__mpn_sub_n): Do not use BP_SYM.
60260 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
60261 "bp-asm.h".
60262 (PARMS): Do not use macros from bp-asm.h.
60263 (S1): Likewise.
60264 (SIZE): Likewise.
60265 (__mpn_submul_1): Do not use BP_SYM.
60266 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
60267 "bp-asm.h".
60268 (PARMS): Do not use macros from bp-asm.h.
60269 (S1): Likewise.
60270 (S2): Likewise.
60271 (SIZE): Likewise.
60272 (__mpn_add_n): Do not use BP_SYM.
60273 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
60274 weak_alias.
60275 (bzero): Likewise.
60276 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
60277 "bp-asm.h".
60278 (PARMS): Do not use macros from bp-asm.h.
60279 (BLK2): Likewise.
60280 (LEN): Likewise.
60281 (memcmp): Do not use BP_SYM.
60282 (bcmp): Do not use BP_SYM in weak_alias.
60283 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
60284 "bp-asm.h".
60285 (PARMS): Do not use macros from bp-asm.h.
60286 (DEST): Likewise.
60287 (SRC): Likewise.
60288 (LEN): Likewise.
60289 (memcpy): Likewise. Do not use BP_SYM.
60290 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
60291 "bp-asm.h".
60292 (PARMS): Do not use macros from bp-asm.h.
60293 (DEST): Likewise.
60294 (SRC): Likewise.
60295 (LEN): Likewise.
60296 (memmove): Likewise. Do not use BP_SYM.
60297 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
60298 "bp-asm.h".
60299 (PARMS): Do not use macros from bp-asm.h.
60300 (DEST): Likewise.
60301 (SRC): Likewise.
60302 (LEN): Likewise.
60303 (__mempcpy): Likewise. Do not use BP_SYM.
60304 (mempcpy): Do not use BP_SYM in weak_alias.
60305 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
60306 "bp-asm.h".
60307 (PARMS): Do not use macros from bp-asm.h.
60308 (DEST): Likewise.
60309 (LEN): Likewise.
60310 [!BZERO_P] (CHR): Likewise.
60311 (memset): Likewise. Do not use BP_SYM.
60312 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
60313 "bp-asm.h".
60314 (PARMS): Do not use macros from bp-asm.h.
60315 (STR2): Likewise.
60316 (strcmp): Do not use BP_SYM.
60317 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
60318 "bp-asm.h".
60319 (PARMS): Do not use macros from bp-asm.h.
60320 (STR): Likewise.
60321 (DELIM): Likewise.
60322 [USE_AS_STRTOK_R] (SAVE): Likewise.
60323 (FUNCTION): Likewise. Do not use BP_SYM.
60324 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
60325 aliases.
60326 (strtok_r): Likewise.
60327 (__GI___strtok_r): Likewise.
60328 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
60329 (PARMS): Do not use macros from bp-asm.h.
60330 (S): Likewise.
60331 (SIZE): Likewise.
60332 (__mpn_lshift): Do not use BP_SYM.
60333 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
60334 (PARMS): Do not use macros from bp-asm.h.
60335 (STR): Likewise.
60336 (CHR): Likewise.
60337 (__memchr): Do not use BP_SYM.
60338 (memchr): Do not use BP_SYM in weak_alias.
60339 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
60340 (PARMS): Do not use macros from bp-asm.h.
60341 (BLK2): Likewise.
60342 (LEN): Likewise.
60343 (memcmp): Do not use BP_SYM.
60344 (bcmp): Do not use BP_SYM in weak_alias.
60345 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
60346 (PARMS): Do not use macros from bp-asm.h.
60347 (S1): Likewise.
60348 (SIZE): Likewise.
60349 (__mpn_mul_1): Do not use BP_SYM.
60350 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
60351 "bp-asm.h".
60352 (PARMS): Do not use macros from bp-asm.h.
60353 (STR): Likewise.
60354 (CHR): Likewise.
60355 (__rawmemchr): Do not use BP_SYM.
60356 (rawmemchr): Do not use BP_SYM in weak_alias.
60357 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
60358 (PARMS): Do not use macros from bp-asm.h.
60359 (S): Likewise.
60360 (SIZE): Likewise.
60361 (__mpn_rshift): Do not use BP_SYM.
60362 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
60363 (PARMS): Do not use macros from bp-asm.h.
60364 (SIGMSK): Likewise.
60365 (__sigsetjmp): Likewise. Do not use BP_SYM.
60366 * sysdeps/i386/start.S: Do not include "bp-sym.h".
60367 (_start): Do not use BP_SYM.
60368 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
60369 (PARMS): Do not use macros from bp-asm.h.
60370 (DEST): Likewise.
60371 (SRC): Likewise.
60372 (__stpcpy): Likewise. Do not use BP_SYM.
60373 (stpcpy): Do not use BP_SYM in weak_alias.
60374 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
60375 "bp-asm.h".
60376 (PARMS): Do not use macros from bp-asm.h.
60377 (DEST): Likewise.
60378 (SRC): Likewise.
60379 (LEN): Likewise.
60380 (__stpncpy): Likewise. Do not use BP_SYM.
60381 (stpncpy): Do not use BP_SYM in weak_alias.
60382 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
60383 (PARMS): Do not use macros from bp-asm.h.
60384 (STR): Likewise.
60385 (CHR): Likewise.
60386 (strchr): Likewise. Do not use BP_SYM.
60387 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
60388 "bp-asm.h".
60389 (PARMS): Do not use macros from bp-asm.h.
60390 (STR): Likewise.
60391 (CHR): Likewise.
60392 (__strchrnul): Likewise. Do not use BP_SYM.
60393 (strchrnul): Do not use BP_SYM in weak_alias.
60394 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
60395 "bp-asm.h".
60396 (PARMS): Do not use macros from bp-asm.h.
60397 (STOP): Likewise.
60398 (strcspn): Do not use BP_SYM.
60399 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
60400 "bp-asm.h".
60401 (PARMS): Do not use macros from bp-asm.h.
60402 (STR): Likewise.
60403 (STOP): Likewise.
60404 (strpbrk): Likewise. Do not use BP_SYM.
60405 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
60406 "bp-asm.h".
60407 (PARMS): Do not use macros from bp-asm.h.
60408 (STR): Likewise.
60409 (CHR): Likewise.
60410 (strrchr): Likewise. Do not use BP_SYM.
60411 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
60412 (PARMS): Do not use macros from bp-asm.h.
60413 (SKIP): Likewise.
60414 (strspn): Do not use BP_SYM.
60415 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
60416 (PARMS): Do not use macros from bp-asm.h.
60417 (STR): Likewise.
60418 (DELIM): Likewise.
60419 (SAVE): Likewise.
60420 (FUNCTION): Likewise. Do not use BP_SYM.
60421 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
60422 aliases.
60423 (strtok_r): Likewise.
60424 (__GI___strtok_r): Likewise.
60425 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
60426 (PARMS): Do not use macros from bp-asm.h.
60427 (S1): Likewise.
60428 (S2): Likewise.
60429 (SIZE): Likewise.
60430 (__mpn_sub_n): Do not use BP_SYM.
60431 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
60432 "bp-asm.h".
60433 (PARMS): Do not use macros from bp-asm.h.
60434 (S1): Likewise.
60435 (SIZE): Likewise.
60436 (__mpn_submul_1): Do not use BP_SYM.
60437 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
60438 <bp-sym.h>.
60439 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
60440 and <bp-asm.h>.
60441 (PARMS): Do not use macros from bp-asm.h.
60442 (FLAGS): Likewise.
60443 (PTID): Likewise.
60444 (TLS): Likewise.
60445 (CTID): Likewise.
60446 (__clone): Do not use BP_SYM.
60447 (clone): Do not use BP_SYM in weak_alias.
60448 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
60449 and <bp-asm.h>.
60450 (PARMS): Do not use macros from bp-asm.h.
60451 (LEN): Likewise.
60452 (__mmap64): Do not use BP_SYM.
60453 (mmap64): Do not use BP_SYM in weak_alias.
60454 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60455 <bp-sym.h> and <bp-asm.h>.
60456 (PARMS): Do not use macros from bp-asm.h.
60457 (__posix_fadvise64_l64): Do not use BP_SYM.
60458 * sysdeps/unix/sysv/linux/i386/semtimedop.S
60459 (PARMS): Do not use macros from bp-asm.h.
60460 (NSOPS): Likewise.
60461 (semtimedop): Do not use BP_SYM.
60462 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
60463 and <bp-asm.h>.
60464
60465 2013-02-21 Allan McRae <allan@archlinux.org>
60466
60467 * manual/message.texi (Charset conversion in gettext):
60468 Move @end statement to beginning of line.
60469
60470 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
60471
60472 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
60473 static.
60474 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
60475 Likewise.
60476
60477 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
60478 (denorm): Likewise.
60479 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
60480 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
60481
60482 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60483
60484 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
60485 tail-call to the resolved function if pltexit isn't needed.
60486
60487 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
60488
60489 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
60490 or Y being zero as being unlikely.
60491 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
60492 Likewise.
60493
60494 2013-02-20 Carlos O'Donell <carlos@redhat.com>
60495
60496 * manual/nss.texi (System Databases and Name Service Switch):
60497 Remove frobnicate @pxref.
60498
60499 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
60500
60501 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60502 __attribute__ ((unused)) to __attribute__ ((__unused__)).
60503
60504 2013-02-20 Petr Machata <pmachata@redhat.com>
60505
60506 * elf/elf.h (R_ARM_TARGET1): New macro.
60507 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
60508 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
60509 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
60510 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
60511 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
60512 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
60513 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
60514 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
60515 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
60516 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
60517 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
60518 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
60519 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
60520 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
60521 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
60522 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
60523 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
60524 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
60525 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
60526 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
60527 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
60528 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
60529 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
60530 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
60531 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
60532 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
60533 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
60534 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
60535 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
60536 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
60537 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
60538 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
60539 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
60540 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
60541 (R_ARM_THM_GOT_BREL12): Likewise.
60542 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
60543 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
60544 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
60545 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
60546 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
60547 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
60548 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
60549 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
60550 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
60551
60552 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
60553
60554 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60555 __attribute_used__ to __attribute__ ((unused)).
60556
60557 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
60558
60559 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
60560 powerpc mpa.c.
60561 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
60562 comment formatting.
60563 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
60564
60565 2013-02-19 Joseph Myers <joseph@codesourcery.com>
60566
60567 [BZ #13550]
60568 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
60569 Remove macro.
60570 (ENTER): Remove both macro definitions.
60571 (LEAVE): Likewise.
60572 (CHECK_BOUNDS_LOW): Likewise.
60573 (CHECK_BOUNDS_HIGH): Likewise.
60574 (CHECK_BOUNDS_BOTH): Likewise.
60575 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
60576 (RETURN_BOUNDED_POINTER): Likewise.
60577 (RETURN_NULL_BOUNDED_POINTER): Likewise.
60578 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
60579 (POP_ERRNO_LOCATION_RETURN): Likewise.
60580 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
60581 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60582 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
60583 macros.
60584 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60585 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
60586 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
60587 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
60588 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
60589 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
60590 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
60591 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
60592 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
60593 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
60594 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
60595 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
60596 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60597 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
60598 removed macros.
60599 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60600 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
60601 macros.
60602 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60603 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
60604 * sysdeps/i386/i586/memset.S (memset): Likewise.
60605 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
60606 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60607 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
60608 macros.
60609 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60610 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
60611 Change uses of L(2) to L(out).
60612 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
60613 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
60614 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
60615 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60616 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
60617 removed macros.
60618 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60619 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
60620 macros.
60621 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60622 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
60623 (RETURN): Do not use macro LEAVE.
60624 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
60625 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
60626 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
60627 * sysdeps/i386/i686/memset.S (memset): Likewise.
60628 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
60629 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
60630 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
60631 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
60632 Likewise.
60633 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60634 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
60635 L(1_2) and L(1_3) into L(1).
60636 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60637 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
60638 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60639 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
60640 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
60641 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
60642 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
60643 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60644 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
60645 macros.
60646 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
60647 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60648 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
60649 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
60650 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
60651 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60652 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
60653 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
60654 * sysdeps/i386/strcspn.S (strcspn): Likewise.
60655 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
60656 * sysdeps/i386/strrchr.S (strrchr): Likewise.
60657 * sysdeps/i386/strspn.S (strspn): Likewise.
60658 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
60659 conditional code.
60660 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60661 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
60662 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60663 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
60664 L(1_3) into L(1_1).
60665 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
60666 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60667 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
60668 macros.
60669 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60670
60671 2013-02-19 Jakub Jelinek <jakub@redhat.com>
60672
60673 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
60674 macro.
60675
60676 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
60677
60678 * math/atest-exp.c (exp_mpn): Remove ROUND.
60679 * math/atest-exp2.c (exp_mpn): Likewise.
60680 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
60681
60682 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
60683 * stdlib/tst-tls-atexit-lib.c: Likewise.
60684 * stdlib/tst-tls-atexit.c: Likewise.
60685
60686 2013-02-18 Mike Frysinger <vapier@gentoo.org>
60687
60688 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
60689 and __attribute_alloc_size__.
60690
60691 2013-02-18 Mike Frysinger <vapier@gentoo.org>
60692
60693 * include/programs/xmalloc.h: Change __attribute_alloc_size to
60694 __attribute_alloc_size__.
60695 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
60696 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
60697
60698 2013-02-18 Mike Frysinger <vapier@gentoo.org>
60699
60700 * include/programs/xmalloc.h: New file.
60701 * catgets/gencat.c: Include it.
60702 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
60703 * elf/pldd.c: Likewise.
60704 * iconv/iconv_charmap.c: Likewise.
60705 * iconv/iconvconfig.c: Likewise.
60706 * iconv/strtab.c: Likewise.
60707 * locale/programs/locale.c: Likewise.
60708 * locale/programs/localedef.h: Likewise.
60709 * locale/programs/simple-hash.c: Likewise.
60710 * nscd/nscd.h: Likewise.
60711 * nss/makedb.c: Likewise.
60712 * sysdeps/generic/ldconfig.h: Likewise.
60713
60714 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
60715
60716 * Versions.def: Add GLIBC_2.18.
60717 * include/link.h (struct link_map): New member l_tls_dtor_count.
60718 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
60719 (__call_tls_dtors): Likewise.
60720 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
60721 __cxa_thread_atexit_impl.
60722 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60723 Likewise.
60724 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60725 Likewise.
60726 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
60727 Likewise.
60728 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
60729 Likewise.
60730 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60731 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
60732 Likewise.
60733 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
60734 Likewise.
60735 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60736 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60737 Likewise.
60738 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
60739 (tests): Add test case tst-tls-atexit.
60740 (modules-names): Add shared library for tst-tls-atexit.
60741 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
60742 (GLIBC_PRIVATE): Add __call_tls_dtors.
60743 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
60744 for libstdc++.
60745 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
60746 * stdlib/tst-tls-atexit.c: New test case.
60747 * stdlib/tst-tls-atexit-lib.c: New test case.
60748
60749 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
60750
60751 * elf/Versions (ld): Add _dl_find_dso_for_object.
60752 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
60753 * elf/dl-open.c (_dl_find_dso_for_object): New function.
60754 (dl_open_worker): Use _dl_find_dso_for_object.
60755 * elf/dl-sym.c (do_sym): Likewise.
60756 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
60757
60758 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60759
60760 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
60761 Syntactic changes only.
60762 (_dl_runtime_profile): Do a tail-call to the resolved function.
60763
60764 2013-02-17 Joseph Myers <joseph@codesourcery.com>
60765
60766 [BZ #13550]
60767 * sysdeps/x86_64/bp-asm.h: Remove file.
60768 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
60769 <bp-sym.h> and <bp-asm.h>.
60770 (__clone): Do not use BP_SYM.
60771 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
60772 <bp-sym.h> and <bp-asm.h>.
60773 * sysdeps/unix/x86_64/sysdep.S: Likewise.
60774 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
60775 "bp-asm.h".
60776 (_setjmp): Do not use BP_SYM.
60777 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
60778 "bp-asm.h".
60779 (setjmp): Do not use BP_SYM.
60780 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
60781 libc_hidden_def.
60782 (mempcpy): Do not use BP_SYM in weak_alias.
60783 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
60784 "bp-asm.h".
60785 (strchr): Do not use BP_SYM.
60786 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
60787 "bp-asm.h".
60788 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
60789 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
60790 (_start): Do not use BP_SYM.
60791 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
60792 "bp-asm.h".
60793 (strcat): Do not use BP_SYM.
60794 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
60795 "bp-asm.h".
60796 (STRCMP): Do not use BP_SYM.
60797 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
60798 "bp-asm.h".
60799 (STRCPY): Do not use BP_SYM.
60800 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
60801 "bp-asm.h".
60802 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
60803 "bp-asm.h".
60804 (FUNCTION): Do not use BP_SYM.
60805 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
60806 weak_alias.
60807 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
60808
60809 2013-02-17 Andreas Jaeger <aj@suse.de>
60810
60811 * time/Versions: Sort entries.
60812 * string/Versions: Likewise.
60813 * resolv/Versions: Likewise.
60814 * posix/Versions: Likewise.
60815 * iconv/Versions: Likewise.
60816 * elf/Versions: Likewise.
60817 * wcsmbs/Versions: Likewise.
60818
60819 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
60820
60821 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
60822 loop termination condition.
60823
60824 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
60825 variable to calculate EZ.
60826 (__sqr): Likewise.
60827
60828 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
60829 the lower precision input.
60830
60831 2013-02-15 Joseph Myers <joseph@codesourcery.com>
60832
60833 [BZ #13550]
60834 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
60835 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
60836 (run-via-rtld-prefix): Do not handle %-bp tests.
60837 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
60838 (all-object-suffixes): Remove .ob.
60839 (bppfx): Remove variable.
60840 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
60841 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
60842 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
60843 [$(build-bounded) = yes] (libtype.ob): Likewise.
60844 * Makerules (elide-routines.ob): Remove variable.
60845 (do-tests-clean): Do not handle *-bp.out.
60846 (common-mostlyclean): Do not handle *-bp and *-bp.out.
60847 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
60848 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
60849 (tests): Do not include $(tests-bp.out).
60850 (xtests): Do not include $(xtests-bp.out).
60851 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
60852 [$(build-bounded) = yes] ($(addprefix
60853 $(objpfx),$(binaries-bounded))): Remove rule.
60854 ($(objpfx)%-bp.out): Remove rule.
60855 * config.make.in (build-bounded): Remove variable.
60856 * crypt/Makefile [$(build-bounded) = yes]
60857 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
60858 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
60859 append to variable.
60860 [$(build-bounded) = yes] (install-lib): Likewise.
60861 [$(build-bounded) = yes] (generated): Likewise.
60862 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
60863 Remove rule.
60864 * intl/Makefile [$(build-bounded) = yes]
60865 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
60866 * math/Makefile [$(build-bounded) = yes]
60867 ($(tests:%=$(objpfx)%-bp): Likewise.
60868 * misc/Makefile [$(build-bounded) = yes]
60869 ($(objpfx)tst-tsearch-bp): Likewise.
60870 * nptl/Makeconfig (bounded-thread-library): Remove variable.
60871 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
60872 Remove dependency.
60873 * string/Makefile (o-objects.ob): Remove variable.
60874 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
60875 (CFLAGS-.ob): Remove variable.
60876 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
60877 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
60878 both definitions of variable.
60879 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
60880 (ASFLAGS-.ob): Remove variable.
60881
60882 2013-02-14 Joseph Myers <joseph@codesourcery.com>
60883
60884 [BZ #13550]
60885 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
60886 Remove __BOUNDED_POINTERS__ from condition.
60887 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
60888 * string/bits/string2.h [!__NO_STRING_INLINES &&
60889 !__BOUNDED_POINTERS__]: Likewise.
60890 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
60891 Likewise.
60892 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
60893 Remove conditional code.
60894 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
60895 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
60896 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
60897 condition.
60898
60899 [BZ #13550]
60900 * csu/libc-start.c: Do not include <bp-sym.h>.
60901 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
60902 * elf/dl-open.c: Do not include <bp-sym.h>.
60903 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
60904 * math/fegetenv.c: Do not include <bp-sym.h>.
60905 (fegetenv): Do not use BP_SYM in versioned symbols.
60906 * nptl/sysdeps/pthread/bits/libc-lockP.h
60907 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
60908 <bp-sym.h>.
60909 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60910 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
60911 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60912 (__pthread_mutex_destroy): Likewise.
60913 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60914 (__pthread_mutex_lock): Likewise.
60915 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60916 (__pthread_mutex_trylock): Likewise.
60917 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60918 (__pthread_mutex_unlock): Likewise.
60919 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60920 (__pthread_mutexattr_init): Likewise.
60921 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60922 (__pthread_mutexattr_destroy): Likewise.
60923 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60924 (__pthread_mutexattr_settype): Likewise.
60925 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60926 (__pthread_rwlock_init): Likewise.
60927 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60928 (__pthread_rwlock_destroy): Likewise.
60929 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60930 (__pthread_rwlock_rdlock): Likewise.
60931 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60932 (__pthread_rwlock_tryrdlock): Likewise.
60933 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60934 (__pthread_rwlock_wrlock): Likewise.
60935 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60936 (__pthread_rwlock_trywrlock): Likewise.
60937 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60938 (__pthread_rwlock_unlock): Likewise.
60939 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60940 (__pthread_key_create): Likewise.
60941 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60942 (__pthread_setspecific): Likewise.
60943 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60944 (__pthread_getspecific): Likewise.
60945 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
60946 Likewise.
60947 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60948 (_pthread_cleanup_push_defer): Likewise.
60949 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60950 (_pthread_cleanup_pop_restore): Likewise.
60951 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60952 (pthread_setcancelstate): Likewise.
60953 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
60954 <bp-sym.h>.
60955 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
60956 (memchr): Do not use BP_SYM in weak_alias.
60957 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
60958 (fegetenv): Do not use BP_SYM in versioned symbols.
60959 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
60960 (fesetenv): Do not use BP_SYM in versioned symbols.
60961 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60962 (feupdateenv): Do not use BP_SYM in versioned symbols.
60963 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60964 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60965 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
60966 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
60967 (open64): Do not use BP_SYM in weak_alias.
60968 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
60969 (fegetenv): Do not use BP_SYM in versioned symbols.
60970 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
60971 (fesetenv): Do not use BP_SYM in versioned symbols.
60972 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60973 (feupdateenv): Do not use BP_SYM in versioned symbols.
60974 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
60975 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
60976 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
60977 (feraiseexcept): Do not use BP_SYM in versioned symbols.
60978 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60979 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60980 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
60981 <bp-sym.h>.
60982 (__libc_start_main): Do not use BP_SYM.
60983
60984 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
60985
60986 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
60987 redundant return line.
60988 (norm): Likewise.
60989 (denorm): Likewise.
60990 (dbl_mp): Likewise.
60991 (sub_magnitudes): Likewise.
60992 (__add): Likewise.
60993 (__sub): Likewise.
60994 (__mul): Likewise.
60995 (__inv): Likewise.
60996 (__dvd): Likewise.
60997 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
60998 (norm): Likewise.
60999 (denorm): Likewise.
61000 (dbl_mp): Likewise.
61001 (sub_magnitudes): Likewise.
61002 (__add): Likewise.
61003 (__sub): Likewise.
61004 (__mul): Likewise.
61005 (__inv): Likewise.
61006 (__dvd): Likewise.
61007
61008 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
61009 instead of __mul.
61010 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
61011 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
61012 (cc32): Likewise.
61013
61014 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
61015 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
61016 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
61017 of __mul for squares.
61018 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
61019 function
61020 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
61021 Likewise.
61022 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
61023 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
61024
61025 2013-02-13 Joseph Myers <joseph@codesourcery.com>
61026
61027 [BZ #13550]
61028 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
61029 code.
61030 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
61031 prototype or function definition. Rename ubp_* variables and
61032 parameters. Remove argv definitions conditional on
61033 [__BOUNDED_POINTERS__].
61034 * debug/backtrace.c (__backtrace): Do not use __unbounded.
61035 * elf/dl-runtime.c (_dl_fixup): Likewise.
61036 * include/set-hooks.h (RUN_HOOK): Likewise.
61037 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
61038 definition.
61039 * string/strcpy.c (strcpy): Do not use __unbounded.
61040 * sysdeps/generic/frame.h (struct layout): Likewise.
61041 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
61042 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
61043 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
61044 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
61045 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
61046 (__backtrace): Likewise.
61047 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
61048 use __ptrvalue.
61049 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
61050 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
61051 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
61052 Likewise.
61053 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
61054 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
61055 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
61056 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
61057 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
61058 Do not use __unbounded.
61059 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
61060 Rename __unboundedrlimits parameter to rlimits in prototype.
61061 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
61062 Do not use __unbounded.
61063 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
61064 not use __ptrvalue.
61065 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
61066 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
61067 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
61068 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
61069 __ptrvalue or __unbounded.
61070 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
61071 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
61072 use __unbounded.
61073 (__new_msgctl): Do not use __ptrvalue.
61074 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
61075 __unbounded.
61076 (__libc_msgrcv): Do not use __ptrvalue.
61077 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
61078 startup_info): Do not use __unbounded.
61079 (__libc_start_main): Likewise. Rename ubp_* variables and
61080 parameters. Remove argv definitions conditional on
61081 [__BOUNDED_POINTERS__].
61082 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
61083 __ptrvalue.
61084 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
61085 use __unbounded.
61086 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
61087 or __ptrvalue.
61088 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
61089 use __unbounded.
61090 (__new_shmctl): Do not use __ptrvalue.
61091 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
61092 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
61093 Likewise.
61094 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
61095 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
61096 (__libc_sigaction): Likewise.
61097 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
61098 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
61099 Likewise.
61100 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
61101
61102 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
61103
61104 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
61105
61106 * string/mempcpy.c: Implement by calling memcpy.
61107
61108 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
61109
61110 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
61111
61112 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
61113 evaluation.
61114
61115 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
61116 values in the mantissa.
61117
61118 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
61119 minimize writes to Z.
61120 (sub_magnitudes): Simplify code a bit.
61121
61122 2013-02-12 Roland McGrath <roland@hack.frob.com>
61123
61124 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
61125 from the message. The linker prefixes all warnings with that already.
61126
61127 2013-02-12 Andreas Schwab <schwab@suse.de>
61128
61129 [BZ #15078]
61130 * posix/regexec.c (extend_buffers): Add parameter min_len.
61131 (check_matching): Pass minimum needed length.
61132 (clean_state_log_if_needed): Likewise.
61133 (get_subexp): Likewise.
61134 * posix/Makefile (tests): Add bug-regex34.
61135 (bug-regex34-ENV): Define.
61136 * posix/bug-regex34.c: New file.
61137
61138 [BZ #11561]
61139 * posix/regcomp.c (parse_bracket_exp): When looking up collating
61140 elements compare against the byte sequence of it, not its name.
61141 * posix/Makefile (tests): Add bug-regex35.
61142 (bug-regex35-ENV): Define.
61143 * posix/bug-regex35.c: New file.
61144
61145 2013-02-11 Tom de Vries <tom@codesourcery.com>
61146
61147 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
61148 comment.
61149 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
61150 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
61151 (CHECK_EOL): Add undef.
61152
61153 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
61154
61155 * bits/stdlib-bsearch.h: New file.
61156 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
61157 * stdlib/stdlib.h: Likewise.
61158
61159 2013-02-11 Roland McGrath <roland@hack.frob.com>
61160
61161 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
61162 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
61163 declaration.
61164 * manual/search.texi (Array Search Function): Add missing const in
61165 lfind prototype.
61166 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
61167 declaration to use rlim_t.
61168 (Basic Scheduling Functions): Remove erroneous const from
61169 sched_getparam prototype. Remove erroneous * from
61170 sched_get_priority_max and sched_get_priority_min prototypes.
61171 (Resource Usage): Fix summary @comment on vtimes to refer to
61172 sys/vtimes.h rather than vtimes.h.
61173 Add missing *s in vtimes prototype.
61174 (Limits on Resources): Fix ulimit prototype to return long int.
61175 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
61176 prototypes to use long int rather than double.
61177 (BSD Random): Fix initstate and setstate to use char *, not void *.
61178 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
61179 prototype to make second argument 'struct aiocb64 *const[]'.
61180 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
61181 (Status of AIO Operations): Remove erroneous const in aio_return and
61182 aio_return64 prototypes.
61183 (Synchronizing I/O): Fix sync prototype to return void.
61184 * manual/startup.texi (Suboptions): Remove an erroneous const in
61185 getsubopt prototype.
61186 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
61187 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
61188 use size_t rather than int.
61189 (Scanning All Users): Likewise for getpwent_r.
61190 (Setting Groups): Add missing const to setgroups prototype.
61191 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
61192 * manual/socket.texi (Host Names): Fix gethostbyaddr and
61193 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
61194 'const void *' rather than 'const char *'.
61195 (Host Address Functions): Likewise for inet_ntop.
61196 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
61197 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
61198 ssize_t for return value.
61199 (Sending Data): Likewise for send, sendto, sendmsg.
61200 (Socket Option Functions): Add a missing const in setsockopt prototype.
61201 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
61202 use wchar_t for the argument.
61203 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
61204 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
61205 take no arguments.
61206 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
61207 double/float/long double for second argument.
61208 Fix return types of significand, significandf, significandl.
61209 * manual/filesys.texi (Setting Permissions): Use mode_t for second
61210 argument in fchmod prototype.
61211 (File Owner): Use uid_t and gid_t in fchown prototype.
61212 (File Times): Add const to utimes, futimes, and lutimes prototypes.
61213 (Making Special Files): Use mode_t and dev_t in mknod prototype.
61214 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
61215 use 'const struct dirent **' as argument types to CMP function pointer
61216 argument.
61217 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
61218 (File Times): Fix summary magic @comment for struct utimbuf and utime
61219 to refer to utime.h, not time.h.
61220 * manual/string.texi (Argz Functions): Add missing const in
61221 argz_extract and argz_next prototypes.
61222 (Finding Tokens in a String): Likewise for basename.
61223 (String/Array Comparison): Fix typo in wcscasecmp prototype.
61224 (Copying and Concatenation): Fix typo in wmemmove prototype.
61225 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
61226 (Signal Stack): Remove erroneous const in sigstack prototype.
61227 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
61228 prototype.
61229 (Simple Calendar Time): Likewise for stime.
61230 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
61231 prototype.
61232 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
61233 say sys/sysctl.h instead.
61234 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
61235 and vsyslog prototypes.
61236
61237 2013-02-11 Tom de Vries <tom@codesourcery.com>
61238
61239 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
61240 Remove.
61241
61242 2013-02-11 Roland McGrath <roland@hack.frob.com>
61243
61244 * misc/sys/mman.h: Fix typo in mremap comment.
61245
61246 2013-02-08 Roland McGrath <roland@hack.frob.com>
61247
61248 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
61249 the '\0' terminator.
61250
61251 2013-02-08 Joseph Myers <joseph@codesourcery.com>
61252
61253 [BZ #13550]
61254 * debug/segfault.c: Don't include <bp-checks.h>.
61255 * sysdeps/generic/bp-checks.h: Remove file.
61256 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
61257 (__GETDENTS): Don't use CHECK_N.
61258 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
61259 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
61260 (__getgroups): Don't use CHECK_N.
61261 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
61262 (setgroups): Don't use CHECK_N.
61263 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
61264 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
61265 (__libc_msgrcv): Don't use CHECK_N.
61266 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
61267 (__libc_msgsnd): Don't use CHECK_N.
61268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
61269 <bp-checks.h>.
61270 (__libc_pread): Don't use CHECK_N.
61271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
61272 include <bp-checks.h>.
61273 (__libc_pread64): Don't use CHECK_N.
61274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
61275 include <bp-checks.h>.
61276 (__libc_pwrite): Don't use CHECK_N.
61277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
61278 include <bp-checks.h>.
61279 (__libc_pwrite64): Don't use CHECK_N.
61280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
61281 <bp-checks.h>.
61282 (__libc_pread): Don't use CHECK_N.
61283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
61284 include <bp-checks.h>.
61285 (__libc_pread64): Don't use CHECK_N.
61286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
61287 include <bp-checks.h>.
61288 (__libc_pwrite): Don't use CHECK_N.
61289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
61290 include <bp-checks.h>.
61291 (__libc_pwrite64): Don't use CHECK_N.
61292 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
61293 (do_pread): Don't use CHECK_N.
61294 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
61295 (do_pread64): Don't use CHECK_N.
61296 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
61297 (do_pwrite): Don't use CHECK_N.
61298 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
61299 (do_pwrite64): Don't use CHECK_N.
61300 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
61301 (__libc_readv): Don't use CHECK_N.
61302 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
61303 (semop): Don't use CHECK_N.
61304 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
61305 <bp-checks.h>.
61306 (semtimedop): Don't use CHECK_N.
61307 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
61308 (__libc_pread): Don't use CHECK_N.
61309 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
61310 <bp-checks.h>.
61311 (__libc_pread64): Don't use CHECK_N.
61312 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
61313 <bp-checks.h>.
61314 (__libc_pwrite): Don't use CHECK_N.
61315 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
61316 <bp-checks.h>.
61317 (__libc_pwrite64): Don't use CHECK_N.
61318 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
61319 <bp-checks.h>.
61320 (__libc_msgrcv): Don't use CHECK_N.
61321 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
61322 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
61323 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
61324 (__libc_writev): Don't use CHECK_N.
61325
61326 2013-02-08 Roland McGrath <roland@hack.frob.com>
61327
61328 * string/strcpy.c: Removed unused variable.
61329
61330 * Makeconfig (+sysdep-includes): Define with := rather than =.
61331 Use an existing include/ subdir of each sysdeps dir before it.
61332
61333 2013-02-08 Carlos O'Donell <carlos@redhat.com>
61334
61335 * nscd/connection.c (register_traced_file): Comment function.
61336 [HAVE_INOTIFY] (union __inev): Define.
61337 [HAVE_INOTIFY] (inotify_check_files): New function.
61338 [HAVE_INOTIFY] (clear_db_cache): Likewise.
61339 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
61340 clear_db_cache.
61341 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
61342
61343 2013-02-08 Carlos O'Donell <carlos@redhat.com>
61344
61345 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
61346 loaded if not already and that a failure is permanent.
61347
61348 2013-02-08 Carlos O'Donell <carlos@redhat.com>
61349
61350 [BZ #15006]
61351 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
61352 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
61353
61354 2013-02-08 Joseph Myers <joseph@codesourcery.com>
61355
61356 [BZ #13550]
61357 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
61358 (CHECK_1_NULL_OK): Likewise.
61359 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
61360 (__fxstat): Do not use CHECK_1.
61361 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
61362 <bp-checks.h>.
61363 (___fxstat64): Do not use CHECK_1.
61364 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
61365 <bp-checks.h>.
61366 (__fxstatat): Do not use CHECK_1.
61367 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
61368 <bp-checks.h>.
61369 (__fxstatat64): Do not use CHECK_1.
61370 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
61371 <bp-checks.h>.
61372 (__fxstat): Do not use CHECK_1.
61373 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
61374 <bp-checks.h>.
61375 (__fxstatat): Do not use CHECK_1.
61376 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61377 <bp-checks.h>.
61378 (__getresgid): Do not use CHECK_1.
61379 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61380 <bp-checks.h>.
61381 (__getresuid): Do not use CHECK_1.
61382 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
61383 <bp-checks.h>.
61384 (__lxstat): Do not use CHECK_1.
61385 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61386 <bp-checks.h>.
61387 (__old_msgctl): Do not use CHECK_1.
61388 (__new_msgctl): Likewise.
61389 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
61390 <bp-checks.h>.
61391 (__new_setrlimit): Do not use CHECK_1.
61392 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61393 <bp-checks.h>.
61394 (__old_shmctl): Do not use CHECK_1.
61395 (__new_shmctl): Likewise.
61396 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
61397 <bp-checks.h>.
61398 (__xstat): Do not use CHECK_1.
61399 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
61400 (__lxstat): Do not use CHECK_1.
61401 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
61402 <bp-checks.h>.
61403 (___lxstat64): Do not use CHECK_1.
61404 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
61405 (__old_msgctl): Do not use CHECK_1.
61406 (__new_msgctl): Likewise.
61407 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
61408 <bp-checks.h>.
61409 (__gettimeofday): Do not use CHECK_1.
61410 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
61411 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
61412 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
61413 <bp-checks.h>.
61414 (__gettimeofday): Do not use CHECK_1.
61415 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
61416 (__old_shmctl): Do not use CHECK_1_NULL_OK.
61417 (__new_shmctl): Do not use CHECK_1.
61418 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
61419 <bp-checks.h>.
61420 (do_sigtimedwait): Do not use CHECK_1.
61421 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
61422 <bp-checks.h>.
61423 (do_sigwaitinfo): Do not use CHECK_1.
61424 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
61425 <bp-checks.h>.
61426 (msgctl): Do not use CHECK_1.
61427 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
61428 <bp-checks.h>.
61429 (shmctl): Do not use CHECK_1.
61430 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
61431 (ustat): Do not use CHECK_1.
61432 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
61433 <bp-checks.h>.
61434 (__fxstat): Do not use CHECK_1.
61435 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
61436 <bp-checks.h>.
61437 (__fxstatat): Do not use CHECK_1.
61438 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
61439 <bp-checks.h>.
61440 (__lxstat): Do not use CHECK_1.
61441 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
61442 <bp-checks.h>.
61443 (__xstat): Do not use CHECK_1.
61444 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
61445 (__xstat): Do not use CHECK_1.
61446 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
61447 (___xstat64): Do not use CHECK_1.
61448
61449 [BZ #13550]
61450 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
61451 definitions.
61452 (CHECK_BOUNDS_HIGH): Likewise.
61453 * string/strcpy.c: Do not include <bp-checks.h>.
61454 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
61455
61456 2013-02-07 Roland McGrath <roland@hack.frob.com>
61457
61458 * nscd/nscd-client.h (__nscd_drop_map_ref):
61459 Add __attribute__ ((unused)).
61460 * nis/nss-nisplus.h (niserr2nss): Likewise.
61461
61462 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
61463 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
61464
61465 * csu/libc-tls.c (init_static_tls, init_slotinfo):
61466 Remove inline keyword.
61467 * include/rounding-mode.h (round_away): Likewise.
61468 * libio/wfileops.c (adjust_wide_data): Likewise.
61469 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
61470 (__m128i_strloadu_tolower): Likewise.
61471 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
61472 (__m128i_strloadu_tolower): Likewise.
61473 * time/mktime.c (ydhms_diff): Likewise.
61474 * locale/elem-hash.h (elem_hash): Likewise.
61475 * locale/setlocale.c (setdata): Likewise.
61476 * posix/regex_internal.h (re_string_char_size_at): Likewise.
61477 (re_string_wchar_at): Likewise.
61478 (bitset_not, bitset_merge, bitset_mask): Likewise.
61479 [!(__GNUC__ > 3)] (inline): Remove macro.
61480 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
61481 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
61482 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
61483 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
61484 * string/memcmp.c (memcmp_bytes): Likewise.
61485 * locale/programs/locarchive.c (compute_hashval): Likewise.
61486 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
61487 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
61488 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
61489 * nss/getent.c (print_rpc, print_protocols): Likewise.
61490 (print_passwd, print_group, print_aliases): Likewise.
61491 * nis/nss-nisplus.h (niserr2nss): Likewise.
61492 * nscd/connections.c (restart_p): Likewise.
61493 Change return type to bool.
61494
61495 2013-02-05 Roland McGrath <roland@hack.frob.com>
61496
61497 * Makeconfig (all-Depend-files): Add existing
61498 $(sorted-subdirs:=/Depend) files.
61499 (all-subdirs): Remove nss.
61500 * sysdeps/unix/inet/Subdirs: Add it here instead.
61501 * hesiod/Depend: New file.
61502
61503 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
61504 instead of calling alloca.
61505
61506 * io/lseek.c (__lseek): Rename to __libc_lseek.
61507 Define __lseek as an alias.
61508
61509 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
61510
61511 2013-02-04 Carlos O'Donell <carlos@redhat.com>
61512
61513 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
61514 else clause and remove check for non-standard endianness.
61515
61516 2013-02-04 David S. Miller <davem@davemloft.net>
61517
61518 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61519
61520 2013-02-04 Joseph Myers <joseph@codesourcery.com>
61521
61522 [BZ #13550]
61523 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
61524 (__ubp_memchr): Remove prototype.
61525 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
61526 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61527 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
61528 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61529 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
61530 Remove alias.
61531 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
61532 (__ubp_memchr): Likewise.
61533 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
61534 (__ubp_memchr): Likewise.
61535 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
61536 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
61537 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
61538 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
61539 CHECK_STRING.
61540 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
61541 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
61542 (__getcwd): Do not use CHECK_STRING.
61543 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61544 <bp-checks.h>.
61545 (__real_chown): Do not use CHECK_STRING.
61546 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
61547 <bp-checks.h>.
61548 (fchownat): Do not use CHECK_STRING.
61549 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
61550 CHECK_STRING.
61551 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61552 <bp-checks.h>.
61553 (__lchown): Do not use CHECK_STRING.
61554 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
61555 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
61556 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
61557 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
61558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61559 include <bp-checks.h>.
61560 (truncate64): Do not use CHECK_STRING.
61561 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61562 <bp-checks.h>.
61563 (__real_chown): Do not use CHECK_STRING.
61564 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61565 <bp-checks.h>.
61566 (__lchown): Do not use CHECK_STRING.
61567 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61568 <bp-checks.h>.
61569 (__chown): Do not use CHECK_STRING.
61570 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
61571 <bp-checks.h>.
61572 (truncate64): Do not use CHECK_STRING.
61573 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
61574 Likewise.
61575 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
61576 (__xmknod): Do not use CHECK_STRING.
61577 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
61578 <bp-checks.h>.
61579 (__xmknodat): Do not use CHECK_STRING.
61580 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
61581 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
61582
61583 2013-02-04 Andreas Schwab <schwab@suse.de>
61584
61585 [BZ #14142]
61586 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
61587 * include/netdb.h: Likewise for h_errno.
61588 * elf/tst-stackguard1.c: Include <tls.h>.
61589
61590 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
61591
61592 * elf/link.h (struct link_map): Extend the l_addr comment.
61593 * include/link.h (struct link_map): Likewise.
61594
61595 2013-02-01 Joseph Myers <joseph@codesourcery.com>
61596
61597 [BZ #13550]
61598 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
61599 (BOUNDED_1): Remove macro.
61600 * debug/backtrace.c: Don't include <bp-checks.h>.
61601 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
61602 (__backtrace): Likewise.
61603 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
61604 <bp-checks.h>.
61605 (__backtrace): Don't use BOUNDED_1.
61606 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
61607 <bp-checks.h>.
61608 (__backtrace): Don't use BOUNDED_1.
61609 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
61610 (__backtrace): Don't use BOUNDED_1.
61611 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
61612 (shmat): Don't use BOUNDED_N.
61613
61614 2013-01-31 Joseph Myers <joseph@codesourcery.com>
61615
61616 [BZ #13550]
61617 * sysdeps/generic/bp-start.h: Remove file.
61618 * csu/libc-start.c: Don't include <bp-start.h>.
61619 (LIBC_START_MAIN): Set up __environ directly instead of using
61620 INIT_ARGV_and_ENVIRON.
61621 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
61622 <bp-start.h>.
61623
61624 [BZ #13550]
61625 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
61626 definitions.
61627 (CHECK_FCNTL): Likewise.
61628 (CHECK_N_PAGES): Likewise.
61629
61630 [BZ #13550]
61631 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
61632 definitions.
61633 (CHECK_SIGSET_NULL_OK): Likewise.
61634 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
61635 <bp-checks.h>.
61636 (sigpending): Don't use CHECK_SIGSET.
61637 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
61638 <bp-checks.h>.
61639 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61640 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
61641 <bp-checks.h>.
61642 (do_sigsuspend): Don't use CHECK_SIGSET.
61643 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
61644 use CHECK_SIGSET.
61645 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
61646 (do_sigwait): Don't use CHECK_SIGSET.
61647 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
61648 use CHECK_SIGSET.
61649 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
61650 include <bp-checks.h>.
61651 (sigpending): Don't use CHECK_SIGSET.
61652 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
61653 include <bp-checks.h>.
61654 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61655 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
61656 <bp-checks.h>.
61657 (sigpending): Don't use CHECK_SIGSET.
61658 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
61659 <bp-checks.h>.
61660 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61661
61662 [BZ #13550]
61663 * sysdeps/generic/bp-semctl.h: Remove file.
61664 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
61665 <bp-checks.h> and <bp-semctl.h>.
61666 (__old_semctl): Don't use CHECK_SEMCTL.
61667 (__new_semctl): Likewise.
61668 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
61669 and <bp-semctl.h>.
61670 (__old_semctl): Don't use CHECK_SEMCTL.
61671 (__new_semctl): Likewise.
61672 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
61673 <bp-checks.h> and <bp-semctl.h>.
61674 (__old_semctl): Don't use CHECK_SEMCTL.
61675 (__new_semctl): Likewise.
61676 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
61677 <bp-checks.h> and <bp-semctl.h>.
61678 (semctl): Don't use CHECK_SEMCTL.
61679
61680 [BZ #13550]
61681 * Makerules (elide-bp-thunks): Remove variable.
61682 (elide-routines.oS): Don't use $(elide-bp-thunks).
61683 (elide-routines.os): Likewise.
61684 (elide-routines.o): Likewise.
61685 (elide-routines.op): Likewise.
61686 (elide-routines.og): Likewise.
61687 (objects): Don't use $(bp-thunks).
61688 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
61689 include.
61690 (common-generated): Do not add s-proto-bp.d.
61691 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
61692 (int): Likewise.
61693 (typ): Likewise.
61694 Do not generate makefile rules for bounded-pointer thunks.
61695 * sysdeps/generic/bp-thunks.h: Remove file.
61696 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
61697 * sysdeps/unix/s-proto-bp.S: Likewise.
61698
61699 [BZ #15062]
61700 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
61701 parts of result separately when argument is not close to line from
61702 -i to i and one part of argument is small.
61703 * math/k_casinhf.c (__kernel_casinhf): Likewise.
61704 * math/k_casinhl.c (__kernel_casinhl): Likewise.
61705 * math/libm-test.inc (cacos_test): Add more tests.
61706 (casin_test): Likewise.
61707 (casinh_test): Likewise.
61708 * sysdeps/i386/fpu/libm-test-ulps: Update.
61709 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61710
61711 2013-01-31 David S. Miller <davem@davemloft.net>
61712
61713 * po/de.po: Update from translation team.
61714
61715 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
61716
61717 * time/tzfile.c: Include stdint.h for SIZE_MAX.
61718
61719 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
61720
61721 * configure.in (_AC_PROG_CC_C89): New definition.
61722 * configure: Regenerate.
61723
61724 * configure.in (AC_PROG_CPP): New definition.
61725 * configure: Regenerate.
61726
61727 2013-01-23 Joseph Myers <joseph@codesourcery.com>
61728
61729 * debug/tst-backtrace.h: New file.
61730 * debug/tst-backtrace2.c: Include tst-backtrace.h.
61731 (ret): Remove variable.
61732 (x): Likewise.
61733 (FAIL): Remove macro.
61734 (NO_INLINE): Likewise.
61735 (fn1): Use match function instead of strstr.
61736 * debug/tst-backtrace3.c: Include tst-backtrace.h.
61737 (ret): Remove variable.
61738 (x): Likewise.
61739 (FAIL): Remove macro.
61740 (NO_INLINE): Likewise.
61741 (fn): Use match function instead of strstr.
61742 * debug/tst-backtrace4.c: Include tst-backtrace.h.
61743 (ret): Remove variable.
61744 (x): Likewise.
61745 (FAIL): Remove macro.
61746 (NO_INLINE): Likewise.
61747 (handle_signal): Use match function instead of strstr.
61748 * debug/tst-backtrace5.c: Include tst-backtrace.h.
61749 (ret): Remove variable.
61750 (x): Likewise.
61751 (FAIL): Remove macro.
61752 (NO_INLINE): Likewise.
61753 (handle_signal): Use match function instead of strstr.
61754
61755 2013-01-23 Roland McGrath <roland@hack.frob.com>
61756
61757 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
61758
61759 2013-01-23 David S. Miller <davem@davemloft.net>
61760
61761 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
61762 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
61763 argument of CAS if possible.
61764 * sysdeps/sparc/sparc64/bits/atomic.h
61765 (__arch_compare_and_exchange_val_32_acq): Likewise.
61766 (__arch_compare_and_exchange_val_64_acq): Likewise.
61767
61768 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
61769
61770 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
61771 * sysdeps/posix/ulimit.c: ... this.
61772 Include <limits.h>.
61773 * sysdeps/unix/bsd/ulimit.c: Remove file.
61774
61775 2013-01-23 Adam Conrad <adconrad@0c3.net>
61776
61777 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
61778 (LDFLAGS-tst-array5): Likewise.
61779
61780 2013-01-23 Joseph Myers <joseph@codesourcery.com>
61781
61782 [BZ #15036]
61783 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
61784 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
61785 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
61786 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
61787
61788 2013-01-21 David S. Miller <davem@davemloft.net>
61789
61790 * sysdeps/sparc/backtrace.c: New file.
61791 * sysdeps/sparc/sparc32/backtrace.h: New file.
61792 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
61793 * sysdeps/sparc/sparc64/backtrace.h: New file.
61794 * sysdeps/sparc/sparc64/backtrace.c: Delete.
61795 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
61796 -funwind-tables.
61797
61798 2013-01-21 Andreas Schwab <schwab@suse.de>
61799
61800 [BZ #15020]
61801 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
61802 closed its stdout.
61803
61804 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
61805
61806 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
61807 "mpa2.h".
61808 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61809
61810 2013-01-18 Joseph Myers <joseph@codesourcery.com>
61811 Mark Mitchell <mark@codesourcery.com>
61812 Tom de Vries <tom@codesourcery.com>
61813 Paul Pluzhnikov <ppluzhnikov@google.com>
61814
61815 * debug/tst-backtrace2.c: New file.
61816 * debug/tst-backtrace3.c: Likewise.
61817 * debug/tst-backtrace4.c: Likewise.
61818 * debug/tst-backtrace5.c: Likewise.
61819 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
61820 (CFLAGS-tst-backtrace3.c): Likewise.
61821 (CFLAGS-tst-backtrace4.c): Likewise.
61822 (CFLAGS-tst-backtrace5.c): Likewise.
61823 (LDFLAGS-tst-backtrace2): Likewise.
61824 (LDFLAGS-tst-backtrace3): Likewise.
61825 (LDFLAGS-tst-backtrace4): Likewise.
61826 (LDFLAGS-tst-backtrace5): Likewise.
61827 (tests): Add new tests tst-backtrace2, tst-backtrace3,
61828 tst-backtrace4 and tst-backtrace5.
61829
61830 2013-01-18 Anton Blanchard <anton@samba.org>
61831 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
61832
61833 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
61834 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
61835 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
61836 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
61837 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
61838 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
61839 "+r" and remove output regs list as redundant. Add explicit inline
61840 asm to specify register of return val to work around compiler codegen
61841 bug. Remove (int) cast on return value. Add return type parameter to
61842 use in macro so that this macro does not truncate return value for
61843 64-bit values.
61844 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
61845 pass to INTERNAL_VSYSCALL_NCS.
61846 (INLINE_VSYSCALL): Add 'long int' as return type to
61847 INTERNAL_VSYSCALL_NCS macro invocation.
61848 (INTERNAL_VSYSCALL): Add 'long int' as return type to
61849 INTERNAL_VSYSCALL_NCS macro invocation.
61850 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61851
61852 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
61853
61854 [BZ #14496]
61855 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
61856 Fix application of SIMD FP exception mask.
61857
61858 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
61859 mp_no from a power of two.
61860 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
61861 __mpexp_twomm1. Use __pow_mp.
61862
61863 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
61864 multiplication.
61865
61866 2013-01-17 David S. Miller <davem@davemloft.net>
61867
61868 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61869
61870 2013-01-17 Joseph Myers <joseph@codesourcery.com>
61871
61872 [BZ #15023]
61873 * include/complex.h: Condition contents on [!_COMPLEX_H].
61874 (__kernel_casinhf): New prototype.
61875 (__kernel_casinh): Likewise.
61876 (__kernel_casinhl): Likewise.
61877 * math/Makefile (libm_calls): Add k_casinh.
61878 * math/k_casinh.c: New file.
61879 * math/k_casinhf.c: Likewise.
61880 * math/k_casinhl.c: Likewise.
61881 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
61882 finite nonzero arguments.
61883 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
61884 finite nonzero arguments.
61885 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
61886 finite nonzero arguments.
61887 * math/s_casinh.c: Do not include <float.h>.
61888 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
61889 * math/s_casinhf.c: Do not include <float.h>.
61890 (__casinhf): Move code for finite nonzero arguments to
61891 k_casinhf.c.
61892 * math/s_casinhl.c: Do not include <float.h>.
61893 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
61894 redefine.
61895 (__casinhl): Move code for finite nonzero arguments to
61896 k_casinhl.c.
61897 * math/libm-test.inc (cacos_test): Add more tests.
61898 * sysdeps/i386/fpu/libm-test-ulps: Update.
61899 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61900
61901 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
61902
61903 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
61904 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
61905 [!HAVE_MREMAP]: Remove [defined linux] case.
61906 * malloc/arena.c: Do not include <malloc-sysdep.h>.
61907
61908 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
61909
61910 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
61911
61912 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
61913
61914 * elf/elf.h (R_386_SIZE32): New relocation.
61915 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
61916 R_386_SIZE32.
61917 (elf_machine_rela): Likewise.
61918 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61919 R_X86_64_SIZE64 and R_X86_64_SIZE32.
61920
61921 2013-01-17 Joseph Myers <joseph@codesourcery.com>
61922
61923 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
61924 (FP_FAST_FMA): Do not define.
61925 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
61926 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
61927 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
61928 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
61929 !_SOFT_FLOAT]: Likewise.
61930 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
61931 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
61932 value.
61933 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
61934 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
61935 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
61936 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
61937 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
61938 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
61939 file.
61940
61941 2013-01-16 Andreas Schwab <schwab@suse.de>
61942
61943 [BZ #14327]
61944 * include/stdlib.h (__mktemp): Add declaration.
61945 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
61946 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
61947
61948 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
61949
61950 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
61951 definitions.
61952 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61953 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
61954 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
61955 definitions here.
61956 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
61957 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
61958 definitions.
61959 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
61960 and ONE.
61961 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
61962 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
61963 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
61964 definitions.
61965 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
61966 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
61967 definitions.
61968 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61969
61970 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
61971
61972 2013-01-15 David S. Miller <davem@davemloft.net>
61973
61974 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61975 trunc{,f} to libm-sysdep_routes.
61976 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61977 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
61978 file.
61979 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
61980 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
61981 file.
61982 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
61983 file.
61984 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
61985 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
61986 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
61987 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
61988 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
61989 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
61990 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
61991 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
61992
61993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61994 nearbyint{,f} to libm-sysdep_routes.
61995 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61996 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
61997 New file.
61998 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
61999 file.
62000 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
62001 New file.
62002 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
62003 file.
62004 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
62005 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
62006 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
62007 file.
62008 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
62009 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
62010 file.
62011 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
62012 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
62013 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
62014
62015 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
62016 libc_feholdexcept and libc_fesetenv.
62017
62018 2013-01-15 Mike Frysinger <vapier@gentoo.org>
62019
62020 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
62021
62022 2013-01-14 David S. Miller <davem@davemloft.net>
62023
62024 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
62025 (SPARC_ASM_VIS2_IFUNC): Likewise.
62026 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
62027 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
62028 use of 'siam' instruction.
62029 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
62030 Likewise.
62031 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
62032 Likewise.
62033 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
62034 Likewise.
62035 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
62036 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
62037 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
62038 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
62039 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
62040 file.
62041 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
62042 file.
62043 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
62044 file.
62045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
62046 file.
62047 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
62048 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
62049 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
62050 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
62051 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
62052 new VIS2 routines.
62053 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
62054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62055 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
62056 Likewise.
62057 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
62058 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
62059 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
62060 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
62061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
62062 routines to libm-sysdep_routines.
62063 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
62064
62065 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
62066 fdim/fdimf to libm-sysdep_routines.
62067 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
62068 file.
62069 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
62070 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
62071 file.
62072 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
62073 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
62074 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
62075 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
62076 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
62077 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
62078 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
62079
62080 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
62081
62082 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
62083 to optimize copies.
62084
62085 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
62086 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62087 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62088
62089 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
62090 local variable MPTWO.
62091 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
62092 Likewise.
62093
62094 2013-01-13 Mike Frysinger <vapier@gentoo.org>
62095
62096 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
62097 GLOB_NOESCAPE.
62098
62099 2013-01-13 Mike Frysinger <vapier@gentoo.org>
62100
62101 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
62102
62103 2013-01-13 Mike Frysinger <vapier@gentoo.org>
62104
62105 * manual/pattern.texi (glob_t): Document gl_flags.
62106 (glob64_t): Likewise.
62107
62108 2013-01-11 David S. Miller <davem@davemloft.net>
62109
62110 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
62111 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
62112 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
62113 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
62114 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
62115 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
62116 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
62117 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
62118 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
62119 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
62120 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
62121 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
62122 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
62123
62124 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
62125 sparc V9 rather than using V8 code.
62126 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
62127 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
62128
62129 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
62130 Move to...
62131 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
62132 Here.
62133
62134 2013-01-11 Roland McGrath <roland@hack.frob.com>
62135
62136 [BZ #14941]
62137 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
62138 not in the main loop.
62139 * configure: Regenerated.
62140
62141 2013-01-11 Joseph Myers <joseph@codesourcery.com>
62142
62143 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
62144 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
62145 to just #else.
62146 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
62147 [!__GLIBC_HAVE_LONG_LONG] case.
62148 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
62149 condition to just #else.
62150 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
62151 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
62152 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
62153 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
62154 unconditional.
62155 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
62156 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
62157 #elif condition to just #else.
62158 * sysdeps/unix/sysv/linux/sys/sysmacros.h
62159 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
62160 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
62161 #elif condition to just #else.
62162
62163 2013-01-11 Steve Ellcey <sellcey@mips.com>
62164
62165 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
62166 (EF_MIPS_ARCH_64): Fix value.
62167 (EF_MIPS_ARCH_32R2): New.
62168 (EF_MIPS_ARCH_64R2): New.
62169
62170 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
62171
62172 * Makeconfig (+link-pie-before-libc): New.
62173 (+link-pie-after-libc): Likewise.
62174 (+link-pie-tests): Likewise.
62175 (+link-pie): Rewritten.
62176 (link-before-libc): Remove $(config-LDFLAGS).
62177 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
62178 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
62179 (config-LDFLAGS): Renamed to ...
62180 (rtld-LDFLAGS): This.
62181 (rtld-tests-LDFLAGS): New macro.
62182 (link-libc-rpath-link): Likewise.
62183 (link-libc-tests-rpath-link): Likewise.
62184 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
62185 (link-libc): Prepand $(link-libc-rpath-link).
62186 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
62187 (test-program-prefix): New macro.
62188 (test-via-rtld-prefix): Likewise.
62189 (test-program-cmd): Likewise.
62190 (host-test-program-cmd): Likewise.
62191 * Makefile ($(common-objpfx)testrun.sh): Replace
62192 $(run-program-prefix) with $(test-program-prefix).
62193 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
62194 $(rtld-LDFLAGS).
62195 ($(common-objpfx)shlib.lds): Likewise.
62196 (build-module-helper): Likewise.
62197 ($(common-objpfx)format.lds): Likewise.
62198 * Rules (binaries-pie-tests): New.
62199 (binaries-pie-notests): Likewise.
62200 (binaries-pie): Rewritten.
62201 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
62202 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
62203 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
62204 (make-test-out): Replace $(host-built-program-cmd) with
62205 $(host-test-program-cmd).
62206 * config.make.in (build-hardcoded-path-in-tests): New variable.
62207 * configure.in (--enable-hardcoded-path-in-tests): New configure
62208 option.
62209 (hardcoded_path_in_tests): New AC_SUBST.
62210 * configure: Regenerated.
62211 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
62212 $(built-program-cmd) with $(test-program-cmd).
62213 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
62214 (test_program_cmd): This.
62215 * elf/Makefile ($(objpfx)order.out): Run test with
62216 $(test-program-prefix).
62217 ($(objpfx)order2.out): Likewise.
62218 ($(objpfx)tst-initorder.out): Likewise.
62219 ($(objpfx)tst-initorder2.out): Likewise.
62220 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
62221 $(test-program-cmd).
62222 ($(objpfx)tst-array1-static.out): Likewise.
62223 ($(objpfx)tst-array2.out): Likewise.
62224 ($(objpfx)tst-array3.out): Likewise.
62225 ($(objpfx)tst-array4.out): Likewise.
62226 ($(objpfx)tst-array5.out): Likewise.
62227 ($(objpfx)tst-array5-static.out): Likewise.
62228 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
62229 $(test-program-cmd).
62230 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
62231 $(run-program-prefix) with $(test-program-prefix).
62232 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
62233 (test_program_prefix): This.
62234 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
62235 $(run-program-prefix) with $(test-program-prefix).
62236 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
62237 (test_program_prefix): This.
62238 * iconvdata/tst-tables.sh: Likewise.
62239 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
62240 $(run-program-prefix) with $(test-program-prefix).
62241 ($(objpfx)tst-translit.out): Likewise.
62242 ($(objpfx)tst-gettext2.out): Likewise.
62243 ($(objpfx)tst-gettext4.out): Likewise.
62244 ($(objpfx)tst-gettext6.out): Likewise.
62245 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
62246 (test_program_prefix): This.
62247 * intl/tst-gettext2.sh: Likewise.
62248 * intl/tst-gettext4.sh Likewise.
62249 * intl/tst-gettext6.sh: Likewise.
62250 * intl/tst-translit.sh: Likewise.
62251 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
62252 with $(test-program-cmd).
62253 * libio/Makefile ($(objpfx)test-freopen.out): Replace
62254 $(run-program-prefix) with $(test-program-prefix).
62255 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
62256 (test_program_prefix): This.
62257 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
62258 $(run-program-prefix) with $(test-program-prefix).
62259 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
62260 (test_program_prefix): This.
62261 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
62262 * posix/Makefile ($(objpfx)globtest.out): Replace
62263 $(run-via-rtld-prefix) and $(test-wrapper) with
62264 $(test-program-prefix) and $(test-via-rtld-prefix).
62265 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
62266 $(test-program-prefix).
62267 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
62268 $(host-test-program-cmd).
62269 (tst-spawn-ARGS): Likewise.
62270 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
62271 $(test-program-prefix).
62272 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
62273 (test_via_rtld_prefix): This.
62274 (test_wrapper): Renamed to ...
62275 (test_program_prefix): This.
62276 (run_program_prefix): Replaced by test_program_prefix.
62277 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
62278 (test_program_prefix): This.
62279 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
62280 with $(host-test-program-cmd).
62281 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
62282 $(run-program-prefix) with $(test-program-prefix).
62283 ($(objpfx)tst-printf.out): Likewise.
62284 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
62285 $(test-program-cmd).
62286 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
62287 (test_program_prefix): This.
62288 * stdio-common/tst-unbputc.sh: Likewise.
62289 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
62290 $(run-program-prefix) with $(test-program-prefix).
62291 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
62292 (test_program_prefix): This.
62293 * string/Makefile ($(objpfx)tst-svc.out): Replace
62294 $(built-program-cmd) with $(test-program-cmd).
62295
62296 2013-01-11 Andreas Jaeger <aj@suse.de>
62297
62298 [BZ #15003]
62299 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
62300 value. Sync with Linux 3.7.
62301
62302 2013-01-10 David S. Miller <davem@davemloft.net>
62303
62304 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
62305 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
62306 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
62307
62308 2013-01-10 Roland McGrath <roland@hack.frob.com>
62309
62310 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
62311 never set.
62312 * configure: Regenerated.
62313
62314 2013-01-10 David S. Miller <davem@davemloft.net>
62315
62316 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
62317 sparc V9 rather than using V8 code.
62318 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
62319 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
62320
62321 2013-01-10 Roland McGrath <roland@hack.frob.com>
62322
62323 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
62324 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
62325 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
62326 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
62327 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
62328 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
62329 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
62330 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
62331 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
62332 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
62333 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
62334 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
62335 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
62336 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
62337 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
62338 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
62339 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
62340 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
62341 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
62342 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
62343 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
62344 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
62345 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
62346 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
62347 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
62348 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
62349 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
62350
62351 2013-01-10 David S. Miller <davem@davemloft.net>
62352
62353 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62354
62355 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
62356
62357 * posix/Makefile (tests-static): New variable.
62358 (tests): Add $(tests-static).
62359 (tst-exec-static-ARGS): New variable.
62360 (tst-spawn-static-ARGS): Likewise.
62361 * posix/tst-exec-static.c: New file.
62362 * posix/tst-spawn-static.c: Likewise.
62363 * posix/tst-exec.c: Support run directly.
62364 * posix/tst-spawn.c: Likewise.
62365
62366 2013-01-10 Joseph Myers <joseph@codesourcery.com>
62367
62368 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
62369 long.
62370 * math/bits/mathcalls.h (llrint): Likewise.
62371 (llround): Likewise.
62372 * stdlib/stdlib.h (struct drand48_data): Likewise.
62373 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
62374 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
62375 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
62376 Likewise.
62377 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
62378 Likewise.
62379 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
62380 (elf_greg_t): Likewise.
62381 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
62382 (__jmp_buf): Likewise.
62383 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
62384 definitions.
62385 (llrint): Likewise, for all definitions.
62386 (llrintl): Likewise.
62387
62388 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
62389 Remove [__GNUC__] condition.
62390 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
62391 condition to just [__USE_ISOC99].
62392 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
62393
62394 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
62395
62396 [BZ #14200]
62397 * sysdeps/unix/sysv/linux/x86/bits/environments.h
62398 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
62399 defined.
62400 (_POSIX_V6_ILP32_OFF32): Likewise.
62401 (_XBS5_ILP32_OFF32): Likewise.
62402 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
62403 (__ILP32_OFFBIG_LDFLAGS): Likewise.
62404
62405 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
62406
62407 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
62408
62409 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
62410 doubles __mpexp_twomm1. Adjust usage.
62411 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
62412 Remove.
62413
62414 2013-01-10 Andreas Schwab <schwab@suse.de>
62415
62416 [BZ #14964]
62417 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
62418 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
62419
62420 2013-01-09 David S. Miller <davem@davemloft.net>
62421
62422 [BZ #15003]
62423 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
62424 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
62425 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
62426 (TCP_FASTOPEN): Define.
62427 (tcp_repair_opt): New structure.
62428 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
62429 enum values.
62430 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
62431 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
62432 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
62433 (tcp_cookie_transactions): New structure.
62434
62435 2013-01-09 Anton Blanchard <anton@samba.org>
62436
62437 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
62438 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
62439 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
62440 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
62441
62442 2013-01-09 Joseph Myers <joseph@codesourcery.com>
62443
62444 * include/features.h (__USE_ANSI): Remove.
62445
62446 2013-01-09 Roland McGrath <roland@hack.frob.com>
62447
62448 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
62449
62450 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
62451
62452 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
62453
62454 * sysdeps/s390/fpu/libm-test-ulps: Update.
62455
62456 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62457
62458 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
62459 (__acr): Likewise.
62460 (__cpy): Likewise.
62461 (norm): Likewise.
62462 (denorm): Likewise.
62463 (__mp_dbl): Likewise.
62464 (__dbl_mp): Likewise.
62465 (add_magnitudes): Likewise.
62466 (sub_magnitudes): Likewise.
62467 (__add): Likewise.
62468 (__sub): Likewise.
62469 (__mul): Likewise.
62470 (__inv): Likewise.
62471 (__dvd): Likewise.
62472 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
62473 (__acr): Likewise.
62474 (__cpy): Likewise.
62475 (norm): Likewise.
62476 (denorm): Likewise.
62477 (__mp_dbl): Likewise.
62478 (__dbl_mp): Likewise.
62479 (add_magnitudes): Likewise.
62480 (sub_magnitudes): Likewise.
62481 (__add): Likewise.
62482 (__sub): Likewise.
62483 (__mul): Likewise.
62484 (__inv): Likewise.
62485 (__dvd): Likewise.
62486 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
62487 (__acr): Likewise.
62488 (__cpy): Likewise.
62489 (norm): Likewise.
62490 (denorm): Likewise.
62491 (__mp_dbl): Likewise.
62492 (__dbl_mp): Likewise.
62493 (add_magnitudes): Likewise.
62494 (sub_magnitudes): Likewise.
62495 (__add): Likewise.
62496 (__sub): Likewise.
62497 (__mul): Likewise.
62498 (__inv): Likewise.
62499 (__dvd): Likewise.
62500
62501 2013-01-08 Joseph Myers <joseph@codesourcery.com>
62502
62503 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
62504 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
62505 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
62506 2 && __USE_EXTERN_INLINES]: Likewise.
62507
62508 2013-01-08 Andreas Jaeger <aj@suse.de>
62509
62510 [BZ# 14985]
62511 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
62512 Remove.
62513 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62514 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62515
62516 2013-01-07 Anton Blanchard <anton@samba.org>
62517
62518 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
62519 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
62520 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
62521 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
62522 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62523 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62524 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
62525 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62526 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62527 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62528 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62529 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62530 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62531 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62532 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62533 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62534 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62535 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62536 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62537 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62538 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62539 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
62540 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62541 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62542 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
62543 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62544 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62545 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
62546 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
62547 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62548 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62549 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62550 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62551 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62552 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62553 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62554 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62555 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62556 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
62557 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
62558 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
62559 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62560 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62561
62562 2013-01-07 Joseph Myers <joseph@codesourcery.com>
62563
62564 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
62565 (__MALLOC_PMT): Likewise.
62566 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
62567 [__GNUC__], only on [_LIBC].
62568 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62569 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
62570 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62571 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
62572 forward declaration.
62573 (realloc_hook_ini): Likewise.
62574 (memalign_hook_ini): Likewise.
62575 (__libc_memalign): Do not use __MALLOC_PMT in variable
62576 declaration.
62577 (__libc_valloc): Likewise.
62578 (__libc_pvalloc): Likewise.
62579 (__libc_calloc): Likewise.
62580 (__posix_memalign): Likewise.
62581
62582 [BZ #14996]
62583 * math/s_casinh.c: Include <float.h>.
62584 (__casinh): Do not do computation with squaring and square root
62585 for large arguments.
62586 * math/s_casinhf.c: Include <float.h>.
62587 (__casinhf): Do not do computation with squaring and square root
62588 for large arguments.
62589 * math/s_casinhl.c: Include <float.h>.
62590 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
62591 (__casinhl): Do not do computation with squaring and square root
62592 for large arguments.
62593 * math/libm-test.inc (casin_test): Add more tests.
62594 (casinh_test): Likewise.
62595 * sysdeps/i386/fpu/libm-test-ulps: Update.
62596 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62597
62598 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
62599
62600 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
62601 (__x86_64_raw_data_cache_size): Likewise.
62602 (__x86_64_data_cache_size_half): Likewise.
62603 (__x86_64_raw_data_cache_size_half): Likewise.
62604 (__x86_64_shared_cache_size): Likewise.
62605 (__x86_64_raw_shared_cache_size): Likewise.
62606 (__x86_64_shared_cache_size_half): Likewise.
62607 (__x86_64_raw_shared_cache_size_half): Likewise.
62608 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
62609 to ...
62610 (__x86_data_cache_size): This.
62611 (__x86_64_raw_data_cache_size): Renamed to ...
62612 (__x86_raw_data_cache_size): This.
62613 (__x86_64_data_cache_size_half): Renamed to ...
62614 (__x86_data_cache_size_half): This.
62615 (__x86_64_raw_data_cache_size_half): Renamed to ...
62616 (__x86_raw_data_cache_size_half): This.
62617 (__x86_64_shared_cache_size): Renamed to ...
62618 (__x86_shared_cache_size): This.
62619 (__x86_64_raw_shared_cache_size): Renamed to ...
62620 (__x86_raw_shared_cache_size): This.
62621 (__x86_64_shared_cache_size_half): Renamed to ...
62622 (__x86_shared_cache_size_half): This.
62623 (__x86_64_raw_shared_cache_size_half): Renamed to ...
62624 (__x86_raw_shared_cache_size_half): This.
62625 * sysdeps/x86_64/memcpy.S: Updated.
62626 * sysdeps/x86_64/memset.S: Likewise.
62627 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62628 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62629 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62630
62631 2013-01-04 David S. Miller <davem@davemloft.net>
62632
62633 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62634
62635 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
62636
62637 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
62638 1 to avoid redefinition warning.
62639 (__USE_GNU): Don't define.
62640 (init_signaling_nan): Protoize.
62641
62642 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62643
62644 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62645
62646 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
62647 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
62648 (__cpymn): Likewise.
62649 (norm): Remove commented code.
62650 (denorm): Likewise.
62651 (__mp_dbl): Likewise.
62652 (__inv): Likewise.
62653 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
62654 (__cpymn): Likewise.
62655 (norm): Remove commented code.
62656 (denorm): Likewise.
62657 (__mp_dbl): Likewise.
62658 (__inv): Likewise.
62659
62660 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
62661 mp_no value for 1.0 and 2.0.
62662 (norm): Use RADIXI instead of radixi.d.
62663 (denorm): Likewise.
62664 (__mul): Use 0.0 instead of zero.d.
62665 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
62666 mp_no value for 1.0 and 2.0.
62667 (norm): Use RADIXI instead of radixi.d.
62668 (denorm): Likewise.
62669 (__mul): Use 0.0 instead of zero.d.
62670
62671 2013-01-04 Joseph Myers <joseph@codesourcery.com>
62672
62673 [BZ #14994]
62674 * math/s_casinh.c (__casinh): Reduce finite argument to first
62675 quadrant then set signs of results at the end.
62676 * math/s_casinhf.c (__casinhf): Likewise.
62677 * math/s_casinhl.c (__casinhl): Likewise.
62678 * math/libm-test.inc (casin_test): Add more tests.
62679 (casinh_test): Likewise.
62680 * sysdeps/i386/fpu/libm-test-ulps: Update.
62681 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62682
62683 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62684
62685 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
62686
62687 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
62688
62689 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
62690 declarations.
62691 (denorm): Likewise.
62692 (__mp_dbl): Likewise.
62693 (__inv): Likewise.
62694
62695 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
62696 and adjust the header comment.
62697
62698 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
62699 variable name from declaration.
62700
62701 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
62702
62703 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62704 Initialize COMMON_CPUID_INDEX_7 element.
62705 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
62706 (CPUID_RTM): Likewise.
62707 (HAS_RTM): Likewise.
62708 (COMMON_CPUID_INDEX_7): New enum.
62709
62710 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
62711
62712 [BZ #14981]
62713 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
62714 size is zero, record memory as freed.
62715
62716 2013-01-03 Andreas Jaeger <aj@suse.de>
62717
62718 * po/ia.po: Add new Interlingua translation.
62719
62720 2012-01-03 Allan McRae <allan@archlinux.org>
62721
62722 * locale/programs/localedef.c: Fix description of '--posix' flag.
62723
62724 2013-01-02 Joseph Myers <joseph@codesourcery.com>
62725
62726 * NEWS: Update dates in second copyright notice.
62727 * README: Update copyright dates in example.
62728 * manual/libc.texinfo: Update copyright dates.
62729 * scripts/test-installation.pl: Update copyright date in --version
62730 output.
62731
62732 * hurd/ctty-input.c: Fix copyright notice formatting.
62733 * hurd/ctty-output.c: Likewise.
62734 * hurd/dtable.c: Likewise.
62735 * hurd/hurd-raise.c: Likewise.
62736 * hurd/hurdprio.c: Likewise.
62737 * hurd/msgportdemux.c: Likewise.
62738 * misc/sys/file.h: Likewise.
62739 * misc/sys/ioctl.h: Likewise.
62740 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
62741 * sysdeps/mach/hurd/chdir.c: Likewise.
62742 * sysdeps/mach/hurd/fchdir.c: Likewise.
62743 * sysdeps/mach/hurd/rename.c: Likewise.
62744 * sysdeps/mach/hurd/rmdir.c: Likewise.
62745 * sysdeps/mach/hurd/seekdir.c: Likewise.
62746 * sysdeps/mach/hurd/setsid.c: Likewise.
62747 * sysdeps/posix/wait3.c: Likewise.
62748
62749 * All files with FSF copyright notices: Update copyright dates
62750 using scripts/update-copyrights.
62751 * intl/plural.c: Regenerated.
62752 * locale/programs/charmap-kw.h: Likewise.
62753 * locale/programs/locfile-kw.h: Likewise.
62754
62755 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
62756
62757 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
62758 four values.
62759
62760 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
62761 calculation loop and add branch prediction.
62762
62763 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
62764 check access beyond bounds of m1np.
62765
62766 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62767 MPTWO.
62768 (__inv): Remove local variable MPTWO to use the global
62769 constant.
62770 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
62771 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62772 variable MPTWO.
62773 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
62774 MP3HALFS static const.
62775
62776 2013-01-01 David S. Miller <davem@davemloft.net>
62777
62778 * po/ca.po: Update from translation team.
62779
62780 2013-01-01 Joseph Myers <joseph@codesourcery.com>
62781
62782 * scripts/update-copyrights: New file.
62783 * Makeconfig: Reformat copyright notice.
62784 * ctype/ctype.h: Likewise.
62785 * debug/swprintf_chk.c: Likewise.
62786 * elf/dl-cache.c: Likewise.
62787 * elf/dl-debug.c: Likewise.
62788 * elf/dl-object.c: Likewise.
62789 * grp/initgroups.c: Likewise.
62790 * hurd/Makefile: Likewise.
62791 * hurd/hurd/signal.h: Likewise.
62792 * hurd/hurdfault.c: Likewise.
62793 * hurd/hurdioctl.c: Likewise.
62794 * hurd/hurdlookup.c: Likewise.
62795 * hurd/intr-msg.c: Likewise.
62796 * iconv/gconv_open.c: Likewise.
62797 * libio/swprintf.c: Likewise.
62798 * locale/lc-ctype.c: Likewise.
62799 * locale/nl_langinfo.c: Likewise.
62800 * mach/Machrules: Likewise.
62801 * mach/Makefile: Likewise.
62802 * malloc/obstack.h: Likewise.
62803 * manual/Makefile: Likewise.
62804 * manual/tsort.awk: Likewise.
62805 * misc/bits/stab.def: Likewise.
62806 * nis/nis_print_group_entry.c: Likewise.
62807 * nis/nis_table.c: Likewise.
62808 * nis/nss_compat/compat-pwd.c: Likewise.
62809 * nis/nss_compat/compat-spwd.c: Likewise.
62810 * po/Makefile: Likewise.
62811 * posix/fnmatch.c: Likewise.
62812 * posix/regex.h: Likewise.
62813 * resolv/Makefile: Likewise.
62814 * resolv/nss_dns/dns-network.c: Likewise.
62815 * resolv/res_hconf.c: Likewise.
62816 * scripts/gen-sorted.awk: Likewise.
62817 * soft-fp/soft-fp.h: Likewise.
62818 * stdio-common/printf.h: Likewise.
62819 * stdlib/monetary.h: Likewise.
62820 * stdlib/random.c: Likewise.
62821 * stdlib/random_r.c: Likewise.
62822 * sysdeps/generic/Makefile: Likewise.
62823 * sysdeps/gnu/Makefile: Likewise.
62824 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62825 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62826 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62827 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62828 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62829 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62830 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62831 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62832 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62833 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62834 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62835 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62836 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
62837 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
62838 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
62839 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
62840 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62841 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62842 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62843 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62844 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62845 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62846 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62847 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
62848 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
62849 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
62850 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62851 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
62852 * sysdeps/mach/hurd/errnos.awk: Likewise.
62853 * sysdeps/mach/hurd/fork.c: Likewise.
62854 * sysdeps/mach/hurd/getcwd.c: Likewise.
62855 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
62856 * sysdeps/mach/hurd/mmap.c: Likewise.
62857 * sysdeps/mach/hurd/utimes.c: Likewise.
62858 * sysdeps/mach/hurd/xmknod.c: Likewise.
62859 * sysdeps/posix/profil.c: Likewise.
62860 * sysdeps/posix/readdir_r.c: Likewise.
62861 * sysdeps/powerpc/bits/mathdef.h: Likewise.
62862 * sysdeps/powerpc/bits/setjmp.h: Likewise.
62863 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
62864 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62865 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62866 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62867 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62868 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62869 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62870 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62871 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62872 * sysdeps/pthread/lio_listio.c: Likewise.
62873 * sysdeps/sparc/dl-procinfo.h: Likewise.
62874 * sysdeps/unix/i386/sysdep.S: Likewise.
62875 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
62876 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
62877 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
62878 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
62879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
62880 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
62881 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
62882 * sysdeps/unix/sysv/linux/speed.c: Likewise.
62883 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
62884 * sysdeps/wordsize-32/divdi3.c: Likewise.
62885 * time/sys/time.h: Likewise.
62886 * wcsmbs/Makefile: Likewise.
62887
62888 2013-01-01 David S. Miller <davem@davemloft.net>
62889
62890 * po/fr.po: Update from translation team.
62891
62892 * catgets/gencat.c: Update copyright year.
62893 * csu/version.c: Likewise.
62894 * debug/catchsegv.sh: Likewise.
62895 * debug/pcprofiledump.c: Likewise.
62896 * debug/xtrace.sh: Likewise.
62897 * elf/ldconfig.c: Likewise.
62898 * elf/ldd.bash.in: Likewise.
62899 * elf/pldd.c: Likewise.
62900 * elf/sotruss.ksh: Likewise.
62901 * elf/sprof.c: Likewise.
62902 * iconv/iconv_prog.c: Likewise.
62903 * iconv/iconvconfig.c: Likewise.
62904 * locale/programs/locale.c: Likewise.
62905 * locale/programs/localedef.c: Likewise.
62906 * login/programs/pt_chown.c: Likewise.
62907 * malloc/memusage.sh: Likewise.
62908 * malloc/memusagestat.c: Likewise.
62909 * malloc/mtrace.pl: Likewise.
62910 * nscd/nscd.c: Likewise.
62911 * nss/getent.c: Likewise.
62912 * nss/makedb.c: Likewise.
62913 * posix/getconf.c: Likewise.
62914
62915 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
62916
62917 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
62918 numbers.
62919
62920 2012-12-30 Mike Frysinger <vapier@gentoo.org>
62921
62922 * math/bits/mathcalls.h (modf): Use __nonnull.
62923
62924 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
62925
62926 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
62927 (split): Use macro CN instead of the bare value.
62928 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
62929 could be used.
62930 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
62931 instead of the bare value.
62932 (power1): Likewise.
62933
62934 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62935
62936 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
62937 __ATAN_TWOM.
62938 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62939
62940 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
62941 their values.
62942 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
62943 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62944 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
62945 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
62946
62947 2012-12-28 Andreas Jaeger <aj@suse.de>
62948
62949 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
62950 values are from Linux 3.7.
62951
62952 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
62953 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
62954
62955 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62956
62957 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
62958 TRUE case.
62959
62960 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
62961 (norm): Likewise.
62962 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
62963 variables with preprocessor constants.
62964 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62965 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
62966 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
62967
62968 2012-12-27 Bruno Haible <bruno@clisp.org>
62969
62970 [BZ #14317]
62971 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
62972 only if needed.
62973
62974 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
62975
62976 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
62977 and use variable directly.
62978 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
62979
62980 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62981 MPONE.
62982 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
62983 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62984 variable MPONE.
62985 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62986 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62987 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
62988 include directive. Remove local variable MPONE.
62989 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
62990 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
62991 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62992
62993 2012-12-25 David S. Miller <davem@davemloft.net>
62994
62995 * version.h (RELEASE): Set to "development".
62996 (VERSION): Set to "2.17.90".
62997 * NEWS: Add 2.18 section.
62998
62999 2012-12-21 David S. Miller <davem@davemloft.net>
63000
63001 * po/hr.po: Update from translation team.
63002
63003 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
63004
63005 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
63006
63007 2012-12-19 Steve Ellcey <sellcey@mips.com>
63008
63009 * NEWS: Mention new memcpy for MIPS.
63010
63011 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63012
63013 * manual/contrib.texi (Contributors): Spelling correction.
63014
63015 2012-12-15 David S. Miller <davem@davemloft.net>
63016
63017 * po/ru.po: Update from translation team.
63018
63019 2012-12-13 David S. Miller <davem@davemloft.net>
63020
63021 * NEWS: Mention IFUNC testsuite enhancements.
63022
63023 * po/pl.po: Update from translation team.
63024 * po/bg.po: Likewise.
63025
63026 * manual/contrib.texi (Contributors): Update entries for Hongjiu
63027 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
63028
63029 2012-12-11 David S. Miller <davem@davemloft.net>
63030
63031 * po/sv.po: Update from translation team.
63032
63033 * po/vi.po: Update from translation team.
63034
63035 * po/cs.po: Update from translation team.
63036
63037 * po/de.po: Update from translation team.
63038 * po/eo.po: Likewise.
63039 * po/nl.po: Likewise.
63040
63041 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
63042
63043 [BZ #14246]
63044 * manual/argp.texi (Argp Helper Functions): Move node to follow
63045 Argp Parsing State.
63046
63047 [BZ #14872]
63048 * manual/conf.texi (Limits on File System Capacity): Mention if
63049 terminating null is included in the max size.
63050
63051 2012-12-10 Andreas Jaeger <aj@suse.de>
63052
63053 * po/cs.po: Update from translation team.
63054
63055 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
63056
63057 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
63058 void pointer and cast to uintptr_t.
63059 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
63060 path.
63061 * sysdeps/s390/s390-64/memcpy.S: Likewise.
63062 * sysdeps/s390/s390-64/memset.S: Likewise.
63063
63064 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
63065
63066 [BZ #14833]
63067 * menual/message.texi (Message Translation): Fix typos.
63068 (Helper programs for gettext): Likewise.
63069
63070 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
63071
63072 [BZ #14898]
63073 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
63074 Change to -1.
63075
63076 2012-12-07 David S. Miller <davem@davemloft.net>
63077
63078 * po/libc.pot: Update.
63079
63080 2012-12-07 Richard Henderson <rth@redhat.com>
63081
63082 [BZ #10114]
63083 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
63084 normal/normal case to before the switch.
63085 (_FP_DIV): Likewise.
63086
63087 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
63088 Mike Frysinger <vapier@gentoo.org>
63089
63090 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
63091 check for __NR_fadvise64_64.
63092
63093 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
63094
63095 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
63096 0, not just to plain "0" as a statement.
63097 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
63098 with cw.
63099
63100 2012-12-06 Joseph Myers <joseph@codesourcery.com>
63101
63102 * NEWS: Use sourceware.org in Bugzilla URL.
63103
63104 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
63105
63106 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
63107 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
63108
63109 * stdio-common/tst-put-error.c (do_test): Add newline to the
63110 padded test to ensure flush.
63111
63112 2012-12-05 Jeff Law <law@redhat.com>
63113
63114 * sunrpc/etc.rpc (fedfs_admin): Add entry.
63115
63116 2012-12-05 Joseph Myers <joseph@codesourcery.com>
63117
63118 * README: Don't refer to ports add-on as distributed separately.
63119 Mention AArch64 in list of systems supported in the ports add-on.
63120
63121 * LICENSES: Add more non-FSF copyright and license notices.
63122
63123 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
63124 ((unused)).
63125
63126 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
63127
63128 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
63129 10000 as width of padded output.
63130
63131 2012-12-04 Joseph Myers <joseph@codesourcery.com>
63132
63133 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
63134
63135 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
63136 variable LX with __attribute__ ((unused)).
63137 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
63138 Likewise.
63139 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
63140 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63141 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
63142 with __attribute__ ((unused)).
63143
63144 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
63145
63146 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
63147
63148 2012-12-04 Joseph Myers <joseph@codesourcery.com>
63149
63150 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
63151 (CFLAGS-nldbl-acos.c): New variable.
63152 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
63153 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
63154 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
63155 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
63156 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
63157 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
63158 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
63159 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
63160 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
63161 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
63162 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
63163 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
63164 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
63165 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
63166 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
63167 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
63168 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
63169 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
63170 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
63171 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
63172 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
63173 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
63174 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
63175 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
63176 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
63177 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
63178 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
63179 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
63180 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
63181 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
63182 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
63183 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
63184 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
63185 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
63186 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
63187 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
63188 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
63189 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
63190 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
63191 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
63192 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
63193 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
63194 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
63195 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
63196 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
63197 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
63198 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
63199 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
63200 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
63201 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
63202 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
63203 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
63204 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
63205 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
63206 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
63207 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
63208 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
63209 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
63210 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
63211 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
63212 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
63213 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
63214 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
63215 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
63216 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
63217 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
63218 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
63219 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
63220 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
63221 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
63222 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
63223 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
63224 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
63225 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
63226 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
63227 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
63228 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
63229 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
63230 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
63231 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
63232 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
63233 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
63234 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
63235 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
63236 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
63237 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
63238 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
63239 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
63240 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
63241 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
63242 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
63243 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
63244 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
63245 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
63246 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
63247 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
63248 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
63249
63250 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
63251 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
63252
63253 [BZ #14914]
63254 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
63255 whole low double instead of just low 47 bits when splitting values
63256 into two parts.
63257
63258 2012-12-03 Allan McRae <allan@archlinux.org>
63259
63260 * manual/stdio.texi (Predefined Printf Handlers): Remove
63261 @hsep and @vsep usage.
63262
63263 2012-12-03 Mike Frysinger <vapier@gentoo.org>
63264
63265 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
63266 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
63267
63268 2012-12-03 Jeff Law <law@redhat.com>
63269
63270 * time/sys/time.h (settimeofday): Do not mark TV argument
63271 as __nonnull.
63272
63273 2012-12-01 Mike Frysinger <vapier@gentoo.org>
63274
63275 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
63276 when currently writing and seek to current position when not.
63277 * libio/Makefile (tests): Remove bug-fclose1.
63278 * libio/bug-fclose1.c: Delete.
63279
63280 2012-12-01 Joseph Myers <joseph@codesourcery.com>
63281
63282 * manual/arith.texi (feenableexcept): Fix typo.
63283 (fedisableexcept): Likewise.
63284
63285 2012-11-30 Roland McGrath <roland@hack.frob.com>
63286
63287 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
63288 second, differently-typed declaration, rather than a cast.
63289
63290 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
63291
63292 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
63293 * include/rpc/svc.h: ... here.
63294
63295 2012-11-30 Aurelien Jarno <aurel32@debian.org>
63296
63297 [BZ #13013]
63298 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
63299 depending n and resplen2 to catch cases where answer
63300 equals answerp2.
63301
63302 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
63303
63304 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
63305 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
63306
63307 2012-11-29 Mike Frysinger <vapier@gentoo.org>
63308
63309 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
63310
63311 2012-11-29 Roland McGrath <roland@hack.frob.com>
63312
63313 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
63314
63315 2012-11-28 Jeff Law <law@redhat.com>
63316
63317 [BZ #13761]
63318 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
63319 dataset_temporary. Track alloca usage into alloca_used.
63320 If dataset is large allocate and release it via malloc/free.
63321
63322 2012-06-04 Florian Weimer <fweimer@redhat.com>
63323
63324 [BZ #14197]
63325 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
63326
63327 2012-11-28 David S. Miller <davem@davemloft.net>
63328
63329 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63330
63331 2012-11-28 Joseph Myers <joseph@codesourcery.com>
63332
63333 [BZ #14803]
63334 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
63335 of pi/2 rounded to nearest to 64 bits.
63336 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
63337 nearest to 64 bits.
63338 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
63339 bits.
63340
63341 2012-11-28 Jeff Law <law@redhat.com>
63342 Martin Osvald <mosvald@redhat.com>
63343
63344 [BZ #14889]
63345 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
63346 * sunrpc/svc.c: Include time.h.
63347 (__svc_accept_failed): New function.
63348 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
63349 any reason other than EINTR, call __svc_accept_failed.
63350 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
63351 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
63352
63353 2012-11-28 Andreas Schwab <schwab@suse.de>
63354
63355 * scripts/abilist.awk: Also handle indirect functions in .opd
63356 section.
63357
63358 2012-11-28 Joseph Myers <joseph@codesourcery.com>
63359
63360 [BZ #13881]
63361 * sysdeps/x86/fpu/powl_helper.c: New file.
63362 * sysdeps/x86/fpu/Makefile: Likewise.
63363 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
63364 (p3): New object.
63365 (__ieee754_powl): Use __powl_helper for finite arguments except
63366 integer exponents below 8.
63367 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
63368 (p3): New object.
63369 (__ieee754_powl): Use __powl_helper for finite arguments except
63370 integer exponents below 8.
63371 * math/libm-test.inc (pow_test): Add more tests and enable some
63372 previously disabled tests.
63373 * sysdeps/i386/fpu/libm-test-ulps: Update.
63374 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63375
63376 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
63377 Carlos O'Donell <carlos_odonell@mentor.com>
63378
63379 * nss/makedb.c (is_prime): Assert that input is odd and greater
63380 than 4. Note that fact in a comment too.
63381 (next_prime): Add 4 to input.
63382
63383 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
63384
63385 [BZ #11741]
63386 * libio/Makefile (tests): Add test case tst-fwrite-error.
63387 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
63388 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
63389 * libio/tst-fwrite-error.c: New test case.
63390
63391 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
63392
63393 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
63394 before casting to void *.
63395 * include/libc-internal.h (__pointer_type): New macro.
63396 (__integer_if_pointer_type_sub): Likewise.
63397 (__integer_if_pointer_type): Likewise.
63398 (cast_to_integer): Likewise.
63399 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
63400 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
63401 before casting to atomic64_t.
63402 (atomic_exchange_acq): Likewise.
63403 (__arch_exchange_and_add_body): Likewise.
63404 (__arch_add_body): Likewise.
63405 (atomic_add_negative): Likewise.
63406 (atomic_add_zero): Likewise.
63407
63408 2012-11-26 Joseph Myers <joseph@codesourcery.com>
63409
63410 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
63411 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
63412 (add_fdes): Likewise.
63413 (linear_search_fdes): Likewise.
63414 (binary_search_unencoded_fdes): Likewise.
63415
63416 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
63417
63418 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
63419
63420 2012-11-24 Adam Conrad <adconrad@0c3.net>
63421
63422 * configure.in: Autodetect C++ header directories.
63423 * configure: Regenerated.
63424
63425 2012-11-23 Mike Frysinger <vapier@gentoo.org>
63426
63427 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
63428
63429 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
63430
63431 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63432
63433 2012-11-22 Joseph Myers <joseph@codesourcery.com>
63434
63435 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
63436 LDBL_MANT_DIG == 106]: Disable some tests.
63437 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
63438 Likewise.
63439 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
63440 Likewise.
63441
63442 [BZ #14871]
63443 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
63444 input for small inputs. Return +/- pi/2 for large inputs.
63445 * math/libm-test.inc (atan_test): Add more tests.
63446
63447 * sysdeps/generic/unwind-dw2-fde-glibc.c
63448 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
63449 __attribute__ ((unused)).
63450
63451 [BZ #14645]
63452 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
63453 x * y if x and y are nonzero and z is zero.
63454
63455 [BZ #14811]
63456 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
63457 nonzero exponents with absolute value below 0x1p-117 to +/-
63458 0x1p-117.
63459
63460 [BZ #14869]
63461 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
63462 up arguments below 2**-450, not just those below 2**-500.
63463 * math/libm-test.inc (hypot_test): Add another test.
63464
63465 [BZ #14868]
63466 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
63467 Return a+b for ratio over 2**120, not 2**60.
63468 * math/libm-test.inc (hypot_test): Add another test.
63469
63470 * math/libm-test.inc (clog_test): Use
63471 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
63472 (clog10_test): Likewise.
63473
63474 [BZ #6778]
63475 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
63476
63477 2012-11-22 Andreas Schwab <schwab@suse.de>
63478
63479 * sysdeps/i386/fpu/libm-test-ulps: Update.
63480
63481 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
63482
63483 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
63484 printf output with newline.
63485
63486 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
63487
63488 [BZ #14865]
63489 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
63490 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
63491 -z nodlopen, -z initfirst and -z execstack support.
63492 * configure: Regenerated.
63493
63494 * elf/elf.h (DF_1_NODIRECT): New macro.
63495 (DF_1_IGNMULDEF): Likewise.
63496 (DF_1_NOKSYMS): Likewise.
63497 (DF_1_NOHDR): Likewise.
63498 (DF_1_EDITED): Likewise.
63499 (DF_1_NORELOC): Likewise.
63500 (DF_1_SYMINTPOSE): Likewise.
63501 (DF_1_GLOBAUDIT): Likewise.
63502 (DF_1_SINGLETON): Likewise.
63503 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
63504 DT_1_SUPPORTED_MASK bits.
63505 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
63506
63507 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
63508
63509 * sysdeps/unix/make-syscalls.sh: Document prefixes.
63510
63511 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
63512
63513 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
63514 macro.
63515
63516 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
63517 (sendmmsg): Move declarations...
63518 * socket/sys/socket.h: ... here.
63519 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
63520 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
63521 include it from...
63522 * socket/recvmmsg.c: ... this new file.
63523 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
63524 (sendmmsg): Rename to __sendmmsg, create weak alias and make
63525 definition of __sendmmsg hidden.
63526 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
63527 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
63528 Move ENOSYS stub into and include it from...
63529 * socket/sendmmsg.c: ... this new file.
63530 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
63531 (sysdep_routines): Move recvmmsg and sendmmsg...
63532 * socket/Makefile (routines): ... here.
63533 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
63534 (GLIBC_PRIVATE): Add __sendmmsg.
63535 * include/sys/socket.h (__sendmmsg): Add declarations.
63536 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
63537 sendmmsg.
63538
63539 2012-11-20 Joseph Myers <joseph@codesourcery.com>
63540
63541 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
63542 variable I1 with __attribute__ ((unused)).
63543 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63544
63545 2012-11-19 Joseph Myers <joseph@codesourcery.com>
63546
63547 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
63548 DUMMY variables with __attribute__ ((unused)).
63549
63550 * bits/byteswap.h: Include <bits/types.h>.
63551 (__bswap_64): Use __uint64_t instead of unsigned long long int.
63552
63553 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
63554
63555 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
63556 string_t. Do not manually set errno.
63557 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
63558 length with __strnlen. Make sure to both set errno and return it on
63559 failure.
63560
63561 2012-11-19 David S. Miller <davem@davemloft.net>
63562
63563 With help from Joseph Myers.
63564 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
63565 very large arguments properly.
63566 * math/libm-test.inc (atan_test): New tests.
63567 (atan2_test): New tests.
63568 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63569 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63570
63571 2012-11-19 Joseph Myers <joseph@codesourcery.com>
63572
63573 [BZ #14856]
63574 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
63575 Define to 3.
63576
63577 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
63578 [POSIX] (EADDRNOTAVAIL): Likewise.
63579 [POSIX] (EAFNOSUPPORT): Likewise.
63580 [POSIX] (EALREADY): Likewise.
63581 [POSIX] (ECONNABORTED): Likewise.
63582 [POSIX] (ECONNREFUSED): Likewise.
63583 [POSIX] (ECONNRESET): Likewise.
63584 [POSIX] (EDESTADDRREQ): Likewise.
63585 [POSIX] (EDQUOT): Likewise.
63586 [POSIX] (EHOSTUNREACH): Likewise.
63587 [POSIX] (EIDRM): Likewise.
63588 [POSIX] (EISCONN): Likewise.
63589 [POSIX] (ELOOP): Likewise.
63590 [POSIX] (EMULTIHOP): Likewise.
63591 [POSIX] (ENETDOWN): Likewise.
63592 [POSIX] (ENETUNREACH): Likewise.
63593 [POSIX] (ENOBUFS): Likewise.
63594 [POSIX] (ENODATA): Likewise.
63595 [POSIX] (ENOLINK): Likewise.
63596 [POSIX] (ENOMSG): Likewise.
63597 [POSIX] (ENOPROTOOPT): Likewise.
63598 [POSIX] (ENOSR): Likewise.
63599 [POSIX] (ENOSTR): Likewise.
63600 [POSIX] (ENOTCONN): Likewise.
63601 [POSIX] (ENOTSOCK): Likewise.
63602 [POSIX] (EOPNOTSUPP): Likewise.
63603 [POSIX] (EOVERFLOW): Likewise.
63604 [POSIX] (EPROTO): Likewise.
63605 [POSIX] (EPROTONOSUPPORT): Likewise.
63606 [POSIX] (EPROTOTYPE): Likewise.
63607 [POSIX] (ESTALE): Likewise.
63608 [POSIX] (ETIME): Likewise.
63609 [POSIX] (ETXTBSY): Likewise.
63610 [POSIX] (EWOULDBLOCK): Likewise.
63611 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
63612 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
63613 [POSIX] (SEEK_CUR): Likewise.
63614 [POSIX] (SEEK_END): Likewise.
63615 [POSIX || UNIX98] (mode_t): Do not require.
63616 [POSIX] (off_t): Likewise.
63617 [POSIX] (pid_t): Likewise.
63618 [POSIX] (sys/stat.h): Do not allow header.
63619 [POSIX] (unistd.h): Likewise.
63620 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
63621 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
63622 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
63623 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
63624 require.
63625 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
63626 sigevent): Specify elements.
63627 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
63628 entry.
63629 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
63630 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
63631
63632 * conform/data/cpio.h-data [POSIX]: Disable whole file.
63633 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
63634 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
63635 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
63636 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
63637 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
63638 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
63639 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
63640 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
63641 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
63642 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
63643 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
63644 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
63645 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
63646 Likewise.
63647 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
63648 Likewise.
63649 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
63650 Likewise.
63651 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
63652 Likewise.
63653 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
63654 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
63655 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
63656 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
63657 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
63658 Specify lower bound on value.
63659 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
63660 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
63661 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
63662 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
63663 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
63664 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
63665 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
63666 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
63667 value.
63668 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
63669 as optional.
63670 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
63671 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
63672 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
63673 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
63674 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
63675 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
63676 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
63677 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
63678 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
63679 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
63680 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
63681 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
63682 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
63683 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
63684 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
63685 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
63686 entry.
63687 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
63688 optional.
63689 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
63690 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
63691 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
63692 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
63693 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
63694 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
63695 Likewise.
63696 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
63697 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
63698 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
63699 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
63700 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
63701 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
63702 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
63703 as optional.
63704 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
63705 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
63706 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
63707 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
63708 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
63709 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
63710 specify as optional.
63711 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
63712 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
63713 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
63714 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
63715 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
63716 [XPG3] (NL_LANGMAX): Likewise.
63717 [POSIX || XPG3] (NL_MSGMAX): Likewise.
63718 [POSIX || XPG3] (NL_NMAX): Likewise.
63719 [POSIX || XPG3] (NL_SETMAX): Likewise.
63720 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
63721 [XPG3] (NZERO): Likewise.
63722 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
63723 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
63724 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
63725 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
63726 (REG_ERANGE): Expect.
63727 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
63728 optional-constant.
63729 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
63730 Use (void) in prototype.
63731 [POSIX] (*_t): Allow.
63732 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
63733 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
63734 (WRDE_BADVAL): Expect.
63735
63736 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
63737 expect.
63738 [XPG3 || XPG4] (O_RSYNC): Likewise.
63739 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
63740 Likewise.
63741 [XPG3 || XPG4] (pthread_sigmask): Likewise.
63742 [XPG3 || XPG4] (sigqueue): Likewise.
63743 [XPG3 || XPG4] (sigtimedwait): Likewise.
63744 [XPG3 || XPG4] (sigwaitinfo): Likewise.
63745 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
63746 [XPG3 || XPG4] (vsnprintf): Likewise.
63747 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
63748 Likewise.
63749 [XPG3 || XPG4] (blksize_t): Likewise.
63750 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
63751 Likewise.
63752 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
63753 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
63754 [XPG3 || XPG4] (struct itimerspec): Likewise.
63755 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
63756 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
63757 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
63758 [XPG3 || XPG4] (clockid_t): Likewise.
63759 [XPG3 || XPG4] (timer_t): Likewise.
63760 [XPG3 || XPG4] (clock_getres): Likewise.
63761 [XPG3 || XPG4] (clock_gettime): Likewise.
63762 [XPG3 || XPG4] (clock_settime): Likewise.
63763 [XPG3 || XPG4] (nanosleep): Likewise.
63764 [XPG3 || XPG4] (timer_create): Likewise.
63765 [XPG3 || XPG4] (timer_delete): Likewise.
63766 [XPG3 || XPG4] (timer_gettime): Likewise.
63767 [XPG3 || XPG4] (timer_getoverrun): Likewise.
63768 [XPG3 || XPG4] (timer_settime): Likewise.
63769 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
63770 [XPG3 || XPG4] (getlogin_r): Likewise.
63771 [XPG3 || XPG4] (pread): Likewise.
63772 [XPG3 || XPG4] (pthread_atfork): Likewise.
63773 [XPG3 || XPG4] (pwrite): Likewise.
63774
63775 [BZ #14835]
63776 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
63777 <bits/siginfo.h>.
63778
63779 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
63780
63781 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
63782 finalizing MALLSTREAM.
63783
63784 * sysdeps/mach/hurd/syncfs.c: New file.
63785
63786 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63787
63788 [BZ #14719]
63789 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
63790 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
63791 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
63792 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
63793 (_nss_dns_gethostbyname4_r): Likewise.
63794 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
63795 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
63796
63797 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
63798
63799 [BZ #13763]
63800 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
63801
63802 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
63803
63804 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
63805 * elf/cache.c (print_entry): Print ",AArch64" for
63806 FLAG_AARCH64_LIB64
63807
63808 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
63809 * elf/cache.c (print_entry): Print ",hard-float" for
63810 FLAG_ARM_LIBHF.
63811
63812 2012-11-18 David S. Miller <davem@davemloft.net>
63813
63814 With help from Joseph Myers.
63815 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
63816 cutoff to 2**-13.
63817 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
63818 cutoff to 2**-25.
63819 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
63820 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
63821 small.
63822 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
63823 * math/libm-test.inc (y0_test): New tests.
63824 (y1_test): New tests.
63825 * sysdeps/i386/fpu/libm-test-ulps: Update.
63826 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63827 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63828
63829 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
63830
63831 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
63832 64-bit targets.
63833 * configure: Regenerated.
63834
63835 2012-11-17 David S. Miller <davem@davemloft.net>
63836
63837 [BZ #14811]
63838 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
63839 nonzero exponents with absolute value below 0x1p-128 to +/-
63840 0x1p-128.
63841
63842 2012-11-17 Joseph Myers <joseph@codesourcery.com>
63843
63844 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
63845
63846 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
63847
63848 * posix/getconf-speclist.c: New file.
63849 * posix/posix-envs.def: Likewise.
63850 * posix/confstr.c (START_ENV_GROUP): New macro.
63851 (END_ENV_GROUP): Likewise.
63852 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63853 (KNOWN_PRESENT_ENV_STRING): Likewise.
63854 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63855 (UNKNOWN_ENVIRONMENT): Likewise.
63856 (confstr): Include posix-envs.def instead of handling
63857 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
63858 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
63859 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
63860 (END_ENV_GROUP): Likewise.
63861 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63862 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63863 (UNKNOWN_ENVIRONMENT): Likewise.
63864 (__sysconf): Include posix-envs.def instead of handling associated
63865 cases directly here.
63866 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
63867 preprocessing getconf-speclist.c rather than running getconf or
63868 generating empty file.
63869
63870 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
63871
63872 * scripts/check-local-headers.sh: Ignore 'mach' headers.
63873
63874 2012-11-16 Andrej Lajovic <natrij@gmail.com>
63875
63876 [BZ #14672]
63877 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
63878
63879 2012-11-16 David S. Miller <davem@davemloft.net>
63880
63881 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
63882 smaller than LDBL_EPSILON/2.0L, just return xm1.
63883
63884 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
63885
63886 * elf/tst-array1.c (init): Set constructor priority to 1000.
63887 (fini): Set destructor priority to 1000.
63888 * elf/tst-array2dep.c: Likewise.
63889
63890 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
63891
63892 [BZ #11741]
63893 * libio/fileops.c (_IO_new_file_write): Correctly return error.
63894 (_IO_new_file_xsputn): Also return EOF if none of the input
63895 data was written when overflow failed.
63896 * libio/iopadn.c (_IO_padn): Likewise.
63897 * libio/iowpadn.c (_IO_wpadn): Likewise.
63898 * stdio-common/tst-put-error.c: Add copyright notice.
63899 (do_test): Add case for printing padded string.
63900 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
63901 _IO_padn returned error.
63902 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
63903 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
63904 return EOF.
63905
63906 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
63907
63908 * libio/libioP.h: Add comment note that the references to C++
63909 bits are now obsolete.
63910
63911 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63912
63913 * math/libm-test.inc (check_complex): Use asprintf.
63914
63915 2012-11-14 Joseph Myers <joseph@codesourcery.com>
63916
63917 * debug/pcprofiledump.c (print_version): Update copyright year.
63918 * malloc/memusagestat.c (print_version): Likewise.
63919
63920 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
63921
63922 [BZ #14831]
63923 * elf/Makefile (tests): Add tst-audit8.
63924 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
63925 ($(objpfx)tst-audit8.out): New target.
63926 (tst-audit8-ENV): New variable.
63927 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
63928 audit if l_reloc_result is NULL.
63929 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
63930 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
63931 * elf/tst-audit8.c: New file.
63932
63933 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63934
63935 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
63936 * misc/Makefile (CFLAGS-select.c): Define.
63937 * posix/Makefile (CFLAGS-pause.c): Define.
63938
63939 2012-11-13 David S. Miller <davem@davemloft.net>
63940
63941 * crypt/Makefile: Move test targets after toplevel Rules
63942 inclusion. Grab any necessary sysdep routines when linking.
63943 * crypt/md5.c (md5_process_block): Remove define, we will always
63944 name it __md5_process_block.
63945 (md5_finish_ctx): Update md5_process_block call.
63946 (md5_stream): Likewise.
63947 (md5_process_bytes): Likewise.
63948 (md5_process_block): Rename to __md5_process_block and move to ...
63949 * crypt/md5-block.c: ... here.
63950 * crypt/sha256.c (sha256_process_block): Move to ...
63951 * crypt/sha256-block.c: ... here.
63952 * crypt/sha512.c (sha512_process_block): Move to ...
63953 * crypt/sha512-block.c: ... here.
63954 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
63955 path.
63956 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
63957 * sysdeps/sparc/sparc64/multiarch/Makefile
63958 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
63959 crypt subdir.
63960 (localedef-aux): Add md5 crypto assembler when in locale subdir.
63961 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
63962 multiarch changes.
63963 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
63964 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
63965 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
63966 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
63967 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
63968 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
63969 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
63970 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
63971 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
63972 file.
63973 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
63974 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
63975 file.
63976 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
63977
63978 2012-11-13 Joseph Myers <joseph@codesourcery.com>
63979
63980 * timezone/tzselect.ksh: Update from tzcode git revision
63981 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
63982 * timezone/zdump.c: Likewise.
63983 * timezone/zic.c: Likewise.
63984 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
63985 in TZVERSION setting, not $(PKGVERSION).
63986 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
63987 REPORT_BUGS_TO settings.
63988
63989 [BZ #14838]
63990 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
63991 macro.
63992
63993 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63994
63995 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
63996 detection to immediately after _FP_ROUND().
63997 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
63998 bits are 0.
63999
64000 2012-11-11 David S. Miller <davem@davemloft.net>
64001
64002 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
64003 inttypes.h
64004 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
64005 __close rather than their public counterparts.
64006
64007 2012-11-10 Joseph Myers <joseph@codesourcery.com>
64008
64009 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
64010 file.
64011 [UNIX98] (sem_timedwait): Do not expect.
64012 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
64013 [XPG4 || UNIX98] (sockatmark): Do not expect.
64014 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
64015 (clock_getcpuclockid): Do not expect.
64016 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
64017 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
64018 Do not expect.
64019 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
64020 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
64021 [UNIX98] (vwscanf): Likewise.
64022 [UNIX98] (vswscanf): Likewise.
64023
64024 2012-11-09 Joseph Myers <joseph@codesourcery.com>
64025
64026 * timezone/version.h: Remove file.
64027 * timezone/README: Do not refer to version.h.
64028 * timezone/Makefile ($(objpfx)zic.o): New dependency on
64029 $(objpfx)version.h.
64030 ($(objpfx)zdump.o): Likewise.
64031 ($(objpfx)version.h): New target.
64032
64033 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
64034 2012i.
64035 * timezone/README: Don't mention modification to tzselect.ksh.
64036 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
64037 work on unmodified tzselect.ksh. Substitute version numbers in
64038 tzselect.ksh.
64039
64040 * Makefile (format-me): Remove.
64041 (INSTALL): Adjust indentation. Use commands directly instead of
64042 using $(format-me).
64043
64044 * aclocal.m4 (ACX_PKGVERSION): New macro.
64045 (ACX_BUGURL): Likewise.
64046 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
64047 (PKGVERSION): New AC_DEFINE_UNQUOTED.
64048 (REPORT_BUGS_TO): Likewise.
64049 * configure: Regenerated.
64050 * config.h.in (PKGVERSION): New macro.
64051 (REPORT_BUGS_TO): Likewise.
64052 * config.make.in (PKGVERSION): New variable.
64053 (PKGVERSION_TEXI): Likewise.
64054 (REPORT_BUGS_TO): Likewise.
64055 (REPORT_BUGS_TEXI): Likewise.
64056 * Makefile (format-me): Use -I$(common-objpfx)manual.
64057 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
64058 ($(common-objpfx)manual/%): New target.
64059 (manual/%): Remove target.
64060 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
64061 (print_version): Use PKGVERSION.
64062 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
64063 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
64064 and REPORT_BUGS_TO.
64065 ($(objpfx)xtrace): Likewise.
64066 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
64067 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
64068 (print_version): Use PKGVERSION.
64069 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
64070 (do_version): Use PKGVERSION.
64071 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
64072 REPORT_BUGS_TO.
64073 (common-ldd-rewrite): Likewise.
64074 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
64075 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
64076 (print_version): Use PKGVERSION.
64077 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
64078 * elf/pldd.c (argp_program_bug_address): Remove variable.
64079 (more_help): New function.
64080 (argp): Use more_help.
64081 (print_version): Use PKGVERSION.
64082 * elf/sln.c (main): Use PKGVERSION.
64083 (usage): Use REPORT_BUGS_TO.
64084 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
64085 (top level): Use PKGVERSION.
64086 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
64087 (print_version): Use PKGVERSION.
64088 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
64089 (print_version): Use PKGVERSION.
64090 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
64091 (print_version): Use PKGVERSION.
64092 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
64093 (print_version): Use PKGVERSION.
64094 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
64095 (print_version): Use PKGVERSION.
64096 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
64097 (print_version): Use PKGVERSION.
64098 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
64099 and BUGURL.
64100 ($(objpfx)memusage): Likewise.
64101 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
64102 (do_version): Use PKGVERSION.
64103 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
64104 (print_version): Use PKGVERSION.
64105 * malloc/mtrace.pl ($PACKAGE): Remove variable.
64106 ($PKGVERSION): New variable.
64107 ($REPORT_BUGS_TO): Likewise.
64108 (usage): Use $REPORT_BUGS_TO.
64109 (top level): Use $PKGVERSION.
64110 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
64111 ($(objpfx)pkgvers.texi): New rule.
64112 ($(objpfx)stamp-pkgvers): Likewise.
64113 * manual/install.texi: Include pkgvers.texi.
64114 (--with-pkgversion): Document new configure option.
64115 (--with-bugurl): Likewise.
64116 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
64117 than necessarily for this particular distribution. Use
64118 REPORT_BUGS_TO for where to report bugs.
64119 * INSTALL: Regenerated.
64120 * manual/libc.texinfo: Include pkgvers.texi.
64121 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
64122 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
64123 (print_version): Use PKGVERSION.
64124 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
64125 (print_version): Use PKGVERSION.
64126 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
64127 (print_version): Use PKGVERSION.
64128 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
64129 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
64130 macro.
64131 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
64132 (print_version): Use PKGVERSION.
64133 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
64134 (print_version): Use PKGVERSION.
64135 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
64136 and PKGVERSION.
64137
64138 * timezone/checktab.awk: Update from tzcode 2012i.
64139 * timezone/ialloc.c: Likewise.
64140 * timezone/private.h: Likewise.
64141 * timezone/scheck.c: Likewise.
64142 * timezone/tzfile.h: Likewise.
64143 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
64144 (TZVERSION): Hardcode tzcode version number.
64145 * timezone/zdump.c: Update from tzcode 2012i.
64146 * timezone/zic.c: Likewise.
64147 * timezone/version.h: New file.
64148 * timezone/README: Describe version.h. Update upstream location.
64149
64150 [BZ #14824]
64151 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
64152 (mktemp): Enable declaration.
64153 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
64154 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
64155 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
64156 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
64157 Likewise.
64158 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
64159 Likewise.
64160 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
64161 Likewise.
64162 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
64163 Likewise.
64164 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
64165 Likewise.
64166 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
64167 Likewise.
64168
64169 [BZ #14821]
64170 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
64171 offset in buffer as u_int32_t not u_long. Consistently use memcpy
64172 for copies of such integer values.
64173 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
64174 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
64175
64176 2012-11-09 Andreas Jaeger <aj@suse.de>
64177
64178 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
64179 definitions and declarations that are provided by
64180 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
64181
64182 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64183
64184 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
64185 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
64186 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
64187 definition.
64188
64189 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
64190
64191 * elf/elf.h: Update comment before AArch64 relocations.
64192
64193 2012-11-07 David S. Miller <davem@davemloft.net>
64194
64195 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
64196 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
64197 (__start_context): Declare.
64198 (__makecontext_ret): Delete.
64199 (__makecontext): Hook up __start_context instead of
64200 __makecontext_ret.
64201 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
64202 (sysdep_routines): Add __start_context when in stdlib.
64203
64204 2012-11-07 Joseph Myers <joseph@codesourcery.com>
64205
64206 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
64207 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
64208 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
64209 hardcoded "nm".
64210 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
64211 (READELF): New variable. Use it instead of hardcoded "readelf".
64212
64213 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
64214
64215 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
64216 * sysdeps/x86/Makefile: Here.
64217 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
64218 * sysdeps/x86/tst-xmmymm.sh: This.
64219
64220 2012-11-07 Joseph Myers <joseph@codesourcery.com>
64221
64222 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
64223 expectations.
64224 [UNIX98] (pthread_barrier_t): Do not expect.
64225 [UNIX98] (pthread_barrierattr_t): Likewise.
64226 [UNIX98] (pthread_spinlock_t): Likewise.
64227 [UNIX98] (pthread_barrier_destroy): Likewise.
64228 [UNIX98] (pthread_barrier_init): Likewise.
64229 [UNIX98] (pthread_barrier_wait): Likewise.
64230 [UNIX98] (pthread_barrierattr_destroy): Likewise.
64231 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
64232 [UNIX98] (pthread_barrierattr_init): Likewise.
64233 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
64234 [UNIX98] (pthread_getcpuclockid): Likewise.
64235 [UNIX98] (pthread_mutex_timedlock): Likewise.
64236 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
64237 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
64238 [UNIX98] (pthread_sigmask): Likewise.
64239 [UNIX98] (pthread_spin_destroy): Likewise.
64240 [UNIX98] (pthread_spin_init): Likewise.
64241 [UNIX98] (pthread_spin_lock): Likewise.
64242 [UNIX98] (pthread_spin_trylock): Likewise.
64243 [UNIX98] (pthread_spin_unlock): Likewise.
64244 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
64245 Do not expect.
64246 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
64247 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
64248 [XPG3 || XPG4] (pthread_cond_t): Likewise.
64249 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
64250 [XPG3 || XPG4] (pthread_key_t): Likewise.
64251 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
64252 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
64253 [XPG3 || XPG4] (pthread_once_t): Likewise.
64254 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
64255 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
64256 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
64257 [XPG3 || XPG4] (pthread_t): Likewise.
64258
64259 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
64260 not expect.
64261 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
64262
64263 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
64264 Change function return type to int.
64265
64266 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
64267 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
64268 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
64269 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
64270 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
64271 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
64272 [!POSIX] (posix_madvise): Likewise.
64273 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
64274 && !UNIX98].
64275 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
64276 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
64277 (mode_t): Likewise.
64278 (posix_mem_offset): Likewise.
64279 (posix_typed_mem_get_info): Likewise.
64280 (posix_typed_mem_open): Likewise.
64281
64282 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
64283 Change condition to [XOPEN2K8].
64284
64285 * conform/conformtest.pl: Preprocess allow-header data with -x c
64286 instead of from stdin.
64287 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
64288 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
64289 [C99-based standards] (cerfc): Likewise.
64290 [C99-based standards] (cexp2): Likewise.
64291 [C99-based standards] (cexpm1): Likewise.
64292 [C99-based standards] (clog10): Likewise.
64293 [C99-based standards] (clog1p): Likewise.
64294 [C99-based standards] (clog2): Likewise.
64295 [C99-based standards] (clgamma): Likewise.
64296 [C99-based standards] (ctgamma): Likewise.
64297 [C99-based standards] (cerff): Likewise.
64298 [C99-based standards] (cerfcf): Likewise.
64299 [C99-based standards] (cexp2f): Likewise.
64300 [C99-based standards] (cexpm1f): Likewise.
64301 [C99-based standards] (clog10f): Likewise.
64302 [C99-based standards] (clog1pf): Likewise.
64303 [C99-based standards] (clog2f): Likewise.
64304 [C99-based standards] (clgammaf): Likewise.
64305 [C99-based standards] (ctgammaf): Likewise.
64306 [C99-based standards] (cerfl): Likewise.
64307 [C99-based standards] (cerfcl): Likewise.
64308 [C99-based standards] (cexp2l): Likewise.
64309 [C99-based standards] (cexpm1l): Likewise.
64310 [C99-based standards] (clog10l): Likewise.
64311 [C99-based standards] (clog1pl): Likewise.
64312 [C99-based standards] (clog2l): Likewise.
64313 [C99-based standards] (clgammal): Likewise.
64314 [C99-based standards] (ctgammal): Likewise.
64315 * conform/data/inttypes.h-data [C99-based standards]: Include
64316 stdint.h-data. Remove all expectations for stdint.h contents.
64317 [C99-based standards] (PRI*): Do not allow.
64318 [C99-based standards] (SCN*): Likewise.
64319 [C99-based standards] (*_t): Likewise.
64320 [C99-based-standards] (PRId8): Expect macro.
64321 [C99-based-standards] (PRIi8): Likewise.
64322 [C99-based-standards] (PRIo8): Likewise.
64323 [C99-based-standards] (PRIu8): Likewise.
64324 [C99-based-standards] (PRIx8): Likewise.
64325 [C99-based-standards] (PRIX8): Likewise.
64326 [C99-based-standards] (SCNd8): Likewise.
64327 [C99-based-standards] (SCNi8): Likewise.
64328 [C99-based-standards] (SCNo8): Likewise.
64329 [C99-based-standards] (SCNu8): Likewise.
64330 [C99-based-standards] (SCNx8): Likewise.
64331 [C99-based-standards] (PRIdLEAST8): Likewise.
64332 [C99-based-standards] (PRIiLEAST8): Likewise.
64333 [C99-based-standards] (PRIoLEAST8): Likewise.
64334 [C99-based-standards] (PRIuLEAST8): Likewise.
64335 [C99-based-standards] (PRIxLEAST8): Likewise.
64336 [C99-based-standards] (PRIXLEAST8): Likewise.
64337 [C99-based-standards] (SCNdLEAST8): Likewise.
64338 [C99-based-standards] (SCNiLEAST8): Likewise.
64339 [C99-based-standards] (SCNoLEAST8): Likewise.
64340 [C99-based-standards] (SCNuLEAST8): Likewise.
64341 [C99-based-standards] (SCNxLEAST8): Likewise.
64342 [C99-based-standards] (PRIdFAST8): Likewise.
64343 [C99-based-standards] (PRIiFAST8): Likewise.
64344 [C99-based-standards] (PRIoFAST8): Likewise.
64345 [C99-based-standards] (PRIuFAST8): Likewise.
64346 [C99-based-standards] (PRIxFAST8): Likewise.
64347 [C99-based-standards] (PRIXFAST8): Likewise.
64348 [C99-based-standards] (SCNdFAST8): Likewise.
64349 [C99-based-standards] (SCNiFAST8): Likewise.
64350 [C99-based-standards] (SCNoFAST8): Likewise.
64351 [C99-based-standards] (SCNuFAST8): Likewise.
64352 [C99-based-standards] (SCNxFAST8): Likewise.
64353 [C99-based-standards] (PRId16): Likewise.
64354 [C99-based-standards] (PRIi16): Likewise.
64355 [C99-based-standards] (PRIo16): Likewise.
64356 [C99-based-standards] (PRIu16): Likewise.
64357 [C99-based-standards] (PRIx16): Likewise.
64358 [C99-based-standards] (PRIX16): Likewise.
64359 [C99-based-standards] (SCNd16): Likewise.
64360 [C99-based-standards] (SCNi16): Likewise.
64361 [C99-based-standards] (SCNo16): Likewise.
64362 [C99-based-standards] (SCNu16): Likewise.
64363 [C99-based-standards] (SCNx16): Likewise.
64364 [C99-based-standards] (PRIdLEAST16): Likewise.
64365 [C99-based-standards] (PRIiLEAST16): Likewise.
64366 [C99-based-standards] (PRIoLEAST16): Likewise.
64367 [C99-based-standards] (PRIuLEAST16): Likewise.
64368 [C99-based-standards] (PRIxLEAST16): Likewise.
64369 [C99-based-standards] (PRIXLEAST16): Likewise.
64370 [C99-based-standards] (SCNdLEAST16): Likewise.
64371 [C99-based-standards] (SCNiLEAST16): Likewise.
64372 [C99-based-standards] (SCNoLEAST16): Likewise.
64373 [C99-based-standards] (SCNuLEAST16): Likewise.
64374 [C99-based-standards] (SCNxLEAST16): Likewise.
64375 [C99-based-standards] (PRIdFAST16): Likewise.
64376 [C99-based-standards] (PRIiFAST16): Likewise.
64377 [C99-based-standards] (PRIoFAST16): Likewise.
64378 [C99-based-standards] (PRIuFAST16): Likewise.
64379 [C99-based-standards] (PRIxFAST16): Likewise.
64380 [C99-based-standards] (PRIXFAST16): Likewise.
64381 [C99-based-standards] (SCNdFAST16): Likewise.
64382 [C99-based-standards] (SCNiFAST16): Likewise.
64383 [C99-based-standards] (SCNoFAST16): Likewise.
64384 [C99-based-standards] (SCNuFAST16): Likewise.
64385 [C99-based-standards] (SCNxFAST16): Likewise.
64386 [C99-based-standards] (PRId32): Likewise.
64387 [C99-based-standards] (PRIi32): Likewise.
64388 [C99-based-standards] (PRIo32): Likewise.
64389 [C99-based-standards] (PRIu32): Likewise.
64390 [C99-based-standards] (PRIx32): Likewise.
64391 [C99-based-standards] (PRIX32): Likewise.
64392 [C99-based-standards] (SCNd32): Likewise.
64393 [C99-based-standards] (SCNi32): Likewise.
64394 [C99-based-standards] (SCNo32): Likewise.
64395 [C99-based-standards] (SCNu32): Likewise.
64396 [C99-based-standards] (SCNx32): Likewise.
64397 [C99-based-standards] (PRIdLEAST32): Likewise.
64398 [C99-based-standards] (PRIiLEAST32): Likewise.
64399 [C99-based-standards] (PRIoLEAST32): Likewise.
64400 [C99-based-standards] (PRIuLEAST32): Likewise.
64401 [C99-based-standards] (PRIxLEAST32): Likewise.
64402 [C99-based-standards] (PRIXLEAST32): Likewise.
64403 [C99-based-standards] (SCNdLEAST32): Likewise.
64404 [C99-based-standards] (SCNiLEAST32): Likewise.
64405 [C99-based-standards] (SCNoLEAST32): Likewise.
64406 [C99-based-standards] (SCNuLEAST32): Likewise.
64407 [C99-based-standards] (SCNxLEAST32): Likewise.
64408 [C99-based-standards] (PRIdFAST32): Likewise.
64409 [C99-based-standards] (PRIiFAST32): Likewise.
64410 [C99-based-standards] (PRIoFAST32): Likewise.
64411 [C99-based-standards] (PRIuFAST32): Likewise.
64412 [C99-based-standards] (PRIxFAST32): Likewise.
64413 [C99-based-standards] (PRIXFAST32): Likewise.
64414 [C99-based-standards] (SCNdFAST32): Likewise.
64415 [C99-based-standards] (SCNiFAST32): Likewise.
64416 [C99-based-standards] (SCNoFAST32): Likewise.
64417 [C99-based-standards] (SCNuFAST32): Likewise.
64418 [C99-based-standards] (SCNxFAST32): Likewise.
64419 [C99-based-standards] (PRId64): Likewise.
64420 [C99-based-standards] (PRIi64): Likewise.
64421 [C99-based-standards] (PRIo64): Likewise.
64422 [C99-based-standards] (PRIu64): Likewise.
64423 [C99-based-standards] (PRIx64): Likewise.
64424 [C99-based-standards] (PRIX64): Likewise.
64425 [C99-based-standards] (SCNd64): Likewise.
64426 [C99-based-standards] (SCNi64): Likewise.
64427 [C99-based-standards] (SCNo64): Likewise.
64428 [C99-based-standards] (SCNu64): Likewise.
64429 [C99-based-standards] (SCNx64): Likewise.
64430 [C99-based-standards] (PRIdLEAST64): Likewise.
64431 [C99-based-standards] (PRIiLEAST64): Likewise.
64432 [C99-based-standards] (PRIoLEAST64): Likewise.
64433 [C99-based-standards] (PRIuLEAST64): Likewise.
64434 [C99-based-standards] (PRIxLEAST64): Likewise.
64435 [C99-based-standards] (PRIXLEAST64): Likewise.
64436 [C99-based-standards] (SCNdLEAST64): Likewise.
64437 [C99-based-standards] (SCNiLEAST64): Likewise.
64438 [C99-based-standards] (SCNoLEAST64): Likewise.
64439 [C99-based-standards] (SCNuLEAST64): Likewise.
64440 [C99-based-standards] (SCNxLEAST64): Likewise.
64441 [C99-based-standards] (PRIdFAST64): Likewise.
64442 [C99-based-standards] (PRIiFAST64): Likewise.
64443 [C99-based-standards] (PRIoFAST64): Likewise.
64444 [C99-based-standards] (PRIuFAST64): Likewise.
64445 [C99-based-standards] (PRIxFAST64): Likewise.
64446 [C99-based-standards] (PRIXFAST64): Likewise.
64447 [C99-based-standards] (SCNdFAST64): Likewise.
64448 [C99-based-standards] (SCNiFAST64): Likewise.
64449 [C99-based-standards] (SCNoFAST64): Likewise.
64450 [C99-based-standards] (SCNuFAST64): Likewise.
64451 [C99-based-standards] (SCNxFAST64): Likewise.
64452 [C99-based-standards] (PRIdMAX): Likewise.
64453 [C99-based-standards] (PRIiMAX): Likewise.
64454 [C99-based-standards] (PRIoMAX): Likewise.
64455 [C99-based-standards] (PRIuMAX): Likewise.
64456 [C99-based-standards] (PRIxMAX): Likewise.
64457 [C99-based-standards] (PRIXMAX): Likewise.
64458 [C99-based-standards] (SCNdMAX): Likewise.
64459 [C99-based-standards] (SCNiMAX): Likewise.
64460 [C99-based-standards] (SCNoMAX): Likewise.
64461 [C99-based-standards] (SCNuMAX): Likewise.
64462 [C99-based-standards] (SCNxMAX): Likewise.
64463 [C99-based-standards] (PRIdPTR): Likewise.
64464 [C99-based-standards] (PRIiPTR): Likewise.
64465 [C99-based-standards] (PRIoPTR): Likewise.
64466 [C99-based-standards] (PRIuPTR): Likewise.
64467 [C99-based-standards] (PRIxPTR): Likewise.
64468 [C99-based-standards] (PRIXPTR): Likewise.
64469 [C99-based-standards] (SCNdPTR): Likewise.
64470 [C99-based-standards] (SCNiPTR): Likewise.
64471 [C99-based-standards] (SCNoPTR): Likewise.
64472 [C99-based-standards] (SCNuPTR): Likewise.
64473 [C99-based-standards] (SCNxPTR): Likewise.
64474 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
64475 allow.
64476 * conform/data/stdint.h-data: Update comments to clarify
64477 requirements.
64478 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
64479 type.
64480 [C99-based standards] (INT8_MAX): Likewise.
64481 [C99-based standards] (INT16_MIN): Likewise.
64482 [C99-based standards] (INT16_MAX): Likewise.
64483 [C99-based standards] (INT32_MIN): Likewise.
64484 [C99-based standards] (INT32_MAX): Likewise.
64485 [C99-based standards] (INT64_MIN): Likewise.
64486 [C99-based standards] (INT64_MAX): Likewise.
64487 [C99-based standards] (UINT8_MAX): Likewise.
64488 [C99-based standards] (UINT16_MAX): Likewise.
64489 [C99-based standards] (UINT32_MAX): Likewise.
64490 [C99-based standards] (UINT64_MAX): Likewise.
64491 [C99-based standards] (INT_LEAST8_MIN): Likewise.
64492 [C99-based standards] (INT_LEAST8_MAX): Likewise.
64493 [C99-based standards] (INT_LEAST16_MIN): Likewise.
64494 [C99-based standards] (INT_LEAST16_MAX): Likewise.
64495 [C99-based standards] (INT_LEAST32_MIN): Likewise.
64496 [C99-based standards] (INT_LEAST32_MAX): Likewise.
64497 [C99-based standards] (INT_LEAST64_MIN): Likewise.
64498 [C99-based standards] (INT_LEAST64_MAX): Likewise.
64499 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
64500 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
64501 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
64502 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
64503 [C99-based standards] (INT_FAST8_MIN): Likewise.
64504 [C99-based standards] (INT_FAST8_MAX): Likewise.
64505 [C99-based standards] (INT_FAST16_MIN): Likewise.
64506 [C99-based standards] (INT_FAST16_MAX): Likewise.
64507 [C99-based standards] (INT_FAST32_MIN): Likewise.
64508 [C99-based standards] (INT_FAST32_MAX): Likewise.
64509 [C99-based standards] (INT_FAST64_MIN): Likewise.
64510 [C99-based standards] (INT_FAST64_MAX): Likewise.
64511 [C99-based standards] (UINT_FAST8_MAX): Likewise.
64512 [C99-based standards] (UINT_FAST16_MAX): Likewise.
64513 [C99-based standards] (UINT_FAST32_MAX): Likewise.
64514 [C99-based standards] (UINT_FAST64_MAX): Likewise.
64515 [C99-based standards] (INTPTR_MIN): Likewise.
64516 [C99-based standards] (INTPTR_MAX): Likewise.
64517 [C99-based standards] (UINTPTR_MAX): Likewise.
64518 [C99-based standards] (INTMAX_MIN): Likewise.
64519 [C99-based standards] (INTMAX_MAX): Likewise.
64520 [C99-based standards] (UINTMAX_MAX): Likewise.
64521 [C99-based standards] (PTRDIFF_MIN): Likewise.
64522 [C99-based standards] (PTRDIFF_MAX): Likewise.
64523 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
64524 [C99-based standards] (SIZE_MAX): Likewise.
64525 [C99-based standards] (WCHAR_MAX): Likewise.
64526 [C99-based standards] (WINT_MAX): Likewise.
64527 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
64528 constraint on value.
64529 [C99-based standards] (WCHAR_MIN): Likewise.
64530 [C99-based standards] (WINT_MIN): Likewise.
64531 [C99-based standards] (*_t): Allow.
64532 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
64533 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
64534 Include math.h-data and complex.h-data. Remove all expectations
64535 of math.h and complex.h contents.
64536 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
64537 at end of line.
64538 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
64539 (struct tm): Expect tag.
64540 [C99-based-standards] (wcstof): Expect function.
64541 [C99-based-standards] (wcstold): Likewise.
64542 [C99-based-standards] (wcstoll): Likewise.
64543 [C99-based-standards] (wcstoull): Likewise.
64544 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
64545 macro-int-constant. Specify type.
64546 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
64547 constraint on value.
64548 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64549 Specify type.
64550 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
64551 Specify value.
64552 [ISO C standards]: Do not allow headers.
64553 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
64554 wcs[abcdefghijklmnopqrstuvwxyz]*.
64555 [ISO C standards] (*_t): Do not allow.
64556 * conform/data/wctype.h-data [C99-based standards] (iswblank):
64557 Expect function.
64558 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
64559 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64560 Specify type.
64561 [ISO C standards]: Do not allow headers.
64562 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
64563 is[abcdefghijklmnopqrstuvwxyz]*.
64564 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
64565 to[abcdefghijklmnopqrstuvwxyz]*.
64566 [ISO C standards] (*_t): Do not allow.
64567 * conform/data/stdalign.h-data: New file.
64568 * conform/data/stdbool.h-data: Likewise.
64569 * conform/data/stdnoreturn.h-data: Likewise.
64570
64571 2012-11-07 Roland McGrath <roland@hack.frob.com>
64572
64573 [BZ #14815]
64574 * manual/filesys.texi (Directory Entries): Typo fix.
64575 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
64576
64577 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
64578
64579 * elf/elf.h (EM_AARCH64): New macro.
64580 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
64581 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
64582 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
64583 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
64584 (R_AARCH64_TLSDESC): Likewise.
64585 (NT_ARM_TLS): Likewise.
64586 (NT_ARM_HW_BREAK): Likewise.
64587 (NT_ARM_HW_WATCH): Likewise.
64588
64589 2012-11-07 Joseph Myers <joseph@codesourcery.com>
64590
64591 [BZ #14811]
64592 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
64593 (__ieee754_powl): Saturate nonzero exponents with absolute value
64594 below 0x1p-79 to +/- 0x1p-79.
64595 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
64596 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
64597 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
64598 nonzero exponents with absolute value below 0x1p-32 to +/-
64599 0x1p-32.
64600 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
64601 (__ieee754_powl): Saturate nonzero exponents with absolute value
64602 below 0x1p-79 to +/- 0x1p-79.
64603 * math/libm-test.inc (pow_test): Add more tests.
64604
64605 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64606
64607 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
64608 _dl_s390_cap_flags with kernel. Increase string length.
64609 (_dl_s390_platforms): Add z196 and zEC12.
64610
64611 2012-11-07 Joseph Myers <joseph@codesourcery.com>
64612
64613 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
64614 Change XOPEN21K to XOPEN2K.
64615
64616 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
64617
64618 * string/memmove.c: Use memcpy when possible.
64619
64620 2012-11-06 Andreas Jaeger <aj@suse.de>
64621
64622 * po/eo.po: Update from translation team.
64623
64624 2012-11-06 Joseph Myers <joseph@codesourcery.com>
64625
64626 [BZ #14793]
64627 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
64628 exponent and small x and y exponents, scale x or y up. Increase
64629 by 2 the exponent used in scaling up.
64630 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64631 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64632 * math/libm-test.inc (fma_test): Add more tests.
64633 (fma_test_towardzero): Likewise.
64634 (fma_test_downward): Likewise.
64635 (fma_test_upward): Likewise.
64636
64637 2012-11-05 Joseph Myers <joseph@codesourcery.com>
64638
64639 [BZ #14805]
64640 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
64641 fenv_t *.
64642
64643 [BZ #14801]
64644 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
64645 namespace for names of struct fields.
64646 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
64647 fenv_t fields.
64648 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
64649 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
64650
64651 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
64652
64653 [BZ #3665]
64654 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
64655
64656 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
64657
64658 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
64659 PTR_DEMANGLE.
64660
64661 [BZ #5246]
64662 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
64663 PTR_DEMANGLE.
64664
64665 2012-11-04 Joseph Myers <joseph@codesourcery.com>
64666
64667 [BZ #14797]
64668 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
64669 definitely overflow as x * y not x * y + z.
64670 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64671 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64672 * math/libm-test.inc (fma_test): Add more tests.
64673 (fma_test_towardzero): Likewise.
64674 (fma_test_downward): Likewise.
64675 (fma_test_upward): Likewise.
64676
64677 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
64678
64679 [BZ #157]
64680
64681 * include/stub-tag.h: Remove file.
64682 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
64683 '#include' of it.
64684 * manual/maint.texi (Porting): Don't reference it.
64685 * Makerules ($(objpfx)stubs): Likewise.
64686 * dirent/closedir.c: Don't include <stub-tag.h>.
64687 * dirent/dirfd.c: Likewise.
64688 * dirent/fdopendir.c: Likewise.
64689 * dirent/getdents.c: Likewise.
64690 * dirent/getdents64.c: Likewise.
64691 * dirent/opendir.c: Likewise.
64692 * dirent/readdir.c: Likewise.
64693 * dirent/readdir64.c: Likewise.
64694 * dirent/readdir64_r.c: Likewise.
64695 * dirent/readdir_r.c: Likewise.
64696 * dirent/rewinddir.c: Likewise.
64697 * dirent/seekdir.c: Likewise.
64698 * dirent/telldir.c: Likewise.
64699 * gmon/profil.c: Likewise.
64700 * grp/setgroups.c: Likewise.
64701 * inet/if_index.c: Likewise.
64702 * io/access.c: Likewise.
64703 * io/chdir.c: Likewise.
64704 * io/chmod.c: Likewise.
64705 * io/chown.c: Likewise.
64706 * io/close.c: Likewise.
64707 * io/dup.c: Likewise.
64708 * io/dup2.c: Likewise.
64709 * io/dup3.c: Likewise.
64710 * io/euidaccess.c: Likewise.
64711 * io/faccessat.c: Likewise.
64712 * io/fchdir.c: Likewise.
64713 * io/fchmod.c: Likewise.
64714 * io/fchmodat.c: Likewise.
64715 * io/fchown.c: Likewise.
64716 * io/fchownat.c: Likewise.
64717 * io/fcntl.c: Likewise.
64718 * io/flock.c: Likewise.
64719 * io/fstatfs.c: Likewise.
64720 * io/fstatfs64.c: Likewise.
64721 * io/fstatvfs.c: Likewise.
64722 * io/fstatvfs64.c: Likewise.
64723 * io/futimens.c: Likewise.
64724 * io/fxstat.c: Likewise.
64725 * io/fxstat64.c: Likewise.
64726 * io/fxstatat.c: Likewise.
64727 * io/fxstatat64.c: Likewise.
64728 * io/getcwd.c: Likewise.
64729 * io/isatty.c: Likewise.
64730 * io/lchmod.c: Likewise.
64731 * io/lchown.c: Likewise.
64732 * io/link.c: Likewise.
64733 * io/linkat.c: Likewise.
64734 * io/lseek.c: Likewise.
64735 * io/lseek64.c: Likewise.
64736 * io/lxstat64.c: Likewise.
64737 * io/mkdir.c: Likewise.
64738 * io/mkdirat.c: Likewise.
64739 * io/mkfifo.c: Likewise.
64740 * io/mkfifoat.c: Likewise.
64741 * io/open.c: Likewise.
64742 * io/open64.c: Likewise.
64743 * io/openat.c: Likewise.
64744 * io/openat64.c: Likewise.
64745 * io/pipe.c: Likewise.
64746 * io/pipe2.c: Likewise.
64747 * io/poll.c: Likewise.
64748 * io/posix_fadvise.c: Likewise.
64749 * io/posix_fadvise64.c: Likewise.
64750 * io/posix_fallocate.c: Likewise.
64751 * io/posix_fallocate64.c: Likewise.
64752 * io/read.c: Likewise.
64753 * io/readlink.c: Likewise.
64754 * io/readlinkat.c: Likewise.
64755 * io/rmdir.c: Likewise.
64756 * io/sendfile.c: Likewise.
64757 * io/sendfile64.c: Likewise.
64758 * io/statfs.c: Likewise.
64759 * io/statfs64.c: Likewise.
64760 * io/statvfs.c: Likewise.
64761 * io/statvfs64.c: Likewise.
64762 * io/symlink.c: Likewise.
64763 * io/symlinkat.c: Likewise.
64764 * io/ttyname.c: Likewise.
64765 * io/ttyname_r.c: Likewise.
64766 * io/umask.c: Likewise.
64767 * io/unlink.c: Likewise.
64768 * io/unlinkat.c: Likewise.
64769 * io/utime.c: Likewise.
64770 * io/utimensat.c: Likewise.
64771 * io/write.c: Likewise.
64772 * io/xmknod.c: Likewise.
64773 * io/xmknodat.c: Likewise.
64774 * io/xstat.c: Likewise.
64775 * io/xstat64.c: Likewise.
64776 * login/getpt.c: Likewise.
64777 * login/grantpt.c: Likewise.
64778 * login/unlockpt.c: Likewise.
64779 * math/e_acoshl.c: Likewise.
64780 * math/e_acosl.c: Likewise.
64781 * math/e_asinl.c: Likewise.
64782 * math/e_atan2l.c: Likewise.
64783 * math/e_atanhl.c: Likewise.
64784 * math/e_coshl.c: Likewise.
64785 * math/e_expl.c: Likewise.
64786 * math/e_fmodl.c: Likewise.
64787 * math/e_gammal_r.c: Likewise.
64788 * math/e_hypotl.c: Likewise.
64789 * math/e_j0l.c: Likewise.
64790 * math/e_j1l.c: Likewise.
64791 * math/e_jnl.c: Likewise.
64792 * math/e_lgammal_r.c: Likewise.
64793 * math/e_log10l.c: Likewise.
64794 * math/e_log2l.c: Likewise.
64795 * math/e_logl.c: Likewise.
64796 * math/e_powl.c: Likewise.
64797 * math/e_rem_pio2l.c: Likewise.
64798 * math/e_sinhl.c: Likewise.
64799 * math/e_sqrtl.c: Likewise.
64800 * math/fclrexcpt.c: Likewise.
64801 * math/fedisblxcpt.c: Likewise.
64802 * math/feenablxcpt.c: Likewise.
64803 * math/fegetenv.c: Likewise.
64804 * math/fegetexcept.c: Likewise.
64805 * math/fegetround.c: Likewise.
64806 * math/feholdexcpt.c: Likewise.
64807 * math/fesetenv.c: Likewise.
64808 * math/fesetround.c: Likewise.
64809 * math/feupdateenv.c: Likewise.
64810 * math/fgetexcptflg.c: Likewise.
64811 * math/fraiseexcpt.c: Likewise.
64812 * math/fsetexcptflg.c: Likewise.
64813 * math/ftestexcept.c: Likewise.
64814 * math/k_cosl.c: Likewise.
64815 * math/k_rem_pio2l.c: Likewise.
64816 * math/k_sinl.c: Likewise.
64817 * math/k_tanl.c: Likewise.
64818 * math/s_asinhl.c: Likewise.
64819 * math/s_atanl.c: Likewise.
64820 * math/s_cbrtl.c: Likewise.
64821 * math/s_erfl.c: Likewise.
64822 * math/s_expm1l.c: Likewise.
64823 * math/s_log1pl.c: Likewise.
64824 * math/s_tanhl.c: Likewise.
64825 * misc/acct.c: Likewise.
64826 * misc/brk.c: Likewise.
64827 * misc/chflags.c: Likewise.
64828 * misc/chroot.c: Likewise.
64829 * misc/fchflags.c: Likewise.
64830 * misc/fgetxattr.c: Likewise.
64831 * misc/flistxattr.c: Likewise.
64832 * misc/fremovexattr.c: Likewise.
64833 * misc/fsetxattr.c: Likewise.
64834 * misc/fsync.c: Likewise.
64835 * misc/ftruncate.c: Likewise.
64836 * misc/futimes.c: Likewise.
64837 * misc/futimesat.c: Likewise.
64838 * misc/getdomain.c: Likewise.
64839 * misc/getdtsz.c: Likewise.
64840 * misc/gethostid.c: Likewise.
64841 * misc/gethostname.c: Likewise.
64842 * misc/getloadavg.c: Likewise.
64843 * misc/getpagesize.c: Likewise.
64844 * misc/getsysstats.c: Likewise.
64845 * misc/getxattr.c: Likewise.
64846 * misc/gtty.c: Likewise.
64847 * misc/ioctl.c: Likewise.
64848 * misc/lgetxattr.c: Likewise.
64849 * misc/listxattr.c: Likewise.
64850 * misc/llistxattr.c: Likewise.
64851 * misc/lremovexattr.c: Likewise.
64852 * misc/lsetxattr.c: Likewise.
64853 * misc/lutimes.c: Likewise.
64854 * misc/madvise.c: Likewise.
64855 * misc/mincore.c: Likewise.
64856 * misc/mlock.c: Likewise.
64857 * misc/mlockall.c: Likewise.
64858 * misc/mmap.c: Likewise.
64859 * misc/mprotect.c: Likewise.
64860 * misc/msync.c: Likewise.
64861 * misc/munlock.c: Likewise.
64862 * misc/munlockall.c: Likewise.
64863 * misc/munmap.c: Likewise.
64864 * misc/preadv.c: Likewise.
64865 * misc/preadv64.c: Likewise.
64866 * misc/ptrace.c: Likewise.
64867 * misc/pwritev.c: Likewise.
64868 * misc/pwritev64.c: Likewise.
64869 * misc/readv.c: Likewise.
64870 * misc/reboot.c: Likewise.
64871 * misc/remap_file_pages.c: Likewise.
64872 * misc/removexattr.c: Likewise.
64873 * misc/revoke.c: Likewise.
64874 * misc/select.c: Likewise.
64875 * misc/setdomain.c: Likewise.
64876 * misc/setegid.c: Likewise.
64877 * misc/seteuid.c: Likewise.
64878 * misc/sethostid.c: Likewise.
64879 * misc/sethostname.c: Likewise.
64880 * misc/setregid.c: Likewise.
64881 * misc/setreuid.c: Likewise.
64882 * misc/setxattr.c: Likewise.
64883 * misc/sstk.c: Likewise.
64884 * misc/stty.c: Likewise.
64885 * misc/swapoff.c: Likewise.
64886 * misc/swapon.c: Likewise.
64887 * misc/sync.c: Likewise.
64888 * misc/syncfs.c: Likewise.
64889 * misc/syscall.c: Likewise.
64890 * misc/truncate.c: Likewise.
64891 * misc/ualarm.c: Likewise.
64892 * misc/usleep.c: Likewise.
64893 * misc/ustat.c: Likewise.
64894 * misc/utimes.c: Likewise.
64895 * misc/vhangup.c: Likewise.
64896 * misc/writev.c: Likewise.
64897 * posix/_exit.c: Likewise.
64898 * posix/alarm.c: Likewise.
64899 * posix/execve.c: Likewise.
64900 * posix/fexecve.c: Likewise.
64901 * posix/fork.c: Likewise.
64902 * posix/fpathconf.c: Likewise.
64903 * posix/getaddrinfo.c: Likewise.
64904 * posix/getegid.c: Likewise.
64905 * posix/geteuid.c: Likewise.
64906 * posix/getgid.c: Likewise.
64907 * posix/getgroups.c: Likewise.
64908 * posix/getlogin.c: Likewise.
64909 * posix/getlogin_r.c: Likewise.
64910 * posix/getpgid.c: Likewise.
64911 * posix/getpid.c: Likewise.
64912 * posix/getppid.c: Likewise.
64913 * posix/getresgid.c: Likewise.
64914 * posix/getresuid.c: Likewise.
64915 * posix/getsid.c: Likewise.
64916 * posix/getuid.c: Likewise.
64917 * posix/glob64.c: Likewise.
64918 * posix/nanosleep.c: Likewise.
64919 * posix/pathconf.c: Likewise.
64920 * posix/pause.c: Likewise.
64921 * posix/posix_madvise.c: Likewise.
64922 * posix/pread.c: Likewise.
64923 * posix/pread64.c: Likewise.
64924 * posix/pwrite.c: Likewise.
64925 * posix/pwrite64.c: Likewise.
64926 * posix/sched_getaffinity.c: Likewise.
64927 * posix/sched_getp.c: Likewise.
64928 * posix/sched_gets.c: Likewise.
64929 * posix/sched_primax.c: Likewise.
64930 * posix/sched_primin.c: Likewise.
64931 * posix/sched_rr_gi.c: Likewise.
64932 * posix/sched_setaffinity.c: Likewise.
64933 * posix/sched_setp.c: Likewise.
64934 * posix/sched_sets.c: Likewise.
64935 * posix/sched_yield.c: Likewise.
64936 * posix/setgid.c: Likewise.
64937 * posix/setlogin.c: Likewise.
64938 * posix/setpgid.c: Likewise.
64939 * posix/setresgid.c: Likewise.
64940 * posix/setresuid.c: Likewise.
64941 * posix/setsid.c: Likewise.
64942 * posix/setuid.c: Likewise.
64943 * posix/sleep.c: Likewise.
64944 * posix/spawni.c: Likewise.
64945 * posix/sysconf.c: Likewise.
64946 * posix/times.c: Likewise.
64947 * posix/wait.c: Likewise.
64948 * posix/wait3.c: Likewise.
64949 * posix/wait4.c: Likewise.
64950 * posix/waitpid.c: Likewise.
64951 * resolv/gai_sigqueue.c: Likewise.
64952 * resource/getpriority.c: Likewise.
64953 * resource/getrlimit.c: Likewise.
64954 * resource/getrusage.c: Likewise.
64955 * resource/nice.c: Likewise.
64956 * resource/setpriority.c: Likewise.
64957 * resource/setrlimit.c: Likewise.
64958 * resource/ulimit.c: Likewise.
64959 * rt/aio_cancel.c: Likewise.
64960 * rt/aio_fsync.c: Likewise.
64961 * rt/aio_read.c: Likewise.
64962 * rt/aio_sigqueue.c: Likewise.
64963 * rt/aio_suspend.c: Likewise.
64964 * rt/aio_write.c: Likewise.
64965 * rt/clock_getres.c: Likewise.
64966 * rt/clock_gettime.c: Likewise.
64967 * rt/clock_nanosleep.c: Likewise.
64968 * rt/clock_settime.c: Likewise.
64969 * rt/lio_listio.c: Likewise.
64970 * rt/mq_close.c: Likewise.
64971 * rt/mq_getattr.c: Likewise.
64972 * rt/mq_notify.c: Likewise.
64973 * rt/mq_open.c: Likewise.
64974 * rt/mq_receive.c: Likewise.
64975 * rt/mq_send.c: Likewise.
64976 * rt/mq_setattr.c: Likewise.
64977 * rt/mq_timedreceive.c: Likewise.
64978 * rt/mq_timedsend.c: Likewise.
64979 * rt/mq_unlink.c: Likewise.
64980 * rt/shm_open.c: Likewise.
64981 * rt/shm_unlink.c: Likewise.
64982 * rt/timer_create.c: Likewise.
64983 * rt/timer_delete.c: Likewise.
64984 * rt/timer_getoverr.c: Likewise.
64985 * rt/timer_gettime.c: Likewise.
64986 * rt/timer_settime.c: Likewise.
64987 * setjmp/__longjmp.c: Likewise.
64988 * setjmp/setjmp.c: Likewise.
64989 * signal/kill.c: Likewise.
64990 * signal/killpg.c: Likewise.
64991 * signal/raise.c: Likewise.
64992 * signal/sigaction.c: Likewise.
64993 * signal/sigaltstack.c: Likewise.
64994 * signal/sigblock.c: Likewise.
64995 * signal/sigignore.c: Likewise.
64996 * signal/sigintr.c: Likewise.
64997 * signal/signal.c: Likewise.
64998 * signal/sigpause.c: Likewise.
64999 * signal/sigpending.c: Likewise.
65000 * signal/sigqueue.c: Likewise.
65001 * signal/sigreturn.c: Likewise.
65002 * signal/sigset.c: Likewise.
65003 * signal/sigsetmask.c: Likewise.
65004 * signal/sigstack.c: Likewise.
65005 * signal/sigsuspend.c: Likewise.
65006 * signal/sigtimedwait.c: Likewise.
65007 * signal/sigvec.c: Likewise.
65008 * signal/sigwait.c: Likewise.
65009 * signal/sigwaitinfo.c: Likewise.
65010 * signal/sysv_signal.c: Likewise.
65011 * socket/accept.c: Likewise.
65012 * socket/accept4.c: Likewise.
65013 * socket/bind.c: Likewise.
65014 * socket/connect.c: Likewise.
65015 * socket/getpeername.c: Likewise.
65016 * socket/getsockname.c: Likewise.
65017 * socket/getsockopt.c: Likewise.
65018 * socket/isfdtype.c: Likewise.
65019 * socket/listen.c: Likewise.
65020 * socket/recv.c: Likewise.
65021 * socket/recvfrom.c: Likewise.
65022 * socket/recvmsg.c: Likewise.
65023 * socket/send.c: Likewise.
65024 * socket/sendmsg.c: Likewise.
65025 * socket/sendto.c: Likewise.
65026 * socket/setsockopt.c: Likewise.
65027 * socket/shutdown.c: Likewise.
65028 * socket/sockatmark.c: Likewise.
65029 * socket/socket.c: Likewise.
65030 * socket/socketpair.c: Likewise.
65031 * stdio-common/ctermid.c: Likewise.
65032 * stdio-common/cuserid.c: Likewise.
65033 * stdio-common/remove.c: Likewise.
65034 * stdio-common/rename.c: Likewise.
65035 * stdio-common/renameat.c: Likewise.
65036 * stdio-common/tempname.c: Likewise.
65037 * stdlib/getcontext.c: Likewise.
65038 * stdlib/makecontext.c: Likewise.
65039 * stdlib/setcontext.c: Likewise.
65040 * stdlib/swapcontext.c: Likewise.
65041 * stdlib/system.c: Likewise.
65042 * streams/fattach.c: Likewise.
65043 * streams/fdetach.c: Likewise.
65044 * streams/getmsg.c: Likewise.
65045 * streams/getpmsg.c: Likewise.
65046 * streams/putmsg.c: Likewise.
65047 * streams/putpmsg.c: Likewise.
65048 * sysdeps/unix/bsd/getpt.c: Likewise.
65049 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
65050 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
65051 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65052 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
65053 Likewise.
65054 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
65055 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
65056 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
65057 * sysvipc/msgctl.c: Likewise.
65058 * sysvipc/msgget.c: Likewise.
65059 * sysvipc/msgrcv.c: Likewise.
65060 * sysvipc/msgsnd.c: Likewise.
65061 * sysvipc/semctl.c: Likewise.
65062 * sysvipc/semget.c: Likewise.
65063 * sysvipc/semop.c: Likewise.
65064 * sysvipc/semtimedop.c: Likewise.
65065 * sysvipc/shmat.c: Likewise.
65066 * sysvipc/shmctl.c: Likewise.
65067 * sysvipc/shmdt.c: Likewise.
65068 * sysvipc/shmget.c: Likewise.
65069 * termios/tcdrain.c: Likewise.
65070 * termios/tcflow.c: Likewise.
65071 * termios/tcflush.c: Likewise.
65072 * termios/tcgetattr.c: Likewise.
65073 * termios/tcgetpgrp.c: Likewise.
65074 * termios/tcsendbrk.c: Likewise.
65075 * termios/tcsetattr.c: Likewise.
65076 * termios/tcsetpgrp.c: Likewise.
65077 * time/adjtime.c: Likewise.
65078 * time/clock.c: Likewise.
65079 * time/getitimer.c: Likewise.
65080 * time/gettimeofday.c: Likewise.
65081 * time/setitimer.c: Likewise.
65082 * time/settimeofday.c: Likewise.
65083 * time/stime.c: Likewise.
65084 * time/time.c: Likewise.
65085
65086 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
65087
65088 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
65089 /usr/old/bin.
65090
65091 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
65092 instead of spaces.
65093 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
65094
65095 2012-11-03 Joseph Myers <joseph@codesourcery.com>
65096
65097 [BZ #14796]
65098 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
65099 FE_TONEAREST before applying Dekker multiplication and Knuth
65100 addition. Clear inexact exceptions and check for exact zero
65101 results afterwards.
65102 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65103 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
65104 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65105 * math/libm-test.inc (fma_test): Add more tests.
65106 (fma_test_towardzero): Likewise.
65107 (fma_test_downward): Likewise.
65108 (fma_test_upward): Likewise.
65109 * sysdeps/generic/math_private.h (default_libc_fesetround): New
65110 function.
65111 (libc_fesetround): New macro.
65112 (libc_fesetroundf): Likewise.
65113 (libc_fesetroundl): Likewise.
65114 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
65115 function.
65116 (libc_fesetround_387): Likewise.
65117 (libc_fesetroundf): New macro.
65118 (libc_fesetround): Likewise.
65119 (libc_fesetroundl): Likewise.
65120 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
65121 function.
65122 (libc_fesetroundf): New macro.
65123 (libc_fesetround): Likewise.
65124 (libc_fesetroundl): Likewise.
65125 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
65126 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
65127 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
65128 libm_hidden_ver.
65129 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
65130 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
65131 libm_hidden_def.
65132 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
65133 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
65134 libm_hidden_ver.
65135 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
65136 libm_hidden_def.
65137
65138 [BZ #3439]
65139 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
65140 integer constant usable in #if and use that to give value to enum
65141 constant.
65142 (FE_DIVBYZERO): Likewise.
65143 (FE_UNDERFLOW): Likewise.
65144 (FE_OVERFLOW): Likewise.
65145 (FE_INVALID): Likewise.
65146 (FE_INVALID_SNAN): Likewise.
65147 (FE_INVALID_ISI): Likewise.
65148 (FE_INVALID_IDI): Likewise.
65149 (FE_INVALID_ZDZ): Likewise.
65150 (FE_INVALID_IMZ): Likewise.
65151 (FE_INVALID_COMPARE): Likewise.
65152 (FE_INVALID_SOFTWARE): Likewise.
65153 (FE_INVALID_SQRT): Likewise.
65154 (FE_INVALID_INTEGER_CONVERSION): Likewise.
65155 (FE_TONEAREST): Likewise.
65156 (FE_TOWARDZERO): Likewise.
65157 (FE_UPWARD): Likewise.
65158 (FE_DOWNWARD): Likewise.
65159 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
65160 (FE_DIVBYZERO): Likewise.
65161 (FE_OVERFLOW): Likewise.
65162 (FE_UNDERFLOW): Likewise.
65163 (FE_INEXACT): Likewise.
65164 (FE_TONEAREST): Likewise.
65165 (FE_DOWNWARD): Likewise.
65166 (FE_UPWARD): Likewise.
65167 (FE_TOWARDZERO): Likewise.
65168 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
65169 (FE_UNDERFLOW): Likewise.
65170 (FE_OVERFLOW): Likewise.
65171 (FE_DIVBYZERO): Likewise.
65172 (FE_INVALID): Likewise.
65173 (FE_TONEAREST): Likewise.
65174 (FE_TOWARDZERO): Likewise.
65175 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
65176 (FE_OVERFLOW): Likewise.
65177 (FE_UNDERFLOW): Likewise.
65178 (FE_DIVBYZERO): Likewise.
65179 (FE_INEXACT): Likewise.
65180 (FE_TONEAREST): Likewise.
65181 (FE_TOWARDZERO): Likewise.
65182 (FE_UPWARD): Likewise.
65183 (FE_DOWNWARD): Likewise.
65184 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
65185 (FE_DIVBYZERO): Likewise.
65186 (FE_OVERFLOW): Likewise.
65187 (FE_UNDERFLOW): Likewise.
65188 (FE_INEXACT): Likewise.
65189 (FE_TONEAREST): Likewise.
65190 (FE_DOWNWARD): Likewise.
65191 (FE_UPWARD): Likewise.
65192 (FE_TOWARDZERO): Likewise.
65193
65194 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
65195
65196 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
65197
65198 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
65199
65200 * scripts/cross-test-ssh.sh (command): Use newlines to separate
65201 commands. Quote $PWD.
65202 (blacklist_exports): Don't use remove_newlines. Replace "declare
65203 -x" by "export".
65204 (remove_newlines): Remove.
65205
65206 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
65207
65208 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
65209 * stdlib/stdlib.h (atof): Moved to ...
65210 * include/bits/stdlib-float.h: Here. New file.
65211 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
65212 * stdlib/bits/stdlib-float.h: New file.
65213 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
65214 -mno-sse -mno-mmx.
65215 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
65216 <xmmintrin.h>.
65217
65218 2012-11-02 Joseph Myers <joseph@codesourcery.com>
65219
65220 * conform/conformtest.pl (@headers): Add fenv.h.
65221 * conform/data/fenv.h-data: New file.
65222 * include/fenv.h [_ISOMAC]: Disable all contents of file except
65223 include of <math/fenv.h>.
65224
65225 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
65226 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
65227 && !UNIX98]. Enables tests for XOPEN2K8.
65228 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
65229 POSIX2008]: Likewise.
65230
65231 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
65232 (struct rusage): Do not expect type or its members.
65233
65234 [BZ #3439]
65235 * math/math.h (FP_NAN): Define macro to integer constant usable in
65236 #if and use that to give value to enum constant.
65237 (FP_INFINITE): Likewise.
65238 (FP_ZERO): Likewise.
65239 (FP_SUBNORMAL): Likewise.
65240 (FP_NORMAL): Likewise.
65241
65242 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
65243
65244 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
65245 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
65246 arguments.
65247
65248 2012-11-02 Roland McGrath <roland@hack.frob.com>
65249
65250 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
65251 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
65252 autoconf-time if not.
65253 * configure.in: Remove AC_PREREQ.
65254
65255 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65256
65257 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
65258 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
65259 of the internal implementation.
65260
65261 2012-11-02 Joseph Myers <joseph@codesourcery.com>
65262
65263 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
65264 except include of <misc/sys/syslog.h>.
65265
65266 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
65267
65268 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
65269 function returns with a NULL context exit with zero.
65270
65271 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65272
65273 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
65274
65275 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
65276
65277 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
65278 (run_program_cmd): This.
65279 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
65280 (tst_langinfo): New variable. Use it.
65281
65282 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
65283
65284 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
65285 floating point opcodes.
65286
65287 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
65288
65289 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
65290 variable.
65291
65292 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
65293
65294 * sysdeps/mach/hurd/powerpc: Remove directory.
65295 * sysdeps/mach/powerpc: Likewise.
65296
65297 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
65298
65299 * scripts/check-local-headers.sh: Ignore c++ headers.
65300
65301 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
65302
65303 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
65304 __libc_cleanup_region_start argument.
65305
65306 2012-11-01 Joseph Myers <joseph@codesourcery.com>
65307
65308 [BZ #14784]
65309 [BZ #14785]
65310 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
65311 x * y using scaling, not as x * y + z.
65312 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65313 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65314 * math/libm-test.inc (fma_test): Add more tests.
65315 (fma_test_towardzero): Likewise.
65316 (fma_test_downward): Likewise.
65317 (fma_test_upward): Likewise.
65318
65319 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
65320
65321 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
65322
65323 2012-10-31 Joseph Myers <joseph@codesourcery.com>
65324
65325 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
65326 New variable.
65327
65328 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
65329
65330 * rt/tst-shm.c (worker): Correct checking for mmap failure.
65331
65332 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
65333
65334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65335 Fix sort order.
65336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65337 Likewise.
65338
65339 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65340
65341 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65342 Fix the order of the list for glibc 2.17.
65343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65344 Likewise.
65345
65346 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
65347
65348 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65349
65350 2012-10-31 Joseph Myers <joseph@codesourcery.com>
65351
65352 [BZ #14610]
65353 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
65354 for low part of x being zero before using __atanl (y).
65355 * math/libm-test.inc (atan2_test): Add another test.
65356
65357 * manual/install.texi (Configuring and compiling): Document
65358 general use of test-wrapper and test-wrapper-env.
65359 * INSTALL: Regenerated.
65360
65361 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
65362 (__fma): Do not extract and scale down low bits on after-rounding
65363 systems when result rounded to normal precision would have normal
65364 exponent.
65365 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
65366 (__fmal): Do not extract and scale down low bits on after-rounding
65367 systems when result rounded to normal precision would have normal
65368 exponent.
65369 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
65370 (__fmal): Do not extract and scale down low bits on after-rounding
65371 systems when result rounded to normal precision would have normal
65372 exponent.
65373 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
65374 macro.
65375 (fma_test): Add more tests.
65376 (fma_test_towardzero): Likewise.
65377 (fma_test_downward): Likewise.
65378 (fma_test_upward): Likewise.
65379
65380 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
65381
65382 * sysdeps/i386/tininess.h: Renamed to ...
65383 * sysdeps/x86/tininess.h: This.
65384 * sysdeps/x86_64/tininess.h: Removed.
65385
65386 2012-10-30 Joseph Myers <joseph@codesourcery.com>
65387
65388 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
65389 input. Use $(build-program-cmd).
65390 ($(objpfx)tst-array1-static.out): Likewise.
65391 ($(objpfx)tst-array2.out): Likewise.
65392 ($(objpfx)tst-array3.out): Likewise.
65393 ($(objpfx)tst-array4.out): Likewise.
65394 ($(objpfx)tst-array5.out): Likewise.
65395 ($(objpfx)tst-array5-static.out): Likewise.
65396
65397 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
65398
65399 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
65400 if defined.
65401
65402 * nss/nsswitch.h (nss_interface_function): Provide new
65403 macro for use with NSS functions.
65404 * grp/initgroups.c: Use new macro.
65405 * nss/getXXbyYY.c: Likewise.
65406 * nss/getXXbyYY_r.c: Likewise.
65407 * nss/getXXent.c: Likewise.
65408 * nss/getXXent_r.c: Likewise.
65409 * sysdeps/posix/getaddrinfo.c: Likewise.
65410
65411 2012-10-30 Andreas Jaeger <aj@suse.de>
65412
65413 * po/ru.po: Update Russion translation from translation project.
65414
65415 2012-10-30 Joseph Myers <joseph@codesourcery.com>
65416
65417 [BZ #14152]
65418 [BZ #14783]
65419 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
65420 result and shift together with sticky bit instead of replicating
65421 round-to-nearest rounding.
65422 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65423 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65424 * math/libm-test.inc (fma_test): Add more tests. Do not permit
65425 missing underflow exceptions.
65426 (fma_test_towardzero): Add more tests.
65427 (fma_test_downward): Likewise.
65428 (fma_test_upward): Likewise.
65429
65430 [BZ #14047]
65431 * sysdeps/generic/tininess.h: New file.
65432 * sysdeps/i386/tininess.h: Likewise.
65433 * sysdeps/sh/tininess.h: Likewise.
65434 * sysdeps/x86_64/tininess.h: Likewise.
65435 * stdlib/tst-strtod-underflow.c: Likewise.
65436 * stdlib/tst-tininess.c: Likewise.
65437 * stdlib/strtod_l.c: Include <tininess.h>.
65438 (round_and_return): Do not set errno for exact underflow cases.
65439 Force an underflow exception when setting errno for underflow.
65440 Determine underflow based on rounding to normal precision if
65441 TININESS_AFTER_ROUNDING.
65442 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
65443 ERANGE for exact underflow cases.
65444 * stdlib/Makefile (tests): Add tst-tininess and
65445 tst-strtod-underflow.
65446 ($(objpfx)tst-tininess): Use $(link-libm).
65447 ($(objpfx)tst-strtod-underflow): Likewise.
65448
65449 2012-10-30 Andreas Jaeger <aj@suse.de>
65450
65451 [BZ#14767]
65452 * elf/Makefile (tests): Remove conditional for have-initfini-array
65453 since this is now always required and the variable does not exist
65454 anymore.
65455 (tests-static): Likewise.
65456 (modules-names): Likewise.
65457
65458 * po/eo.po: Add Esperanto translation from translation project.
65459
65460 * elf/tst-array1.c (fini_array): Make writeable so that it can be
65461 merged with constructor/destructor.
65462 (init_array): Likewise.
65463 * elf/tst-array2dep.c (fini_array): Likewise.
65464 (init_array): Likewise.
65465
65466 2012-10-29 Mike Frysinger <vapier@gentoo.org>
65467
65468 * manual/message.texi: Delete @cartouche tags.
65469
65470 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
65471
65472 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
65473 EOPNOTSUPP.
65474 * sysdeps/mach/hurd/fsync.c: Likewise.
65475
65476 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
65477 [_POSIX_REALTIME_SIGNALS]: Change condition to
65478 [_POSIX_REALTIME_SIGNALS > 0].
65479
65480 2012-10-27 Andreas Jaeger <aj@suse.de>
65481
65482 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
65483 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
65484 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
65485 [__WORDSIZE != 64]: Likewise.
65486
65487 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
65488
65489 * iconvdata/tst-table.sh: Remove ${SHELL}.
65490 * iconvdata/tst-tables.sh: Likewise.
65491
65492 2012-10-25 David S. Miller <davem@davemloft.net>
65493
65494 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65495 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
65496 of strtoull.
65497
65498 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
65499 ifunc-impl-list.c
65500 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65501 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
65502 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
65503 file.
65504
65505 2012-10-25 Roland McGrath <roland@hack.frob.com>
65506
65507 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65508 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
65509 __getdirentries.
65510
65511 2012-10-25 Joseph Myers <joseph@codesourcery.com>
65512 Jim Blandy <jimb@codesourcery.com>
65513
65514 * scripts/cross-test-ssh.sh: New file.
65515 * manual/install.texi (Configuring and compiling): Document use of
65516 cross-test-ssh.sh.
65517 * INSTALL: Regenerated.
65518
65519 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
65520
65521 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
65522 EOPNOTSUPP.
65523
65524 2012-10-25 Joseph Myers <joseph@codesourcery.com>
65525
65526 * Makeconfig (run-program-prefix): Fix comment.
65527
65528 2012-10-24 Joseph Myers <joseph@codesourcery.com>
65529 Jim Blandy <jimb@codesourcery.com>
65530
65531 * Makeconfig (test-wrapper): New variable,
65532 (test-wrapper-env): Likewise.
65533 [$(cross-compiling) = yes && $(test-wrapper) != ""]
65534 (run-built-tests): Define to yes.
65535 (run-program-prefix): Use $(test-wrapper).
65536 (built-program-cmd): Likewise.
65537 * Rules (make-test-out): Use $(test-wrapper-env) and
65538 $(host-built-program-cmd).
65539 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
65540 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
65541 tst-pathopt.sh.
65542 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
65543 $(test-wrapper-env) to tst-rtld-load-self.sh.
65544 ($(objpfx)order2.out): Use $(test-wrapper).
65545 ($(objpfx)tst-initorder.out): Likewise.
65546 ($(objpfx)tst-initorder2.out): Likewise.
65547 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
65548 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
65549 (test_wrapper_env): New variable. Use it to run ld.so.
65550 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
65551 Use it to run ld.so.
65552 (test_wrapper_env): Likewise.
65553 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
65554 $(test-wrapper) to run-iconv-test.sh.
65555 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
65556 (ICONV): Use $test_wrapper.
65557 * posix/Makefile ($(objpfx)globtest.out): Pass
65558 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
65559 globtest.sh, not $(run-program-prefix).
65560 * posix/globtest.sh (run_via_rtld_prefix): New variable.
65561 (test_wrapper): Likewise.
65562 (test_wrapper_env): Likewise. Use it to run globtest with HOME
65563 set together with run_via_rtld_prefix.
65564 (run_program_prefix): Define in terms of test_wrapper and
65565 run_via_rtld_prefix.
65566
65567 2012-10-24 Roland McGrath <roland@hack.frob.com>
65568
65569 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
65570 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
65571 Targets removed.
65572
65573 [BZ #14743]
65574 * include/time.h: Remove librt_hidden_proto (clock_gettime).
65575 Declare __clock_getres, __clock_gettime, __clock_settime,
65576 __clock_nanosleep, and __clock_getcpuclockid.
65577 * rt/clock_gettime.c: Define __clock_gettime as an alias.
65578 Remove librt_hidden_def (clock_gettime).
65579 * sysdeps/unix/clock_gettime.c: Likewise.
65580 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
65581 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
65582 * rt/clock_getres.c: Define __clock_getres as an alias.
65583 * sysdeps/posix/clock_getres.c: Likewise.
65584 * rt/clock_settime.c: Define __clock_settime as an alias.
65585 * sysdeps/unix/clock_settime.c: Likewise.
65586 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
65587 * sysdeps/unix/clock_nanosleep.c: Likewise.
65588 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
65589 * rt/clock-compat.c: New file.
65590 * rt/Makefile (librt-routines): Add clock-compat and move
65591 $(clock-routines) to ...
65592 (routines): ... here, new variable.
65593 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
65594 Don't add get_clockfreq here.
65595 * rt/Versions (libc: GLIBC_2.17): New version set.
65596 Add clock_* symbols here.
65597 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
65598 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
65599 (GLIBC_2.17): Add clock_* symbols.
65600 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
65601 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
65602 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65603 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65604 Likewise.
65605 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65606 Likewise.
65607 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65608 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
65609 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
65610 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
65611 * NEWS: Mention the move.
65612
65613 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
65614 Use __open, __read, __close rather than their public counterparts.
65615 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65616 (__get_clockfreq_via_cpuinfo): Likewise.
65617 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
65618 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
65619
65620 * config.h.in (HAVE_IFUNC): New #undef.
65621 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
65622 was successful.
65623 * configure: Regenerated.
65624
65625 2012-10-24 Mike Frysinger <vapier@gentoo.org>
65626
65627 * configure.in: Move READELF check to start of file.
65628 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
65629 libc_cv_asm_gnu_indirect_function in the process.
65630 * configure: Regenerated.
65631
65632 2012-10-24 Mike Frysinger <vapier@gentoo.org>
65633
65634 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
65635 send the output to /dev/null.
65636 (libc_cv_cc_with_libunwind): Likewise.
65637 (libc_cv_as_noexecstack): Likewise.
65638 * configure: Regenerate.
65639
65640 2012-10-24 Joseph Myers <joseph@codesourcery.com>
65641
65642 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
65643
65644 * posix/globtest.sh (TMPDIR): Do not set.
65645 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
65646 (testout): Likewise.
65647
65648 2012-10-24 Andreas Jaeger <aj@suse.de>
65649
65650 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
65651 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
65652 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
65653 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
65654 posix_fadvise64, posix_fallocate64.
65655
65656 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
65657 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
65658 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
65659 Likewise.
65660 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
65661 Likewise.
65662 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
65663
65664 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
65665 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
65666 <bits/fcntl-linux.h>.
65667 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
65668
65669 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
65670 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
65671 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
65672 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
65673 [__WORDSIZE != 64]: Likewise.
65674
65675 2012-10-23 Joseph Myers <joseph@codesourcery.com>
65676
65677 * Makeconfig (run-built-tests): New variable.
65678 * Rules [$(cross-compiling) = yes]: Change condition to
65679 [$(run-built-tests) = no].
65680 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
65681 to [$(run-built-tests) = yes].
65682 * elf/Makefile [$(cross-compiling) = no]: Likewise.
65683 * grp/Makefile [$(cross-compiling) = no]: Likewise.
65684 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
65685 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
65686 * intl/Makefile [$(cross-compiling) = no]: Likewise.
65687 * io/Makefile [$(cross-compiling) = no]: Likewise.
65688 * libio/Makefile [$(cross-compiling) = no]: Likewise.
65689 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
65690 * misc/Makefile [$(cross-compiling) = no]: Likewise.
65691 * posix/Makefile [$(cross-compiling) = no]: Likewise.
65692 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
65693 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
65694 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
65695 * string/Makefile [$(cross-compiling) = no]: Likewise.
65696
65697 * posix/Makefile ($(objpfx)globtest.out): Pass
65698 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
65699 $(rtld-installed-name).
65700 * posix/globtest.sh (elf_objpfx): Remove variable.
65701 (rtld_installed_name): Likewise.
65702 (library_path): Likewise.
65703 (run_program_prefix): New variable. Use for running globtest
65704 binary.
65705
65706 2012-10-23 Jim Blandy <jimb@codesourcery.com>
65707 Joseph Myers <joseph@codesourcery.com>
65708
65709 * Makeconfig (host-built-program-cmd): New variable.
65710 * elf/Makefile (tst-stackguard1-ARGS): Use
65711 $(host-built-program-cmd).
65712 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
65713 (tst-spawn-ARGS): Likewise.
65714 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
65715
65716 2012-10-23 Joseph Myers <joseph@codesourcery.com>
65717 Jim Blandy <jimb@codesourcery.com>
65718
65719 * Makeconfig (run-via-rtld-prefix): New variable.
65720 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
65721 (built-program-cmd): Likewise.
65722
65723 2012-10-22 Andreas Jaeger <aj@suse.de>
65724
65725 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
65726 __O_RSYNC if it exists, otherwise to O_SYNC.
65727
65728 2012-10-22 Jim Blandy <jimb@codesourcery.com>
65729 Joseph Myers <joseph@codesourcery.com>
65730
65731 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
65732 /dev/null.
65733 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
65734 from /dev/null
65735 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
65736 /dev/null.
65737
65738 2012-10-22 Andreas Jaeger <aj@suse.de>
65739
65740 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
65741 Define always.
65742 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
65743
65744 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65745 bits/fcntl-linux.h.
65746
65747 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
65748 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
65749
65750 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
65751 to __O_LARGEFILE.
65752 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
65753 to __O_LARGEFILE.
65754
65755 2012-10-21 Jim Blandy <jimb@codesourcery.com>
65756 Joseph Myers <joseph@codesourcery.com>
65757
65758 * config.make.in (NM): New variable.
65759
65760 2012-10-21 Andreas Jaeger <aj@suse.de>
65761
65762 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
65763 definitions and declarations that are provided by
65764 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65765
65766 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
65767
65768 [BZ #14683]
65769 * elf/Makefile (tests-static): Add tst-leaks1-static.
65770 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
65771 ($(objpfx)tst-leaks1-static): New rule.
65772 ($(objpfx)tst-leaks1-static-mem): Likewise.
65773 (tst-leaks1-static-ENV): New macro.
65774 * elf/dl-open.c (dl_open_worker): Check the main application
65775 only if SHARED is defined.
65776 * elf/tst-leaks1-static.c: New file.
65777
65778 2012-10-20 Andreas Jaeger <aj@suse.de>
65779
65780 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
65781 generic values for Linux.
65782 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
65783 and declarations that are provided by <bits/fcntl-linux.h> and
65784 include <bits/fcntl-linux.h>.
65785 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65786 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65787
65788 2012-10-20 Roland McGrath <roland@hack.frob.com>
65789
65790 * io/fcntl.h: Move include of <bits/types.h> to the top and
65791 include it unconditionally.
65792
65793 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
65794
65795 * wcsmbs/Makefile (tests-ifunc): New variable.
65796 (tests): Add $(tests-ifunc).
65797 * wcsmbs/test-wcschr-ifunc.c: New file.
65798 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
65799 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
65800 * wcsmbs/test-wcslen-ifunc.c: Likewise.
65801 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
65802 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
65803
65804 * string/Makefile (tests-ifunc): New variable.
65805 (tests): Add $(tests-ifunc).
65806 * string/test-memccpy.c (TEST_NAME): New macro.
65807 * string/test-memchr.c (TEST_NAME): Likewise.
65808 * string/test-memcmp.c (TEST_NAME): Likewise.
65809 * string/test-memcpy.c (TEST_NAME): Likewise.
65810 * string/test-memmem.c (TEST_NAME): Likewise.
65811 * string/test-memmove.c (TEST_NAME): Likewise.
65812 * string/test-memset.c (TEST_NAME): Likewise.
65813 * string/test-rawmemchr.c (TEST_NAME): Likewise.
65814 * string/test-stpcpy.c (TEST_NAME): Likewise.
65815 * string/test-stpncpy.c (TEST_NAME): Likewise.
65816 * string/test-strcasecmp.c (TEST_NAME): Likewise.
65817 * string/test-strcasestr.c (TEST_NAME): Likewise.
65818 * string/test-strcat.c (TEST_NAME): Likewise.
65819 * string/test-strchr.c (TEST_NAME): Likewise.
65820 * string/test-strcmp.c(TEST_NAME): Likewise.
65821 * string/test-strcpy.c (TEST_NAME): Likewise.
65822 * string/test-strcspn.c (TEST_NAME): Likewise.
65823 * string/test-strlen.c (TEST_NAME): Likewise.
65824 * string/test-strncasecmp.c (TEST_NAME): Likewise.
65825 * string/test-strncmp.c (TEST_NAME): Likewise.
65826 * string/test-strncpy.c (TEST_NAME): Likewise.
65827 * string/test-strnlen.c (TEST_NAME): Likewise.
65828 * string/test-strpbrk.c (TEST_NAME): Likewise.
65829 * string/test-strrchr.c (TEST_NAME): Likewise.
65830 * string/test-strspn.c (TEST_NAME): Likewise.
65831 * string/test-strstr.c (TEST_NAME): Likewise.
65832 * string/test-bcopy-ifunc.c: New file.
65833 * string/test-bzero-ifunc.c: Likewise.
65834 * string/test-memccpy-ifunc.c: Likewise.
65835 * string/test-memchr-ifunc.c: Likewise.
65836 * string/test-memcmp-ifunc.c: Likewise.
65837 * string/test-memcpy-ifunc.c: Likewise.
65838 * string/test-memmem-ifunc.c: Likewise.
65839 * string/test-memmove-ifunc.c: Likewise.
65840 * string/test-mempcpy-ifunc.c: Likewise.
65841 * string/test-memset-ifunc.c: Likewise.
65842 * string/test-rawmemchr-ifunc.c: Likewise.
65843 * string/test-stpcpy-ifunc.c: Likewise.
65844 * string/test-stpncpy-ifunc.c: Likewise.
65845 * string/test-strcasecmp-ifunc.c: Likewise.
65846 * string/test-strcasestr-ifunc.c: Likewise.
65847 * string/test-strcat-ifunc.c: Likewise.
65848 * string/test-strchr-ifunc.c: Likewise.
65849 * string/test-strchrnul-ifunc.c: Likewise.
65850 * string/test-strcmp-ifunc.c: Likewise.
65851 * string/test-strcpy-ifunc.c: Likewise.
65852 * string/test-strcspn-ifunc.c: Likewise.
65853 * string/test-strlen-ifunc.c: Likewise.
65854 * string/test-strncasecmp-ifunc.c: Likewise.
65855 * string/test-strncat-ifunc.c: Likewise.
65856 * string/test-strncmp-ifunc.c: Likewise.
65857 * string/test-strncpy-ifunc.c: Likewise.
65858 * string/test-strnlen-ifunc.c: Likewise.
65859 * string/test-strpbrk-ifunc.c: Likewise.
65860 * string/test-strrchr-ifunc.c: Likewise.
65861 * string/test-strspn-ifunc.c: Likewise.
65862 * string/test-strstr-ifunc.c: Likewise.
65863
65864 * debug/Makefile (tests-ifunc): New variable.
65865 (tests): Add $(tests-ifunc).
65866 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
65867 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
65868 * debug/test-stpcpy_chk-ifunc.c: New file.
65869 * debug/test-strcpy_chk-ifunc.c: Likewise.
65870
65871 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
65872
65873 [BZ #13601]
65874 * elf/dl-load.c (open_verify): Retry read if the entire ELF
65875 header is not read in.
65876
65877 2012-10-19 Joseph Myers <joseph@codesourcery.com>
65878
65879 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
65880 script to $(SHELL) as $<. Pass $(common-objpfx) to script
65881 directly. Pass built executable to script as
65882 $(built-program-cmd).
65883 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
65884 $testprogram without using LD_LIBRARY_PATH and $ldso.
65885
65886 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
65887 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
65888 $(rtld-installed-name).
65889 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
65890 (rtld_installed_name): Likewise.
65891 (library_path): Likewise.
65892 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
65893 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
65894 $(run-program-prefix) to tst-tables.sh.
65895 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
65896 it to run tst-table-from and tst-table-to.
65897 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
65898 Pass it to tst-table.sh.
65899 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
65900 $(run-program-prefix) to tst-gettext.sh.
65901 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
65902 tst-translit.sh.
65903 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
65904 tst-gettext2.sh.
65905 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
65906 to run tst-gettext.
65907 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
65908 to run tst-gettext2.
65909 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
65910 to run tst-translit.
65911 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
65912 $(run-program-prefix) to tst-mtrace.sh.
65913 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
65914 to run tst-mtrace.
65915 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
65916 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
65917 $(rtld-installed-name).
65918 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
65919 (rtld_installed_name): Likewise.
65920 (run_program_prefix): New variable. Use it to run wordexp-test.
65921
65922 * Makeconfig (ARCH): Remove all definitions.
65923 (machine): Likewise.
65924 [ARCH]: Remove conditional code.
65925 [!objdir]: Give error.
65926 [!objdir] (objpfx): Remove.
65927 [!objdir] (common-objpfx): Likewise.
65928 [!objdir] (common-objdir): Likewise.
65929 * configure.in (config_makefile): Remove. Hardcode Makefile in
65930 AC_CONFIG_FILES call.
65931 * configure: Regenerated.
65932
65933 [BZ #13888]
65934 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
65935 or TMPDIR.
65936 (testout): Likewise.
65937
65938 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
65939 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
65940 $(rtld-installed-name).
65941 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
65942 (rtld_installed_name): Likewise.
65943 (runit): Remove function.
65944 (run_getconf): New variable, Use it for running getconf binary.
65945
65946 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
65947
65948 [BZ #14716]
65949 * string/test-memmem.c (check_result): New function.
65950 (do_one_test): Use it.
65951 (check1): New function.
65952 (test_main): Use it.
65953
65954 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
65955
65956 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
65957
65958 2012-10-18 Joseph Myers <joseph@codesourcery.com>
65959
65960 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
65961 (_G_LSEEK64): Likewise.
65962 (_G_MMAP64): Likewise.
65963 (_G_FSTAT64): Likewise.
65964 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
65965 (_G_LSEEK64): Likewise.
65966 (_G_MMAP64): Likewise.
65967 (_G_FSTAT64): Likewise.
65968 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
65969 unconditional. Call __mmap64 directly.
65970 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
65971 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
65972 __lseek64 directly.
65973 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
65974 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
65975 __mmap64 directly.
65976 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
65977 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
65978 __lseek64 directly.
65979 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
65980 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
65981 __lseek64 directly.
65982 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
65983 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
65984 __lseek64 directly.
65985 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
65986 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
65987 __fxstat64 directly.
65988 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
65989 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
65990 unconditional.
65991 (freopen64) [!_G_OPEN64]: Remove conditional code.
65992 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
65993 unconditional.
65994 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
65995 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
65996 unconditional.
65997 (ftello64) [!_G_LSEEK64]: Remove conditional code.
65998 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
65999 unconditional.
66000 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
66001 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
66002 unconditional.
66003 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
66004 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
66005 unconditional.
66006 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
66007 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
66008 unconditional.
66009 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
66010 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
66011 unconditional.
66012 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
66013
66014 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
66015
66016 [BZ #12140]
66017 * manual/memory.texi (Malloc Tunable Parameters): Add note
66018 about free list pointers overwriting some perturb bytes.
66019 Wording suggested by Roland McGrath.
66020
66021 2012-10-17 Joseph Myers <joseph@codesourcery.com>
66022
66023 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
66024 (lgamma_test): Likewise.
66025 (tgamma_test): Likewise.
66026
66027 2012-10-16 Florian Weimer <fweimer@redhat.com>
66028
66029 [BZ #14700]
66030 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
66031 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
66032
66033 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
66034
66035 * NEWS: Mention BZ #14716.
66036 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
66037 when removing AVAILABLE1_USES_J macro.
66038
66039 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
66040
66041 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
66042 (__bswap_64): __uint64_t for unsigned 64-bit int.
66043
66044 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
66045
66046 * include/string.h (memmem): Declare libc hidden alias.
66047 * string/memmem.c (memmem): Define libc hidden alias.
66048 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
66049 __read, __close instead of open, read, close.
66050
66051 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
66052
66053 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
66054 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
66055 global and hidden.
66056 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
66057 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
66058 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
66059 Likewise.
66060 (__rawmemchr_sse2): Likewise.
66061 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
66062 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
66063 (__strchr_sse2): Likewise.
66064 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
66065 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
66066 (__strcasecmp_sse2): Likewise.
66067 (__strncasecmp_sse2): Likewise.
66068 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
66069 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
66070 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
66071 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
66072 (__strrchr_sse2): Likewise.
66073 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
66074 ifunc-impl-list.c.
66075 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
66076 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
66077 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
66078 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
66079 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
66080 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
66081 * sysdeps/x86_64/multiarch/memset.S: Likewise.
66082 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
66083 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
66084 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
66085 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
66086 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
66087 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
66088 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
66089 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
66090 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
66091 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
66092 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
66093 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
66094 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
66095 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
66096 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
66097 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
66098 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
66099 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
66100 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
66101 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
66102 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
66103 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
66104 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
66105
66106 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
66107 global and hidden.
66108 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
66109 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
66110 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
66111 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
66112 Likewise.
66113 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
66114 Likewise.
66115 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
66116 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
66117 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
66118 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
66119 ifunc-impl-list.c.
66120 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
66121 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
66122 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
66123 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
66124 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
66125 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
66126 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
66127 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
66128 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
66129 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
66130 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
66131 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
66132 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
66133 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
66134 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
66135 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
66136 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
66137 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
66138 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
66139 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
66140 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
66141 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
66142 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
66143 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
66144 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
66145 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
66146 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
66147 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
66148 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
66149 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
66150 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
66151 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
66152 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
66153 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
66154 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
66155 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
66156 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
66157 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
66158 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
66159 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
66160 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
66161
66162 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
66163 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
66164 * include/ifunc-impl-list.h: New file.
66165 * misc/ifunc-impl-list.c: Likewise.
66166 * misc/Makefile (routines): Add ifunc-impl-list.
66167 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
66168 * string/test-string.h: Include <ifunc-impl-list.h>.
66169 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
66170 TEST_NAME]: New variables.
66171 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
66172 are defined.
66173 (test_init): Call __libc_ifunc_impl_list to initialize
66174 func_list if TEST_IFUNC and TEST_NAME are defined.
66175
66176 * string/Makefile (strop-tests): Add bcopy and bzero.
66177 * string/test-bcopy.c: New file.
66178 * string/test-bzero.c: Likewise.
66179 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
66180 defined.
66181 * string/test-memset.c: Support bzero test if TEST_BZERO is
66182 defined.
66183 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
66184 __libc_memmove.
66185 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
66186 __libc_memset.
66187 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
66188 of memset.
66189
66190 2012-10-10 Joseph Myers <joseph@codesourcery.com>
66191
66192 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
66193 * configure: Regenerated.
66194
66195 * Makeconfig (+link-static-before-libc): Don't include
66196 $(link-static-libc).
66197
66198 * libio/libio.h (_IO_pos_t): Remove.
66199
66200 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
66201
66202 * NEWS: Add note about FIPS mode. Wording suggested by Roland
66203 McGrath.
66204
66205 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
66206
66207 * crypt/crypt-entry.c: Include fips-private.h.
66208 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
66209 * crypt/md5c-test.c (main): Tolerate disabled MD5.
66210 * sysdeps/unix/sysv/linux/fips-private.h: New file.
66211 * sysdeps/generic/fips-private.h: New file, dummy fallback.
66212
66213 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
66214
66215 * crypt/crypt-private.h: Include stdbool.h.
66216 (_ufc_setup_salt_r): Return bool.
66217 * crypt/crypt-entry.c: Include errno.h.
66218 (__crypt_r): Return NULL with EINVAL for bad salt.
66219 * crypt/crypt_util.c (bad_for_salt): New.
66220 (_ufc_setup_salt_r): Check that salt is long enough and within
66221 the specified alphabet.
66222 * crypt/badsalttest.c: New file.
66223 * crypt/Makefile (tests): Add it.
66224 ($(objpfx)badsalttest): New.
66225
66226 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
66227
66228 * NEWS: Add entry for BZ #14602.
66229
66230 2012-10-09 Joseph Myers <joseph@codesourcery.com>
66231
66232 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
66233 type-generic.
66234 * math/libm-test.inc: Update comment listing what functions and
66235 macros are tested.
66236 (isgreater_test): New function.
66237 (isgreaterequal_test): Likewise.
66238 (isless_test): Likewise.
66239 (islessequal_test): Likewise.
66240 (islessgreater_test): Likewise.
66241 (isunordered_test): Likewise.
66242 (main): Call the new functions.
66243
66244 2012-10-09 Roland McGrath <roland@hack.frob.com>
66245
66246 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
66247 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
66248 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
66249 * sysdeps/i386/configure: Regenerated.
66250 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
66251 * sysdeps/mach/configure: Regenerated.
66252 * sysdeps/mach/hurd/configure: Regenerated.
66253 * sysdeps/powerpc/configure: Regenerated.
66254 * sysdeps/powerpc/powerpc32/configure: Regenerated.
66255 * sysdeps/powerpc/powerpc64/configure: Regenerated.
66256 * sysdeps/s390/s390-32/configure: Regenerated.
66257 * sysdeps/s390/s390-64/configure: Regenerated.
66258 * sysdeps/sh/configure: Regenerated.
66259 * sysdeps/sparc/configure: Regenerated.
66260 * sysdeps/unix/sysv/linux/configure: Regenerated.
66261 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
66262 * sysdeps/x86_64/configure: Regenerated.
66263
66264 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
66265 defined. Don't check if MAP is NULL.
66266
66267 2012-10-09 Joseph Myers <joseph@codesourcery.com>
66268
66269 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
66270 (_G_stat64): Likewise.
66271 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
66272 (_G_stat64): Likewise.
66273 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
66274 instead of struct _G_stat64.
66275 * libio/fileops.c (mmap_remap_check): Likewise.
66276 (decide_maybe_mmap): Likewise.
66277 (_IO_new_file_seekoff): Likewise.
66278 (_IO_file_stat): Likewise.
66279 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
66280 _G_off64_t.
66281 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
66282 instead of struct _G_stat64.
66283 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
66284
66285 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
66286
66287 [BZ #14602]
66288 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
66289 Replace with ...
66290 (CHECK_EOL): New macro.
66291 (two_way_short_needle): Check beginning of haystack for EOL. Use
66292 CHECK_EOL.
66293 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
66294 Replace with CHECK_EOL.
66295 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
66296 Replace with CHECK_EOL.
66297
66298 2012-10-08 Joseph Myers <joseph@codesourcery.com>
66299
66300 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
66301 type-generic.
66302 * math/libm-test.inc: Update comment listing what functions and
66303 macros are tested.
66304 (finite_test): New function.
66305 (isinf_test): Likewise.
66306 (isnan_test): Likewise.
66307 (fpclassify_test): Test subnormal input.
66308 (isfinite_test): Likewise.
66309 (isnormal_test): Likewise.
66310 (main): Call the new functions.
66311
66312 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
66313
66314 [BZ #14660]
66315 * Makerules (%.dynsym): Force C locale when running
66316 $(OBJDUMP) --dynamic-syms.
66317
66318 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
66319
66320 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
66321 <stdint.h>.
66322
66323 2012-10-06 David S. Miller <davem@davemloft.net>
66324
66325 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
66326 upper 32-bits of the length value in %o2 since we use branch-on-register
66327 tests which consider the entire 64-bit register.
66328
66329 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
66330
66331 * string/test-strstr.c (check2): Add a test for page boundary.
66332
66333 2012-10-05 David S. Miller <davem@davemloft.net>
66334
66335 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
66336 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
66337 file.
66338 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
66339 sysdep_routines.
66340 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
66341 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
66342 and bzero when HWCAP_SPARC_CRYPTO is present.
66343
66344 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
66345
66346 [BZ #14602]
66347 * string/test-strstr.c (check2): New function.
66348 (test_main): Call check2.
66349
66350 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
66351 and bug-strchr1.
66352 * string/bug-strcasestr1.c (do_test): Moved to ...
66353 * string/test-strcasestr.c (check1): Here. New function.
66354 (do_one_test): Break out result checking code into ...
66355 (check_result): This. New function.
66356 (do_one_test): Call check_result.
66357 (test_main): Call check1.
66358 * string/bug-strchr1.c (do_test): Moved to ...
66359 * string/test-strchr.c (check1): Here. New function.
66360 (do_one_test): Break out result checking code into ...
66361 (check_result): This. New function.
66362 (do_one_test): Call check_result.
66363 (test_main): Call check1.
66364 * string/bug-strstr1.c (main): Moved to ...
66365 * string/test-strstr.c (check1): Here. New function.
66366 (do_one_test): Break out result checking code into ...
66367 (check_result): This. New function.
66368 (do_one_test): Call check_result.
66369 (test_main): Call check1.
66370 * string/bug-strcasestr1.c: Removed.
66371 * string/bug-strchr1.c: Likewise.
66372 * string/bug-strstr1.c: Likewise.
66373
66374 * elf/Makefile (dl-routines): Add hwcaps.
66375 * elf/dl-support.c (_dl_important_hwcaps): Removed.
66376 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
66377 (_dl_important_hwcaps): Moved to ...
66378 * elf/dl-hwcaps.c: Here. New file.
66379 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
66380
66381 [BZ #14557]
66382 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
66383 if IS_IN_rtld isn't defined.
66384
66385 * elf/dl-support.c (_dl_sysinfo_map): New.
66386 Include "get-dynamic-info.h" and "setup-vdso.h".
66387 (_dl_non_dynamic_init): Call setup_vdso.
66388 * elf/dynamic-link.h: Don't include <assert.h>.
66389 (elf_get_dynamic_info): Moved to ...
66390 * elf/get-dynamic-info.h: Here. New file.
66391 * elf/dynamic-link.h: Include "get-dynamic-info.h".
66392 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
66393 * elf/setup-vdso.h: Here. New file.
66394 * elf/rtld.c: Include "setup-vdso.h".
66395 (dl_main): Call setup_vdso.
66396
66397 2012-10-05 Joseph Myers <joseph@codesourcery.com>
66398
66399 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
66400 creal in comment listing functions tested. List finite, isinf,
66401 isnan, isless, islessequal, isgreater, isgreaterequal,
66402 islessgreater, isunordered, lgamma_r and pow10 as functions and
66403 macros not tested. Mention which functions not tested are aliases
66404 for other functions. Fix typo. Note that signs of NaNs are not
66405 tested.
66406
66407 * scripts/config.guess: Update from config.git.
66408 * scripts/config.sub: Likewise.
66409
66410 2012-10-04 Roland McGrath <roland@hack.frob.com>
66411
66412 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
66413 * misc/madvise.c (madvise): Renamed to __madvise.
66414 Make madvise a weak alias.
66415 * include/sys/mman.h: Declare __madvise.
66416 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
66417 * sysdeps/unix/syscalls.list
66418 (madvise): Make __madvise the strong name, and madvise a weak alias.
66419 * sysdeps/unix/sysv/linux/syscalls.list
66420 (madvise, mmap): Remove redundant entries.
66421 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
66422 * malloc/malloc.c (mtrim): Likewise.
66423 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
66424
66425 2012-10-03 Roland McGrath <roland@hack.frob.com>
66426
66427 * sysdeps/mach/hurd/dl-cache.c: File removed.
66428 * config.h.in (USE_LDCONFIG): New #undef.
66429 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
66430 * configure: Regenerated.
66431 * elf/Makefile (dl-routines): Add dl-cache only under
66432 [$(use-ldconfig) = yes].
66433 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
66434 cache on [USE_LDCONFIG].
66435 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
66436 [USE_LDCONFIG].
66437 * elf/rtld.c (dl_main): Likewise.
66438
66439 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
66440
66441 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
66442 _SC_LEVEL4_CACHE_LINESIZE.
66443
66444 2012-10-03 Roland McGrath <roland@hack.frob.com>
66445
66446 * sysdeps/unix/bsd/confstr.h: File removed.
66447
66448 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
66449
66450 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
66451 sys/sdt-config.h.
66452
66453 2012-10-02 Roland McGrath <roland@hack.frob.com>
66454
66455 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
66456 Make 'mapoff' field ElfW(Off) rather than off_t.
66457
66458 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
66459
66460 * nscd/Makefile: Remove nscd-cflags and all its users.
66461 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
66462 (CFLAGS-nonlib): Add compiler flags for nscd modules.
66463
66464 [BZ #10631]
66465 * malloc.c (malloc_printerr): Clarify error message.
66466
66467 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
66468
66469 [BZ #14648]
66470 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66471 Set bit_FMA_Usable if FMA is supported.
66472 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
66473 macro.
66474 (bit_FMA4_Usable): Updated.
66475 (index_FMA_Usable): New macro.
66476 (CPUID_FMA): Likewise.
66477 (HAS_FMA): Defined with bit_FMA_Usable.
66478
66479 2012-10-01 Roland McGrath <roland@hack.frob.com>
66480
66481 * bits/types.h (__swblk_t): Type removed.
66482 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
66483 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
66484 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66485 (__SWBLK_T_TYPE): Likewise.
66486 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
66487 (__SWBLK_T_TYPE): Likewise.
66488 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66489 (__SWBLK_T_TYPE): Likewise.
66490 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66491 (__SWBLK_T_TYPE): Likewise.
66492
66493 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
66494 Honza Horak <hhorak@redhat.com>
66495
66496 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
66497 (xdr_mapname): Use YPMAXMAP as maxsize.
66498 (xdr_peername): Use YPMAXPEER as maxsize.
66499 (xdr_keydat): Use YPAXRECORD as maxsize.
66500 (xdr_valdat): Use YPMAXRECORD as maxsize.
66501
66502 2012-10-01 Roland McGrath <roland@hack.frob.com>
66503
66504 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
66505
66506 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
66507 * csu/init-first.c: ... here.
66508 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
66509 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
66510 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
66511 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
66512 * sysdeps/i386/init-first.c: File removed.
66513 * sysdeps/sh/init-first.c: File removed.
66514
66515 2012-10-01 Joseph Myers <joseph@codesourcery.com>
66516
66517 [BZ #14645]
66518 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
66519 if x * y might underflow to zero and z is zero.
66520 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66521 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66522 * math/libm-test.inc (min_subnorm_value): New variable.
66523 (fma_test): Add more tests.
66524 (fma_test_towardzero): Likewise.
66525 (fma_test_downward): Likewise.
66526 (fma_test_upward): Likewise.
66527 (initialize): Set min_subnorm_value.
66528
66529 2012-09-29 Joseph Myers <joseph@codesourcery.com>
66530
66531 [BZ #14638]
66532 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
66533 0 + 0.
66534 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
66535 mode for addition resulting in exact zero.
66536 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
66537 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
66538 exact 0 + 0.
66539 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
66540 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66541 * math/libm-test.inc (fma_test): Add more tests.
66542 (fma_test_towardzero): New function.
66543 (fma_test_downward): Likewise.
66544 (fma_test_upward): Likewise.
66545 (main): Call the new functions.
66546
66547 2012-09-28 David S. Miller <davem@davemloft.net>
66548
66549 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
66550
66551 2012-09-28 Roland McGrath <roland@hack.frob.com>
66552
66553 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
66554 instead of SIGALRM.
66555
66556 * sysdeps/gnu/_G_config.h: Moved to ...
66557 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
66558 * sysdeps/mach/hurd/_G_config.h: Moved to ...
66559 * sysdeps/generic/_G_config.h: ... here.
66560
66561 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
66562
66563 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
66564
66565 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
66566 Conditionalize target on [libnss_test1.so-version].
66567
66568 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
66569
66570 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
66571 (elfobjdir): Move out of conditionals.
66572
66573 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
66574 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
66575 (__nss_lookup_function): Conditionalize label remove_from_tree on
66576 [!DO_STATIC_NSS || SHARED], matching its only use.
66577
66578 2012-09-28 David S. Miller <davem@davemloft.net>
66579
66580 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
66581 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
66582 file.
66583 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
66584 sysdep_routines.
66585 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
66586 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
66587 when HWCAP_SPARC_CRYPTO is present.
66588
66589 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
66590
66591 * io/tst-mknodat.c: Create a FIFO instead of a socket.
66592
66593 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
66594
66595 [BZ #6530]
66596 * stdio-common/vfprintf.c (process_string_arg): Revert
66597 2000-07-22 change.
66598
66599 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
66600
66601 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
66602 for testcase.
66603 * stdio-common/tst-sprintf.c: Include <locale.h>
66604 (main): Test sprintf's handling of incomplete multibyte
66605 characters.
66606
66607 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
66608
66609 * elf/dl-runtime.c (VERSYMIDX): Removed.
66610 * elf/dl-version.c (VERSYMIDX): Likewise.
66611 * elf/do-rel.h (VERSYMIDX): Likewise.
66612 (VALIDX): Likewise.
66613 * elf/dynamic-link.h (VERSYMIDX): Likewise.
66614 * elf/rtld.c (VALIDX): Likewise.
66615 (ADDRIDX): Likewise.
66616 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
66617 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
66618 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
66619 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
66620 (VALIDX): Likewise.
66621 (ADDRIDX): Likewise.
66622
66623 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
66624
66625 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
66626
66627 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
66628
66629 [BZ #11438]
66630 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
66631 to global scope.
66632 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
66633 addresses are in the same scope as 192.0.2/24.
66634 * posix/gai.conf: Document new scope table defaults.
66635
66636 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
66637
66638 [BZ #5298]
66639 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
66640 for ftell. Compute offsets from write pointers instead.
66641 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
66642
66643 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
66644
66645 [BZ #14543]
66646 * libio/Makefile (tests): New test case tst-fseek.
66647 * libio/tst-fseek.c: New test case to verify that fseek/ftell
66648 combination works in wide mode.
66649 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
66650 state when the external buffer state changes.
66651
66652 2012-09-27 David S. Miller <davem@davemloft.net>
66653
66654 [BZ #14376]
66655 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
66656 pass reloc->r_addend in as the 'high' argument to
66657 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
66658
66659 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66660
66661 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
66662
66663 * rt/tst-aio2.c: Include <pthread.h>.
66664 * rt/tst-aio3.c: Likewise.
66665
66666 2012-09-27 Steve Ellcey <sellcey@mips.com>
66667
66668 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
66669
66670 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
66671
66672 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
66673 contents on [SHARED].
66674
66675 2012-09-26 Marek Polacek <polacek@redhat.com>
66676
66677 [BZ #14530]
66678 [BZ #13741]
66679 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
66680 for C++ and GCC <4.3 as well as for non GCC compilers.
66681
66682 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
66683
66684 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66685
66686 2012-09-25 Roland McGrath <roland@hack.frob.com>
66687
66688 * Makefile.in (all, install): Declare with .PHONY.
66689 Reported by Michael Hope <michael.hope@linaro.org>.
66690
66691 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66692
66693 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
66694 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
66695 system header.
66696 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
66697 Likewise.
66698 (sydep_routines): Add the new and the internal functions.
66699 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
66700 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
66701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
66702 (GLIBC_2.17): Add the new function.
66703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
66704 (GLIBC_2.17): Likewise.
66705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
66706 (GLIBC_2.17): Likewise.
66707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
66708 (GLIBC_2.17): Likewise.
66709 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
66710
66711 2012-09-25 Alan Modra <amodra@gmail.com>
66712
66713 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
66714 Add release barrier before setting once_control to say
66715 initialisation is done. Add hints on lwarx. Use macro in
66716 place of isync.
66717 (clear_once_control): Add release barrier.
66718
66719 2012-09-25 Joseph Myers <joseph@codesourcery.com>
66720
66721 [BZ #13629]
66722 * math/s_clog.c (__clog): Handle more values close to |z| = 1
66723 specially.
66724 * math/s_clog10.c (__clog10): Likewise.
66725 * math/s_clog10f.c (__clog10f): Likewise.
66726 * math/s_clog10l.c (__clog10l): Likewise.
66727 * math/s_clogf.c (__clogf): Likewise.
66728 * math/s_clogl.c (__clogl): Likewise.
66729 * math/Makefile (libm-calls): Add x2y2m1.
66730 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
66731 (__x2y2m1): Likewise.
66732 (__x2y2m1l): Likewise.
66733 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
66734 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
66735 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
66736 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
66737 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
66738 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
66739 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
66740 * sysdeps/i386/fpu/libm-test-ulps: Update.
66741 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66742
66743 [BZ #14621]
66744 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
66745 int as type of variable DEPTH.
66746 (glob): Use size_t instead of int as type of variables NEWCOUNT
66747 and OLD_PATHC.
66748
66749 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66750
66751 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66752 Add s_sincosf-sse2.
66753 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
66754 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
66755 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
66756 macros for using routine as __sincosf_ia32.
66757 Use macro for function declaration and weak_alias.
66758 * sysdeps/i386/fpu/libm-test-ulps: Update.
66759
66760 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
66761 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66762
66763 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
66764 subnormal argument.
66765 * math/s_cexpf.c (__cexpf): Likewise.
66766 * math/s_csinf.c (__csinf): Likewise.
66767 * math/s_csinhf.c (__csinhf): Likewise.
66768 * math/s_ctanf.c (__ctanf): Likewise.
66769 * math/s_ctanhf.c (__ctanhf): Likewise.
66770 * math/s_ccosh.c (__ccoshf): Likewise.
66771 * math/s_cexp.c (__cexpl): Likewise.
66772 * math/s_csin.c (__csin): Likewise.
66773 * math/s_csinh.c (__csinh): Likewise.
66774 * math/s_ctan.c (__ctan): Likewise.
66775 * math/s_ctanh.c (ctanh): Likewise.
66776 * math/s_ccoshl.c (__ccoshl): Likewise.
66777 * math/s_cexpl.c (__cexpl): Likewise.
66778 * math/s_csinl.c (__csinl): Likewise.
66779 * math/s_csinhl.c (__csinhl): Likewise.
66780 * math/s_ctanl.c (__ctanl): Likewise.
66781 * math/s_ctanhl.c (__ctanhl): Likewise.
66782
66783 2012-09-25 Joseph Myers <joseph@codesourcery.com>
66784
66785 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
66786 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
66787 (_IO_off_t): Define to __off_t, not _G_off_t.
66788 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
66789 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
66790 (_IO_wint_t): Define to wint_t, not _G_wint_t.
66791 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
66792 type of __dummy and __dummy2 fields.
66793 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
66794 (_G_ssize_t): Likewise.
66795 (_G_off_t): Likewise.
66796 (_G_pid_t): Likewise.
66797 (_G_uid_t): Likewise.
66798 (_G_wchar_t): Likewise.
66799 (_G_wint_t): Likewise.
66800 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
66801 (_G_ssize_t): Likewise.
66802 (_G_off_t): Likewise.
66803 (_G_pid_t): Likewise.
66804 (_G_uid_t): Likewise.
66805 (_G_wchar_t): Likewise.
66806 (_G_wint_t): Likewise.
66807 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
66808 (_G_ssize_t): Likewise.
66809 (_G_off_t): Likewise.
66810 (_G_pid_t): Likewise.
66811 (_G_uid_t): Likewise.
66812 (_G_wchar_t): Likewise.
66813 (_G_wint_t): Likewise.
66814
66815 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
66816
66817 * malloc/arena.c: Include malloc-sysdep.h.
66818 (shrink_heap): Use check_may_shrink_heap to decide if madvise
66819 is sufficient to shrink the heap or an unmap is needed.
66820 * sysdeps/generic/malloc-sysdep.h: New file. Define
66821 new function check_may_shrink_heap.
66822 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
66823 new function check_may_shrink_heap.
66824
66825 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
66826
66827 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
66828 comments.
66829
66830 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
66831
66832 * catgets/test-gencat.sh: Add "set -e".
66833 * elf/tst-pathopt.sh: Likewise.
66834 * grp/tst_fgetgrent.sh: Likewise.
66835 * iconvdata/run-iconv-test.sh: Likewise.
66836 * intl/tst-gettext.sh: Likewise.
66837 * intl/tst-gettext2.sh: Likewise.
66838 * intl/tst-gettext4.sh: Likewise.
66839 * intl/tst-gettext6.sh: Likewise.
66840 * intl/tst-translit.sh: Likewise.
66841 * io/ftwtest-sh: Likewise.
66842 * libio/test-freopen.sh: Likewise.
66843 * malloc/tst-mtrace.sh: Likewise.
66844 * posix/globtest.sh: Likewise.
66845 * posix/tst-getconf.sh: Likewise.
66846 * posix/wordexp-tst.sh: Likewise.
66847 * stdio-common/tst-printf.sh: Likewise.
66848 * stdio-common/tst-unbputc.sh: Likewise.
66849 * stdlib/tst-fmtmsg.sh: Likewise.
66850 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66851 * catgets/Makefile: Do not specify -e option when running
66852 testsuite shell scripts.
66853 * elf/Makefile: Likewise.
66854 * grp/Makefile: Likewise.
66855 * iconvdata/Makefile: Likewise.
66856 * intl/Makefile: Likewise.
66857 * io/Makefile: Likewise.
66858 * libio/Makefile: Likewise.
66859 * malloc/Makefile: Likewise.
66860 * posix/Makefile: Likewise.
66861 * stdio-common/Makefile: Likewise.
66862 * stdlib/Makefile: Likewise.
66863 * sysdeps/x86_64/Makefile: Likewise.
66864
66865 * io/ftwtest-sh: Add copyright header.
66866 * posix/globtest.sh: Likewise.
66867 * posix/tst-getconf.sh: Likewise.
66868 * posix/wordexp-tst.sh: Likewise.
66869 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66870
66871 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
66872
66873 [BZ #13679]
66874 * Makeconfig (+link): Defined as $(+link-static) if
66875 $(build-shared) isn't yes.
66876 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
66877 isn't yes.
66878 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
66879
66880 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
66881
66882 [BZ #14562]
66883 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
66884 new chunk size with MALLOC_ALIGN_MASK.
66885
66886 2012-09-24 Joseph Myers <joseph@codesourcery.com>
66887
66888 [BZ #5044]
66889 * stdio-common/printf_fphex.c: Include <stdbool.h> and
66890 <rounding-mode.h>.
66891 (__printf_fphex): Determine rounding using get_rounding_mode and
66892 round_away.
66893 * stdio-common/tst-printf-round.c (struct hex_test): New
66894 structure.
66895 (hex_tests): New variable.
66896 (test_hex_in_one_mode): New function.
66897 (do_test): Also run tests for hex float output.
66898
66899 2012-09-21 Joseph Myers <joseph@codesourcery.com>
66900
66901 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66902 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66903 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
66904 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66905 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66906 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
66907 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66908 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66909
66910 2012-09-20 Joseph Myers <joseph@codesourcery.com>
66911
66912 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
66913 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
66914 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
66915 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
66916
66917 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
66918
66919 [BZ #14579]
66920 * elf/rtld.c (dl_main): Limit the check for self loading to normal
66921 mode only.
66922 * elf/tst-rtld-load-self.sh: New test.
66923 * elf/Makefile: Run it.
66924
66925 2012-09-18 Joseph Myers <joseph@codesourcery.com>
66926
66927 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
66928 (tst-writev-ENV): Remove.
66929 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
66930
66931 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
66932
66933 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
66934
66935 2012-09-17 Joseph Myers <joseph@codesourcery.com>
66936
66937 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
66938 unconditional.
66939 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
66940 Likewise.
66941 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
66942 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
66943 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
66944 Likewise.
66945
66946 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
66947
66948 [BZ #14587]
66949 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
66950 * config.make.in (have-cpp-asm-debuginfo): Removed.
66951 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
66952 * configure: Regenerated.
66953
66954 2012-09-14 Joseph Myers <joseph@codesourcery.com>
66955
66956 [BZ #5044]
66957 * stdio-common/printf_fp.c: Include <stdbool.h> and
66958 <rounding-mode.h>.
66959 (___printf_fp): Determine rounding using get_rounding_mode and
66960 round_away.
66961 * stdio-common/tst-printf-round.c: New file.
66962 * stdio-common/Makefile (tests): Add tst-printf-round.
66963 (link-libm): New variable.
66964 ($(objpfx)tst-printf-round): Depend in $(link-libm).
66965
66966 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
66967
66968 [BZ #14576]
66969 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
66970 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
66971 Likewise.
66972 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
66973 Likewise.
66974
66975 2012-09-13 Joseph Myers <joseph@codesourcery.com>
66976
66977 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
66978 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66979 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66980 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66981
66982 2012-09-12 Joseph Myers <joseph@codesourcery.com>
66983
66984 [BZ #14518]
66985 * include/rounding-mode.h: New file.
66986 * sysdeps/generic/get-rounding-mode.h: Likewise.
66987 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
66988 * stdlib/strtod_l.c: Include <rounding-mode.h>.
66989 (MAX_VALUE): New macro.
66990 (MIN_VALUE): Likewise.
66991 (overflow_value): New function.
66992 (underflow_value): Likewise.
66993 (round_and_return): Use overflow_value and underflow_value to
66994 determine return values in overflow and underflow cases. Use
66995 round_away to determine rounding depending on rounding mode.
66996 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
66997 determine return values in overflow and underflow cases.
66998 * stdlib/tst-strtod-round.c: Include <fenv.h>.
66999 (struct test_results): New structure.
67000 (struct test): Use struct test_results to store expected results
67001 for all rounding modes.
67002 (TEST): Include expected results for all rounding modes.
67003 (test_in_one_mode): New function.
67004 (do_test): Use test_in_one_mode to compute and check results.
67005 Check results for all rounding modes.
67006 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
67007 $(link-libm).
67008
67009 2012-12-09 Allan McRae <allan@archlinux.org>
67010
67011 * sysdeps/i386/fpu/libm-test-ulps: Update
67012
67013 2012-09-11 Joseph Myers <joseph@codesourcery.com>
67014
67015 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
67016 (_G_int32_t): Likewise.
67017 (_G_uint16_t): Likewise.
67018 (_G_uint32_t): Likewise.
67019 (_G_HAVE_BOOL): Likewise.
67020 (_G_HAVE_ATEXIT): Likewise.
67021 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
67022 (_G_HAVE_IO_FILE_OPEN): Likewise.
67023 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
67024 (_G_int32_t): Likewise.
67025 (_G_uint16_t): Likewise.
67026 (_G_uint32_t): Likewise.
67027 (_G_HAVE_BOOL): Likewise.
67028 (_G_HAVE_ATEXIT): Likewise.
67029 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
67030 (_G_HAVE_IO_FILE_OPEN): Likewise.
67031 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
67032 (_G_int32_t): Likewise.
67033 (_G_uint16_t): Likewise.
67034 (_G_uint32_t): Likewise.
67035 (_G_HAVE_BOOL): Likewise.
67036 (_G_HAVE_ATEXIT): Likewise.
67037 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
67038 (_G_HAVE_IO_FILE_OPEN): Likewise.
67039
67040 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
67041
67042 * csu/libc-tls.c: Update copyright years.
67043
67044 2012-09-10 Joseph Myers <joseph@codesourcery.com>
67045
67046 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
67047 [!_G_USING_THUNKS]: Remove conditional code.
67048 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
67049 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
67050
67051 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
67052 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
67053 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
67054 (_G_VTABLE_LABEL_PREFIX): Likewise.
67055 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
67056 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
67057 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
67058 (_G_VTABLE_LABEL_PREFIX): Likewise.
67059 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
67060 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
67061 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
67062 (_G_VTABLE_LABEL_PREFIX): Likewise.
67063 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
67064
67065 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
67066
67067 * libio/Makefile: Include ../Makeconfig before tests.
67068 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
67069 only if $(build-shared) is yes.
67070
67071 * iconv/gconv_db.c: Update copyright years.
67072
67073 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67074
67075 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
67076 unwind info if defined PIC. Fix special cases description.
67077 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
67078
67079 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
67080 DP_HI_MASK entry.
67081 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
67082
67083 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
67084
67085 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
67086
67087 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
67088 is NULL.
67089
67090 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
67091 (LDLIBS-tst-chk4): This.
67092 (LDFLAGS-tst-chk5): Renamed to ...
67093 (LDLIBS-tst-chk5): This.
67094 (LDFLAGS-tst-chk6): Renamed to ...
67095 (LDLIBS-tst-chk6): This.
67096 (LDFLAGS-tst-lfschk4): Renamed to ...
67097 (LDLIBS-tst-lfschk4): This.
67098 (LDFLAGS-tst-lfschk5): Renamed to ...
67099 (LDLIBS-tst-lfschk5): This.
67100 (LDFLAGS-tst-lfschk6): Renamed to ...
67101 (LDLIBS-tst-lfschk6): This.
67102
67103 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
67104 on $(common-objpfx)soversions.mk.
67105
67106 2012-09-07 Joseph Myers <joseph@codesourcery.com>
67107
67108 [BZ #10014]
67109 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
67110 example host name.
67111
67112 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
67113
67114 * malloc/arena.c (arena_get_retry): New function that gets
67115 another arena for the caller to try its request on.
67116 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
67117 current arena cannot fulfill the request.
67118 (__libc_memalign): Likewise.
67119 (__libc_memalign): Likewise.
67120 (__libc_pvalloc): Likewise.
67121 (__libc_calloc): Likewise.
67122
67123 2012-09-05 John Tobey <john.tobey@gmail.com>
67124
67125 [BZ #13542]
67126 * manual/arith.texi (Operations on Complex): Fix description
67127 of carg branch cut.
67128
67129 2012-09-06 Joseph Myers <joseph@codesourcery.com>
67130
67131 [BZ #10014]
67132 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
67133 host name.
67134
67135 [BZ #10038]
67136 * manual/memory.texi (Memory): Make order of menu items match
67137 order of sections.
67138
67139 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
67140
67141 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
67142 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
67143 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
67144
67145 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
67146
67147 * csu/libc-tls.c (static_dtv): Renamed to ...
67148 (_dl_static_dtv): This. Make it global.
67149 (_dl_initial_dtv): Removed.
67150 (__libc_setup_tls): Updated.
67151 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
67152 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
67153 DL_INITIAL_DTV.
67154
67155 2012-09-06 Petr Machata <pmachata@redhat.com>
67156
67157 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
67158 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
67159 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
67160 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
67161
67162 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
67163
67164 [BZ #14545]
67165 * csu/libc-tls.c (_dl_initial_dtv): New variable.
67166 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
67167 freeing dtv[-1].
67168
67169 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
67170
67171 [BZ #14544]
67172 * Makeconfig (link-static-before-libc): Replace $(+prector)
67173 with $(+prectorT).
67174 (link-static-after-libc): Replace $(+postctor) with
67175 $(+postctorT).
67176 (link-bounded): Replace $(+prector)/$(+postctor) with
67177 $(+prectorT)/$(+postctorT).
67178 (+prectorT): New macro.
67179 (+postctorT): Likewise.
67180
67181 2012-09-06 Joseph Myers <joseph@codesourcery.com>
67182
67183 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
67184 (round_str): Handle values above the maximum for IBM long double
67185 as inexact.
67186 * stdlib/tst-strtod-round.c (tests): Regenerated.
67187
67188 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67189
67190 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
67191 assembler flag.
67192 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
67193 zarch_nohighgprs around the zarch optimized routines.
67194 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
67195 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
67196 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
67197 for zarch.
67198
67199 2012-09-05 David S. Miller <davem@davemloft.net>
67200
67201 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67202
67203 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
67204 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
67205 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
67206 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
67207 entries.
67208
67209 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
67210
67211 * malloc/arena.c: Fold copyright years.
67212 * malloc/mcheck.c, malloc/memusage.c: Likewise.
67213
67214 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
67215
67216 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
67217
67218 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
67219
67220 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
67221
67222 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
67223
67224 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
67225 change internal state upon failure.
67226
67227 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
67228
67229 * malloc/mcheck.c (mcheck_check_all): Fix typo.
67230 * malloc/memusage.c (mmap): Likewise.
67231 (mmap64, mremap): Likewise. Adjust name in comment.
67232
67233 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
67234
67235 * libio/fileops.c: Fix typos in comments.
67236 * libio/oldfileops.c: Likewise.
67237 * libio/wfileops.c: Likewise.
67238
67239 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
67240
67241 [BZ #1349]
67242 * malloc/Makefile (tests): Add tst-malloc-usable test case.
67243 (tst-malloc-usable-ENV): Set environment for test case.
67244 * malloc/hooks.c (malloc_check_get_size): New function to get
67245 requested size.
67246 * malloc/malloc.c (musable): Use malloc_check_get_size.
67247 * malloc/tst-malloc-usable.c: New test case.
67248
67249 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
67250
67251 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
67252
67253 2012-09-05 Allan McRae <allan@archlinux.org>
67254
67255 [BZ #13966]
67256 * configure.in (CXX_SYSINCLUDES): Use compiler output to
67257 determine header location.
67258 * configure: Regenerated.
67259
67260 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
67261
67262 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
67263 float format.
67264 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
67265 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
67266 format.
67267 (test): Regenerate.
67268
67269 2012-09-04 David S. Miller <davem@davemloft.net>
67270
67271 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
67272 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
67273 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
67274
67275 2012-09-04 Florian Weimer <fweimer@redhat.com>
67276
67277 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
67278 failures.
67279
67280 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
67281
67282 2012-09-04 Joseph Myers <joseph@codesourcery.com>
67283
67284 [BZ #9914]
67285 * libio/iogetdelim.c: Include <limits.h>.
67286 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
67287 + len + 1 would overflow.
67288
67289 2012-09-03 Andreas Jaeger <aj@suse.de>
67290
67291 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67292 * sysdeps/i386/fpu/libm-test-ulps: Update.
67293
67294 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67295
67296 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
67297 Add s_sinf-sse2, s_conf-sse2.
67298
67299 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
67300 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
67301 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
67302 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
67303
67304 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
67305 for using routine as __sinf_ia32.
67306 Use macro for function declaration and weak_alias.
67307 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
67308 for using routine as __cosf_ia32.
67309 Use macro for function declaration and weak_alias.
67310
67311 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
67312 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
67313
67314 * sysdeps/x86_64/fpu/s_sinf.S: New file.
67315 * sysdeps/x86_64/fpu/s_cosf.S: New file.
67316 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67317
67318 * math/libm-test.inc (cos_test): Add more test cases.
67319 (sin_test): Likewise.
67320 (sincos_test): Likewise.
67321
67322 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67323
67324 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
67325 (IFUNC_RESOLVE): Make pointers to the specialized implementations
67326 hidden.
67327 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
67328
67329 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
67330
67331 [BZ #14538]
67332 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
67333 first element of the GOT.
67334 (elf_machine_load_address): Return the difference between
67335 the runtime address of _DYNAMIC and elf_machine_dynamic ().
67336
67337 2012-09-01 Allan McRae <allan@archlinux.org>
67338
67339 [BZ #13412]
67340 * configure.in (AWK): Require gawk version 3.0 or later.
67341 * configure: Regenerated.
67342
67343 2012-09-01 Joseph Myers <joseph@codesourcery.com>
67344
67345 * sysdeps/unix/sysv/linux/kernel-features.h
67346 (__ASSUME_POSIX_CPU_TIMERS): Remove.
67347 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
67348 [__NR_clock_getres]: Make code unconditional.
67349 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
67350 (clock_getcpuclockid): Remove code left unreachable by removal of
67351 conditionals.
67352 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
67353 code unconditional.
67354 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
67355 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67356 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
67357 Make code unconditional.
67358 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
67359 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67360 * sysdeps/unix/sysv/linux/clock_settime.c
67361 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
67362 conditional code.
67363 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
67364 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67365
67366 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
67367
67368 [BZ #14476]
67369 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
67370 scripts/test-installation.pl.
67371
67372 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
67373 and $ld_so_version if it is set.
67374
67375 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
67376
67377 [BZ #14516]
67378 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
67379 failure if reading from procfs failed.
67380 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
67381
67382 2012-08-27 Joseph Myers <joseph@codesourcery.com>
67383
67384 * sysdeps/unix/sysv/linux/kernel-features.h
67385 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
67386 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
67387 Remove conditional code.
67388 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67389 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
67390 Remove conditional code.
67391 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67392 * sysdeps/unix/sysv/linux/i386/fxstat.c
67393 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67394 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67395 * sysdeps/unix/sysv/linux/i386/fxstatat.c
67396 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67397 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67398 * sysdeps/unix/sysv/linux/i386/lxstat.c
67399 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67400 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67401 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
67402 Remove conditional code.
67403 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67404 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
67405 Remove conditional code.
67406 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67407 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
67408 <kernel-features.h>.
67409 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
67410 Remove.
67411 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
67412 Remove conditional code.
67413 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67414 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
67415 Remove conditional.
67416
67417 2012-08-27 Mike Frysinger <vapier@gentoo.org>
67418
67419 [BZ #5400]
67420 * NEWS: Add fixed bug number.
67421
67422 2012-08-27 Joseph Myers <joseph@codesourcery.com>
67423
67424 [BZ #14519]
67425 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
67426 underflowing exponent in case of negative sign.
67427 * stdlib/tst-strtod-round-data: Add more tests.
67428 * stdlib/tst-strtod-round.c (tests): Regenerated.
67429
67430 [BZ #3479]
67431 * stdlib/strtod_l.c (NDIG): Remove.
67432 (HEXNDIG): Likewise.
67433 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
67434 smallest representable value.
67435 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
67436 lie within an exact representation of 1/2 ulp of the result.
67437 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
67438 unconditionally.
67439 (TENS_P9_IDX): Define unconditionally.
67440 (TENS_P9_SIZE): Likewise.
67441 (TENS_P10_IDX): Likewise.
67442 (TENS_P10_SIZE): Likewise.
67443 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
67444 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
67445 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
67446 entries for 10^2^13 and 10^2^14.
67447 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
67448 (TENS_P13_IDX): Define.
67449 (TENS_P13_SIZE): Likewise.
67450 (TENS_P14_IDX): Likewise.
67451 (TENS_P14_SIZE): Likewise.
67452 (_fpioconst_pow10): Change array size to
67453 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
67454 unconditional.
67455 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
67456 1024]: Add entries for 10^2^13 and 10^2^14.
67457 [LAST_POW10 > _LAST_POW10]: Remove #error.
67458 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
67459 (_fpioconst_pow10): Change array size to
67460 FPIOCONST_POW10_ARRAY_SIZE.
67461 * stdlib/gen-fpioconst.c: New file.
67462 * stdlib/gen-tst-strtod-round.c: Likewise.
67463 * stdlib/tst-strtod-round-data: Likewise.
67464 * stdlib/tst-strtod-round.c: Likewise.
67465 * stdlib/Makefile (tests): Add tst-strtod-round.
67466
67467 [BZ #14459]
67468 * stdlib/strtod_l.c: Include <stdint.h>.
67469 (NDEBUG): Do not define.
67470 (round_and_return): Change EXPONENT parameter to type intmax_t.
67471 Rearrange calculations to avoid internal overflow possibilities.
67472 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
67473 Rearrange calculations to avoid internal overflow possibilities.
67474 Assert that number fits inside MPNSIZE limbs.
67475 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
67476 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
67477 calculations and add assertions to avoid internal overflow
67478 possibilities. Add casts to avoid signed/unsigned operations.
67479 * stdlib/tst-strtod-overflow.c: New file.
67480 * stdlib/Makefile (tests): Add tst-strtod-overflow.
67481
67482 2012-08-25 Marek Polacek <polacek@redhat.com>
67483
67484 * time/time.h: Fix some typos in comments.
67485
67486 2012-08-23 Roland McGrath <roland@hack.frob.com>
67487
67488 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
67489 * posix/tst-rfc3484-2.c: Likewise.
67490 * posix/tst-rfc3484-3.c: Likewise.
67491
67492 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
67493
67494 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
67495 (EF_ARM_ABI_FLOAT_HARD): Likewise.
67496
67497 2012-08-23 Joseph Myers <joseph@codesourcery.com>
67498
67499 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
67500 #include of fxstatat64.c.
67501
67502 2012-08-22 Roland McGrath <roland@hack.frob.com>
67503
67504 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
67505 * shadow/getspent_r.c: Likewise.
67506 * shadow/getspnam.c: Likewise.
67507 * shadow/getspnam_r.c: Likewise.
67508 * gshadow/getsgent.c: Likewise.
67509 * gshadow/getsgent_r.c: Likewise.
67510 * gshadow/getsgnam.c: Likewise.
67511 * gshadow/getsgnam_r.c: Likewise.
67512 * inet/getnetbyad.c: Likewise.
67513 * inet/getnetbyad_r.c: Likewise.
67514 * inet/getnetbynm.c: Likewise.
67515 * inet/getnetbynm_r.c: Likewise.
67516 * inet/getnetent.c: Likewise.
67517 * inet/getnetent_r.c: Likewise.
67518 * inet/getproto.c: Likewise.
67519 * inet/getproto_r.c: Likewise.
67520 * inet/getprtent.c: Likewise.
67521 * inet/getprtent_r.c: Likewise.
67522 * inet/getprtname.c: Likewise.
67523 * inet/getprtname_r.c: Likewise.
67524 * inet/getrpcbyname.c: Likewise.
67525 * inet/getrpcbyname_r.c: Likewise.
67526 * inet/getrpcbynumber.c: Likewise.
67527 * inet/getrpcbynumber_r.c: Likewise.
67528 * inet/getrpcent.c: Likewise.
67529 * inet/getrpcent_r.c: Likewise.
67530 * inet/getaliasent.c: Likewise.
67531 * inet/getaliasent_r.c: Likewise.
67532 * inet/getaliasname.c: Likewise.
67533 * inet/getaliasname_r.c: Likewise.
67534 * nscd/getgrgid_r.c: Likewise.
67535 * nscd/getgrnam_r.c: Likewise.
67536 * nscd/gethstbyad_r.c: Likewise.
67537 * nscd/gethstbynm3_r.c: Likewise.
67538 * nscd/getpwnam_r.c: Likewise.
67539 * nscd/getpwuid_r.c: Likewise.
67540 * nscd/getsrvbynm_r.c: Likewise.
67541 * nscd/getsrvbypt_r.c: Likewise.
67542 * nscd/gai.c: Likewise.
67543
67544 * configure.in (build_nscd): New substituted variable, set
67545 by --disable-build-nscd and defaults to $use_nscd.
67546 * configure: Regenerated.
67547 * config.make.in (build-nscd): New substituted variable.
67548 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
67549 Change conditional to require [$(build-nscd) = yes] as well.
67550 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
67551
67552 [BZ# 13696]
67553 * configure.in (use_nscd): New substituted variable, set by
67554 --disable-nscd. If enabled, define USE_NSCD.
67555 * configure: Regenerated.
67556 * config.h.in: Add USE_NSCD.
67557 * config.make.in (use-nscd): New substituted variable.
67558 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
67559 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
67560 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
67561 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
67562 (CFLAGS-getgrnam_r.c): Likewise.
67563 (CFLAGS-initgroups.c): Likewise.
67564 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
67565 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
67566 Variables removed.
67567 * inet/getnetgrent_r.c
67568 (nscd_setnetgrent): New function, broken out of ...
67569 (setnetgrent): ... here. Call it.
67570 (innetgr): Conditionalize nscd bits on [USE_NSCD].
67571 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
67572 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
67573 * nscd/Makefile (routines, aux): Move definitions after include of
67574 Makeconfig. Conditionalize on [$(use-nscd) != no].
67575 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
67576 Conditionalize on [USE_NSCD].
67577 (is_nscd, nscd_init_cb): Likewise.
67578 (nss_load_library): Conditionalize init callback on [USE_NSCD].
67579 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
67580 * nss/nss_db/db-init.c: Likewise.
67581 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
67582 [USE_NSCD].
67583 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
67584 (make_request): Use it.
67585 (cache_valid_p): New function.
67586 (__check_pf): Use it.
67587 * NEWS: Add item for --disable-nscd.
67588
67589 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
67590
67591 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
67592 to support sed >= 4.2.1-20-ga9bf076.
67593 * configure: Regenerated.
67594
67595 2012-08-22 Roland McGrath <roland@hack.frob.com>
67596
67597 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
67598 Conditionalize whole body on [IREL].
67599
67600 2012-08-22 Jeff Law <law@redhat.com>
67601
67602 [BZ #14505]
67603 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
67604 if the family is PF_UNSPEC.
67605
67606 2012-08-22 Mike Frysinger <vapier@gentoo.org>
67607
67608 * Makerules (lib-version): Rename from V.
67609 (install-lib-nosubdir): Change V to lib-version.
67610
67611 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
67612
67613 [BZ #14252]
67614 * powerpc32/power6/wcschr.c: New file.
67615 * powerpc32/power6/wcscpy.c: New file.
67616 * powerpc32/power6/wcsrchr.c: New file.
67617 * powerpc64/power6/wcschr.c: New file.
67618 * powerpc64/power6/wcscpy.c: New file.
67619 * powerpc64/power6/wcsrchr.c: New file.
67620
67621 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
67622
67623 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
67624 (two_way_short_needle): Use it.
67625 * string/strstr.c (AVAILABLE1_USES_J): Define.
67626 * string/strcasestr.c: Likewise.
67627
67628 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
67629 array references.
67630 * string/strcasestr.c (TOLOWER): Make side-effect safe.
67631
67632 [BZ #11607]
67633 * NEWS: Add an entry.
67634 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
67635 define their defaults.
67636 (two_way_short_needle): Detect end-of-string on-the-fly.
67637 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
67638 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
67639 * string/bug-strcasestr1.c: New test.
67640 * string/Makefile: Run it.
67641
67642 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
67643
67644 [BZ #11607]
67645 * string/str-two-way.h (two_way_short_needle): Optimize matching of
67646 the first character.
67647
67648 2012-08-21 Roland McGrath <roland@hack.frob.com>
67649
67650 * csu/elf-init.c (__libc_csu_irel): Function removed.
67651 * csu/libc-start.c (apply_irel): New function.
67652 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
67653
67654 2012-08-21 Joseph Myers <joseph@codesourcery.com>
67655
67656 * sysdeps/unix/sysv/linux/kernel-features.h
67657 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
67658 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
67659 <kernel-features.h>.
67660 [__NR_fadvise64_64]: Make code unconditional.
67661 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
67662 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67663 !__NR_fadvise64_64)]: Likewise.
67664 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67665 !__NR_fadvise64_64))]: Likewise.
67666 [__NR_fadvise64]: Make code unconditional.
67667 [!__NR_fadvise64]: Remove conditional code.
67668 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
67669 <kernel-features.h>.
67670 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67671 unconditional.
67672 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67673 conditional code.
67674 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
67675 not include <kernel-features.h>.
67676 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67677 unconditional.
67678 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67679 conditional code.
67680 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
67681 include <kernel-features.h>.
67682 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67683 unconditional.
67684 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67685 conditional code.
67686
67687 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
67688
67689 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
67690 slight instruction rearrangements per scrollpipe analysis.
67691 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
67692
67693 2012-08-20 Roland McGrath <roland@hack.frob.com>
67694
67695 * manual/syslog.texi (syslog; vsyslog, closelog):
67696 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
67697 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
67698
67699 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
67700 DSOCAPS to match condition on defining it.
67701
67702 2012-08-20 Joseph Myers <joseph@codesourcery.com>
67703
67704 * sysdeps/unix/sysv/linux/kernel-features.h
67705 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
67706 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
67707 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67708 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67709 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
67710 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67711 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67712 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
67713 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67714 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67715
67716 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
67717 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
67718
67719 * sysdeps/unix/sysv/linux/kernel-features.h
67720 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
67721 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
67722 unconditional.
67723 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67724 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
67725 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67726 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67727 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
67728 Make code unconditional.
67729 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67730 (__mmap64) [!__NR_mmap2]: Likewise.
67731 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
67732 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67733 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67734 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
67735 [__NR_mmap2]: Make code unconditional.
67736 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67737 (__mmap64) [!__NR_mmap2]: Likewise.
67738
67739 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67740
67741 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
67742
67743 2012-08-18 Andreas Jaeger <aj@suse.de>
67744
67745 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
67746
67747 2012-08-18 Mike Frysinger <vapier@gentoo.org>
67748
67749 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
67750 * include/unistd.h (__have_sock_cloexec): Likewise.
67751 (__have_pipe2): Likewise.
67752 (__have_dup3): Likewise.
67753
67754 2012-08-18 Mike Frysinger <vapier@gentoo.org>
67755
67756 [BZ #9685]
67757 * include/unistd.h (__have_pipe2): Change define into an extern int.
67758 (__have_dup3): Likewise.
67759 * socket/have_sock_cloexec.c: Include fcntl.h.
67760 (__have_pipe2): New variable.
67761 (__have_dup3): Likewise.
67762
67763 2012-08-17 Mike Frysinger <vapier@gentoo.org>
67764
67765 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
67766
67767 2012-08-17 Marek Polacek <polacek@redhat.com>
67768
67769 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
67770 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
67771
67772 2012-08-17 Roland McGrath <roland@hack.frob.com>
67773
67774 * configure.in: Add AC_SUBST for sysheaders.
67775 * configure: Regenerated.
67776 * config.make.in (sysheaders): New substituted variable.
67777
67778 * sysdeps/unix/mkfifo.c: Moved ...
67779 * sysdeps/posix/mkfifo.c: ... here.
67780 * sysdeps/unix/mkfifoat.c: Moved ...
67781 * sysdeps/posix/mkfifoat.c: ... here.
67782
67783 * sysdeps/unix/utime.c: Moved ...
67784 * sysdeps/posix/utime.c: ... here.
67785
67786 * sysdeps/unix/time.c: Moved ...
67787 * sysdeps/posix/time.c: ... here.
67788 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
67789 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
67790
67791 * sysdeps/unix/nice.c: Moved ...
67792 * sysdeps/posix/nice.c: ... here.
67793
67794 * sysdeps/unix/alarm.c: Moved ...
67795 * sysdeps/posix/alarm.c: ... here.
67796
67797 * intl/Makefile ($(codeset_mo)): Depend on the input file.
67798
67799 2012-08-17 Jeff Law <law@redhat.com>
67800
67801 * intl/Makefile (codeset_mo): New variable.
67802 ($(codeset_mo)): New target.
67803 (tst-codeset.out): Depend on that. Remove explicit rule.
67804 (tst-gettext3.out, tst-gettext5.out): Likewise.
67805 (LOCPATH-ENV, tst-codeset-ENV): New variables.
67806 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
67807 * intl/tst-codeset.sh: Remove.
67808 * intl/tst-gettext3.sh: Likewise.
67809 * intl/tst-gettext5.sh: Likewise.
67810
67811 2012-08-17 Roland McGrath <roland@hack.frob.com>
67812
67813 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
67814 * sysdeps/unix/syscalls.list: ... here.
67815
67816 * sysdeps/posix/getaddrinfo.c
67817 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
67818 (gaiconf_init, gaiconf_reload): Use them.
67819 [!_STATBUF_ST_NSEC]
67820 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
67821 Define using time_t rather than struct timespec.
67822
67823 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
67824 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
67825 Macros removed.
67826 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
67827 [!NO_THREADS].
67828 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
67829 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
67830 Likewise.
67831
67832 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
67833 __libc_cleanup_push argument.
67834
67835 * bits/param.h: New file.
67836 * misc/sys/param.h: New file.
67837 * include/sys/param.h: New file.
67838 * misc/Makefile (headers): Add bits/param.h.
67839 * sysdeps/generic/sys/param.h: File removed.
67840 * sysdeps/unix/sysv/linux/bits/param.h: New file.
67841 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
67842 * sysdeps/mach/hurd/bits/param.h: New file.
67843 * sysdeps/mach/hurd/sys/param.h: File removed.
67844
67845 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
67846 last change.
67847
67848 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
67849 [_IO_MTSAFE_IO].
67850 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
67851 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
67852 New macros.
67853
67854 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
67855 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
67856 rather than -D_IO_MTSAFE_IO conditionally.
67857 * stdio-common/Makefile (CPPFLAGS): Likewise.
67858 * wcsmbs/Makefile (CPPFLAGS): Likewise.
67859 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
67860 Use $(libio-mtsafe).
67861 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
67862 of -D_IO_MTSAFE_IO.
67863 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
67864 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
67865 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
67866 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
67867 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
67868 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
67869 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
67870 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
67871 (CFLAGS-fread_u_chk.c): Likewise.
67872 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
67873 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
67874 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
67875 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
67876 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
67877 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
67878 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
67879 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
67880 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
67881
67882 * libio/Makefile: Test [$(libc-reentrant) = yes]
67883 instead of [$(filter %REENTRANT, $(defines)) nonempty].
67884
67885 * Makeconfig
67886 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
67887 * sysdeps/pthread/configure: File removed.
67888 * sysdeps/pthread/Makeconfig: New file.
67889 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
67890 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
67891
67892 2012-08-16 Gary Benson <gbenson@redhat.com>
67893
67894 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
67895 unmapping the first object in a namespace.
67896
67897 2012-08-16 Roland McGrath <roland@hack.frob.com>
67898
67899 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
67900 (__internal_setnetgrent): ... this. Add internal_function to
67901 definition. Add libc_hidden_def.
67902 (setnetgrent): Update caller.
67903 (internal_endnetgrent): Renamed to ...
67904 (__internal_endnetgrent): ... this. Add internal_function to
67905 definition. Add libc_hidden_def.
67906 (endnetgrent): Update caller.
67907 (internal_getnetgrent_r): Renamed to ...
67908 (__internal_getnetgrent_r): ... this. Add internal_function to
67909 definition. Add libc_hidden_def.
67910 (__getnetgrent_r): Update caller.
67911 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
67912
67913 2012-08-16 Joseph Myers <joseph@codesourcery.com>
67914
67915 * stdlib/longlong.h: Update from GCC.
67916
67917 2012-08-16 Roland McGrath <roland@hack.frob.com>
67918
67919 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
67920 on _QL, which is set by umul_ppmm but never used.
67921 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
67922 variables, which are set by GMP macros but never used.
67923 * stdio-common/_itowa.c (_itowa): Likewise.
67924 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
67925 * stdlib/mod_1.c (mpn_mod_1): Likewise.
67926
67927 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
67928
67929 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
67930 struct La_sh_regs is not constant.
67931 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
67932 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
67933 and struct La_sparc64_regs are not constant.
67934
67935 2012-08-16 Joseph Myers <joseph@codesourcery.com>
67936
67937 * sysdeps/unix/sysv/linux/kernel-features.h
67938 (__ASSUME_POSIX_TIMERS): Remove.
67939 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
67940 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67941 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
67942 Make code unconditional.
67943 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67944 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
67945 Make code unconditional.
67946 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67947 * sysdeps/unix/sysv/linux/clock_nanosleep.c
67948 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
67949 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67950 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
67951 Make code unconditional.
67952 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67953 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
67954 (__libc_missing_posix_timers): Remove.
67955
67956 2012-08-15 Roland McGrath <roland@hack.frob.com>
67957
67958 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
67959 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
67960
67961 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
67962
67963 * elf/dl-sym.c: Include <stdlib.h>.
67964
67965 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
67966 constants, which avoids warnings in 32-bit builds.
67967
67968 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
67969 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
67970
67971 * misc/lseek.c: File moved to ...
67972 * io/lseek.c: ... here.
67973
67974 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
67975
67976 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
67977 shifting LEN more than 31 bits at once.
67978
67979 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67980
67981 [BZ #14195]
67982 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
67983 segmentation fault for a case of two empty input strings.
67984 * string/test-strncasecmp.c (check1): Renamed to...
67985 (bz12205): ...this.
67986 (bz14195): Add new testcase for two empty input strings and N > 0.
67987 (test_main): Call new testcase, adapt for renamed function.
67988
67989 2012-08-15 Andreas Jaeger <aj@suse.de>
67990
67991 [BZ #14090]
67992 * crypt/md5test2.c: New test, based on test supplied by Serge
67993 Belyshev <belyshev@depni.sinp.msu.ru>.
67994 * crypt/Makefile (xtests): Add md5test-giant..
67995 * crypt/Makefile ($(objpfx)md5test-giant): Add.
67996
67997 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
67998
67999 [BZ #14090]
68000 * crypt/md5.c (md5_process_block): Don't assume the buffer
68001 length is less than 2**32.
68002 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
68003 length is less than 2**64.
68004
68005 2012-08-15 Roland McGrath <roland@hack.frob.com>
68006
68007 * string/str-two-way.h: Include <sys/param.h>.
68008 (MAX): Macro removed.
68009
68010 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
68011 Move #define and #undef of memmove to just before and after
68012 including <string.h>.
68013
68014 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
68015 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
68016 and after including <string.h>. Move declarations of
68017 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
68018 to before #include "string/memmove.c".
68019
68020 * include/dirent.h: Declare __getdirentries.
68021
68022 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
68023 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
68024
68025 2012-08-14 Mike Frysinger <vapier@gentoo.org>
68026
68027 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
68028 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
68029 * sysdeps/i386/configure: Regenerated.
68030 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
68031 STABS_CURRENT_FILE, and STABS_FUN.
68032 (END): Remove call to STABS_FUN_END.
68033 (STABS_CURRENT_FILE1): Delete.
68034 (STABS_CURRENT_FILE): Likewise.
68035 (STABS_FUN): Likewise.
68036 (STABS_FUN_END): Likewise.
68037 (STABS_FUN2): Likewise.
68038 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
68039 * sysdeps/x86_64/configure: Regenerated.
68040
68041 2012-08-14 Roland McGrath <roland@hack.frob.com>
68042
68043 * elf/dl-open.c: Include <atomic.h>.
68044 * elf/dl-lookup.c: Likewise.
68045
68046 2012-08-14 Joseph Myers <joseph@codesourcery.com>
68047
68048 * sysdeps/unix/sysv/linux/kernel-features.h
68049 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
68050 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
68051 unconditionally.
68052 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
68053 unconditionally.
68054 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
68055 condition on __ASSUME_CLONE_THREAD_FLAGS.
68056
68057 2012-08-14 Andreas Jaeger <aj@suse.de>
68058
68059 * sysdeps/i386/fpu/libm-test-ulps: Update.
68060
68061 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
68062
68063 * include/atomic.h (atomic_exchange_and_add): Split into ...
68064 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
68065 New atomic macros.
68066
68067 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
68068
68069 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68070
68071 2012-08-13 Jeff Law <law@redhat.com>
68072
68073 * manual/stdio.texi (snprintf): Clarify handling of the trailing
68074 null byte in the output string.
68075
68076 2012-08-10 Joseph Myers <joseph@codesourcery.com>
68077
68078 * sysdeps/unix/sysv/linux/kernel-features.h
68079 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
68080 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
68081 (__ASSUME_ARG_MAX_STACK_BASED): Define.
68082 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
68083 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
68084 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
68085 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
68086
68087 2012-08-09 Jeff Law <law@redhat.com>
68088
68089 [BZ #13939]
68090 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
68091 When avoid_arena is set, don't retry in the that arena. Pick the
68092 next one, whatever it might be.
68093 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
68094 (arena_lock): Pass in new parameter to arena_get2.
68095 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
68096 arena_get2.
68097 (__libc_malloc): Unify retrying after main arena failure with
68098 __libc_memalign version.
68099 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
68100
68101 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
68102
68103 [BZ #14166]
68104 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
68105 to __redirect_strstr.
68106 (__strstr_sse42): Use typeof __redirect_strstr.
68107 (__strstr_ia32): Likewise.
68108 (__libc_strstr): New prototype.
68109 (strstr): Renamed to ...
68110 (__libc_strstr): This.
68111 (strstr): New strong alias of __libc_strstr.
68112 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
68113 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
68114 __redirect_time.
68115 Include <time.h>.
68116 (__libc_time): New prototype.
68117 (time_ifunc): Replace time with __libc_time.
68118 (time): New strong alias and hidden definition of __libc_time.
68119 (__GI_time): Remove strong alias.
68120 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
68121 Include <stddef.h>.
68122 (memmove): Redefined to __redirect_memmove.
68123 (__memmove_sse2): Use typeof __redirect_memmove.
68124 (__memmove_ssse3): Likewise.
68125 (__memmove_ssse3_back): Likewise.
68126 (__libc_memmove): New prototype.
68127 (memmove): Renamed to ...
68128 (__libc_memmove): This.
68129 (memmove): New strong alias of __libc_memmove.
68130
68131 2012-08-08 Mark Salter <msalter@redhat.com>
68132
68133 * elf/elf.h
68134 (R_MN10300_TLS_GD): Define.
68135 (R_MN10300_TLS_LD): Likewise.
68136 (R_MN10300_TLS_LDO): Likewise.
68137 (R_MN10300_TLS_GOTIE): Likewise.
68138 (R_MN10300_TLS_IE): Likewise.
68139 (R_MN10300_TLS_LE): Likewise.
68140 (R_MN10300_TLS_DTPMOD): Likewise.
68141 (R_MN10300_TLS_DTPOFF): Likewise.
68142 (R_MN10300_TLS_TPOFF): Likewise.
68143 (R_MN10300_SYM_DIFF): Likewise.
68144 (R_MN10300_ALIGN): Likewise.
68145 (R_MN10300_NUM): Update.
68146
68147 2012-08-08 Joseph Myers <joseph@codesourcery.com>
68148
68149 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
68150 Remove.
68151
68152 2012-08-08 Roland McGrath <roland@hack.frob.com>
68153
68154 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
68155
68156 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
68157 sysdeps/unix -> sysdeps/posix move.
68158 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
68159
68160 2012-08-07 Allan McRae <allan@archlinux.org>
68161
68162 [BZ #14303]
68163 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
68164 (SUNOS_CPP): Likewise.
68165 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
68166 not found.
68167 (open_input): Call CPP using execvp.
68168
68169 2012-08-07 Joseph Myers <joseph@codesourcery.com>
68170
68171 * sysdeps/unix/sysv/linux/kernel-features.h
68172 (__ASSUME_PROT_GROWSUPDOWN): Remove.
68173 (__ASSUME_NO_CLONE_DETACHED): Likewise.
68174 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
68175 (__ASSUME_WAITID_SYSCALL): Likewise.
68176 * sysdeps/unix/sysv/linux/dl-execstack.c
68177 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
68178 code unconditional.
68179 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
68180 conditional code.
68181 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
68182 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
68183 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
68184 code.
68185 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
68186 unconditional.
68187 [__ASSUME_WAITID_SYSCALL]: Likewise.
68188 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
68189
68190 2012-08-07 Roland McGrath <roland@hack.frob.com>
68191
68192 * sysdeps/unix/closedir.c: Renamed to ...
68193 * sysdeps/posix/closedir.c: ... here.
68194 * sysdeps/unix/dirfd.c: Renamed to ...
68195 * sysdeps/posix/dirfd.c: ... here.
68196 * sysdeps/unix/dirstream.h: Renamed to ...
68197 * sysdeps/posix/dirstream.h: ... here.
68198 * sysdeps/unix/fdopendir.c: Renamed to ...
68199 * sysdeps/posix/fdopendir.c: ... here.
68200 * sysdeps/unix/opendir.c: Renamed to ...
68201 * sysdeps/posix/opendir.c: ... here.
68202 * sysdeps/unix/readdir.c: Renamed to ...
68203 * sysdeps/posix/readdir.c: ... here.
68204 * sysdeps/unix/readdir_r.c: Renamed to ...
68205 * sysdeps/posix/readdir_r.c: ... here.
68206 * sysdeps/unix/rewinddir.c: Renamed to ...
68207 * sysdeps/posix/rewinddir.c: ... here.
68208 * sysdeps/unix/seekdir.c: Renamed to ...
68209 * sysdeps/posix/seekdir.c: ... here.
68210 * sysdeps/unix/telldir.c: Renamed to ...
68211 * sysdeps/posix/telldir.c: ... here.
68212 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
68213 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
68214 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
68215 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
68216
68217 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
68218 * bits/fcntl.h: ... here.
68219
68220 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
68221 not 0.
68222 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
68223 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
68224 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
68225 (struct flock): Move l_start, l_len to the beginning.
68226 Use __pid_t for l_pid.
68227 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
68228 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
68229 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
68230 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
68231 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
68232 [__USE_LARGEFILE64] (struct flock64): New type.
68233 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
68234
68235 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
68236 * bits/dirent.h: ... here.
68237
68238 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
68239 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
68240
68241 2012-08-07 Joseph Myers <joseph@codesourcery.com>
68242
68243 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68244 Change from 2.6.0 to 2.6.16.
68245 * sysdeps/unix/sysv/linux/configure: Regenerated.
68246 * sysdeps/unix/sysv/linux/kernel-features.h
68247 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
68248 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
68249 version.
68250 (__ASSUME_UTIMES): Likewise.
68251 (__ASSUME_CLONE_STOPPED): Remove.
68252 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
68253 architectures, not kernel version.
68254 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
68255 (__ASSUME_NO_CLONE_DETACHED): Likewise.
68256 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
68257 (__ASSUME_WAITID_SYSCALL): Likewise.
68258 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
68259 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
68260 * README: State 2.6.16 as minimum Linux kernel version. Do not
68261 refer to older versions.
68262
68263 2012-08-06 Roland McGrath <roland@hack.frob.com>
68264
68265 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
68266 Define alphasort64 as an alias.
68267 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
68268 Define versionsort64 as an alias.
68269 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
68270 Define scandir64 as an alias.
68271 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
68272 Define scandirat64 as an alias.
68273 * dirent/alphasort64.c (alphasort64):
68274 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
68275 * dirent/versionsort64.c: Likewise.
68276 * dirent/scandir64.c: Likewise.
68277 * dirent/scandirat64.c: Likewise.
68278 * sysdeps/wordsize-64/alphasort.c: File removed.
68279 * sysdeps/wordsize-64/alphasort64.c: File removed.
68280 * sysdeps/wordsize-64/scandir.c: File removed.
68281 * sysdeps/wordsize-64/scandir64.c: File removed.
68282 * sysdeps/wordsize-64/scandirat.c: File removed.
68283 * sysdeps/wordsize-64/scandirat64.c: File removed.
68284 * sysdeps/wordsize-64/versionsort.c: File removed.
68285 * sysdeps/wordsize-64/versionsort64.c: File removed.
68286 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
68287 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
68288 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
68289 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
68290 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
68291 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
68292 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
68293 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
68294
68295 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
68296 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
68297 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
68298 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68299 [defined __arch64__ || defined __sparcv9]
68300 (__INO_T_MATCHES_INO64_T): New macro.
68301 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68302 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
68303 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
68304 * sysdeps/unix/sysv/linux/bits/dirent.h
68305 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
68306 (_DIRENT_MATCHES_DIRENT64): New macro.
68307
68308 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
68309 Define lockf64 as an alias.
68310 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
68311 Define fseeko64 as an alias.
68312 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
68313 Define ftello64 as an alias.
68314 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
68315 Define _IO_fgetpos64 and fgetpos64 as aliases.
68316 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
68317 Define _IO_fsetpos64 and fsetpos64 as aliases.
68318 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
68319 Conditionalize body on this.
68320 * libio/fseeko64.c: Likewise.
68321 * libio/ftello64.c: Likewise.
68322 * libio/iofgetpos64.c: Likewise.
68323 * libio/iofsetpos64.c: Likewise.
68324 * sysdeps/wordsize-64/lockf.c: File removed.
68325 * sysdeps/wordsize-64/lockf64.c: File removed.
68326 * sysdeps/wordsize-64/fseeko.c: File removed.
68327 * sysdeps/wordsize-64/fseeko64.c: File removed.
68328 * sysdeps/wordsize-64/ftello.c: File removed.
68329 * sysdeps/wordsize-64/ftello64.c: File removed.
68330 * sysdeps/wordsize-64/iofgetpos.c: File removed.
68331 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
68332 * sysdeps/wordsize-64/iofsetpos.c: File removed.
68333 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
68334 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
68335 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
68336 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
68337 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
68338 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
68339 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
68340 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
68341 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
68342 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
68343 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
68344
68345 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
68346 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
68347 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
68348 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68349 [defined __arch64__ || defined __sparcv9]
68350 (__OFF_T_MATCHES_OFF64_T): New macro.
68351 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68352 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
68353 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68354 (__OFF_T_MATCHES_OFF64_T): New macro.
68355
68356 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
68357
68358 * stdlib/secure-getenv.c (__secure_getenv): Replace
68359 GLIBC_2_16 with GLIBC_2_17.
68360
68361 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
68362
68363 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
68364 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
68365
68366 2012-08-03 David S. Miller <davem@davemloft.net>
68367
68368 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68369
68370 2012-08-03 Joseph Myers <joseph@codesourcery.com>
68371
68372 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
68373 Remove.
68374 (__ASSUME_CORRECT_SI_PID): Likewise.
68375 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
68376 (__ASSUME_TMPFS_NAME): Likewise.
68377 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
68378 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
68379 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
68380 (HAVE_AUX_SECURE): Make definition unconditional.
68381 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
68382 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
68383
68384 2012-08-03 Roland McGrath <roland@hack.frob.com>
68385
68386 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
68387 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
68388 * sysdeps/mach/hurd/eloop-threshold.h: New file.
68389 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
68390 __eloop_threshold instead of SYMLOOP_MAX.
68391
68392 * sysdeps/generic/eloop-threshold.h: New file.
68393 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
68394 of MAXSYMLINKS.
68395 * elf/chroot_canon.c (chroot_canon): Likewise.
68396
68397 2012-08-03 Joseph Myers <joseph@codesourcery.com>
68398
68399 [BZ #13717]
68400 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68401 Change to 2.6.0 everywhere.
68402 * sysdeps/unix/sysv/linux/configure: Regenerated.
68403 * sysdeps/unix/sysv/linux/kernel-features.h
68404 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
68405 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
68406 kernel versions.
68407 (__ASSUME_POSIX_TIMERS): Define unconditionally.
68408 (__ASSUME_FUTEX_REQUEUE): Remove.
68409 (__ASSUME_STATFS64): Define unconditionally.
68410 (__ASSUME_AT_SECURE): Likewise.
68411 (__ASSUME_CORRECT_SI_PID): Likewise.
68412 (__ASSUME_TGKILL): Define without depending on kernel version for
68413 i386.
68414 (__ASSUME_UTIMES): Likewise.
68415 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
68416 kernel version.
68417 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
68418 (__ASSUME_TMPFS_NAME): Likewise.
68419 * README: Update reference to Linux kernel versions.
68420
68421 2012-08-02 Marek Polacek <polacek@redhat.com>
68422
68423 [BZ# 14150]
68424 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
68425 libc_cv_asm_type_prefix with %.
68426 * configure: Regenerated.
68427 * include/libc-symbols.h: Remove comment about
68428 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
68429 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
68430 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
68431 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
68432 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
68433 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
68434 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
68435 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
68436 * elf/tst-unique2mod1.c: Likewise.
68437 * elf/tst-unique1mod2.c: Likewise.
68438 * elf/tst-unique1mod1.c: Likewise.
68439 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
68440 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
68441 Replace ASM_TYPE_DIRECTIVE with .type.
68442 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68443 * sysdeps/i386/sysdep.h: Likewise.
68444 * sysdeps/x86_64/sysdep.h: Likewise.
68445 * sysdeps/sh/sysdep.h: Likewise.
68446 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
68447 Do not define ASM_TYPE_DIRECTIVE.
68448 * sysdeps/powerpc/sysdep.h: Likewise.
68449 * sysdeps/powerpc/powerpc32/sysdep.h:
68450 Replace ASM_TYPE_DIRECTIVE with .type.
68451 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68452 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68453 * sysdeps/i386/fpu/e_powf.S: Likewise.
68454 * sysdeps/i386/fpu/e_expl.S: Likewise.
68455 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68456 * sysdeps/i386/fpu/e_acosh.S: Likewise.
68457 * sysdeps/i386/fpu/e_pow.S: Likewise.
68458 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
68459 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68460 * sysdeps/i386/fpu/s_expm1.S: Likewise.
68461 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
68462 * sysdeps/i386/fpu/e_log2.S: Likewise.
68463 * sysdeps/i386/fpu/e_log2l.S: Likewise.
68464 * sysdeps/i386/fpu/e_scalb.S: Likewise.
68465 * sysdeps/i386/fpu/e_powl.S: Likewise.
68466 * sysdeps/i386/fpu/e_log10f.S: Likewise.
68467 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
68468 * sysdeps/i386/fpu/e_logl.S: Likewise.
68469 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
68470 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
68471 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
68472 * sysdeps/i386/fpu/e_log2f.S: Likewise.
68473 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68474 * sysdeps/i386/fpu/e_log.S: Likewise.
68475 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68476 * sysdeps/i386/fpu/e_logf.S: Likewise.
68477 * sysdeps/i386/fpu/e_log10l.S: Likewise.
68478 * sysdeps/i386/fpu/e_atanh.S: Likewise.
68479 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
68480 * sysdeps/i386/fpu/e_log10.S: Likewise.
68481 * sysdeps/i386/fpu/s_frexp.S: Likewise.
68482 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68483 * sysdeps/i386/fpu/s_asinh.S: Likewise.
68484 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
68485 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68486 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
68487 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68488 * sysdeps/i386/i686/strtok.S: Likewise.
68489 * sysdeps/i386/i386-mcount.S: Likewise.
68490 * sysdeps/i386/strtok.S: Likewise.
68491 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
68492 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68493 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68494 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68495 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68496 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68497 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68498 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68499 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68500 * sysdeps/x86_64/_mcount.S: Likewise.
68501 * sysdeps/x86_64/strtok.S: Likewise.
68502 * sysdeps/sh/_mcount.S: Likewise.
68503
68504 2012-08-01 Roland McGrath <roland@hack.frob.com>
68505
68506 * libio/iofopen.c: Include <fcntl.h>.
68507 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
68508 (_IO_fopen64, fopen64): Define as aliases.
68509 * libio/iofopen64.c: Include <fcntl.h>.
68510 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
68511 Conditionalize body on this.
68512 * sysdeps/wordsize-64/iofopen.c: File removed.
68513 * sysdeps/wordsize-64/iofopen64.c: File removed.
68514
68515 2012-08-01 Marek Polacek <polacek@redhat.com>
68516
68517 * libc/Makeconfig: Use elf in place of binfmt-subdir.
68518 Use dlfcn directly instead of a variable.
68519 (binfmt-subdir): Do not define.
68520 (dlfcn): Likewise.
68521
68522 2012-08-01 Joseph Myers <joseph@codesourcery.com>
68523
68524 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
68525 Remove all definitions.
68526 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
68527 <kernel-features.h>.
68528 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68529 (miss_F_GETOWN_EX): Remove all definitions.
68530 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
68531 macro definition.
68532 [!__ASSUME_FCNTL64]: Remove conditional code.
68533 [__ASSUME_FCNTL64]: Make code unconditional.
68534 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
68535 <kernel-features.h>.
68536 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68537 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
68538 (lockf64) [__NR_fcntl64]: Make code unconditional.
68539 (lockf64) [__ASSUME_FCNTL64]: Likewise.
68540
68541 * sysdeps/unix/sysv/linux/kernel-features.h
68542 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
68543 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
68544 Make code unconditional.
68545 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68546 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68547 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
68548 [__NR_vfork]: Make code unconditional.
68549 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68550 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68551 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
68552 [__NR_vfork]: Make code unconditional.
68553 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68554 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68555
68556 2012-08-01 Roland McGrath <roland@hack.frob.com>
68557
68558 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
68559 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
68560
68561 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68562 Define mkstemp64 as an alias.
68563 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68564 Define mkstemps64 as an alias.
68565 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68566 Define mkostemp64 as an alias.
68567 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68568 Define mkostemps64 as an alias.
68569 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
68570 Conditionalize body on this.
68571 * misc/mkostemp64.c: Likewise.
68572 * misc/mkostemps64.c: Likewise.
68573 * misc/mkstemps64.c: Likewise.
68574 * sysdeps/wordsize-64/mkstemp64.c: File removed.
68575 * sysdeps/wordsize-64/mkostemp64.c: File removed.
68576 * sysdeps/wordsize-64/mkostemp.c: File removed.
68577 * sysdeps/wordsize-64/mkstemp.c: File removed.
68578 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
68579 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
68580 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
68581 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
68582
68583 [BZ #14138]
68584 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
68585 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
68586 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
68587 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
68588
68589 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
68590 compat_symbol macros from <shlib-compat.h> rather than the underlying
68591 default_symbol_version and symbol_version macros, so that DEFAULT
68592 lines in shlib-versions are respected.
68593 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
68594
68595 2012-08-01 Florian Weimer <fweimer@redhat.com>
68596
68597 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
68598 Declare with warn_unused_result.
68599 (setgid, setregid, setegid, setresgid): Likewise.
68600 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
68601 Likewise.
68602 * WUR-REPORT: Remove set*id functions.
68603
68604 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
68605
68606 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
68607
68608 2012-07-31 Roland McGrath <roland@hack.frob.com>
68609
68610 [BZ #10191]
68611 * include/sys/socket.h (__libc_accept, __libc_accept4):
68612 Add attribute_hidden.
68613 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
68614
68615 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
68616 use of PTR_MANGLE.
68617 * inet/getnetgrent_r.c (setup): Likewise.
68618
68619 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
68620
68621 2012-07-31 David S. Miller <davem@davemloft.net>
68622
68623 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68624
68625 2012-07-31 Joseph Myers <joseph@codesourcery.com>
68626
68627 [BZ #13629]
68628 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
68629 value between 1.0 and 2.0 and smaller part has absolute value less
68630 than 1.0.
68631 * math/s_clog10.c (__clog10): Likewise.
68632 * math/s_clog10f.c (__clog10f): Likewise.
68633 * math/s_clog10l.c (__clog10l): Likewise.
68634 * math/s_clogf.c (__clogf): Likewise.
68635 * math/s_clogl.c (__clogl): Likewise.
68636 * math/libm-test.inc (clog_test): Add more tests.
68637 (clog10_test): Likewise.
68638 * sysdeps/i386/fpu/libm-test-ulps: Update.
68639 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68640
68641 2012-07-31 Florian Weimer <fweimer@redhat.com>
68642
68643 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
68644 Exit with zero in case no suitable GID is found, and write a
68645 message to standard error.
68646
68647 2012-07-30 Roland McGrath <roland@hack.frob.com>
68648
68649 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
68650 rather than to 1.
68651 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
68652 (MAXPATHLEN): Removed.
68653 (NOGROUP, NODEV): New macros.
68654 (setbit, clrbit, isset, isclr): New macros.
68655 (howmany, roundup, powerof2): New macros.
68656 (DEV_BSIZE): New macro.
68657
68658 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
68659 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
68660
68661 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
68662 definition on [!__NO_LONG_DOUBLE_MATH].
68663
68664 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
68665 PTR_MANGLE and PTR_DEMANGLE.
68666
68667 * socket/accept4.c (accept4): Rename to __libc_accept4.
68668 Define accept4 as a weak alias.
68669
68670 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
68671 on [_DIRENT_HAVE_D_TYPE].
68672 * io/ftw.c (ftw_dir): Likewise.
68673
68674 * io/xmknod.c (__xmknod): Don't check PATH for being null.
68675
68676 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
68677
68678 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
68679 Use the BSD numbers rather than the arbitrary ones we had.
68680 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
68681 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
68682 (SIGXCPU, SIGXFSZ): New macros.
68683 (_NSIG): Now 32.
68684
68685 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
68686 initializer on [_LIBC_REENTRANT].
68687
68688 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
68689 definitions inside [_POSIX_MAPPED_FILES].
68690
68691 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
68692
68693 * dirent/opendir.c: Include <fcntl.h>.
68694
68695 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
68696 (__libc_getspecific): Likewise.
68697 (__libc_key_create): Likewise.
68698
68699 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
68700 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
68701 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
68702 (tmpfile64): Define as alias.
68703 * sysdeps/wordsize-64/tmpfile.c: File removed.
68704 * sysdeps/wordsize-64/tmpfile64.c: File removed.
68705 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
68706 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
68707
68708 * stdio-common/vfscanf.c: Include <stdbool.h>.
68709 * nss/makedb.c: Likewise.
68710 * stdio-common/_i18n_number.h: Likewise.
68711 * argp/argp-help.c: Likewise.
68712 * posix/wordexp.c: Likewise.
68713 * sysdeps/posix/spawni.c: Likewise.
68714 * nss/nss_files/files-initgroups.c: Likewise.
68715 * stdio-common/reg-modifier.c: Include <stdlib.h>.
68716 * nss/nss_files/files-initgroups.c: Likewise.
68717 * nss/nss_db/db-netgrp.c: Likewise.
68718 * nss/nss_db/db-initgroups.c: Likewise.
68719 * io/fchmodat.c: Include <sys/stat.h>.
68720
68721 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
68722 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
68723
68724 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
68725 [HAVE_MMAP].
68726
68727 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
68728 Add multiple inclusion protection.
68729
68730 2012-07-27 David S. Miller <davem@davemloft.net>
68731
68732 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68733
68734 2012-07-27 Gary Benson <gbenson@redhat.com>
68735
68736 [BZ #14298]
68737 * elf/rtld.c: Include <stap-probe.h>.
68738 (dl_main): Added static probes "init_start" and "init_complete".
68739 * elf/dl-load.c: Include <stap-probe.h>.
68740 (lose): Take new parameter "nsid".
68741 Added static probe "map_failed".
68742 (_dl_map_object_from_fd): Pass namespace id to lose.
68743 Added static probe "map_start".
68744 (open_verify): Pass namespace id to lose.
68745 * elf/dl-open.c: Include <stap-probe.h>.
68746 (dl_open_worker) Added static probes "map_complete", "reloc_start"
68747 and "reloc_complete".
68748 * elf/dl-close.c: Include <stap-probe.h>.
68749 (_dl_close_worker): Added static probes "unmap_start" and
68750 "unmap_complete".
68751 * elf/rtld-debugger-interface.txt: New file documenting the above.
68752
68753 2012-07-26 Roland McGrath <roland@hack.frob.com>
68754
68755 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
68756 rather than a string variable.
68757 * sunrpc/rpc_main.c (h_output): Likewise.
68758 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
68759
68760 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
68761
68762 * inet/check_native.c: New file.
68763
68764 2012-07-26 Joseph Myers <joseph@codesourcery.com>
68765
68766 [BZ #13629]
68767 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
68768 if larger part has absolute value 1.0.
68769 * math/s_clog10.c (__clog10): Likewise.
68770 * math/s_clog10f.c (__clog10f): Likewise.
68771 * math/s_clog10l.c (__clog10l): Likewise.
68772 * math/s_clogf.c (__clogf): Likewise.
68773 * math/s_clogl.c (__clogl): Likewise.
68774 * math/libm-test.inc (clog_test): Add more tests.
68775 (clog10_test): Likewise.
68776 * sysdeps/i386/fpu/libm-test-ulps: Update.
68777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68778
68779 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
68780 (pltexit): Likewise.
68781 (La_regs): Likewise.
68782 (La_retval): Likewise.
68783 (int_retval): Likewise.
68784 Update #error for removed macros to refer only to definitions in
68785 tst-audit.h.
68786 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
68787 macro.
68788 (pltexit): Likewise.
68789 (La_regs): Likewise.
68790 (La_retval): Likewise.
68791 (int_retval): Likewise.
68792 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
68793 macro.
68794 (pltexit): Likewise.
68795 (La_regs): Likewise.
68796 (La_retval): Likewise.
68797 (int_retval): Likewise.
68798 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
68799 macro.
68800 (pltexit): Likewise.
68801 (La_regs): Likewise.
68802 (La_retval): Likewise.
68803 (int_retval): Likewise.
68804 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
68805 macro.
68806 (pltexit): Likewise.
68807 (La_regs): Likewise.
68808 (La_retval): Likewise.
68809 (int_retval): Likewise.
68810 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
68811 macro.
68812 (pltexit): Likewise.
68813 (La_regs): Likewise.
68814 (La_retval): Likewise.
68815 (int_retval): Likewise.
68816 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
68817 macro.
68818 (pltexit): Likewise.
68819 (La_regs): Likewise.
68820 (La_retval): Likewise.
68821 (int_retval): Likewise.
68822 * sysdeps/generic/tst-audit.h: Update comment to refer only to
68823 macro definitions in tst-audit.h.
68824 * sysdeps/i386/tst-audit.h: New file.
68825 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
68826 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
68827 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
68828 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
68829 * sysdeps/sh/tst-audit.h: Likewise.
68830 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
68831 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
68832 * sysdeps/x86_64/tst-audit.h: Likewise.
68833
68834 2012-07-26 Andreas Jaeger <aj@suse.de>
68835
68836 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
68837 ptrace.
68838
68839 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
68840 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
68841 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
68842 PTRACE_O_MASK.
68843 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
68844 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
68845 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
68846
68847 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
68848 value.
68849
68850 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
68851 _sigsys.
68852 (si_call_addr, si_syscall, si_arch): Define new macro.
68853 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
68854 _sigsys.
68855 (si_call_addr, si_syscall, si_arch): Define new marcro.
68856 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
68857 _sigsys.
68858 (si_call_addr, si_syscall, si_arch): Define new macro.
68859 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
68860 _sigsys.
68861 (si_call_addr, si_syscall, si_arch): Define new macro.
68862
68863 2012-07-25 Joseph Myers <joseph@codesourcery.com>
68864
68865 [BZ #13717]
68866 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68867 Change to 2.4.21 where previously 2.4.1.
68868 * sysdeps/unix/sysv/linux/configure: Regenerated.
68869 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
68870 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
68871 Linux kernel version.
68872 (__ASSUME_STD_AUXV): Remove.
68873 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
68874 kernel version.
68875 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
68876 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
68877 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
68878 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
68879 (__ASSUME_NETLINK_SUPPORT): Likewise.
68880 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
68881 (__no_netlink_support): Remove conditional definition.
68882 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
68883 Remove.
68884 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68885 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
68886 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
68887 (if_nameindex_ioctl): Remove.
68888 (if_nameindex_netlink): Do not handle __no_netlink_support.
68889 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68890 code.
68891 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
68892 Remove conditional code.
68893 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68894 code.
68895 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
68896 unconditional.
68897 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68898 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
68899 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
68900 Remove.
68901 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
68902 [!__ASSUME_STD_AUXV]: Remove conditional code.
68903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
68904 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
68905 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
68906 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
68907 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
68908 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68909 code.
68910 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68911 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
68912 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
68913 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68914 conditional code.
68915 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68916 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
68917 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68918 code.
68919 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
68920 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68921 conditional code.
68922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
68923 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68924 code unconditional.
68925 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68926 conditional code.
68927 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68928 unconditional.
68929 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68930 conditional code.
68931 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
68932 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68933 unconditional.
68934 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68935 conditional code.
68936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
68937 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68938 code unconditional.
68939 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68940 conditional code.
68941 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68942 unconditional.
68943 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68944 conditional code.
68945 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
68946 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68947 code unconditional.
68948 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68949 conditional code.
68950 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68951 unconditional.
68952 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68953 conditional code.
68954
68955 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
68956
68957 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
68958 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
68959 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
68960 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
68961 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
68962 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
68963 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
68964 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
68965 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
68966 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
68967 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
68968 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
68969 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
68970 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
68971 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
68972 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
68973 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
68974 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
68975 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
68976 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
68977 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
68978 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
68979 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
68980
68981 2012-07-25 Florian Weimer <fweimer@redhat.com>
68982
68983 * Versions.def: Add GLIBC_2.17.
68984 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
68985 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
68986 Introduce __libc_secure_getenv.
68987 * stdlib/Versions (2.17): Add secure_getenv
68988 (GLIBC_PRIVATE): Add __libc_secure_getenv.
68989 * stdlib/secure-getenv.c: Rename __secure_getenv to
68990 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
68991 symbol __secure_getenv for GLIBC_2.0.
68992 * stdlib/tst-secure-getenv.c: New.
68993 * stdlib/Makefile (tests): Add testcase.
68994 * manual/startup.texi (Environment Access): Document
68995 secure_getenv.
68996 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
68997 __libc_secure_getenv.
68998 * inet/ruserpass.c (ruserpass): Likewise.
68999 * malloc/mtrace.c (mtrace): Likewise.
69000 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
69001 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
69002 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
69003 * sysdeps/posix/tempname.c: Likewise. Evaluate
69004 HAVE_SECURE_GETENV.
69005 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
69006 __secure_getenv to __libc_secure_getenv.
69007 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
69008 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69009 Likewise.
69010 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69011 Likewise.
69012 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
69013 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
69014 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69015 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
69016 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
69017 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
69019
69020 2012-07-25 Joseph Myers <joseph@codesourcery.com>
69021
69022 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
69023 (struct La_i86_retval): Likewise.
69024 (struct La_x86_64_regs): Likewise.
69025 (struct La_x86_64_retval): Likewise.
69026 (struct La_x32_regs): Likewise.
69027 (struct La_x32_retval): Likewise.
69028 (struct La_ppc32_regs): Likewise.
69029 (struct La_ppc32_retval): Likewise.
69030 (struct La_ppc64_regs): Likewise.
69031 (struct La_ppc64_retval): Likewise.
69032 (struct La_sh_regs): Likewise.
69033 (struct La_sh_retval): Likewise.
69034 (struct La_s390_32_regs): Likewise.
69035 (struct La_s390_32_retval): Likewise.
69036 (struct La_s390_64_regs): Likewise.
69037 (struct La_s390_64_retval): Likewise.
69038 (struct La_sparc32_regs): Likewise.
69039 (struct La_sparc32_retval): Likewise.
69040 (struct La_sparc64_regs): Likewise.
69041 (struct La_sparc64_retval): Likewise.
69042 (struct audit_ifaces): Remove architecture-specific pltenter and
69043 pltexit members.
69044 * sysdeps/i386/ldsodefs.h: New file.
69045 * sysdeps/powerpc/ldsodefs.h: Likewise.
69046 * sysdeps/s390/ldsodefs.h: Likewise.
69047 * sysdeps/sh/ldsodefs.h: Likewise.
69048 * sysdeps/sparc/ldsodefs.h: Likewise.
69049 * sysdeps/x86_64/ldsodefs.h: Likewise.
69050
69051 2012-07-25 Marek Polacek <polacek@redhat.com>
69052
69053 [BZ #6808]
69054 * math/libm-test.inc (yn_test): Add another test.
69055 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
69056 to ERANGE when the result is +-Inf.
69057 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
69058 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
69059 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
69060 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
69061
69062 2012-07-24 Joseph Myers <joseph@codesourcery.com>
69063
69064 * conform/data/time.h-data (NULL): Use macro-constant. Require
69065 equal to 0.
69066 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
69067 clock_t.
69068 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
69069
69070 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
69071
69072 * configure.in <sysdeps resolving>: Correct printing
69073 Implies_before.
69074 * configure: Regenerate.
69075
69076 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
69077
69078 * math/w_ilogb.c: Include <limits.h>.
69079 * math/w_ilogbl.c: Likewise.
69080
69081 2012-07-20 Joseph Myers <joseph@codesourcery.com>
69082
69083 * manual/lang.texi (__va_copy): Document primarily as ISO C99
69084 va_copy. Document allowing for unavailable va_copy only as
69085 pre-C99 compatibility.
69086 * manual/string.texi (Copying and Concatenation): Use va_copy
69087 instead of __va_copy in concat example.
69088
69089 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
69090
69091 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
69092 (__sendto): Use create_address_port. Initialize APORT and deallocate
69093 it if not null.
69094
69095 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
69096 with O_NOLINK passed to __file_name_lookup.
69097
69098 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
69099 with O_NOLINK passed to __file_name_lookup.
69100
69101 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
69102 negative N or less than NGIDS.
69103
69104 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
69105 type to string_t. Set ERANGE as errno and return it if NAME is not big
69106 enough. Use memcpy instead of strncpy.
69107
69108 2012-07-20 Joseph Myers <joseph@codesourcery.com>
69109
69110 * elf/Makefile (check-data): Remove.
69111 (localplt.data): New vpath directive.
69112 ($(objpfx)check-localplt.out): Use localplt.data from vpath
69113 instead of $(check-data).
69114 * scripts/data/localplt-generic.data: Move to ...
69115 * sysdeps/generic/localplt.data: ... here.
69116 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
69117 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
69118 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
69119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
69120 ... here.
69121 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
69122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
69123 ... here.
69124 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
69125 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
69126 ... here.
69127 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
69128 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
69129 ... here.
69130 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
69131 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
69132 ... here.
69133 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
69134 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
69135 ... here.
69136
69137 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69138
69139 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
69140 PPC32 and PPC64 files.
69141 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
69142 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
69143
69144 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69145
69146 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
69147 __makecontext_ret to ...
69148 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
69149 ... here and call exit if uc_link is NULL. New file.
69150 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
69151 __makecontext_ret.S.
69152 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
69153 __makecontext_ret to ...
69154 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
69155 ... here and call exit if uc_link is NULL. New file.
69156 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
69157 __makecontext_ret.S.
69158
69159 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69160
69161 * elf/elf.h (R_390_IRELATIVE): New definition.
69162 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
69163 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
69164 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
69165 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
69166 (elf_machine_lazy_rel): Likewise.
69167 * sysdeps/s390/dl-irel.h: New file.
69168 * sysdeps/s390/s390-64/memcpy.S: New asm code.
69169 * sysdeps/s390/s390-64/memset.S: New asm code.
69170 * sysdeps/s390/s390-64/memcmp.S: New asm code.
69171 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
69172 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
69173 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
69174 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
69175 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
69176 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
69177 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
69178 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
69179 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
69180 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
69181 * sysdeps/s390/s390-32/memcpy.S: New asm code.
69182 * sysdeps/s390/s390-32/memset.S: New asm code.
69183 * sysdeps/s390/s390-32/memcmp.S: New asm code.
69184
69185 2012-07-17 Marek Polacek <polacek@redhat.com>
69186
69187 [BZ #14349]
69188 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
69189 * sysdeps/s390/s390-64/configure.in: Likewise.
69190 * sysdeps/sparc/configure.in: Likewise.
69191 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
69192 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
69193 * sysdeps/i386/configure.in: Likewise.
69194 * sysdeps/x86_64/configure.in: Likewise.
69195 * sysdeps/sh/configure.in: Likewise.
69196 * sysdeps/s390/s390-32/configure: Regenerated.
69197 * sysdeps/s390/s390-64/configure: Likewise.
69198 * sysdeps/x86_64/configure: Likewise.
69199 * sysdeps/sh/configure: Likewise.
69200 * sysdeps/powerpc/powerpc64/configure: Likewise.
69201 * sysdeps/powerpc/powerpc32/configure: Likewise.
69202 * sysdeps/sparc/configure: Likewise.
69203 * sysdeps/i386/configure: Likewise.
69204
69205 * elf/dl-open.c: Comment fixes.
69206
69207 2012-07-17 Joseph Myers <joseph@codesourcery.com>
69208
69209 * Makefile [CXX] (check-data): Remove.
69210 [CXX] (c++-types.data): New vpath directive.
69211 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
69212 vpath. Do not allow for C++ type data being missing.
69213 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
69214 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
69215 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
69216 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
69217 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
69218 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
69219 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
69220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
69221 ... here.
69222 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
69223 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
69224 ... here.
69225 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
69226 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
69227 ... here.
69228 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
69229 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
69230 ... here.
69231 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
69232 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
69233 ... here.
69234 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
69235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
69236 ... here.
69237 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
69238 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
69239 ... here.
69240 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
69241 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
69242
69243 * elf/tls-macros.h (TLS_LE): Move architecture-specific
69244 definitions to architecture-specific files.
69245 (TLS_IE): Likewise.
69246 (TLS_LD): Likewise.
69247 (TLS_GD): Likewise.
69248 * sysdeps/i386/tls-macros.h: New file.
69249 * sysdeps/powerpc/tls-macros.h: Likewise.
69250 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
69251 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
69252 * sysdeps/sh/tls-macros.h: Likewise.
69253 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
69254 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
69255 * sysdeps/x86_64/tls-macros.h: Likewise.
69256
69257 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
69258
69259 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
69260 zero value for regular exit case.
69261
69262 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
69263 (__start_context): Preserve zero value for regular exit case.
69264
69265 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
69266 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69267
69268 * manual/setjmp.texi (setcontext): Clarify normal process
69269 termination when uc_link is the null pointer.
69270 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
69271 exit call.
69272
69273 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
69274
69275 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
69276 preprocessor. Test for each exception mask separately.
69277
69278 2012-07-16 Andreas Jaeger <aj@suse.de>
69279
69280 * po/ru.po: Update from translation team.
69281
69282 2012-07-15 Joseph Myers <joseph@codesourcery.com>
69283
69284 * conform/data/string.h-data (NULL): Use macro-constant. Require
69285 equal to 0.
69286 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
69287 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
69288 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
69289 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
69290 [ISO || ISO99 || ISO11] (*_t): Do not allow.
69291
69292 2012-07-13 Andreas Jaeger <aj@suse.de>
69293
69294 * po/fr.po: Update from translation team.
69295
69296 2012-07-12 Marek Polacek <polacek@redhat.com>
69297
69298 [BZ #14173]
69299 * math/libm-test.inc (yn_test): Add test for BZ #14173.
69300 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
69301 loop condition.
69302
69303 2012-07-12 Joseph Myers <joseph@codesourcery.com>
69304
69305 [BZ #13717]
69306 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69307 Change to 2.4.1 where previously 2.4.0.
69308 * sysdeps/unix/sysv/linux/configure: Regenerated.
69309 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
69310 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
69311 version.
69312 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
69313 (__ASSUME_AT_CLKTCK): Remove.
69314 (__ASSUME_AT_PAGESIZE): Likewise.
69315 (__ASSUME_AT_XID): Likewise.
69316 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
69317 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
69318 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
69319 unconditionally.
69320 (HAVE_AUX_PAGESIZE): Likewise.
69321 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
69322 [__ASSUME_AT_CLKTCK]: Make code unconditional.
69323 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
69324
69325 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
69326
69327 [BZ #14307]
69328 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
69329 the temporary buffer used to invoke __gethostbyname2_r,
69330 __gethostbyaddr_r and gethostbyname4_r to make room for struct
69331 host_data / struct gaih_addrtuple.
69332 * resolv/nss_dns/dns-host.c (global scope): Move definition of
69333 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
69334 header file nss/nsswitch.h.
69335 * nss/nsswitch.h (global scope): Add definition of implementation
69336 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
69337 resolv/nss_dns/dns-host.c).
69338
69339 2012-07-11 Andreas Jaeger <aj@suse.de>
69340
69341 * po/fr.po: Update from translation team.
69342
69343 * po/sv.po: Update from translation team
69344 * po/fr.po: Another update from translation team.
69345
69346 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69347
69348 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
69349 for subnormals or multiply small sinh result by itself.
69350 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
69351 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69352
69353 2012-07-11 David S. Miller <davem@davemloft.net>
69354
69355 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69356
69357 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
69358
69359 [BZ #14347]
69360 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
69361 (INTERNAL_MARK): Shift it here.
69362
69363 2012-07-10 Marek Polacek <polacek@redhat.com>
69364
69365 [BZ #14151]
69366 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
69367 libc_cv_asm_global_directive with .globl.
69368 * configure: Regenerated.
69369 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
69370 with .globl.
69371 * sysdeps/i386/configure: Regenerated.
69372 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
69373 with .globl.
69374 * sysdeps/x86_64/configure: Regenerated.
69375 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
69376 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
69377 * elf/tst-unique2mod2.c: Likewise.
69378 * elf/tst-unique2mod1.c: Likewise.
69379 * elf/tst-unique1mod2.c: Likewise.
69380 * elf/tst-unique1mod1.c: Likewise.
69381 * sysdeps/s390/s390-32/sysdep.h: Likewise.
69382 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
69383 * sysdeps/s390/s390-64/sysdep.h: Likewise.
69384 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
69385 * sysdeps/mach/sysdep.h: Likewise.
69386 * sysdeps/i386/sysdep.h: Likewise.
69387 * sysdeps/i386/i386-mcount.S: Likewise.
69388 * sysdeps/x86_64/_mcount.S: Likewise.
69389 * sysdeps/x86_64/sysdep.h: Likewise.
69390 * sysdeps/sh/_mcount.S: Likewise.
69391 * sysdeps/sh/sysdep.h: Likewise.
69392 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
69393 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
69394 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
69395 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69396 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
69397 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
69398 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
69399 * locale/localeinfo.h: Likewise.
69400 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
69401 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
69402
69403 2012-07-09 Roland McGrath <roland@hack.frob.com>
69404
69405 [BZ #14336]
69406 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
69407 system".
69408 * manual/message.texi (The Uniforum approach): Likewise.
69409 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
69410 (glibc iconv Implementation): Likewise.
69411
69412 2012-07-09 Joseph Myers <joseph@codesourcery.com>
69413
69414 [BZ #14337]
69415 * math/s_clog.c (__clog): Avoid scaling a value down where that
69416 could result in underflow.
69417 * math/s_clog10.c (__clog10): Likewise.
69418 * math/s_clog10f.c (__clog10f): Likewise.
69419 * math/s_clog10l.c (__clog10l): Likewise.
69420 * math/s_clogf.c (__clogf): Likewise.
69421 * math/s_clogl.c (__clogl): Likewise.
69422 * math/libm-test.inc (clog_test): Add more tests.
69423 (clog10_test): Likewise.
69424 * sysdeps/i386/fpu/libm-test-ulps: Update.
69425 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69426
69427 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
69428
69429 [BZ #14283]
69430 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
69431 by 7 not 8 to examine high bit of fractional part.
69432
69433 [BZ #14042]
69434 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
69435 for call to __mcount_internal.
69436 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
69437 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
69438 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
69439
69440 2012-07-06 Joseph Myers <joseph@codesourcery.com>
69441
69442 [BZ #14154]
69443 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
69444 approximation for values within 0x1p-13f of an odd multiple of
69445 pi/4.
69446 * math/libm-test.inc (tan_test): Do not allow spurious underflow
69447 exception. Add more tests.
69448 * sysdeps/i386/fpu/libm-test-ulps: Update.
69449
69450 [BZ #6778]
69451 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
69452 inputs and return -1 for them. Do not check for +Inf in case not
69453 reachable for +Inf.
69454 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
69455 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
69456 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
69457 and return -1 for them. Do not check for +Inf in case not
69458 reachable for +Inf.
69459 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
69460 define.
69461 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
69462 and return -1 for them. Do not check for +Inf in case not
69463 reachable for +Inf.
69464 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
69465 spurious underflow.
69466 * sysdeps/i386/fpu/libm-test-ulps: Update.
69467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69468
69469 2012-07-06 Mike Frysinger <vapier@gentoo.org>
69470
69471 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
69472
69473 2012-07-05 Joseph Myers <joseph@codesourcery.com>
69474
69475 [BZ #14157]
69476 [BZ #14331]
69477 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
69478 could result in spurious underflow. Scale down values above
69479 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
69480 * math/s_csqrtf.c (__csqrtf): Likewise.
69481 * math/s_csqrtl.c (__csqrtl): Likewise.
69482 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
69483 spurious underflow.
69484 * sysdeps/i386/fpu/libm-test-ulps: Update.
69485 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69486
69487 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
69488
69489 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
69490 xopen-msg.sed.
69491 * catgets/xopen-msg.awk: New file.
69492 * catgets/xopen-msg.sed: Removed.
69493
69494 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
69495 po2text.sed.
69496 * intl/po2test.awk: New file.
69497 * intl/po2test.sed: Removed.
69498
69499 2012-07-04 Joseph Myers <joseph@codesourcery.com>
69500
69501 [BZ #14328]
69502 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
69503 or multiply small sinh result by itself.
69504 * math/s_ctanf.c (__ctanf): Likewise.
69505 * math/s_ctanh.c (__ctanh): Likewise.
69506 * math/s_ctanhf.c (__ctanhf): Likewise.
69507 * math/s_ctanhl.c (__ctanhl): Likewise.
69508 * math/s_ctanl.c (__ctanl): Likewise.
69509 * math/libm-test.inc (ctan_test_tonearest): New function.
69510 (ctan_test_towardzero): Likewise.
69511 (ctan_test_downward): Likewise.
69512 (ctan_test_upward): Likewise.
69513 (ctanh_test_tonearest): Likewise.
69514 (ctanh_test_towardzero): Likewise.
69515 (ctanh_test_downward): Likewise.
69516 (ctanh_test_upward): Likewise.
69517 (main): Call these new functions.
69518 * sysdeps/i386/fpu/libm-test-ulps: Update.
69519 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69520
69521 2012-07-03 Mike Frysinger <vapier@gentoo.org>
69522
69523 * .gitignore: Delete /ports entry.
69524
69525 2012-07-03 Andreas Jaeger <aj@suse.de>
69526
69527 * po/bg.po: Update from translation team.
69528 * po/cs.po: Likewise.
69529 * po/de.po: Likewise.
69530 * po/hr.po: Likewise.
69531 * po/nl.pl: Likewise.
69532 * po/pl.po: Likewise.
69533 * po/vi.po: Likewise.
69534
69535 2012-07-03 Joseph Myers <joseph@codesourcery.com>
69536
69537 * Makeconfig [!+link] (+link-before-libc): New variable.
69538 [!+link] (+link-after-libc): Likewise.
69539 [!+link] (+link-tests): Likewise.
69540 [!+link] (+link): Define in terms of $(+link-before-libc) and
69541 $(+link-after-libc).
69542 [!+link-static] (+link-static-before-libc): New variable.
69543 [!+link-static] (+link-static-after-libc): Likewise.
69544 [!+link-static] (+link-static-tests): Likewise.
69545 [!+link-static] (+link-static): Define in terms of
69546 $(+link-static-before-libc) and $(+link-static-after-libc).
69547 [build-shared] (link-libc-before-gnulib): New variable.
69548 [build-shared] (link-libc-tests): Likewise.
69549 [build-shared] (link-libc): Define in terms of
69550 $(link-libc-before-gnulib).
69551 [!build-shared] (link-libc-tests): New variable.
69552 (link-libc-static-tests): New variable.
69553 [!gnulib] (gnulib-arch): New variable.
69554 [!gnulib] (gnulib-tests): Likewise.
69555 [!gnulib] (static-gnulib-arch): Likewise.
69556 [!gnulib] (static-gnulib-tests): Likewise.
69557 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
69558 Define with "=" instead of ":=".
69559 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
69560 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
69561 * Rules (binaries-all-notests): New variable.
69562 (binaries-all-tests): Likewise.
69563 (binaries-static-notests): Likewise.
69564 (binaries-static-tests): Likewise.
69565 (binaries-all): Define using $(binaries-all-notests) and
69566 $(binaries-all-tests).
69567 (binaries-static): Define using $(binaries-static-notests) and
69568 $(binaries-static-tests).
69569 (binaries-shared-tests): New variable.
69570 (binaries-shared-notests): Likewise.
69571 (binaries-shared): Remove variable.
69572 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
69573 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
69574 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
69575 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
69576 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
69577 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
69578 * elf/Makefile (sln-modules): New variable.
69579 (extra-objs): Add $(sln-modules:=.o).
69580 (ldconfig-modules): Add static-stubs.
69581 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
69582 * elf/static-stubs.c: New file.
69583
69584 [BZ #14283]
69585 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
69586 by 7 not 8 to examine high bit of fractional part. Use volatile
69587 variables when splitting into final array of floats if
69588 __FLT_EVAL_METHOD__ != 0.
69589 * math/libm-test.inc (cos_test): Add another test.
69590 (sin_test): Likewise.
69591 * sysdeps/i386/fpu/libm-test-ulps: Update.
69592
69593 [BZ #14273]
69594 * math/libm-test.inc (cosh_test): Add more tests.
69595
69596 * version.h (RELEASE): Set to "development".
69597 (VERSION): Set to "2.16.90".
69598
69599 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
69600
69601 * NEWS: Update copyright. Remove last-updated date.
69602 Mention math library bug fixes and timezone data changes.
69603 * README: Mention GNU/Hurd, x32, and HPPA support status.
69604
69605 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
69606
69607 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
69608
69609 2012-06-27 Andreas Jaeger <aj@suse.de>
69610
69611 * manual/contrib.texi (Contributors): Add Samuel Thibault.
69612
69613 2012-06-25 Andreas Jaeger <aj@suse.de>
69614
69615 * sysdeps/s390/fpu/libm-test-ulps: Update.
69616
69617 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
69618 Thomas Schwinge <thomas@codesourcery.com>
69619
69620 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
69621 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
69622 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
69623 fanotify_mark.
69624
69625 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
69626
69627 * sysdeps/mach/start.c: Remove file.
69628 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
69629 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
69630 * sysdeps/sh/init-first.c: Likewise.
69631
69632 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
69633 registers for frame unwinding purposes, add CFI directives.
69634 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69635 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
69636 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
69637 Likewise.
69638
69639 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
69640 __fortify_fail returning.
69641 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69642
69643 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
69644 sysdeps/sh/____longjmp_chk.S.
69645 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
69646 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
69647 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
69648 (gen-as-const-headers): Append sigaltstack-offsets.sym.
69649
69650 * sysdeps/sh/abort-instr.h: New file.
69651 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
69652 process in case exit returns.
69653
69654 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
69655 initialize the GOT register before use.
69656
69657 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
69658 calculation of ARGC > 4.
69659
69660 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
69661 meaningful names to some local labels.
69662
69663 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
69664 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69665
69666 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
69667 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
69668 (__arch_compare_and_exchange_val_16_acq): Likewise.
69669 (__arch_compare_and_exchange_val_32_acq): Likewise.
69670 (atomic_exchange_and_add): Fix gUSA sequence.
69671 (atomic_add): Likewise.
69672 (atomic_add_negative): Likewise.
69673 (atomic_add_zero): Likewise.
69674 (atomic_bit_test_set): Likewise.
69675
69676 2012-06-22 Andreas Schwab <schwab@redhat.com>
69677
69678 [BZ #13579]
69679 * include/link.h (struct link_map): Add l_free_initfini.
69680 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
69681 l_initfini.
69682 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
69683 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
69684 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
69685 set.
69686
69687 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
69688
69689 * configure.in: Use AC_LANG_SOURCE.
69690 * configure: Regenerate.
69691
69692 2012-06-22 Roland McGrath <roland@hack.frob.com>
69693
69694 * configure.in (libc_cv_localstatedir): New substituted variable.
69695 * configure: Regenerated.
69696 * config.make.in (localstatedir): New variable, substituted from
69697 libc_cv_localstatedir.
69698 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
69699 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
69700 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
69701 * sysdeps/gnu/configure: Regenerated.
69702
69703 2012-06-21 Jeff Law <law@redhat.com>
69704
69705 [BZ #14277]
69706 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
69707 free. Simplify list management for _LIBC case.
69708
69709 2012-06-21 Joseph Myers <joseph@codesourcery.com>
69710
69711 [BZ #14273]
69712 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
69713 Clear sign bit of 64-bit integer value before comparing against
69714 overflow value.
69715
69716 * sysdeps/mach/configure: Regenerated.
69717
69718 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
69719
69720 [BZ #14278]
69721 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
69722
69723 2012-06-21 Jeff Law <law@redhat.com>
69724
69725 [BZ #13882]
69726 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
69727 uint16_t for elements in the "seen" array to avoid char overflows.
69728 * elf/dl-fini.c (_dl_sort_fini): Likewise.
69729 * elf/dl-open.c (dl_open_worker): Likewise.
69730
69731 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
69732
69733 * scripts/list-sources.sh: Scan PORTS for translations.
69734 * po/libc.pot: Regenerated.
69735
69736 2012-06-21 Andreas Jaeger <aj@suse.de>
69737
69738 [BZ #12194]
69739 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
69740 warning.
69741 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
69742 * bits/byteswap-16.h (__bswap_16): Likewise.
69743 * bits/byteswap.h (__bswap_constant_16): Likewise.
69744
69745 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
69746
69747 [BZ #14117]
69748 * sysdeps/i386/fpu_control.h: Removed.
69749 * sysdeps/x86_64/fpu_control.h: Moved to ...
69750 * sysdeps/x86/fpu_control.h: Here.
69751
69752 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
69753 (_FPU_SETCW): Likewise.
69754
69755 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
69756
69757 [BZ #14117]
69758 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
69759 * sysdeps/x86/fpu/bits/mathinline.h: This.
69760 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
69761
69762 [BZ #14050]
69763 [BZ #14117]
69764 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
69765 functions if __x86_64__ is defined.
69766
69767 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
69768
69769 * string/endian.h: Add !__ASSEMBLER__ condition for including
69770 conversion interfaces.
69771
69772 2012-06-15 Joseph Myers <joseph@codesourcery.com>
69773
69774 [BZ #14241]
69775 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
69776 of ABS(x) in calculating zero to negative powers other than odd
69777 integers.
69778 * math/libm-test.inc (pow_test): Add more tests.
69779
69780 2012-06-15 Andreas Jaeger <aj@suse.de>
69781
69782 * manual/contrib.texi (Contributors): Update entry of Liubov
69783 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
69784 Machado Filho.
69785
69786 2012-06-15 Cyril Hrubis <metan@ucw.cz>
69787
69788 * string/string.h: Add __wur to GNU version of strerror_r.
69789
69790 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
69791
69792 [BZ #14229]
69793 * string/Makefile (tests): Add tst-strtok_r.
69794 * string/tst-strtok_r.c: New file.
69795 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
69796 RAX_LP/RDX_LP on SAVE_PTR.
69797
69798 2012-06-14 Roland McGrath <roland@hack.frob.com>
69799
69800 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
69801
69802 2012-06-14 Joseph Myers <joseph@codesourcery.com>
69803
69804 * libm_test.inc (csqrt_test): Allow more spurious underflow
69805 exceptions.
69806 (j0_test): Likewise.
69807 (j1_test): Likewise.
69808 (y0_test): Likewise.
69809 (y1_test): Likewise.
69810
69811 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
69812
69813 * po/Makefile (libc.pot): Use UTF-8 charset.
69814
69815 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
69816
69817 [BZ #14210]
69818 Suppress sign-conversion warning from FD_SET.
69819 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
69820 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
69821 not unsigned long int.
69822 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
69823
69824 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
69825
69826 [BZ #14050]
69827 [BZ #14117]
69828 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
69829 __extern_always_inline instead of __extern_inline.
69830 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
69831 (__signbit): Likewise.
69832 (__signbitl): Support C++ namespace.
69833 (lrintf): New inline function.
69834 (lrint): Likewise.
69835 (llrintf): Likewise.
69836 (llrint): Likewise.
69837 (fmaxf): Likewise.
69838 (fmax): Likewise.
69839 (fminf): Likewise.
69840 (fmin): Likewise.
69841 (rint): Likewise.
69842 (rintf): Likewise.
69843 (ceil): Likewise.
69844 (ceilf): Likewise.
69845 (floor): Likewise.
69846 (floorf): Likewise.
69847 (nearbyint): Likewise.
69848 (nearbyintf): Likewise.
69849
69850 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
69851
69852 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
69853 non-default versions.
69854
69855 2012-06-11 Roland McGrath <roland@hack.frob.com>
69856
69857 [BZ #14218]
69858 * manual/argp.texi (Argp): Reword argp_parse description slightly.
69859
69860 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
69861
69862 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
69863 (FE_UPWARD, FE_DOWNWARD): Don't define.
69864 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
69865 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69866
69867 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
69868 reading it.
69869 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69870 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69871
69872 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69873
69874 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69875 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
69876 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
69877 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
69878
69879 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
69880
69881 [BZ #14117]
69882 * sysdeps/i386/fpu/bits/fenv.h: Removed.
69883 * sysdeps/i386/fpu/Implies: New file.
69884 * sysdeps/x86_64/fpu/Implies: Likewise.
69885 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
69886 * sysdeps/x86/fpu/bits/fenv.h: This.
69887
69888 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
69889 __SSE_MATH__.
69890
69891 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
69892
69893 [BZ #14134]
69894 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
69895 character 0xffff that matches the last element of the
69896 conversion table.
69897
69898 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69899
69900 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
69901 fmodl commit.
69902
69903 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69904
69905 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
69906 values higher than 25.6283.
69907
69908 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69909
69910 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
69911 subnormal exponent extraction and add some __builtin_expect.
69912 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
69913 Fix for subnormal mantissa calculation.
69914
69915 2012-06-04 Mike Frysinger <vapier@gentoo.org>
69916
69917 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
69918 cpu2 is -1 and errno is not ENOSYS.
69919
69920 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
69921
69922 [BZ #14117]
69923 * sysdeps/i386/i486/bits/string.h: Renamed to ...
69924 * sysdeps/x86/bits/string.h: This.
69925 * sysdeps/x86_64/bits/string.h: Removed.
69926
69927 * sysdeps/i386/i486/bits/string.h: Define inline functions only
69928 if not compiling for x86-64, but compiling for >= i486.
69929
69930 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
69931 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
69932
69933 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
69934 New macro from Linux kernel 3.4.0.
69935 (FP_XSTATE_MAGIC2): Likewise.
69936 (FP_XSTATE_MAGIC2_SIZE): Likewise.
69937 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
69938 (struct _fpx_sw_bytes): New struct.
69939 (struct _xsave_hdr): Likewise.
69940 (struct _ymmh_state): Likewise.
69941 (struct _xstate): Likewise.
69942
69943 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
69944 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
69945 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
69946 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
69947 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
69948 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
69949
69950 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
69951 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
69952 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
69953 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
69954 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
69955 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
69956
69957 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69958
69959 [BZ #13743]
69960 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
69961 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
69962 (sysdep_headers): Include sys/platform/ppc.h.
69963 * sysdeps/powerpc/test-gettimebase.c: Test for
69964 __ppc_get_timebase() to catch future ISA opcode/insn changes.
69965 * manual/Makefile (appendices): Include platform.texi.
69966 * manual/contrib.texi (Contributors): Update @node pointers.
69967 * manual/maint.texi (Maintenance): Likewise.
69968 (Platform): New node.
69969 * manual/platform.texi: New file. Document the new features.
69970
69971 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
69972 Jakub Jelinek <jakub@redhat.com>
69973
69974 [BZ #14188]
69975 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
69976 where __builtin_expect is unavailable.
69977
69978 2012-06-03 David S. Miller <davem@davemloft.net>
69979
69980 * stdlib/longlong.h: Updated from GCC.
69981
69982 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
69983
69984 [BZ #14042]
69985 * sysdeps/powerpc/powerpc32/mcount.c: New file.
69986 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
69987 __mcount_internal.
69988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
69989 (GLIBC_2.16): Likewise.
69990
69991 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
69992
69993 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
69994
69995 2012-06-01 Joseph Myers <joseph@codesourcery.com>
69996
69997 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
69998 (default-abi): New variable.
69999 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
70000 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
70001 variable.
70002 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
70003 Likewise.
70004 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
70005 Likewise.
70006 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
70007 Likewise.
70008
70009 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
70010 definition. Document in comment.
70011
70012 2012-06-01 David S. Miller <davem@davemloft.net>
70013
70014 * stdlib/longlong.h: Updated from GCC.
70015
70016 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
70017
70018 [BZ #14117]
70019 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
70020 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
70021 sys/debugreg.h sys/io.h here.
70022 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
70023 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
70024 sys/io.h.
70025 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
70026 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
70027 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
70028 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
70029 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
70030 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
70031
70032 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
70033 Define only if __x86_64__ is defined.
70034
70035 2012-06-01 Joseph Myers <joseph@codesourcery.com>
70036
70037 [BZ #14048]
70038 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
70039 Use int64_t for variable i.
70040 * math/libm-test.inc (fmod_test): Add more tests.
70041
70042 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
70043 z computation is not scheduled after fetestexcept.
70044 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
70045 Use math_force_eval instead of asm to ensure calculation scheduled
70046 before exception test.
70047 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
70048 Ensure a1 + u.d computation is not scheduled after fetestexcept.
70049
70050 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
70051
70052 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
70053 computation is not scheduled after fetestexcept.
70054
70055 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
70056
70057 [BZ #14117]
70058 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
70059 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
70060
70061 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70062
70063 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
70064 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70065
70066 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
70067
70068 [BZ #14117]
70069 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
70070 <bits/wordsize.h>.
70071 (__WCHAR_MIN): Support __WORDSIZE == 64.
70072 (__WCHAR_MAX): Likewise.
70073
70074 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
70075 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
70076
70077 [BZ #14183]
70078 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
70079 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
70080
70081 [BZ #14117]
70082 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
70083 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
70084
70085 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
70086 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
70087
70088 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
70089 Defined to 1 if __x86_64__ isn't defined.
70090 (_STAT_VER_LINUX_OLD): New.
70091 (st_atime): Remove duplicate.
70092 (st_mtime): Likewise.
70093 (st_ctime): Likewise.
70094
70095 2012-05-31 David S. Miller <davem@davemloft.net>
70096
70097 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
70098 entries.
70099
70100 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
70101
70102 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
70103 gen-libm-test.pl.
70104
70105 [BZ #14132]
70106 * elf/dl-reloc.c: Include <_itoa.h>.
70107 (_dl_reloc_bad_type): Remove use of INTUSE.
70108 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
70109 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
70110 * stdio-common/psiginfo.c (psiginfo): Likewise.
70111 * stdio-common/psignal.c (psignal): Likewise.
70112 * string/strsignal.c (strsignal): Likewise.
70113 * include/signal.h (_sys_siglist): Declare hidden proto.
70114 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
70115 INTVARDEF with libc_hidden_data_def.
70116 * stdio-common/itoa-udigits.c: Likewise.
70117 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
70118 (_itoa_lower_digits_internal): Remove declaration.
70119 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
70120 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
70121 (_sys_sigabbrev_internal): Remove aliases.
70122 (_sys_siglist): Define hidden alias.
70123
70124 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
70125
70126 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70127 bits/sysctl.h.
70128
70129 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
70130
70131 [BZ #14117]
70132 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
70133 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
70134
70135 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
70136 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
70137 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
70138 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
70139 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
70140 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
70141
70142 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
70143 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
70144 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
70145
70146 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
70147 with __addr.
70148 (insw): Likewise.
70149 (insl): Likewise.
70150 (outsb): Likewise.
70151 (outsw): Likewise.
70152 (outsl): Likewise.
70153
70154 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
70155 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
70156 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
70157
70158 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
70159 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
70160 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
70161 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
70162 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
70163 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
70164
70165 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
70166 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
70167
70168 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
70169 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
70170
70171 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
70172 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
70173 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
70174
70175 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
70176 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
70177 to ...
70178 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
70179
70180 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
70181 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
70182 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
70183
70184 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
70185 for x86-64.
70186 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
70187
70188 2012-05-31 Joseph Myers <joseph@codesourcery.com>
70189
70190 * math/math.h (M_El): Use two more decimal places.
70191 (M_LOG2El): Likewise.
70192 (M_LOG10El): Likewise.
70193 (M_LN2l): Likewise.
70194 (M_LN10l): Likewise.
70195 (M_PIl): Likewise.
70196 (M_PI_2l): Likewise.
70197 (M_PI_4l): Likewise.
70198 (M_1_PIl): Likewise.
70199 (M_2_PIl): Likewise.
70200 (M_2_SQRTPIl): Likewise.
70201 (M_SQRT2l): Likewise.
70202 (M_SQRT1_2l): Likewise.
70203
70204 2012-05-31 David S. Miller <davem@davemloft.net>
70205
70206 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
70207 values between float registers.
70208 * sysdeps/sparc/sparc64/memset.S: Likewise.
70209 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
70210
70211 2012-05-31 Mike Frysinger <vapier@gentoo.org>
70212
70213 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
70214 -D_FORTIFY_SOURCE=1.
70215 (CPPFLAGS-tst-longjmp_chk.c): Define.
70216 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
70217 (CPPFLAGS-tst-longjmp_chk2.c): Define.
70218 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
70219 CFLAGS-tst-wchar-h.c.
70220
70221 2012-05-31 Marek Polacek <polacek@redhat.com>
70222
70223 [BZ #14132]
70224 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
70225 __endmntent_internal): Remove declaration.
70226 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
70227 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
70228 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
70229
70230 2012-05-30 David S. Miller <davem@davemloft.net>
70231
70232 * sysdeps/sparc/sparc32/soft-fp/q_util.c
70233 (___Q_simulate_exceptions): Use real FP ops rather than writing
70234 into the %fsr.
70235 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
70236 Likewise.
70237
70238 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
70239
70240 [BZ #14117]
70241 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
70242 * sysdeps/x86/bits/xtitypes.h: This.
70243
70244 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
70245 * sysdeps/x86/bits/wordsize.h: This.
70246
70247 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
70248 * sysdeps/x86/bits/huge_vall.h: This.
70249
70250 * sysdeps/i386/bits/select.h: Removed.
70251 * sysdeps/x86_64/bits/select.h: Renamed to ...
70252 * sysdeps/x86/bits/select.h: This.
70253
70254 * sysdeps/i386/bits/setjmp.h: Removed.
70255 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
70256 * sysdeps/x86/bits/setjmp.h: This.
70257
70258 * sysdeps/i386/bits/mathdef.h: Removed.
70259 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
70260 * sysdeps/x86/bits/mathdef.h: This.
70261
70262 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
70263
70264 [BZ #14132]
70265 * include/sys/socket.h (__connect_internal)
70266 (__libc_sa_len_internal): Remove declaration.
70267 (__connect, __libc_sa_len): Declare hidden_proto.
70268 (SA_LEN): Remove use of INTUSE.
70269 * socket/connect.c: Add libc_hidden_def.
70270 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
70271 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
70272 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
70273 alias.
70274 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
70275 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
70276 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
70277 of adding _internal alias.
70278
70279 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
70280
70281 [BZ #14117]
70282 * sysdeps/i386/bits/link.h: Removed.
70283 * sysdeps/i386/bits/linkmap.h: Likewise.
70284 * sysdeps/x86_64/bits/link.h: Renamed to ...
70285 * sysdeps/x86/bits/link.h: This.
70286 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
70287 * sysdeps/x86/bits/linkmap.h: This.
70288
70289 * sysdeps/i386/bits/endian.h: Removed.
70290 * sysdeps/x86_64/bits/endian.h: Renamed to ...
70291 * sysdeps/x86/bits/endian.h: This.
70292
70293 * sysdeps/i386/bits/byteswap.h: Removed.
70294 * sysdeps/i386/bits/byteswap-16.h: Likewise.
70295 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
70296 * sysdeps/x86/bits/byteswap.h: This.
70297 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
70298 * sysdeps/x86/bits/byteswap-16.h: This.
70299 * sysdeps/i386/Implies: Add x86.
70300 * sysdeps/x86_64/Implies: Likewise.
70301
70302 2012-05-30 David S. Miller <davem@davemloft.net>
70303
70304 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
70305 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
70306 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
70307 (FP_TRAPPING_EXCEPTIONS): Define.
70308 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
70309 (FP_TRAPPING_EXCEPTIONS): Define.
70310 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
70311 subnormals only when inexact has been signalled or underflow
70312 exceptions are enabled.
70313 (_FP_PACK_CANONICAL): Likewise.
70314
70315 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
70316
70317 [BZ #14183]
70318 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
70319 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
70320
70321 2012-05-30 Richard Henderson <rth@twiddle.net>
70322
70323 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
70324 with #ifndef NOT_IN_libc.
70325
70326 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
70327 marked to avoid plt entry.
70328
70329 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
70330
70331 [BZ #14112]
70332 * Makeconfig (default-abi): New macro.
70333 (abi-includes): Likewise.
70334 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
70335 $(abi-$(default-abi)-lib-soname) for soname if defined.
70336 ($(common-objpfx)gnu/lib-names.stmp): Generate from
70337 abi-variants.
70338 * Makefile (installed-stubs): Likewise.
70339 * include/stubs-biarch.h: Removed.
70340 * scripts/lib-names.awk: Only handle one library at a time.
70341 * scripts/soversions.awk: Remove WORDSIZE support.
70342 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
70343 entries.
70344 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
70345 Removed.
70346 (syscall-list-default-condition): Likewise.
70347 (syscall-list-default-condition): Likewise.
70348 (syscall-list-includes): Likewise.
70349 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
70350 syscall-list-* with abi-*. Handle undefined abi-variants.
70351 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
70352 * sysdeps/unix/sysv/linux/i386/Implies: New file.
70353 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
70354 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
70355 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
70356 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
70357 Removed.
70358 (syscall-list-32-options): Likewise.
70359 (syscall-list-32-condition): Likewise.
70360 (syscall-list-64-options): Likewise.
70361 (syscall-list-64-condition): Likewise.
70362 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
70363 macro.
70364 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
70365 Renamed to ...
70366 (abi-*): This.
70367 (abi-64-ld-soname): New macro.
70368 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
70369 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
70370 Renamed to ...
70371 (abi-*): This.
70372 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
70373 * sysdeps/x86_64/x32/shlib-versions: Likewise.
70374
70375 2012-05-30 Joseph Myers <joseph@codesourcery.com>
70376
70377 * sysdeps/unix/sysv/linux/kernel-features.h
70378 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
70379 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
70380 include <kernel-features.h>.
70381 [!__NR_ftruncate64]: Remove conditional code.
70382 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70383 [__NR_ftruncate64]: Make code unconditional.
70384 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70385 * sysdeps/unix/sysv/linux/truncate64.c: Do not
70386 include <kernel-features.h>.
70387 [!__NR_ftruncate64]: Remove conditional code.
70388 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70389 [__NR_ftruncate64]: Make code unconditional.
70390 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70391 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
70392 include <kernel-features.h>.
70393 [!__NR_ftruncate64]: Remove conditional code.
70394 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70395 [__NR_ftruncate64]: Make code unconditional.
70396 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70397 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
70398 include <kernel-features.h>.
70399 [!__NR_ftruncate64]: Remove conditional code.
70400 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70401 [__NR_ftruncate64]: Make code unconditional.
70402 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70403
70404 * configure.in (libc_cv_fpie): Weaken to a compile test using
70405 LIBC_TRY_CC_OPTION.
70406 * configure: Regenerated.
70407
70408 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70409
70410 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
70411 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
70412 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
70413 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
70414 Refreshed.
70415 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
70416 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
70417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
70418 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
70419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
70420 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
70421 Refreshed.
70422
70423 2012-05-27 David S. Miller <davem@davemloft.net>
70424
70425 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
70426 (___Q_zero): New.
70427 (__Q_simulate_exceptions): Return void. Change to simulate
70428 exceptions by writing into the %fsr.
70429 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
70430 (__Qp_handle_exceptions): Likewise.
70431 (numbers): Delete.
70432 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
70433 __Qp_handle_exceptions.
70434 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
70435 __Qp_handle_exceptions.
70436 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
70437 as unused and give dummy FP_RND_NEAREST initializer.
70438 (FP_INHIBIT_RESULTS): Define.
70439 (___Q_simulate_exceptions): Update declaration.
70440 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
70441 formatting.
70442 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
70443 as unused and give dummy FP_RND_NEAREST initializer.
70444 (__Qp_handle_exceptions): Update declaration.
70445 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
70446 formatting.
70447
70448 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
70449
70450 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
70451 the temporary FPU control word.
70452 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
70453 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
70454 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
70455 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
70456 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
70457 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
70458 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
70459 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
70460 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
70461 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
70462 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
70463
70464 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
70465
70466 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
70467 fields.
70468
70469 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
70470
70471 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
70472 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
70473 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
70474 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
70475 Likewise.
70476 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
70477 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
70478 Likewise.
70479
70480 2012-05-27 Ulrich Drepper <drepper@gmail.com>
70481
70482 * po/h.po: Update from translation team.
70483
70484 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
70485
70486 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
70487
70488 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
70489 handling of denormals.
70490 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
70491 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
70492 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
70493 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
70494 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70495 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
70496 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
70497 Likewise.
70498
70499 2012-05-26 Marek Polacek <polacek@redhat.com>
70500
70501 [BZ #14152]
70502 * math/libm-test.inc (fma_test): Don't always expect underflow
70503 exception.
70504
70505 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70506
70507 [BZ #12416]
70508 * elf/tst-execstack.c: Include stackinfo.h.
70509 (do_test): Adjust test case to ensure that pthread_getattr_np
70510 behaviour remains the same after marking stack executable.
70511
70512 2012-05-25 Joseph Myers <joseph@codesourcery.com>
70513
70514 * sysdeps/unix/sysv/linux/kernel-features.h
70515 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
70516 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
70517 kernel-features.h.
70518 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70519 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70520 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
70521 kernel-features.h.
70522 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70523 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70524
70525 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
70526
70527 * configure.in: Define the default includes to being none.
70528 * configure: Regenerated.
70529
70530 2012-05-25 Roland McGrath <roland@hack.frob.com>
70531
70532 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
70533 * sysdeps/x86_64/setjmp.S: Likewise.
70534 * sysdeps/i386/bsd-setjmp.S: Likewise.
70535 * sysdeps/i386/bsd-_setjmp.S: Likewise.
70536 * sysdeps/i386/setjmp.S: Likewise.
70537 * sysdeps/i386/__longjmp.S: Likewise.
70538 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70539 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
70540
70541 * include/stap-probe.h: New file.
70542 * configure.in: Handle --enable-systemtap.
70543 * configure: Regenerated.
70544 * config.h.in (USE_STAP_PROBE): New #undef.
70545 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
70546 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
70547 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
70548
70549 2012-05-25 Joseph Myers <joseph@codesourcery.com>
70550
70551 [BZ #13717]
70552 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
70553 to 2.4.0 where earlier.
70554 * sysdeps/unix/sysv/linux/configure: Regenerated.
70555 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
70556 <kernel-features.h>.
70557 [__ASSUME_32BITUIDS]: Make code unconditional.
70558 [!__ASSUME_32BITUIDS]: Remove conditional code.
70559 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
70560 <kernel-features.h>.
70561 [__ASSUME_32BITUIDS]: Make code unconditional.
70562 [!__ASSUME_32BITUIDS]: Remove conditional code.
70563 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
70564 [__ASSUME_32BITUIDS]: Make code unconditional.
70565 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
70566 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
70567 <kernel-features.h>.
70568 [__ASSUME_32BITUIDS]: Make code unconditional.
70569 [!__ASSUME_32BITUIDS]: Remove conditional code.
70570 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
70571 <kernel-features.h>.
70572 [__ASSUME_32BITUIDS]: Make code unconditional.
70573 [!__ASSUME_32BITUIDS]: Remove conditional code.
70574 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
70575 <kernel-features.h>.
70576 [__ASSUME_32BITUIDS]: Make code unconditional.
70577 [!__ASSUME_32BITUIDS]: Remove conditional code.
70578 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
70579 <kernel-features.h>.
70580 [__ASSUME_32BITUIDS]: Make code unconditional.
70581 [!__ASSUME_32BITUIDS]: Remove conditional code.
70582 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
70583 <kernel-features.h>.
70584 [__ASSUME_32BITUIDS]: Make code unconditional.
70585 [!__ASSUME_32BITUIDS]: Remove conditional code.
70586 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
70587 <kernel-features.h>.
70588 [__ASSUME_32BITUIDS]: Make code unconditional.
70589 [!__ASSUME_32BITUIDS]: Remove conditional code.
70590 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
70591 <kernel-features.h>.
70592 [__ASSUME_32BITUIDS]: Make code unconditional.
70593 [!__ASSUME_32BITUIDS]: Remove conditional code.
70594 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
70595 <kernel-features.h>.
70596 [__ASSUME_32BITUIDS]: Make code unconditional.
70597 [!__ASSUME_32BITUIDS]: Remove conditional code.
70598 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
70599 <kernel-features.h>.
70600 [__ASSUME_32BITUIDS]: Make code unconditional.
70601 [!__ASSUME_32BITUIDS]: Remove conditional code.
70602 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
70603 <kernel-features.h>.
70604 [__ASSUME_32BITUIDS]: Make code unconditional.
70605 [!__ASSUME_32BITUIDS]: Remove conditional code.
70606 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
70607 <kernel-features.h>.
70608 [__NR_setresgid] (__setresgid): Do not declare.
70609 [__ASSUME_32BITUIDS]: Make code unconditional.
70610 [!__ASSUME_32BITUIDS]: Remove conditional code.
70611 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
70612 <kernel-features.h>.
70613 [__NR_setresuid] (__setresuid): Do not declare.
70614 [__ASSUME_32BITUIDS]: Make code unconditional.
70615 [!__ASSUME_32BITUIDS]: Remove conditional code.
70616 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
70617 <kernel-features.h>.
70618 [__ASSUME_32BITUIDS]: Make code unconditional.
70619 [!__ASSUME_32BITUIDS]: Remove conditional code.
70620 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
70621 <kernel-features.h>.
70622 [__ASSUME_32BITUIDS]: Make code unconditional.
70623 [!__ASSUME_32BITUIDS]: Remove conditional code.
70624 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
70625 <kernel-features.h>.
70626 [__ASSUME_32BITUIDS]: Make code unconditional.
70627 [!__ASSUME_32BITUIDS]: Remove conditional code.
70628 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
70629 <kernel-features.h>.
70630 [__ASSUME_32BITUIDS]: Make code unconditional.
70631 [!__ASSUME_32BITUIDS]: Remove conditional code.
70632 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
70633 <kernel-features.h>.
70634 [__ASSUME_32BITUIDS]: Make code unconditional.
70635 [!__ASSUME_32BITUIDS]: Remove conditional code.
70636 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
70637 <kernel-features.h>.
70638 [__ASSUME_32BITUIDS]: Make code unconditional.
70639 [!__ASSUME_32BITUIDS]: Remove conditional code.
70640 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
70641 <kernel-features.h>.
70642 [__ASSUME_32BITUIDS]: Make code unconditional.
70643 [!__ASSUME_32BITUIDS]: Remove conditional code.
70644 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
70645 <kernel-features.h>.
70646 [__ASSUME_32BITUIDS]: Make code unconditional.
70647 [!__ASSUME_32BITUIDS]: Remove conditional code.
70648 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
70649 <kernel-features.h>.
70650 [__ASSUME_32BITUIDS]: Make code unconditional.
70651 [!__ASSUME_32BITUIDS]: Remove conditional code.
70652 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70653 <kernel-features.h>.
70654 [__ASSUME_32BITUIDS]: Make code unconditional.
70655 [!__ASSUME_32BITUIDS]: Remove conditional code.
70656 * sysdeps/unix/sysv/linux/kernel-features.h
70657 (__ASSUME_SETRESUID_SYSCALL): Remove.
70658 (__ASSUME_SETRESGID_SYSCALL): Likewise.
70659 (__ASSUME_32BITUIDS): Likewise.
70660 (__ASSUME_LDT_WORKS): Likewise.
70661 (__ASSUME_O_DIRECTORY): Likewise.
70662 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
70663 architecture but not kernel version.
70664 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
70665 (__ASSUME_MMAP2_SYSCALL): Likewise.
70666 (__ASSUME_STAT64_SYSCALL): Likewise.
70667 (__ASSUME_IPC64): Likewise.
70668 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
70669 <kernel-features.h>.
70670 [__ASSUME_32BITUIDS]: Make code unconditional.
70671 [!__ASSUME_32BITUIDS]: Remove conditional code.
70672 * sysdeps/unix/sysv/linux/opendir.c: Do not include
70673 <kernel-features.h>.
70674 [__ASSUME_O_DIRECTORY]: Make code unconditional.
70675 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
70676 132096]: Remove conditional code.
70677 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
70678 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
70679 <kernel-features.h>.
70680 [__ASSUME_32BITUIDS]: Make code unconditional.
70681 [!__ASSUME_32BITUIDS]: Remove conditional code.
70682 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
70683 <kernel-features.h>.
70684 [__ASSUME_32BITUIDS]: Make code unconditional.
70685 [!__ASSUME_32BITUIDS]: Remove conditional code.
70686 * sysdeps/unix/sysv/linux/setegid.c: Do not include
70687 <kernel-features.h>.
70688 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
70689 unconditional.
70690 (__setresgid): Do not declare.
70691 [__ASSUME_32BITUIDS]: Make code unconditional.
70692 [!__ASSUME_32BITUIDS]: Remove conditional code.
70693 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
70694 <kernel-features.h>.
70695 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
70696 unconditional.
70697 (__setresuid): Do not declare.
70698 [__ASSUME_32BITUIDS]: Make code unconditional.
70699 [!__ASSUME_32BITUIDS]: Remove conditional code.
70700 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
70701 <kernel-features.h>.
70702 [__ASSUME_32BITUIDS]: Make code unconditional.
70703 [!__ASSUME_32BITUIDS]: Remove conditional code.
70704 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
70705 <kernel-features.h>.
70706 [__ASSUME_32BITUIDS]: Make code unconditional.
70707 [!__ASSUME_32BITUIDS]: Remove conditional code.
70708
70709 2012-05-25 Richard Henderson <rth@twiddle.net>
70710
70711 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
70712 dl_hwcap to ifunc resolver.
70713 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
70714 elf_ifunc_invoke.
70715 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
70716 dl_hwcap to ifunc resolver.
70717 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
70718
70719 2012-05-24 Joseph Myers <joseph@codesourcery.com>
70720
70721 [BZ #14153]
70722 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
70723 for |x| <= 2**-26, not 2**-57.
70724 * math/libm-test.inc (acos_test): Do not allow spurious underflow
70725 exception.
70726
70727 2012-05-24 Jeff Law <law@redhat.com>
70728
70729 * stdio-common/Makefile (tests): Add bug25.
70730 * stdio-common/bug25.c: New test.
70731
70732 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
70733
70734 [BZ #13576]
70735 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
70736 multiple of MALLOC_ALIGNMENT in size.
70737 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
70738
70739 2012-05-24 Joseph Myers <joseph@codesourcery.com>
70740
70741 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
70742 Require >= 256.
70743 (FILENAME_MAX): Use macro-int-constant.
70744 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
70745 (_IOFBF): Use macro-int-constant.
70746 (_IOLBF): Likewise.
70747 (_IONBF): Likewise.
70748 (SEEK_CUR): Likewise.
70749 (SEEK_END): Likewise.
70750 (SEEK_SET): Likewise.
70751 (TMP_MAX): Likewise.
70752 (EOF): Use macro-int-constant. Require < 0.
70753 (NULL): Use macro-constant. Require == 0.
70754 (stdin): Require type to be FILE *.
70755 (stdout): Likewise.
70756 (stderr): Likewise.
70757 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
70758 macro-int-constant.
70759 (EXIT_SUCCESS): Likewise.
70760 (NULL): Use macro-constant. Require == 0.
70761 (RAND_MAX): Use macro-int-constant.
70762 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
70763 [C99-based standards] (strtof): Require function.
70764 [C99-based standards] (strtold): Likewise.
70765 [C99-based standards] (strtoll): Likewise.
70766 [C99-based standards] (strtoull): Likewise.
70767 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70768 [ISO || ISO99 || ISO11] (limits.h): Likewise.
70769 [ISO || ISO99 || ISO11] (math.h): Likewise.
70770 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
70771 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70772 [ISO || ISO99 || ISO11] (*_t): Do not allow.
70773
70774 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
70775
70776 [BZ #14132]
70777 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
70778 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
70779 * intl/dgettext.c (DCGETTEXT): Likewise.
70780 * intl/gettext.c (DCGETTEXT): Likewise.
70781 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
70782 * posix/regex_internal.h (gettext): Likewise.
70783 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
70784 Remove declaration.
70785 * include/argz.h (__argz_count_internal)
70786 (__argz_stringify_internal): Remove declaration.
70787 (__argz_count, __argz_stringify): Declare hidden proto.
70788 * intl/dcgettext.c: Remove use of INTDEF.
70789 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
70790 * string/argz-stringify.c: Likewise.
70791 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70792 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70793 Declare hidden proto.
70794 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70795 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70796 Declare hidden proto.
70797 * include/stdio.h (__asprintf_internal): Don't declare.
70798 (__asprintf): Don't define as macro. Declare hidden proto.
70799 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
70800 (__fsetlocking): Declare hidden proto.
70801 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
70802 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
70803 hidden proto.
70804 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
70805 (_IO_setlinebuf): Remove use of INTUSE.
70806 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
70807 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
70808 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
70809 Remove declaration.
70810 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
70811 (_IO_do_flush): Remove use of INTUSE.
70812 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
70813 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
70814 (_IO_adjust_column, _IO_least_wmarker)
70815 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
70816 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
70817 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
70818 (_IO_default_doallocate, _IO_wdefault_doallocate)
70819 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
70820 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
70821 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
70822 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
70823 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
70824 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
70825 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
70826 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
70827 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
70828 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
70829 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
70830 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
70831 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
70832 proto.
70833 (_IO_flush_all_internal, _IO_adjust_column_internal)
70834 (_IO_default_uflow_internal, _IO_default_finish_internal)
70835 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
70836 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
70837 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
70838 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
70839 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
70840 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
70841 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
70842 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
70843 (_IO_file_close_internal, _IO_file_close_it_internal)
70844 (_IO_file_underflow_internal, _IO_file_overflow_internal)
70845 (_IO_file_init_internal, _IO_file_attach_internal)
70846 (_IO_file_fopen_internal, _IO_file_read_internal)
70847 (_IO_file_sync_internal, _IO_file_seek_internal)
70848 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
70849 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
70850 (_IO_str_underflow_internal, _IO_str_overflow_internal)
70851 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
70852 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
70853 (_IO_list_all_internal, _IO_link_in_internal)
70854 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
70855 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
70856 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
70857 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
70858 (_IO_do_write_internal, _IO_padn_internal)
70859 (_IO_getline_info_internal, _IO_getline_internal)
70860 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
70861 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
70862 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
70863 (_IO_vfscanf_internal, _IO_vfprintf_internal)
70864 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
70865 (_IO_init_internal, _IO_un_link_internal): Don't declare.
70866 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
70867 with libc_hidden_ver, remove use of INTUSE.
70868 * libio/genops.c: Likewise.
70869 * libio/freopen.c: Likewise.
70870 * libio/freopen64.c: Likewise.
70871 * libio/iofclose.c: Likewise.
70872 * libio/iofdopen.c: Likewise.
70873 * libio/iofflush.c: Likewise.
70874 * libio/iofflush_u.c: Likewise.
70875 * libio/iofgets.c: Likewise.
70876 * libio/iofgets_u.c: Likewise.
70877 * libio/iofopen.c: Likewise.
70878 * libio/iofopncook.c: Likewise.
70879 * libio/iofread.c: Likewise.
70880 * libio/iofread_u.c: Likewise.
70881 * libio/ioftell.c: Likewise.
70882 * libio/iofwrite.c: Likewise.
70883 * libio/iogetline.c: Likewise.
70884 * libio/iogets.c: Likewise.
70885 * libio/iogetwline.c: Likewise.
70886 * libio/iopadn.c: Likewise.
70887 * libio/iopopen.c: Likewise.
70888 * libio/ioseekoff.c: Likewise.
70889 * libio/ioseekpos.c: Likewise.
70890 * libio/iosetbuffer.c: Likewise.
70891 * libio/iosetvbuf.c: Likewise.
70892 * libio/ioungetc.c: Likewise.
70893 * libio/ioungetwc.c: Likewise.
70894 * libio/iovdprintf.c: Likewise.
70895 * libio/iovsprintf.c: Likewise.
70896 * libio/iovsscanf.c: Likewise.
70897 * libio/memstream.c: Likewise.
70898 * libio/obprintf.c: Likewise.
70899 * libio/oldfileops.c: Likewise.
70900 * libio/oldiofclose.c: Likewise.
70901 * libio/oldiofdopen.c: Likewise.
70902 * libio/oldiofopen.c: Likewise.
70903 * libio/oldiopopen.c: Likewise.
70904 * libio/oldstdfiles.c: Likewise.
70905 * libio/putc.c: Likewise.
70906 * libio/setbuf.c: Likewise.
70907 * libio/setlinebuf.c: Likewise.
70908 * libio/stdfiles.c: Likewise.
70909 * libio/strops.c: Likewise.
70910 * libio/vasprintf.c: Likewise.
70911 * libio/vscanf.c: Likewise.
70912 * libio/vsnprintf.c: Likewise.
70913 * libio/vswprintf.c: Likewise.
70914 * libio/wfiledoalloc.c: Likewise.
70915 * libio/wfileops.c: Likewise.
70916 * libio/wgenops.c: Likewise.
70917 * libio/wmemstream.c: Likewise.
70918 * libio/wstrops.c: Likewise.
70919 * libio/__fpurge.c: Likewise.
70920 * libio/__fsetlocking.c: Likewise.
70921 * assert/assert.c: Likewise.
70922 * debug/fgets_chk.c: Likewise.
70923 * debug/fgets_u_chk.c: Likewise.
70924 * debug/fread_chk.c: Likewise.
70925 * debug/fread_u_chk.c: Likewise.
70926 * debug/gets_chk.c: Likewise.
70927 * debug/obprintf_chk.c: Likewise.
70928 * debug/vasprintf_chk.c: Likewise.
70929 * debug/vdprintf_chk.c: Likewise.
70930 * debug/vsnprintf_chk.c: Likewise.
70931 * debug/vsprintf_chk.c: Likewise.
70932 * malloc/mtrace.c: Likewise.
70933 * misc/error.c: Likewise.
70934 * misc/syslog.c: Likewise.
70935 * stdio-common/asprintf.c: Likewise.
70936 * stdio-common/fxprintf.c: Likewise.
70937 * stdio-common/getw.c: Likewise.
70938 * stdio-common/isoc99_fscanf.c: Likewise.
70939 * stdio-common/isoc99_scanf.c: Likewise.
70940 * stdio-common/isoc99_vfscanf.c: Likewise.
70941 * stdio-common/isoc99_vscanf.c: Likewise.
70942 * stdio-common/isoc99_vsscanf.c: Likewise.
70943 * stdio-common/printf-prs.c: Likewise.
70944 * stdio-common/printf_fp.c: Likewise.
70945 * stdio-common/printf_fphex.c: Likewise.
70946 * stdio-common/printf_size.c: Likewise.
70947 * stdio-common/putw.c: Likewise.
70948 * stdio-common/scanf.c: Likewise.
70949 * stdio-common/sprintf.c: Likewise.
70950 * stdio-common/tmpfile.c: Likewise.
70951 * stdio-common/vfprintf.c: Likewise.
70952 * stdio-common/vfscanf.c: Likewise.
70953 * stdlib/strfmon_l.c: Likewise.
70954 * sunrpc/openchild.c: Likewise.
70955 * sunrpc/xdr_stdio.c: Likewise.
70956 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
70957 * sysdeps/mach/hurd/tmpfile.c: Likewise.
70958
70959 2012-05-24 Roland McGrath <roland@hack.frob.com>
70960
70961 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70962
70963 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
70964 in the third column, to generate for the shared library an IFUNC
70965 that uses _dl_vdso_vsym.
70966 * Makerules (COMPILE.c, compile-stdin.c): New variables.
70967 * Makeconfig (object-suffixes-noshared): New variable.
70968
70969 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
70970 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
70971 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
70972 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
70973
70974 [BZ #14132]
70975 * include/sys/time.h (__gettimeofday): Remove macro.
70976 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
70977 * time/gettimeofday.c (__gettimeofday): Remove #undef.
70978 Remove INTDEF.
70979 (__gettimeofday): Add libc_hidden_def.
70980 (gettimeofday): Add libc_hidden_weak.
70981 * sysdeps/mach/gettimeofday.c: Likewise.
70982 * sysdeps/posix/gettimeofday.c: Likewise.
70983 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
70984 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
70985 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
70986 (__gettimeofday_internal): Remove strong_alias.
70987 (__gettimeofday): Add libc_hidden_def.
70988 (gettimeofday): Add libc_hidden_weak.
70989 * sysdeps/unix/syscalls.list (gettimeofday):
70990 Remove __gettimeofday_internal alias.
70991
70992 2012-05-24 Daniel Jacobowitz <drow@false.org>
70993 H.J. Lu <hongjiu.lu@intel.com>
70994
70995 [BZ #12495]
70996 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
70997 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
70998 (largebin_index_32_big): New.
70999 (largebin_index): Use it for 16-byte alignment.
71000 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
71001 correction with front_misalign.
71002
71003 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
71004
71005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
71006 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
71007 Likewise.
71008 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
71009 Likewise.
71010 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
71011 Likewise.
71012 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
71013 Likewise.
71014 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
71015 Likewise.
71016 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
71017 Likewise.
71018 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
71019 Likewise.
71020 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
71021 Likewise.
71022 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
71023 Likewise.
71024 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
71025 Likewise.
71026 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
71027 Likewise.
71028 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
71029 Likewise.
71030
71031 * scripts/data/c++-types-x32-linux-gnu.data: New file.
71032 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
71033
71034 2012-05-24 Joseph Myers <joseph@codesourcery.com>
71035
71036 [BZ #10846]
71037 [BZ #14036]
71038 * math/libm-test.inc (exp_test): Add test from bug 14036.
71039 (pow_test): Add test from bug 10846.
71040
71041 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
71042 and other flags.
71043 (special_function): Do not include flags in test name.
71044 (parse_args): Likewise.
71045 * sysdeps/i386/fpu/libm-test-ulps: Update.
71046 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71047 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
71048 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
71049 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71050
71051 * math/gen-libm-test.pl (%beautify): Add entries for underflow
71052 exceptions.
71053 * math/libm-test.inc ("Philosophy"): Update comment about
71054 exception testing.
71055 (UNDERFLOW_EXCEPTION): New macro.
71056 (UNDERFLOW_EXCEPTION_OK): Likewise.
71057 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
71058 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
71059 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
71060 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
71061 (INVALID_EXCEPTION_OK): Update value.
71062 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
71063 (OVERFLOW_EXCEPTION_OK): Likewise.
71064 (IGNORE_ZERO_INF_SIGN): Likewise.
71065 (test_exceptions): Handle underflow exceptions.
71066 (acos_test): Update for underflow exception expectations.
71067 (cexp_test): Likewise.
71068 (clog_test): Likewise.
71069 (clog10_test): Likewise.
71070 (csqrt_test): Likewise.
71071 (ctan_test): Likewise.
71072 (ctanh_test): Likewise.
71073 (exp_test): Likewise.
71074 (exp10_test): Likewise.
71075 (exp2_test): Likewise.
71076 (expm1_test): Likewise.
71077 (fma_test): Likewise.
71078 (j0_test): Likewise.
71079 (jn_test): Likewise.
71080 (nexttoward_test): Likewise.
71081 (pow_test): Likewise.
71082 (scalbn_test): Likewise.
71083 (scalbln_test): Likewise.
71084 (tan_test): Likewise.
71085 (y1_test): Likewise.
71086 * sysdeps/i386/fpu/libm-test-ulps: Update.
71087 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71088
71089 2012-05-23 David S. Miller <davem@davemloft.net>
71090
71091 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
71092 (__libc_sigaction): Remove unused local variables.
71093
71094 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
71095
71096 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
71097
71098 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
71099
71100 mktime: avoid signed integer overflow
71101 * time/mktime.c (__mktime_internal): Do not mishandle the case
71102 where diff == INT_MIN.
71103
71104 mktime: simplify computation of average
71105 * time/mktime.c (ranged_convert): Use new time_t_avg function
71106 instead of rolling our own (probably-slower) code.
71107
71108 mktime: do not assume signed right shift propagates sign bit
71109 * time/mktime.c (isdst_differ): New static function.
71110 (__mktime_internal): No need to normalize tm_isdst now.
71111 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
71112 tm_isdst values.
71113
71114 mktime: merge another wrapv change from gnulib
71115 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
71116 from some compilers.
71117
71118 mktime: remove incorrect attempt at unusual arithmetics
71119 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
71120 The code didn't really work on such machines anyway.
71121 (TYPE_MINIMUM): Assume two's complement.
71122 (twos_complement_arithmetic): Verify that long_int and time_t
71123 are two's complement (or unsigned, in the latter case).
71124
71125 mktime: check signed shifts on long_int and time_t, too
71126 * time/mktime.c (SHR): Check that shifts work as desired
71127 on the types long_int and time_t too, as SHR is used on
71128 such types.
71129
71130 mktime: do not assume 'long' is wide enough
71131 * time/mktime.c (verify): Move decl up.
71132 (long_int): New type.
71133 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
71134 to remove assumption in the code that 'long' is wide enough to
71135 store year values. This assumption is not true on x32 and on
71136 some non-glibc platforms.
71137
71138 mktime: merge wrapv change from gnulib
71139 * time/mktime.c (WRAPV): New macro.
71140 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
71141 (guess_time_tm, __mktime_internal): Do not assume that signed
71142 integer overflow wraps around; modern compilers generate code
71143 where this assumption is no longer valid.
71144
71145 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
71146
71147 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
71148 Replace "jmp L(pseudo_end)" with "ret".
71149 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
71150 Likewise.
71151
71152 2012-05-23 Andreas Jaeger <aj@suse.de>
71153
71154 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
71155 * sysdeps/unix/sysv/linux/poll.c: Remove file.
71156
71157 2012-05-23 Andreas Jaeger <aj@suse.de>
71158 Maximilian Attems <max@stro.at>
71159
71160 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
71161 New macros.
71162
71163 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
71164
71165 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
71166 code so that pseudo_end is just ret and the stack pointer is
71167 correct also for static library in error case.
71168
71169 2012-05-23 Joseph Myers <joseph@codesourcery.com>
71170
71171 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
71172 move to syscalls.list.
71173 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
71174 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
71175 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
71176 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
71177
71178 * manual/install.texi (Running make install): Do not mention Linux
71179 kernel version for which pt_chown is not needed.
71180 (Linux): Do not mention problems with nscd with 2.0 kernels.
71181 * INSTALL: Regenerated.
71182
71183 2012-05-23 Andreas Jaeger <aj@suse.de>
71184
71185 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
71186 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
71187 macro.
71188 * sysdeps/unix/sysv/linux/s390/bits/mman.h
71189 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
71190 * sysdeps/unix/sysv/linux/sh/bits/mman.h
71191 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
71192 * sysdeps/unix/sysv/linux/i386/bits/mman.h
71193 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
71194 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
71195 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
71196 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
71197 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
71198 * sysdeps/unix/sysv/linux/bits/in.h
71199 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
71200
71201 2012-05-22 Roland McGrath <roland@hack.frob.com>
71202
71203 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
71204 (PREPARE_VERSION): Just use assert instead, it will be elided
71205 under [NDEBUG] anyway.
71206
71207 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
71208
71209 * sysdeps/unix/sysv/linux/Makefile: Include
71210 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
71211 (sysdep_routines): Remove sysctl.
71212 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
71213 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
71214 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
71215 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
71216 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
71217
71218 2012-05-22 Andreas Jaeger <aj@suse.de>
71219
71220 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
71221 that pseudo_end is just ret and the stack pointer is correct also
71222 for static library in error case.
71223
71224 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
71225
71226 [BZ #14122]
71227 * nss/nsswitch.c (defconfig_entries): New variable.
71228 (__nss_database_lookup): Don't leak defconfig entries.
71229 (nss_parse_service_list): Don't leak on error paths.
71230 (free_database_entries): New function.
71231 (free_defconfig): New function.
71232 (free_mem): Move common code to free_database_entries.
71233
71234 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
71235
71236 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
71237 Add arch_prctl.
71238 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
71239
71240 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
71241 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
71242 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
71243 New macro.
71244 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
71245 (INTERNAL_SYSCALL_TYPES): Likewise.
71246 (LOAD_ARGS_TYPES_[1-6]): Likewise.
71247 (LOAD_REGS_TYPES_[1-6]): Likewise.
71248 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
71249 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
71250
71251 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71252
71253 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
71254 copysignl for GLIBC_2_0.
71255 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
71256 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
71257 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
71258 logbl for GLIBC_2_0.
71259 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
71260 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
71261
71262 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
71263
71264 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
71265 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
71266
71267 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
71268 Use "neg %eax".
71269
71270 * time/mktime.c: Update copyright years.
71271
71272 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
71273
71274 mktime: merge comment-quoting-style change from gnulib
71275 * time/mktime.c: Quote 'like this' in comments.
71276 The GNU coding standards suggest that we no longer quote `like this',
71277 as "`" and "'" are typically rendered asymmetrically nowadays.
71278 The typical gnulib style is to quote 'like this' when quoting
71279 code, and "like this" when quoting English.
71280
71281 * time/mktime.c (compile-command): Add "-I.".
71282
71283 mktime: merge mktime-internal.h change from gnulib
71284 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
71285
71286 mktime: merge time_r change from gnulib
71287 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
71288
71289 mktime: merge DEBUG change from gnulib
71290 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
71291 case system <time.h> has a #define.
71292
71293 mktime: merge <sys/types.h> change from gnulib
71294 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
71295 since <time.t> is now guaranteed to define time_t.
71296
71297 mktime: merge HAVE_CONFIG_H change from gnulib
71298 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
71299
71300 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
71301
71302 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
71303 Use "neg %eax".
71304
71305 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
71306 __rlim_t cast.
71307 (struct rusage): Use anonymous union to pad each field to
71308 __syscall_slong_t.
71309
71310 2012-05-21 David S. Miller <davem@davemloft.net>
71311
71312 * Makefules (o-iterator): Remove .s cases.
71313 (compile-command.s): Delete.
71314 (COMPILE.s): Delete.
71315 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
71316
71317 2012-05-21 Joseph Myers <joseph@codesourcery.com>
71318
71319 * configure.in (libc_cv_predef_stack_protector): Only consider
71320 "foobar" and "__stack_chk_fail" lines in libc_undefs.
71321 * configure: Regenerated.
71322
71323 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
71324
71325 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
71326 New macro. Use R*LP on int and pointer.
71327 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
71328 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
71329 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
71330 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
71331
71332 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
71333 [__WORDSIZE_TIME64_COMPAT32] instead of
71334 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
71335 (struct utmp): Likewise.
71336 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
71337 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
71338 Renamed to ...
71339 (__WORDSIZE_TIME64_COMPAT32): This.
71340 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
71341 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
71342 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
71343 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
71344 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
71345 (__WORDSIZE_TIME64_COMPAT32): New macro.
71346
71347 2012-05-21 Andreas Jaeger <aj@suse.de>
71348
71349 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
71350 only if [SHARED]. Add prototype for __wcschr_ia32.
71351
71352 2012-05-21 Roland McGrath <roland@hack.frob.com>
71353
71354 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
71355 of %rbp unmolested in the jmp_buf while mangling the low bits.
71356 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
71357 unmolested high bits of %rbp while demangling the low bits.
71358 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
71359
71360 2012-05-21 Andreas Jaeger <aj@suse.de>
71361
71362 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
71363 * sunrpc/svc_simple.c: Use it for registerrpc.
71364 * sunrpc/xcrypt.c: Use it for passwd2des.
71365
71366 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
71367
71368 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
71369
71370 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
71371 Don't define if [__SYSCALL_WORDSIZE != 32].
71372 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
71373 New macro.
71374
71375 2012-05-21 Bruno Haible <bruno@clisp.org>
71376 Andreas Jaeger <aj@suse.de>
71377
71378 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
71379 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
71380 inptr and inend for must_buffer_ch.
71381 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
71382 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
71383 * stdio-common/Makefile (tests): Remove bug15.
71384 (bug15-ENV): Remove macro.
71385 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
71386 anymore.
71387
71388 2012-05-19 Andreas Jaeger <aj@suse.de>
71389 Roland McGrath <roland@hack.frob.com>
71390
71391 * manual/contrib.texi: Completely rewritten. It contains now an
71392 alphabetical list of contributors and their contributions.
71393
71394 2012-05-21 Richard Henderson <rth@twiddle.net>
71395
71396 * misc/getauxval.c (__getauxval): Use unsigned long int.
71397 * misc/sys/auxv.h: Include <sys/cdefs.h>.
71398 (getauxval): Use unsigned long int.
71399
71400 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
71401
71402 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
71403
71404 2012-05-21 Roland McGrath <roland@hack.frob.com>
71405
71406 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
71407 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
71408 __alignof__ (long double).
71409
71410 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71411
71412 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71413
71414 2012-05-20 Richard Henderson <rth@twiddle.net>
71415
71416 * misc/getauxval.c: New file.
71417 * misc/sys/auxv.h: New file.
71418 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
71419 (routines): Add getauxval.
71420 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
71421 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
71422 * elf/dl-sysdep.c (_dl_auxv): Remove.
71423 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
71424 * elf/dl-support.c (_dl_auxv): New variable.
71425 (_dl_aux_init): Initialize it.
71426 * manual/startup.texi (Auxiliary Vector): New node.
71427 * sysdeps/generic/bits/hwcap.h: New file.
71428 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
71429 * sysdeps/powerpc/sysdep.h: ... here. Include it.
71430 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
71431 * sysdeps/sparc/sysdep.h: ... here. Include it.
71432 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
71433 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
71434 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71435 Update.
71436 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
71437 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
71438 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
71439 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
71440 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
71441 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
71442 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
71443 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
71444
71445 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71446
71447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71448
71449 2012-05-19 David S. Miller <davem@davemloft.net>
71450
71451 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71452
71453 2012-05-19 Joseph Myers <joseph@codesourcery.com>
71454
71455 [BZ #14123]
71456 * math/s_ccosh.c: Include <float.h>
71457 (__ccosh): Avoid internal overflow calculating sinh and cosh
71458 values before multiplying by sin and cos values.
71459 * math/s_ccoshf.c: Likewise.
71460 * math/s_ccoshl.c: Likewise.
71461 * math/s_csin.c: Likewise.
71462 * math/s_csinf.c: Likewise.
71463 * math/s_csinl.c: Likewise.
71464 * math/s_csinh.c: Likewise.
71465 * math/s_csinhf.c: Likewise.
71466 * math/s_csinhl.c: Likewise.
71467 * math/libm-test.inc (ccos_test): Add more tests.
71468 (ccosh_test): Likewise.
71469 (csin_test): Likewise.
71470 (csinh_test): Likewise.
71471 * sysdeps/i386/fpu/libm-test-ulps: Update.
71472 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71473
71474 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
71475
71476 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
71477 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
71478
71479 * sysdeps/x86_64/x32/_itoa.h: Add comment.
71480
71481 2012-05-19 Joseph Myers <joseph@codesourcery.com>
71482
71483 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
71484 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
71485 * sysdeps/powerpc/soft-fp/Versions: Likewise.
71486 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
71487 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
71488 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
71489 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
71490 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
71491 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
71492 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
71493 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
71494 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
71495 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
71496 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
71497 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
71498 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
71499 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
71500 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
71501 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
71502 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
71503 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
71504 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
71505 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
71506 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
71507 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
71508 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
71509 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
71510 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
71511 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
71512 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
71513 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
71514
71515 2012-05-18 Andreas Jaeger <aj@suse.de>
71516
71517 * csu/.gitignore: Delete.
71518
71519 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
71520
71521 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
71522 (timex): Use __syscall_slong_t.
71523
71524 2012-05-18 Andreas Jaeger <aj@suse.de>
71525 Carlos O'Donell <carlos_odonell@mentor.com>
71526
71527 * manual/install.texi (Configuring and compiling): Update
71528 description about files modified in the source directory.
71529 * INSTALL: Regenerated.
71530
71531 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
71532
71533 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
71534 value. Use "or" to set return value to -1.
71535 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
71536 negate return value.
71537
71538 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
71539
71540 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
71541 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
71542 failure if the compiler has Graphite support disabled.
71543 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
71544 Likewise.
71545 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
71546 (CFLAGS-memmove.c): Likewise.
71547 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
71548 Likewise.
71549
71550 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
71551
71552 * sysdeps/x86_64/x32/_itoa.h: New file.
71553
71554 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
71555 getdents system call only if kernel and user dirents have the
71556 same d_ino and d_off.
71557
71558 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
71559 LLONG_MAX != LONG_MAX.
71560 (_itoa_word): Use _ITOA_WORD_TYPE on value.
71561 (_fitoa_word): Likewise.
71562
71563 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
71564 years.
71565 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
71566 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
71567 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
71568
71569 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
71570 include <bits/wordsize.h>. Check __x86_64__ instead of
71571 __WORDSIZE.
71572 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
71573 if __x86_64__ is defined. Use anonymous union on fpstate.
71574
71575 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
71576 anonymous union.
71577
71578 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
71579
71580 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
71581 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
71582 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
71583 Refer to _rtld_local_ro instead of _rtld_global_ro.
71584 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
71585 Likewise.
71586 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
71587 Likewise.
71588 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
71589 Likewise.
71590 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
71591 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
71592 of _rtld_global, and rtld_progname instead of _dl_argv[0].
71593
71594 [BZ #10882]
71595 * sysdeps/powerpc/powerpc32/dl-machine.c
71596 (__elf_machine_runtime_setup) [PROF]: Don't reference
71597 _dl_prof_resolve.
71598
71599 2012-05-18 Andreas Jaeger <aj@suse.de>
71600
71601 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
71602 function only available for GCCs before 3.4 since GCC 3.4
71603 introduced a builtin.
71604 (lrint): Likewise.
71605 (llrintf): Likewise.
71606 (llrint): Likewise.
71607 (fmaxf): Likewise.
71608 (fmax): Likewise.
71609 (fminf): Likewise.
71610 (fmin): Likewise.
71611 (rint): Likewise.
71612 (rintf): Likewise.
71613 (nearbyint): Likewise.
71614 (nearbyintf): Likewise.
71615 (ceil): Likewise.
71616 (ceilf): Likewise.
71617 (floor): Likewise.
71618 (floorf): Likewise.
71619
71620 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71621
71622 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
71623 on both fields and cast pointer to __syscall_ulong_t.
71624
71625 * bits/types.h (__fsword_t): New type.
71626 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
71627 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
71628 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71629 (__FSWORD_T_TYPE): Likewise.
71630 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71631 (__FSWORD_T_TYPE): Likewise.
71632 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71633 (__FSWORD_T_TYPE): Likewise.
71634 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
71635 (__FSWORD_T_TYPE): Likewise.
71636 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
71637 __SWORD_TYPE with __fsword_t.
71638 (statfs64): Likewise.
71639
71640 2012-05-17 David S. Miller <davem@davemloft.net>
71641
71642 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
71643
71644 2012-05-17 Andreas Jaeger <aj@suse.de>
71645
71646 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
71647 warning.
71648
71649 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71650
71651 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
71652
71653 2012-05-17 Andreas Jaeger <aj@suse.de>
71654
71655 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
71656 when it is used.
71657
71658 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
71659
71660 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
71661
71662 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71663
71664 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
71665 * sysdeps/x86_64/tst-mallocalign1.c: New file.
71666
71667 2012-05-17 Andreas Jaeger <aj@suse.de>
71668 Carlos O'Donell <carlos_odonell@mentor.com>
71669
71670 [BZ #14059]
71671 * sysdeps/x86_64/multiarch/init-arch.h
71672 (bit_YMM_Usable): Rename to...
71673 (bit_AVX_Usable): ... this.
71674 (bit_FMA4_Usable): New macro.
71675 (bit_XMM_state): New macro.
71676 (bit_YMM_state): New macro.
71677 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
71678 [__ASSEMBLER__] (index_AVX_Usable): ... this.
71679 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
71680 (CPUID_OSXSAVE): New macro.
71681 (CPUID_AVX): New macro.
71682 (CPUID_FMA4): New macro.
71683 (index_YMM_Usable): Rename to...
71684 (index_AVX_Usable): ... this.
71685 (HAS_AVX): Use HAS_ARCH_FEATURE.
71686 (HAS_FMA4): Likewise.
71687 (HAS_YMM_USABLE): Remove.
71688 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71689 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
71690 are present.
71691 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
71692 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
71693 * sysdeps/x86_64/multiarch/Makefile: Likewise.
71694 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
71695 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
71696
71697 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
71698
71699 * math/libm-test.c: Support platforms without multiple rounding modes.
71700 * math/bug-nextafter.c: Support platforms without FP exceptions.
71701 * math/bug-nexttoward.c: Likewise.
71702 * math/test-fenv.c: Likewise.
71703 * math/test-misc.c: Likewise.
71704 * stdlib/bug-getcontext.c: Likewise.
71705
71706 2012-05-17 Andreas Jaeger <aj@suse.de>
71707
71708 * manual/examples/search.c (critter_cmp): Change signature to
71709 avoid warnings.
71710 * manual/string.texi (Collation Functions): Likewise.
71711
71712 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71713
71714 * bits/types.h: Fold copyright years.
71715 * bits/typesizes.h: Likewise.
71716 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
71717 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
71718 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
71719 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
71720 * time/time.h: Likewise.
71721
71722 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
71723
71724 [BZ #208]
71725 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
71726 in instead of returning them. Return void.
71727 (__libc_mallinfo): Accumulate over all arenas.
71728 (__malloc_stats): Adjust for change in int_mallinfo interface.
71729
71730 2012-05-16 Roland McGrath <roland@hack.frob.com>
71731
71732 [BZ #10375]
71733 * configure.in (NM): Add AC_CHECK_TOOL for it.
71734 (libc_extra_cflags): New substituted variable.
71735 Check for -fstack-protector being used implicitly.
71736 * configure: Regenerated.
71737 * config.make.in (config-extra-cflags): New variable,
71738 gets @libc_extra_cflags@.
71739 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
71740
71741 [BZ #10375]
71742 * configure.in: Check for _FORTIFY_SOURCE being predefined.
71743 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
71744 * configure: Regenerated.
71745 * config.make.in (CPPUNDEFS): New substituted variable.
71746 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
71747 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
71748 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
71749
71750 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71751
71752 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
71753 (mq_attr): Use __syscall_slong_t.
71754
71755 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71756
71757 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
71758 Check __x86_64__ instead of __WORDSIZE.
71759 (_STAT_VER_LINUX): Likewise.
71760 (stat): Check __x86_64__ instead of __WORDSIZE. Use
71761 __syscall_ulong_t and __syscall_slong_t.
71762 (stat64): Likewise.
71763
71764 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71765
71766 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
71767
71768 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71769
71770 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
71771
71772 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71773
71774 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
71775 __syscall_ulong_t.
71776
71777 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
71778 include <bits/wordsize.h>. Check __x86_64__ instead of
71779 __WORDSIZE.
71780 (greg_t): Use "__extension__ long long int" if __x86_64__ is
71781 defined.
71782 (mcontext_t): Replace "unsigned long" with "unsigned long long".
71783
71784 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
71785 include <bits/wordsize.h>. Check __x86_64__ instead of
71786 __WORDSIZE.
71787 (user_regs_struct): Use "__extension__ unsigned long long"
71788 instead of "unsigned long" if __x86_64__ is defined.
71789 (user): Likewise. Pad after pointer field if __ILP32__ is
71790 defined.
71791
71792 2012-05-16 Joseph Myers <joseph@codesourcery.com>
71793
71794 * configure.in (makeinfo): Require version 4.5 or later. Allow
71795 versions 5 to 9.
71796 * configure: Regenerated.
71797 * manual/install.texi (texinfo): Increase version requirement to
71798 4.5 or later.
71799 * INSTALL: Regenerated.
71800
71801 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
71802
71803 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71804
71805 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
71806
71807 * sysdeps/x86_64/x32/ffs.c: New file.
71808
71809 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
71810 __syscall_ulong_t.
71811 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
71812 defined. Use __syscall_ulong_t.
71813 (shminfo): Use __syscall_ulong_t.
71814 (shm_info): Likewise.
71815
71816 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
71817 __syscall_ulong_t.
71818
71819 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
71820 <bits/wordsize.h>.
71821 (msgqnum_t): Use __syscall_ulong_t.
71822 (msglen_t): Likewise.
71823 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
71824 __syscall_ulong_t.
71825
71826 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
71827 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
71828
71829 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
71830
71831 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
71832 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
71833
71834 * sysvipc/sys/msg.h (msgbuf): Replace long int with
71835 __syscall_slong_t.
71836
71837 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
71838 include <bits/wordsize.h>. Check __x86_64__ instead of
71839 __WORDSIZE.
71840
71841 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
71842 "unsigned long long int" if __x86_64__ is defined.
71843 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
71844
71845 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
71846 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
71847 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
71848
71849 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
71850 <stdint.h>.
71851 (GET_PC): Cast to uintptr_t first.
71852 (GET_FRAME): Likewise.
71853 (GET_STACK): Likewise.
71854
71855 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
71856 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
71857 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
71858 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
71859 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
71860 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
71861 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
71862 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
71863 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
71864 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
71865 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
71866 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
71867 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71868 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
71869 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
71870 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
71871 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
71872 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
71873 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
71874 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
71875 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
71876 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
71877 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
71878 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
71879 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
71880 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
71881 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
71882 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
71883 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
71884
71885 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
71886
71887 * Makerules (+depfiles): Also collect depfiles from .oS in
71888 $(extra-objs).
71889 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
71890 .oS, $(libnldbl-routines)).
71891
71892 * Makerules (native-compile-mkdep-flags): Define.
71893 * sunrpc/Makefile (extra-objs): Add $(addprefix
71894 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
71895 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
71896 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
71897 calling $(make-target-directory).
71898
71899 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71900
71901 * bits/types.h (__snseconds_t): Removed.
71902 * time/time.h (struct timespec): Replace __snseconds_t with
71903 __syscall_slong_t.
71904 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
71905 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
71906 Likewise.
71907 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71908 (__SNSECONDS_T_TYPE): Likewise.
71909 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71910 (__SNSECONDS_T_TYPE): Likewise.
71911 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71912 (__SNSECONDS_T_TYPE): Likewise.
71913
71914 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71915
71916 * sysdeps/mach/hurd/bits/typesizes.h
71917 (__SYSCALL_SLONG_TYPE): New macro.
71918 (__SYSCALL_ULONG_TYPE): Likewise.
71919
71920 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71921
71922 * bits/types.h (__syscall_slong_t): New type.
71923 (__syscall_ulong_t): Likewise.
71924
71925 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
71926 (__SYSCALL_ULONG_TYPE): Likewise.
71927 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71928 (__SYSCALL_SLONG_TYPE): Likewise.
71929 (__SYSCALL_ULONG_TYPE): Likewise.
71930 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71931 (__SYSCALL_SLONG_TYPE): Likewise.
71932 (__SYSCALL_ULONG_TYPE): Likewise.
71933 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71934 (__SYSCALL_SLONG_TYPE): Likewise.
71935 (__SYSCALL_ULONG_TYPE): Likewise.
71936
71937 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71938
71939 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
71940 Add sigaltstack-offsets.sym.
71941 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
71942 <sigaltstack-offsets.h>.
71943 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
71944 longjmp_msg pointer.
71945 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
71946 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
71947 signal stack.
71948 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
71949
71950 2012-05-15 Joseph Myers <joseph@codesourcery.com>
71951
71952 * elf/stackguard-macros.h: Remove file.
71953 * sysdeps/generic/stackguard-macros.h: New file.
71954 * sysdeps/i386/stackguard-macros.h: Likewise.
71955 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
71956 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
71957 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
71958 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
71959 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
71960 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
71961 * sysdeps/x86_64/stackguard-macros.h: Likewise.
71962 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
71963 <elf/stackguard-macros.h>.
71964
71965 [BZ #14109]
71966 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
71967 __aligned__ in attribute.
71968 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
71969 (gregset_t): Likewise.
71970
71971 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71972
71973 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
71974 * sysdeps/x86_64/64/Implies-after: Here. New file.
71975 * sysdeps/x86_64/x32/Implies-after: New file.
71976
71977 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71978
71979 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
71980 and access return value for _dl_profile_fixup. Use R10_LP to
71981 load frame size.
71982
71983 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71984
71985 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
71986
71987 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71988
71989 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
71990 * sysdeps/x86_64/x32/sysdep.h: New file.
71991
71992 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71993
71994 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
71995 * sysdeps/x86_64/setjmp.S: Likewise.
71996
71997 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71998
71999 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
72000 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
72001 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
72002 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
72003 remove unused global constant.
72004
72005 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
72006
72007 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
72008 include of <not-cancel.h>.
72009
72010 2012-05-15 Roland McGrath <roland@hack.frob.com>
72011
72012 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
72013
72014 2012-05-15 Jeff Law <law@redhat.com>
72015 Andreas Jaeger <aj@suse.de>
72016
72017 [BZ #13594]
72018 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
72019 out from...
72020 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
72021 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
72022 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
72023 code changing __hst_map_handle.map.
72024
72025 2012-05-15 Roland McGrath <roland@hack.frob.com>
72026
72027 * configure.in (sysnames): Look for Implies-before and Implies-after
72028 files.
72029 * configure: Regenerated.
72030
72031 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72032
72033 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
72034 8-byte data alignment with LP_SIZE alignment.
72035
72036 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72037
72038 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
72039 into R10_LP.
72040
72041 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72042
72043 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
72044
72045 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72046
72047 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
72048 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
72049 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
72050 Likewise.
72051 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
72052
72053 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72054
72055 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
72056 (stackinfo_sub_sp): Likewise.
72057
72058 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72059
72060 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
72061 RAX_LP.
72062
72063 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72064
72065 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
72066 into R*_LP.
72067
72068 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72069
72070 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
72071 sizes into R*_LP.
72072
72073 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72074
72075 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
72076
72077 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72078
72079 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
72080 into R11_LP and load __x86_64_shared_cache_size_half into
72081 R8_LP.
72082
72083 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72084
72085 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
72086 R8_LP.
72087
72088 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72089
72090 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
72091 logb for POWER7.
72092 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
72093 logbf for POWER7.
72094 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
72095 logbl for POWER7.
72096 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
72097 powerpc32/power7/fpu/s_logb.c via #include.
72098 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
72099 powerpc32/power7/fpu/s_logbf.c via #include.
72100 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
72101 powerpc32/power7/fpu/s_logbl.c via #include.
72102
72103 2012-05-15 Joseph Myers <joseph@codesourcery.com>
72104
72105 * README.libm: Remove file.
72106
72107 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
72108
72109 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
72110 count for x32. Use R*_LP and omit operand-size suffix.
72111
72112 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
72113
72114 * shlib-versions: Move x86_64-.*-linux.* entries to ...
72115 * sysdeps/x86_64/64/shlib-versions: Here. New file.
72116 * sysdeps/x86_64/x32/shlib-versions: New file.
72117
72118 2012-05-14 Roland McGrath <roland@hack.frob.com>
72119
72120 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
72121 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
72122 Use _dl_fatal_printf instead.
72123
72124 2012-05-14 Joseph Myers <joseph@codesourcery.com>
72125
72126 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
72127 set if not set by the user. Do not allow for being unset.
72128 * sysdeps/unix/sysv/linux/configure: Regenerated.
72129
72130 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
72131
72132 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
72133 the `q' suffix from lea and replace .quad with ASM_ADDR.
72134
72135 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
72136
72137 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
72138 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
72139 instead of $17.
72140 (PTR_DEMANGLE): Likewise.
72141
72142 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
72143
72144 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
72145 (LP_OP): Likewise.
72146 (ASM_ADDR): Likewise.
72147 (RAX_LP): Likewise.
72148 (RBP_LP): Likewise.
72149 (RBX_LP): Likewise.
72150 (RCX_LP): Likewise.
72151 (RDI_LP): Likewise.
72152 (RSI_LP): Likewise.
72153 (RSP_LP): Likewise.
72154 (R8_LP): Likewise.
72155 (R9_LP): Likewise.
72156 (R10_LP): Likewise.
72157 (R10_LP): Likewise.
72158 (R11_LP): Likewise.
72159 (R12_LP): Likewise.
72160 (R13_LP): Likewise.
72161 (R14_LP): Likewise.
72162 (R15_LP): Likewise.
72163
72164 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
72165
72166 * sysdeps/x86_64/x32/dl-machine.h: New file.
72167
72168 2012-05-14 Andreas Jaeger <aj@suse.de>
72169
72170 * manual/Makefile (subdir): Remove export of subdir.
72171 (all): Remove target.
72172 (.PHONY): Remove all from list.
72173 (mkinstalldirs): Remove.
72174 (.PHONY): Remove installdirs from list.
72175 ($(inst_infodir)/libc.info): Use make-target-directory.
72176 (installdirs): Remove.
72177 (subdir_%): Remove.
72178 (glibc-targets): Remove.
72179 (lib): Remove.
72180 (stubs): Remove.
72181 ($(objpfx)stubs ../po/manual.pot): Remove.
72182 ($(objpfx)stamp%): Remove.
72183 (make-target-directory): Remove.
72184 (subdir_install): Remove.
72185 (routines): Remove.
72186 (aux): Remove.
72187 (sources): Remove.
72188 (objects): Remove.
72189 (headers): Remove.
72190
72191 [BZ #13750]
72192 * manual/.gitignore: Remove, it's not needed anymore.
72193 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
72194 all files in it.
72195 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
72196 directory.
72197 (texis): Renamed to $(objpfx)texis.
72198 (texis-path): New, contains path to generated files.
72199 (chapters.%): Use texis-path for complete path, add extra argument
72200 libc-texinfo.sh.
72201 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
72202 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
72203 (summary,texi, stamp-summary): Use complete path of
72204 files. Generate files in build dir.
72205 (dir-add.texi): Build in build dir.
72206 (libm-err.texi,stamp-libm-err): Likewise.
72207 (version.texi, stamp-version): Likewise.
72208 (.%c.texi): Likewise.
72209 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
72210 (mostlyclean): Remove target.
72211 (realclean): Remove target.
72212 (generated): Add new variable with contents from mostlyclean and
72213 realclean, remove entries duplicated in common-mostlyclean, add
72214 stamp-libm-err and stamp-version.
72215 (generated-dirs): Add libc directory.
72216 ($(inst_infodir)/libc.info): Install files from build dir.
72217
72218 * manual/install.texi (Configuring and compiling): Adjust since
72219 the info files are not part of the tar ball anymore.
72220
72221 2012-05-14 Andreas Jaeger <aj@suse.de>
72222
72223 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
72224 variable.
72225
72226 2012-05-14 Joseph Myers <joseph@codesourcery.com>
72227
72228 [BZ #13717]
72229 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
72230 to 2.2.0 where earlier.
72231 * sysdeps/unix/sysv/linux/configure: Regenerated.
72232 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
72233 Remove conditional code.
72234 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
72235 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
72236 Remove conditional code.
72237 [!__NR_lchown]: Likewise.
72238 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
72239 [__NR_lchown]: Likewise.
72240 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
72241 comment referencing __ASSUME_LCHOWN_SYSCALL.
72242 * sysdeps/unix/sysv/linux/i386/sigaction.c
72243 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72244 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72245 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
72246 Remove conditional code.
72247 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
72248 (__protocol_available): Remove #if 0 code.
72249 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
72250 conditional code.
72251 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
72252 * sysdeps/unix/sysv/linux/kernel-features.h
72253 (__ASSUME_GETCWD_SYSCALL): Don't define.
72254 (__ASSUME_REALTIME_SIGNALS): Likewise.
72255 (__ASSUME_PREAD_SYSCALL): Likewise.
72256 (__ASSUME_PWRITE_SYSCALL): Likewise.
72257 (__ASSUME_POLL_SYSCALL): Likewise.
72258 (__ASSUME_LCHOWN_SYSCALL): Likewise.
72259 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
72260 non-SPARC.
72261 (__ASSUME_SIOCGIFNAME): Don't define.
72262 (__ASSUME_MSG_NOSIGNAL): Likewise.
72263 (__ASSUME_SENDFILE): Define unconditionally.
72264 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
72265 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
72266 conditional code.
72267 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
72268 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
72269 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
72270 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
72271 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
72272 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
72273 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
72274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
72275 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72276 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72277 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
72278 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72279 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
72281 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72282 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72283 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
72284 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72285 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
72287 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72288 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
72290 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72291 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
72293 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72294 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
72296 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72297 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72298 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
72299 Remove conditional code.
72300 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72301 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
72302 Remove conditional code.
72303 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72304 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
72305 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
72306 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
72307 Remove conditional code.
72308 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72309 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
72310 Remove conditional code.
72311 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72312 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
72313 Remove conditional code.
72314 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72315 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
72316 Remove conditional code.
72317 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72318 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
72319 Remove conditional code.
72320 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72321 * sysdeps/unix/sysv/linux/sh/pwrite64.c
72322 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72323 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72324 * sysdeps/unix/sysv/linux/sigaction.c
72325 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72326 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72327 * sysdeps/unix/sysv/linux/sigpending.c
72328 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72329 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72330 * sysdeps/unix/sysv/linux/sigprocmask.c
72331 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72332 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72333 * sysdeps/unix/sysv/linux/sigsuspend.c
72334 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72335 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72336 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
72337 (__libc_missing_rt_sigs): Remove.
72338 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
72339 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
72340 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
72341 Remove conditional code.
72342 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
72343 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
72344 return 1.
72345 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
72346 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
72347 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
72348 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
72349
72350 2012-05-14 Andreas Jaeger <aj@suse.de>
72351
72352 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
72353 it's not used in glibc.
72354 (__coshm1): Likewise.
72355 (__acosh1p): Likewise.
72356 (__sgn): Likewise.
72357
72358 * manual/string.texi (Copying and Concatenation): Add missing
72359 variable in concat example.
72360 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
72361
72362 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
72363
72364 [BZ #14103]
72365 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
72366 __builtin_clzl with __builtin_clzll.
72367
72368 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
72369
72370 [BZ #14104]
72371 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
72372 libc_freeres_ptr.
72373
72374 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72375
72376 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
72377 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
72378 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
72379 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
72380
72381 2012-05-14 Mike Frysinger <vapier@gentoo.org>
72382
72383 * NEWS: Update ia64 info.
72384
72385 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
72386
72387 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
72388 used as bcopy.
72389
72390 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
72391
72392 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
72393 * sysdeps/unix/syscalls.list (dup3): Likewise.
72394 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
72395 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
72396
72397 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
72398
72399 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
72400 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
72401
72402 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
72403
72404 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
72405 thread pointer.
72406 (TLS_IE): Use mov/add instead of movq/addq to load thread
72407 pointer.
72408 (TLS_GD_PREFIX): New.
72409 (TLS_GD): Use it.
72410
72411 2012-05-11 David S. Miller <davem@davemloft.net>
72412
72413 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
72414 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
72415 (_FPU_SETCW): Likewise.
72416
72417 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
72418
72419 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
72420 is 32-byte aligned.
72421
72422 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
72423
72424 [BZ #11837]
72425 * iconvdata/gb18030.c: Update tables.
72426 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
72427 characters specially.
72428 (BODY for TO_LOOP): Add encoding of missing ranges.
72429
72430 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
72431
72432 [BZ #13673]
72433 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
72434 * sysdeps/mach/hurd/dup3.c: Likewise.
72435 * sysdeps/mach/hurd/readlinkat.c: Likewise.
72436 * sysdeps/powerpc/memmove.c:: Likewise.
72437
72438 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
72439
72440 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
72441 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
72442
72443 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
72444
72445 * elf/elf.h (R_X86_64_RELATIVE64): New.
72446 (R_X86_64_NUM): Updated.
72447 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
72448 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
72449 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
72450 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
72451 tst-quad1pie tst-quad2pie
72452 (modules-names): Add tst-quadmod1 tst-quadmod2.
72453 ($(objpfx)tst-quad1): New dependency.
72454 ($(objpfx)tst-quad2): Likewise.
72455 ($(objpfx)tst-quad1pie): Likewise.
72456 ($(objpfx)tst-quad2pie): Likewise.
72457 * sysdeps/x86_64/tst-quad1.c: New file.
72458 * sysdeps/x86_64/tst-quad1pie.c: New file.
72459 * sysdeps/x86_64/tst-quad2.c: Likewise.
72460 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
72461 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
72462 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
72463 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
72464 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
72465
72466 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72467
72468 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
72469 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
72470 * streams/stropts.h (t_scalar_t): Define type.
72471
72472 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
72473 (_PATH_PRESERVE): Set to "/var/lib".
72474 (_PATH_RWHODIR): Set to "/var/spool/rwho".
72475
72476 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
72477 instead of int.
72478
72479 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
72480 if __dir_mkfile succeeded.
72481
72482 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
72483 checking for _hurd_dtablesize. Unlock it right after having
72484 finished _hurd_dtable allocation.
72485
72486 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72487
72488 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
72489 * sysdeps/mach/hurd/configure: Regenerated.
72490 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
72491 special-casing to...
72492 * sysdeps/gnu/configure.in: ... this new file.
72493 * sysdeps/unix/sysv/linux/configure: Regenerated.
72494 * sysdeps/gnu/configure: New generated file.
72495
72496 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
72497 for Linux: use nsec instead of usec, as well as:
72498 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
72499 members of type struct timespec.
72500 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
72501 New macros.
72502 (struct stat64): Likewise.
72503 (_STATBUF_ST_NSEC): New macro.
72504 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
72505
72506 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
72507 __strtoul_internal rather than strtoul.
72508
72509 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72510
72511 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
72512 and reject them.
72513
72514 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72515
72516 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
72517 which preserves existing values.
72518 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
72519
72520 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72521
72522 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
72523 TIMEOUT values. Return EINVAL for NFDS values either negative or
72524 greater than FD_SETSIZE.
72525
72526 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72527
72528 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
72529 allocated, call __vm_protect to finish enabling the existing space, and
72530 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
72531 allocate the remainder.
72532
72533 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72534
72535 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
72536 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
72537
72538 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72539
72540 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
72541 sysdeps/mach/hurd/readlink.c.
72542
72543 * posix/tst-sysconf.c (posix_options): Only use
72544 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
72545 _POSIX_SYNCHRONIZED_IO when they are defined
72546 * sysdeps/mach/hurd/bits/posix_opt.h:
72547 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
72548 (_XOPEN_REALTIME): Undefine macro.
72549 (_XOPEN_REALTIME_THREADS): Undefine macro.
72550 (_XOPEN_SHM): Undefine macro.
72551 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
72552 macro to -1.
72553 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
72554 macro to -1.
72555 (_POSIX_ASYNC_IO): Undefine macro.
72556 (_POSIX_PRIORITIZED_IO): Undefine macro.
72557 (_POSIX_SPIN_LOCKS): Define macro to -1.
72558
72559 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
72560 SA_NODEFER, SA_RESETHAND.
72561 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
72562 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
72563 F_DUPFD_CLOEXEC.
72564
72565 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72566
72567 * elf/Makefile (pldd-modules): Define unconditionally.
72568
72569 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72570
72571 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
72572
72573 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72574
72575 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
72576 Return ENOENT when name is empty.
72577 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
72578
72579 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72580
72581 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
72582
72583 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
72584
72585 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72586
72587 Fix mlock in all cases except non-readable pages.
72588 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
72589 instead of VM_PROT_ALL as parameter to __vm_wire function.
72590
72591 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
72592 (__mkdir): When path is `/', just fail with EEXIST.
72593 * sysdeps/mach/hurd/mkdirat.c: Likewise.
72594
72595 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72596
72597 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
72598 <sys/uio.h> (for writev).
72599 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
72600 and <sys/param.h> (for MIN).
72601
72602 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72603
72604 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
72605 REQUESTED_TIME. Properly set the remaining time and return EINTR
72606 if interrupted.
72607
72608 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72609
72610 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
72611 Depend on against $(link-rpcuserlibs).
72612
72613 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72614
72615 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
72616 (__libc_stack_end): Do not use attribute_relro.
72617 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
72618 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
72619 to libthread-provided value.
72620 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
72621 attribute_relro.
72622
72623 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72624
72625 [BZ #3748]
72626 * bits/libc-lock.h (__libc_once_get): New macro.
72627 * sysdeps/mach/bits/libc-lock.h: Likewise.
72628 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
72629 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
72630 instead of using implementation details.
72631
72632 * libio/fileops.c: Unconditionally include <kernel-features.h>.
72633 * libio/freopen.c: Likewise.
72634 * libio/freopen64.c: Likewise.
72635 * misc/syslog.c: Likewise.
72636 * nscd/connections.c: Likewise.
72637 * nscd/netgroupcache.c: Likewise.
72638 * sysdeps/posix/getcwd.c: Likewise.
72639
72640 2012-05-10 Roland McGrath <roland@hack.frob.com>
72641
72642 * math/w_ilogbf.c: Add #include <limits.h>.
72643
72644 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72645
72646 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
72647 path instead of returning without unlocking.
72648
72649 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
72650 immediate-write ioctls.
72651 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
72652
72653 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72654
72655 * sysdeps/mach/hurd/i386/init-first.c (init): Use
72656 __builtin_frame_address instead of making assumptions about the
72657 location of the return address relative to DATA. Force early load of
72658 the return address.
72659 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
72660 __builtin_frame_address.
72661
72662 dup3 for GNU Hurd.
72663 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
72664 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
72665 implement dup3 and do some further code clean-ups.
72666 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
72667 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
72668
72669 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72670
72671 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
72672
72673 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
72674 HURD_CRITICAL_END around holding _hurd_dtable_lock.
72675 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
72676 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
72677 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
72678 d->port.lock.
72679
72680 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
72681 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
72682 when handler == SIG_ERR, not when handler != SIG_ERR.
72683
72684 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72685
72686 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
72687 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
72688 definitions.
72689
72690 accept4 for GNU Hurd.
72691 * include/sys/socket.h (__libc_accept4): New prototype.
72692 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
72693 to implement __libc_accept4.
72694 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
72695 __libc_accept4.
72696 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
72697
72698 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
72699 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
72700 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
72701 signal-defines.sym.
72702
72703 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72704
72705 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
72706
72707 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72708
72709 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
72710 assertion on O_CLOEXEC flag.
72711 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
72712 * hurd/intern-fd.c: Likewise.
72713 * hurd/port2fd.c: Likewise.
72714
72715 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72716
72717 [BZ #3906]
72718 * bits/in.h (IPV6_PKTINFO): Define new macro.
72719 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
72720
72721 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72722
72723 [BZ #13954]
72724 [BZ #13955]
72725 [BZ #13956]
72726 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
72727 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
72728 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
72729 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
72730 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72731 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
72732 * math/libm-test.inc (logb_test) : Additional logb tests.
72733
72734 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
72735 Andreas Jaeger <aj@suse.de>
72736
72737 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
72738 * configure: Regenerated.
72739 * config.h.in (LINK_OBSOLETE_RPC): New macro.
72740 * config.make.in (link-obsolete-rpc): New substituted variable.
72741 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
72742 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
72743 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72744 (shared-only-routines): Don't set it under [link-obsolete-rpc],
72745 so that libc.a contains the symbols.
72746 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72747 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
72748 * sunrpc/auth_none.c: Likewise.
72749 * sunrpc/auth_unix.c: Likewise.
72750 * sunrpc/authdes_prot.c: Likewise.
72751 * sunrpc/authuxprot.c: Likewise.
72752 * sunrpc/clnt_gen.c: Likewise.
72753 * sunrpc/clnt_perr.c: Likewise.
72754 * sunrpc/clnt_raw.c: Likewise.
72755 * sunrpc/clnt_simp.c: Likewise.
72756 * sunrpc/clnt_tcp.c: Likewise.
72757 * sunrpc/clnt_udp.c: Likewise.
72758 * sunrpc/clnt_unix.c: Likewise.
72759 * sunrpc/des_crypt.c: Likewise.
72760 * sunrpc/des_soft.c: Likewise.
72761 * sunrpc/get_myaddr.c: Likewise.
72762 * sunrpc/key_call.c: Likewise.
72763 * sunrpc/key_prot.c: Likewise.
72764 * sunrpc/netname.c: Likewise.
72765 * sunrpc/pm_getmaps.c: Likewise.
72766 * sunrpc/pm_getport.c: Likewise.
72767 * sunrpc/pmap_clnt.c: Likewise.
72768 * sunrpc/pmap_prot.c: Likewise.
72769 * sunrpc/pmap_prot2.c: Likewise.
72770 * sunrpc/pmap_rmt.c: Likewise.
72771 * sunrpc/publickey.c: Likewise.
72772 * sunrpc/rpc_cmsg.c: Likewise.
72773 * sunrpc/rpc_common.c: Likewise.
72774 * sunrpc/rpc_dtable.c: Likewise.
72775 * sunrpc/rpc_prot.c: Likewise.
72776 * sunrpc/rpc_thread.c: Likewise.
72777 * sunrpc/rtime.c: Likewise.
72778 * sunrpc/svc.c: Likewise.
72779 * sunrpc/svc_auth.c: Likewise.
72780 * sunrpc/svc_raw.c: Likewise.
72781 * sunrpc/svc_run.c: Likewise.
72782 * sunrpc/svc_tcp.c: Likewise.
72783 * sunrpc/svc_udp.c: Likewise.
72784 * sunrpc/svc_unix.c: Likewise.
72785 * sunrpc/svcauth_des.c: Likewise.
72786 * sunrpc/xcrypt.c: Likewise.
72787 * sunrpc/xdr.c: Likewise.
72788 * sunrpc/xdr_array.c: Likewise.
72789 * sunrpc/xdr_float.c: Likewise.
72790 * sunrpc/xdr_intXX_t.c: Likewise.
72791 * sunrpc/xdr_mem.c: Likewise.
72792 * sunrpc/xdr_rec.c: Likewise.
72793 * sunrpc/xdr_ref.c: Likewise.
72794 * sunrpc/xdr_sizeof.c: Likewise.
72795 * sunrpc/xdr_stdio.c: Likewise.
72796
72797 2012-05-10 Roland McGrath <roland@hack.frob.com>
72798
72799 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
72800 change. Update copyright years.
72801
72802 2012-05-10 Joseph Myers <joseph@codesourcery.com>
72803
72804 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
72805
72806 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
72807 Joseph Myers <joseph@codesourcery.com>
72808 Paul Pluzhnikov <ppluzhnikov@google.com>
72809
72810 [BZ #14012]
72811 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
72812 requiring rpcgen.
72813 [cross-compiling] (extra-libs): Likewise.
72814 [cross-compiling] (extra-libs-others): Likewise.
72815 [cross-compiling] (librpcsvc-routines): Likewise.
72816 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
72817 [cross-compiling] (omit-deps): Likewise.
72818 (sunrpc-CPPFLAGS): New variable.
72819 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
72820 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
72821 (cross-rpcgen-objs): New variable.
72822 (extra-objs): Append $(cross-rpcgen-objs).
72823 ($(cross-rpcgen-objs)): New rule.
72824 ($(objpfx)cross-rpcgen): Likewise.
72825 (rpcgen-cmd): Define to use $(built-program-file). Expand
72826 comment.
72827 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
72828 ($(objpfx)x%.stmp): Likewise.
72829 * sunrpc/proto.h [IS_IN_build] (_): Define.
72830 [IS_IN_build] (_libc_intl_domainname): Likewise.
72831
72832 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
72833
72834 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
72835 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
72836 and R_X86_64_TPOFF64.
72837
72838 2012-05-10 Joseph Myers <joseph@codesourcery.com>
72839
72840 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
72841 sysdeps/unix/sysv/syscalls.list.
72842 (stime): Likewise.
72843 (utime): Likewise.
72844 * sysdeps/unix/sysv/syscalls.list: Remove file.
72845
72846 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
72847
72848 [BZ #3440]
72849 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
72850 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
72851 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
72852 (__LC_IDENTIFICATION): Make these macros useful in #if
72853 expressions, as required by C99.
72854
72855 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
72856
72857 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
72858 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
72859 after this.
72860
72861 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
72862
72863 * stdlib/longlong.h: Updated from GCC.
72864
72865 2012-05-09 Andreas Jaeger <aj@suse.de>
72866
72867 * nscd/nscd.c (run_modes): Make named enum, reorder so that
72868 default is first entry.
72869 (run_mode): Set type.
72870 (main): Remove informal message about syslog.
72871 (options): Fix typo.
72872
72873 [BZ #14053]
72874 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
72875 to asm.
72876 (lrint): Likewise.
72877 (llrintf): Likewise.
72878 (llrint): Likewise.
72879 (rint): Likewise.
72880 (rintf): Likewise.
72881 (nearbyint): Likewise.
72882 (nearbyintf): Likewise.
72883
72884 2012-05-09 Andreas Jaeger <aj@suse.de>
72885 Pedro Alves <palves@redhat.com>
72886
72887 * nscd/nscd.c (run_mode): Use enum.
72888 (main): Cleanup coding style issue.
72889
72890 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
72891 Andreas Jaeger <aj@suse.de>
72892
72893 * nscd/nscd.c (go_background): Replaced with...
72894 (run_mode): ... this.
72895 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
72896 (options): Add -F --foreground.
72897 (main): Implement it.
72898 (parse_opt): Parse it.
72899
72900 2012-05-09 Andreas Jaeger <aj@suse.de>
72901
72902 [BZ #14083]
72903 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
72904 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
72905 -Wconversion warning.
72906 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
72907 Likewise.
72908
72909 2012-05-09 Joseph Myers <joseph@codesourcery.com>
72910
72911 * conform/data/locale.h-data (NULL): Use macro-constant. Require
72912 == 0.
72913 (LC_ALL): Use macro-int-constant.
72914 (LC_COLLATE): Likewise.
72915 (LC_CTYPE): Likewise.
72916 (LC_MESSAGES): Likewise.
72917 (LC_MONETARY): Likewise.
72918 (LC_NUMERIC): Likewise.
72919 (LC_TIME): Likewise.
72920 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
72921 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72922 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72923 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
72924 Specify type.
72925 [C99-based standards] (float_t): Expect type.
72926 [C99-based standards] (double_t): Expect type.
72927 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
72928 type.
72929 [C99-based standards] (HUGE_VALL): Likewise.
72930 [C99-based standards] (INFINITY): Likewise.
72931 [C99-based standards] (NAN): Likewise.
72932 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
72933 [C99-based standards] (FP_NAN): Likewise.
72934 [C99-based standards] (FP_NORMAL): Likewise.
72935 [C99-based standards] (FP_SUBNORMAL): Likewise.
72936 [C99-based standards] (FP_ZERO): Likewise.
72937 [C99-based standards] (FP_FAST_FMA): Use
72938 optional-macro-int-constant. Specify type. Require == 1.
72939 [C99-based standards] (FP_FAST_FMAF): Likewise.
72940 [C99-based standards] (FP_FAST_FMAL): Likewise.
72941 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
72942 [C99-based standards] (FP_ILOGBNAN): Likewise.
72943 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
72944 Specify type.
72945 [C99-based standards] (MATH_ERREXCEPT): Likewise.
72946 [C99-based standards] (math_errhandling): Specify type.
72947 [ISO99 || ISO11] (signgam): Do not allow.
72948 [non-C99-based standards] (copysignf): Do not allow.
72949 [non-C99-based standards] (exp2f): Likewise.
72950 [non-C99-based standards] (log2f): Likewise.
72951 [non-C99-based standards] (modff): Allow.
72952 [non-C99-based standards] (erff): Do not allow.
72953 [non-C99-based standards] (erfcf): Likewise.
72954 [non-C99-based standards] (gammaf): Likewise.
72955 [non-C99-based standards] (hypotf): Likewise.
72956 [non-C99-based standards] (j0f): Likewise.
72957 [non-C99-based standards] (j1f): Likewise.
72958 [non-C99-based standards] (jnf): Likewise.
72959 [non-C99-based standards] (lgammaf): Likewise.
72960 [non-C99-based standards] (tgammaf): Likewise.
72961 [non-C99-based standards] (y0f): Likewise.
72962 [non-C99-based standards] (y1f): Likewise.
72963 [non-C99-based standards] (ynf): Likewise.
72964 [non-C99-based standards] (isnanf): Likewise.
72965 [non-C99-based standards] (acoshf): Likewise.
72966 [non-C99-based standards] (asinhf): Likewise.
72967 [non-C99-based standards] (atanhf): Likewise.
72968 [non-C99-based standards] (cbrtf): Likewise.
72969 [non-C99-based standards] (expm1f): Likewise.
72970 [non-C99-based standards] (ilogbf): Likewise.
72971 [non-C99-based standards] (log1pf): Likewise.
72972 [non-C99-based standards] (logbf): Likewise.
72973 [non-C99-based standards] (nextafterf): Likewise.
72974 [non-C99-based standards] (remainderf): Likewise.
72975 [non-C99-based standards] (rintf): Likewise.
72976 [non-C99-based standards] (scalbf): Likewise.
72977 [non-C99-based standards] (copysignl): Likewise.
72978 [non-C99-based standards] (exp2l): Likewise.
72979 [non-C99-based standards] (log2l): Likewise.
72980 [non-C99-based standards] (modfl): Allow.
72981 [non-C99-based standards] (erfl): Do not allow.
72982 [non-C99-based standards] (erfcl): Likewise.
72983 [non-C99-based standards] (gammal): Likewise.
72984 [non-C99-based standards] (hypotl): Likewise.
72985 [non-C99-based standards] (j0l): Likewise.
72986 [non-C99-based standards] (j1l): Likewise.
72987 [non-C99-based standards] (jnl): Likewise.
72988 [non-C99-based standards] (lgammal): Likewise.
72989 [non-C99-based standards] (tgammal): Likewise.
72990 [non-C99-based standards] (y0l): Likewise.
72991 [non-C99-based standards] (y1l): Likewise.
72992 [non-C99-based standards] (ynl): Likewise.
72993 [non-C99-based standards] (isnanl): Likewise.
72994 [non-C99-based standards] (acoshl): Likewise.
72995 [non-C99-based standards] (asinhl): Likewise.
72996 [non-C99-based standards] (atanhl): Likewise.
72997 [non-C99-based standards] (cbrtl): Likewise.
72998 [non-C99-based standards] (expm1l): Likewise.
72999 [non-C99-based standards] (ilogbl): Likewise.
73000 [non-C99-based standards] (log1pl): Likewise.
73001 [non-C99-based standards] (logbl): Likewise.
73002 [non-C99-based standards] (nextafterl): Likewise.
73003 [non-C99-based standards] (remainderl): Likewise.
73004 [non-C99-based standards] (rintl): Likewise.
73005 [non-C99-based standards] (scalbl): Likewise.
73006 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73007 [non-C99-based standards] (FP_*): Do not allow.
73008 [C99-based standards] (FP_*): Change to
73009 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
73010 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
73011 allow.
73012 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
73013 (SIG_ERR): Likewise.
73014 [X/Open-based standards] (SIG_HOLD): Likewise.
73015 (SIG_IGN): Likewise.
73016 (SIGABRT): Use macro-int-constant. Specify type. Require
73017 positive value.
73018 (SIGFPE): Likewise.
73019 (SIGILL): Likewise.
73020 (SIGINT): Likewise.
73021 (SIGSEGV): Likewise.
73022 (SIGTER): Likewise.
73023 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
73024 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
73025 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
73026 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
73027 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
73028 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
73029 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
73030 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
73031 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
73032 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
73033 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
73034 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
73035 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
73036 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
73037 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
73038 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
73039 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
73040 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
73041 [X/Open-based standards] (SIGTRAP): Likewise.
73042 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
73043 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
73044 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
73045 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
73046 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
73047 allow.
73048
73049 2012-05-08 Ian Wienand <ianw@vmware.com>
73050
73051 [BZ #14080]
73052 * time/tzset.c (__tzset_parse_tz): Update default rules for
73053 daylight time changes in the Energy Policy Act of 2005.
73054
73055 2012-05-09 Andreas Jaeger <aj@suse.de>
73056
73057 [BZ #13983]
73058 * elf/ldconfig.c (parse_conf): Change string to make clear that
73059 ldconfig only issued a warning if ld.so.conf does not exist.
73060
73061 2012-05-08 David S. Miller <davem@davemloft.net>
73062
73063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
73064 movxtod instead of popping the value on the stack.
73065
73066 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73067
73068 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
73069
73070 * config.h.in: Add HAVE_ARM_PCS_VFP.
73071
73072 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
73073
73074 [BZ #13979]
73075 * include/features.h: Warn if user requests __FORTIFY_SOURCE
73076 checking but the checks are disabled for any reason.
73077
73078 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
73079
73080 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
73081 and ELF64_R_TYPE with ELFW(R_TYPE).
73082
73083 2012-05-08 Joseph Myers <joseph@codesourcery.com>
73084
73085 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
73086 (ulimit): Likewise.
73087
73088 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
73089 (settimeofday): Likewise.
73090
73091 2012-05-08 Mike Frysinger <vapier@gentoo.org>
73092
73093 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
73094 a struct th_u2 inside the union, and move tu_block/tu_code into
73095 a new th_u3 union of tu_block/tu_code inside of that. Move
73096 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
73097 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
73098 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
73099 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
73100 (th_stuff): Change to th_u1.tu_stuff.
73101 (th_data): Define.
73102 (th_msg): Change to th_u1.th_u2.tu_data.
73103
73104 2012-05-07 David S. Miller <davem@davemloft.net>
73105
73106 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73107
73108 [BZ #14074]
73109 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
73110 (SETUP_PIC_REG): Use it.
73111 (SETUP_PIC_REG_LEAF): Use it.
73112
73113 2012-05-07 Joseph Myers <joseph@codesourcery.com>
73114
73115 [BZ #13885]
73116 [BZ #13923]
73117 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
73118 USE_AS_EXPM1L.
73119 (EXPL_FINITE): Likewise.
73120 (FLDLOG): Likewise.
73121 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
73122 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
73123 e_expl.S.
73124 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
73125 USE_AS_EXPM1L.
73126 (EXPL_FINITE): Likewise.
73127 (FLDLOG): Likewise.
73128 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
73129 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
73130 e_expl.S.
73131 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
73132 test of -max_value argument for long double.
73133 * sysdeps/i386/fpu/libm-test-ulps: Update.
73134 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73135
73136 2012-05-06 David S. Miller <davem@davemloft.net>
73137
73138 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
73139 quad soft-float symbols whose references which are compiler
73140 generated.
73141 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
73142
73143 2012-05-06 Joseph Myers <joseph@codesourcery.com>
73144
73145 [BZ #13884]
73146 [BZ #13914]
73147 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
73148 USE_AS_EXP10L.
73149 (EXPL_FINITE): Likewise.
73150 (FLDLOG): Likewise.
73151 (c0): Likewise.
73152 (c1): Likewise.
73153 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
73154 Adjust comments for base varying.
73155 (__expl_finite): Change alias to EXPL_FINITE.
73156 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
73157 e_expl.S.
73158 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
73159 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
73160 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
73161 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
73162 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
73163 USE_AS_EXP10L.
73164 (EXPL_FINITE): Likewise.
73165 (FLDLOG): Likewise.
73166 (c0): Likewise.
73167 (c1): Likewise.
73168 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
73169 Adjust comments for base varying.
73170 (__expl_finite): Change alias to EXPL_FINITE.
73171 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
73172 tests for bugs.
73173 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73174
73175 [BZ #14064]
73176 * math/libm-test.inc (check_float_internal): Correct ulp
73177 calculation for subnormal expected results.
73178
73179 2012-05-06 Andreas Jaeger <aj@suse.de>
73180
73181 * Makeconfig (+math-flags): New, set to -frounding-math.
73182 (+cflags): Add +math-flags so that all of glibc gets compiled with
73183 it.
73184
73185 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
73186
73187 2012-05-05 Joseph Myers <joseph@codesourcery.com>
73188
73189 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
73190 Disable one test.
73191
73192 [BZ #13787]
73193 [BZ #13922]
73194 [BZ #14036]
73195 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
73196 (__ieee754_expl): Allow for and saturate large arguments.
73197 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
73198 (u_threshold): Likewise.
73199 (__exp): Call __ieee754_exp before checking for overflow and
73200 underflow.
73201 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
73202 (u_threshold): Likewise.
73203 (__expf): Call __ieee754_expf before checking for overflow and
73204 underflow.
73205 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
73206 (u_threshold): Likewise.
73207 (__expl): Call __ieee754_expl before checking for overflow and
73208 underflow.
73209 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
73210 (__ieee754_expl): Allow for and saturate large arguments.
73211 * math/libm-test.inc (exp_test): Add another test. Do not allow
73212 missing overflow exception on overflow.
73213 (expm1_test): Do not allow missing overflow exception on overflow.
73214
73215 * sysdeps/i386/fpu/e_expl.c: Move to ...
73216 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
73217 rather than using inline asm.
73218 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
73219 * sysdeps/x86_64/fpu/e_expl.S: Copy from
73220 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
73221
73222 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
73223 (nice): Likewise.
73224 (poll): Likewise.
73225 (signal): Likewise.
73226 (time): Likewise.
73227 (times): Likewise.
73228
73229 2012-05-04 Joseph Myers <joseph@codesourcery.com>
73230
73231 * sysdeps/unix/syscalls.list (adjtime): Add entry from
73232 sysdeps/unix/common/syscalls.list.
73233 (fchmod): Likewise.
73234 (fchown): Likewise.
73235 (ftruncate): Likewise.
73236 (getrusage): Likewise.
73237 (gettimeofday): Likewise.
73238 (setpgid): Likewise.
73239 (setregid): Likewise.
73240 (setreuid): Likewise.
73241 (sigaction): Likewise.
73242 (truncate): Likewise.
73243 (vhangup): Likewise.
73244 * sysdeps/unix/common/syscalls.list: Remove file.
73245 * sysdeps/unix/bsd/Implies: Don't include unix/common.
73246 * sysdeps/unix/sysv/linux/Implies: Likewise.
73247
73248 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
73249
73250 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
73251 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
73252 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
73253 Moved to ...
73254 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
73255 Here.
73256 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
73257 to ...
73258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
73259 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
73260 to ...
73261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
73262 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
73263 to ...
73264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
73265 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
73266 to ...
73267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
73268 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
73269 to ...
73270 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
73271 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
73272 to ...
73273 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
73274 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
73275 to ...
73276 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
73277 Here.
73278 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
73279 to ...
73280 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
73281 Here.
73282 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
73283 to ...
73284 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
73285 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
73286 Moved to ...
73287 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
73288 Here.
73289 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
73290 to ...
73291 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
73292
73293 2012-05-04 Joseph Myers <joseph@codesourcery.com>
73294
73295 * sysdeps/unix/common/bits/dirent.h: Remove file.
73296 * sysdeps/unix/common/bits/fcntl.h: Likewise.
73297
73298 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
73299 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
73300 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
73301 * sysdeps/unix/bsd/isatty.c: Likewise.
73302 * sysdeps/unix/bsd/tcdrain.c: Likewise.
73303 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
73304 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
73305
73306 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73307
73308 [BZ #13563]
73309 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
73310 long double comparison inaccuracies.
73311 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
73312 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73313
73314 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
73315
73316 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
73317 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
73318
73319 2012-05-04 Joseph Myers <joseph@codesourcery.com>
73320
73321 [BZ #14049]
73322 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
73323 nonzero digits before rounding a hex value.
73324 * stdlib/tst-strtod.c (tests): Add another test.
73325
73326 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73327
73328 * sysdeps/s390/fpu/libm-test-ulps: Update.
73329
73330 2012-05-03 Andreas Jaeger <aj@suse.de>
73331
73332 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
73333 does not get optimized out.
73334 (malloc_opt_barrier): New.
73335
73336 2012-05-03 Andreas Jaeger <aj@suse.de>
73337 Roland McGrath <roland@hack.frob.com>
73338
73339 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
73340 intermediate file deletion.
73341 (generated): Add .symlist files.
73342
73343 2012-05-03 Joseph Myers <joseph@codesourcery.com>
73344
73345 [BZ #13775]
73346 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
73347 Redirect under this condition.
73348 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
73349 [__USE_GNU] (__dprintf_chk): Not under this condition.
73350 [__USE_GNU] (__vdprintf_chk): Likewise.
73351 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
73352 under this condition.
73353 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
73354 [__USE_XOPEN2K8] (dprintf): Define under this condition.
73355 [__USE_XOPEN2K8] (vdprintf): Likewise.
73356 [__USE_GNU] (__dprintf_chk): Not under this condition.
73357 [__USE_GNU] (__vdprintf_chk): Likewise.
73358 [__USE_GNU] (dprintf): Likewise.
73359 [__USE_GNU] (vdprintf): Likewise.
73360
73361 2012-05-03 Roland McGrath <roland@hack.frob.com>
73362
73363 * elf/Makefile (common-generated): Set this instead of generated for
73364 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
73365 $(all-built-dso)-derived lists.
73366
73367 2012-05-03 Andreas Jaeger <aj@suse.de>
73368
73369 * sysdeps/i386/fpu/libm-test-ulps: Update.
73370
73371 * FAQ: Removed.
73372 * FAQ.in: Likewise.
73373 * scripts/gen-FAQ.pl: Likewise.
73374 * manual/install.texi (Installation): Point to online location of
73375 FAQ.
73376 * Makefile (files-for-dist): Remove FAQ.
73377 (FAQ): Remove.
73378
73379 2012-05-02 Allan McRae <allan@archlinux.org>
73380
73381 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
73382 (LDFLAGS-reldepmod5.so): Likewise.
73383 (LDFLAGS-reldep6mod1.so): Likewise.
73384 (LDFLAGS-reldep6mod4.so): Likewise.
73385 (LDFLAGS-reldep8mod3.so): Likewise.
73386 (LDFLAGS-unload4mod1.so): Likewise.
73387 (LDFLAGS-unload4mod2.so): Likewise.
73388 (LDFLAGS-tst-initorder): Likewise.
73389 (LDFLAGS-tst-initordera2.so): Likewise.
73390 (LDFLAGS-tst-initordera3.so): Likewise.
73391 (LDFLAGS-tst-initordera4.so): Likewise.
73392 (LDFLAGS-tst-initorderb2.so): Likewise.
73393 (LDFLAGS-noload): Likewise.
73394 (LDFLAGS-next): Likewise.
73395 (LDFLAGS-order2mod1.so): Likewise.
73396 (LDFLAGS-order2mod2.so): Likewise.
73397 (LDFLAGS-tst-initorder2): Likewise.
73398 (LDFLAGS-tst-initorder2a.so): Likewise.
73399 (LDFLAGS-tst-initorder2b.so): Likewise.
73400 (LDFLAGS-tst-initorder2c.so): Likewise.
73401 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
73402
73403 2012-05-02 David S. Miller <davem@davemloft.net>
73404
73405 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73406
73407 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
73408
73409 [BZ #14055]
73410 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
73411
73412 2012-05-02 Andreas Jaeger <aj@suse.de>
73413
73414 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
73415 since we manipulate rounding mode.
73416 (CPPFLAGS-test-idouble.c): Likewise.
73417 (CPPFLAGS-test-ifloat.c): Likewise.
73418 (CFLAGS-test-ldouble.c): Likewise.
73419 (CFLAGS-test-double.c): Likewise.
73420 (CFLAGS-test-float.c): Likewise.
73421 (CFLAGS-test-misc.c): Likewise.
73422 (CFLAGS-test-test-fenv.c): Likewise.
73423
73424 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73425
73426 [BZ #2550]
73427 [BZ #2570]
73428 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
73429 comparisons to determine direction to adjust input.
73430
73431 2012-05-01 Roland McGrath <roland@hack.frob.com>
73432
73433 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
73434 output to the target.
73435
73436 * scripts/localplt.awk: New file.
73437 * elf/Makefile ($(objpfx)check-localplt): Target removed.
73438 (check-localplt-CFLAGS): Variable removed.
73439 ($(all-built-dso:=.jmprel)): New static pattern rule.
73440 (generated): Add those targets.
73441 (localplt-built-dso): New variable.
73442 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
73443
73444 * elf/check-localplt.c: File removed.
73445
73446 * scripts/check-execstack.awk: New file.
73447 * elf/Makefile ($(objpfx)check-execstack): Target removed.
73448 (check-execstack-CFLAGS): Variable removed.
73449 ($(objpfx)check-execstack.h): Target removed.
73450 ($(objpfx)execstack-default): New target.
73451 (generated): Add that instead of check-execstack.h.
73452 ($(all-built-dso:=.phdr)): New static pattern rule.
73453 (generated): Add those targets.
73454 * elf/check-execstack.c: File removed.
73455
73456 * scripts/check-textrel.awk: New file.
73457 * elf/Makefile ($(objpfx)check-textrel): Target removed.
73458 (check-textrel-CFLAGS): Variable removed.
73459 (all-built-dso): Use := to define.o
73460 ($(all-built-dso:=.dyn)): New static pattern rule.
73461 (generated): Add those targets.
73462 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
73463 * config.make.in (READELF): New substituted variable.
73464 * elf/check-textrel.c: File removed.
73465
73466 2012-05-01 Joseph Myers <joseph@codesourcery.com>
73467
73468 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
73469 allow.
73470 * conform/data/ctype.h-data [C99-based standards] (isblank):
73471 Expect function.
73472 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
73473 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
73474 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73475 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
73476 Specify type. Require positive value.
73477 (EILSEQ): Likewise.
73478 (ERANGE): Likewise.
73479 [ISO || POSIX] (EILSEQ): Do not expect.
73480 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
73481 Specify type. Require positive value.
73482 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
73483 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
73484 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
73485 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
73486 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
73487 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
73488 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
73489 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
73490 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
73491 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
73492 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
73493 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
73494 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
73495 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
73496 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
73497 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
73498 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
73499 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
73500 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
73501 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
73502 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
73503 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
73504 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
73505 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
73506 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
73507 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
73508 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
73509 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
73510 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
73511 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
73512 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
73513 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
73514 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
73515 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
73516 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
73517 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
73518 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
73519 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
73520 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
73521 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
73522 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
73523 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
73524 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
73525 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
73526 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
73527 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
73528 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
73529 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
73530 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
73531 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
73532 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
73533 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
73534 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
73535 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
73536 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
73537 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
73538 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
73539 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
73540 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
73541 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
73542 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
73543 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
73544 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
73545 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
73546 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
73547 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
73548 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
73549 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
73550 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
73551 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
73552 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
73553 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
73554 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
73555 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
73556 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
73557 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
73558 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
73559 Require >= 2.
73560 (FLT_ROUNDS): Expect as macro, not constant.
73561 (FLT_MANT_DIG): Use macro-int-constant.
73562 (DBL_MANT_DIG): Likewise.
73563 (LDBL_MANT_DIG): Likewise.
73564 (FLT_DIG): Likewise.
73565 (DBL_DIG): Likewise.
73566 (LDBL_DIG): Likewise.
73567 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
73568 (DBL_MIN_EXP): Likewise.
73569 (LDBL_MIN_EXP): Likewise.
73570 (FLT_MAX_EXP): Use macro-int-constant.
73571 (DBL_MAX_EXP): Likewise.
73572 (LDBL_MAX_EXP): Likewise.
73573 (FLT_MAX_10_EXP): Likewise.
73574 (DBL_MAX_10_EXP): Likewise.
73575 (LDBL_MAX_10_EXP): Likewise.
73576 (FLT_MAX): Use macro-constant.
73577 (DBL_MAX): Likewise.
73578 (LDBL_MAX): Likewise.
73579 (FLT_EPSILON): Use macro-constant. Give upper bound.
73580 (DBL_EPSILON): Likewise.
73581 (LDBL_EPSILON): Likewise.
73582 (FLT_MIN): Likewise.
73583 (DBL_MIN): Likewise.
73584 (LDBL_MIN): Likewise.
73585 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
73586 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
73587 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
73588 [ISO11] (FLT_HAS_SUBNORM): Likewise.
73589 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
73590 [ISO11] (DBL_DECIMAL_DIG): Likewise.
73591 [ISO11] (FLT_DECIMAL_DIG): Likewise.
73592 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
73593 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
73594 [ISO11] (FLT_TRUE_MIN): Likewise.
73595 [ISO11] (LDBL_TRUE_MIN): Likewise.
73596 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73597 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
73598 (SCHAR_MIN): Use macro-int-constant. Specify type.
73599 (SCHAR_MAX): Likewise.
73600 (UCHAR_MAX): Likewise.
73601 (CHAR_MIN): Likewise.
73602 (CHAR_MAX): Likewise.
73603 (MB_LEN_MAX): Use macro-int-constant.
73604 (SHRT_MIN): Use macro-int-constant. Specify type.
73605 (SHRT_MAX): Likewise.
73606 (USHRT_MAX): Likewise.
73607 (INT_MAX): Likewise.
73608 (INT_MIN): Use macro-int-constant. Specify type. Make upper
73609 bound negative.
73610 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
73611 bound with "U".
73612 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
73613 bound with "L".
73614 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
73615 bound negative. Suffix upper bound with "L".
73616 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
73617 bound with "UL".
73618 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
73619 Specify type.
73620 [C99-based standards] (LLONG_MAX): Likewise.
73621 [C99-based standards] (ULLONG_MAX): Likewise.
73622 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
73623 == 0.
73624 [ISO11] (max_align_t): Require type.
73625 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73626
73627 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
73628 from $CFLAGS, without defining away __attribute__ calls.
73629 (checknamespace): Use $CFLAGS_namespace.
73630
73631 * conform/conformtest.pl (@keywords): Only include C99 keywords
73632 for standards based on C99 or C11.
73633
73634 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
73635 Disable tests.
73636 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
73637 UNIX98]: Likewise.
73638
73639 * conform/conformtest.pl: Handle "macro-int-constant" and test for
73640 usability of symbols in #if.
73641
73642 * conform/conformtest.pl: If macro or constant types start
73643 "promoted:", expect the symbol to be of the following type
73644 promoted by the integer promotions.
73645
73646 * conform/conformtest.pl: Parse all "constant" and "macro" lines
73647 in one place. Also handle "macro-constant".
73648
73649 * conform/conformtest.pl: Only accept expected macro values with
73650 "==". Parse all "macro" lines in one place.
73651 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
73652
73653 * conform/conformtest.pl: Handle braced types on "constant" lines
73654 instead of handling "typed-constant".
73655 * conform/data/signal.h-data: Use "constant" instead of
73656 "typed-constant".
73657
73658 * conform/conformtest.pl: Handle "optional-" at start of lines in
73659 one place rather than duplicating several cases. Handle each
73660 format of "macro" line with initial "optional-".
73661
73662 * conform/conformtest.pl: Only accept expected constant or
73663 optional-constant values with "==". Parse all "constant" lines in
73664 one place. Parse all "optional-constant" lines in one place.
73665 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
73666 * conform/data/fmtmsg.h-data: Likewise.
73667 * conform/data/netinet/in.h-data: Likewise.
73668 * conform/data/tar.h-data: Likewise.
73669 * conform/data/limits.h-data: Use "==" form on "constant" and
73670 "optional-constant" lines.
73671
73672 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
73673 Use -std=c99 for XOPEN2K.
73674 (@knownproblems): Remove.
73675 (newtoken): Don't check %isknown.
73676
73677 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
73678 Do not expect macro.
73679 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
73680 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
73681 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
73682 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
73683 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
73684 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
73685 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
73686 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
73687 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
73688 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
73689 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
73690 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
73691 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
73692 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
73693 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
73694 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
73695 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
73696 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
73697 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
73698 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
73699 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
73700 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
73701 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
73702 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
73703 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
73704 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
73705 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
73706 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
73707 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
73708 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
73709 [XPG3] (acosh): Likewise.
73710 [XPG3] (asinh): Likewise.
73711 [XPG3] (atanh): Likewise.
73712 [XPG3] (cbrt): Likewise.
73713 [XPG3] (expm1): Likewise.
73714 [XPG3] (ilogb): Likewise.
73715 [XPG3] (log1p): Likewise.
73716 [XPG3] (logb): Likewise.
73717 [XPG3] (nextafter): Likewise.
73718 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
73719 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
73720 [XPG3] (remainder): Likewise.
73721 [XPG3] (rint): Likewise.
73722 [XPG3 || XPG4 || UNIX98] (round): Likewise.
73723 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
73724 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
73725 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
73726 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
73727 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
73728 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
73729 [UNIX98 || XOPEN2K] (scalb): Expect.
73730 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
73731 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
73732 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
73733 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
73734 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
73735 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
73736 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
73737 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
73738 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
73739 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
73740 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
73741 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
73742 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
73743 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
73744 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
73745 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
73746 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
73747 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
73748 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
73749 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
73750 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
73751 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
73752 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
73753 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
73754 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
73755 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
73756 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
73757 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
73758 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
73759 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
73760 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
73761 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
73762 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
73763 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
73764 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
73765 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
73766 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
73767 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
73768 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
73769 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
73770 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
73771 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
73772 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
73773 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
73774 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
73775 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
73776 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
73777 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
73778 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
73779 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
73780 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
73781 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
73782 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
73783 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
73784 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
73785 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
73786 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
73787 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
73788 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
73789 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
73790 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
73791 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
73792 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
73793 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
73794 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
73795 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
73796 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
73797 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
73798 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
73799 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
73800 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
73801 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
73802 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
73803 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
73804 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
73805 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
73806 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
73807 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
73808 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
73809 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
73810 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
73811 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
73812 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
73813 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
73814 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
73815 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
73816 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
73817 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
73818 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
73819 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
73820 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
73821 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
73822 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
73823 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
73824 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
73825 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
73826 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
73827 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
73828 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
73829 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
73830 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
73831 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
73832 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
73833 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
73834 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
73835 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
73836 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
73837 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
73838 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
73839 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
73840 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
73841 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
73842 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
73843 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
73844 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
73845 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
73846 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
73847 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
73848 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
73849 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
73850 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
73851 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
73852 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
73853 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
73854 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
73855 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
73856 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
73857 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
73858 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
73859 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
73860 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
73861 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
73862 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
73863 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
73864 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
73865 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
73866 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
73867
73868 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
73869 _XOPEN_SOURCE_EXTENDED for XPG4.
73870
73871 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
73872
73873 * Makeconfig (localtime): Remove variable.
73874 (inst_localtime-file): Likewise.
73875
73876 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
73877
73878 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
73879 Update.
73880 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73881 Update.
73882 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
73883 Update.
73884 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
73885 Update.
73886 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
73887 Update.
73888 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
73889 Update.
73890 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73891 Update.
73892 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
73893 Update.
73894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73895 Update.
73896
73897 2012-05-01 Joseph Myers <joseph@codesourcery.com>
73898
73899 [BZ #2550]
73900 [BZ #2570]
73901 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
73902 comparisons to determine direction to adjust input.
73903 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
73904 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
73905 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
73906 Likewise.
73907 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
73908 Likewise.
73909 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
73910 Likewise.
73911 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
73912 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
73913 Likewise.
73914 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
73915 Likewise.
73916 * math/libm-test.inc (nexttoward_test): Add more tests.
73917
73918 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
73919
73920 [BZ #14040]
73921 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
73922 in version GLIBC_2.1, not GLIBC_2.0.
73923 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
73924 Likewise.
73925
73926 2012-04-30 Joseph Myers <joseph@codesourcery.com>
73927
73928 [BZ #13942]
73929 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
73930 (1 - x) * (1 + x).
73931 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73932 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
73933 * math/libm-test.inc (acos_test): Add more tests.
73934 (asin_test): Likewise.
73935 * sysdeps/i386/fpu/libm-test-ulps: Update.
73936 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73937
73938 [BZ #14034]
73939 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
73940 of square root.
73941 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
73942 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73943 * math/libm-test.inc (acos_test_tonearest): New function.
73944 (acos_test_towardzero): Likewise.
73945 (acos_test_downward): Likewise.
73946 (acos_test_upward): Likewise.
73947 (asin_test_tonearest): Likewise.
73948 (asin_test_towardzero): Likewise.
73949 (asin_test_downward): Likewise.
73950 (asin_test_upward): Likewise.
73951 (main): Call the new functions.
73952 * sysdeps/i386/fpu/libm-test-ulps: Update.
73953 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73954
73955 [BZ #13884]
73956 [BZ #13924]
73957 * math/e_exp10.c: Include <float.h>.
73958 (__ieee754_exp10): Handle underflow here rather than multiplying
73959 large negative argument by M_LN10.
73960 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
73961 of __ieee754_expf.
73962 * math/e_exp10l.c: Include <float.h>.
73963 (__ieee754_exp10l): Handle underflow here rather than multiplying
73964 large negative argument by M_LN10l.
73965 * math/libm-test.inc (exp10_test): Add another test. Do not allow
73966 spurious overflow exception on underflow.
73967
73968 2012-04-29 Marek Polacek <polacek@redhat.com>
73969
73970 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
73971 (__fortify_function): New macro.
73972 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
73973 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
73974 __extern_always_inline.
73975 * libio/bits/stdio2.h: Likewise.
73976 * libio/bits/stdio.h: Likewise.
73977 * string/string.h: Likewise.
73978 * string/bits/string3.h: Likewise.
73979 * include/stdio.h: Likewise.
73980 * stdlib/bits/stdlib.h: Likewise.
73981 * stdlib/stdlib.h: Likewise.
73982 * rt/bits/mqueue2.h: Likewise.
73983 * rt/mqueue.h: Likewise.
73984 * posix/bits/unistd.h: Likewise.
73985 * posix/unistd.h: Likewise.
73986 * io/bits/poll2.h: Likewise.
73987 * io/bits/fcntl2.h: Likewise.
73988 * io/fcntl.h: Likewise.
73989 * io/sys/poll.h: Likewise.
73990 * misc/bits/syslog.h: Likewise.
73991 * misc/bits/syslog-ldbl.h: Likewise.
73992 * misc/sys/syslog.h: Likewise.
73993 * socket/bits/socket2.h: Likewise.
73994 * socket/sys/socket.h: Likewise.
73995 * debug/tst-chk1.c: Likewise.
73996 * wcsmbs/bits/wchar2.h: Likewise.
73997 * wcsmbs/bits/wchar-ldbl.h: Likewise.
73998 * wcsmbs/wchar.h: Likewise.
73999
74000 2012-04-29 Andreas Jaeger <aj@suse.de>
74001
74002 * Makerules (tests): Remove enable-check-abi protection.
74003 (check-abi-warn): Remove.
74004 (check-abi-%): Remove check-abi-warn usage.
74005
74006 * configure.in: Remove check-abi configure option.
74007 * configure: Regenerated.
74008 * config.make.in (enable-check-abi): Remove.
74009
74010 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
74011
74012 [BZ #14033]
74013 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
74014 double functions to double *_finite functions.
74015
74016 [BZ #13941]
74017 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
74018 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
74019 LDBL_MIN_EXP.
74020 * stdio-common/Makefile (tests): Add tst-sprintf3.
74021 * stdio-common/tst-sprintf3.c: New file.
74022
74023 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
74024 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
74025
74026 2012-04-28 Joseph Myers <joseph@codesourcery.com>
74027
74028 * conform/conformtest.pl: Remove duplicate typed-constant
74029 handling.
74030
74031 2012-04-28 David S. Miller <davem@davemloft.net>
74032
74033 * Makerules (%.abilist): Add vpath on sysdep_dirs.
74034 (check-abi-%): Remove AWK script prerequisite and explicit
74035 abilist directory.
74036 (check-abi): Rewrite to just diff the symlist with the abilist.
74037 (config-tls, config-abi-config): Delete, no longer used.
74038 (update-abi-%): Remove AWK script and explicit abilist directory.
74039 (update-abi): Rewrite to simply compare and conditionally copy the
74040 symlist and the sysdep abilist file. Remove update-abi-config
74041 checks.
74042 * abilist/ld.abilist: Remove.
74043 * abilist/libBrokenLocale.abilist: Remove.
74044 * abilist/libanl.abilist: Remove.
74045 * abilist/libcrypt.abilist: Remove.
74046 * abilist/libdl.abilist: Remove.
74047 * abilist/librt.abilist: Remove.
74048 * abilist/libthread_db.abilist: Remove.
74049 * abilist/libutil.abilist: Remove.
74050 * scripts/extract-abilist.awk: Remove.
74051 * scripts/merge-abilist.awk: Remove.
74052 * sysdeps/generic/libcidn.abilist: New file.
74053 * sysdeps/generic/libnss_compat.abilist: New file.
74054 * sysdeps/generic/libnss_db.abilist: New file.
74055 * sysdeps/generic/libnss_dns.abilist: New file.
74056 * sysdeps/generic/libnss_files.abilist: New file.
74057 * sysdeps/generic/libnss_hesiod.abilist: New file.
74058 * sysdeps/generic/libnss_nis.abilist: New file.
74059 * sysdeps/generic/libnss_nisplus.abilist: New file.
74060 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
74061 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
74062 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
74063 file.
74064 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
74065 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
74066 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
74067 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
74068 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
74069 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
74070 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
74071 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
74072 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
74073 file.
74074 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
74075 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
74076 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
74077 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
74078 file.
74079 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
74080 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
74081 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
74082 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
74083 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
74084 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
74085 file.
74086 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
74087 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
74088 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
74089 file.
74090 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
74091 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
74092 New file.
74093 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
74094 New file.
74095 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
74096 New file.
74097 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
74098 New file.
74099 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
74100 New file.
74101 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
74102 New file.
74103 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
74104 New file.
74105 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
74106 New file.
74107 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
74108 New file.
74109 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
74110 New file.
74111 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
74112 New file.
74113 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
74114 New file.
74115 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
74116 New file.
74117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
74118 file.
74119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
74120 New file.
74121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
74122 New file.
74123 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
74124 file.
74125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
74126 New file.
74127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
74128 New file.
74129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
74130 file.
74131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
74132 New file.
74133 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
74134 New file.
74135 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
74136 New file.
74137 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
74138 New file.
74139 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
74140 New file.
74141 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
74142 New file.
74143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
74144 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
74145 file.
74146 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
74147 New file.
74148 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
74149 file.
74150 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
74151 file.
74152 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
74153 file.
74154 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
74155 file.
74156 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
74157 file.
74158 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
74159 New file.
74160 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
74161 file.
74162 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
74163 file.
74164 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
74165 New file.
74166 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
74167 file.
74168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
74169 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
74170 file.
74171 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
74172 New file.
74173 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
74174 file.
74175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
74176 file.
74177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
74178 file.
74179 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
74180 file.
74181 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
74182 file.
74183 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
74184 New file.
74185 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
74186 file.
74187 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
74188 file.
74189 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
74190 New file.
74191 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
74192 file.
74193 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
74194 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
74195 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
74196 file.
74197 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
74198 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
74199 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
74200 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
74201 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
74202 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
74203 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
74204 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
74205 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
74206 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
74207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
74208 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
74209 file.
74210 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
74211 New file.
74212 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
74213 file.
74214 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
74215 file.
74216 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
74217 file.
74218 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
74219 file.
74220 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
74221 file.
74222 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
74223 New file.
74224 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
74225 New file.
74226 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
74227 file.
74228 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
74229 New file.
74230 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
74231 file.
74232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
74233 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
74234 file.
74235 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
74236 New file.
74237 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
74238 file.
74239 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
74240 file.
74241 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
74242 file.
74243 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
74244 file.
74245 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
74246 file.
74247 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
74248 New file.
74249 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
74250 New file.
74251 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
74252 file.
74253 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
74254 New file.
74255 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
74256 file.
74257
74258 2012-04-28 Joseph Myers <joseph@codesourcery.com>
74259
74260 * conform/conformtest.pl: Fix typo in handling typed-constant from
74261 allow-header.
74262
74263 2012-04-27 Joseph Myers <joseph@codesourcery.com>
74264
74265 * README: Cut down references to pre-2.6 Linux kernels and
74266 Linuxthreads. Update lists of configurations in libc and ports
74267 and sort alphabetically. Say "or newer" with Linux kernel version
74268 requirements.
74269
74270 * config.h.in [IS_IN_build]: Allow compiling without optimization.
74271
74272 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
74273
74274 [BZ #887]
74275 * math/libm-test.inc (logb_test_downward): New test to expose
74276 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
74277 rounding mode.
74278
74279 2012-04-27 Joseph Myers <joseph@codesourcery.com>
74280
74281 [BZ #14027]
74282 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
74283 to be done.
74284 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
74285 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
74286
74287 2012-04-26 Joseph Myers <joseph@codesourcery.com>
74288
74289 * sysdeps/unix/i386/brk.S: Remove file.
74290 * sysdeps/unix/i386/dl-brk.S: Likewise.
74291 * sysdeps/unix/i386/pipe.S: Likewise.
74292 * sysdeps/unix/i386/sigreturn.S: Likewise.
74293 * sysdeps/unix/i386/syscall.S: Likewise.
74294 * sysdeps/unix/i386/vfork.S: Likewise.
74295 * sysdeps/unix/i386/wait.S: Likewise.
74296
74297 * sysdeps/unix/common/tcsendbrk.c: Move to ...
74298 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
74299
74300 * configure.in (arm*-none*): Do not allow without
74301 --enable-hacker-mode.
74302 (netbsd*): Remove case setting base_os.
74303 (386bsd*): Likewise.
74304 (freebsd*): Likewise.
74305 (bsdi*): Likewise.
74306 (osf*): Likewise.
74307 (sunos*): Likewise.
74308 (ultrix*): Likewise.
74309 (newsos*): Likewise.
74310 (dynix*): Likewise.
74311 (*bsd*): Likewise.
74312 (sysv*): Likewise.
74313 (isc*): Likewise.
74314 (esix*): Likewise.
74315 (sco*): Likewise.
74316 (minix*): Likewise.
74317 (irix4*): Likewise.
74318 (irix6*): Likewise.
74319 (solaris[2-9]*): Likewise.
74320 (none): Likewise.
74321 * configure: Regenerated.
74322
74323 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74324
74325 [BZ #11521]
74326 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
74327 overflow or cancellation in calculating denominator.
74328 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
74329 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
74330 down expression to avoid unexpected rounding in newer GCCs.
74331 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
74332
74333 2012-04-26 David S. Miller <davem@davemloft.net>
74334
74335 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
74336 long-double compat symbols.
74337 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
74338 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
74339 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
74340 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
74341 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
74342 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
74343 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
74344 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
74345 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
74346 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
74347 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
74348 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
74349 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
74350
74351 2012-04-25 David S. Miller <davem@davemloft.net>
74352
74353 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
74354 HWCAP_* values only after the memory barriers have been defined.
74355 (atomic_full_barrier): Define.
74356 (atomic_read_barrier): Define.
74357 (atomic_write_barrier): Define.
74358
74359 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
74360
74361 * shlib-versions: Add libgcc_s version information.
74362 * sysdeps/generic/libgcc_s.h: Remove.
74363 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
74364 libgcc_s.h.
74365 * sysdeps/gnu/unwind-resume.c: Likewise.
74366 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
74367
74368 2012-04-25 David S. Miller <davem@davemloft.net>
74369
74370 * sysdeps/unix/sparc/brk.S: Delete.
74371 * sysdeps/unix/sparc/dl-brk.S: Delete.
74372 * sysdeps/unix/sparc/pipe.S: Delete.
74373 * sysdeps/unix/sparc/sysdep.S: Delete.
74374 * sysdeps/unix/sparc/sysdep.h: Delete.
74375 * sysdeps/unix/sparc/vfork.S: Delete.
74376 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
74377 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
74378 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
74379 (ret_ERRVAL, r0, r1, MOVE): Define.
74380 (JUMPTARGET): Remove.
74381 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
74382 sysdeps/unix/sparc/sysdep.h
74383 (ENTRY, END): Remove.
74384 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74385
74386 2012-04-25 Joseph Myers <joseph@codesourcery.com>
74387
74388 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
74389 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
74390 -DIS_IN_build.
74391
74392 * timezone/README: Update upstream location and email address for
74393 tzcode and tzdata.
74394 * timezone/zdump.c: Update from tzcode 2012b.
74395 * timezone/zic.c: Likewise.
74396
74397 * configure.in (libc_cv_as_needed): Remove test.
74398 * configure: Regenerated.
74399 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
74400 conditional definition.
74401 [$(have-as-needed) != yes] (no-as-needed): Likewise.
74402 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
74403 * config.make.in (have-as-needed): Remove variable.
74404
74405 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
74406 Paul Pluzhnikov <ppluzhnikov@google.com>
74407
74408 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
74409 strings correctly.
74410
74411 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
74412
74413 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
74414 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
74415 * sysdeps/sh/strlen.S: Likewise.
74416
74417 2012-04-24 Joseph Myers <joseph@codesourcery.com>
74418
74419 * sysdeps/unix/fork.S: Remove file.
74420 * sysdeps/unix/i386/fork.S: Likewise.
74421 * sysdeps/unix/sparc/fork.S: Likewise.
74422
74423 * sysdeps/unix/system.c: Remove file.
74424 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
74425
74426 * sysdeps/unix/getegid.S: Remove file.
74427 * sysdeps/unix/geteuid.S: Likewise.
74428
74429 2012-04-24 Roland McGrath <roland@hack.frob.com>
74430
74431 * scripts/check-localplt.awk: New file.
74432 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
74433 of diff.
74434 * scripts/data/localplt-generic.data: Add a comment.
74435
74436 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
74437 NODE when __dir_mkfile failed.
74438 * sysdeps/mach/hurd/symlinkat.c: Likewise.
74439 Reported by Ludovic Courtès <ludo@gnu.org>.
74440
74441 2012-04-24 Andreas Jaeger <aj@suse.de>
74442
74443 * Makerules (common-clean): Also remove gen-as-const-headers
74444 files.
74445
74446 2012-04-24 Joseph Myers <joseph@codesourcery.com>
74447
74448 * Makerules (native-compile): Do not change working directory for
74449 build. Use $(OUTPUT_OPTION) in command.
74450 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
74451
74452 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74453
74454 [BZ #13886]
74455 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
74456 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
74457 * math/libm-test.inc (floor_test): Add more tests.
74458 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
74459
74460 2012-04-24 Joseph Myers <joseph@codesourcery.com>
74461
74462 * sysdeps/unix/getdents.c: Remove file.
74463 * sysdeps/unix/sysv/getdents.c: Likewise.
74464 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
74465
74466 * sysdeps/unix/syscalls.list (madvise): Add syscall from
74467 sysdeps/unix/mman/syscalls.list.
74468 (mmap): Likewise.
74469 (mprotect): Likewise.
74470 (msync): Likewise.
74471 (munmap): Likewise.
74472 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
74473 * sysdeps/unix/mman/syscalls.list: Remove.
74474 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
74475
74476 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
74477 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
74478 * configure: Regenerated.
74479 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
74480 $(libgcc_s_suffix).
74481 * config.make.in (libgcc_s_suffix): Remove variable.
74482
74483 2012-04-23 Joseph Myers <joseph@codesourcery.com>
74484
74485 * sysdeps/unix/sysv/gethostname.c: Move to ...
74486 * sysdeps/posix/gethostname.c: ... here.
74487
74488 * sysdeps/unix/execve.S: Remove file.
74489
74490 * sysdeps/unix/_exit.S: Remove file.
74491
74492 2012-04-23 Andreas Jaeger <aj@suse.de>
74493
74494 [BZ #13739]
74495 * manual/Makefile: Remove make dist support, there's no
74496 need for a stand-alone documentation tar ball.
74497 (TEXI2DVI): Define always, it's not in Makeconfig.
74498 (dist): Removed.
74499 (tar-it): Removed.
74500 (edition): Removed.
74501 (glibc-doc-$(edition).tar): Removed
74502 (%.Z): Removed.
74503 (%.gz): Removed.
74504 (%.uu): Removed.
74505 (ETAGS): Remove, it's in Makeconfig.
74506 (move-if-change): Remove, it's in Makeconfig.
74507
74508 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
74509
74510 [BZ #13970]
74511 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
74512 (strtod, strtof, strtold, strtol, strtoul, strtoq)
74513 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
74514 (strtod_l, strtof_l, strtold_l): Remove __wur.
74515 It is not necessarily an error to ignore strtol's return value.
74516 One can reliably look at the stored endptr to decide whether
74517 the number had valid syntax.
74518
74519 2012-04-21 Andreas Jaeger <aj@suse.de>
74520
74521 [BZ #13739]
74522 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
74523
74524 2012-04-21 Joseph Myers <joseph@codesourcery.com>
74525
74526 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
74527 * sysdeps/unix/sysv/Versions: Remove file.
74528
74529 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
74530
74531 [BZ #13927]
74532 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74533
74534 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
74535
74536 [BZ #7064]
74537 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
74538 version from __vm86.
74539
74540 2012-04-20 Joseph Myers <joseph@codesourcery.com>
74541
74542 * sysdeps/unix/common/lxstat.c: Remove file.
74543 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
74544
74545 * sysdeps/unix/sysv/Makefile: Remove file.
74546
74547 * sysdeps/unix/sysv/direct.h: Remove file.
74548
74549 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
74550 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
74551 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
74552 * sysdeps/unix/sysv/bits/signum.h: Likewise.
74553 * sysdeps/unix/sysv/bits/stat.h: Likewise.
74554 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
74555 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
74556
74557 * sysdeps/unix/sysv/setrlimit.c: Remove file.
74558
74559 * sysdeps/unix/xmknod.c: Remove file.
74560 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
74561
74562 * sysdeps/unix/sysv/settimeofday.c: Remove file.
74563
74564 * sysdeps/unix/sysv/i386/time.S: Remove file.
74565
74566 * sysdeps/unix/fxstat.c: Remove file.
74567 * sysdeps/unix/xstat.c: Likewise.
74568 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
74569
74570 * sysdeps/unix/sysv/sigaction.c: Remove file.
74571
74572 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
74573 (sysdep_headers): Remove variable.
74574 [termio.h not in sysdep_headers] (generated): Likewise.
74575 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
74576 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
74577 * sysdeps/unix/sysv/tcdrain.c: Likewise.
74578 * sysdeps/unix/sysv/tcflow.c: Likewise.
74579 * sysdeps/unix/sysv/tcflush.c: Likewise.
74580 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
74581 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
74582 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
74583 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
74584 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
74585
74586 * sysdeps/unix/siglist.c: Remove file.
74587
74588 * sysdeps/unix/getppid.S: Remove file.
74589
74590 * sysdeps/unix/mkdir.c: Remove file.
74591 * sysdeps/unix/rmdir.c: Likewise.
74592
74593 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
74594
74595 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
74596 ERR_MAX value.
74597 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
74598 errlist-compat value.
74599
74600 2012-04-18 David S. Miller <davem@davemloft.net>
74601
74602 * sysdeps/generic/memcopy.h (reg_char): Delete.
74603 * debug/strcat_chk.c: Use char, not reg_char.
74604 * debug/strcpy_chk.c: Likewise.
74605 * debug/strncat_chk.c: Likewise.
74606 * debug/strncpy_chk.c: Likewise.
74607 * string/memchr.c: Likewise.
74608 * string/memrchr.c: Likewise.
74609 * string/rawmemchr.c: Likewise.
74610 * string/strcat.c: Likewise.
74611 * string/strchr.c: Likewise.
74612 * string/strchrnul.c: Likewise.
74613 * string/strcmp.c: Likewise.
74614 * string/strcpy.c: Likewise.
74615 * string/strncat.c: Likewise.
74616 * string/strncmp.c: Likewise.
74617 * string/strncpy.c: Likewise.
74618
74619 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74620
74621 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
74622 __builtin_memcopy is called when src and dest ranges are known to not
74623 overlap.
74624
74625 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74626
74627 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
74628 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
74629 fwd_align_merge macro call.
74630 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
74631 bwd_align_merge macro call.
74632 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74633
74634 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74635
74636 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
74637 bwd_align_merge macros.
74638 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
74639 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
74640 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74641
74642 2012-04-18 David S. Miller <davem@davemloft.net>
74643
74644 * sysdeps/sparc/sparc64/memcopy.h: Delete.
74645
74646 2012-04-18 Andreas Jaeger <aj@suse.de>
74647
74648 [BZ# 6794]
74649 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
74650 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
74651 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74652
74653 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
74654 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
74655 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74656
74657 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
74658 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
74659 Adjust for changed ldbl-128 files.
74660
74661 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
74662 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
74663 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74664
74665 2012-04-17 David S. Miller <davem@davemloft.net>
74666
74667 * sysdeps/sparc/sparc32/memcopy.h: Delete.
74668
74669 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
74670
74671 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
74672 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
74673 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
74674 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
74675 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
74676 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
74677
74678 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74679
74680 [BZ #6794]
74681 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
74682 * math/libm-test.inc: Add ilogb errno and exception tests.
74683 * math/w_ilogb.c: New file: ilogb wrapper.
74684 * math/w_ilogbf.c: New file: ilogbf wrapper.
74685 * math/w_ilogbl.c: New file: ilogbl wrapper.
74686 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
74687 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
74688 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
74689 exception being thrown with 0.0 as argument.
74690 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
74691 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
74692 exception being thrown with 0.0 as argument.
74693 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
74694 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74695 exception being thrown with 0.0 as argument.
74696 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
74697 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74698 exception being thrown with 0.0 as argument.
74699 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
74700 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
74701 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
74702 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
74703 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
74704 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
74705 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
74706 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
74707 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
74708
74709 2012-04-17 Petr Baudis <pasky@ucw.cz>
74710
74711 * include/sys/uio.h: Change __vector to __iovec to avoid clash
74712 with altivec.
74713
74714 2012-04-16 Marek Polacek <polacek@redhat.com>
74715
74716 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
74717
74718 2012-04-16 Marek Polacek <polacek@redhat.com>
74719
74720 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
74721 operands of fdivp instruction.
74722
74723 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
74724
74725 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
74726 * elf/tst-auditmod3b.c: Likewise.
74727 * elf/tst-auditmod4b.c: Likewise.
74728 * elf/tst-auditmod5b.c: Likewise.
74729 * elf/tst-auditmod6b.c: Likewise.
74730 * elf/tst-auditmod6c.c: Likewise.
74731 * elf/tst-auditmod7b.c: Likewise.
74732 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
74733 * sysdeps/x86_64/preconfigure.in: Likewise.
74734 * sysdeps/x86_64/preconfigure: Regenerated.
74735
74736 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
74737
74738 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
74739 __ILP32__.
74740
74741 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
74742
74743 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74744 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
74745
74746 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
74747
74748 [BZ #13973]
74749 * locale/iso-639.def: Fix gl language name. Spotted by
74750 Yaron Shahrabani.
74751
74752 2012-04-12 Roland McGrath <roland@hack.frob.com>
74753
74754 [BZ #2074]
74755 * libio/libio.h (__io_write_fn): Update comment.
74756
74757 2012-04-12 Petr Baudis <pasky@ucw.cz>
74758
74759 [BZ #2074]
74760 * stdio.texi (Hook Functions): The user provided writer function
74761 is not allowed to return -1.
74762
74763 2012-04-11 David S. Miller <davem@davemloft.net>
74764
74765 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74766
74767 2012-04-11 Mike Frysinger <vapier@gentoo.org>
74768
74769 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
74770 Add a leading slash to rtkaio.
74771
74772 2012-04-11 Jim Meyering <meyering@redhat.com>
74773
74774 [BZ #11959]
74775 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
74776 It is not necessarily an error to ignore fwrite's return
74777 value. One can reliably use ferror to test for errors after
74778 the fact.
74779
74780 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
74781
74782 * bits/types.h (__snseconds_t): New type.
74783 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
74784
74785 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
74786 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74787 (__SNSECONDS_T_TYPE): Likewise.
74788 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74789 (__SNSECONDS_T_TYPE): Likewise.
74790 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74791 (__SNSECONDS_T_TYPE): Likewise.
74792
74793 2012-04-10 Andreas Jaeger <aj@suse.de>
74794
74795 [BZ #2636]
74796 * manual/time.texi (Processor Time): Return type of times is
74797 elapsed real time since an arbitrary point in the past.
74798 (CPU Time): Move CLK_TCK from here...
74799 (Processor Time): ...to here. Correct description.
74800 * manual/conf.texi (Constants for Sysconf): Correct description of
74801 _SC_CLK_TCK.
74802
74803 2012-04-10 David S. Miller <davem@davemloft.net>
74804
74805 [BZ #13967]
74806 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
74807 where the is a gap between DT_REL(A) and DT_JMPREL.
74808
74809 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
74810
74811 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
74812 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74813 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74814
74815 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
74816
74817 * elf/dl-support.c (_dl_inhibit_cache): New variable.
74818 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
74819 (dl_main): Handle --inhibit-cache.
74820 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
74821 _dl_inhibit_cache.
74822 * elf/dl-load.c (_dl_map_object): Use it.
74823 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
74824
74825 2012-04-09 Joseph Myers <joseph@codesourcery.com>
74826
74827 [BZ #13872]
74828 * sysdeps/i386/fpu/e_powl.S (p78): New object.
74829 (__ieee754_powl): Saturate large exponents rather than testing for
74830 overflow of y*log2(x).
74831 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74832 * math/libm-test.inc (pow_test): Do not permit spurious overflow
74833 exceptions.
74834
74835 [BZ #11521]
74836 * math/s_ctan.c: Include <float.h>.
74837 (__ctan): Avoid internal overflow or cancellation in calculating
74838 denominator.
74839 * math/s_ctanf.c: Likewise.
74840 * math/s_ctanl.c: Likewise.
74841 * math/s_ctanh.c: Likewise.
74842 * math/s_ctanhf.c: Likewise.
74843 * math/s_ctanhl.c: Likewise.
74844 * math/libm-test.inc (ctan_test): Add more tests.
74845 (ctanh_test): Likewise.
74846 * sysdeps/i386/fpu/libm-test-ulps: Update.
74847 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74848
74849 2012-04-09 Andreas Jaeger <aj@suse.de>
74850
74851 [BZ #6894]
74852 * manual/filesys.texi (Directory Entries): Mention that d_namlen
74853 is an optional BSD extension.
74854
74855 [BZ #10254]
74856 * manual/stdio.texi (Opening Streams): Document additional fopen
74857 parameters.
74858
74859 2012-04-09 Roland McGrath <roland@hack.frob.com>
74860
74861 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
74862 %eax without telling the compiler.
74863
74864 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
74865
74866 [BZ # 13963]
74867 * manual/install.texi: Use sourceware.org.
74868
74869 2012-04-09 Joseph Myers <joseph@codesourcery.com>
74870
74871 [BZ #13873]
74872 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
74873 (__ieee754_pow): Generate overflow and underflow using huge*huge
74874 and tiny*tiny rather than just returning constant infinity or zero
74875 for large exponents.
74876 * math/libm-test.inc (pow_test): Require overflow exceptions for
74877 applicable cases of large exponents.
74878
74879 [BZ #706]
74880 * sysdeps/i386/fpu/e_pow.S (p10): New object.
74881 (__ieee754_pow): Use iterative multiplication algorithm only for
74882 integer exponents with absolute value below 1024. Check for odd
74883 integer exponents when using algorithm for real exponents.
74884 * math/libm-test.inc (pow_test): Add more tests.
74885 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74886
74887 2012-04-08 Joseph Myers <joseph@codesourcery.com>
74888
74889 [BZ #13705]
74890 * math/libm-test.inc (exp_test): Do not allow overflow exception
74891 on underflow test.
74892
74893 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
74894
74895 [BZ #13705]
74896 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
74897 instead of __kernel_standard_f.
74898
74899 2012-04-08 Mike Frysinger <vapier@gentoo.org>
74900
74901 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
74902 * sysdeps/x86_64/memset_chk.S: Likewise.
74903
74904 2012-04-08 Andreas Jaeger <aj@suse.de>
74905
74906 [BZ #10153]
74907 * manual/startup.texi (Environment Access): Describe return value
74908 for putenv and setenv.
74909
74910 [BZ #6895]
74911 * manual/filesys.texi (Directory Entries): Add description for
74912 DT_LNK.
74913
74914 [BZ #6890]
74915 * manual/filesys.texi (Directory Entries): Clarify that it's file
74916 system not operating system in the description of DT_UNKNOWN.
74917
74918 [BZ #6578]
74919 * manual/syslog.texi (closelog): Fix reference, it's openlog.
74920
74921 2012-04-08 Stephen Compall <s11@member.fsf.org>
74922
74923 [BZ #6649]
74924 * manual/llio.texi (Opening and Closing Files): Add cross
74925 reference to explain mode argument.
74926
74927 2012-04-07 Mike Frysinger <vapier@gentoo.org>
74928
74929 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
74930 * sysdeps/x86_64/memset_chk.S: Likewise.
74931
74932 2012-04-07 David S. Miller <davem@davemloft.net>
74933
74934 * elf/elf.h (R_SPARC_WDISP10): Define.
74935 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
74936 R_SPARC_SIZE32.
74937 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
74938 R_SPARC_SIZE64 and R_SPARC_H34.
74939
74940 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
74941
74942 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
74943 conditions and remove no longer applicable assertion.
74944
74945 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
74946
74947 * bits/byteswap.h: Include <features.h>.
74948 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74949 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74950
74951 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
74952
74953 * bits/byteswap.h (__bswap_16): Removed.
74954 Include <bits/byteswap-16.h> to get __bswap_16.
74955 * sysdeps/i386/bits/byteswap.h: Likewise.
74956 * sysdeps/s390/bits/byteswap.h: Likewise.
74957 * sysdeps/x86_64/bits/byteswap.h: Likewise.
74958 * bits/byteswap-16.h: New file.
74959 * sysdeps/i386/bits/byteswap-16.h: Likewise.
74960 * sysdeps/s390/bits/byteswap-16.h: Likewise.
74961 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
74962 * string/Makefile (headers): Add bits/byteswap-16.h.
74963
74964 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
74965
74966 [BZ #13895]
74967 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
74968 extra indirection.
74969 * nss/Makefile (tests-static, tests): Add tst-nss-static.
74970 * nss/tst-nss-static.c: New.
74971
74972 2012-04-06 Robert Millan <rmh@gnu.org>
74973
74974 [BZ #6486]
74975 * manual/llio.texi (File Position Primitive): lseek
74976 refers to WHENCE when it really means OFFSET.
74977
74978 2012-04-06 Andreas Jaeger <aj@suse.de>
74979
74980 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
74981 strncmp declarations.
74982
74983 * abilist/libc.abilist: Add __poll and __ppoll.
74984
74985 2012-04-05 David S. Miller <davem@davemloft.net>
74986
74987 * scripts/check-local-headers.sh: Accept a host triplet in the
74988 path matched by the exclude regexp.
74989
74990 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
74991 definition.
74992 * sysdeps/powerpc/powerpc32/dl-machine.h
74993 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
74994 * sysdeps/s390/s390-32/dl-machine.h
74995 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74996 * sysdeps/sparc/sparc32/dl-machine.h
74997 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74998 * sysdeps/sparc/sparc64/dl-machine.h
74999 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
75000
75001 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
75002 lazy binding.
75003 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
75004 undefined symbol errors.
75005
75006 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
75007 DT_NEEDED entries.
75008
75009 2012-04-05 Michael Matz <matz@suse.de>
75010
75011 [BZ #13592]
75012 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
75013
75014 2012-04-05 Andreas Jaeger <aj@suse.de>
75015
75016 [BZ #13908]
75017 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
75018 comment.
75019
75020 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
75021
75022 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
75023 which ROUND is no valid rounding mode.
75024
75025 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
75026
75027 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
75028 read again.
75029 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
75030
75031 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
75032
75033 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
75034 an exception using FPU order intentionally.
75035
75036 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
75037
75038 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
75039 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
75040 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
75041 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
75042
75043 2012-04-05 Simon Josefsson <simon@josefsson.org>
75044
75045 [BZ #12340]
75046 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
75047 EINVAL when BUFLEN is too smal.
75048
75049 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
75050
75051 [BZ #13553]
75052 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
75053 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
75054
75055 2012-04-03 Andreas Jaeger <aj@suse.de>
75056
75057 [BZ #13938]
75058 * manual/setjmp.texi (System V contexts): Fix sentence.
75059
75060 [BZ #13926]
75061 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
75062 New macro for this case.
75063 [!__GNUC__] (__bswap_64): New inline function for this case.
75064 * sysdeps/x86_64/bits/byteswap.h: Likewise.
75065 * bits/byteswap.h: Likewise.
75066 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
75067 ull, guard with __GLIBC_HAVE_LONG_LONG.
75068
75069 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
75070 __GLIBC_HAVE_LONG_LONG.
75071
75072 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
75073 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
75074
75075 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75076
75077 [BZ #13691]
75078 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
75079 inptr and inend, rather than using last_ch.
75080
75081 2012-04-02 David S. Miller <davem@davemloft.net>
75082
75083 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
75084 * stdio-common/printf-parse.h (read_int): Change return type to
75085 'int', return -1 on INT_MAX overflow.
75086 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
75087 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
75088 overflows INT_MAX. Check for overflow of in-format-string precision
75089 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
75090 SIZE_MAX not INT_MAX for integer overflow test.
75091 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
75092 skip the construct in the format string but do not record anything.
75093 * stdio-common/bug22.c: Adjust to test both width/prevision
75094 INT_MAX overflow as well as total length INT_MAX overflow. Check
75095 explicitly for proper errno values.
75096
75097 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
75098
75099 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
75100 CHAR_MAX.
75101 * string/test-strcmp.c [! WIDE]: Likewise.
75102 * time/tst-mktime2.c: Likewise for INT_MAX.
75103 * string/test-string.h: #include <sys/param.h> for MIN.
75104
75105 * csu/init-first.c (__libc_init_first): Call __ctype_init.
75106 * sysdeps/i386/init-first.c (init): Likewise.
75107 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
75108 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
75109 * sysdeps/sh/init-first.c (init): Likewise.
75110
75111 2012-04-01 Ulrich Drepper <drepper@gmail.com>
75112
75113 * po/ru.po: Update from translation team.
75114 * po/vi.po: Likewise.
75115
75116 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
75117
75118 * resolv/nss_dns/dns-host.c: Merge copyright years.
75119
75120 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75121
75122 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
75123 Optimize memcpy with prefetch if
75124 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
75125 src, dst pointers have unequal 16 byte alignments.
75126
75127 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
75128
75129 [BZ #13928]
75130 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
75131 from a CNAME entry and return the minimum ttl for the query.
75132 (gaih_getanswer_slice): Likewise.
75133
75134 2012-03-30 Jeff Law <law@redhat.com>
75135
75136 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
75137 due to long keys.
75138 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
75139 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
75140
75141 * resolv/nss_dns/dns-host.c: Update copyright year.
75142
75143 2012-03-30 Ulrich Drepper <drepper@gmail.com>
75144
75145 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
75146 requests to save a system call. Fix check that all bytes are sent.
75147
75148 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
75149 comments for sendmmsg.
75150
75151 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75152
75153 [BZ #13691]
75154 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
75155 with only 1 character between 0x0041 and 0x01b0.
75156 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
75157 * wcsmbs/tst-mbsnrtowcs.c: New file.
75158
75159 2012-03-29 David S. Miller <davem@davemloft.net>
75160
75161 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
75162 small copies by hand.
75163
75164 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
75165
75166 [BZ #13761]
75167 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
75168 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
75169 group memberships.
75170
75171 2012-03-28 David S. Miller <davem@davemloft.net>
75172
75173 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
75174 that branches into memcpy.
75175 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
75176 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
75177 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
75178 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
75179 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
75180 bits.
75181 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
75182 implementation too.
75183 * sysdeps/sparc/mempcpy.S: New file.
75184
75185 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
75186 the IFUNC routine in the libc case.
75187 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
75188
75189 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
75190 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
75191 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
75192 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
75193 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
75194 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
75195 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
75196 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
75197
75198 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
75199 loop to 256 bytes instead of 64 bytes and fix test signedness.
75200
75201 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
75202 * sysdeps/sparc/sparc32/Makefile: rather than here...
75203 * sysdeps/sparc/sparc64/Makefile: and here.
75204
75205 2012-03-28 Ulrich Drepper <drepper@gmail.com>
75206
75207 * malloc/mallocbug.c: Avoid warnings about unused variables.
75208
75209 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
75210
75211 [BZ #13760]
75212 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
75213 in the right place. Discard and retry query if response is
75214 larger than input buffer size.
75215
75216 2012-03-28 Joseph Myers <joseph@codesourcery.com>
75217
75218 [BZ #369]
75219 [BZ #2678]
75220 [BZ #3866]
75221 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
75222 x for large integer exponent.
75223 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
75224 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
75225 sign of result as needed afterwards.
75226 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
75227 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
75228 result for underflowing pow the same as for overflow.
75229 (__kernel_standard_l): Handle powl overflow and underflow here
75230 rather than calling __kernel_standard.
75231 * math/libm-test.inc (pow_test): Add more tests.
75232
75233 [BZ #3868]
75234 [BZ #13879]
75235 [BZ #13910]
75236 [BZ #13911]
75237 [BZ #13912]
75238 [BZ #13913]
75239 [BZ #13915]
75240 [BZ #13916]
75241 [BZ #13917]
75242 [BZ #13918]
75243 [BZ #13919]
75244 [BZ #13920]
75245 [BZ #13921]
75246 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
75247 * sysdeps/ieee754/k_standard.c: Include <float.h>.
75248 (__kernel_standard_l): New function.
75249 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
75250 __kernel_standard.
75251 * math/w_acosl.c (__acosl): Likewise.
75252 * math/w_asinl.c (__asinl): Likewise.
75253 * math/w_atan2l.c (__atan2l): Likewise.
75254 * math/w_atanhl.c (__atanhl): Likewise.
75255 * math/w_coshl.c (__coshl): Likewise.
75256 * math/w_exp10l.c (__exp10l): Likewise.
75257 * math/w_exp2l.c (__exp2l): Likewise.
75258 * math/w_fmodl.c (__fmodl): Likewise.
75259 * math/w_hypotl.c (__hypotl): Likewise.
75260 * math/w_j0l.c (__j0l, __y0l): Likewise.
75261 * math/w_j1l.c (__j1l, __y1l): Likewise.
75262 * math/w_jnl.c (__jnl, __ynl): Likewise.
75263 * math/w_lgammal.c (__lgammal): Likewise.
75264 * math/w_log10l.c (__log10l): Likewise.
75265 * math/w_log2l.c (__log2l): Likewise.
75266 * math/w_logl.c (__logl): Likewise.
75267 * math/w_powl.c (__powl): Likewise.
75268 * math/w_remainderl.c (__remainderl): Likewise.
75269 * math/w_scalbl.c (sysv_scalbl): Likewise.
75270 * math/w_sinhl.c (__sinhl): Likewise.
75271 * math/w_sqrtl.c (__sqrtl): Likewise.
75272 * math/w_tgammal.c (__tgammal): Likewise.
75273 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
75274 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
75275 * math/libm-test.inc (acos_test): Add more tests.
75276 (acosh_test): Likewise.
75277 (asin_test): Likewise.
75278 (atanh_test): Likewise.
75279 (exp_test): Likewise.
75280 (exp10_test): Likewise.
75281 (exp2_test): Likewise.
75282 (expm1_test): Likewise.
75283 (lgamma_test): Likewise.
75284 (log_test): Likewise.
75285 (log10_test): Likewise.
75286 (log1p_test): Likewise.
75287 (log2_test): Likewise.
75288 (pow_test): Do not allow some spurious overflow exceptions.
75289 (sqrt_test): Add more tests.
75290 (tgamma_test): Likewise.
75291 (y0_test): Likewise.
75292 (y1_test): Likewise.
75293 (yn_test): Likewise.
75294
75295 2012-03-27 Anton Blanchard <anton@samba.org>
75296
75297 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
75298 MAP_HUGETLB.
75299 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
75300 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
75301 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
75302
75303 2012-03-27 David S. Miller <davem@davemloft.net>
75304
75305 * conform/Makefile: Run run-conformtest.sh using $(BASH).
75306
75307 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
75308 have-as-vis3 check.
75309
75310 2012-03-27 Andreas Jaeger <aj@suse.de>
75311
75312 * sysdeps/x86_64/elf/configure.in: Moved to ...
75313 * sysdeps/x86_64/configure.in: ... here.
75314 * sysdeps/x86_64/elf/start.S: Moved to ...
75315 * sysdeps/x86_64/start.S: ... here.
75316 * sysdeps/x86_64/elf/configure: Delete.
75317
75318 * sysdeps/x86_64/configure.in: Merge contents from
75319 sysdeps/i386/configure.in (without i686 check).
75320
75321 * sysdeps/i386/elf/Versions: Merge into ...
75322 * sysdeps/i386/Versions: ... this.
75323 * sysdeps/i386/elf/Versions: Delete file.
75324 * sysdeps/i386/elf/start.S: Moved to ...
75325 * sysdeps/i386/start.S: ...here.
75326 * sysdeps/i386/elf/configure.in: Merge into...
75327 * sysdeps/i386/configure.in: ...here.
75328 * sysdeps/i386/elf/configure.in: Delete file.
75329 * sysdeps/i386/elf/configure: Delete file.
75330
75331 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
75332 * debug/backtracesyms.c: ... here.
75333 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
75334 * debug/backtracesymsfd.c: ... here.
75335 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
75336 * sysdeps/generic/ifunc-sel.h: ... here.
75337
75338 * sysdeps/unix/i386/start.c: Delete file.
75339 * sysdeps/unix/sparc/start.c: Delete file.
75340 * sysdeps/unix/start.c: Delete file.
75341
75342 * sysdeps/sh/elf/configure.in: Moved to ...
75343 * sysdeps/sh/configure.in: ... here.
75344 * sysdeps/sh/elf/start.S: Moved to ...
75345 * sysdeps/sh/start.S: ... here.
75346 * sysdeps/sh/elf/configure: Delete file.
75347
75348 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
75349 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
75350 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
75351 * sysdeps/powerpc/powerpc64/entry.h: ... here.
75352 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
75353 * sysdeps/powerpc/powerpc64/start.S: here.
75354 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
75355 * sysdeps/powerpc/powerpc64/Makefile: ... this.
75356 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
75357 * sysdeps/powerpc/powerpc64/configure.in: ... this.
75358 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
75359
75360 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
75361 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
75362 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
75363 * sysdeps/powerpc/powerpc32/start.S: ... here.
75364 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
75365 * sysdeps/powerpc/powerpc32/configure.in: ... this.
75366 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
75367
75368 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
75369 * sysdeps/powerpc/ifunc-sel.h: ... here.
75370 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
75371 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
75372
75373 * sysdeps/sparc/elf/configure.in: Moved to ...
75374 * sysdeps/sparc/configure.in: ... here.
75375 * sysdeps/sparc/elf/configure: Delete file.
75376 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
75377 * sysdeps/sparc/sparc32/start.S: ... here.
75378 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
75379 * sysdeps/sparc/sparc64/start.S: ... here.
75380 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
75381 * sysdeps/sparc/sparc32/Makefile: ... this.
75382 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
75383 * sysdeps/sparc/sparc64/Makefile: ... this.
75384
75385 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
75386 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
75387 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
75388 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
75389 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
75390 * sysdeps/s390/s390-32/setjmp.S: ... here.
75391 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
75392 * sysdeps/s390/s390-32/configure.in: ... here.
75393 * sysdeps/s390/s390-32/elf/configure: Delete file.
75394 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
75395 * sysdeps/s390/s390-32/start.S: ... here.
75396
75397 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
75398 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
75399 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
75400 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
75401 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
75402 * sysdeps/s390/s390-64/setjmp.S: ... here.
75403 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
75404 * sysdeps/s390/s390-64/configure.in: ... here
75405 * sysdeps/s390/s390-64/elf/configure: Delete file.
75406 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
75407 * sysdeps/s390/s390-64/start.S: ... here.
75408 * sysdeps/s390/s390-64/elf/configure: Delete.
75409
75410 * configure.in: Remove support for elf directories in sysdeps.
75411
75412 * configure: Regenerated.
75413 * sysdeps/i386/configure: Regenerated.
75414 * sysdeps/powerpc/powerpc32/configure: Regenerated.
75415 * sysdeps/powerpc/powerpc64/configure: Regenerated.
75416 * sysdeps/s390/s390-32/configure: Regenerated.
75417 * sysdeps/s390/s390-64/configure: Regenerated.
75418 * sysdeps/sh/configure: Regenerated.
75419 * sysdeps/sparc/configure: Regenerated.
75420 * sysdeps/x86_64/configure: Regenerated.
75421
75422 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
75423
75424 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75425
75426 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
75427 denormal result into account.
75428
75429 2012-03-25 Roland McGrath <roland@hack.frob.com>
75430
75431 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
75432 Reported by Allan McRae <allan@archlinux.org>.
75433
75434 2012-03-23 Jeff Law <law@redhat.com>
75435
75436 * nss/getnssent.c (__nss_getent): Fix typo.
75437
75438 2012-03-23 David S. Miller <davem@davemloft.net>
75439
75440 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75441
75442 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
75443
75444 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
75445 to pad to uint64_t for each field.
75446 (dl_tls_index): Replace unsigned long with uint64_t.
75447
75448 2012-03-23 Daniel Jacobowitz <dmj@google.com>
75449 Paul Pluzhnikov <ppluzhnikov@google.com>
75450
75451 [BZ #6528]
75452 * grp/Makefile (otherlibs): Don't set it.
75453 * inet/Makefile (otherlibs): Likewise.
75454 * login/Makefile (otherlibs): Likewise.
75455 * nscd/Makefile (otherlibs): Likewise.
75456 * posix/Makefile (otherlibs): Likewise.
75457 * pwd/Makefile (otherlibs): Likewise.
75458 * rt/Makefile (otherlibs): Likewise.
75459 * sunrpc/Makefile (otherlibs): Likewise.
75460 * nss/Makefile (otherlibs): Likewise.
75461 Add libnss_files to routines and static-only-routines.
75462 ($(objpfx)getent): Remove rule.
75463 * resolv/Makefile: Add libnss_dns and libresolv to routines and
75464 static-only-routines.
75465
75466 2012-03-22 Joseph Myers <joseph@codesourcery.com>
75467
75468 [BZ #13892]
75469 * math/s_cexp.c: Include <float.h>.
75470 (__cexp): Handle exp result overflowing not necessarily
75471 overflowing both real and imaginary parts of result.
75472 * math/s_cexpf.c: Likewise.
75473 * math/s_cexpl.c: Likewise.
75474 * math/libm-test.inc (cexp_test): Add more tests.
75475 * sysdeps/i386/fpu/libm-test-ulps: Update.
75476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75477
75478 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75479
75480 * include/link.h (ELFW): New macro.
75481 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
75482 Replace ELF64_R_TYPE with ELFW(R_TYPE).
75483
75484 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75485
75486 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
75487 with uint64_t.
75488
75489 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75490
75491 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
75492 declaration.
75493 (struct La_x32_retval): Likewise.
75494
75495 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75496
75497 * sysdeps/x86_64/preconfigure.in: New file.
75498 * sysdeps/x86_64/preconfigure: New generated file.
75499
75500 2012-03-22 Joseph Myers <joseph@codesourcery.com>
75501
75502 [BZ #13824]
75503 * math/e_exp2l.c: Include <float.h>.
75504 (__ieee754_exp2l): Handle overflow and underflow cases
75505 separately. Only pass fractional part of argument to
75506 __ieee754_expl.
75507 * math/libm-test.inc (exp2_test): Add more tests.
75508
75509 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
75510 negating x to take absolute value.
75511 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
75512 Likewise.
75513 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
75514 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
75515 Likewise.
75516 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
75517 computing low part if x was negated.
75518 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
75519
75520 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
75521
75522 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
75523 la_x32_gnu_pltexit.
75524 (pltexit): Cast int_retval to ptrdiff_t.
75525 * elf/tst-auditmod3b.c: Likewise.
75526 * elf/tst-auditmod4b.c: Likewise.
75527 * elf/tst-auditmod5b.c: Likewise.
75528 * elf/tst-auditmod6b.c: Likewise.
75529 * elf/tst-auditmod6c.c: Likewise.
75530 * elf/tst-auditmod7b.c: Likewise.
75531
75532 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
75533 and x32_gnu_pltexit.
75534
75535 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
75536 __ELF_NATIVE_CLASS.
75537 (La_x32_regs): New macro.
75538 (La_x32_retval): Likewise.
75539 (la_x32_gnu_pltenter): New function prototype.
75540 (la_x32_gnu_pltexit): Likewise.
75541
75542 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
75543
75544 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
75545 exponent.
75546
75547 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75548
75549 * configure.in (libc_cv_cc_nofma): Check for option to disable
75550 generation of FMA instructions.
75551 * configure: Regenerate.
75552 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
75553 * sysdeps/ieee754/dbl-64/Makefile: New file.
75554 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
75555 Remove brandred-fma4.
75556 (CFLAGS-brandred-fma4.c): Remove.
75557 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
75558 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
75559 define.
75560 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
75561 define.
75562
75563 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
75564
75565 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75566 LLONG_MAX != LONG_MAX.
75567 (_itoa_word): Use _ITOA_WORD_TYPE on value.
75568 (_fitoa_word): Likewise.
75569 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
75570 LLONG_MAX != LONG_MAX.
75571 * stdio-common/_itowa.h: Include <_itoa.h>.
75572 (_itowa_word): Use _ITOA_WORD_TYPE on value.
75573 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
75574 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
75575 only if not defined.
75576 (_ITOA_WORD_TYPE): Likewise.
75577 (_itoa_word): Use _ITOA_WORD_TYPE on value.
75578 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
75579
75580 2012-03-21 David S. Miller <davem@davemloft.net>
75581
75582 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75583
75584 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
75585
75586 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
75587 of x86_64 when setting libc_cv_slibdir, libdir and
75588 libc_cv_localedir.
75589 * sysdeps/unix/sysv/linux/configure: Regenerated.
75590
75591 2012-03-21 Joseph Myers <joseph@codesourcery.com>
75592
75593 * manual/lang.texi (Old Varargs): Remove section.
75594 (How Variadic): Update menu.
75595 (va_start): Do not mention varargs.h.
75596
75597 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
75598 Joseph Myers <joseph@codesourcery.com>
75599
75600 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
75601 link test.
75602 * configure: Regenerated.
75603
75604 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
75605
75606 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
75607 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
75608 conformtest.pl
75609
75610 2012-03-21 Joseph Myers <joseph@codesourcery.com>
75611
75612 * NOTES: Remove.
75613 * Makefile (files-for-dist): Remove NOTES.
75614 (NOTES): Remove rule.
75615 * README: Don't refer to NOTES.
75616 * manual/creature.texi: Don't include macros.texi.
75617 * manual/intro.texi (creature.texi): Remove comment referring to
75618 NOTES.
75619
75620 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
75621 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
75622 * configure: Regenerated.
75623 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
75624 LIBC_TRY_CC_OPTION.
75625 (libc_cv_as_i686): Likewise.
75626 (libc_cv_cc_avx): Likewise.
75627 (libc_cv_cc_sse2avx): Likewise.
75628 (libc_cv_cc_fma4): Likewise.
75629 (libc_cv_cc_novzeroupper): Likewise.
75630 * sysdeps/i386/configure: Regenerated.
75631
75632 [BZ #13883]
75633 * sysdeps/i386/fpu/s_cexp.S: Remove.
75634 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75635 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75636 * math/libm-test.inc (cexp_test): Add more tests.
75637 * sysdeps/i386/fpu/libm-test-ulps: Update.
75638 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75639
75640 2012-03-21 Allan McRae <allan@archlinux.org>
75641
75642 * timezone/Makefile: Do not install iso3166.tab and zone.tab
75643
75644 2012-03-21 Joseph Myers <joseph@codesourcery.com>
75645
75646 [BZ #13871]
75647 * math/w_exp2.c: Do not include <float.h>.
75648 (o_threshold, u_threshold): Remove.
75649 (__exp2): Calculate result before checking finiteness and calling
75650 __kernel_standard.
75651 * math/w_exp2f.c: Likewise.
75652 * math/w_exp2l.c: Likewise.
75653 * math/libm-test.inc (exp2_test): Require overflow exception for
75654 1e6 input.
75655
75656 [BZ #3866]
75657 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
75658 range of signed 64-bit integers before using fistpll. Remove
75659 checks for whether integers fit in mantissa bits.
75660 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
75661 the range of signed 32-bit integers before using fistpl. Remove
75662 checks for whether integers fit in mantissa bits.
75663 * sysdeps/i386/fpu/e_powl.S (p64): New object.
75664 (__ieee754_powl): Test for y outside the range of signed 64-bit
75665 integers before using fistpll. Reduce 64-bit values to 63-bit
75666 ones as needed.
75667 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
75668 divide-by-zero is raised for zero to large negative powers.
75669 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
75670 (__ieee754_powl): Test for y outside the range of signed 64-bit
75671 integers before using fistpll. Reduce 64-bit values to 63-bit
75672 ones as needed.
75673 * math/libm-test.inc (pow_test): Add more tests.
75674
75675 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
75676
75677 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
75678 <stdio-common/_itoa.h>.
75679 * debug/segfault.c: Likewise.
75680 * elf/dl-cache.c: Likewise.
75681 * elf/dl-minimal.c: Likewise.
75682 * elf/dl-misc.c: Likewise.
75683 * elf/dl-sysdep.c: Likewise.
75684 * elf/dl-version.c: Likewise.
75685 * elf/rtld.c: Likewise.
75686 * hurd/hurdsock.c: Likewise.
75687 * hurd/lookup-retry.c: Likewise.
75688 * malloc/malloc.c: Likewise.
75689 * malloc/mtrace.c: Likewise.
75690 * nscd/nscd_getgr_r.c: Likewise.
75691 * nscd/nscd_getpw_r.c: Likewise.
75692 * nscd/nscd_getserv_r.c: Likewise.
75693 * posix/getopt_init.c: Likewise.
75694 * posix/wordexp.c: Likewise.
75695 * stdio-common/_itoa.c: Likewise.
75696 * stdio-common/printf_fphex.c: Likewise.
75697 * stdio-common/vfprintf.c: Likewise.
75698 * string/_strerror.c: Likewise.
75699 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
75700 * sysdeps/i386/i686/hp-timing.h: Likewise.
75701 * sysdeps/mach/_strerror.c: Likewise.
75702 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
75703 * sysdeps/mach/hurd/sethostid.c: Likewise.
75704 * sysdeps/mach/hurd/xmknodat.c: Likewise.
75705 * sysdeps/mach/xpg-strerror.c: Likewise.
75706 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
75707 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
75708 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
75709 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
75710 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
75711 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
75712 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
75713 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
75714 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
75715 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
75716 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
75717 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
75718 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
75719 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
75720 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
75721 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
75722 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
75723 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
75724 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
75725 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
75726 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
75727
75728 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
75729
75730 * stdio-common/_itoa.h: Moved to ...
75731 * sysdeps/generic/_itoa.h: Here.
75732
75733 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
75734
75735 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
75736 instead of "_itoa.h" and "_itowa.h".
75737 * stdio-common/vfprintf.: Likewise.
75738
75739 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
75740
75741 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
75742 <bits/wordsize.h>.
75743 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
75744 (__signbit): Likewise.
75745 (llrintf): Likewise.
75746 (llrint): Likewise.
75747
75748 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
75749
75750 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
75751 __WORDSIZE != 64.
75752
75753 2012-03-20 Joseph Myers <joseph@codesourcery.com>
75754
75755 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
75756 OVERFLOW_EXCEPTION_OK.
75757 * math/libm-test.inc ("Philosophy"): Update comment about
75758 exception testing.
75759 (OVERFLOW_EXCEPTION): Define.
75760 (OVERFLOW_EXCEPTION_OK): Likewise.
75761 (INVALID_EXCEPTION_OK): Renumber.
75762 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75763 (IGNORE_ZERO_INF_SIGN): Likewise.
75764 (test_exceptions): Handle FE_OVERFLOW.
75765 (exp10_test): Expect overflow exceptions.
75766 (exp2_test): Likewise.
75767 (expm1_test): Likewise.
75768 (nextafter_test): Likewise.
75769 (pow_test): Likewise.
75770 (scalbn_test): Likewise.
75771 (scalbln_test): Likewise.
75772
75773 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75774
75775 * sysdeps/x86_64/bits/atomic.h
75776 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
75777 64bit integer.
75778 (atomic_exchange_acq): Likewise.
75779 (__arch_exchange_and_add_body): Likewise.
75780 (__arch_add_body): Likewise.
75781 (atomic_add_negative): Likewise.
75782 (atomic_add_zero): Likewise.
75783
75784 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75785
75786 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
75787 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
75788
75789 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75790
75791 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
75792 Check __x86_64__ instead of __WORDSIZE.
75793
75794 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75795
75796 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
75797
75798 2012-03-19 David S. Miller <davem@davemloft.net>
75799
75800 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75801
75802 * sysdeps/sparc/fpu/fenv_private.h: New file.
75803 * sysdeps/sparc/fpu/math_private.h: Use it.
75804 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
75805 Remove.
75806 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
75807 (libc_feholdexcept_setroundl): Remove.
75808 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
75809 Remove.
75810 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
75811 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
75812
75813 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75814
75815 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
75816 int64_t instead of long int.
75817 (INSERT_WORDS64): Likewise.
75818
75819 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75820
75821 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
75822 _Unwind_GetCFA return to _Unwind_Ptr first.
75823
75824 2012-03-19 Joseph Myers <joseph@codesourcery.com>
75825
75826 [BZ #13629]
75827 * math/s_clog.c: Include <float.h>.
75828 (__clog): Scale large or subnormal inputs.
75829 * math/s_clogf.c: Likewise.
75830 * math/s_clogl.c: Likewise.
75831 * math/s_clog10.c: Include <float.h>.
75832 (M_LOG10_2): Define.
75833 (__clog10): Scale large or subnormal inputs.
75834 * math/s_clog10f.c: Likewise.
75835 * math/s_clog10l.c: Likewise.
75836 * math/libm-test.inc (clog_test): Add more tests.
75837 (clog10_test): Likewise.
75838 * sysdeps/i386/fpu/libm-test-ulps: Update.
75839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75840
75841 [BZ #11451]
75842 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
75843 x and y.
75844 * math/libm-test.inc (atan2_test): Add another test.
75845
75846 * Makerules (common-objdir-compile): Remove.
75847 * sysdeps/unix/Makefile (config-generated): Do not add
75848 $(unix-generated) to variable.
75849 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
75850 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
75851 Remove rule.
75852 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
75853 Likewise.
75854 [generic bits/local_lim.h] (before-compile): Do not append to
75855 variable.
75856 [generic bits/local_lim.h] (common-generated): Likewise.
75857 [generic sys/param.h] (before-compile): Do not append to variable.
75858 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
75859 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
75860 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
75861 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
75862 include.
75863 [generic sys/param.h] (sys/param.h-includes): Remove variable.
75864 [generic sys/param.h] (sys/param.h-includes): Remove rule.
75865 [generic sys/param.h] ($(addprefix
75866 $(common-objpfx),$(sys/param.h-includes))): Likewise.
75867 [generic sys/param.h] (common-generated): Do not append to
75868 variable.
75869 [generic sys/param.h] (sysdep_headers): Likewise.
75870 [generic bits/errno.h] (before-compile): Do not append to
75871 variable.
75872 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
75873 rule.
75874 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
75875 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
75876 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
75877 [generic bits/errno.h] (common-generated): Do not append to
75878 variable.
75879 [generic bits/ioctls.h] (before-compile): Do not append to
75880 variable.
75881 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
75882 rule.
75883 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
75884 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
75885 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
75886 rule.
75887 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
75888 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
75889 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
75890 [generic bits/ioctls.h] (common-generated): Do not append to
75891 variable.
75892 [generic sys/syscall.h] (syscall.h): Remove variable.
75893 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
75894 rule.
75895 [generic sys/syscall.h] (before-compile): Do not append to
75896 variable.
75897 [generic sys/syscall.h] (common-generated): Likewise.
75898 * sysdeps/unix/errnos-tmpl.c: Remove file.
75899 * sysdeps/unix/errnos.awk: Likewise.
75900 * sysdeps/unix/ioctls-tmpl.c: Likewise.
75901 * sysdeps/unix/ioctls.awk: Likewise.
75902 * sysdeps/unix/mk-local_lim.c: Likewise.
75903 * sysdeps/unix/snarf-ioctls: Likewise.
75904
75905 2012-03-19 Richard Henderson <rth@twiddle.net>
75906
75907 * sysdeps/i386/fpu/fenv_private.h: New file.
75908 * sysdeps/i386/fpu/math_private.h: Use it.
75909 (math_opt_barrier, math_force_eval): Remove.
75910 (libc_feholdexcept_setround_53bit): Remove.
75911 (libc_feupdateenv_53bit): Remove.
75912 * sysdeps/x86_64/fpu/math_private.h: Likewise.
75913 (math_opt_barrier, math_force_eval): Remove.
75914 (libc_feholdexcept): Remove.
75915 (libc_feholdexcept_setround): Remove.
75916 (libc_fetestexcept, libc_fesetenv): Remove.
75917 (libc_feupdateenv_test): Remove.
75918 (libc_feupdateenv, libc_feholdsetround): Remove.
75919 (libc_feresetround): Remove.
75920
75921 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
75922 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
75923
75924 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
75925 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
75926 (libc_feupdateenv_testl): New.
75927 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
75928 (libc_feupdateenv_testf): New.
75929 (libc_feupdateenv): Use libc_feupdateenv_test.
75930 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
75931 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
75932
75933 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
75934 (libc_feholdsetroundf, libc_feholdsetroundl): New.
75935 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
75936 (libc_feresetround_noex): New.
75937 (libc_feresetround_noexf): New.
75938 (libc_feresetround_noexl): New.
75939 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
75940 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
75941 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
75942 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
75943 SET_RESTORE_ROUND.
75944 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
75945 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
75946 (__cos): Likewise.
75947 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
75948 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
75949 SET_RESTORE_ROUND_NOEX.
75950 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
75951 SET_RESTORE_ROUND_NOEXF.
75952 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
75953 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
75954 (libc_feholdsetroundf): New.
75955 (libc_feresetround, libc_feresetroundf): New.
75956
75957 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
75958 (libc_feholdexcept_setround_53bit): Convert from macro to function.
75959 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
75960
75961 * sysdeps/generic/math_private.h: Include <fenv.h>.
75962 (default_libc_feholdexcept): New.
75963 (default_libc_feholdexcept_setround): New.
75964 (default_libc_fesetenv, default_libc_feupdateenv): New.
75965 (libc_feholdexcept): Only define if undefined.
75966 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
75967 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
75968 (libc_feholdexcept_setroundl): Likewise.
75969 (libc_feholdexcept_setround_53bit): Likewise.
75970 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
75971 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
75972 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
75973 (libc_feupdateenv_53bit): Likewise.
75974 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
75975 (libc_feholdexcept): Convert from macro to inline function.
75976 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
75977 (libc_fesetenv, libc_feupdateenv): Likewise.
75978
75979 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
75980 not previously defined.
75981 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
75982 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
75983 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
75984 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
75985 * sysdeps/ieee754/flt-32/math_private.h: New file.
75986 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
75987 math_private.h below SET_FLOAT_WORD.
75988 (__isnan, __isinf_ns, __finite): Remove.
75989 (__isnanf, __isinf_nsf, __finitef): Remove.
75990
75991 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
75992
75993 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75994
75995 2012-03-17 David S. Miller <davem@davemloft.net>
75996
75997 [BZ #6471]
75998 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
75999 for 2.16.
76000
76001 2012-03-16 David S. Miller <davem@davemloft.net>
76002
76003 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
76004 warnings.
76005
76006 [BZ #6471]
76007 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
76008 properly.
76009 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
76010 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
76011 sysdep_routines when subdir is sysvipc.
76012 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
76013 __getshmlba helper.
76014
76015 * sysdeps/sparc/fpu/libm-test/ulps: Update.
76016
76017 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
76018
76019 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
76020 [__LP64__].
76021
76022 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
76023
76024 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
76025 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
76026 (__lround): Renamed to ...
76027 (__llround): This. Replace long int with long long int.
76028 Define lround functions as aliases of llround functions.
76029 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
76030
76031 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
76032
76033 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
76034 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
76035 adresses to uintptr_t. Replace "long int" and "unsigned long
76036 int" with "greg_t" on va_arg.
76037
76038 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
76039
76040 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
76041 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
76042
76043 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
76044 Move e_machine check before EI_CLASS check. Handle x32
76045 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
76046 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
76047 SKIP_EM_IA_64 and include
76048 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
76049
76050 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
76051 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
76052 (add_system_dir): New macro.
76053
76054 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
76055 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
76056
76057 2012-03-16 Joseph Myers <joseph@codesourcery.com>
76058
76059 [BZ #2551]
76060 [BZ #2552]
76061 [BZ #2553]
76062 [BZ #2554]
76063 [BZ #2562]
76064 [BZ #2563]
76065 [BZ #2565]
76066 [BZ #2566]
76067 [BZ #2576]
76068 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
76069 (y0): Likewise.
76070 * math/w_j0f.c (j0f): Likewise.
76071 (y0f): Likewise.
76072 * math/w_j0l.c (__j0l): Likewise.
76073 (__y0l): Likewise.
76074 * math/w_j1.c (j1): Likewise.
76075 (y1): Likewise.
76076 * math/w_j1f.c (j1f): Likewise.
76077 (y1f): Likewise.
76078 * math/w_j1l.c (__j1l): Likewise.
76079 (__y1l): Likewise.
76080 * math/w_jn.c (jn): Likewise.
76081 (yn): Likewise.
76082 * math/w_jnf.c (jnf): Likewise.
76083 (ynf): Likewise.
76084 * math/w_jnl.c (__jnl): Likewise.
76085 (__ynl): Likewise.
76086 * math/libm-test.inc (j0_test): Add more tests.
76087 (j1_test): Likewise.
76088 (jn_test): Likewise. Add trailing semicolon to existing test.
76089 (y0_test): Likewise.
76090 (y1_test): Likewise.
76091 * sysdeps/i386/fpu/libm-test-ulps: Update.
76092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76093
76094 [BZ #13851]
76095 [BZ #13854]
76096 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
76097 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
76098 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
76099 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
76100 (__tanl): Set errno for infinite argument.
76101 * sysdeps/i386/fpu/mptan.c: Remove.
76102 * sysdeps/i386/fpu/s_tan.S: Likewise.
76103 * sysdeps/i386/fpu/s_tanl.S: Likewise.
76104 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
76105 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
76106 * math/libm-test.inc (tan_test): Add more tests and enable more
76107 tests for double and long double.
76108 * sysdeps/i386/fpu/libm-test-ulps: Update.
76109 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76110
76111 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
76112
76113 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
76114 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
76115
76116 2012-03-16 Roland McGrath <roland@hack.frob.com>
76117
76118 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
76119 * configure.in: Use it for both main tree and add-ons.
76120 * configure: Regenerated.
76121
76122 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
76123
76124 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
76125
76126 2012-03-16 Joseph Myers <joseph@codesourcery.com>
76127
76128 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
76129 in comment.
76130
76131 [BZ #13851]
76132 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
76133 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
76134 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
76135 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
76136 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
76137 infinite argument.
76138 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
76139 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
76140 != 0 for prec == 2.
76141 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
76142 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
76143 * sysdeps/i386/fpu/s_cosl.S: Likewise.
76144 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
76145 * sysdeps/i386/fpu/s_sinl.S: Likewise.
76146 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
76147 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
76148 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
76149 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
76150 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
76151 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
76152 * math/libm-test.inc (cos_test): Add more tests and enable more
76153 tests for long double.
76154 (sin_test): Likewise.
76155 (sincos_test): Likewise.
76156 * sysdeps/i386/fpu/libm-test-ulps: Update.
76157 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76158
76159 2012-03-16 David S. Miller <davem@davemloft.net>
76160
76161 * sysdeps/sparc/fpu/math_private.h: New file.
76162
76163 2012-03-15 David S. Miller <davem@davemloft.net>
76164
76165 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
76166 file.
76167 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
76168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
76169 file.
76170 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
76171 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
76172 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
76173 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
76174 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
76175 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
76176 sysdep routines.
76177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
76178
76179 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
76180 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
76181
76182 * sysdeps/sparc/sparc-ifunc.h: New file.
76183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
76184 sparc-ifunc.h
76185 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
76186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
76187 Likewise.
76188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
76189 Likewise.
76190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
76191 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
76192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
76193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
76194 Likewise.
76195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
76196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
76197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
76198 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
76199 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
76200 Likewise.
76201 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
76202 Likewise.
76203 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
76204 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
76205 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
76206 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
76207 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
76208 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
76209 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
76210 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
76211 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
76212 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
76213 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
76214 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
76215 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
76216 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
76217 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
76218 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
76219 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
76220 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
76221 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
76222 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
76223 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
76224 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
76225 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
76226 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
76227
76228 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
76229
76230 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
76231 scaling.
76232 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76233
76234 2012-03-15 Andreas Jaeger <aj@suse.de>
76235
76236 [BZ #13852]
76237 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
76238 ieee754/flt-32 implementation for sin, cos and sincos.
76239 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
76240 * sysdeps/i386/fpu/s_cosf.S: Likewise.
76241 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
76242 * sysdeps/i386/fpu/s_sinf.S: Likewise.
76243 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
76244 ieee754/flt-32 implementation for tan.
76245
76246 * math/libm-test.inc (cos_test): Enable some large input tests for
76247 float as well
76248 (sin_test): Likewise.
76249 (sincos_test): Likewise.
76250 (tan_test): Add tests for large input.
76251
76252 * sysdeps/i386/fpu/libm-test-ulps: Update.
76253
76254 2012-03-15 Andreas Jaeger <aj@suse.de>
76255
76256 [BZ #13658]
76257 * math/libm-test.inc (cos_test): Add more test cases.
76258 (sin_test): Likewise.
76259 (sincos_test): Likewise.
76260
76261 2012-03-15 Andreas Jaeger <aj@suse.de>
76262
76263 [BZ #13837]
76264 * math/libm-test.inc (cos_test): Add a test case for large input
76265 value.
76266 (sin_test): Likewise.
76267 (sincos_test): Likewise.
76268
76269 2012-03-15 Andreas Jaeger <aj@suse.de>
76270 Joseph Myers <joseph@codesourcery.com>
76271
76272 [BZ #13658]
76273 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
76274 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
76275 * sysdeps/i386/fpu/branred.c: Likewise.
76276 * sysdeps/i386/fpu/dosincos.c: Likewise.
76277 * sysdeps/i386/fpu/mpa.c: Likewise.
76278 * sysdeps/i386/fpu/s_cos.S: Likewise.
76279 * sysdeps/i386/fpu/s_sin.S: Likewise.
76280 * sysdeps/i386/fpu/s_sincos.S: Likewise.
76281 * sysdeps/i386/fpu/sincos32.c: Likewise.
76282
76283 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
76284 Define.
76285 (libc_feupdateenv_53bit): Define.
76286 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
76287 Define.
76288 (libc_feupdateenv_53bit): Define.
76289
76290 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
76291 53 bit (without extend i386 double precision).
76292
76293 * math/libm-test.inc (sincos_test): Add tests for large input.
76294 (sin): Likewise.
76295 (cos): Likewise.
76296
76297 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
76298
76299 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
76300
76301 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76302
76303 2012-03-15 David S. Miller <davem@davemloft.net>
76304
76305 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
76306 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
76307 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
76308 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
76309 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
76310 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
76311 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
76312 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
76313 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
76314 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
76315 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
76316 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
76317 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
76318 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
76319 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
76320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
76321 file.
76322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
76323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
76324 file.
76325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
76326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
76327 file.
76328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
76329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
76330 file.
76331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
76332 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
76333 fmin/fmax sysdep routines.
76334 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
76335
76336 2012-03-14 David S. Miller <davem@davemloft.net>
76337
76338 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
76339 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
76340 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
76341 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
76342 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
76343 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
76344 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
76345 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
76346 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
76347 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
76348 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
76349 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
76350 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
76351 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
76352 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
76353 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
76354 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
76355 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
76356 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
76357 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
76358 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
76359 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
76360 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
76361 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
76362 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
76363 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
76364 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
76365 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
76366 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
76367 routines.
76368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
76369 file.
76370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
76371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
76372 file.
76373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
76374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
76375 file.
76376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
76377 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
76378 file.
76379 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
76380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
76381 file.
76382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
76383 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
76384 file.
76385 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
76386 file.
76387 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
76388 file.
76389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
76390 file.
76391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
76392 New file.
76393 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
76394 file.
76395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
76396 file.
76397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
76398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
76399 file.
76400 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
76401 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
76402 file.
76403 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
76404 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
76405 file.
76406 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
76407 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
76408 VIS3 routines.
76409
76410 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
76411 New file.
76412
76413 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76414
76415 * sysdeps/sparc/configure.in: New file.
76416 * sysdeps/sparc/configure: Generate.
76417 * configure.in (libc_cv_sparc_as_vis3): Substitute.
76418 * configure: Regenerate.
76419 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
76420 * config.make.in (have-as-vis3): New.
76421 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
76422 available use -Av9d instead of -Av9a.
76423 * sysdeps/sparc/sparc64/Makefile: Likewise.
76424 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
76425 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
76426 New file.
76427 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
76428 file.
76429 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
76430 New file.
76431 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
76432 file.
76433 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
76434 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
76435 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
76436 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
76437 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
76438
76439 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
76440 fzeros/fnegs to load 0x80000000 into a float register instead of
76441 using the stack.
76442 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
76443
76444 2012-03-14 Joseph Myers <joseph@codesourcery.com>
76445
76446 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76447 bits/syscall.h.
76448 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
76449 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
76450 ($(inst_includedir)/bits/syscall.h): Remove rule.
76451 ($(objpfx)bits/syscall.d): Include instead of
76452 $(objpfx)syscall-list.d.
76453 (generated): Change syscall-list.h and syscall-list.d to
76454 bits/syscall.h and bits/syscall.d.
76455
76456 2012-03-14 Roland McGrath <roland@hack.frob.com>
76457
76458 [BZ #13846]
76459 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
76460
76461 2012-03-14 Joseph Myers <joseph@codesourcery.com>
76462
76463 [BZ #13841]
76464 * math/s_csqrt.c: Include <float.h>.
76465 (__csqrt): Scale large or subnormal inputs.
76466 * math/s_csqrtf.c: Likewise.
76467 * math/s_csqrtl.c: Likewise.
76468 * math/libm-test.inc (csqrt_test): Add more tests.
76469 * sysdeps/i386/fpu/libm-test-ulps: Update.
76470 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76471
76472 [BZ #13840]
76473 * math/libm-test.inc (hypot_test): Add more tests.
76474
76475 2012-03-13 David S. Miller <davem@davemloft.net>
76476
76477 [BZ #13840]
76478 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
76479 double-precision for the calculation instead of scaling.
76480
76481 2012-03-13 Joseph Myers <joseph@codesourcery.com>
76482
76483 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
76484 manipulate bits before adding and subtracting TWO52[sx].
76485 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
76486 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
76487 Likewise.
76488 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
76489
76490 2012-03-13 David S. Miller <davem@davemloft.net>
76491
76492 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
76493 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
76494 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
76495 rtld-global-offsets.h
76496 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76497
76498 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
76499 large parameters.
76500
76501 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
76502
76503 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
76504 'err' in the ifdef scope in which it is actually used.
76505
76506 * nss/nss_db/db-init.c: Include string.h
76507
76508 2012-03-12 David S. Miller <davem@davemloft.net>
76509
76510 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76511 masking out of the most significant byte of random value used.
76512 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76513 Fix coding style in previous change.
76514
76515 * sysdeps/unix/sysv/linux/kernel-features.h
76516 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
76517 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
76518 expression.
76519 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
76520 later.
76521
76522 2012-03-11 David S. Miller <davem@davemloft.net>
76523
76524 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
76525 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
76526 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
76527 for 'resultvar' otherwise things get truncated on 64-bit.
76528
76529 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76530 Fix masking out of the most significant byte of random value used.
76531
76532 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76533
76534 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
76535
76536 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76537
76538 2012-03-09 David S. Miller <davem@davemloft.net>
76539
76540 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
76541 variables with appropriate CPP guards.
76542 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
76543 from the frame pointer, not the stack pointer. Correct layout
76544 comments. Fix test on resulting framesize and the management of
76545 the outregs buffer for pltexit. Preserve floating point return
76546 values across _dl_call_pltexit call.
76547 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
76548 framesize and the management of the outregs buffer for pltexit.
76549 Preserve floating point return values across _dl_call_pltexit
76550 call.
76551 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
76552 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
76553 (la_sparc64_gnu_pltexit): New functions.
76554 (print_exit): Fix format string for return register value.
76555
76556 2012-03-10 Joseph Myers <joseph@codesourcery.com>
76557
76558 * sunrpc/Makefile (others): Add rpcgen.
76559 ($(objpfx)rpcgen): Remove special build rule and dependency on
76560 libc.
76561 * sunrpc/rpcgen.c: New file.
76562
76563 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
76564
76565 [BZ #13673]
76566 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
76567 * stdio-common/bug-vfprintf-nargs.c: Likewise.
76568 * sysdeps/i386/crti.S: Likewise.
76569 * sysdeps/i386/crtn.S: Likewise.
76570 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
76571 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
76572 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
76573 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
76574 * sysdeps/sh/crti.S: Likewise.
76575 * sysdeps/sh/crtn.S: Likewise.
76576 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
76577
76578 [BZ #13673]
76579 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
76580 with URL.
76581 * locale/programs/locfile-kw.gperf: Likewise.
76582 * locale/programs/charmap-kw.h: Regenerated.
76583 * locale/programs/locfile-kw.h: Likewise.
76584
76585 [BZ #13673]
76586 * intl/plural.y: Replace FSF snail mail address with URL.
76587 * intl/plural.c: Regenerated.
76588
76589 2012-03-09 Richard Henderson <rth@twiddle.net>
76590
76591 * include/math_private.h: Remove file.
76592 * math/math_private.h: Move file ...
76593 * sysdeps/generic/math_private.h: ... here.
76594
76595 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
76596 * sysdeps/powerpc/fpu/math_private.h: Likewise.
76597 * sysdeps/x86_64/fpu/math_private.h: Likewise.
76598
76599 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
76600 and <math_private.h>.
76601 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
76602 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
76603 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
76604 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
76605 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
76606 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
76607 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
76608 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76609 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76610 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76611 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76612 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76613 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76614 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76615 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76616 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76617 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76618 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76619 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76620 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76621 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76622 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76623 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76624 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76625 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
76626 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76627 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76628 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76629 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76630 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
76631 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76632 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76633 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
76634 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
76635 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
76636 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
76637 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
76638 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
76639 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
76640 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76641 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
76642 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
76643 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
76644 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
76645 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
76646 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
76647 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
76648 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
76649 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
76650 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
76651 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
76652 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
76653 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
76654 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
76655 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
76656 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
76657 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76658 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
76659 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
76660 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
76661 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
76662 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
76663 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76664 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
76665 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
76666 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
76667 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
76668 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
76669 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
76670 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
76671 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
76672 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76673 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
76674 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76675 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
76676 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
76677 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
76678 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
76679 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
76680 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
76681 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
76682 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
76683 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
76684 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
76685 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
76686 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
76687 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
76688 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
76689 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76690 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76691 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76692 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76693 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76694 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76695 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76696 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76697 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76698 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76699 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76700 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76701 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76702 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76703 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76704 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76705 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
76706 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76707 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76708 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76709 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
76710 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
76711 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
76712 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
76713 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76714 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
76715 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
76716 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76717 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
76718 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
76719 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76720 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
76721 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76722 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76723 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76724 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
76725 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76726 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76727 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76728 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
76729 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76730 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
76731 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
76732 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
76733 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76734 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
76735 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
76736 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76737 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
76738 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76739 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
76740 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
76741 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76742 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76743 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76744 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
76745 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
76746 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76747 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76748 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76749 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
76750 * sysdeps/ieee754/k_standard.c: Likewise.
76751 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76752 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76753 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76754 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76755 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76756 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76757 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76758 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76759 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76760 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76761 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76762 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76763 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76764 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76765 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76766 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76767 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
76768 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76769 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76770 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
76771 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
76772 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
76773 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76774 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76775 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
76776 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
76777 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76778 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76779 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76780 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76781 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
76782 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76783 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76784 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76785 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
76786 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76787 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76788 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
76789 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
76790 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76791 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
76792 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
76793 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
76794 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76795 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
76796 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
76797 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76798 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76799 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76800 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76801 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76802 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
76803 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76804 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
76805 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76806 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76807 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
76808 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
76809 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76810 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76811 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76812 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
76813 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76814 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76815 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76816 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76817 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76818 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76819 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76820 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76821 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76822 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76823 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76824 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76825 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76826 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76827 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
76828 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76829 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76830 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
76831 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
76832 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
76833 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76834 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76835 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
76836 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76837 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76838 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
76839 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
76840 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76841 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
76842 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76843 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
76844 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
76845 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76846 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76847 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
76848 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
76849 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
76850 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
76851 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
76852 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
76853 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
76854 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
76855 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
76856 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
76857 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
76858 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
76859 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
76860 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76861 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76862 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76863 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76864 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76865 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76866 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76867 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76868 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76869 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76870 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76871 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76872 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76873 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76874 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76875 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76876 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
76877 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76878 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76879 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76880 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76881 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76882 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76883 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76884 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
76885 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76886 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76887 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
76888 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
76889 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76890 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
76891 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
76892 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76893 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
76894 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
76895 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76896 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76897 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76898 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76899 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76900 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
76901 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76902 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
76903 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76904 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76905 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
76906 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
76907 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76908 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76909 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76910 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
76911 * sysdeps/ieee754/s_lib_version.c: Likewise.
76912 * sysdeps/ieee754/s_matherr.c: Likewise.
76913 * sysdeps/ieee754/s_signgam.c: Likewise.
76914 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76915 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76916 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
76917 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
76918 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
76919 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
76920 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
76921 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
76922 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
76923 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
76924 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
76925 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
76926 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76927 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76928 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
76929 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
76930 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
76931 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
76932 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
76933 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76934 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76935
76936 2012-03-09 Joseph Myers <joseph@codesourcery.com>
76937
76938 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
76939 * sunrpc/rpc_main.c: Likewise.
76940 * sunrpc/rpc_svcout.c: Likewise.
76941
76942 2012-03-09 David S. Miller <davem@davemloft.net>
76943
76944 * include/math_private.h: New file.
76945
76946 2012-03-09 Joseph Myers <joseph@codesourcery.com>
76947
76948 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
76949 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
76950 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
76951 from <bits/socket_type.h>.
76952 (enum __socket_type): Don't define here.
76953 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
76954 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76955 bits/socket_type.h.
76956
76957 [BZ #13566]
76958 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
76959 checking __USE_GNU.
76960
76961 * Makerules ($(inst_includedir)/%.h): New rule.
76962 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
76963 (install-others): Remove variable setting.
76964 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
76965
76966 2012-03-08 Richard Henderson <rth@twiddle.net>
76967
76968 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
76969 from macro to inline function; merge with the
76970 !__LIBC_INTERNAL_MATH_INLINES version.
76971 (__ieee754_sqrtf): Likewise.
76972
76973 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
76974 to inline function.
76975 (__rintf, __floor, __floorf): Likewise.
76976
76977 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
76978 macro to inline function.
76979 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
76980
76981 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
76982 not <math/math_private.h>.
76983
76984 2012-03-08 David S. Miller <davem@davemloft.net>
76985
76986 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
76987 copyright year.
76988 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
76989
76990 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
76991
76992 * resolv/gai_misc.c (handle_requests): Fix struct timespec
76993 normalization.
76994 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
76995 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
76996
76997 2012-03-08 Ulrich Drepper <drepper@gmail.com>
76998
76999 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
77000 be defined individually, they must be defined as a block. Define
77001 S for printing a string instead of hidint the different by using a
77002 macro for adding the 'l'.
77003 * stdio-common/tst-fphex-wide.c: Adjust.
77004
77005 2012-03-07 Marek Polacek <polacek@redhat.com>
77006
77007 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
77008
77009 2012-03-08 Marek Polacek <polacek@redhat.com>
77010
77011 [BZ #13806]
77012 * stdio-common/Makefile (tests): Add tst-fphex-wide.
77013 * stdio-common/tst-fphex.c: Define a few macros to make the
77014 test reusable. Use them.
77015 * stdio-common/tst-fphex-wide.c: New file.
77016
77017 2012-03-08 Joseph Myers <joseph@codesourcery.com>
77018
77019 [BZ #6911]
77020 * manual/macros.texi (gnusystems): New macro.
77021 (nongnusystems): Likewise.
77022 (gnulinuxhurdsystems): Likewise.
77023 (gnuhurdsystems): Likewise..
77024 (gnulinuxsystems): Likewise.
77025 * manual/charset.texi: Use new macros or @theglibc{} to refer to
77026 variants of the GNU system, not "GNU system".
77027 * manual/conf.texi: Likewise.
77028 * manual/errno.texi: Likewise. Update example of errno macro
77029 expansion.
77030 * manual/filesys.texi: Likewise.
77031 (getumask): Document as specific to GNU/Hurd.
77032 * manual/install.texi: Likewise. Reword some references to
77033 GNU/Linux.
77034 * manual/intro.texi: Likewise.
77035 * manual/io.texi: Likewise.
77036 (File Name Portability): Detail which constraints are inapplicable
77037 to all GNU systems and which are only inapplicable to GNU/Hurd.
77038 * manual/job.texi: Likewise.
77039 * manual/llio.texi: Likewise.
77040 (O_NOCTTY): Document as present on GNU/Linux.
77041 * manual/maint.texi: Likewise.
77042 * manual/memory.texi: Likewise.
77043 * manual/pattern.texi: Likewise.
77044 * manual/pipe.texi: Likewise.
77045 * manual/process.texi: Likewise.
77046 * manual/resource.texi: Likewise.
77047 (RUSAGE_CHILDREN): Remove statement about specifying a particular
77048 child on GNU/Hurd.
77049 * manual/setjmp.texi: Likewise.
77050 * manual/signal.texi: Likewise.
77051 * manual/startup.texi: Likewise.
77052 * manual/stdio.texi: Likewise.
77053 * manual/terminal.texi: Likewise.
77054 (ONLCR): Document as POSIX.
77055 (OXTABS): Document availability on GNU/Linux as XTABS.
77056 (ONOEOT): Document availability separately from other bits.
77057 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
77058 * manual/time.texi: Likewise.
77059 * manual/users.texi: Likewise.
77060 * INSTALL: Regenerated.
77061 * sysdeps/gnu/errlist.c: Regenerated.
77062
77063 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
77064 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
77065 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
77066 puts.
77067 * configure: Regenerated.
77068
77069 2012-03-07 Joseph Myers <joseph@codesourcery.com>
77070
77071 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
77072 default includes instead of AC_HEADER_CHECK.
77073 * sysdeps/i386/configure: Regenerated.
77074
77075 [BZ #10716]
77076 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
77077 * math/s_cacoshf.c (__cacoshf): Likewise.
77078 * math/s_cacoshl.c (__cacoshl): Likewise.
77079 * math/s_casinh.c (__casinh): Set signs of result from argument.
77080 * math/s_casinhf.c (__casinhf): Likewise.
77081 * math/s_casinhl.c (__casinhl): Likewise.
77082 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
77083 (casinh_test): Add more tests.
77084 * sysdeps/i386/fpu/libm-test-ulps: Update.
77085 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77086
77087 2012-03-07 Ulrich Drepper <drepper@gmail.com>
77088
77089 * po/zh_TW.po: Update from translation team.
77090
77091 * login/Makefile (distribute): Remove variable.
77092 * catgets/Makefile: Likewise.
77093 * mach/Makefile: Likewise.
77094 * malloc/Makefile: Likewise.
77095 * misc/Makefile: Likewise.
77096 * iconv/Makefile: Likewise.
77097 * nscd/Makefile: Likewise.
77098 * hurd/Makefile: Likewise.
77099 * manual/Makefile: Likewise.
77100 * locale/Makefile: Likewise.
77101 * intl/Makefile: Likewise.
77102 * conform/Makefile: Likewise.
77103 * nss/Makefile: Likewise.
77104 * time/Makefile: Likewise.
77105 * soft-fp/Makefile: Likewise.
77106 * dirent/Makefile: Likewise.
77107 * gmon/Makefile: Likewise.
77108 * po/Makefile: Likewise.
77109 * rt/Makefile: Likewise.
77110 * socket/Makefile: Likewise.
77111 * math/Makefile: Likewise.
77112 * signal/Makefile: Likewise.
77113 * debug/Makefile: Likewise.
77114 * elf/Makefile: Likewise.
77115 * timezone/Makefile: Likewise.
77116 * stdlib/Makefile: Likewise.
77117 * iconvdata/Makefile: Likewise.
77118 * sunrpc/Makefile: Likewise.
77119 * io/Makefile: Likewise.
77120 * argp/Makefile: Likewise.
77121 * inet/Makefile: Likewise.
77122 * hesiod/Makefile: Likewise.
77123 * grp/Makefile: Likewise.
77124 * csu/Makefile: Likewise.
77125 * wctype/Makefile: Likewise.
77126 * crypt/Makefile: Likewise.
77127 * libio/Makefile: Likewise.
77128 * string/Makefile: Likewise.
77129 * nis/Makefile: Likewise.
77130 * resolv/Makefile: Likewise.
77131 * stdio-common/Makefile: Likewise.
77132 * wcsmbs/Makefile: Likewise.
77133 * dlfcn/Makefile: Likewise.
77134 * posix/Makefile: Likewise.
77135
77136 [BZ #6959]
77137 * timezone/Makefile: Don't install timezone files, just the programs
77138 and scripts.
77139
77140 2012-03-06 Ulrich Drepper <drepper@gmail.com>
77141
77142 * nss/databases.def: Add missing gshadow entry.
77143
77144 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
77145
77146 2012-03-06 Marek Polacek <polacek@redhat.com>
77147
77148 [BZ #13726]
77149 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
77150 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
77151 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
77152 * stdio-common/tst-long-dbl-fphex.c: New file.
77153
77154 2012-03-06 David S. Miller <davem@davemloft.net>
77155
77156 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
77157 (set_obp_int): New function.
77158 (get_obp_int): New function.
77159 (__get_clockfreq_via_dev_openprom): Likewise.
77160 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
77161 Avoid unused variable warnings on 'val' and use builtin_expect.
77162 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
77163 __builtin_expect.
77164 (INLINE_CLONE_SYSCALL): Likewise.
77165
77166 2012-03-05 David S. Miller <davem@davemloft.net>
77167
77168 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77169
77170 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
77171
77172 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77173
77174 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
77175 only for |x| >= 40.
77176 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
77177
77178 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
77179
77180 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
77181 Replace gettimeofday with __vdso_gettimeofday.
77182
77183 * sysdeps/unix/sysv/linux/x86_64/init-first.c
77184 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
77185 __vdso_clock_gettime and __vdso_getcpu.
77186
77187 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
77188 time with __vdso_time.
77189
77190 2012-03-05 Joseph Myers <joseph@codesourcery.com>
77191
77192 * manual/lang.texi (size_t): Note types to which size_t may be
77193 equivalent with the GNU C Library, but do not describe when
77194 differences between them are significant.
77195
77196 2012-03-05 Andreas Jaeger <aj@suse.de>
77197
77198 * sysdeps/i386/fpu/libm-test-ulps: Update.
77199
77200 2012-03-05 Joseph Myers <joseph@codesourcery.com>
77201
77202 [BZ #3976]
77203 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
77204 (__ieee754_pow): Save and restore rounding mode and use
77205 round-to-nearest for main computations.
77206 * math/libm-test.inc (pow_test_tonearest): New function.
77207 (pow_test_towardzero): Likewise.
77208 (pow_test_downward): Likewise.
77209 (pow_test_upward): Likewise.
77210 (main): Call the new functions.
77211 * sysdeps/i386/fpu/libm-test-ulps: Update.
77212 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77213
77214 [BZ #3976]
77215 * math/libm-test.inc (cosh_test_tonearest): New function.
77216 (cosh_test_towardzero): Likewise.
77217 (cosh_test_downward): Likewise.
77218 (cosh_test_upward): Likewise.
77219 (sinh_test_tonearest): Likewise.
77220 (sinh_test_towardzero): Likewise.
77221 (sinh_test_downward): Likewise.
77222 (sinh_test_upward): Likewise.
77223 (main): Call the new functions.
77224 * sysdeps/i386/fpu/libm-test-ulps: Update.
77225 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77226
77227 2012-03-05 Tom de Vries <tom@codesourcery.com>
77228
77229 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
77230 default stack guard is set in last bytes.
77231 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
77232
77233 2012-03-05 Kees Cook <keescook@chromium.org>
77234
77235 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
77236
77237 [BZ #13656]
77238 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
77239 possibly allocate from heap instead of stack.
77240 * stdio-common/bug-vfprintf-nargs.c: New file.
77241 * stdio-common/Makefile (tests): Add nargs overflow test.
77242
77243 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
77244
77245 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77246
77247 2012-03-03 Marek Polacek <polacek@redhat.com>
77248
77249 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
77250 * math/math_private.h: Likewise.
77251 * stdlib/tst-strtod.c: Likewise.
77252 * sysdeps/i386/i486/bits/atomic.h: Likewise.
77253 * sysdeps/x86_64/bits/atomic.h: Likewise.
77254
77255 2012-03-02 David S. Miller <davem@davemloft.net>
77256
77257 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
77258 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
77259 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
77260 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
77261 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
77262 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
77263 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
77264 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
77265
77266 2012-03-02 Roland McGrath <roland@hack.frob.com>
77267
77268 [BZ #13792]
77269 * manual/examples/README: New file, says the example source files
77270 can be used under GPL>=2.
77271 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
77272 line containing just "*/".
77273 * manual/examples/add.c: Add copyright header (GPL>=2).
77274 * manual/examples/argp-ex1.c: Likewise.
77275 * manual/examples/argp-ex2.c: Likewise.
77276 * manual/examples/argp-ex3.c: Likewise.
77277 * manual/examples/argp-ex4.c: Likewise.
77278 * manual/examples/atexit.c: Likewise.
77279 * manual/examples/db.c: Likewise.
77280 * manual/examples/dir.c: Likewise.
77281 * manual/examples/dir2.c: Likewise.
77282 * manual/examples/execinfo.c: Likewise.
77283 * manual/examples/filecli.c: Likewise.
77284 * manual/examples/filesrv.c: Likewise.
77285 * manual/examples/fmtmsgexpl.c: Likewise.
77286 * manual/examples/genpass.c: Likewise.
77287 * manual/examples/inetcli.c: Likewise.
77288 * manual/examples/inetsrv.c: Likewise.
77289 * manual/examples/isockad.c: Likewise.
77290 * manual/examples/longopt.c: Likewise.
77291 * manual/examples/memopen.c: Likewise.
77292 * manual/examples/memstrm.c: Likewise.
77293 * manual/examples/mkfsock.c: Likewise.
77294 * manual/examples/mkisock.c: Likewise.
77295 * manual/examples/mygetpass.c: Likewise.
77296 * manual/examples/pipe.c: Likewise.
77297 * manual/examples/popen.c: Likewise.
77298 * manual/examples/rprintf.c: Likewise.
77299 * manual/examples/search.c: Likewise.
77300 * manual/examples/select.c: Likewise.
77301 * manual/examples/setjmp.c: Likewise.
77302 * manual/examples/sigh1.c: Likewise.
77303 * manual/examples/sigusr.c: Likewise.
77304 * manual/examples/stpcpy.c: Likewise.
77305 * manual/examples/strdupa.c: Likewise.
77306 * manual/examples/strftim.c: Likewise.
77307 * manual/examples/strncat.c: Likewise.
77308 * manual/examples/subopt.c: Likewise.
77309 * manual/examples/swapcontext.c: Likewise.
77310 * manual/examples/termios.c: Likewise.
77311 * manual/examples/testopt.c: Likewise.
77312 * manual/examples/testpass.c: Likewise.
77313 * manual/examples/timeval_subtract.c: Likewise.
77314
77315 [BZ #13792]
77316 * manual/time.texi (Elapsed Time): Move timeval_subtract example
77317 function to ...
77318 * manual/timeval_subtract.c.texi: ... here, new file.
77319
77320 2012-03-02 David S. Miller <davem@davemloft.net>
77321
77322 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
77323
77324 2012-03-02 Joseph Myers <joseph@codesourcery.com>
77325
77326 [BZ #3976]
77327 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
77328 (__sin): Save and restore rounding mode and use round-to-nearest
77329 for all computations.
77330 (__cos): Save and restore rounding mode and use round-to-nearest
77331 for all computations.
77332 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
77333 <fenv.h>.
77334 (tan): Save and restore rounding mode and use round-to-nearest for
77335 all computations.
77336 * math/libm-test.inc (cos_test_tonearest): New function.
77337 (cos_test_towardzero): Likewise.
77338 (cos_test_downward): Likewise.
77339 (cos_test_upward): Likewise.
77340 (sin_test_tonearest): Likewise.
77341 (sin_test_towardzero): Likewise.
77342 (sin_test_downward): Likewise.
77343 (sin_test_upward): Likewise.
77344 (tan_test_tonearest): Likewise.
77345 (tan_test_towardzero): Likewise.
77346 (tan_test_downward): Likewise.
77347 (tan_test_upward): Likewise.
77348 (main): Call the new functions.
77349 * sysdeps/i386/fpu/libm-test-ulps: Update.
77350 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77351
77352 [BZ #10135]
77353 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
77354 small n, then large n, before computing and testing k+n.
77355 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
77356 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
77357 Likewise.
77358 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
77359 Likewise.
77360 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
77361 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
77362 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
77363 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
77364 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
77365 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
77366 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
77367 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
77368 * math/libm-test.inc (scalbn_test): Add more tests.
77369 (scalbln_test): Likewise.
77370
77371 * manual/filesys.texi (mode_t): Describe constraints on size and
77372 signedness, not exact equivalence to a particular type.
77373 (ino_t): Likewise.
77374 (ino64_t): Likewise.
77375 (dev_t): Likewise.
77376 (nlink_t): Likewise.
77377 (blkcnt_t): Likewise.
77378 (blkcnt64_t): Likewise.
77379 * manual/llio.texi (off_t): Likewise.
77380
77381 [BZ #3976]
77382 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
77383 (__ieee754_exp): Save and restore rounding mode and use
77384 round-to-nearest for all computations.
77385 * math/libm-test.inc (exp_test_tonearest): New function.
77386 (exp_test_towardzero): Likewise.
77387 (exp_test_downward): Likewise.
77388 (exp_test_upward): Likewise.
77389 (main): Call the new functions.
77390 * sysdeps/i386/fpu/libm-test-ulps: Update.
77391 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77392
77393 2012-03-01 Chris Demetriou <cgd@google.com>
77394
77395 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
77396 have predictable order.
77397
77398 2012-03-01 David S. Miller <davem@davemloft.net>
77399
77400 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
77401
77402 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
77403 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
77404 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
77405 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
77406
77407 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
77408 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
77409 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
77410 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
77411 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
77412 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
77413 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
77414 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
77415 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
77416
77417 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77418
77419 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
77420 * sysdeps/sparc/fpu/libm-test-ulps: to here.
77421 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
77422
77423 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
77424 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
77425 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77426 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
77427 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
77428 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
77429 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
77430 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
77431 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
77432 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
77433 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
77434 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77435 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
77436 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
77437 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
77438 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77439 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
77440 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
77441 * sysdeps/sparc/elf/configure: Regenerated.
77442
77443 2012-03-01 Joseph Myers <joseph@codesourcery.com>
77444
77445 * configure.in (AS, LD): Require binutils 2.20 or later.
77446 * configure: Regenerated.
77447 * manual/install.texi (Tools for Compilation): Give binutils 2.20
77448 as required minimum version.
77449 * INSTALL: Regenerated.
77450
77451 [BZ #2541]
77452 [BZ #4108]
77453 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
77454 before squaring exponent.
77455 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
77456 bottom long double and 27 bits of top long double before squaring
77457 exponent.
77458 * math/libm-test.inc (erfc_test): Add more tests.
77459 * sysdeps/i386/fpu/libm-test-ulps: Update.
77460 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77462
77463 2012-03-01 Kai Tietz <ktietz@redhat.com>
77464
77465 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
77466 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
77467 containing bit-fields.
77468 * soft-fp/extended.h (_FP_UNION_E): Likewise.
77469 * soft-fp/single.h (_FP_UNION_S): Likewise.
77470 * soft-fp/double.h (_FP_UNION_D): Likewise.
77471
77472 2012-02-29 Joseph Myers <joseph@codesourcery.com>
77473
77474 [BZ #13786]
77475 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
77476 not include ../strcmp.S.
77477 [USE_AS_STRNCASECMP_L]: Likewise.
77478 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
77479 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
77480 * sysdeps/i386/i686/multiarch/strncase_l-c.c
77481 (__strncasecmp_l_ia32): Define as alias to
77482 __strncasecmp_l_nonascii.
77483
77484 [BZ #5794]
77485 * math/libm-test.inc (expm1_test): Add test for bug 5794.
77486 * sysdeps/i386/fpu/libm-test-ulps: Update.
77487 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77488
77489 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
77490 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77491
77492 2012-02-29 Jeff Law <law@redhat.com>
77493
77494 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
77495 out of bounds read.
77496
77497 2012-02-29 Marek Polacek <polacek@redhat.com>
77498
77499 [BZ #13706]
77500 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
77501 * elf/Makefile: Add rules to run tst-unused-dep.out.
77502
77503 2012-02-28 David S. Miller <davem@davemloft.net>
77504
77505 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
77506 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
77507 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
77508 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
77509 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
77510 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
77511
77512 2012-02-29 Joseph Myers <joseph@codesourcery.com>
77513
77514 * math/libm-test.inc (llround_test): Move one test from
77515 lround_test. Use TEST_f_L in moved test.
77516 (lround_test): Move misplaced test to llround_test. Add testcase
77517 from bug 2561.
77518
77519 2012-02-28 Ulrich Drepper <drepper@gmail.com>
77520
77521 * sysdeps/x86_64/fpu/e_expf.S: New file.
77522 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
77523
77524 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
77525
77526 [BZ #13637]
77527 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
77528 of remain_len that may cause incomplete multi-byte character and
77529 false match.
77530 * posix/bug-regex33.c: New file.
77531 * posix/Makefile (tests): Add bug-regex33.
77532
77533 2012-02-28 Joseph Myers <joseph@codesourcery.com>
77534
77535 * manual/macros.texi: New file.
77536 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
77537 * manual/libc.texinfo: Include macros.texi.
77538 * manual/creatute.texi: Likewise.
77539 * manual/install.texi: Likewise.
77540 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
77541 @glibcadj{} in references to the GNU C Library.
77542 * manual/charset.texi: Likewise.
77543 * manual/conf.texi: Likewise.
77544 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
77545 when not using those macros.
77546 * manual/creature.texi: Likewise.
77547 * manual/crypt.texi: Likewise.
77548 * manual/errno.texi: Likewise.
77549 * manual/filesys.texi: Likewise.
77550 * manual/header.texi: Likewise.
77551 * manual/install.texi: Likewise.
77552 * manual/intro.texi: Likewise.
77553 * manual/io.texi: Likewise.
77554 * manual/job.texi: Likewise.
77555 * manual/lang.texi: Likewise.
77556 * manual/libc.texiinfo: Likewise.
77557 * manual/llio.texi: Likewise.
77558 * manual/locale.texi: Likewise.
77559 * manual/maint.texi: Likewise.
77560 * manual/math.texi: Likewise.
77561 * manual/memory.texi: Likewise.
77562 * manual/message.texi: Likewise.
77563 * manual/nss.texi: Likewise.
77564 * manual/pattern.texi: Likewise.
77565 * manual/process.texi: Likewise.
77566 * manual/resource.texi: Likewise.
77567 * manual/search.texi: Likewise.
77568 * manual/setjmp.texi: Likewise.
77569 * manual/signal.texi: Likewise.
77570 * manual/socket.texi: Likewise.
77571 * manual/startup.texi: Likewise.
77572 * manual/stdio.texi: Likewise.
77573 * manual/string.texi: Likewise.
77574 * manual/sysinfo.texi: Likewise.
77575 * manual/syslog.texi: Likewise.
77576 * manual/terminal.texi: Likewise.
77577 * manual/time.texi: Likewise.
77578 * manual/users.texi: Likewise.
77579 * INSTALL: Regenerated.
77580 * NOTES: Regenerated.
77581 * sysdeps/gnu/errlist.c: Regenerated.
77582
77583 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
77584
77585 * include/dirent.h: Include <dirstream.h> before
77586 <dirent/dirent.h>.
77587
77588 2012-02-28 David S. Miller <davem@davemloft.net>
77589
77590 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
77591 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
77592 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
77593 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
77594
77595 2012-02-27 David S. Miller <davem@davemloft.net>
77596
77597 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
77598 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
77599 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
77600 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
77601
77602 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
77603 frame pointer instead of stack pointer relative arg slot.
77604 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77605 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77606 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77607
77608 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
77609
77610 [BZ #3992]
77611 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
77612
77613 2012-02-27 David S. Miller <davem@davemloft.net>
77614
77615 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
77616 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77617 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77618 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
77619 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77620 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77621 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
77622 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
77623
77624 2012-02-27 Joseph Myers <joseph@codesourcery.com>
77625
77626 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
77627 later. Allow versions 5-9.
77628 * configure: Regenerated.
77629 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
77630 required minimum version and 4.6 as recommended version. Do not
77631 mention bugs in GCC 2.7 and 2.8.
77632 * INSTALL: Regenerated.
77633
77634 2012-02-27 David S. Miller <davem@davemloft.net>
77635
77636 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
77637 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
77638 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
77639 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
77640 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
77641 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
77642 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
77643 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
77644
77645 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
77646 manipulate bits before adding and subtracting TWO112[sx].
77647 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
77648
77649 2012-02-27 Roland McGrath <roland@hack.frob.com>
77650
77651 [BZ #13775]
77652 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
77653 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
77654 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
77655 being in POSIX, because they are in 1003.1-2008.
77656
77657 * rt/tst-aio.c: Include <fcntl.h>.
77658 * rt/tst-aio7.c: Likewise.
77659 * rt/tst-aio64.c: Likewise.
77660
77661 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
77662
77663 2012-02-27 Joseph Myers <joseph@codesourcery.com>
77664
77665 * manual/install.texi (--with-headers): Describe headers as
77666 interface headers, not private headers.
77667 (Specific advice for GNU/Linux systems): Describe use of headers
77668 from "make headers_install", not private headers from older
77669 kernels.
77670 * INSTALL: Regenerated.
77671 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
77672 Change to 2.6.19.
77673 * sysdeps/unix/sysv/linux/configure: Regenerated.
77674
77675 * manual/llio.texi (fclean): Remove documentation.
77676
77677 * manual/Makefile (libc-texi-generated): New variable. Include
77678 version.texi.
77679 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
77680 $(libc-texi-generated), not duplicated list of files.
77681 (version.texi, stamp-version): New rules.
77682 (realclean): Remove $(libc-texi-generated), not individual files
77683 from that list. Do not remove dir-add.texinfo.
77684 * manual/libc.texinfo: Comment out uses of edition numbers and
77685 references to printed manual. Remove last-updated dates.
77686 (EDITION): Comment out.
77687 (ISBN): Likewise.
77688 (VERSION, UPDATED): Remove.
77689 (version.texi): Include.
77690
77691 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
77692
77693 * sysdeps/posix/spawni.c: Include <signal.h>.
77694 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
77695 * sysdeps/pthread/aio_fsync.c: Likewise.
77696
77697 2012-02-26 Ulrich Drepper <drepper@gmail.com>
77698
77699 * conform/Makefile (tests): Run only when not cross-compiling and
77700 when fast-check is not defined.
77701
77702 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
77703 * conform/data/limits.h-data: Fixes for POSIX2008.
77704 * conform/run-conformtest.sh: Run all tests.
77705 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
77706 headers.
77707 * include/bits/dlfcn.h: Likewise.
77708 * include/langinfo.h: Likewise.
77709 * include/monetary.h: Likewise.
77710 * include/sys/poll.h: Likewise.
77711
77712 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
77713 for __USE_GNU.
77714 * posix/spawn.h: Define __need_sigset_t.
77715 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
77716 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
77717 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
77718 to get sigevent_t only.
77719 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
77720 only for __USE_GNU.
77721 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77722 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77723 process_vm_writev only for __USE_GNU.
77724 * termios/termios.h: Declare tcgetsid also for POSIX2008.
77725
77726 * conform/Makefile: For now ignore errors from run-conformtest.
77727 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
77728 POSIX to avoid namespace pollution. Don't prepend headers.
77729 * conform/data/aio.h-data: Fixes for POSIX testing.
77730 * conform/data/fcntl.h-data: Likewise.
77731 * conform/data/glob.h-data: Likewise.
77732 * conform/data/grp.h-data: Likewise.
77733 * conform/data/pthread.h-data: Likewise.
77734 * conform/data/pwd.h-data: Likewise.
77735 * conform/data/signal.h-data: Likewise.
77736 * conform/data/spawn.h-data: Likewise.
77737 * conform/data/stdio.h-data: Likewise.
77738 * conform/data/stdlib.h-data: Likewise.
77739 * conform/data/stropts.h-data: Likewise.
77740 * conform/data/sys/mman.h-data: Likewise.
77741 * conform/data/sys/stat.h-data: Likewise.
77742 * conform/data/sys/types.h-data: Likewise.
77743 * conform/data/sys/wait.h-data: Likewise.
77744 * conform/data/time.h-data: Likewise.
77745 * conform/data/unistd.h-data: Likewise.
77746 * conform/data/utime.h-data: Likewise.
77747
77748 * io/sys/stat.h: fchmod was always in POSIX.
77749 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
77750 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
77751 * rt/aio.h: Define __need_timespec before including <time.h>.
77752 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
77753 struct. Add forward declaration of pthread_attr_t and use it in
77754 sigevent.
77755 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77756 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77757 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
77758 always remove CLK_TCK definition.
77759
77760 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
77761
77762 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
77763
77764 2012-02-25 Ulrich Drepper <drepper@gmail.com>
77765
77766 * conform/run-conformtest.sh: New file.
77767 * conform/Makefile: Run run-conformtest for tests.
77768 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
77769 support.
77770
77771 * conform/data/uchar.h-data: New file.
77772 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
77773 * conform/data/arpa/inet.h-data: Likewise.
77774 * conform/data/assert.h-data: Likewise.
77775 * conform/data/complex.h-data: Likewise.
77776 * conform/data/cpio.h-data: Likewise.
77777 * conform/data/ctype.h-data: Likewise.
77778 * conform/data/dirent.h-data: Likewise.
77779 * conform/data/dlfcn.h-data: Likewise.
77780 * conform/data/errno.h-data: Likewise.
77781 * conform/data/fcntl.h-data: Likewise.
77782 * conform/data/float.h-data: Likewise.
77783 * conform/data/fmtmsg.h-data: Likewise.
77784 * conform/data/fnmatch.h-data: Likewise.
77785 * conform/data/ftw.h-data: Likewise.
77786 * conform/data/glob.h-data: Likewise.
77787 * conform/data/grp.h-data: Likewise.
77788 * conform/data/iconv.h-data: Likewise.
77789 * conform/data/inttypes.h-data: Likewise.
77790 * conform/data/langinfo.h-data: Likewise.
77791 * conform/data/libgen.h-data: Likewise.
77792 * conform/data/limits.h-data: Likewise.
77793 * conform/data/locale.h-data: Likewise.
77794 * conform/data/math.h-data: Likewise.
77795 * conform/data/monetary.h-data: Likewise.
77796 * conform/data/mqueue.h-data: Likewise.
77797 * conform/data/ndbm.h-data: Likewise.
77798 * conform/data/net/if.h-data: Likewise.
77799 * conform/data/netdb.h-data: Likewise.
77800 * conform/data/netinet/in.h-data: Likewise.
77801 * conform/data/nl_types.h-data: Likewise.
77802 * conform/data/poll.h-data: Likewise.
77803 * conform/data/pthread.h-data: Likewise.
77804 * conform/data/pwd.h-data: Likewise.
77805 * conform/data/regex.h-data: Likewise.
77806 * conform/data/sched.h-data: Likewise.
77807 * conform/data/search.h-data: Likewise.
77808 * conform/data/semaphore.h-data: Likewise.
77809 * conform/data/setjmp.h-data: Likewise.
77810 * conform/data/signal.h-data: Likewise.
77811 * conform/data/spawn.h-data: Likewise.
77812 * conform/data/stdarg.h-data: Likewise.
77813 * conform/data/stdio.h-data: Likewise.
77814 * conform/data/stdlib.h-data: Likewise.
77815 * conform/data/string.h-data: Likewise.
77816 * conform/data/strings.h-data: Likewise.
77817 * conform/data/stropts.h-data: Likewise.
77818 * conform/data/sys/ipc.h-data: Likewise.
77819 * conform/data/sys/mman.h-data: Likewise.
77820 * conform/data/sys/msg.h-data: Likewise.
77821 * conform/data/sys/resource.h-data: Likewise.
77822 * conform/data/sys/select.h-data: Likewise.
77823 * conform/data/sys/sem.h-data: Likewise.
77824 * conform/data/sys/shm.h-data: Likewise.
77825 * conform/data/sys/socket.h-data: Likewise.
77826 * conform/data/sys/stat.h-data: Likewise.
77827 * conform/data/sys/statvfs.h-data: Likewise.
77828 * conform/data/sys/time.h-data: Likewise.
77829 * conform/data/sys/timeb.h-data: Likewise.
77830 * conform/data/sys/times.h-data: Likewise.
77831 * conform/data/sys/types.h-data: Likewise.
77832 * conform/data/sys/uio.h-data: Likewise.
77833 * conform/data/sys/un.h-data: Likewise.
77834 * conform/data/sys/utsname.h-data: Likewise.
77835 * conform/data/sys/wait.h-data: Likewise.
77836 * conform/data/syslog.h-data: Likewise.
77837 * conform/data/tar.h-data: Likewise.
77838 * conform/data/termios.h-data: Likewise.
77839 * conform/data/utime.h-data: Likewise.
77840 * conform/data/utmpx.h-data: Likewise.
77841 * conform/data/varargs.h-data: Likewise.
77842 * conform/data/wchar.h-data: Likewise.
77843 * conform/data/wctype.h-data: Likewise.
77844 * conform/data/wordexp.h-data: Likewise.
77845
77846 * include/stropts.h: New file.
77847 * include/uchar.h: New file.
77848 * include/aio.h: Changes to allow conformtest.pl to use the headers.
77849 * include/assert.h: Likewise.
77850 * include/ctype.h: Likewise.
77851 * include/dirent.h: Likewise.
77852 * include/dlfcn.h: Likewise.
77853 * include/fcntl.h: Likewise.
77854 * include/fnmatch.h: Likewise.
77855 * include/glob.h: Likewise.
77856 * include/grp.h: Likewise.
77857 * include/libio.h: Likewise.
77858 * include/locale.h: Likewise.
77859 * include/math.h: Likewise.
77860 * include/net/if.h: Likewise.
77861 * include/netdb.h: Likewise.
77862 * include/netinet/in.h: Likewise.
77863 * include/pthread.h: Likewise.
77864 * include/pwd.h: Likewise.
77865 * include/regex.h: Likewise.
77866 * include/sched.h: Likewise.
77867 * include/search.h: Likewise.
77868 * include/setjmp.h: Likewise.
77869 * include/signal.h: Likewise.
77870 * include/stdio.h: Likewise.
77871 * include/stdlib.h: Likewise.
77872 * include/string.h: Likewise.
77873 * include/sys/cdefs.h: Likewise.
77874 * include/sys/mman.h: Likewise.
77875 * include/sys/msg.h: Likewise.
77876 * include/sys/resource.h: Likewise.
77877 * include/sys/select.h: Likewise.
77878 * include/sys/socket.h: Likewise.
77879 * include/sys/stat.h: Likewise.
77880 * include/sys/statvfs.h: Likewise.
77881 * include/sys/time.h: Likewise.
77882 * include/sys/times.h: Likewise.
77883 * include/sys/uio.h: Likewise.
77884 * include/sys/utsname.h: Likewise.
77885 * include/sys/wait.h: Likewise.
77886 * include/termios.h: Likewise.
77887 * include/time.h: Likewise.
77888 * include/ulimit.h: Likewise.
77889 * include/unistd.h: Likewise.
77890 * include/utime.h: Likewise.
77891 * include/wchar.h: Likewise.
77892 * include/wctype.h: Likewise.
77893 * include/wordexp.h: Likewise.
77894
77895 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
77896
77897 * time/time.h: TIME_UTC must be a macro.
77898 Make timespec_get available for ISO C11 only as well.
77899
77900 2012-02-24 Ulrich Drepper <drepper@gmail.com>
77901
77902 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
77903 Reported by Peng Haitao <penght@cn.fujitsu.com>.
77904
77905 2012-02-24 Joseph Myers <joseph@codesourcery.com>
77906
77907 * configure.in: Use -o not -a in test for unsupported multi-arch.
77908
77909 2012-02-24 Joseph Myers <joseph@codesourcery.com>
77910
77911 * manual/texinfo.tex: Update to version 2012-01-19.16.
77912
77913 2012-02-24 Joseph Myers <joseph@codesourcery.com>
77914
77915 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
77916
77917 2012-02-24 Roland McGrath <roland@hack.frob.com>
77918
77919 [BZ #13738]
77920 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
77921 * manual/fdl-1.3.texi: New file.
77922 * manual/fdl-1.1.texi: File removed.
77923
77924 [BZ #13738]
77925 * manual/libc.texinfo (FDL_VERSION): New @set.
77926 Use it for mention of FDL in cover text.
77927 (Documentation License): Use it in @include file name.
77928
77929 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77930 Roland McGrath <roland@hack.frob.com>
77931
77932 [BZ #5461]
77933 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
77934 (not LONG_LONG_MAX and LONG_LONG_MIN.
77935 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
77936 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
77937 name.
77938 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
77939
77940 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77941
77942 [BZ #2547]
77943 [BZ #11365]
77944 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
77945 manipulate bits before adding and subtracting TWO23[sx].
77946 * math/libm-test.inc (nearbyint_test): Add more tests.
77947
77948 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77949
77950 [BZ #2548]
77951 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
77952 bits before adding and subtracting TWO23[sx].
77953 * math/libm-test.inc (rint_test): Add more tests.
77954 (rint_test_tonearest): Likewise.
77955 (rint_test_towardzero): Likewise.
77956 (rint_test_downward): Likewise.
77957 (rint_test_upward: Likewise.
77958
77959 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77960
77961 [BZ #10110]
77962 * include/stdc-predef.h: New file. Extracted from features.h.
77963 * include/features.h: Include stdc-predef.h.
77964 * Makefile (headers): Add stdc-predef.h.
77965 * CONFORMANCE (Compiler limitations): Update.
77966
77967 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77968
77969 * manual/libc.texinfo (VERSION, UPDATED): Revert.
77970
77971 2012-02-21 David S. Miller <davem@davemloft.net>
77972
77973 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
77974 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77975
77976 2012-02-20 David S. Miller <davem@davemloft.net>
77977
77978 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
77979 using a normal save/restore sequence, rather than allocating a
77980 dummy stack frame just to store a frame pointer and restore.
77981 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77982
77983 2012-02-21 Joseph Myers <joseph@codesourcery.com>
77984
77985 * manual/install.texi: Fix stray word in line-wrapped comment.
77986
77987 2012-02-20 David S. Miller <davem@davemloft.net>
77988
77989 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
77990 both binutils and gcc support GOTDATA.
77991
77992 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
77993 "rd %pc" in the PIC register setup sequences.
77994
77995 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
77996 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
77997 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77998 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
77999 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
78000 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
78001 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
78002 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
78003 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
78004 (SYSCALL_ERROR_HANDLER): Likewise.
78005 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
78006 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
78007 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
78008 (SYSCALL_ERROR_HANDLER): Likewise.
78009
78010 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
78011 (HAVE_GCC_GOTDATA): New.
78012 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
78013 relocation support in both binutils and gcc.
78014 * sysdeps/sparc/elf/configure: Regenerate.
78015
78016 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
78017 * sysdeps/sparc/sparc32/elf/configure: Delete.
78018 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
78019 * sysdeps/sparc/sparc64/elf/configure: Delete.
78020 * sysdeps/sparc/elf/configure.in: New file.
78021 * sysdeps/sparc/elf/configure: Generate.
78022
78023 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
78024 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
78025 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
78026 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
78027 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
78028
78029 2012-02-21 Joseph Myers <joseph@codesourcery.com>
78030
78031 * manual/install.texi: Do not mention specific glibc version
78032 numbers.
78033 * manual/libc.texinfo (VERSION, UPDATED): Update.
78034 (@copying): Use @copyright{} and range of years.
78035
78036 2012-02-21 Joseph Myers <joseph@codesourcery.com>
78037
78038 [BZ #13695]
78039 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
78040 [crti.S not in sysdirs] (generated): Do not append.
78041 [crti.S not in sysdirs] (omit-deps): Likewise.
78042 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
78043 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
78044 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
78045 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
78046 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
78047 Likewise.
78048 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
78049 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
78050 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
78051 * csu/defs.awk: Remove file.
78052 * sysdeps/generic/initfini.c: Likewise.
78053 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
78054 variable.
78055 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
78056 Likewise.
78057
78058 2012-02-20 Joseph Myers <joseph@codesourcery.com>
78059
78060 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
78061 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
78062 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
78063 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
78064 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78065 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
78066 <bits/epoll.h>.
78067 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
78068 (__EPOLL_PACKED): Define to empty if not defined by
78069 <bits/epoll.h>.
78070 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
78071 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78072 bits/epoll.h.
78073
78074 2012-02-20 Joseph Myers <joseph@codesourcery.com>
78075
78076 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
78077 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
78078 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
78079 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
78080 <bits/timerfd.h>.
78081 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
78082 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78083 bits/timerfd.h.
78084
78085 2012-02-20 Joseph Myers <joseph@codesourcery.com>
78086
78087 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
78088 in C locale.
78089 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
78090 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
78091 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
78092 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78093
78094 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
78095
78096 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78097 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
78098
78099 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
78100
78101 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
78102 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
78103 defined.
78104 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
78105 Likewise.
78106 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
78107 entry for 2.16.
78108
78109 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
78110
78111 * math/w_acos.c: Use non-signaling floating-point comparisons.
78112 * math/w_acosf.c: Likewise.
78113 * math/w_acosh.c: Likewise.
78114 * math/w_acoshf.c: Likewise.
78115 * math/w_acoshl.c: Likewise.
78116 * math/w_acosl.c: Likewise.
78117 * math/w_asin.c: Likewise.
78118 * math/w_asinf.c: Likewise.
78119 * math/w_asinl.c: Likewise.
78120 * math/w_atanh.c: Likewise.
78121 * math/w_atanhf.c: Likewise.
78122 * math/w_atanhl.c: Likewise.
78123 * math/w_exp2.c: Likewise.
78124 * math/w_exp2f.c: Likewise.
78125 * math/w_exp2l.c: Likewise.
78126 * math/w_j0.c: Likewise.
78127 * math/w_j0f.c: Likewise.
78128 * math/w_j0l.c: Likewise.
78129 * math/w_j1.c: Likewise.
78130 * math/w_j1f.c: Likewise.
78131 * math/w_j1l.c: Likewise.
78132 * math/w_jn.c: Likewise.
78133 * math/w_jnf.c: Likewise.
78134 * math/w_log.c: Likewise.
78135 * math/w_log10.c: Likewise.
78136 * math/w_log10f.c: Likewise.
78137 * math/w_log10l.c: Likewise.
78138 * math/w_log2.c: Likewise.
78139 * math/w_log2f.c: Likewise.
78140 * math/w_log2l.c: Likewise.
78141 * math/w_logf.c: Likewise.
78142 * math/w_logl.c: Likewise.
78143 * math/w_sqrt.c: Likewise.
78144 * math/w_sqrtf.c: Likewise.
78145 * math/w_sqrtl.c: Likewise.
78146 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78147 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
78148 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78149 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
78150 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
78151
78152 2012-02-19 Joseph Myers <joseph@codesourcery.com>
78153
78154 [BZ #9739]
78155 * manual/string.texi (strnlen): Use correct parameter name in
78156 equivalent expression.
78157
78158 2012-02-19 Joseph Myers <joseph@codesourcery.com>
78159
78160 [BZ #11174]
78161 * manual/users.texi (seteuid): Consistently use neweuid for
78162 argument name.
78163
78164 2012-02-19 Joseph Myers <joseph@codesourcery.com>
78165
78166 [BZ #13704]
78167 * manual/nss.texi (Services in the NSS configuration): Correct
78168 list of services in example configuration file.
78169
78170 2012-02-19 Nick Bowler <nbowler@draconx.ca>
78171
78172 [BZ #11322]
78173 * manual/arith.texi: Remove statements about negative zero
78174 behaving identically to zero.
78175
78176 2012-02-18 Joseph Myers <joseph@codesourcery.com>
78177
78178 [BZ #5993]
78179 * manual/install.texi: Do not document upgrading from libc5.
78180
78181 2012-02-18 Joseph Myers <joseph@codesourcery.com>
78182
78183 [BZ #4596]
78184 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
78185
78186 2012-02-18 David S. Miller <davem@davemloft.net>
78187
78188 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
78189 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
78190 %o7 across the call.
78191 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
78192 instead.
78193 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
78194 SETUP_PIC_REG_LEAF.
78195 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78196 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
78197 * sysdeps/sparc/crtn.S: Likewise.
78198
78199 2012-02-17 Ulrich Drepper <drepper@gmail.com>
78200
78201 * aout/Makefile: Remove.
78202
78203 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
78204
78205 [BZ #13058]
78206 * manual/examples/argp-ex1.c (main): Format definition in GNU
78207 style.
78208 * manual/examples/argp-ex2.c (main): Likewise.
78209 * manual/examples/argp-ex3.c (main): Likewise.
78210 * manual/examples/argp-ex4.c (main): Likewise.
78211 * manual/examples/longopt.c (main): Use new-style prototype
78212 definition.
78213 * manual/examples/strncat.c (main): Specify return type and use
78214 (void) for arguments.
78215 * manual/examples/subopt.c (main): Use char **argv argument.
78216
78217 2012-02-17 Joseph Myers <joseph@codesourcery.com>
78218
78219 [BZ #5077]
78220 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
78221 rounding modes.
78222
78223 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
78224
78225 [BZ #6907]
78226 * manual/string.texi (strchr): Change when strchrnul is
78227 recommended.
78228
78229 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
78230
78231 [BZ #174]
78232 * manual/locale.texi (setlocale): Document LOCPATH.
78233
78234 2012-02-17 Joseph Myers <joseph@codesourcery.com>
78235
78236 [BZ #10210]
78237 * manual/process.texi (execle): Move @dots{} before last argument.
78238
78239 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
78240
78241 [BZ #12047]
78242 * manual/charset.texi (Generic Charset Conversion): Fix typo
78243 (LC_TYPE -> LC_CTYPE).
78244
78245 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
78246
78247 [BZ #5805]
78248 * manual/arith.texi (scalbn): Use @var{} on parameter names.
78249 (scalbnf): Likewise.
78250 (scalbnl): Likewise.
78251 (scalbln): Likewise.
78252 (scalblnf): Likewise.
78253 (scalblnl): Likewise.
78254 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
78255 (vwarnx): Likewise.
78256 (verr): Likewise.
78257 (verrx): Likewise.
78258 * manual/filesys.texi (telldir): Use braces around return type.
78259 * manual/llio.texi (mmap): Add space after comma.
78260 (mmap64): Likewise.
78261 * manual/math.texi (jn): Use @var{} on parameter names.
78262 (jnf): Likewise.
78263 (jnl): Likewise.
78264 (yn): Likewise.
78265 (ynf): Likewise.
78266 (ynl): Likewise.
78267 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
78268 line.
78269 * manual/resource.texi (ulimit): Use @dots{} instead of literal
78270 "...".
78271 (sched_get_priority_min): Remove semicolon on @deftypefun line.
78272 (sched_get_priority_max): Likewise.
78273 * manual/signal.texi (sigvec): Add space after comma.
78274 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
78275 names.
78276 (if_indextoname): Likewise.
78277 (if_freenameindex): Likewise.
78278 (sendto): Use ',' instead of '.' in prototype.
78279 * manual/startup.texi (syscall): Use @dots{} instead of literal
78280 "...".
78281 * manual/stdio.texi (__fpending): Separate initial words of
78282 paragraph from @deftypefun line.
78283 * manual/syslog.texi (syslog): Use @dots{} instead of literal
78284 "...".
78285 (vsyslog): Use @var{} on parameter names.
78286 * manual/terminal.texi (stty): Use @var{} on parameter names.
78287 * manual/users.texi (getutmp): Use @var{} on parameter names.
78288 (getutmpx): Likewise.
78289
78290 2012-02-17 Joseph Myers <joseph@codesourcery.com>
78291
78292 [BZ #6884]
78293 * manual/stdio.texi (fopen): Fix typos in description of
78294 ",ccs=STRING".
78295
78296 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
78297
78298 [BZ #4026]
78299 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
78300 get clock_id definition.
78301
78302 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
78303
78304 [BZ #4822]
78305 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
78306 (madvise): Cast every argument to void on its own.
78307
78308 2012-02-17 Joseph Myers <joseph@codesourcery.com>
78309
78310 [BZ #9902]
78311 * manual/startup.texi (Exit Status): Fix typo.
78312
78313 2012-02-17 Joseph Myers <joseph@codesourcery.com>
78314
78315 [BZ #10140]
78316 * manual/examples/argp-ex1.c: Include <stdlib.h>.
78317 * manual/examples/argp-ex2.c: Likewise.
78318 * manual/examples/argp-ex3.c: Likewise.
78319
78320 2012-02-16 Richard Henderson <rth@redhat.com>
78321
78322 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
78323 * sysdeps/s390/s390-32/initfini.c: Remove.
78324 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
78325 * sysdeps/s390/s390-64/initfini.c: Remove.
78326
78327 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
78328
78329 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
78330 compiler output for sysdeps/generic/initfini.c.
78331 * sysdeps/sh/elf/initfini.c: Remove file.
78332
78333 2012-02-16 David S. Miller <davem@davemloft.net>
78334
78335 [BZ #11494]
78336 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
78337
78338 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
78339 * sysdeps/sparc/crti.S: New file.
78340 * sysdeps/sparc/crtn.S: New file.
78341 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
78342 * sysdeps/sparc/sparc64/Makefile: Likewise.
78343
78344 2012-02-15 Mike Frysinger <vapier@gentoo.org>
78345
78346 [BZ #3335]
78347 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
78348
78349 2012-02-15 Roland McGrath <roland@hack.frob.com>
78350
78351 [BZ #4822]
78352 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
78353
78354 * mach/devstream.c (cookie_io_functions_t): Macro removed.
78355 (write, read, close): Likewise.
78356 Patch by Aurelien Jarno <aurelien@aurel32.net>.
78357
78358 2012-02-15 Joseph Myers <joseph@codesourcery.com>
78359
78360 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
78361 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
78362 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
78363 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
78364 <bits/signalfd.h>.
78365 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
78366 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78367 bits/signalfd.h.
78368
78369 2012-02-14 Marek Polacek <polacek@redhat.com>
78370
78371 * sysdeps/x86_64/crti.S: New file.
78372 * sysdeps/x86_64/crtn.S: New file.
78373 * sysdeps/x86_64/elf/initfini.c: Remove file.
78374
78375 2012-02-13 Joseph Myers <joseph@codesourcery.com>
78376
78377 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
78378 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
78379 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
78380 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
78381 <bits/inotify.h>.
78382 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
78383 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78384 bits/inotify.h.
78385
78386 2012-02-13 Joseph Myers <joseph@codesourcery.com>
78387
78388 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
78389 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
78390 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
78391 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
78392 <bits/eventfd.h>.
78393 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
78394 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78395 bits/eventfd.h.
78396
78397 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
78398
78399 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
78400 __feraiseexcept instead of feraiseexcept.
78401
78402 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
78403 nanosleep invocations.
78404 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
78405 strings, and add error checking for a nanosleep invocations.
78406
78407 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
78408
78409 Replace FSF snail mail address with URLs, as per GNU coding standards.
78410 Most of the snail mail addresses were wrong anyway, and omitting
78411 them makes the source code easier to maintain. Almost all of the
78412 changes are to license notices and to locale LC_IDENTIFICATION
78413 addresses, except for this one:
78414 * manual/libc.texinfo: In "Published by", give the FSF's URL,
78415 not its snail mail address.
78416
78417 2012-02-09 Richard Henderson <rth@twiddle.net>
78418
78419 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
78420 of kernel-features.h.
78421
78422 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
78423
78424 2012-02-08 Marek Polacek <polacek@redhat.com>
78425
78426 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
78427 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
78428 * sysdeps/gnu/_G_config.h: Likewise.
78429 * sysdeps/generic/_G_config.h: Likewise.
78430
78431 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
78432
78433 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
78434 tests.
78435 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78436
78437 * sysdeps/powerpc/powerpc32/crti.S: New file.
78438 * sysdeps/powerpc/powerpc32/crtn.S: New file.
78439 * sysdeps/powerpc/powerpc64/crti.S: New file.
78440 * sysdeps/powerpc/powerpc64/crtn.S: New file.
78441
78442 * Makeconfig (have-initfini): Don't set.
78443 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
78444 * configure.in (nopic_initfini): Don't substitute.
78445 * config.h.in (HAVE_INITFINI): Don't #undef.
78446 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
78447 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
78448
78449 2012-02-08 Joseph Myers <joseph@codesourcery.com>
78450
78451 Support crti.S and crtn.S provided directly by architectures.
78452 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
78453 [crti.S in sysdirs] (omit-deps): Likewise.
78454 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
78455 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
78456 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
78457 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
78458 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
78459 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
78460 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
78461 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
78462 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
78463 compiler output for sysdeps/generic/initfini.c.
78464 * sysdeps/i386/elf/Makefile: Remove file.
78465 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
78466
78467 2012-02-07 Marek Polacek <polacek@redhat.com>
78468
78469 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
78470 * sysdeps/gnu/_G_config.h: Likewise.
78471 * sysdeps/mach/hurd/_G_config.h: Likewise.
78472
78473 2012-02-07 Marek Polacek <polacek@redhat.com>
78474
78475 * math/Makefile (tests): Add tst-CMPLX2.
78476 * math/tst-CMPLX2.c: New file.
78477
78478 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
78479
78480 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78481
78482 * math/libm-test.inc (jn_test): Add missing L suffix.
78483
78484 2012-02-06 Marek Polacek <polacek@redhat.com>
78485
78486 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
78487 * sysdeps/i386/fpu/e_powf.S: Likewise.
78488 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78489 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
78490 * sysdeps/i386/fpu/e_acosh.S: Likewise.
78491 * sysdeps/i386/fpu/e_pow.S: Likewise.
78492 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78493 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78494 * sysdeps/i386/fpu/s_expm1.S: Likewise.
78495 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78496 * sysdeps/i386/fpu/e_log2.S: Likewise.
78497 * sysdeps/i386/fpu/e_log2l.S: Likewise.
78498 * sysdeps/i386/fpu/e_scalb.S: Likewise.
78499 * sysdeps/i386/fpu/e_powl.S: Likewise.
78500 * sysdeps/i386/fpu/s_log1p.S: Likewise.
78501 * sysdeps/i386/fpu/e_log10f.S: Likewise.
78502 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78503 * sysdeps/i386/fpu/e_logl.S: Likewise.
78504 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78505 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
78506 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78507 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78508 * sysdeps/i386/fpu/e_log2f.S: Likewise.
78509 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78510 * sysdeps/i386/fpu/e_log.S: Likewise.
78511 * sysdeps/i386/fpu/s_cexp.S: Likewise.
78512 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78513 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
78514 * sysdeps/i386/fpu/e_logf.S: Likewise.
78515 * sysdeps/i386/fpu/e_log10l.S: Likewise.
78516 * sysdeps/i386/fpu/e_atanh.S: Likewise.
78517 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
78518 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78519 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
78520 * sysdeps/i386/fpu/e_log10.S: Likewise.
78521 * sysdeps/i386/fpu/s_frexp.S: Likewise.
78522 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78523 * sysdeps/i386/fpu/s_asinh.S: Likewise.
78524 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78525 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78526 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78527 * sysdeps/i386/asm-syntax.h: Likewise.
78528 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78529 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78530 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78531 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
78532 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
78533 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78534 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78535 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78536 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78537 * sysdeps/powerpc/sysdep.h: Likewise.
78538 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
78539 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
78540
78541 2012-02-06 Joseph Myers <joseph@codesourcery.com>
78542
78543 [BZ #411]
78544 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
78545
78546 2012-02-06 Joseph Myers <joseph@codesourcery.com>
78547
78548 * sysdeps/i386/sysdep.h: Include <features.h>.
78549 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
78550 version.
78551
78552 2012-02-05 Joseph Myers <joseph@codesourcery.com>
78553
78554 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
78555 Define.
78556 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
78557 LOAD_PIC_REG_STR.
78558
78559 2012-02-03 Joseph Myers <joseph@codesourcery.com>
78560
78561 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
78562 (SETUP_PIC_REG): Use GET_PC_THUNK.
78563 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
78564 macro.
78565
78566 2012-02-03 Joseph Myers <joseph@codesourcery.com>
78567
78568 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
78569 for non-PIC compilation.
78570 (SETUP_PIC_REG): Add .p2align directive.
78571 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
78572 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
78573 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
78574 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
78575 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
78576 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
78577 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
78578 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78579 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
78580 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
78581 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
78582 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
78583 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
78584 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
78585 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
78586 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
78587 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
78588 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
78589 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
78590 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
78591 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
78592 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
78593 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
78594 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
78595 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
78596 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
78597 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78598 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
78599 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
78600 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
78601 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
78602 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78603 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
78604 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
78605 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
78606 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
78607 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
78608 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
78609 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
78610 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
78611 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
78612
78613 2012-02-03 Joseph Myers <joseph@codesourcery.com>
78614
78615 * math/tst-CMPLX.c: Include <stdio.h>.
78616
78617 2012-01-31 Joseph Myers <joseph@codesourcery.com>
78618
78619 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
78620 float.
78621 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78622 * sysdeps/sparc/bits/mathdef.h: Likewise.
78623
78624 2012-01-31 Marek Polacek <polacek@redhat.com>
78625
78626 * libio/libio.h: Don't define _PARAMS.
78627 * locale/programs/config.h: Don't define PARAMS.
78628 * stdlib/strtol_l.c: Likewise.
78629 (__strtol_l): Remove PARAMS from the prototype.
78630
78631 2012-01-31 Ulrich Drepper <drepper@gmail.com>
78632
78633 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
78634 names. Just use the correct names. Remove unnecessary wrapper
78635 functions.
78636 * malloc/arena.c: Likewise.
78637 * malloc/hooks.c: Likewise.
78638
78639 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
78640 ARENA_TEST says not to. Simplify test for creation of a new arena.
78641 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
78642
78643 2012-01-30 Ulrich Drepper <drepper@gmail.com>
78644
78645 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
78646 into tail calls.
78647 (update_get_addr): New function.
78648 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
78649 GET_ADDR_MODULE parameter.
78650
78651 2012-01-30 Joseph Myers <joseph@codesourcery.com>
78652
78653 * crypt/cert.c: Remove __STDC__ conditionals.
78654 * crypt/crypt-entry.c: Likewise.
78655 * crypt/crypt_util.c: Likewise.
78656 * libio/filedoalloc.c: Likewise.
78657 * libio/fileops.c: Likewise.
78658 * libio/genops.c: Likewise.
78659 * libio/iofclose.c: Likewise.
78660 * libio/iofdopen.c: Likewise.
78661 * libio/iofopen.c: Likewise.
78662 * libio/iofopen64.c: Likewise.
78663 * libio/iogetdelim.c: Likewise.
78664 * libio/iopopen.c: Likewise.
78665 * libio/obprintf.c: Likewise.
78666 * libio/oldfileops.c: Likewise.
78667 * libio/oldiofclose.c: Likewise.
78668 * libio/oldiofdopen.c: Likewise.
78669 * libio/oldiofopen.c: Likewise.
78670 * libio/oldiopopen.c: Likewise.
78671 * libio/wfiledoalloc.c: Likewise.
78672 * libio/wgenops.c: Likewise.
78673 * locale/programs/xmalloc.c: Likewise.
78674 * misc/syslog.c: Likewise.
78675 * stdio-common/xbug.c: Likewise.
78676 * string/memchr.c: Likewise.
78677 * string/memcmp.c: Likewise.
78678 * string/memrchr.c: Likewise.
78679 * string/rawmemchr.c: Likewise.
78680 * sysdeps/posix/getcwd.c: Likewise.
78681 * time/strftime_l.c: Likewise.
78682
78683 2012-01-30 Joseph Myers <joseph@codesourcery.com>
78684
78685 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
78686 * config.make.in (config-cflags-sse2avx): Define.
78687 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
78688 Fix typo.
78689
78690 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
78691
78692 * scripts/config.guess: Update from upstream config git repository.
78693 * scripts/config.sub: Likewise.
78694
78695 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
78696
78697 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
78698 (EM_NUM): Update.
78699 (R_TILEPRO_*, R_TILEGX_*): New macros.
78700
78701 * scripts/firstversions.awk: Fix bug in version range handling.
78702
78703 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
78704
78705 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
78706
78707 * include/sys/epoll.h: New file.
78708 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
78709 libc_hidden_def.
78710
78711 2012-01-28 Ulrich Drepper <drepper@gmail.com>
78712
78713 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
78714 Avoid unnecessary __WORDSIZE == 64 test.
78715 (fmaxf): Use VEX format if possible.
78716 (fmax): Likewise.
78717 (fminf): Likewise.
78718 (fmin): Likewise.
78719
78720 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
78721 * math/math_private.h: Remove libc_fegetround* and
78722 libc_fesetround*.
78723 * sysdeps/i386/configure.in: Check for -msse2avx.
78724 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
78725 also if SSE2AVX is defined.
78726 Remove libc_fegetround* and libc_fesetround*.
78727 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
78728 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
78729 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
78730 of HAS_YMM_USABLE.
78731 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78732 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78733 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78734 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78735 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78736
78737 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
78738
78739 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78740
78741 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
78742 size is not set.
78743 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78744
78745 2012-01-27 Ulrich Drepper <drepper@gmail.com>
78746
78747 [BZ #13618]
78748 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
78749 relocation.
78750 * Makeconfig (libm): Define.
78751 * elf/Makefile: Add rules to build and run tst-relsort1.
78752 * elf/tst-relsort1.c: New file.
78753 * elf/tst-relsort1mod1.c: New file.
78754 * elf/tst-relsort1mod2.c: New file.
78755
78756 2012-01-27 Joseph Myers <joseph@codesourcery.com>
78757
78758 * math/s_ldexp.c: Remove __STDC__ conditionals.
78759 * math/s_ldexpf.c: Likewise.
78760 * math/s_ldexpl.c: Likewise.
78761 * math/s_nextafter.c: Likewise.
78762 * math/s_nexttowardf.c: Likewise.
78763 * math/s_significand.c: Likewise.
78764 * math/s_significandf.c: Likewise.
78765 * math/s_significandl.c: Likewise.
78766 * math/w_jnl.c: Likewise.
78767 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
78768 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
78769 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
78770 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
78771 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
78772 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
78773 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
78774 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
78775 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
78776 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
78777 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78778 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78779 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
78780 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
78781 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
78782 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
78783 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
78784 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
78785 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
78786 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78787 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78788 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
78789 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
78790 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
78791 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
78792 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
78793 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
78794 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
78795 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
78796 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
78797 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
78798 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
78799 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
78800 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
78801 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
78802 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
78803 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
78804 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
78805 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
78806 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
78807 * sysdeps/ieee754/k_standard.c: Likewise.
78808 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78809 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
78810 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
78811 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
78812 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
78813 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
78814 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
78815 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
78816 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
78817 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
78818 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
78819 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
78820 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
78821 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
78822 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
78823 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
78824 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
78825 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
78826 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
78827 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
78828 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
78829 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
78830 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
78831 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
78832 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
78833 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
78834 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78835 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78836 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78837 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
78838 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
78839 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
78840 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
78841 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
78842 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
78843 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
78844 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
78845 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
78846 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
78847 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
78848 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
78849 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
78850 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
78851 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
78852 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
78853 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
78854 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
78855 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
78856 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
78857 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
78858 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
78859 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
78860 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
78861 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
78862 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
78863 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
78864 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
78865 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78866 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78867 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78868 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
78869 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
78870 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
78871 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
78872 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
78873 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
78874 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
78875 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
78876 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
78877 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
78878 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
78879 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
78880 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
78881 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
78882 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
78883 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
78884 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
78885 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
78886 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
78887 * sysdeps/ieee754/s_matherr.c: Likewise.
78888 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
78889 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
78890 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
78891 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
78892
78893 2012-01-26 Joseph Myers <joseph@codesourcery.com>
78894
78895 * crypt/md5.h: Remove __STDC__ conditionals.
78896 * libio/libioP.h: Likewise.
78897 * locale/programs/config.h: Likewise.
78898 * sysdeps/generic/sysdep.h: Likewise.
78899 * sysdeps/i386/asm-syntax.h: Likewise.
78900 * sysdeps/s390/asm-syntax.h: Likewise.
78901 * sysdeps/unix/sysdep.h: Likewise.
78902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
78903 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
78904
78905 2012-01-26 Joseph Myers <joseph@codesourcery.com>
78906
78907 * libio/libio.h: Remove __STDC__ conditionals.
78908 * malloc/obstack.h: Likewise.
78909 * math/complex.h: Likewise.
78910 * math/math.h: Likewise.
78911 * sysdeps/generic/_G_config.h: Likewise.
78912 * sysdeps/gnu/_G_config.h: Likewise.
78913 * sysdeps/mach/hurd/_G_config.h: Likewise.
78914 * sysdeps/powerpc/bits/mathdef.h: Likewise.
78915 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78916 * sysdeps/sparc/bits/mathdef.h: Likewise.
78917
78918 2012-01-26 Ulrich Drepper <drepper@gmail.com>
78919
78920 [BZ #13583]
78921 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
78922 Clean up HAS_* macros.
78923 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
78924 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
78925 possible.
78926 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
78927 HAS_AVX.
78928 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78929 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78930 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78931 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78932 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78933
78934 2012-01-25 Joseph Myers <joseph@codesourcery.com>
78935
78936 * elf/tst-unique3.cc (gets): Remove declaration.
78937 * elf/tst-unique3lib.cc (gets): Likewise.
78938 * elf/tst-unique3lib2.cc (gets): Likewise.
78939 * elf/tst-unique4.cc (gets): Likewise.
78940
78941 2012-01-24 Ulrich Drepper <drepper@gmail.com>
78942
78943 * include/stdio.h: Add C++ protection. Add gets declarations and
78944 definitions.
78945 * debug/tst-chk1.c: Don't declare gets here.
78946 * stdio-common/tst-gets.c: Likewise.
78947
78948 2012-01-24 Joseph Myers <joseph@codesourcery.com>
78949
78950 * posix/glob: Remove directory.
78951
78952 2012-01-24 Joseph Myers <joseph@codesourcery.com>
78953
78954 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
78955
78956 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
78957
78958 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
78959 of the non-standard EPFNOSUPPORT.
78960
78961 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
78962
78963 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
78964 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
78965 ANYWHERE set to 1 only on KERN_NO_SPACE error.
78966
78967 2012-01-21 Ulrich Drepper <drepper@gmail.com>
78968
78969 * wcsmbs/uchar.h: Test __STDC_VERSION__.
78970
78971 2012-01-20 Ulrich Drepper <drepper@gmail.com>
78972
78973 * nscd/aicache.c (addhstaiX): Do not cache negative results of
78974 transient errors.
78975 * nscd/grpcache.c (cache_addgr): Likewise.
78976 * nscd/hstcache.c (cache_addhst): Likewise.
78977 * nscd/initgrcache.c (addinitgroupsX): Likewise.
78978 * nscd/pwdcache.c (cache_addpw): Likewise.
78979 * nscd/servicescache.c (cache_addserv): Likewise.
78980
78981 2012-01-16 Ulrich Drepper <drepper@gmail.com>
78982
78983 * malloc/malloc.c: Various cleanups.
78984 * malloc/hooks.c: Likewise.
78985
78986 * stdlib/Makefile (tests): Add bug-fmtmsg1.
78987 * stdlib/bug-fmtmsg1.c: New file.
78988
78989 * stdlib/fmtmsg.c (init): Add missing unlock.
78990 Patch by Peng Haitao <penght@cn.fujitsu.com>.
78991
78992 2012-01-12 Marek Polacek <polacek@redhat.com>
78993
78994 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
78995 and _GNU_SOURCE.
78996
78997 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
78998
78999 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
79000 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
79001 macro to ensure uniqueness of label name.
79002 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
79003 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
79004
79005 2012-01-11 Ulrich Drepper <drepper@gmail.com>
79006
79007 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
79008
79009 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
79010 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
79011 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
79012 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
79013
79014 2012-01-10 Ulrich Drepper <drepper@gmail.com>
79015
79016 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
79017
79018 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
79019 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
79020 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
79021
79022 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
79023
79024 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
79025 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
79026 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
79027 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
79028
79029 * math/bits/math-finite.h: Add ldexp support.
79030
79031 2012-01-10 Marek Polacek <polacek@redhat.com>
79032
79033 * locale/programs/localedef.h (show_archive_content): Add noreturn
79034 attribute.
79035
79036 2012-01-09 Ulrich Drepper <drepper@gmail.com>
79037
79038 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
79039
79040 2012-01-08 Ulrich Drepper <drepper@gmail.com>
79041
79042 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
79043
79044 * io/Makefile (headers): Add bits/poll2.h.
79045
79046 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
79047
79048 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
79049 typo #include statement.
79050
79051 2012-01-08 Ulrich Drepper <drepper@gmail.com>
79052
79053 * include/sys/cdefs.h: Define __attribute_alloc_size.
79054 * catgets/gencat.c: Add alloc_size attribute and apply consistently
79055 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
79056 * elf/pldd.c: Likewise.
79057 * iconv/iconv_charmap.c: Likewise.
79058 * iconv/iconvconfig.c: Likewise.
79059 * iconv/strtab.c: Likewise.
79060 * locale/programs/locale.c: Likewise.
79061 * locale/programs/localedef.h: Likewise.
79062 * locale/programs/simple-hash.c: Likewise.
79063 * nscd/nscd.h: Likewise.
79064 * nss/makedb.c: Likewise.
79065 * sysdeps/generic/ldconfig.h: Likewise.
79066 * locale/programs/localedef.c: Remove xmalloc prototype.
79067 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
79068
79069 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
79070
79071 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
79072 appropriate.
79073
79074 2012-01-08 Ulrich Drepper <drepper@gmail.com>
79075
79076 * math/Makefile (tests): Add tst-CMPLX.
79077 * math/tst-CMPLX.c: New file.
79078
79079 * math/complex.h (CMPLXL): Fix typo.
79080
79081 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
79082 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
79083 GLIBC_2.16.
79084 * debug/tst-chk1.c: Add poll and ppoll tests.
79085 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
79086 * include/sys/poll.h: Add hidden proto for ppoll.
79087 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
79088 * sysdeps/mach/hurd/ppoll.c: Likewise.
79089 * io/ppoll.c: Likewise.
79090 * debug/poll_chk.c: New file.
79091 * debug/ppoll_chk.c: New file.
79092 * include/bits/poll2.h: New file.
79093 * io/bits/poll2.h: New file.
79094
79095 [BZ #1350]
79096 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
79097
79098 * configure.in: static is always set to yes. Remove.
79099 * config.make.in: Don't set build-static.
79100 * Makeconfig: Remove use of build-static.
79101 * dlfcn/Makefile: Likewise.
79102 * elf/Makefile: Likewise.
79103 * math/Makefile: Likewise.
79104 * misc/Makefile: Likewise.
79105 * nptl/Makefile: Likewise.
79106 * sysdeps/mach/hurd/Makefile: Likewise.
79107
79108 * configure.in: PWD_P is not used anymore.
79109 * config.make.in: Remove PWD_P entry.
79110
79111 * configure.in: Remove last remnants of RANLIB.
79112 No need to check for signed size_t anymore.
79113 Don't set libc_commonpagesize and libc_relro_required here for Alpha
79114 and IA-64.
79115 Remove __builtin_expect test because we require at least gcc 3.4.
79116 * aclocal.m4: Likewise.
79117
79118 * wcsmbs/mbrtoc16.c: Implement using towc function.
79119 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
79120 * wcsmbs/wcsmbsload.c: Likewise.
79121 * iconv/gconv_simple.c: Likewise.
79122 * iconv/gconv_int.h: Likewise.
79123 * iconv/gconv_builtin.h: Likewise.
79124 * iconv/iconv_prog.c: Remove CHAR16 handling.
79125
79126 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
79127
79128 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
79129
79130 * configure.in: Remove --with-elf and --enable-bounded options.
79131 Dont set base_machine for ia64. More non-ELF conditions removed.
79132 Remove testing and setting of leading underscore information.
79133 * config.make.in (build-bounded): Set to no.
79134 * config.h.in: Remove NO_UNDERSCORES entry.
79135 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
79136 them.
79137 * csu/start.c: Remove !NO_UNDERSCORE code.
79138 * locale/localeinfo.h: Likewise.
79139 * sysdeps/generic/machine-gmon.h: Likewise.
79140 * sysdeps/generic/sysdep.h: Likewise.
79141 * sysdeps/i386/sysdep.h: Likewise.
79142 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
79143 * sysdeps/mach/sysdep.h: Likewise.
79144 * sysdeps/s390/s390-32/sysdep.h: Likewise.
79145 * sysdeps/s390/s390-64/sysdep.h: Likewise.
79146 * sysdeps/sh/sysdep.h: Likewise.
79147 * sysdeps/sparc/sparc32/alloca.S: Likewise.
79148 * sysdeps/unix/i386/sysdep.S: Likewise.
79149 * sysdeps/unix/sparc/start.c: Likewise.
79150 * sysdeps/unix/sparc/sysdep.S: Likewise.
79151 * sysdeps/unix/sparc/sysdep.h: Likewise.
79152 * sysdeps/unix/start.c: Likewise.
79153 * sysdeps/unix/x86_64/sysdep.S: Likewise.
79154 * sysdeps/x86_64/sysdep.h: Likewise.
79155
79156 2012-01-07 Ulrich Drepper <drepper@gmail.com>
79157
79158 [BZ #13553]
79159 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
79160 for non-gcc.
79161 * argp/argp-fmtstream.h: Use const instead __const.
79162 * argp/argp.h: Likewise.
79163 * assert/assert.h: Likewise.
79164 * bits/fenv.h: Likewise.
79165 * bits/sched.h: Likewise.
79166 * bits/sigset.h: Likewise.
79167 * bits/sigthread.h: Likewise.
79168 * catgets/nl_types.h: Likewise.
79169 * conform/data/pthread.h-data: Likewise.
79170 * crypt/crypt-private.h: Likewise.
79171 * crypt/crypt.h: Likewise.
79172 * crypt/crypt_util.c: Likewise.
79173 * ctype/ctype.h: Likewise.
79174 * debug/execinfo.h: Likewise.
79175 * debug/mbsnrtowcs_chk.c: Likewise.
79176 * debug/mbsrtowcs_chk.c: Likewise.
79177 * debug/wcsnrtombs_chk.c: Likewise.
79178 * debug/wcsrtombs_chk.c: Likewise.
79179 * debug/wcstombs_chk.c: Likewise.
79180 * dirent/dirent.h: Likewise.
79181 * dlfcn/dlfcn.h: Likewise.
79182 * elf/neededtest4.c: Likewise.
79183 * grp/grp.h: Likewise.
79184 * gshadow/gshadow.h: Likewise.
79185 * iconv/gconv.h: Likewise.
79186 * iconv/gconv_int.h: Likewise.
79187 * iconv/gconv_simple.c: Likewise.
79188 * iconv/iconv.h: Likewise.
79189 * iconv/loop.c: Likewise.
79190 * iconv/skeleton.c: Likewise.
79191 * include/aio.h: Likewise.
79192 * include/aliases.h: Likewise.
79193 * include/argz.h: Likewise.
79194 * include/arpa/inet.h: Likewise.
79195 * include/assert.h: Likewise.
79196 * include/dirent.h: Likewise.
79197 * include/dlfcn.h: Likewise.
79198 * include/execinfo.h: Likewise.
79199 * include/fcntl.h: Likewise.
79200 * include/fenv.h: Likewise.
79201 * include/glob.h: Likewise.
79202 * include/grp.h: Likewise.
79203 * include/libintl.h: Likewise.
79204 * include/mntent.h: Likewise.
79205 * include/netdb.h: Likewise.
79206 * include/pwd.h: Likewise.
79207 * include/rpc/netdb.h: Likewise.
79208 * include/sched.h: Likewise.
79209 * include/search.h: Likewise.
79210 * include/shadow.h: Likewise.
79211 * include/signal.h: Likewise.
79212 * include/stdio.h: Likewise.
79213 * include/stdlib.h: Likewise.
79214 * include/string.h: Likewise.
79215 * include/sys/socket.h: Likewise.
79216 * include/sys/stat.h: Likewise.
79217 * include/sys/statfs.h: Likewise.
79218 * include/sys/statvfs.h: Likewise.
79219 * include/sys/syslog.h: Likewise.
79220 * include/sys/time.h: Likewise.
79221 * include/sys/uio.h: Likewise.
79222 * include/time.h: Likewise.
79223 * include/unistd.h: Likewise.
79224 * include/utmp.h: Likewise.
79225 * include/wchar.h: Likewise.
79226 * include/wctype.h: Likewise.
79227 * inet/aliases.h: Likewise.
79228 * inet/arpa/inet.h: Likewise.
79229 * inet/netinet/ether.h: Likewise.
79230 * inet/netinet/in.h: Likewise.
79231 * intl/libintl.h: Likewise.
79232 * io/bits/fcntl2.h: Likewise.
79233 * io/fcntl.h: Likewise.
79234 * io/ftw.h: Likewise.
79235 * io/sys/poll.h: Likewise.
79236 * io/sys/stat.h: Likewise.
79237 * io/sys/statfs.h: Likewise.
79238 * io/sys/statvfs.h: Likewise.
79239 * io/utime.h: Likewise.
79240 * libio/bits/stdio.h: Likewise.
79241 * libio/bits/stdio2.h: Likewise.
79242 * libio/libio.h: Likewise.
79243 * libio/libioP.h: Likewise.
79244 * libio/stdio.h: Likewise.
79245 * locale/lc-ctype.c: Likewise.
79246 * locale/locale.h: Likewise.
79247 * login/utmp.h: Likewise.
79248 * malloc/arena.c: Likewise.
79249 * malloc/malloc.c: Likewise.
79250 * malloc/malloc.h: Likewise.
79251 * malloc/mcheck.c: Likewise.
79252 * malloc/mtrace.c: Likewise.
79253 * math/bits/mathcalls.h: Likewise.
79254 * math/fenv.h: Likewise.
79255 * math/math_private.h: Likewise.
79256 * misc/bits/error.h: Likewise.
79257 * misc/bits/syslog.h: Likewise.
79258 * misc/err.h: Likewise.
79259 * misc/error.h: Likewise.
79260 * misc/fstab.h: Likewise.
79261 * misc/mntent.h: Likewise.
79262 * misc/regexp.h: Likewise.
79263 * misc/search.h: Likewise.
79264 * misc/sgtty.h: Likewise.
79265 * misc/sys/mman.h: Likewise.
79266 * misc/sys/syslog.h: Likewise.
79267 * misc/sys/uio.h: Likewise.
79268 * misc/sys/xattr.h: Likewise.
79269 * misc/ttyent.h: Likewise.
79270 * nis/rpcsvc/ypclnt.h: Likewise.
79271 * nss/nss.h: Likewise.
79272 * posix/bits/unistd.h: Likewise.
79273 * posix/fnmatch.h: Likewise.
79274 * posix/glob.h: Likewise.
79275 * posix/sched.h: Likewise.
79276 * posix/spawn.h: Likewise.
79277 * posix/sys/wait.h: Likewise.
79278 * posix/unistd.h: Likewise.
79279 * posix/wordexp.h: Likewise.
79280 * pwd/pwd.h: Likewise.
79281 * resolv/netdb.h: Likewise.
79282 * resource/sys/resource.h: Likewise.
79283 * rt/aio.h: Likewise.
79284 * rt/bits/mqueue2.h: Likewise.
79285 * rt/mqueue.h: Likewise.
79286 * shadow/shadow.h: Likewise.
79287 * signal/signal.h: Likewise.
79288 * socket/send.c: Likewise.
79289 * socket/sendto.c: Likewise.
79290 * socket/sys/socket.h: Likewise.
79291 * stdio-common/printf.h: Likewise.
79292 * stdlib/bits/stdlib.h: Likewise.
79293 * stdlib/fmtmsg.h: Likewise.
79294 * stdlib/monetary.h: Likewise.
79295 * stdlib/stdlib.h: Likewise.
79296 * stdlib/ucontext.h: Likewise.
79297 * streams/stropts.h: Likewise.
79298 * string/argz.h: Likewise.
79299 * string/bits/string2.h: Likewise.
79300 * string/string.h: Likewise.
79301 * string/strings.h: Likewise.
79302 * sunrpc/rpc/auth.h: Likewise.
79303 * sunrpc/rpc/auth_des.h: Likewise.
79304 * sunrpc/rpc/clnt.h: Likewise.
79305 * sunrpc/rpc/netdb.h: Likewise.
79306 * sunrpc/rpc/pmap_clnt.h: Likewise.
79307 * sunrpc/rpc/xdr.h: Likewise.
79308 * sysdeps/generic/inttypes.h: Likewise.
79309 * sysdeps/generic/net/if.h: Likewise.
79310 * sysdeps/generic/sys/swap.h: Likewise.
79311 * sysdeps/gnu/net/if.h: Likewise.
79312 * sysdeps/gnu/utmpx.h: Likewise.
79313 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
79314 * sysdeps/i386/i486/bits/string.h: Likewise.
79315 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
79316 * sysdeps/s390/bits/string.h: Likewise.
79317 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
79318 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
79319 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
79320 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
79321 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
79322 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
79323 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
79324 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
79325 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
79326 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
79327 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
79328 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
79329 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
79330 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
79331 * sysdeps/unix/sysv/linux/readv.c: Likewise.
79332 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
79333 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
79334 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79335 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
79336 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
79337 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79338 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
79339 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
79340 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
79341 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
79342 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
79343 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
79344 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79345 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
79346 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
79347 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
79348 * sysvipc/sys/ipc.h: Likewise.
79349 * sysvipc/sys/msg.h: Likewise.
79350 * sysvipc/sys/sem.h: Likewise.
79351 * sysvipc/sys/shm.h: Likewise.
79352 * termios/termios.h: Likewise.
79353 * time/sys/time.h: Likewise.
79354 * time/time.h: Likewise.
79355 * wcsmbs/bits/wchar2.h: Likewise.
79356 * wcsmbs/uchar.h: Likewise.
79357 * wcsmbs/wchar.h: Likewise.
79358 * wctype/wctype.h: Likewise.
79359
79360 [BZ #13551]
79361 * Makeconfig: Remove all but ELF support including AIX support.
79362 * Makerules: Likewise.
79363 * config.h.in: Likewise.
79364 * config.make.in: Likewise.
79365 * configure: Likewise.
79366 * configure.in: Likewise.
79367 * csu/Makefile: Likewise.
79368 * csu/version.c: Likewise.
79369 * debug/Makefile: Likewise.
79370 * dlfcn/Makefile: Likewise.
79371 * elf/Makefile: Likewise.
79372 * extra-lib.mk: Likewise.
79373 * iconv/Makefile: Likewise.
79374 * include/libc-symbols.h: Likewise.
79375 * include/shlib-compat.h: Likewise.
79376 * resolv/Makefile: Likewise.
79377 * resolv/res_libc.c: Likewise.
79378 * rt/Makefile: Likewise.
79379 * sysdeps/i386/asm-syntax.h: Likewise.
79380 * sysdeps/i386/sysdep.h: Likewise.
79381 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
79382 * sysdeps/mach/sysdep.h: Likewise.
79383 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
79384 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
79385 * sysdeps/s390/asm-syntax.h: Likewise.
79386 * sysdeps/s390/s390-32/sysdep.h: Likewise.
79387 * sysdeps/s390/s390-64/sysdep.h: Likewise.
79388 * sysdeps/sh/sysdep.h: Likewise.
79389 * sysdeps/unix/sparc/sysdep.h: Likewise.
79390 * sysdeps/wordsize-32/divdi3.c: Likewise.
79391 * sysdeps/x86_64/sysdep.h: Likewise.
79392
79393 * argp/Versions: Remove _argp_unlock_xxx.
79394
79395 [BZ #13559]
79396 * abilist/ld.abilist: Update. Adjust for removal of tls option.
79397 * abilist/libBrokenLocale.abilist: Likewise.
79398 * abilist/libanl.abilist: Likewise.
79399 * abilist/libc.abilist: Likewise.
79400 * abilist/libcrypt.abilist: Likewise.
79401 * abilist/libdl.abilist: Likewise.
79402 * abilist/libm.abilist: Likewise.
79403 * abilist/libnsl.abilist: Likewise.
79404 * abilist/libpthread.abilist: Likewise.
79405 * abilist/libresolv.abilist: Likewise.
79406 * abilist/librt.abilist: Likewise.
79407 * abilist/libthread_db.abilist: Likewise.
79408 * abilist/libutil.abilist: Likewise.
79409 * abilist/libnss_db.abilist: New file.
79410
79411 * scripts/abilist.awk: Add support for indirect functions.
79412
79413 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
79414
79415 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
79416
79417 * shlib-versions: Remove entries for ports architectures.
79418
79419 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
79420 files in ports.
79421 * elf/stackguard-macros.h: Remove support for IA-64.
79422 * elf/tst-auditmod1.c: Likewise.
79423 * sysdeps/generic/ldsodefs.h: Likewise.
79424
79425 * sysdeps/unix/sysv/linux/configure.in: Ports should define
79426 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
79427 configure files.
79428
79429 [BZ #13552]
79430 * configure.in: Remove --enable-omitfp support.
79431 * FAQ.in: Adjust.
79432 * config.make.in: Likewise.
79433 * Makeconfig: Likewise.
79434 * manual/install.texi: Likewise.
79435
79436 In case anyone cares, the IA-64 architecture could move to ports.
79437 * sysdeps/ia64/*: Removed.
79438 * sysdeps/unix/sysv/linux/ia64/*: Removed.
79439 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
79440
79441 [BZ #13555]
79442 * configure.in: Remove entries for unsupported architectures.
79443
79444 [BZ #13533]
79445 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
79446 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
79447 routines.
79448 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
79449 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
79450 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
79451 fall back to using wcrtomb.
79452 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
79453 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
79454 renaming.
79455 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
79456 * wcsmbs/tst-c16c32-1.c: New file.
79457
79458 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
79459 local variable.
79460
79461 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
79462
79463 * elf/tst-unique3.cc: Add explicit declaration of gets.
79464 * elf/tst-unique3lib.cc: Likewise.
79465 * elf/tst-unique3lib2.cc: Likewise.
79466 * elf/tst-unique4.cc: Likewise.
79467
79468 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
79469
79470 2012-01-06 Joseph Myers <joseph@codesourcery.com>
79471
79472 [BZ #13566]
79473 * assert/assert.h (static_assert): Don't define for C++.
79474 * libio/stdio.h (gets): Do declare for C++ <= C++11.
79475 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
79476
79477 2012-01-03 Ulrich Drepper <drepper@gmail.com>
79478
79479 * iconv/loop.c (single loop): Fix assertion in storing of
79480 remaining bytes.
79481
79482 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
79483
79484 2012-01-01 Ulrich Drepper <drepper@gmail.com>
79485
79486 * posix/getconf.c: Update copyright year.
79487 * nss/getent.c: Likewise.
79488 * nss/makedb.c: Likewise.
79489 * iconv/iconvconfig.c: Likewise.
79490 * iconv/iconv_prog.c: Likewise.
79491 * elf/ldconfig.c: Likewise.
79492 * elf/pldd.c: Likewise.
79493 * elf/sotruss.ksh: Likewise.
79494 * catgets/gencat.c: Likewise.
79495 * csu/version.c: Likewise.
79496 * elf/ldd.bash.in: Likewise.
79497 * elf/sprof.c (print_version): Likewise.
79498 * locale/programs/locale.c: Likewise.
79499 * locale/programs/localedef.c: Likewise.
79500 * login/programs/pt_chown.c: Likewise.
79501 * nscd/nscd.c (print_version): Likewise.
79502 * debug/xtrace.sh: Likewise.
79503 * malloc/memusage.sh: Likewise.
79504 * malloc/mtrace.pl: Likewise.
79505 * debug/catchsegv.sh: Likewise.
79506
79507 2011-12-30 Jakub Jelinek <jakub@redhat.com>
79508
79509 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
79510 pure attribute.
79511
79512 2011-12-24 Ulrich Drepper <drepper@gmail.com>
79513
79514 [BZ #13533]
79515 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
79516 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
79517 transformations.
79518 * iconv/gconv_int.h: Likewise.
79519 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
79520 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
79521 from libc for GLIBC_2.16.
79522 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
79523 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
79524 * wcsmbs/uchar.h: Really define mbstate_t.
79525 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
79526 * wcsmbs/c16rtomb.c: New file.
79527 * wcsmbs/mbrtoc16.c: New file.
79528 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
79529 for C/POSIX locale.
79530 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
79531 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
79532
79533 * wcsmbs/wchar.h: Add missing __restrict.
79534
79535 2011-12-23 Ulrich Drepper <drepper@gmail.com>
79536
79537 [BZ #13532]
79538 * time/Makefile (routines): Add timespec_get.
79539 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
79540 * time/time.h: Define TIME_UTC and declare timespec_get. Define
79541 timespec for ISO C11.
79542 * time/timespec_get.c: New file.
79543 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
79544 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
79545
79546 [BZ #13531]
79547 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
79548 * stdlib/stdlib.h: Declare aligned_alloc.
79549 * Versions.def: Add GLIBC_2.16 for libc.
79550 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
79551
79552 [BZ 13527]
79553 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
79554 ISO C11.
79555
79556 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
79557 code.
79558
79559 [BZ #13528]
79560 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
79561
79562 [BZ #13529]
79563 * assert/assert.h (static_assert): Define.
79564
79565 * version.h: Update for 2.16 development version.
79566
79567 [BZ #13526]
79568 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
79569 _ISOC11_SOURCE.
79570
79571 * version.h (RELEASE): Bump for 2.15 release.
79572 * include/features.h (__GLIBC_MINOR__): Bump to 15.
79573
79574 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
79575 Patch by Marek Polacek <mpolacek@redhat.com>.
79576
79577 * bits/byteswap.h: Protect long long constants with __extension__.
79578 * sysdeps/i386/bits/byteswap.h: Likewise.
79579 * sysdeps/ia64/bits/byteswap.h: Likewise.
79580 * sysdeps/s390/bits/byteswap.h: Likewise.
79581 * sysdeps/x86_64/bits/byteswap.h: Likewise.
79582
79583 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79584
79585 [BZ #13540]
79586 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
79587 destination buffer.
79588 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
79589
79590 2011-12-23 Marek Polacek <polacek@redhat.com>
79591
79592 * elf/dl-addr.c (determine_info): Add inline keyword.
79593 * elf/tst-auditmod4b.c (check_avx): Likewise.
79594 * elf/tst-auditmod6b.c (check_avx): Likewise.
79595 * elf/tst-auditmod6c.c (check_avx): Likewise.
79596 * elf/tst-auditmod7b.c (check_avx): Likewise.
79597
79598 2011-12-23 Ulrich Drepper <drepper@gmail.com>
79599
79600 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
79601 !__SSE_MATH__.
79602
79603 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79604
79605 [BZ #13540]
79606 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
79607 processing for last bytes.
79608
79609 2011-08-06 Bruno Haible <bruno@clisp.org>
79610
79611 [BZ #13061]
79612 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
79613 U+0385, not to U+1FEE.
79614
79615 [BZ #13062]
79616 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
79617 entry for U+00A5 U+0301.
79618
79619 2011-12-22 Ulrich Drepper <drepper@gmail.com>
79620
79621 [BZ #13166]
79622 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
79623 buffer for the output is too small.
79624
79625 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
79626 optimization.
79627
79628 [BZ #13185]
79629 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
79630 SSE flags if possible.
79631
79632 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79633
79634 [BZ #13540]
79635 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
79636 processing for last bytes.
79637
79638 2011-12-22 Joseph Myers <joseph@codesourcery.com>
79639
79640 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
79641 (syscall-list-default-options, syscall-list-default-condition)
79642 (syscall-list-includes): Define.
79643 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
79644 list of ABIs and options and #if conditions for each ABI. Do not
79645 handle common syscalls between ABIs specially.
79646 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
79647 Remove.
79648 (syscall-list-variants, syscall-list-32bit-options)
79649 (syscall-list-32bit-condition, syscall-list-64bit-options)
79650 (syscall-list-64bit-condition): Define.
79651 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
79652 (syscall-list-variants, syscall-list-32bit-options)
79653 (syscall-list-32bit-condition, syscall-list-64bit-options)
79654 (syscall-list-64bit-condition): Define.
79655 * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
79656 Remove.
79657 (syscall-list-variants, syscall-list-32bit-options)
79658 (syscall-list-32bit-condition, syscall-list-64bit-options)
79659 (syscall-list-64bit-condition): Define.
79660 * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
79661 Remove.
79662 (syscall-list-variants, syscall-list-32bit-options)
79663 (syscall-list-32bit-condition, syscall-list-64bit-options)
79664 (syscall-list-64bit-condition): Define.
79665
79666 2011-12-22 Ulrich Drepper <drepper@gmail.com>
79667
79668 * locale/iso-639.def: Add brx entry.
79669
79670 [BZ #13328]
79671 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
79672 Proposed by Mariusz_Cukr <marcukr@op.pl>.
79673
79674 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
79675 __feraiseexcept_renamed.
79676
79677 2011-12-21 Ulrich Drepper <drepper@gmail.com>
79678
79679 [BZ #13538]
79680 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
79681 EPOLLET with unsigned values.
79682 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79683 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79684
79685 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
79686 to large cancellation.
79687 * math/s_cacoshf.c: Likewise.
79688 * math/s_cacoshl.c: Likewise.
79689
79690 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
79691
79692 [BZ #13305]
79693 [BZ #12786]
79694 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
79695 * math/s_cacoshf.c: Likewise.
79696 * math/s_cacoshl.c: Likewise.
79697
79698 2011-12-21 Ulrich Drepper <drepper@gmail.com>
79699
79700 [BZ #13439]
79701 * iconv/gconv.h: Define __GCONV_SWAP.
79702 * iconvdata/unicode.c: The swap bit must be stored in __flags.
79703 * iconvdata/utf-16.c: Likewise.
79704 * iconvdata/utf-32.c: Likewise.
79705
79706 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
79707
79708 [BZ #13524]
79709 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
79710 numerator after shifting it by one limb.
79711
79712 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
79713
79714 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
79715 under [__USE_EXTERN_INLINES].
79716
79717 2011-12-17 Ulrich Drepper <drepper@gmail.com>
79718
79719 [BZ #13446]
79720 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
79721
79722 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79723
79724 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
79725 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
79726 optimized code.
79727 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
79728 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
79729 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
79730 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
79731 for strncasecmp/strncasecmp_l compilation.
79732 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
79733 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
79734
79735 2011-12-08 Marek Polacek <mpolacek@redhat.com>
79736
79737 [BZ #13484]
79738 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
79739 of __asm__.
79740
79741 2011-12-17 Ulrich Drepper <drepper@gmail.com>
79742
79743 [BZ #13506]
79744 * time/tzfile.c (__tzfile_read): Check values from file header.
79745
79746 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
79747
79748 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
79749 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
79750 * powerpc/powerpc32/dl-start.S: Likewise.
79751 * powerpc/powerpc32/elf/start.S: Likewise.
79752 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
79753 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
79754 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
79755 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
79756 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
79757 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
79758 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
79759 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
79760 * powerpc/powerpc32/fpu/s_round.S: Likewise.
79761 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
79762 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
79763 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
79764 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
79765 * powerpc/powerpc32/memset.S: Likewise.
79766 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
79767 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
79768 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
79769 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
79770 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
79771 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
79772 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
79773 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
79774 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
79775 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
79776 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
79777 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
79778 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
79779
79780 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79781
79782 * math/libm-test.inc: Added more nearbyint tests.
79783 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
79784 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
79785 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
79786 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
79787
79788 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
79789
79790 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
79791 FD_CLOEXEC.
79792
79793 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79794
79795 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
79796 Add wcscpy-ssse3 wcscpy-c.
79797 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
79798 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
79799 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
79800 * sysdeps/x86_64/wcschr.S: New file.
79801 * sysdeps/x86_64/wcsrchr.S: New file.
79802 * string/test-strcmp.c: Remove checking of wcscmp function for
79803 wrong alignments.
79804 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
79805 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
79806 wcsrchr-sse2 wcsrchr-c.
79807 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
79808 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
79809 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
79810 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
79811 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
79812 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
79813 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
79814 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
79815 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
79816 * wcsmbc/wcschr.c (WCSCHR): New macro.
79817
79818 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79819
79820 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
79821 * wcsmbs/test-wcsrchr.c: New file.
79822 * string/test-strrchr.c: Add wcsrchr support.
79823 (WIDE): New macro.
79824 * wcsmbs/test-wcscpy.c: New file.
79825 * string/test-strcpy.c: Add wcscpy support.
79826 (WIDE): New macro.
79827
79828 2011-12-10 Ulrich Drepper <drepper@gmail.com>
79829
79830 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
79831 the inner loop.
79832
79833 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
79834
79835 [BZ #13472]
79836 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
79837
79838 2011-12-04 Ulrich Drepper <drepper@gmail.com>
79839
79840 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
79841 Minor optimizations.
79842
79843 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
79844 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
79845 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
79846
79847 2011-12-03 Ulrich Drepper <drepper@gmail.com>
79848
79849 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
79850 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
79851 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
79852 for gcc to avoid warnings.
79853 * inet/Makefile (tests): Add tst-checks.
79854 * inet/tst-checks.c: New file.
79855
79856 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
79857 warning.
79858
79859 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
79860 __wmemcmp_sse2.
79861
79862 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
79863 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
79864
79865 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
79866
79867 2011-12-02 Ulrich Drepper <drepper@gmail.com>
79868
79869 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
79870 problem.
79871
79872 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
79873
79874 2011-11-29 Joseph Myers <joseph@codesourcery.com>
79875
79876 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
79877 conditional on GCC version.
79878 (__arch_compare_and_exchange_val_8_acq)
79879 (__arch_compare_and_exchange_val_16_acq)
79880 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
79881 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
79882 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
79883
79884 2011-12-02 Joseph Myers <joseph@codesourcery.com>
79885
79886 * sysdeps/sh/backtrace.c: New file.
79887
79888 2011-12-02 Andreas Schwab <schwab@redhat.com>
79889
79890 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
79891 parenthesis.
79892
79893 2011-12-01 Andreas Schwab <schwab@redhat.com>
79894
79895 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
79896 falling back to utime.
79897
79898 2011-11-30 Andreas Schwab <schwab@redhat.com>
79899
79900 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
79901 expectations for float.
79902
79903 2011-11-29 Andreas Schwab <schwab@redhat.com>
79904
79905 * locale/weight.h (findidx): Add parameter len.
79906 * locale/weightwc.h (findidx): Likewise.
79907 * posix/fnmatch_loop.c (FCT): Adjust caller.
79908 * posix/regcomp.c (build_equiv_class): Likewise.
79909 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
79910 * posix/regexec.c (check_node_accept_bytes): Likewise.
79911 * string/strcoll_l.c (STRCOLL): Likewise.
79912 * string/strxfrm_l.c (STRXFRM): Likewise.
79913
79914 2011-11-17 Ulrich Drepper <drepper@gmail.com>
79915
79916 * Makefile.in: Remove CVSOPT handling.
79917 * configure.in: Remove use of AC_REVISION.
79918 * iconvdata/Makefile (distribute): No need to filter out CVS.
79919 * scripts/list-sources.sh: Remove CVS, subversion and monotone
79920 handling.
79921
79922 2011-11-16 Andreas Schwab <schwab@redhat.com>
79923
79924 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
79925 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
79926 [USE_AS_STRNCASECMP_L]: Likewise.
79927 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
79928 NO_TLS_DIRECT_SEG_REFS.
79929 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
79930 Fix argument offsets for non-PIC.
79931 [USE_AS_STRNCASECMP_L]: Likewise.
79932 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
79933 NO_TLS_DIRECT_SEG_REFS.
79934
79935 2011-11-15 Ulrich Drepper <drepper@gmail.com>
79936
79937 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
79938 O_CLOEXEC.
79939 * locale/loadlocale.c (_nl_load_locale): Likewise.
79940
79941 2011-11-15 Andreas Schwab <schwab@redhat.com>
79942
79943 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
79944 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
79945 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
79946 (SYSCALL_GETTIME): Set errno on error.
79947
79948 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
79949 count references to noai6ai_cached.
79950
79951 2011-11-15 Ulrich Drepper <drepper@gmail.com>
79952
79953 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
79954
79955 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
79956 FD_CLOEXEC for /proc/self/maps.
79957
79958 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
79959 FD_CLOEXEC for /proc/meminfo.
79960
79961 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
79962 gai.conf.
79963
79964 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
79965 FD_CLOEXEC for given file.
79966
79967 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
79968
79969 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
79970 FD_CLOEXEC for /etc/hosts.
79971 (_gethtent): Likewise.
79972
79973 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
79974
79975 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
79976 cancellation and set FD_CLOEXEC for /etc/netgroup.
79977
79978 * nss/nss_files/files-key.c (search): Don't allow cancellation when
79979 reading /etc/publickey.
79980
79981 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
79982 allow cancellation when reading /etc/group.
79983
79984 * nss/nss_files/files-alias.c (internal_setent): Don't allow
79985 cancellation.
79986 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
79987
79988 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
79989 when using data file.
79990
79991 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
79992
79993 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
79994 (write_nis_obj): Use "c" and "e" in fopen.
79995
79996 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
79997
79998 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
79999
80000 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
80001
80002 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
80003
80004 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
80005 locale.alias.
80006
80007 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
80008
80009 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
80010
80011 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
80012
80013 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
80014 file parsing and set FD_CLOEXEC.
80015
80016 2011-11-14 Ulrich Drepper <drepper@gmail.com>
80017
80018 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
80019
80020 2011-11-14 Andreas Schwab <schwab@redhat.com>
80021
80022 * malloc/arena.c (arena_get2): Don't call reused_arena when
80023 _int_new_arena failed.
80024
80025 2011-11-14 Ulrich Drepper <drepper@gmail.com>
80026
80027 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
80028 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
80029 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
80030 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
80031 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
80032 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
80033 to compile strcasecmp and strncasecmp.
80034 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
80035 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
80036
80037 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
80038
80039 2011-11-13 Ulrich Drepper <drepper@gmail.com>
80040
80041 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
80042 locale-defines.sym to gen-as-const-headers.
80043 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
80044 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
80045 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
80046 to compile strcasecmp and strncasecmp.
80047 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
80048 strcasecmp_l and strncasecmp_l.
80049 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
80050 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
80051 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
80052 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
80053 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
80054 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
80055 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
80056 * sysdeps/i386/i686/multiarch/strncase.S: New file.
80057 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
80058 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
80059 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
80060
80061 2011-11-12 Ulrich Drepper <drepper@gmail.com>
80062
80063 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
80064 result of SYSDEP_GETTIME_CPU to retval.
80065 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
80066 parameter list to macro. Remove trailing semicolon. Adjust users.
80067
80068 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
80069 variable.
80070
80071 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
80072 mantissa words.
80073 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
80074
80075 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
80076 from unused variable.
80077
80078 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
80079 DWARF definitions.
80080 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
80081 for assembling.
80082
80083 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
80084 over namespaces.
80085
80086 * sunrpc/rpc_prot.c (rejected): Fix case value.
80087
80088 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
80089 unsigned long long int to avoid warnings in shift.
80090
80091 * posix/regex_internal.c (re_string_reconstruct): Actually use result
80092 of use of trans.
80093 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
80094 variable tmp.
80095
80096 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
80097 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
80098 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
80099
80100 * nis/nis_table.c (nis_list): Use variable of correct type for
80101 result of __follow_path call.
80102
80103 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80104
80105 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
80106 of math functions ceil, trunc, floor, round, and sqrt, when
80107 avaliable on the platform.
80108 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
80109 name clash.
80110 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
80111 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
80112 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
80113
80114 2011-10-30 Marek Polacek <mpolacek@redhat.com>
80115
80116 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
80117 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
80118
80119 2011-11-11 Roland McGrath <roland@hack.frob.com>
80120
80121 * include/unistd.h: Fix __readlink return type.
80122 Reported by Chris Metcalf <cmetcalf@tilera.com>.
80123
80124 2011-11-11 Ulrich Drepper <drepper@gmail.com>
80125
80126 * stdlib/ucontext.h: Undo last change for makecontext.
80127
80128 2011-11-11 Andreas Schwab <schwab@redhat.com>
80129
80130 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
80131
80132 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
80133 * setjmp/setjmp.h: Mark functions as non-leaf.
80134 * setjmp/bits/setjmp2.h: Likewise.
80135 * stdlib/ucontext.h: Likewise.
80136
80137 2011-11-10 Andreas Schwab <schwab@redhat.com>
80138
80139 * malloc/arena.c (_int_new_arena): Don't increment narenas.
80140 (reused_arena): Don't check arena limit.
80141 (arena_get2): Atomically check arena limit.
80142
80143 2011-11-08 Ulrich Drepper <drepper@gmail.com>
80144
80145 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
80146 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
80147
80148 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
80149 instructions.
80150
80151 2011-11-07 Andreas Schwab <schwab@redhat.com>
80152
80153 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
80154 handler when locking.
80155
80156 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
80157 Fix size of allocated buffer.
80158
80159 2011-11-04 Andreas Schwab <schwab@redhat.com>
80160
80161 [BZ #10103]
80162 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
80163 declarations for long double functions.
80164 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
80165
80166 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
80167
80168 2011-11-03 Andreas Schwab <schwab@redhat.com>
80169
80170 * nscd/nscd.c (main): Don't start AVC thread until credentials are
80171 installed.
80172
80173 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
80174 is disabled.
80175
80176 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
80177
80178 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
80179
80180 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
80181
80182 * include/alloca.h (stackinfo_alloca_round): Define.
80183 (extend_alloca): Use it.
80184 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
80185 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
80186 here.
80187
80188 * scripts/check-local-headers.sh: Ignore libaudit.h.
80189
80190 * nscd/Makefile (extra-objs): Make recursively expanded.
80191
80192 2011-11-01 Ulrich Drepper <drepper@gmail.com>
80193
80194 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
80195 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
80196
80197 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
80198 * posix/tst-rfc3484-2.c: Likewise.
80199 * posix/tst-rfc3484-3.c: Likewise.
80200
80201 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
80202 process_vm_writev.
80203 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
80204 process_vm_writev.
80205 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
80206 process_vm_writev from libc using GLIBC_2.15 version.
80207
80208 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
80209
80210 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
80211
80212 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
80213 stack usage.
80214
80215 2011-10-31 Ulrich Drepper <drepper@gmail.com>
80216
80217 [BZ #13367]
80218 * nss/getent.c (initgroups_keys): Show error message in case no group
80219 names are given.
80220
80221 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
80222 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
80223 __bump_nl_timestamp.
80224 * nscd/connections (nscd_init): When host database is served open
80225 netlink socket and request notification about configuration changes.
80226 (main_loop_poll): Track netlink file descriptor and bump timestamp
80227 in case data becomes available.
80228 (main_loop_epoll): Likewise.
80229 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
80230 (database_pers_head): Add extra_data fileds.
80231 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
80232 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
80233 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
80234 Adjust caller.
80235 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
80236 in6ai data, call __free_in6ai.
80237 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
80238 Add -DHAVE_NETLINK.
80239 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
80240 interface information. Reuse previous data if netlink timestamp
80241 is not changed.
80242 (__bump_nl_timestamp): New function.
80243 (__free_in6ai): New function.
80244
80245 2011-10-30 Ulrich Drepper <drepper@gmail.com>
80246
80247 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
80248 close_not_cancel_no_status here.
80249 (__check_pf): Reorganize code a bit to not call close twice if OOM.
80250
80251 2011-10-29 Ulrich Drepper <drepper@gmail.com>
80252
80253 [BZ #13276]
80254 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
80255 return value.
80256
80257 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
80258 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
80259 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
80260
80261 2011-07-03 Andreas Jaeger <aj@suse.de>
80262
80263 [BZ #10709]
80264 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
80265 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
80266 * math/libm-test.inc (sin_test): Add test case.
80267
80268 2011-10-29 Ulrich Drepper <drepper@gmail.com>
80269
80270 [BZ #13337]
80271 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
80272 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
80273
80274 * elf/chroot_canon.c (chroot_canon): Cleanups.
80275
80276 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
80277
80278 [BZ #13335]
80279 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
80280 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
80281
80282 * string/test-strchr.c: Make usable for strchrnul testing.
80283 * string/test-strchrnul.c: New file.
80284 * string/Makefile (strop-tests): Add strchrnul.
80285
80286 * po/it.po: Update from translation team.
80287 * po/es.po: Likewise.
80288
80289 2011-10-28 Ulrich Drepper <drepper@gmail.com>
80290
80291 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
80292 the three constants needed as parameters. Drop the others.
80293 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
80294 __m128i_strloadu_tolower.
80295 Create and initialize variable zero and use it in all the places
80296 where _mm_setzero_si128 was used.
80297
80298 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
80299 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
80300 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
80301 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
80302 anymore.
80303 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
80304 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
80305 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
80306 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
80307 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
80308 __mpranred, __mptan.
80309 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
80310 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
80311 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
80312 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
80313 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
80314 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
80315 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
80316 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
80317 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
80318
80319 2011-10-28 Andreas Schwab <schwab@redhat.com>
80320
80321 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
80322 redefine if SHARED.
80323 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
80324
80325 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
80326 wide char related routines to wcsmbs subdir.
80327
80328 2011-10-27 Andreas Schwab <schwab@redhat.com>
80329
80330 [BZ #13344]
80331 * misc/sys/cdefs.h (__THROWNL): Define.
80332 * posix/unistd.h: Use __THREADNL instead of __THREAD
80333 for memory synchronization functions.
80334
80335 2011-10-26 Roland McGrath <roland@hack.frob.com>
80336
80337 [BZ #13349]
80338 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
80339 doesn't exist.
80340 * manual/stdio.texi (Obstack Streams): Node removed.
80341
80342 2011-10-26 Andreas Schwab <schwab@redhat.com>
80343
80344 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
80345 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80346 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80347
80348 * math/math_private.h (math_force_eval): Allow non-addressable
80349 arguments.
80350 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
80351
80352 2011-10-25 Ulrich Drepper <drepper@gmail.com>
80353
80354 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
80355 file is not needed.
80356
80357 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
80358 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
80359 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80360 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80361 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80362 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80363 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80364 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
80365 Add AVX variants.
80366 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
80367 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
80368 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
80369 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
80370 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
80371 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
80372 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
80373 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
80374 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
80375 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
80376 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
80377 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
80378 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
80379 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
80380 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
80381 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
80382 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
80383 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
80384 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
80385
80386 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
80387 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
80388
80389 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
80390 place. Use VEX encoding when compiling for AVX.
80391
80392 2011-10-25 Andreas Schwab <schwab@redhat.com>
80393
80394 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
80395 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
80396
80397 * string/test-strchr.c (do_test): Don't generate NUL bytes.
80398
80399 2011-10-25 Ulrich Drepper <drepper@gmail.com>
80400
80401 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
80402 useless if() expression.
80403 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80404 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
80405 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
80406 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80407 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
80408 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80409 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80410 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80411 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
80412 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80413 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80414 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80415 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
80416 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80417 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
80418 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80419 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80420 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80421 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
80422
80423 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
80424
80425 2011-10-25 Andreas Schwab <schwab@redhat.com>
80426
80427 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
80428 condition.
80429 * elf/dl-fini.c (_dl_sort_fini): Likewise.
80430
80431 2011-10-25 Ulrich Drepper <drepper@gmail.com>
80432
80433 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
80434 .text section. Avoid duplicate constants.
80435 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
80436 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80437 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80438 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80439 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80440 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80441 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80442 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80443 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
80444 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
80445 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
80446 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
80447 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
80448 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
80449 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
80450 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
80451 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
80452 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
80453 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
80454 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80455 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
80456 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
80457 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
80458 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
80459 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
80460 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
80461 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
80462 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
80463 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
80464 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
80465 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
80466 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
80467 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
80468 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
80469 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
80470 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
80471 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
80472 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
80473 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
80474 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
80475 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
80476 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
80477 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
80478 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
80479 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
80480
80481 2011-10-24 Ulrich Drepper <drepper@gmail.com>
80482
80483 * sysdeps/x86_64/dla.h: Move to ...
80484 * sysdeps/x86_64/fpu/dla.h: ...here.
80485 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
80486 situations. Use __builtin_fma only for gcc 4.6 and up.
80487
80488 * config.make.in: Add have-mfma4 entry.
80489 * configure.in: Substitute libc_cv_cc_fma4.
80490 * math/Makefile (dbl-only-routines): Add sincostab.
80491 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
80492 Use __sincostab not sincos.
80493 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
80494 name is a macro.
80495 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80496 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80497 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80498 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
80499 using __copysign.
80500 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
80501 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
80502 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
80503 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
80504 and __inv.
80505 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
80506 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
80507 __copysign.
80508 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
80509 define aliases when function name is a macro.
80510 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
80511 sysdeps/ieee754/dbl-64/sincos.tbl.
80512 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
80513 fma4-enabled routines.
80514 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
80515 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
80516 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
80517 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
80518 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
80519 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
80520 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
80521 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
80522 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
80523 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
80524 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
80525 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
80526 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
80527 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
80528 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
80529 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
80530 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
80531 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
80532 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
80533 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
80534 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
80535 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
80536 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
80537 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
80538 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
80539 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
80540 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
80541 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
80542 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
80543 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
80544
80545 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
80546 rename.
80547 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80548 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80549 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80550 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80551 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80552 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80553 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80554 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80555
80556 2011-10-24 Andreas Schwab <schwab@redhat.com>
80557
80558 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
80559
80560 2011-10-23 Ulrich Drepper <drepper@gmail.com>
80561
80562 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
80563
80564 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
80565 prediction.
80566 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
80567
80568 * string/strnlen.c: Don't define STRNLEN, reverse logic.
80569 Remove unused variable magic_bits.
80570 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
80571
80572 * string/strnlen.c: Define and use STRNLEN macro.
80573 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
80574 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
80575 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
80576 * wcsmbs/wcslen.c: Define and use WCSLEN.
80577 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
80578 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
80579 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
80580 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
80581 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
80582 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
80583 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80584
80585 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80586
80587 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80588 strnlen-sse2-no-bsf.
80589 Rename strlen-no-bsf to strlen-sse2-no-bsf.
80590 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
80591 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
80592 Add strnlen support.
80593 (USE_AS_STRNLEN): New macro.
80594 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
80595 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
80596 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
80597 * sysdeps/x86_64/wcslen.S: New file.
80598
80599 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
80600
80601 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
80602 XMM-moves are used for copying on small sizes.
80603
80604 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80605
80606 * wcsmbs/Makefile (strop-tests): Add wcschr.
80607 * wcsmbs/test-wcschr.c: New file.
80608 * string/test-strchr.c: Update.
80609 Add wcschr support.
80610 (WIDE): New macro.
80611
80612 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80613
80614 * wcsmbs/Makefile (strop-tests): Add wcslen.
80615 * wcsmbs/test-wcslen.c: New file.
80616 * string/test-strlen.c: Update.
80617 Add wcslen support.
80618 (WIDE): New macro.
80619
80620 2011-10-23 Ulrich Drepper <drepper@gmail.com>
80621
80622 * po/it.po: Update from translation team.
80623
80624 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80625
80626 * sysdeps/x86_64/wcscmp.S: Update.
80627 Fix wrong comparison semantics.
80628 wcscmp shall use signed comparison not unsigned.
80629 Don't use substraction to avoid overflow bug.
80630 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
80631 * wcsmbc/wcscmp.c: Likewise.
80632 * string/test-strcmp.c: Likewise.
80633 Add new tests to check cases with negative values.
80634
80635 2011-10-23 Ulrich Drepper <drepper@gmail.com>
80636
80637 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
80638 * sysdeps/x86_64/dla.h: ...here. New file.
80639 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
80640 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80641 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80642 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80643 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80644 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80645 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80646 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80647 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80648
80649 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
80650
80651 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
80652 __ynl_finite aliases.
80653
80654 2011-10-22 Ulrich Drepper <drepper@gmail.com>
80655
80656 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80657
80658 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
80659 define DLA_FMA.
80660 [DLA_FMA] (EMULV): Use DLA_FMA.
80661 [DLA_FMA] (MUL12): Use EMULV.
80662 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
80663 that are not needed.
80664 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80665 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80666 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80667 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80668 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80669 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80670 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80671
80672 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
80673
80674 * math/s_nan.c: Undef __nan.
80675 * math/s_nanf.c: Undef __nanf.
80676 * math/s_nanl.c: Undef __nanl.
80677 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
80678 "math_private.h".
80679
80680 2011-10-22 Ulrich Drepper <drepper@gmail.com>
80681
80682 * math/s_catan.c: Add branch predictions.
80683 * math/s_catanf.c: Likewise.
80684 * math/s_catanh.c: Likewise.
80685 * math/s_catanhf.c: Likewise.
80686 * math/s_catanhl.c: Likewise.
80687 * math/s_catanl.c: Likewise.
80688 * math/s_cexp.c: Likewise.
80689 * math/s_cexpf.c: Likewise.
80690 * math/s_cexpl.c: Likewise.
80691 * math/s_clog.c: Likewise.
80692 * math/s_clog10.c: Likewise.
80693 * math/s_clog10f.c: Likewise.
80694 * math/s_clog10l.c: Likewise.
80695 * math/s_clogf.c: Likewise.
80696 * math/s_clogl.c: Likewise.
80697 * math/s_csqrt.c: Likewise.
80698 * math/s_csqrtf.c: Likewise.
80699 * math/s_csqrtl.c: Likewise.
80700 * math/s_ctanf.c: Likewise.
80701 * math/s_ctanh.c: Likewise.
80702 * math/s_ctanhf.c: Likewise.
80703 * math/s_ctanhl.c: Likewise.
80704 * math/s_ctanl.c: Likewise.
80705
80706 * math/math_private.h: Define __nan, __nanf, __nanl.
80707 * math/s_cacosh.c: Include <math_private.h>.
80708 * math/s_cacoshl.c: Likewise.
80709 * math/s_casinh.c: Likewise.
80710 * math/s_casinhf.c: Likewise.
80711 * math/s_casinhl.c: Likewise.
80712 * math/s_ccos.c: Rely entire on ccosh.
80713 * math/s_ccosf.c: Rely entire on ccoshf.
80714 * math/s_ccosl.c: Rely entirely on ccoshl.
80715 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
80716 Remove tests for FE_INVALID.
80717 * math/s_ccoshf.c: Likewise.
80718 * math/s_ccoshl.c: Likewise.
80719 * math/s_csin.c: Likewise.
80720 * math/s_csinf.c: Likewise.
80721 * math/s_csinh.c Likewise.
80722 * math/s_csinhf.c: Likewise.
80723 * math/s_csinhl.c: Likewise.
80724 * math/s_csinl.c: Likewise.
80725 * math/s_ctan.c: Likewise.
80726 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
80727 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
80728 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
80729
80730 2011-10-21 Ulrich Drepper <drepper@gmail.com>
80731
80732 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
80733 compilation problems.
80734
80735 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
80736 __builtin_expect.
80737
80738 2011-10-20 Ulrich Drepper <drepper@gmail.com>
80739
80740 * sysdeps/i386/configure.in: Test for -mfma4 option.
80741 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
80742 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
80743 COMMON_CPUID_INDEX_80000001.
80744 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
80745 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
80746 use it if FMA3 is not supported.
80747 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
80748
80749 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
80750 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80751
80752 2011-10-20 Andreas Schwab <schwab@redhat.com>
80753
80754 [BZ #12892]
80755 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
80756 it would create a cycle with a link time dependency.
80757
80758 2011-10-19 Ulrich Drepper <drepper@gmail.com>
80759
80760 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
80761 instruction.
80762 * string/Makefile (strop-tests): Add rawmemchr.
80763 * string/test-rawmemchr.c: New file.
80764
80765 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
80766 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
80767 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
80768 when compiling str{,n}casecmp and when AVX is available. Hook up
80769 new optimized code in initializers.
80770
80771 2011-10-19 Andreas Schwab <schwab@redhat.com>
80772
80773 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
80774 __feraiseexcept instead of feraiseexcept.
80775
80776 2011-10-18 Ulrich Drepper <drepper@gmail.com>
80777
80778 * math/math_private.h: Define defaults for libc_fetestexcept and
80779 libc_feupdateenv.
80780 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
80781 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
80782 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80783 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80784 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80785 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80786 libc_fetestexcept and libc_feupdateenv.
80787
80788 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
80789 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
80790 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
80791 * sysdeps/x86_64/fpu/math_private.h: Define special version of
80792 libc_feholdexcept_setround.
80793
80794 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
80795 Add s_nearbyint-c and s_nearbyintf-c.
80796 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
80797 nearbyintf inlines.
80798 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
80799 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
80800 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
80801 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
80802
80803 * math/math_private.h: Define defaults for libc_fegetround,
80804 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
80805 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
80806 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
80807 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
80808 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
80809 standard functions.
80810 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80811 Remove comments and hacks for old compiler versions.
80812 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80813 libc_fegetround, libc_fesetround, libc_feholdexcept, and
80814 libc_feholdexceptl.
80815
80816 2011-10-18 Andreas Schwab <schwab@redhat.com>
80817
80818 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
80819 (__feraiseexcept_renamed): Add __NTH.
80820 (feraiseexcept): Add __NTH. Rename local variables to fix
80821 namespace violations.
80822
80823 2011-10-17 Ulrich Drepper <drepper@gmail.com>
80824
80825 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
80826
80827 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
80828
80829 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
80830 recently added interfaces.
80831 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
80832
80833 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
80834 about macro parameter expansion.
80835
80836 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
80837 __NO_MATH_INLINES is defined. Cleanups.
80838
80839 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
80840 and __floorf is target has SSE4.1.
80841 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
80842 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
80843 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
80844 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
80845
80846 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
80847 name.
80848 (floorf): Likewise.
80849
80850 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
80851
80852 2011-10-17 Andreas Schwab <schwab@redhat.com>
80853
80854 * misc/sys/cdefs.h: Fix last change.
80855
80856 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
80857 database lookup.
80858
80859 2011-10-16 Ulrich Drepper <drepper@gmail.com>
80860
80861 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
80862
80863 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
80864 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80865 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80866 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80867 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80868 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80869 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80870 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80871 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80872 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
80873 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
80874 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
80875 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
80876 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
80877 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
80878 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
80879 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
80880 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
80881 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
80882 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
80883 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
80884 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
80885
80886 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
80887 ceil, ceilf, floor, floorf.
80888
80889 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
80890 Perform IRELATIVE relocations last.
80891
80892 * elf/do-rel.h: Add another parameter nrelative, replacing the
80893 local variable with the same name. Change name of the function
80894 to end in Rel or Rela (uppercase).
80895 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
80896 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
80897 elf_dynamic_do_##reloc function.
80898
80899 2011-10-15 Ulrich Drepper <drepper@gmail.com>
80900
80901 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
80902 is sufficient, at least on modern CPUs.
80903
80904 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
80905
80906 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
80907 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
80908
80909 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
80910 __expl_finite.
80911 * math/bits/math-finite.h: Add entries for exp.
80912 * math/e_expl.c: Add __*_finite alias.
80913 * sysdeps/i386/fpu/e_exp.S: Likewise.
80914 * sysdeps/i386/fpu/e_expf.S: Likewise.
80915 * sysdeps/i386/fpu/e_expl.c: Likewise.
80916 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80917 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80918 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
80919 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
80920 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
80921 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80922 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80923
80924 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
80925 is sufficient, at least on modern CPUs.
80926
80927 * ctype/ctype-info.c (__ctype_init): Define.
80928 * include/ctype.h (__ctype_init): Declare.
80929 (__ctype_b_loc): The variable is always initialized.
80930 (__ctype_toupper_loc): Likewise.
80931 (__ctype_tolower_loc): Likewise.
80932 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
80933 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
80934
80935 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
80936
80937 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
80938
80939 * configure.in: Also look in $cxxmachine/include for C++ system
80940 headers.
80941
80942 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80943
80944 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
80945 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
80946 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
80947 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
80948 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
80949 (USE_AS_WMEMCMP): New macro.
80950 Fixing indents.
80951 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
80952 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
80953 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
80954 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
80955 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80956 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
80957 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
80958 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
80959 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
80960 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
80961 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
80962 (USE_AS_WMEMCMP): New macro.
80963 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
80964 * sysdeps/string/test-memcmp.c: Update.
80965 Fix simple_wmemcmp.
80966 Add new tests.
80967 * wcsmbs/wmemcmp.c: Update.
80968 (WMEMCMP): New macro.
80969 Fix overflow bug.
80970
80971 2011-10-12 Andreas Jaeger <aj@suse.de>
80972
80973 [BZ #13268]
80974 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
80975
80976 2011-10-15 Ulrich Drepper <drepper@gmail.com>
80977
80978 * libio/iofwide.c (do_length): Avoid warning.
80979
80980 * ctype/ctype.h (__isctype_f): Add missing __THROW.
80981
80982 2011-10-14 Ulrich Drepper <drepper@gmail.com>
80983
80984 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
80985
80986 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
80987 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
80988 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
80989 * sysdeps/i386/i686/fpu/e_log.S: New file.
80990 * sysdeps/i386/i686/fpu/e_logf.S: New file.
80991 * sysdeps/i386/i686/fpu/e_logl.S: New file.
80992
80993 * ctype/ctype.h: Add support for inlined isXXX functions when
80994 compiling C++ code.
80995
80996 2011-10-14 Andreas Schwab <schwab@redhat.com>
80997
80998 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80999
81000 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
81001
81002 2011-10-13 Roland McGrath <roland@hack.frob.com>
81003
81004 [BZ #13291]
81005 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
81006
81007 2011-10-13 Andreas Schwab <schwab@redhat.com>
81008
81009 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
81010 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
81011 feraiseexcept.
81012
81013 * sysdeps/x86_64/memrchr.S: Check for zero size.
81014
81015 * string/stratcliff.c: Add memrchr tests.
81016
81017 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81018
81019 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81020 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
81021 rawmemchr-sse2 rawmemchr-sse2-bsf.
81022 * sysdeps/i386/i686/multiarch/memchr.S: New file.
81023 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
81024 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
81025 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
81026 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
81027 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
81028 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
81029 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
81030 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
81031 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
81032 * string/memrchr.c (MEMRCHR): New macro.
81033
81034 2011-10-12 Ulrich Drepper <drepper@gmail.com>
81035
81036 Add integration with gcc's -ffinite-math-only and optimize wrapper
81037 functions in libm.
81038 * Versions.def: Define GLIBC_2.15 version for libm.
81039 * math/Makefile (headers): Add bits/math-finite.h.
81040 * math/bits/math-finite.h: New file.
81041 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
81042 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
81043 * math/e_acoshl.c: Add __*_finite alias.
81044 * math/e_acosl.c: Likewise.
81045 * math/e_asinl.c: Likewise.
81046 * math/e_atan2l.c: Likewise.
81047 * math/e_atanhl.c: Likewise.
81048 * math/e_coshl.c: Likewise.
81049 * math/e_exp10.c: Likewise.
81050 * math/e_exp10f.c: Likewise.
81051 * math/e_exp10l.c: Likewise.
81052 * math/e_exp2l.c: Likewise.
81053 * math/e_fmodl.c: Likewise.
81054 * math/e_gammal_r.c: Likewise.
81055 * math/e_hypotl.c: Likewise.
81056 * math/e_j0l.c: Likewise.
81057 * math/e_j1l.c: Likewise.
81058 * math/e_jnl.c: Likewise.
81059 * math/e_lgammal_r.c: Likewise.
81060 * math/e_log10l.c: Likewise.
81061 * math/e_log2l.c: Likewise.
81062 * math/e_logl.c: Likewise.
81063 * math/e_powl.c: Likewise.
81064 * math/e_sinhl.c: Likewise.
81065 * math/e_sqrtl.c: Likewise.
81066 * math/e_scalb.c: Completely rewritten and optimized.
81067 * math/e_scalbf.c: Likewise.
81068 * math/e_scalbl.c: Likewise.
81069 * math/w_acos.c: Likewise.
81070 * math/w_acosf.c: Likewise.
81071 * math/w_acosl.c: Likewise.
81072 * math/w_acosh.c: Likewise.
81073 * math/w_acoshf.c: Likewise.
81074 * math/w_acoshl.c: Likewise.
81075 * math/w_asin.c: Likewise.
81076 * math/w_asinf.c: Likewise.
81077 * math/w_asinl.c: Likewise.
81078 * math/w_atan2.c: Likewise.
81079 * math/w_atan2f.c: Likewise.
81080 * math/w_atan2l.c: Likewise.
81081 * math/w_atanh.c: Likewise.
81082 * math/w_atanhf.c: Likewise.
81083 * math/w_atanhl.c: Likewise.
81084 * math/w_exp10.c: Likewise.
81085 * math/w_exp10f.c: Likewise.
81086 * math/w_exp10l.c: Likewise.
81087 * math/w_fmod.c: Likewise.
81088 * math/w_fmodf.c: Likewise.
81089 * math/w_fmodl.c: Likewise.
81090 * math/w_j0.c: Likewise.
81091 * math/w_j0f.c: Likewise.
81092 * math/w_j0l.c: Likewise.
81093 * math/w_j1.c: Likewise.
81094 * math/w_j1f.c: Likewise.
81095 * math/w_j1l.c: Likewise.
81096 * math/w_jn.c: Likewise.
81097 * math/w_jnf.c: Likewise.
81098 * math/w_log.c: Likewise.
81099 * math/w_logf.c: Likewise.
81100 * math/w_logl.c: Likewise.
81101 * math/w_log10.c: Likewise.
81102 * math/w_log10f.c: Likewise.
81103 * math/w_log10l.c: Likewise.
81104 * math/w_log2.c: Likewise.
81105 * math/w_log2f.c: Likewise.
81106 * math/w_log2l.c: Likewise.
81107 * math/w_pow.c: Likewise.
81108 * math/w_powf.c: Likewise.
81109 * math/w_powl.c: Likewise.
81110 * math/w_remainder.c: Likewise.
81111 * math/w_remainderf.c: Likewise.
81112 * math/w_remainderl.c: Likewise.
81113 * math/w_scalb.c: Likewise.
81114 * math/w_scalbf.c: Likewise.
81115 * math/w_scalbl.c: Likewise.
81116 * math/w_sqrt.c: Likewise.
81117 * math/w_sqrtf.c: Likewise.
81118 * math/w_sqrtl.c: Likewise.
81119 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
81120 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
81121 used.
81122 * math/math_private.h: Declare __kernel_standard_f.
81123 * math/w_cosh.c: Remove cruft and optimize a bit.
81124 * math/w_coshf.c: Likewise.
81125 * math/w_coshl.c: Likewise.
81126 * math/w_exp2.c: Likewise.
81127 * math/w_exp2f.c: Likewise.
81128 * math/w_exp2l.c: Likewise.
81129 * math/w_hypot.c: Likewise.
81130 * math/w_hypotf.c: Likewise.
81131 * math/w_hypotl.c: Likewise.
81132 * math/w_lgamma.c: Likewise.
81133 * math/w_lgamma_r.c: Likewise.
81134 * math/w_lgammaf.c: Likewise.
81135 * math/w_lgammaf_r.c: Likewise.
81136 * math/w_lgammal.c: Likewise.
81137 * math/w_lgammal_r.c: Likewise.
81138 * math/w_sinh.c: Likewise.
81139 * math/w_sinhf.c: Likewise.
81140 * math/w_sinhl.c: Likewise.
81141 * math/w_tgamma.c: Likewise.
81142 * math/w_tgammaf.c: Likewise.
81143 * math/w_tgammal.c: Likewise.
81144 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
81145 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81146 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
81147 Minor optimizations. Pretty printing. Remove cruft.
81148 * sysdeps/i386/fpu/e_acosf.S: Likewise.
81149 * sysdeps/i386/fpu/e_acosh.S: Likewise.
81150 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
81151 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
81152 * sysdeps/i386/fpu/e_acosl.c: Likewise.
81153 * sysdeps/i386/fpu/e_asin.S: Likewise.
81154 * sysdeps/i386/fpu/e_asinf.S: Likewise.
81155 * sysdeps/i386/fpu/e_atan2.S: Likewise.
81156 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
81157 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
81158 * sysdeps/i386/fpu/e_atanh.S: Likewise.
81159 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
81160 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
81161 * sysdeps/i386/fpu/e_exp10.S: Likewise.
81162 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
81163 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
81164 * sysdeps/i386/fpu/e_exp2.S: Likewise.
81165 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
81166 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
81167 * sysdeps/i386/fpu/e_fmod.S: Likewise.
81168 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
81169 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
81170 * sysdeps/i386/fpu/e_hypot.S: Likewise.
81171 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
81172 * sysdeps/i386/fpu/e_log.S: Likewise.
81173 * sysdeps/i386/fpu/e_log10.S: Likewise.
81174 * sysdeps/i386/fpu/e_log10f.S: Likewise.
81175 * sysdeps/i386/fpu/e_log10l.S: Likewise.
81176 * sysdeps/i386/fpu/e_log2.S: Likewise.
81177 * sysdeps/i386/fpu/e_log2f.S: Likewise.
81178 * sysdeps/i386/fpu/e_log2l.S: Likewise.
81179 * sysdeps/i386/fpu/e_logf.S: Likewise.
81180 * sysdeps/i386/fpu/e_logl.S: Likewise.
81181 * sysdeps/i386/fpu/e_pow.S: Likewise.
81182 * sysdeps/i386/fpu/e_powf.S: Likewise.
81183 * sysdeps/i386/fpu/e_powl.S: Likewise.
81184 * sysdeps/i386/fpu/e_remainder.S: Likewise.
81185 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
81186 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
81187 * sysdeps/i386/fpu/e_scalb.S: Likewise.
81188 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
81189 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
81190 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
81191 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
81192 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
81193 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
81194 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
81195 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81196 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
81197 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
81198 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
81199 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
81200 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
81201 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
81202 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
81203 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
81204 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
81205 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81206 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
81207 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
81208 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81209 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
81210 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
81211 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
81212 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81213 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
81214 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
81215 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
81216 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
81217 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
81218 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
81219 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
81220 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
81221 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
81222 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
81223 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
81224 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
81225 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81226 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
81227 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
81228 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
81229 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
81230 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
81231 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
81232 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
81233 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
81234 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
81235 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
81236 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
81237 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
81238 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
81239 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
81240 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
81241 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
81242 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
81243 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
81244 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
81245 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
81246 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81247 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
81248 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
81249 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
81250 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
81251 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
81252 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
81253 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
81254 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
81255 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81256 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81257 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
81258 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
81259 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
81260 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
81261 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
81262 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
81263 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
81264 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
81265 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
81266 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
81267 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
81268 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81269 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
81270 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
81271 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81272 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
81273 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
81274 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
81275 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
81276 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81277 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
81278 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
81279 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81280 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
81281 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
81282 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
81283 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81284 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
81285 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
81286 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
81287 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
81288 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
81289 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
81290 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
81291 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
81292 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
81293 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
81294 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
81295 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
81296 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
81297 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
81298 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
81299 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
81300 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81301 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
81302 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
81303 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
81304 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
81305 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
81306 (__isnanf): Likewise.
81307 (__isinf_ns): Likewise.
81308 (__isinf_nsf): Likewise.
81309 (__finite): Likewise.
81310 (__finitef): Likewise.
81311 (__ieee754_sqrt): Define as macro.
81312 (__ieee754_sqrtf): Define as macro.
81313 (__ieee754_sqrtl): Define as macro.
81314 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
81315 inlined copy.
81316 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
81317 __FINITE_MATH_ONLY__ consistent.
81318 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
81319
81320 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
81321
81322 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
81323 of rawmemchr.
81324
81325 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
81326
81327 2011-10-09 Ulrich Drepper <drepper@gmail.com>
81328
81329 * po/ja.po: Update from translation team.
81330
81331 2011-10-08 Roland McGrath <roland@hack.frob.com>
81332
81333 * locale/programs/locarchive.c (prepare_address_space): New function.
81334 (create_archive, enlarge_archive, open_archive): Use it.
81335
81336 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
81337 inside [SHARED], where it is used.
81338
81339 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
81340
81341 * nss/getent.c (netgroup_keys): Remove unused variable.
81342 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
81343
81344 2011-10-08 Ulrich Drepper <drepper@gmail.com>
81345
81346 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
81347 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
81348 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
81349 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
81350 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
81351 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
81352 * math/Makefile (libm-calls): Add s_isinf_ns.
81353 * math/divtc3.c: Use __isinf_nsl instead of isinf.
81354 * math/multc3.c: Likewise.
81355 * math/s_casin.c: Likewise.
81356 * math/s_casinf.c: Likewise.
81357 * math/s_casinl.c: Likewise.
81358 * math/s_ccos.c: Likewise.
81359 * math/s_ccosf.c: Likewise.
81360 * math/s_ccosl.c: Likewise.
81361 * math/s_ctan.c: Likewise.
81362 * math/s_ctanf.c: Likewise.
81363 * math/s_ctanh.c: Likewise.
81364 * math/s_ctanhf.c: Likewise.
81365 * math/s_ctanhl.c: Likewise.
81366 * math/s_ctanl.c: Likewise.
81367 * math/w_fmod.c: Likewise.
81368 * math/w_fmodf.c: Likewise.
81369 * math/w_fmodl.c: Likewise.
81370 * math/w_remainder.c: Likewise.
81371 * math/w_remainderf.c: Likewise.
81372 * math/w_remainderl.c: Likewise.
81373 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
81374 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
81375 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
81376 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
81377 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
81378 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
81379 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
81380 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
81381
81382 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
81383 of the number.
81384 * stdio-common/printf_fphex.c: Likewise.
81385 * stdio-common/printf_size.c: Likewise.
81386
81387 * math/e_exp10.c: Include math_private.h using <...> not "...".
81388 * math/e_exp10f.c: Likewise.
81389 * math/e_exp10l.c: Likewise.
81390 * math/e_exp2l.c: Likewise.
81391 * math/e_j0l.c: Likewise.
81392 * math/e_j1l.c: Likewise.
81393 * math/e_jnl.c: Likewise.
81394 * math/e_lgammal_r.c: Likewise.
81395 * math/e_rem_pio2l.c: Likewise.
81396 * math/e_scalb.c: Likewise.
81397 * math/e_scalbf.c: Likewise.
81398 * math/e_scalbl.c: Likewise.
81399 * math/k_cosl.c: Likewise.
81400 * math/k_sinl.c: Likewise.
81401 * math/k_tanl.c: Likewise.
81402 * math/s_cacoshf.c: Likewise.
81403 * math/s_catan.c: Likewise.
81404 * math/s_catanf.c: Likewise.
81405 * math/s_catanh.c: Likewise.
81406 * math/s_catanhf.c: Likewise.
81407 * math/s_catanhl.c: Likewise.
81408 * math/s_catanl.c: Likewise.
81409 * math/s_ccosh.c: Likewise.
81410 * math/s_ccoshf.c: Likewise.
81411 * math/s_ccoshl.c: Likewise.
81412 * math/s_cexp.c: Likewise.
81413 * math/s_cexpf.c: Likewise.
81414 * math/s_cexpl.c: Likewise.
81415 * math/s_clog.c: Likewise.
81416 * math/s_clog10.c: Likewise.
81417 * math/s_clog10f.c: Likewise.
81418 * math/s_clog10l.c: Likewise.
81419 * math/s_clogf.c: Likewise.
81420 * math/s_clogl.c: Likewise.
81421 * math/s_csin.c: Likewise.
81422 * math/s_csinf.c: Likewise.
81423 * math/s_csinh.c: Likewise.
81424 * math/s_csinhf.c: Likewise.
81425 * math/s_csinhl.c: Likewise.
81426 * math/s_csinl.c: Likewise.
81427 * math/s_csqrt.c: Likewise.
81428 * math/s_csqrtf.c: Likewise.
81429 * math/s_csqrtl.c: Likewise.
81430 * math/s_ctan.c: Likewise.
81431 * math/s_ctanf.c: Likewise.
81432 * math/s_ctanh.c: Likewise.
81433 * math/s_ctanhf.c: Likewise.
81434 * math/s_ctanhl.c: Likewise.
81435 * math/s_ctanl.c: Likewise.
81436 * math/s_ldexp.c: Likewise.
81437 * math/s_ldexpf.c: Likewise.
81438 * math/s_ldexpl.c: Likewise.
81439 * math/s_significand.c: Likewise.
81440 * math/s_significandf.c: Likewise.
81441 * math/s_significandl.c: Likewise.
81442 * math/w_acos.c: Likewise.
81443 * math/w_acosf.c: Likewise.
81444 * math/w_acosh.c: Likewise.
81445 * math/w_acoshf.c: Likewise.
81446 * math/w_acoshl.c: Likewise.
81447 * math/w_acosl.c: Likewise.
81448 * math/w_asin.c: Likewise.
81449 * math/w_asinf.c: Likewise.
81450 * math/w_asinl.c: Likewise.
81451 * math/w_atan2.c: Likewise.
81452 * math/w_atan2f.c: Likewise.
81453 * math/w_atan2l.c: Likewise.
81454 * math/w_atanh.c: Likewise.
81455 * math/w_atanhf.c: Likewise.
81456 * math/w_atanhl.c: Likewise.
81457 * math/w_cosh.c: Likewise.
81458 * math/w_coshf.c: Likewise.
81459 * math/w_coshl.c: Likewise.
81460 * math/w_dremf.c: Likewise.
81461 * math/w_exp10.c: Likewise.
81462 * math/w_exp10f.c: Likewise.
81463 * math/w_exp10l.c: Likewise.
81464 * math/w_exp2.c: Likewise.
81465 * math/w_exp2f.c: Likewise.
81466 * math/w_fmod.c: Likewise.
81467 * math/w_fmodf.c: Likewise.
81468 * math/w_fmodl.c: Likewise.
81469 * math/w_hypot.c: Likewise.
81470 * math/w_hypotf.c: Likewise.
81471 * math/w_hypotl.c: Likewise.
81472 * math/w_j0.c: Likewise.
81473 * math/w_j0f.c: Likewise.
81474 * math/w_j0l.c: Likewise.
81475 * math/w_j1.c: Likewise.
81476 * math/w_j1f.c: Likewise.
81477 * math/w_j1l.c: Likewise.
81478 * math/w_jn.c: Likewise.
81479 * math/w_jnf.c: Likewise.
81480 * math/w_jnl.c: Likewise.
81481 * math/w_lgamma.c: Likewise.
81482 * math/w_lgamma_r.c: Likewise.
81483 * math/w_lgammaf.c: Likewise.
81484 * math/w_lgammaf_r.c: Likewise.
81485 * math/w_lgammal.c: Likewise.
81486 * math/w_lgammal_r.c: Likewise.
81487 * math/w_log.c: Likewise.
81488 * math/w_log10.c: Likewise.
81489 * math/w_log10f.c: Likewise.
81490 * math/w_log10l.c: Likewise.
81491 * math/w_log2.c: Likewise.
81492 * math/w_log2f.c: Likewise.
81493 * math/w_log2l.c: Likewise.
81494 * math/w_logf.c: Likewise.
81495 * math/w_logl.c: Likewise.
81496 * math/w_pow.c: Likewise.
81497 * math/w_powf.c: Likewise.
81498 * math/w_powl.c: Likewise.
81499 * math/w_remainder.c: Likewise.
81500 * math/w_remainderf.c: Likewise.
81501 * math/w_remainderl.c: Likewise.
81502 * math/w_scalb.c: Likewise.
81503 * math/w_scalbf.c: Likewise.
81504 * math/w_scalbl.c: Likewise.
81505 * math/w_sinh.c: Likewise.
81506 * math/w_sinhf.c: Likewise.
81507 * math/w_sinhl.c: Likewise.
81508 * math/w_sqrt.c: Likewise.
81509 * math/w_sqrtf.c: Likewise.
81510 * math/w_sqrtl.c: Likewise.
81511 * math/w_tgamma.c: Likewise.
81512 * math/w_tgammaf.c: Likewise.
81513 * math/w_tgammal.c: Likewise.
81514
81515 * po/ja.po: Update from translation team.
81516
81517 2011-09-29 Andreas Jaeger <aj@suse.de>
81518
81519 [BZ #13179]
81520 * sunrpc/netname.c (netname2host): Fix logic.
81521
81522 [BZ #6779]
81523 [BZ #6783]
81524 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
81525 correctly.
81526 * math/w_remainder.c (__remainder): Likewise.
81527 * math/w_remainderf.c (__remainderf): Likewise.
81528 * math/libm-test.inc (remainder_test): Add test cases.
81529
81530 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
81531
81532 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
81533 sdiv_qrnnd.
81534
81535 2011-10-07 Ulrich Drepper <drepper@gmail.com>
81536
81537 * string/test-memcmp.c: Avoid unncessary #defines.
81538 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
81539
81540 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81541
81542 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
81543 Use new sse2 version for core i3 - i7 as it's faster
81544 than sse42 version.
81545 (bit_Prefer_PMINUB_for_stringop): New.
81546 * sysdeps/x86_64/rawmemchr.S: Update.
81547 Replace with faster SSE2 version.
81548 * sysdeps/x86_64/memrchr.S: New file.
81549 * sysdeps/x86_64/memchr.S: Update.
81550 Replace with faster SSE2 version.
81551
81552 2011-09-12 Marek Polacek <mpolacek@redhat.com>
81553
81554 * elf/dl-load.c (lose): Add cast to avoid warning.
81555
81556 2011-10-07 Ulrich Drepper <drepper@gmail.com>
81557
81558 * po/ca.po: Update from translation team.
81559
81560 * inet/getnetgrent_r.c: Hook up nscd.
81561 * nscd/Makefile (routines): Add nscd_netgroup.
81562 (nscd-modules): Add netgroupcache.
81563 (CFLAGS-netgroupcache.c): Define.
81564 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
81565 (cache_search): Add const to second parameter.
81566 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
81567 INNETGR.
81568 (dbs): Add netgrdb entry.
81569 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
81570 (verify_persistent_db): Handle netgrdb.
81571 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
81572 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
81573 GETFDNETGR.
81574 (netgroup_response_header): Define.
81575 (innetgroup_response_header): Define.
81576 (datahead): Add netgroup_response_header and innetgroup_response_header
81577 elements.
81578 * nscd/nscd.conf: Add entries for netgroup cache.
81579 * nscd/nscd.h (dbtype): Add netgrdb.
81580 (_PATH_NSCD_NETGROUP_DB): Define.
81581 (netgroup_iov_disabled): Declare.
81582 (xmalloc, xcalloc, xrealloc): Move declarations here.
81583 (cache_search): Adjust prototype.
81584 Add netgroup-related prototypes.
81585 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
81586 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
81587 (__nscd_innetgr): Declare.
81588 * nscd/selinux.c (perms): Use access_vector_t as element type and
81589 add netgroup-related initializers.
81590 * nscd/netgroupcache.c: New file.
81591 * nscd/nscd_netgroup.c: New file.
81592 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
81593 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
81594 For four parameters use innetgr.
81595 * nss/nss_files/files-init.c: Add definition and callback for netgr.
81596 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
81597 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
81598 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
81599
81600 * nscd/connections.c (register_traced_file): Don't register file
81601 for disabled databases.
81602
81603 2011-10-06 Ulrich Drepper <drepper@gmail.com>
81604
81605 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
81606
81607 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
81608 from tree and freeing node.
81609
81610 2011-09-25 Jiri Olsa <jolsa@redhat.com>
81611
81612 * nss/nsswitch.c (__nss_database_lookup): Handle
81613 nss_parse_service_list out of memory case.
81614
81615 2011-09-15 Jiri Olsa <jolsa@redhat.com>
81616
81617 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
81618 out of memory case.
81619
81620 2011-10-04 Andreas Schwab <schwab@redhat.com>
81621
81622 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
81623 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
81624 pass it down.
81625 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
81626 elf_machine_rela, elf_machine_lazy_rel.
81627 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
81628 (ELF_DYNAMIC_DO_REL): Likewise.
81629 (ELF_DYNAMIC_DO_RELA): Likewise.
81630 (ELF_DYNAMIC_RELOCATE): Likewise.
81631 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
81632 to ELF_DYNAMIC_DO_REL.
81633 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
81634 (dl_main): In trace mode always set __RTLD_NOIFUNC.
81635 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
81636 elf_machine_rela.
81637 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
81638 skip_ifunc, don't call ifunc function if non-zero.
81639 (elf_machine_rela): Likewise.
81640 (elf_machine_lazy_rel): Likewise.
81641 (elf_machine_lazy_rela): Likewise.
81642 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
81643 (elf_machine_lazy_rel): Likewise.
81644 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
81645 Likewise.
81646 (elf_machine_lazy_rel): Likewise.
81647 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81648 Likewise.
81649 (elf_machine_lazy_rel): Likewise.
81650 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
81651 (elf_machine_lazy_rel): Likewise.
81652 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
81653 (elf_machine_lazy_rel): Likewise.
81654 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
81655 (elf_machine_lazy_rel): Likewise.
81656 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
81657 (elf_machine_lazy_rel): Likewise.
81658 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
81659 (elf_machine_lazy_rel): Likewise.
81660 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
81661 (elf_machine_lazy_rel): Likewise.
81662
81663 2011-09-28 Ulrich Drepper <drepper@gmail.com>
81664
81665 * nss/nss_files/files-init.c (_nss_files_init): Use static
81666 initialization for all the *_traced_file variables.
81667
81668 2011-09-28 Andreas Schwab <schwab@redhat.com>
81669
81670 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81671
81672 2011-09-27 Roland McGrath <roland@hack.frob.com>
81673
81674 [BZ #13226]
81675 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
81676
81677 2011-09-27 Andreas Schwab <schwab@redhat.com>
81678
81679 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81680 Reread the line before reparsing it.
81681
81682 2011-09-26 Andreas Schwab <schwab@redhat.com>
81683
81684 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
81685
81686 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
81687 Maxim Kuvyrkov <maxim@codesourcery.com>
81688 Joseph Myers <joseph@codesourcery.com>
81689
81690 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
81691 if needed for __stack_chk_guard.
81692
81693 2011-09-19 Roland McGrath <roland@hack.frob.com>
81694
81695 * sysdeps/posix/spawni.c (script_execute): Always define it.
81696 It will be optimized away if unused.
81697 (maybe_script_execute): New function.
81698 (__spawni): Call it.
81699
81700 * Makerules: Don't include tls.make.
81701 (config-tls): Always set to thread.
81702 * tls.make.c: File removed.
81703
81704 2011-09-19 Mike Frysinger <vapier@gentoo.org>
81705
81706 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
81707 * config.make.in (CPPFLAGS-config): New substituted variable.
81708
81709 2011-09-15 Ulrich Drepper <drepper@gmail.com>
81710
81711 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
81712
81713 [BZ #13192]
81714 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
81715 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
81716
81717 2011-09-15 Roland McGrath <roland@hack.frob.com>
81718
81719 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
81720 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
81721 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
81722 (CALL_FAIL): Likewise.
81723 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
81724 (CALL_FAIL): Macro removed.
81725 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
81726
81727 2011-09-15 Ulrich Drepper <drepper@gmail.com>
81728
81729 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
81730 for __FINITE_MATH_ONLY__ == 1.
81731
81732 2011-09-15 Andreas Schwab <schwab@redhat.com>
81733
81734 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
81735 __ieee754_sqrt instead of sqrt.
81736 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
81737 __ieee754_sqrtf instead of sqrtf.
81738 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
81739 __floorf instead of floorf.
81740 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
81741 __floorf, __truncf instead of floorf, truncf.
81742
81743 2011-09-14 Ulrich Drepper <drepper@gmail.com>
81744
81745 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
81746
81747 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
81748 __extern_always_inline.
81749 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
81750 32-bit.
81751
81752 2011-09-14 Andreas Schwab <schwab@redhat.com>
81753
81754 * elf/rtld.c (dl_main): Also relocate in dependency order when
81755 doing symbol dependency testing.
81756
81757 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
81758
81759 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81760 Always define `refsym'.
81761
81762 2011-09-13 Andreas Schwab <schwab@redhat.com>
81763
81764 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
81765 (__FD_ELT): Renamed from __FDELT.
81766 * misc/bits/select2.h (__FD_ELT): Likewise.
81767 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
81768 __FD_MASK instead of __FDELT, __FDMASK.
81769 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81770 Likewise.
81771 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81772 Likewise.
81773
81774 * elf/Makefile (gen-ldd): Fix pattern.
81775
81776 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
81777 (init_tls): Likewise.
81778
81779 2011-09-12 Ulrich Drepper <drepper@gmail.com>
81780
81781 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
81782
81783 2011-09-12 Andreas Schwab <schwab@redhat.com>
81784
81785 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
81786 `struct cmsghdr *' instead of `void *'.
81787 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
81788 Likewise.
81789
81790 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
81791
81792 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
81793 if non-absolute.
81794 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
81795 ldd_rewrite_script.
81796
81797 2011-09-11 Ulrich Drepper <drepper@gmail.com>
81798
81799 * configure.in: Remove --with-tls option.
81800 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
81801 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
81802 out in case it is missing.
81803 * sysdeps/ia64/elf/configure.in: Likewise.
81804 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
81805 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
81806 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
81807 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
81808 * sysdeps/sh/elf/configure.in: Likewise.
81809 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
81810 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
81811 * sysdeps/x86_64/elf/configure.in: Likewise.
81812 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
81813 * sysdeps/mach/hurd/tls.h: Likewise.
81814
81815 [BZ #13067]
81816 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
81817
81818 [BZ #13090]
81819 * configure.in: Fix use of AC_INIT.
81820
81821 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
81822
81823 2011-09-10 Ulrich Drepper <drepper@gmail.com>
81824
81825 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
81826 __set_errno.
81827 * malloc/hooks.c: Likewise.
81828
81829 [BZ #11929]
81830 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
81831 variables statically.
81832 (narenas): Initialize.
81833 (list_lock): Initialize.
81834 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
81835 initializtion of main_arena and list_lock. Small cleanups.
81836 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
81837 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
81838 Add initializers to main_arena and mp_.
81839 (malloc_state): Remove pagesize member. Change all users to use
81840 GLRO(dl_pagesize).
81841
81842 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
81843 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
81844 is always initialized.
81845
81846 * malloc/malloc.c: Removed unused configurations and dead code.
81847 * malloc/arena.c: Likewise.
81848 * malloc/hooks.c: Likewise.
81849 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
81850
81851 * include/tls.h: Removed. USE___THREAD must always be defined.
81852 * bits/libc-tsd.h: Don't handle !USE___THREAD.
81853 * elf/dl-libc.c: Likewise.
81854 * elf/dl-tsd.c: Likewise.
81855 * include/errno.h: Likewise.
81856 * include/netdb.h: Likewise.
81857 * include/resolv.h: Likewise.
81858 * inet/herrno-loc.c: Likewise.
81859 * inet/herrno.c: Likewise.
81860 * malloc/arena.c: Likewise.
81861 * malloc/hooks.c: Likewise.
81862 * malloc/malloc.c: Likewise.
81863 * resolv/res-state.c: Likewise.
81864 * resolv/res_libc.c: Likewise.
81865 * sysdeps/i386/dl-machine.h: Likewise.
81866 * sysdeps/ia64/dl-machine.h: Likewise.
81867 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
81868 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
81869 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
81870 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
81871 * sysdeps/sh/dl-machine.h: Likewise.
81872 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81873 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81874 * sysdeps/unix/i386/sysdep.S: Likewise.
81875 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
81876 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
81877 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
81878 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
81879 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
81880 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
81881 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
81882 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81883 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81884 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
81885 * sysdeps/unix/x86_64/sysdep.S: Likewise.
81886 * sysdeps/x86_64/dl-machine.h: Likewise.
81887 * tls.make.c: Likewise.
81888
81889 * configure.in: Remove --with-__thread option. Make tests for
81890 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
81891 tls_model attribute fail if no support is available. Remove
81892 USE_IN_LIBIO.
81893 * Makeconfig: Adjust for dropped configure option. All features are
81894 now mandatory.
81895 * Makerules: Likewise.
81896 * Versions.def: Likewise.
81897 * argp/argp-fmtstream.c: Likewise.
81898 * argp/argp-fmtstream.h: Likewise.
81899 * argp/argp-help.c: Likewise.
81900 * assert/assert.c: Likewise.
81901 * config.h.in: Likewise.
81902 * config.make.in: Likewise.
81903 * configure: Likewise.
81904 * configure.in: Likewise.
81905 * csu/Versions: Likewise.
81906 * csu/init.c: Likewise.
81907 * elf/tst-audit2.c: Likewise.
81908 * elf/tst-tls10.c: Likewise.
81909 * elf/tst-tls10.h: Likewise.
81910 * elf/tst-tls11.c: Likewise.
81911 * elf/tst-tls12.c: Likewise.
81912 * elf/tst-tls14.c: Likewise.
81913 * elf/tst-tlsmod11.c: Likewise.
81914 * elf/tst-tlsmod12.c: Likewise.
81915 * elf/tst-tlsmod13.c: Likewise.
81916 * elf/tst-tlsmod13a.c: Likewise.
81917 * elf/tst-tlsmod14a.c: Likewise.
81918 * elf/tst-tlsmod15b.c: Likewise.
81919 * elf/tst-tlsmod16a.c: Likewise.
81920 * elf/tst-tlsmod16b.c: Likewise.
81921 * elf/tst-tlsmod7.c: Likewise.
81922 * elf/tst-tlsmod8.c: Likewise.
81923 * elf/tst-tlsmod9.c: Likewise.
81924 * gmon/gmon.c: Likewise.
81925 * grp/fgetgrent_r.c: Likewise.
81926 * grp/putgrent.c: Likewise.
81927 * hurd/fopenport.c: Likewise.
81928 * include/libc-symbols.h: Likewise.
81929 * include/tls.h: Likewise.
81930 * intl/gettextP.h: Likewise.
81931 * intl/loadinfo.h: Likewise.
81932 * locale/global-locale.c: Likewise.
81933 * locale/localeinfo.h: Likewise.
81934 * mach/devstream.c: Likewise.
81935 * malloc/arena.c: Likewise.
81936 * malloc/set-freeres.c: Likewise.
81937 * misc/err.c: Likewise.
81938 * misc/getttyent.c: Likewise.
81939 * misc/mntent_r.c: Likewise.
81940 * posix/getopt.c: Likewise.
81941 * posix/wordexp.c: Likewise.
81942 * pwd/fgetpwent_r.c: Likewise.
81943 * resolv/Versions: Likewise.
81944 * resolv/res_hconf.c: Likewise.
81945 * shadow/fgetspent_r.c: Likewise.
81946 * shadow/putspent.c: Likewise.
81947 * stdio-common/printf_fphex.c: Likewise.
81948 * stdio-common/tmpfile.c: Likewise.
81949 * stdlib/abort.c: Likewise.
81950 * stdlib/fmtmsg.c: Likewise.
81951 * sunrpc/auth_unix.c: Likewise.
81952 * sunrpc/clnt_perr.c: Likewise.
81953 * sunrpc/clnt_tcp.c: Likewise.
81954 * sunrpc/clnt_udp.c: Likewise.
81955 * sunrpc/clnt_unix.c: Likewise.
81956 * sunrpc/openchild.c: Likewise.
81957 * sunrpc/svc_simple.c: Likewise.
81958 * sunrpc/svc_tcp.c: Likewise.
81959 * sunrpc/svc_udp.c: Likewise.
81960 * sunrpc/svc_unix.c: Likewise.
81961 * sunrpc/xdr.c: Likewise.
81962 * sunrpc/xdr_array.c: Likewise.
81963 * sunrpc/xdr_rec.c: Likewise.
81964 * sunrpc/xdr_ref.c: Likewise.
81965 * sunrpc/xdr_stdio.c: Likewise.
81966
81967 2011-09-09 Ulrich Drepper <drepper@gmail.com>
81968
81969 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81970
81971 2011-07-03 Andreas Jaeger <aj@suse.de>
81972
81973 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
81974 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
81975 regenerate with gen-libm-tests.pl.
81976
81977 2010-05-12 Petr Baudis <pasky@suse.cz>
81978
81979 [BZ #11589]
81980 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
81981 around j0() zero points by switching to j1().
81982 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81983 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81984 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81985 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81986
81987 2011-09-09 Ulrich Drepper <drepper@gmail.com>
81988
81989 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
81990 instead of 0.
81991 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
81992 instead of 0.
81993 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81994 Patch in part by Pavel Roskin <proski@gnu.org>.
81995
81996 [BZ #13138]
81997 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
81998 realloc.
81999 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
82000 Free memory block if necessary.
82001
82002 [BZ #12847]
82003 * libio/genops.c (INTDEF): For string streams the _lock pointer can
82004 be NULL. Don't lock in this case.
82005
82006 2011-09-09 Roland McGrath <roland@hack.frob.com>
82007
82008 * elf/elf.h (ELFOSABI_GNU): New macro.
82009 (ELFOSABI_LINUX): Define to that.
82010
82011 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
82012
82013 * string/strncat.c (strncat): Undef the symbol in case it has been
82014 defined in bits/string.h.
82015
82016 2011-09-09 Ulrich Drepper <drepper@gmail.com>
82017
82018 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
82019
82020 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
82021 link map.
82022
82023 2011-08-17 Andreas Jaeger <aj@suse.de>
82024
82025 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
82026
82027 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
82028 Ian Lance Taylor <iant@google.com>
82029
82030 * math/libm-test.inc (lround_test): New testcase.
82031 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
82032
82033 2011-09-08 Ulrich Drepper <drepper@gmail.com>
82034
82035 * Makefile: Remove support for automatic cvs check-ins.
82036 * Makerules: Likewise.
82037 * config.make.in: Likewise.
82038 * configure.in: Likewise.
82039 * intl/Makefile: Likewise.
82040 * locale/Makefile: Likewise.
82041 * po/Makefile: Likewise.
82042 * posix/Makefile: Likewise.
82043 * sysdeps/gnu/Makefile: Likewise.
82044 * sysdeps/mach/hurd/Makefile: Likewise.
82045 * sysdeps/sparc/sparc32/Makefile: Likewise.
82046
82047 [BZ #13118]
82048 * posix/Makefile (bug-regex32-ENV): Define.
82049 Patch by John Stanley <jpsinthemix@verizon.net>.
82050
82051 * misc/Makefile (headers): Add bits/select2.h.
82052 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
82053 * misc/bits/select2.h: New file.
82054 * include/bits/select2.h: New file.
82055 * debug/Makefile (routines): Add fdelt_chk.
82056 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
82057 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
82058 FD_ISSET.
82059 * debug/fdelt_chk.c: New file.
82060
82061 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
82062 * wcsmbs/test-wmemcmp.c: Likewise.
82063 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
82064 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
82065
82066 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82067
82068 * string/Makefile (strop-tests): Add memcmp.
82069 * string/test-wmemcmp.c: New file.
82070 * string/test-memcmp.c: Add wmemcmp support.
82071
82072 2011-09-08 Roland McGrath <roland@hack.frob.com>
82073
82074 [BZ #13153]
82075 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
82076 2011-07-19 change.
82077
82078 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
82079 garbage value in a __mach_port_mod_refs call in the cases of the
82080 task-self and thread-self ports.
82081
82082 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
82083
82084 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
82085
82086 2011-09-08 Andreas Schwab <schwab@redhat.com>
82087
82088 * elf/dl-load.c (lose): Check for non-null L.
82089
82090 2011-09-07 Ulrich Drepper <drepper@gmail.com>
82091
82092 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
82093
82094 * elf/dl-libc.c (dlerror_run): Pass back error code from
82095 dl_catch_error.
82096
82097 [BZ #13123]
82098 * elf/dl-load.c (lose): Free l_origin if it is valid.
82099
82100 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
82101 names.
82102 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
82103 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
82104 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
82105 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
82106 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
82107 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
82108
82109 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82110
82111 * sysdeps/powerpc/fpu/e_hypot.c: New file.
82112 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
82113 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
82114 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
82115 * sysdeps/powerpc/fpu/k_cosf.c: New file.
82116 * sysdeps/powerpc/fpu/k_sinf.c: New file.
82117 * sysdeps/powerpc/fpu/s_cosf.c: New file.
82118 * sysdeps/powerpc/fpu/s_sinf.c: New file.
82119 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
82120 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
82121
82122 2011-08-15 Alan Modra <amodra@gmail.com>
82123
82124 [BZ #13092]
82125 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
82126 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
82127 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
82128 ppc_mcount to static-only-routines.
82129 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
82130 __mcount_internal.
82131 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
82132 __mcount_internal with usual JUMPTARGET. Remove useless nop.
82133
82134 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
82135
82136 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
82137 for finite and infinity parameters.
82138
82139 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
82140
82141 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
82142 and add nop instructions for throughput optimization.
82143 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
82144
82145 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
82146
82147 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
82148 aligned copy for power7 with vector-scalar instructions.
82149 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
82150
82151 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
82152
82153 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
82154 AVX check.
82155
82156 2011-09-07 Andreas Schwab <schwab@redhat.com>
82157
82158 [BZ #13144]
82159 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
82160 last change.
82161
82162 2011-09-07 Ulrich Drepper <drepper@gmail.com>
82163
82164 * sysdeps/unix/sysv/linux/x86_64/init-first.c
82165 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
82166 syscall wrapper around clock_gettime in __vdso_clock_gettime.
82167 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
82168 clock_gettime.
82169
82170 2011-09-06 Ulrich Drepper <drepper@gmail.com>
82171
82172 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
82173 Forgot to demangle the pointer.
82174
82175 * sysdeps/i386/sysdep.h: Define atom_text_section.
82176 * sysdeps/x86_64/sysdep.h: Likewise.
82177 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
82178 section with atom_text_section.
82179 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
82180 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
82181 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
82182 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
82183 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
82184
82185 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
82186 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
82187 already be defined. Change to take two parameters and don't assign
82188 result to variable. Adjust all users.
82189 Define INTERNAL_GETTIME if not already defined.
82190 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
82191 call.
82192 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
82193 HAVE_CLOCK_GETTIME_VSYSCALL.
82194 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
82195
82196 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
82197 gettimeofday vsyscall, just use time.
82198
82199 2011-09-06 Andreas Schwab <schwab@redhat.com>
82200
82201 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
82202 <errno.h>.
82203
82204 2011-09-06 Ulrich Drepper <drepper@gmail.com>
82205
82206 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
82207 syscall on x86-64.
82208 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
82209 syscall.
82210 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
82211 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
82212 syscall if possible.
82213
82214 2011-09-05 Ulrich Drepper <drepper@gmail.com>
82215
82216 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
82217 e_ident. Don't pass to find_mapsXX.
82218 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
82219
82220 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82221
82222 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82223 strchr-sse2-no-bsf strrchr-sse2-no-bsf
82224 * sysdeps/x86_64/multiarch/strchr.S: Update.
82225 Check bit_slow_BSF bit.
82226 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
82227 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
82228 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
82229
82230 2011-09-05 Ulrich Drepper <drepper@gmail.com>
82231
82232 [BZ #13134]
82233 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
82234 before glibc 2.15.
82235 (tryshell): Define.
82236 (__spawni): Change last parameter to be flag. Test
82237 SPAWN_XFLAGS_USE_PATH flag to use path or not.
82238 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
82239 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
82240 * posix/spawni.c: Likewise.
82241 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
82242 * posix/spawnp.c: Likewise. Change normal version to use
82243 SPAWN_XFLAGS_USE_PATH.
82244 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
82245 SPAWN_XFLAGS_TRY_SHELL.
82246
82247 [BZ #13150]
82248 * posix/glob.h: Remove gcc 1.x support.
82249
82250 [BZ #13068]
82251 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
82252
82253 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82254
82255 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82256 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
82257 strrchr-sse2-bsf
82258 * sysdeps/i386/i686/multiarch/strchr.S: New file.
82259 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
82260 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
82261 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
82262 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
82263 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
82264
82265 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82266
82267 * sysdeps/x86_64/wcscmp.S: New file.
82268
82269 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
82270 wcscmp-c wcscmp-sse2
82271 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
82272 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
82273 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
82274 * wcsmbs/wcscmp.c: Allow renaming.
82275
82276 2011-09-05 David S. Miller <davem@davemloft.net>
82277
82278 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
82279 stack slot, rather than the struct return pointer slot.
82280 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
82281 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
82282 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
82283 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
82284
82285 2011-09-05 Ulrich Drepper <drepper@gmail.com>
82286
82287 * po/ja.po: Update from translation team.
82288
82289 [BZ #13144]
82290 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
82291 kernel in 64-bit binaries.
82292
82293 2011-09-01 David S. Miller <davem@davemloft.net>
82294
82295 * elf/elf.h (HWCAP_SPARC_*): Move to..
82296 * sysdeps/sparc/sysdep.h: this new file and add new values.
82297 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
82298 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
82299 _DL_HWCAP_COUNT to 24.
82300 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
82301 entries.
82302 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
82303 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
82304 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
82305 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
82306 instead of magic constants.
82307 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82308
82309 2011-08-31 David S. Miller <davem@davemloft.net>
82310
82311 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
82312 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
82313 Reimplement to do errno handling inline.
82314 (SYSCALL_ERROR_HANDLER): New macro.
82315 (__SYSCALL_STRING): Do not do errno handling in asm.
82316 (__CLONE_SYSCALL_STRING): Delete.
82317 (__INTERNAL_SYSCALL_STRING): Delete.
82318 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
82319 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
82320 (PSEUDO): Reimplement to do errno handling inline.
82321 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
82322 (SYSCALL_ERROR_HANDLER): New macro.
82323 (__SYSCALL_STRING): Do not do errno handling in asm.
82324 (__CLONE_SYSCALL_STRING): Delete.
82325 (__INTERNAL_SYSCALL_STRING): Delete.
82326 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
82327 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
82328 i386.
82329 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
82330 (inline_syscall*): Add 'err' argument.
82331 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
82332 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
82333 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
82334 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
82335
82336 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
82337 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
82338
82339 2011-08-30 Andreas Schwab <schwab@redhat.com>
82340
82341 * elf/rtld.c (dl_main): Relocate objects in dependency order.
82342
82343 2011-08-29 Jiri Olsa <jolsa@redhat.com>
82344
82345 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
82346 directive.
82347
82348 2011-08-24 David S. Miller <davem@davemloft.net>
82349
82350 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
82351
82352 2011-08-24 Andreas Schwab <schwab@redhat.com>
82353
82354 * elf/Makefile: Add rules to build and run unload8 test.
82355 * elf/unload8.c: New file.
82356 * elf/unload8mod1.c: New file.
82357 * elf/unload8mod1x.c: New file.
82358 * elf/unload8mod2.c: New file.
82359 * elf/unload8mod3.c: New file.
82360
82361 * elf/dl-close.c (_dl_close_worker): Reset private search list if
82362 it wasn't used.
82363
82364 2011-08-23 David S. Miller <davem@davemloft.net>
82365
82366 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
82367 subtract stack bias.
82368 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
82369 %sp not %fp in calculations.
82370 (_JMPBUF_UNWINDS_ADJ): Likewise.
82371
82372 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
82373 (aio_suspend): Call it to force an exception region around the
82374 AIO_MISC_WAIT() invocation.
82375
82376 2011-08-23 Andreas Schwab <schwab@redhat.com>
82377
82378 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
82379 backslash.
82380
82381 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
82382
82383 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
82384 protection macro.
82385 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
82386 and <dl-machine.h>.
82387 (Elf64_FuncDesc): Remove.
82388
82389 2011-08-22 David S. Miller <davem@davemloft.net>
82390
82391 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
82392 sigaltstack check, add missing cfi directives.
82393 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
82394 missing cfi directives, and sigaltstack handling.
82395
82396 2011-08-16 Andreas Schwab <schwab@redhat.com>
82397
82398 [BZ #11724]
82399 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
82400 object is seen twice.
82401 * elf/dl-fini.c (_dl_sort_fini): Likewise.
82402
82403 * elf/Makefile (distribute): Add tst-initorder2.c.
82404 (tests): Add tst-initorder2.
82405 (modules-names): Add tst-initorder2a tst-initorder2b
82406 tst-initorder2c tst-initorder2d. Add rules to build them.
82407 ($(objpfx)tst-initorder2.out): New rule.
82408 * elf/tst-initorder2.c: New file.
82409 * elf/tst-initorder2.exp: New file.
82410
82411 2011-08-22 Andreas Schwab <schwab@redhat.com>
82412
82413 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
82414
82415 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
82416 dependencies back to end of function.
82417
82418 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
82419 $(elfobjdir)/ld.so.
82420
82421 2011-08-21 Ulrich Drepper <drepper@gmail.com>
82422
82423 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
82424 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
82425 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
82426 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
82427 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
82428 of __vdso_gettimeofday.
82429 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
82430 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
82431 attribute_hidden.
82432 (_libc_vdso_platform_setup): Remove initialization of
82433 __vdso_gettimeofday and __vdso_time.
82434
82435 2011-08-20 Ulrich Drepper <drepper@gmail.com>
82436
82437 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
82438 and fgetc_unlocked.
82439 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
82440 getc_unlocked.
82441
82442 * elf/dl-open.c (add_to_global): Report additions to the global scope
82443 for LD_DEBUG=scopes.
82444 (dl_open_worker): Also print scope of newly loaded dependencies.
82445 (_dl_show_scope): Indicate if there is no scope.
82446
82447 [BZ #13114]
82448 * stdio-common/Makefile (tests): Add bug24.
82449 * stdio-common/bug24.c: New file.
82450
82451 2011-08-19 Andreas Jaeger <aj@suse.de>
82452
82453 [BZ #13114]
82454 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
82455 non-existant file when using close-on-exec mode.
82456
82457 2011-08-20 Ulrich Drepper <drepper@gmail.com>
82458
82459 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
82460 the very first instruction.
82461
82462 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
82463 the CFI state in the end.
82464 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
82465 inclusion of dl-trampoline.h.
82466 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
82467
82468 2011-08-19 Andreas Schwab <schwab@redhat.com>
82469
82470 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
82471 expectations for long double.
82472
82473 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
82474 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
82475
82476 2011-08-14 David S. Miller <davem@davemloft.net>
82477
82478 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
82479 artificual limit depends upon the system page size.
82480
82481 2011-08-17 Ulrich Drepper <drepper@gmail.com>
82482
82483 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
82484 * resolv/Makefile: Define CFLAGS-libresolv.
82485
82486 2011-08-17 Andreas Schwab <schwab@redhat.com>
82487
82488 * nss/makedb.c (compute_tables): Make variables used in nested
82489 function static.
82490
82491 2011-08-17 Ulrich Drepper <drepper@gmail.com>
82492
82493 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
82494 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
82495 if buffer was too small.
82496
82497 * elf/pldd.c (main): Attach to all threads in the process.
82498 Rewrite /proc handling to use *at functions.
82499
82500 2011-08-16 Ulrich Drepper <drepper@gmail.com>
82501
82502 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
82503 specifies first scope to show.
82504 (dl_open_worker): Update callers. Move printing scope of new
82505 object to before the relocation.
82506 * elf/rtld.c (dl_main): Update _dl_show_scope call.
82507 * sysdeps/generic/ldsodefs.h: Update declaration.
82508
82509 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
82510 string for the scope number.
82511
82512 2011-08-14 Ulrich Drepper <drepper@gmail.com>
82513
82514 * nscd/servicescache.c (cache_addserv): Make sure written is always
82515 initialized.
82516
82517 2011-08-14 Roland McGrath <roland@hack.frob.com>
82518
82519 * sysdeps/i386/i486/bits/atomic.h
82520 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
82521 statement expression, so as to suppress "set but not used" warning.
82522 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
82523
82524 * string/strncat.c (STRNCAT): Use prototype definition.
82525
82526 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
82527 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
82528 -Iprograms here.
82529 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
82530 (localedef-modules): Add localedef.
82531 (locale-modules): Add locale.
82532
82533 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
82534 * elf/rtld.c (dl_main): Invert order of assignment in last change,
82535 to avoid a warning.
82536
82537 2011-08-14 David S. Miller <davem@davemloft.net>
82538
82539 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
82540 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
82541
82542 2011-08-13 Ulrich Drepper <drepper@gmail.com>
82543
82544 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
82545 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
82546 * elf/rtld.c (dl_main): Set l_name of vDSO.
82547 Call _dl_show_scope when DL_DEBUG_SCOPES.
82548 (process_dl_debug): Recognize scopes flag and also set it for all.
82549 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
82550 Declare _dl_show_scope.
82551
82552 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
82553 (do_dlopen): Pass caller_dlopen to dl_open.
82554 (__libc_dlopen_mode): Initialize caller_dlopen.
82555
82556 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
82557 of libc. Make tolower call locale-independent. Optimize a bit by
82558 using isdigit instead of isalnum.
82559 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
82560
82561 2011-08-12 Ulrich Drepper <drepper@gmail.com>
82562
82563 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
82564 was a dependency or dynamically loaded.
82565
82566 2011-08-11 Ulrich Drepper <drepper@gmail.com>
82567
82568 * intl/l10nflist.c: Allow architecture-specific pop function.
82569 * sysdeps/x86_64/l10nflist.c: New file.
82570
82571 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
82572 classification.
82573
82574 2011-08-10 Andreas Schwab <schwab@redhat.com>
82575
82576 * include/dirent.h: Add libc_hidden_proto for scandirat and
82577 scandirat64. Don't declare __scandirat64.
82578 * dirent/scandirat.c: Add libc_hidden_def.
82579 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
82580 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
82581
82582 2011-08-10 David S. Miller <davem@davemloft.net>
82583
82584 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
82585 enum.
82586 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82587 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82588 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82589
82590 2011-08-09 Ulrich Drepper <drepper@gmail.com>
82591
82592 * Versions.def [libc]: Add GLIBC_2.15.
82593 * dirent/Makefile (routines): Add scandirat and scandirat64.
82594 * dirent/Versions [libc]: Export scandirat and scandirat64 for
82595 GLIBC_2.15.
82596 * dirent/dirent.h: Declare scandirat and scandirat64.
82597 * dirent/scandirat.c: New file.
82598 * dirent/scandirat64.c: New file.
82599 * sysdeps/wordsize-64/scandirat.c: New file.
82600 * sysdeps/wordsize-64/scandirat64.c: New file.
82601 * dirent/opendir.c: Define opendirat.
82602 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
82603 using scandirat.
82604 * dirent/scandir64.c: Adjust for scandir.c change.
82605 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
82606 __scandirat64, and __scandir_cancel_handler.
82607 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
82608 additional parameter and use openat instead of open (outside of ld.so).
82609 Add new __opendir as wrapper around __opendirat.
82610 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
82611 here without requiring old scandirat implementation.
82612
82613 2011-08-08 Ulrich Drepper <drepper@gmail.com>
82614
82615 * dirent/scandir.c (cancel_handler): Renamed to
82616 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
82617 defined. Adjust users.
82618 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
82619 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
82620
82621 2011-08-04 Ulrich Drepper <drepper@gmail.com>
82622
82623 * string/test-string.h (IMPL): Use __STRING to expand name and then
82624 stringify it.
82625
82626 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
82627 of cleanups.
82628
82629 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82630
82631 * string/Makefile: Update.
82632 (strop-tests): Append strncat.
82633 * string/test-wcscmp.c: New file.
82634 New comprehensive test for wcscmp.
82635 * string/test-strcmp.c: Update.
82636 (WIDE): New define.
82637
82638 2011-07-22 Andreas Schwab <schwab@redhat.com>
82639
82640 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
82641 line.
82642
82643 2011-07-26 Andreas Schwab <schwab@redhat.com>
82644
82645 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
82646 encoding to ACE if AI_IDN.
82647
82648 2011-08-01 Jakub Jelinek <jakub@redhat.com>
82649
82650 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
82651 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
82652
82653 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82654
82655 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
82656 Fix overflow bug in strncat.
82657 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
82658
82659 * string/test-strncat.c: Update.
82660 Add new tests for checking overflow bugs.
82661
82662 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82663
82664 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82665 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
82666 * sysdeps/i386/i686/multiarch/strcat.S: New file.
82667 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
82668 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
82669 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
82670 * sysdeps/i386/i686/multiarch/strncat.S: New file.
82671 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
82672 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
82673
82674 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
82675 (USE_AS_STRCAT): Define.
82676 Add strcat and strncat support.
82677 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
82678
82679 2011-07-25 Andreas Schwab <schwab@redhat.com>
82680
82681 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
82682 __n bigger than INT_MAX+1.
82683 (__strncmp_g): Likewise.
82684
82685 2011-07-23 Ulrich Drepper <drepper@gmail.com>
82686
82687 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
82688 * libio/stido.h: Likewise.
82689
82690 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
82691 (AF_NFC): Define.
82692 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
82693 (AF_NFC): Define.
82694
82695 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
82696 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82697 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82698 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
82699 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82700
82701 [BZ #13021]
82702 * scripts/test-installation.pl: Don't expect libnss_test1 to be
82703 installed.
82704
82705 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
82706 typo.
82707 (_dl_x86_64_save_sse): Likewise.
82708
82709 2011-07-22 Ulrich Drepper <drepper@gmail.com>
82710
82711 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
82712 OSXSAVE.
82713 (_dl_x86_64_save_sse): Likewise.
82714
82715 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
82716
82717 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
82718
82719 2011-07-21 Andreas Schwab <schwab@redhat.com>
82720
82721 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
82722 change.
82723 (_dl_x86_64_save_sse): Use correct AVX check.
82724
82725 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82726
82727 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
82728 bug in strncpy/strncat.
82729 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
82730
82731 2011-07-21 Ulrich Drepper <drepper@gmail.com>
82732
82733 * string/tester.c (test_strcat): Add tests for different alignments
82734 of source and destination.
82735 (test_strncat): Likewise.
82736
82737 2011-07-20 Ulrich Drepper <drepper@gmail.com>
82738
82739 [BZ #12852]
82740 * posix/glob.c (glob): Check passed in values before using them in
82741 expressions to avoid some overflows.
82742 (glob_in_dir): Likewise.
82743
82744 [BZ #13007]
82745 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
82746 check for AVX enablement so that we don't crash with old kernels and
82747 new hardware.
82748 * elf/tst-audit4.c: Add same checks here.
82749 * elf/tst-audit6.c: Likewise.
82750
82751 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
82752
82753 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
82754
82755 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
82756
82757 2011-07-20 Ulrich Drepper <drepper@gmail.com>
82758
82759 * po/cs.po: Update from translation team.
82760 * po/bg.po: Likewise.
82761
82762 2011-07-12 Marek Polacek <mpolacek@redhat.com>
82763
82764 * misc/sys/cdefs.h: Add support for const attribute.
82765 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
82766 to gnu_dev_{major,minor,makedev} functions.
82767
82768 2011-07-20 Marek Polacek <mpolacek@redhat.com>
82769
82770 * intl/dcigettext.c (get_output_charset): Add missing bracket.
82771
82772 2011-07-20 Andreas Schwab <schwab@redhat.com>
82773
82774 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
82775 strlen results.
82776
82777 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
82778
82779 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
82780 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
82781 register in order to avoid conflicts with the soft frame pointer
82782 being held in r11 when necessary.
82783 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
82784 (INTERNAL_VSYSCALL_NCS): Likewise.
82785
82786 2011-07-14 Marek Polacek <mpolacek@redhat.com>
82787
82788 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
82789 * elf/dl-fini.c (_dl_fini): Adjust caller.
82790 * elf/dl-close.c (_dl_close_worker): Likewise.
82791 * sysdeps/generic/ldsodefs.h: Adjust declaration.
82792
82793 2011-07-15 Marek Polacek <mpolacek@redhat.com>
82794
82795 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
82796 "aux_cache->nlibs < 0".
82797
82798 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
82799 in the reload-count case.
82800
82801 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82802
82803 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82804 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
82805 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
82806 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
82807 * sysdeps/x86_64/multiarch/strcat.S: New file.
82808 * sysdeps/x86_64/multiarch/strncat.S: New file.
82809 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
82810 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
82811 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
82812 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
82813 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
82814 (USE_AS_STRCAT): Define.
82815 Add strcat and strncat support.
82816 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
82817 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
82818 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
82819 * string/strncat.c: Update.
82820 (USE_AS_STRNCAT): Define.
82821 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82822 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
82823 and i7.
82824 * sysdeps/x86_64/multiarch/init-arch.h
82825 (bit_Prefer_PMINUB_for_stringop): New.
82826 (index_Prefer_PMINUB_for_stringop): Likewise.
82827 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
82828 bit_Prefer_PMINUB_for_stringop.
82829
82830 2011-07-19 Ulrich Drepper <drepper@gmail.com>
82831
82832 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
82833 buffer64.
82834 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
82835 of casting of buffer.
82836 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
82837 buffer32 and buffer64.
82838 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
82839 writes instead of casting of buffer.
82840 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
82841 buffer32.
82842 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
82843 casting of buffer.
82844
82845 2011-07-19 Andreas Schwab <schwab@redhat.com>
82846
82847 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
82848
82849 2011-07-19 Ulrich Drepper <drepper@gmail.com>
82850
82851 * nscd/nscd.c (termination_handler): Don't do anything for a database
82852 if it has not yet been initialized.
82853
82854 2011-07-18 Ulrich Drepper <drepper@gmail.com>
82855
82856 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82857
82858 2011-07-15 Marek Polacek <mpolacek@redhat.com>
82859
82860 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82861
82862 2011-07-18 Ulrich Drepper <drepper@gmail.com>
82863
82864 * po/nl.po: Update from translation team.
82865 * po/sv.po: Likewise.
82866
82867 2011-07-16 Roland McGrath <roland@hack.frob.com>
82868
82869 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
82870 now disallowed by GCC.
82871
82872 * configure.in (use-default-link): Default to yes if a test -shared
82873 link meets our qualifications.
82874 * configure: Regenerated.
82875
82876 * config.make.in (output-format): New variable.
82877 * configure.in: Check for ld --print-output-format support.
82878 * configure: Regenerated.
82879 * Makerules ($(common-objpfx)format.lds)
82880 [$(output-format) != unknown]: Just use $(output-format),
82881 instead of the linker-script munging.
82882
82883 2011-07-14 Roland McGrath <roland@hack.frob.com>
82884
82885 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
82886 of $(common-objpfx)shlib.lds.
82887 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
82888
82889 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
82890 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
82891
82892 * configure.in (-z relro check): Adjust test code to add a large
82893 writable data section after it.
82894 * configure: Regenerated.
82895
82896 2011-07-11 Roland McGrath <roland@hack.frob.com>
82897
82898 * configure.in (-z relro check): Fix test code to make the variable
82899 truly const.
82900 * configure: Regenerated.
82901
82902 2011-07-11 Ulrich Drepper <drepper@gmail.com>
82903
82904 * nscd/nscd.h (struct traced_file): Define.
82905 (struct database_dyn): Remove inotify_descr, reset_res, and filename
82906 elements. Add traced_files.
82907 (inotify_fd): Declare.
82908 (register_traced_file): Declare.
82909 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
82910 (inotify_fd): Export.
82911 (resolv_conf_descr): Remove.
82912 (nscd_init): Move inotify descriptor creation to main.
82913 Don't register files for notification here.
82914 (register_traced_file): New function.
82915 (invalidate_cache): Don't use reset_res to determine whether to call
82916 res_init, go through the list of registered files.
82917 (main_loop_poll): The inotify descriptors are now stored in the
82918 structures for the traced files.
82919 (main_loop_epoll): Likewise.
82920 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
82921 to __nss_disable_nscd.
82922 * nscd/cache.c (prune_cache): There is no single inotify descriptor
82923 for a database anymore. Check the records for all the registered
82924 files instead.
82925 * nss/Makefile (libnss_files-routines): Add files-init.
82926 (libnss_db-routines): Add db-init.
82927 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
82928 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
82929 * nss/nss_db/db-init.c: New file.
82930 * nss/nss_files/files-init.c: New file.
82931 * nss/nsswitch.c (nss_load_library): New function. Broken out of
82932 __nss_lookup_function.
82933 (__nss_lookup_function): Call nss_load_library.
82934 (nss_load_all_libraries): New function.
82935 (__nss_disable_nscd): Take parameter with callback function for files
82936 to register. Set is_nscd. Load all the DSOs for the NSS modules
82937 used for the cached services.
82938 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
82939 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
82940 options for features to all the files in nscd.
82941
82942 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
82943
82944 2011-07-10 Roland McGrath <roland@hack.frob.com>
82945
82946 * csu/elf-init.c (__libc_csu_init): Comment typo.
82947
82948 2011-07-09 Ulrich Drepper <drepper@gmail.com>
82949
82950 * po/pl.po: Update from translation team.
82951 * po/ja.po: Likewise.
82952 * po/ru.po: Likewise.
82953 * po/ko.po: Likewise.
82954 * po/fr.po: Likewise.
82955
82956 2011-07-09 Roland McGrath <roland@hack.frob.com>
82957
82958 * configure.in (.ctors/.dtors header and trailer check):
82959 Use an empirical test on a built program.
82960 * configure: Regenerated.
82961
82962 * configure.in (-z relro check): Use an empirical test on a built DSO.
82963 Detect, but do not require, on ia64.
82964 * configure: Regenerated.
82965
82966 * configure.in (READELF): Find it with AC_CHECK_TOOL.
82967 Update tests that use readelf to use $READELF instead.
82968 * configure: Regenerated.
82969
82970 2011-07-08 Ulrich Drepper <drepper@gmail.com>
82971
82972 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
82973 if the result is not used.
82974
82975 2011-07-05 Andreas Jaeger <aj@suse.de>
82976
82977 [BZ#9696]
82978 * stdlib/tst-strtod.c: Add testcase.
82979
82980 2011-07-07 Ulrich Drepper <drepper@gmail.com>
82981
82982 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
82983 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
82984 The latter has a higher limit. Take additional parameter to pass to
82985 the new function.
82986 (__pathconf): Pass file to __statfs_link_max.
82987 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
82988 __statfs_link_max.
82989 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
82990 __statfs_link_max.
82991
82992 [BZ #12868]
82993 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
82994 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82995 Handle Lustre.
82996 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
82997 (__statfs_filesize_max): Likewise.
82998 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
82999
83000 2011-07-05 Andreas Jaeger <aj@suse.de>
83001
83002 * resolv/res_comp.c (dn_skipname): Remove unused variable.
83003
83004 2011-07-06 Marek Polacek <mpolacek@redhat.com>
83005
83006 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
83007 `status' variable.
83008 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
83009 Likewise.
83010
83011 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
83012
83013 * Makefile (strop-tests): Add strncat.
83014 * string/test-strncat.c: New file.
83015
83016 2011-06-30 Marek Polacek <mpolacek@redhat.com>
83017
83018 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
83019
83020 2011-06-21 Andreas Jaeger <aj@suse.de>
83021
83022 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
83023 Copy rule from iconvdata/Makefile.
83024
83025 2011-07-06 Ulrich Drepper <drepper@gmail.com>
83026
83027 [BZ #12922]
83028 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
83029 but no long options are defined, just return 'W'.
83030
83031 2011-06-22 Marek Polacek <mpolacek@redhat.com>
83032
83033 [BZ #9696]
83034 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
83035
83036 2011-07-06 Ulrich Drepper <drepper@gmail.com>
83037
83038 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
83039 netgroups to read.
83040 (innetgr): Likewise.
83041
83042 2011-07-05 Roland McGrath <roland@hack.frob.com>
83043
83044 * config.make.in (install_root): Default to $(DESTDIR).
83045
83046 2011-07-05 Ulrich Drepper <drepper@gmail.com>
83047
83048 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
83049
83050 2011-07-02 Roland McGrath <roland@hack.frob.com>
83051
83052 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
83053
83054 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
83055 containing directory rather than embedding absolute directory names.
83056
83057 * scripts/check-local-headers.sh: Rewritten using awk.
83058 Match by word, not by line. Print error messages for matches.
83059 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
83060
83061 * Makerules [shlib-lds-flags empty]:
83062 ($(common-objpfx)libc_pic.opts): New target.
83063 ($(common-objpfx)libc_pic.os.clean): New target.
83064 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
83065
83066 * config.make.in (OBJCOPY): New variable.
83067 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
83068 * configure: Regenerated.
83069
83070 * config.make.in (use-default-link): New variable.
83071 * configure.in (use_default_link): Grok --with-default-link to set it.
83072 * configure: Regenerated.
83073 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
83074 (shlib-lds, shlib-lds-flags): Define to empty.
83075
83076 * Makerules (shlib-lds): New variable.
83077 (shlib-lds-flags): New variable.
83078 (build-shlib, build-moduile, build-module-asneeded): Use it.
83079 ($(common-objpfx)libc.so): Use $(shlib-lds).
83080 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
83081 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
83082
83083 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
83084 DT_FLAGS/DT_FLAGS_1 with zero flags.
83085
83086 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
83087 linker script munging.
83088
83089 2011-07-02 Ulrich Drepper <drepper@gmail.com>
83090
83091 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
83092 as 128-bit value.
83093 * crypt/sha512.c (sha512_process_block): Perform total addition using
83094 128-bit if possible.
83095 (__sha512_finish_ctx): Likewise.
83096 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
83097 as 64-bit value.
83098 * crypt/sha256.c (SWAP64): Define.
83099 (sha256_process_block): Perform total addition using 64-bit if
83100 possible.
83101 (__sha256_finish_ctx): Likewise.
83102
83103 2011-07-01 Ulrich Drepper <drepper@gmail.com>
83104
83105 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
83106 * nscd/initgrcache.c (addinitgroupsX): Likewise.
83107 * nscd/hstcache.c (cache_addhst): Likewise.
83108 * nscd/grpcache.c (cache_addgr): Likewise.
83109 * nscd/aicache.c (addhstaiX): Likewise.
83110 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
83111
83112 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
83113
83114 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
83115 * nscd/initgrcache.c (addinitgroupsX): Likewise.
83116 * nscd/hstcache.c (cache_addhst): Likewise.
83117 * nscd/grpcache.c (cache_addgr): Likewise.
83118 * nscd/aicache.c (addhstaiX): Likewise.
83119
83120 2011-07-01 Andreas Schwab <schwab@redhat.com>
83121
83122 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
83123 domain only when needed.
83124
83125 2011-06-30 Andreas Schwab <schwab@redhat.com>
83126
83127 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
83128 is always restored.
83129
83130 2011-06-29 Ulrich Drepper <drepper@gmail.com>
83131
83132 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
83133 are re-adding the entry.
83134 * nscd/servicescache.c (cache_addserv): Likewise.
83135
83136 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
83137
83138 * sysdeps/generic/dl-irel.h: fix protection against multiple
83139 inclusions.
83140 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
83141
83142 2011-06-28 Ulrich Drepper <drepper@gmail.com>
83143
83144 [BZ #12935]
83145 * malloc/memusage.sh: Fix quoting in message.
83146 * debug/xtrace.sh: Likewise.
83147
83148 * configure.in: Remove support for --experimental-malloc option, make
83149 it the default.
83150 * config.make.in: Likewise.
83151 * malloc/Makefile: Likewise.
83152
83153 2011-06-27 Andreas Schwab <schwab@redhat.com>
83154
83155 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
83156 two-byte characters.
83157
83158 2011-06-27 Roland McGrath <roland@hack.frob.com>
83159
83160 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
83161 AC_CACHE_CHECK invocation.
83162 * configure: Regenerated.
83163
83164 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
83165
83166 2011-06-27 Ulrich Drepper <drepper@gmail.com>
83167
83168 [BZ #12350]
83169 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
83170 bit from old_res_options.
83171
83172 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
83173
83174 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
83175 value type for setfct.
83176
83177 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
83178
83179 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
83180 __gettimeofday instead of gettimeofday.
83181
83182 2011-06-26 Ulrich Drepper <drepper@gmail.com>
83183
83184 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
83185
83186 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
83187
83188 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
83189
83190 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
83191 info.
83192
83193 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
83194
83195 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83196 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
83197 strcpy-sse2-unaligned strncpy-sse2-unaligned
83198 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
83199 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
83200 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
83201 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
83202 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
83203 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
83204 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
83205 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
83206 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
83207 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
83208 (STRCPY): Support SSE2 and SSSE3 versions.
83209
83210 2011-06-24 Ulrich Drepper <drepper@gmail.com>
83211
83212 [BZ #12874]
83213 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
83214 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
83215 kernels which artificially limit size of requests.
83216
83217 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
83218
83219 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83220 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
83221 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
83222 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
83223 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
83224 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
83225 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
83226 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
83227 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
83228 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
83229 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
83230 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
83231 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
83232 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
83233 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
83234 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83235 Enable unaligned load optimization for Intel Core i3, i5 and i7
83236 processors.
83237 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
83238 Define.
83239 (index_Fast_Unaligned_Load): Define.
83240 (HAS_FAST_UNALIGNED_LOAD): Define.
83241
83242 2011-06-23 Marek Polacek <mpolacek@redhat.com>
83243
83244 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
83245
83246 2011-06-22 Ulrich Drepper <drepper@gmail.com>
83247
83248 [BZ #12907]
83249 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
83250 until it is clear that the information is realy needed.
83251 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
83252
83253 2011-06-22 Andreas Schwab <schwab@redhat.com>
83254
83255 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
83256
83257 2011-06-22 Ulrich Drepper <drepper@gmail.com>
83258
83259 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
83260 /sys/devices/system/cpu/online if it is usable.
83261
83262 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
83263 reading the information from the /proc filesystem to once a second.
83264
83265 2011-06-21 Andreas Jaeger <aj@suse.de>
83266
83267 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
83268 NULL after inclusion of kernel headers.
83269
83270 2011-06-21 Ulrich Drepper <drepper@gmail.com>
83271
83272 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
83273 calls to internal_setent.
83274
83275 [BZ #12885]
83276 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
83277 addresses using gethostbyname4_r ignore IPv4 addresses.
83278
83279 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
83280 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
83281
83282 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
83283
83284 2011-06-20 David S. Miller <davem@davemloft.net>
83285
83286 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
83287 inclusions.
83288 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
83289
83290 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
83291 (elf_irel): Use it.
83292 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
83293 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
83294 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
83295 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
83296 * sysdeps/x86_64/dl-irel.h: Likewise.
83297
83298 * elf/dl-runtime.c: Use elf_ifunc_invoke.
83299 * elf/dl-sym.c: Likewise.
83300
83301 2011-06-15 Ulrich Drepper <drepper@gmail.com>
83302
83303 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
83304 need to dereference resplen2.
83305
83306 2011-06-14 Andreas Schwab <schwab@redhat.com>
83307
83308 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
83309
83310 2011-06-15 Ulrich Drepper <drepper@gmail.com>
83311
83312 * Makeconfig: Define vardbdir and inst_vardbdir.
83313 * nss/Makefile: Add rules to install db-Makefile.
83314
83315 * nss/nss_db/db-XXX.c: Cleanup.
83316
83317 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
83318 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
83319 GLIBC_PRIVATE.
83320 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
83321 * nss/makedb.c: Implement -g option to specify that value strings
83322 are generated and should not be added to table iterated over for
83323 get*ent calls.
83324 * nss/nss_db/db-initgroups.c: New file.
83325
83326 * nss/getent.c: Add support for initgroups lookups through getgrouplist
83327 interface.
83328
83329 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
83330 (internal_getgrouplist): Adjust to name change.
83331 Update use_initgroups_entry if this is not the first call.
83332 * nss/databases.def: Add initgroups entry.
83333
83334 * nss/makedb.c (compute_tables): Check result of multiple hash table
83335 sizes to minimize maximum chain length.
83336
83337 2011-06-14 Ulrich Drepper <drepper@gmail.com>
83338
83339 * Versions.def: Add entry for libnss_db.
83340 * shlib-versions: Likewise.
83341 * nss/Makefile: Add rules to build libnss_db.
83342 * nss/Versions: Add libnss_db information. Organize libnss_files
83343 entries better.
83344 * nss/db-Makefile: Add gshadow support. Change rules for the new
83345 makedb progra. Some minor improvements to generate smaller files.
83346 * nss/nss_db/nss_db.h: Move NSS database header data structures to
83347 here from...
83348 * nss/makedb.c: ...here.
83349 Improve database format to be smaller and require less memory at
83350 runtime.
83351 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
83352 db anymore.
83353 * nss/nss_db/db-netgrp.c: Likewise.
83354 * nss/nss_db/db-open.c: Likewise.
83355 * nss/nss_files/flies-XXX.x: Adjust comments.
83356 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
83357 * nss/nss_files/files-grp.c: Likewise.
83358 * nss/nss_files/files-hosts.c: Likewise.
83359 * nss/nss_files/files-network.c: Likewise.
83360 * nss/nss_files/files-proto.c: Likewise.
83361 * nss/nss_files/files-pwd.c: Likewise.
83362 * nss/nss_files/files-rpc.c: Likewise.
83363 * nss/nss_files/files-service.c: Likewise.
83364 * nss/nss_files/files-sgrp.c: Likewise.
83365 * nss/nss_files/files-spwd.c: Likewise.
83366 * nss/nss_db/db-alias.c: Removed.
83367 * nss/nss_db/dummy-db.h: Removed.
83368
83369 2011-06-02 Ulrich Drepper <drepper@gmail.com>
83370
83371 * nss/makedb.c: Rewritten to not use database library.
83372 * nss/Makefile: Update to build new makedb program.
83373
83374 2011-06-14 Andreas Jaeger <aj@suse.de>
83375
83376 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
83377 memset declaration.
83378
83379 2011-06-10 Andreas Schwab <schwab@redhat.com>
83380
83381 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
83382 tmpbuf.
83383
83384 2011-06-10 Roland McGrath <roland@hack.frob.com>
83385
83386 * Makerules (shlib.lds): Fail if the linker script comes out empty.
83387 * elf/Makefile ($(objpfx)ld.so): Likewise.
83388
83389 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
83390 Don't list ld.so twice in dependencies.
83391
83392 * posix/bug-regex31.c: Include <stdlib.h>.
83393
83394 * nscd/hstcache.c (cache_addhst): Remove unused variable.
83395
83396 * nis/nss_compat/compat-spwd.c
83397 (getspent_next_nss_netgr): Remove unused variable.
83398 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
83399
83400 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
83401 nonmembers" output to use the right array.
83402
83403 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
83404
83405 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
83406
83407 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
83408 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
83409 * catgets/gencat.c (read_input_file): Likewise.
83410 * locale/programs/locarchive.c (enlarge_archive): Likewise.
83411
83412 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
83413 variable definition inside #if's controlling its use.
83414
83415 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
83416
83417 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
83418
83419 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
83420
83421 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
83422 unreachable code.
83423
83424 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
83425
83426 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
83427 * configure: Regenerated.
83428
83429 * Makerules: Revert last change.
83430 * elf/Makefile: Likewise.
83431
83432 2011-06-09 Roland McGrath <roland@hack.frob.com>
83433
83434 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
83435 * elf/Makefile ($(objpfx)librtld.os): Likewise.
83436 (reloc-link): Likewise.
83437
83438 2011-06-09 Ulrich Drepper <drepper@gmail.com>
83439
83440 * elf/Makefile: Add rules to build pldd.
83441 * elf/pldd.c: New file.
83442 * elf/pldd-xx.c: New file.
83443
83444 2011-06-07 Ulrich Drepper <drepper@gmail.com>
83445
83446 * version.h: Update for 2.15 development version.
83447
83448 2011-06-07 David S. Miller <davem@davemloft.net>
83449
83450 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
83451 ifuncs.
83452 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
83453 elf_machine_lazy_rel): Likewise.
83454 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
83455 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
83456 elf_machine_lazy_rel): Likewise.
83457 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
83458 dl_hwcap via passed in argument.
83459 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
83460 Likewise.
83461
83462 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83463
83464 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
83465
83466 2011-06-06 Roland McGrath <roland@hack.frob.com>
83467
83468 [BZ #12849]
83469 * manual/fdl-1.1.texi: New file, verbatim from:
83470 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
83471 * manual/lgpl-2.1.texi: New file, verbatim from:
83472 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
83473 * manual/Makefile (licenses): New variable, list those new file names.
83474 (texis): Use it.
83475 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
83476
83477 * manual/fdl.texi: File removed.
83478 * manual/lesser.texi: File removed.
83479 * manual/libc.texinfo (Copying, Documentation License):
83480 Use new @include file names, put @appendix directive before @include.
83481
83482 2011-06-04 Jakub Jelinek <jakub@redhat.com>
83483
83484 [BZ #12841]
83485 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
83486 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
83487 (mq_open): Add __NTH.
83488
83489 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
83490
83491 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83492 Assume Intel Core i3/i5/i7 processor if AVX is available.
83493
83494 2011-05-31 Ulrich Drepper <drepper@gmail.com>
83495
83496 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
83497 typo.
83498
83499 2011-05-31 Andreas Schwab <schwab@redhat.com>
83500
83501 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
83502 memory. Use alloca_account. Fix memory leak when retrying.
83503
83504 2011-05-31 Ulrich Drepper <drepper@gmail.com>
83505
83506 * version.h (RELEASE): Bump for 2.14 release.
83507 * include/features.h (__GLIBC_MINOR__): Bump to 14.
83508
83509 * config.make.in (RANLIB): Remove entry.
83510
83511 2011-05-30 Ulrich Drepper <drepper@gmail.com>
83512
83513 * po/Makefile (po-sed-cmd): Add ksh to extensions.
83514 (libc.pot): Work around missing support for .ksh extension in xgettext.
83515
83516 [BZ #12684]
83517 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
83518 if both request failed.
83519 (send_dg): In case of server errors clear resplen or *resplen2.
83520
83521 [BZ #12454]
83522 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
83523 when there are multiple maps.
83524 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
83525 (_dl_fini): Remove test here.
83526
83527 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
83528
83529 2011-05-29 Ulrich Drepper <drepper@gmail.com>
83530
83531 [BZ #12350]
83532 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
83533 bit from old_res_options.
83534 (gaih_inet): Likewise.
83535
83536 [BZ #11099]
83537 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
83538 as signed.
83539
83540 * resolv/res_init.c (res_setoptions): Make the code more compact.
83541
83542 [BZ #11558]
83543 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
83544 set RES_USEVC.
83545
83546 [BZ #11634]
83547 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
83548
83549 * malloc/malloc.h: Mark malloc hook variables as deprecated.
83550
83551 [BZ #11781]
83552 * malloc/malloc.h: Declare malloc hook variables as volatile.
83553
83554 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
83555 in last patch.
83556
83557 [BZ #11799]
83558 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
83559 raise in the comment.
83560 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
83561 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
83562 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
83563
83564 2011-05-28 Ulrich Drepper <drepper@gmail.com>
83565
83566 [BZ #12811]
83567 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
83568 grow the buffers more if it already has to be sufficient.
83569 (build_wcs_upper_buffer): Likewise.
83570 * posix/regexec.c (check_matching): Likewise.
83571 (clean_state_log_if_needed): Likewise.
83572 (extend_buffers): Don't enlarge buffers beyond size of the input
83573 buffer.
83574 Patches mostly by Emil Wojak <emil@wojak.eu>.
83575 * posix/bug-regex32.c: New file.
83576 * posix/Makefile (tests): Add bug-regex32.
83577
83578 * locale/findlocale.c (_nl_find_locale): Return right away if
83579 _nl_explode_name failed.
83580 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
83581
83582 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
83583
83584 * debug/xtrace.sh: Unify messages.
83585 * malloc/memusage.sh: Likewise.
83586
83587 [BZ #12813]
83588 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
83589 time symbol from vDSO. Substitute with vsyscall if not available.
83590 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
83591 __vdso_time.
83592
83593 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
83594 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
83595 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
83596 Add sendmmsg and internal_sendmmsg.
83597 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
83598 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
83599 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
83600
83601 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
83602 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
83603 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
83604
83605 2011-05-27 Ulrich Drepper <drepper@gmail.com>
83606
83607 [BZ #12813]
83608 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
83609 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
83610 available.
83611 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
83612 __vdso_getcpu.
83613
83614 [BZ #12814]
83615 * iconvdata/Makefile (tests): Add bug-iconv9.
83616 * iconvdata/bug-iconv9.c: New file.
83617
83618 2011-05-27 Andreas Schwab <schwab@redhat.com>
83619
83620 [BZ #12814]
83621 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
83622
83623 2011-05-25 Jakub Jelinek <jakub@redhat.com>
83624
83625 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83626 (struct user_regs_struct): Change intcs field back to cs.
83627
83628 2011-05-25 Ulrich Drepper <drepper@gmail.com>
83629
83630 * po/ja.po: Update from translation team.
83631
83632 2011-05-23 Ulrich Drepper <drepper@gmail.com>
83633
83634 [BZ #12795]
83635 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
83636 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
83637
83638 2011-05-20 Andreas Schwab <schwab@redhat.com>
83639
83640 * stdlib/longlong.h: Update from GCC.
83641
83642 2011-05-23 Andreas Schwab <schwab@redhat.com>
83643
83644 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
83645 parameter name.
83646 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
83647 Add parameter name.
83648 (__sysconf): Pass it down.
83649
83650 2011-05-22 Ulrich Drepper <drepper@gmail.com>
83651
83652 [BZ #12671]
83653 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
83654 some situations.
83655 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
83656 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
83657 add in in __libc_use_alloca calls. Adjust callers.
83658 (glob): Use malloc in some situations.
83659
83660 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
83661 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
83662 pltexit.
83663
83664 2011-05-21 Ulrich Drepper <drepper@gmail.com>
83665
83666 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
83667 and CLOCK_BOOTTIME_ALARM.
83668
83669 [BZ #12782]
83670 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
83671 is returned.
83672
83673 * string/_strerror.c (__strerror_r): Print negative errors as signed
83674 numbers.
83675
83676 [BZ #12777]
83677 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
83678 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
83679 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
83680
83681 * configure.in: Fix typo in redirection and correct removal of test
83682 files in two cases.
83683
83684 [BZ #12788]
83685 * locale/setlocale.c (new_composite_name): Fix test to check for
83686 identical name of all categories.
83687
83688 [BZ #12792]
83689 * libio/filedoalloc.c (local_isatty): New function.
83690 (_IO_file_doallocate): Use local_isatty.
83691 * stdio-common/perror.c (perror): In case a new stream is used
83692 forward the stream error.
83693 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
83694 error flag.
83695
83696 2011-05-20 Ulrich Drepper <drepper@gmail.com>
83697
83698 [BZ #11884]
83699 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
83700 alloca.
83701 * include/alloca.h (extend_alloca_account): Define.
83702
83703 [BZ #11857]
83704 * posix/regex.h: Fix comments with documentation of user-accessible
83705 fields after compilation and describe correct free'ing of pattern
83706 after re_compile_pattern.
83707 Patch by Reuben Thomas <rrt@sc3d.org>.
83708
83709 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
83710
83711 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
83712 and -mno-altivec to prevent the compiler from using Altivec and/or
83713 VSX instructions when the corresponding registers are not available.
83714
83715 2011-05-19 Andreas Schwab <schwab@redhat.com>
83716
83717 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
83718
83719 2011-05-19 Ulrich Drepper <drepper@gmail.com>
83720
83721 * libio/freopen.c (freopen): Use __dup2, not dup2.
83722 * libio/freopen64.c (freopen64): Likewise.
83723
83724 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
83725
83726 [BZ #12775]
83727 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
83728 * math/Makefile (tests): Add test-powl.
83729 (CFLAGS-test-powl.c): Define.
83730 * math/test-powl.c: New file.
83731
83732 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
83733
83734 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
83735
83736 2011-05-17 Ulrich Drepper <drepper@gmail.com>
83737
83738 [BZ #11837]
83739 * iconvdata/gb18030.c: Update to GB18020-2005.
83740
83741 2011-05-16 Ulrich Drepper <drepper@gmail.com>
83742
83743 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
83744 RE_SYNTAX_POSIX_AWK): Update to match recent development.
83745 Patch by Aharon Robbins <arnold@skeeve.com>.
83746
83747 [BZ #11892]
83748 * stdlib/putenv.c (putenv): Don't always create copy of the variable
83749 on the stack.
83750
83751 [BZ #11895]
83752 * misc/pselect.c (__pselect): Handle timeout value errors hidden
83753 through underflows.
83754
83755 [BZ #12766]
83756 * misc/error.c (error_at_line): Ensure file_name and old_file_name
83757 point to strings before performing equality test for error_one_per_line
83758 mode.
83759
83760 [BZ #11697]
83761 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
83762
83763 [BZ #11820]
83764 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83765 (struct user_fpregs_struct): Avoid __uint*_t types.
83766
83767 [BZ #6420]
83768 * malloc/mtrace.c (tr_where): Add additional parameter to point to
83769 symbol info. Use it instead of calling _dl_addr locally.
83770 (lock_and_info): New function.
83771 (tr_freehook): Call lock_and_info and pass symbol info as additional
83772 parameter to tr_where.
83773 (tr_mallochook): Likewise.
83774 (tr_reallochook): Likewise.
83775 (tr_memalignhook): Likewise.
83776
83777 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
83778 used and couldn't be at all thread-safe.
83779
83780 2011-05-15 Ulrich Drepper <drepper@gmail.com>
83781
83782 * libio/freopen.c (freopen): Don't close old file descriptor
83783 before the new one is opened. Instead dup the new file descriptor
83784 to the old one after the new stream is created.
83785 * libio/freopen64.c (freopen64): Likewise.
83786 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
83787 * libio/fileops.c (_IO_new_file_close_it): Handle new
83788 _IO_FLAGS2_NOCLOSE flag.
83789 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
83790 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
83791 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
83792 _IO_FLAGS2_NOCLOSE flag.
83793 * include/unistd.h: Add hidden_proto for dup3.
83794 Define __have_dup3.
83795 * io/dup3.c: Define hidden symbol.
83796 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
83797
83798 [BZ #7101]
83799 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
83800 when an incomplete long option is used.
83801 * posix/tst-getopt_long1.c: New file.
83802 * posix/Makefile (tests): Add tst-getopt_long1.
83803
83804 [BZ #10138]
83805 * scripts/config.guess: Update from autoconf-2.68.
83806 * scripts/config.sub: Likewise.
83807
83808 [BZ #10157]
83809 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
83810 tests into ...
83811 (has_cpuclock): ...this. New function.
83812 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
83813 macro here based on has_cpuclock code.
83814
83815 [BZ #10149]
83816 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83817 First byte (not low byte) is now always NUL.
83818 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
83819
83820 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83821 Use non-cancelable interfaces.
83822
83823 [BZ #9809]
83824 * locale/iso-639.def: Add entry for Sorani.
83825
83826 [BZ #11901]
83827 * include/stdlib.h: Move include protection to the right place.
83828 Define abort_msg_s. Declare __abort_msg with it.
83829 * stdlib/abort.c (__abort_msg): Adjust type.
83830 * assert/assert.c (__assert_fail_base): New function. Majority
83831 of code from __assert_fail. Allocate memory for __abort_msg with
83832 mmap.
83833 (__assert_fail): Now call __assert_fail_base.
83834 * assert/assert-perr.c: Remove bulk of implementation. Use
83835 __assert_fail_base.
83836 * include/assert.hL Declare __assert_fail_base.
83837 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
83838 mmap.
83839 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
83840
83841 2011-05-14 Ulrich Drepper <drepper@gmail.com>
83842
83843 [BZ #11952]
83844 [BZ #12453]
83845 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
83846 until all modules are registered in the DTV.
83847 * elf/Makefile: Add rules to build and run tst-tls19.
83848 * elf/tst-tls19.c: New file.
83849 * elf/tst-tls19mod1.c: New file.
83850 * elf/tst-tls19mod2.c: New file.
83851 * elf/tst-tls19mod3.c: New file.
83852 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
83853
83854 [BZ #12083]
83855 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
83856 correctly.
83857
83858 [BZ #12601]
83859 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
83860 two-byte sequence errors.
83861 * iconvdata/Makefile (tests): Add bug-iconv8.
83862 * iconvdata/bug-iconv8.c: New file.
83863
83864 [BZ #12626]
83865 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
83866 buf2 definition.
83867
83868 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
83869
83870 [BZ #12432]
83871 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
83872 (dummy_getcfa): New function.
83873 (init): Get _Unwind_GetCFA address, use dummy if not found.
83874 (backtrace_helper): In recursion check, also check whether CFA changes.
83875 (__backtrace): Completely initialize arg.
83876
83877 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
83878 storing incomplete byte sequence in state object. Avoid testing for
83879 guaranteed too small input if we know there is enough data available.
83880
83881 2011-05-11 Andreas Schwab <schwab@redhat.com>
83882
83883 * Makeconfig (+link-pie): Indent.
83884 * Rules (binaries-pie): Define if $(have-fpie) and
83885 $(build-shared).
83886 (binaries-shared): Also filter out $(binaries-pie).
83887 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
83888 * nscd/Makefile (others-pie): Add nscd.
83889 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
83890 ($(objpfx)nscd): Remove command override.
83891 * login/Makefile (others-pie): Add pt_chown.
83892 ($(objpfx)pt_chown): Remove command override.
83893 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
83894 remove command overrides.
83895
83896 2011-05-13 Ulrich Drepper <drepper@gmail.com>
83897
83898 * libio/tst_putwc.c: Fix error messages.
83899
83900 [BZ #12724]
83901 * libio/fileops.c (_IO_new_file_close_it): Always flush when
83902 currently writing and seek to current position when not.
83903 * libio/Makefile (tests): Add bug-fclose1.
83904 * libio/bug-fclose1.c: New file.
83905
83906 2011-05-12 Ulrich Drepper <drepper@gmail.com>
83907
83908 [BZ #12511]
83909 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
83910 don't set DF_1_NODELETE here.
83911 (do_lookup_x): When entering new entry test for copy relocation
83912 and if necessary set DF_1_NODELETE flag.
83913 * elf/tst-unique4.cc: New file.
83914 * elf/tst-unique4.h: New file.
83915 * elf/tst-unique4lib.cc: New file.
83916 * elf/Makefile: Add rules to build and run tst-unique4.
83917 Patch by Piotr Bury <pbury@goahead.com>.
83918
83919 2011-05-11 Ulrich Drepper <drepper@gmail.com>
83920
83921 [BZ #12052]
83922 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
83923
83924 [BZ #12625]
83925 * misc/mntent_r.c (addmntent): Flush the stream after the output
83926
83927 [BZ #12393]
83928 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
83929 (is_trusted_path_normalize): Skip initial colon. Append slash
83930 to empty buffer. Duplicate is_trusted_path code but allow
83931 constructed patch to be prefix.
83932 (is_dst): Allow $ORIGIN followed by /.
83933 (_dl_dst_substitute): Correct clearing of check_for_trusted.
83934 Correct testing of result of is_trusted_path_normalize
83935 (decompose_rpath): Fix warning.
83936
83937 2011-05-10 Ulrich Drepper <drepper@gmail.com>
83938
83939 [BZ #11257]
83940 * grp/initgroups.c (internal_getgrouplist): When we found the service
83941 list through the initgroups entry in nsswitch.conf do not always
83942 continue on a successful lookup. Don't always use the
83943 __nss_group_database value if it is set.
83944 * nss/nsswitch.conf (initgroups): Change action for successful db
83945 lookup to continue for compatibility.
83946
83947 2011-05-09 Ulrich Drepper <drepper@gmail.com>
83948
83949 [BZ #11532]
83950 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
83951 and CP774 modules.
83952 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
83953 and CP774 modules.
83954 * iconvdata/tst-tables.sh: Likewise.
83955 * iconvdata/cp770.c: New file.
83956 * iconvdata/cp771.c: New file.
83957 * iconvdata/cp772.c: New file.
83958 * iconvdata/cp773.c: New file.
83959 * iconvdata/cp774.c: New file.
83960 * iconvdata/testdata/CP770: New file.
83961 * iconvdata/testdata/CP770..UTF8: New file.
83962 * iconvdata/testdata/CP771: New file.
83963 * iconvdata/testdata/CP771..UTF8: New file.
83964 * iconvdata/testdata/CP772: New file.
83965 * iconvdata/testdata/CP772..UTF8: New file.
83966 * iconvdata/testdata/CP773: New file.
83967 * iconvdata/testdata/CP773..UTF8: New file.
83968 * iconvdata/testdata/CP774: New file.
83969 * iconvdata/testdata/CP774..UTF8: New file.
83970
83971 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
83972 END CHARMAP line.
83973 * iconvdata/gen-8bit-gap.sh: Likewise.
83974 * iconvdata/gen-8bit.sh: Likewise.
83975
83976 * locale/iso-639.def: Add ary entry.
83977
83978 [BZ #11258]
83979 * locale/C-translit.h.in: Add U20A1 transliteration.
83980
83981 [BZ #12178]
83982 * locale/iso-639.def: Add wae entry.
83983 Patch by Kevin Bortis <bortis@translate-wae.ch>.
83984
83985 [BZ #12545]
83986 * locale/programs/localedef.c (construct_output_path): Use ssize_t
83987 for n.
83988
83989 [BZ #12711]
83990 * locale/C-translit.h.in: Add entry for U20B9.
83991 Patch by pravin.d.s@gmail.com.
83992
83993 2011-05-08 Ulrich Drepper <drepper@gmail.com>
83994
83995 [BZ #12713]
83996 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
83997 ENAMETOOLONG use generic getcwd.
83998 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
83999 in rtld. Use *stat64.
84000 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
84001 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
84002 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
84003 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
84004 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
84005 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
84006 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
84007 __fstatat64 macros.
84008 * include/dirent.h: Add libc_hidden_proto for rewinddir.
84009 * dirent/rewinddir.c: Add libc_hidden_def.
84010 * sysdeps/mach/hurd/rewinddir.c: Likewise.
84011 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
84012
84013 * include/dirent.h (__alloc_dir): Add flags parameter.
84014 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
84015 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
84016 __alloc_dir.
84017 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
84018 from fdopendir if O_CLOEXEC is already set.
84019
84020 2011-03-15 Alan Modra <amodra@gmail.com>
84021
84022 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
84023 l_tls_firstbyte_offset non-zero. Save padding offset in
84024 l_tls_firstbyte_offset for later use.
84025 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
84026 freeing static tls block.
84027
84028 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
84029
84030 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
84031 where #ifdef was intended. The intent is to prevent ARG_MAX from
84032 being defined by the kernel headers.
84033
84034 2011-05-07 Ulrich Drepper <drepper@gmail.com>
84035
84036 [BZ #12734]
84037 * resolv/resolv.h: Define RES_NOTLDQUERY.
84038 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
84039 no-tld-query and set RES_NOTLDQUERY.
84040 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
84041 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
84042 modern BIND to search name as TLD unless forbidden.
84043
84044 2011-05-07 Petr Baudis <pasky@suse.cz>
84045 Ulrich Drepper <drepper@gmail.com>
84046
84047 [BZ #12393]
84048 * elf/dl-load.c (fillin_rpath): Move trusted path check...
84049 (is_trusted_path): ...to here.
84050 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
84051 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
84052 using is_trusted_path_normalize() in setuid scripts.
84053
84054 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
84055
84056 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
84057 __BEGIN/__END_DECLS.
84058
84059 2011-05-06 Ulrich Drepper <drepper@gmail.com>
84060
84061 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
84062 NSS_STATUS_NOTFOUND if no record was found.
84063
84064 2011-05-05 Andreas Schwab <schwab@redhat.com>
84065
84066 * sunrpc/Makefile (headers): Add rpc/netdb.h.
84067 (headers-not-in-tirpc): Remove rpc/netdb.h
84068 * resolv/netdb.h: Revert last change.
84069
84070 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
84071
84072 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
84073 circular dependency between libgcc.a and libc.a.
84074
84075 2011-05-05 Andreas Schwab <schwab@redhat.com>
84076
84077 * resolv/netdb.h: Don't include <rpc/netdb.h>.
84078 * nis/Makefile: Don't install rpcsvc/*.
84079 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
84080 instead of <rpc/types.h>.
84081 (MAXHOSTNAMELEN): Define.
84082
84083 2011-05-03 Andreas Schwab <schwab@redhat.com>
84084
84085 * elf/ldconfig.c (add_dir): Don't crash on empty path.
84086
84087 2011-04-28 Maciej Babinski <mbabinski@google.com>
84088
84089 [BZ #12714]
84090 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
84091 gethostbyname4_r when IPv6 results are possible.
84092
84093 2011-05-02 Ulrich Drepper <drepper@gmail.com>
84094
84095 [BZ #12723]
84096 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
84097 _PC_PIPE_BUF handling.
84098
84099 2011-04-30 Bruno Haible <bruno@clisp.org>
84100
84101 [BZ #12717]
84102 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
84103 * resolv/netdb.h (getnameinfo): Change type of flags parameter
84104 to 'int'.
84105 * inet/getnameinfo.c (getnameinfo): Likewise.
84106
84107 2011-04-29 Ulrich Drepper <drepper@gmail.com>
84108
84109 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
84110 to groups setting in database lookup.
84111 * nss/nsswitch.conf: Add initgroups entry.
84112
84113 2011-04-22 Ulrich Drepper <drepper@gmail.com>
84114
84115 [BZ #12685]
84116 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
84117 mode string.
84118 Patch by Eric Blake <eblake@redhat.com>.
84119
84120 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
84121
84122 * sunrpc/Makefile (need-export-routines): Add svc_run.
84123 (routines): Remove svc_run.
84124 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
84125 * sunrpc/clnt_perr.c (clnt_perrno): Export.
84126 * sunrpc/svc_run.c (svc_run): Likewise.
84127 * sunrpc/svc_udp.c (svcudp_create): Likewise.
84128
84129 2011-04-21 Ulrich Drepper <drepper@gmail.com>
84130
84131 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
84132 problem in reallocation in last patch.
84133
84134 2011-04-20 Ulrich Drepper <drepper@gmail.com>
84135
84136 * sunrpc/Makefile: Move inclusion of Rules.
84137
84138 2011-04-19 Ulrich Drepper <drepper@gmail.com>
84139
84140 * nss/nss_files/files-initgroups.c: New file.
84141 * nss/Makefile (libnss_files-routines): Add files-initgroups.
84142 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
84143 _nss_files_initgroups_dyn.
84144
84145 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
84146
84147 * elf/elf.h (R_ARM_IRELATIVE): Define.
84148
84149 2011-04-19 Ulrich Drepper <drepper@gmail.com>
84150
84151 * po/ru.po: Update from translation team.
84152
84153 2011-04-17 Ulrich Drepper <drepper@gmail.com>
84154
84155 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
84156 dependencies.
84157
84158 2011-02-06 Mike Frysinger <vapier@gentoo.org>
84159
84160 [BZ #12653]
84161 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
84162 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
84163 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
84164 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
84165 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
84166
84167 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
84168
84169 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
84170 differing bytes.
84171 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
84172 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
84173 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
84174
84175 2011-04-17 Ulrich Drepper <drepper@gmail.com>
84176
84177 [BZ #12420]
84178 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
84179 storing it.
84180 * stdlib/bug-getcontext.c: New file.
84181 * stdlib/Makefile: Add rules to build and run bug-getcontext.
84182
84183 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84184
84185 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
84186 instructions into .machine "z9-109".
84187 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
84188 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
84189
84190 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84191
84192 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
84193 between environment variables and auxiliary vector.
84194
84195 2011-04-16 Ulrich Drepper <drepper@gmail.com>
84196
84197 * Makefile: Add rules to build linkobj/libc.so.
84198 * include/libc-symbols.h: Define libc_hidden_nolink.
84199 * include/rpc/auth.h: Mark functions which are to be hidden.
84200 * include/rpc/auth_des.h: Likewise.
84201 * include/rpc/auth_unix.h: Likewise.
84202 * include/rpc/clnt.h: Likewise.
84203 * include/rpc/des_crypt.h: Likewise.
84204 * include/rpc/key_prot.h: Likewise.
84205 * include/rpc/pmap_clnt.h: Likewise.
84206 * include/rpc/pmap_prot.h: Likewise.
84207 * include/rpc/pmap_rmt.h: Likewise.
84208 * include/rpc/rpc_msg.h: Likewise.
84209 * include/rpc/svc.h: Likewise.
84210 * include/rpc/svc_auth.h: Likewise.
84211 * include/rpc/xdr.h: Likewise.
84212 * nis/Makefile: Link all DSOs against linkobj/libc.so.
84213 * nss/Makefile: Likewise.
84214 * sunrpc/Makefile: Don't install headers. Build library with normal
84215 entry points. Don't build rpcinfo. Link RPC tests appropriately.
84216 * sunrpc/auth_des.c: Hide exported symbols by default, export some
84217 for the compat linking library. Remove use of INTDEF/INTUSE.
84218 * sunrpc/auth_none.c: Likewise.
84219 * sunrpc/auth_unix.c: Likewise.
84220 * sunrpc/authdes_prot.c: Likewise.
84221 * sunrpc/authuxprot.c: Likewise.
84222 * sunrpc/clnt_gen.c: Likewise.
84223 * sunrpc/clnt_perr.c: Likewise.
84224 * sunrpc/clnt_raw.c: Likewise.
84225 * sunrpc/clnt_simp.c: Likewise.
84226 * sunrpc/clnt_tcp.c: Likewise.
84227 * sunrpc/clnt_udp.c: Likewise.
84228 * sunrpc/clnt_unix.c: Likewise.
84229 * sunrpc/des_crypt.c: Likewise.
84230 * sunrpc/des_soft.c: Likewise.
84231 * sunrpc/get_myaddr.c: Likewise.
84232 * sunrpc/key_call.c: Likewise.
84233 * sunrpc/key_prot.c: Likewise.
84234 * sunrpc/netname.c: Likewise.
84235 * sunrpc/pm_getmaps.c: Likewise.
84236 * sunrpc/pm_getport.c: Likewise.
84237 * sunrpc/pmap_clnt.c: Likewise.
84238 * sunrpc/pmap_prot.c: Likewise.
84239 * sunrpc/pmap_prot2.c: Likewise.
84240 * sunrpc/pmap_rmt.c: Likewise.
84241 * sunrpc/publickey.c: Likewise.
84242 * sunrpc/rpc_cmsg.c: Likewise.
84243 * sunrpc/rpc_common.c: Likewise.
84244 * sunrpc/rpc_dtable.c: Likewise.
84245 * sunrpc/rpc_prot.c: Likewise.
84246 * sunrpc/rpc_thread.c: Likewise.
84247 * sunrpc/rtime.c: Likewise.
84248 * sunrpc/svc.c: Likewise.
84249 * sunrpc/svc_auth.c: Likewise.
84250 * sunrpc/svc_authux.c: Likewise.
84251 * sunrpc/svc_raw.c: Likewise.
84252 * sunrpc/svc_run.c: Likewise.
84253 * sunrpc/svc_simple.c: Likewise.
84254 * sunrpc/svc_tcp.c: Likewise.
84255 * sunrpc/svc_udp.c: Likewise.
84256 * sunrpc/svc_unix.c: Likewise.
84257 * sunrpc/svcauth_des.c: Likewise.
84258 * sunrpc/xcrypt.c: Likewise.
84259 * sunrpc/xdr.c: Likewise.
84260 * sunrpc/xdr_array.c: Likewise.
84261 * sunrpc/xdr_float.c: Likewise.
84262 * sunrpc/xdr_intXX_t.c: Likewise.
84263 * sunrpc/xdr_mem.c: Likewise.
84264 * sunrpc/xdr_rec.c: Likewise.
84265 * sunrpc/xdr_ref.c: Likewise.
84266 * sunrpc/xdr_sizeof.c: Likewise.
84267 * sunrpc/xdr_stdio.c: Likewise.
84268
84269 2011-04-10 Ulrich Drepper <drepper@gmail.com>
84270
84271 [BZ #12650]
84272 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
84273 * sysdeps/ia64/dl-tls.h: Likewise.
84274 * sysdeps/powerpc/dl-tls.h: Likewise.
84275 * sysdeps/s390/dl-tls.h: Likewise.
84276 * sysdeps/sh/dl-tls.h: Likewise.
84277 * sysdeps/sparc/dl-tls.h: Likewise.
84278 * sysdeps/x86_64/dl-tls.h: Likewise.
84279 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
84280
84281 2011-03-14 Andreas Schwab <schwab@redhat.com>
84282
84283 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
84284 rpath element also skip the following colon.
84285 (expand_dynamic_string_token): Add is_path parameter and pass
84286 down to DL_DST_REQUIRED and _dl_dst_substitute.
84287 (decompose_rpath): Call expand_dynamic_string_token with
84288 non-zero is_path. Ignore empty rpaths.
84289 (_dl_map_object_from_fd): Call expand_dynamic_string_token
84290 with zero is_path.
84291
84292 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
84293
84294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
84295 Make cancelable.
84296
84297 2011-04-09 Ulrich Drepper <drepper@gmail.com>
84298
84299 [BZ #12655]
84300 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
84301 Patch by Filipe David Manana <fdmanana@apache.org>.
84302
84303 2011-04-07 Andreas Schwab <schwab@redhat.com>
84304
84305 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
84306 Maintain aligned stack.
84307 (CHECK_RSP): Remove unused macro.
84308
84309 2011-04-03 Ulrich Drepper <drepper@gmail.com>
84310
84311 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
84312 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
84313
84314 2011-04-02 Ulrich Drepper <drepper@gmail.com>
84315
84316 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
84317
84318 * include/features.h: Mention __USE_XOPEN2K8 in comment.
84319
84320 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
84321
84322 [BZ #12518]
84323 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
84324 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
84325 * sysdeps/x86_64/memmove.c: New file.
84326 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
84327 (memcpy): Renamed to ...
84328 (__new_memcpy): This.
84329 (memcpy): Provide GLIBC_2_14 memcpy.
84330 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
84331 (memcpy): Provide GLIBC_2_2_5 memcpy.
84332
84333 2011-04-01 Ulrich Drepper <drepper@gmail.com>
84334
84335 [BZ #12631]
84336 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
84337
84338 2011-03-30 Andreas Schwab <schwab@redhat.com>
84339
84340 * misc/syncfs.c: New file.
84341 * misc/Makefile (routines): Add syncfs.
84342 * posix/unistd.h: Declare syncfs.
84343 * sysdeps/unix/syscalls.list: Add syncfs.
84344
84345 2011-04-01 Andreas Schwab <schwab@redhat.com>
84346
84347 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
84348 open_by_handle_at.
84349 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
84350 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84351 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84352 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84353 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84354 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
84355 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84356
84357 2011-04-01 Ulrich Drepper <drepper@gmail.com>
84358
84359 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
84360 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84361 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
84362 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84363 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84364 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84365 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84366
84367 * io/Makefile: Compile fallocate.c, fallocate64.c, and
84368 sync_file_range.c with -fexceptions.
84369 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
84370 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
84371 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
84372 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
84373 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
84374 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
84375 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
84376 sync_file_range as cancellation point
84377 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
84378 now a wrapper around __call_sync_file_range with cancellation handling.
84379 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
84380 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
84381 function name to __call_sync_file_range.
84382 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
84383 Add call_sync_file_range.
84384
84385 2011-04-01 Andreas Schwab <schwab@redhat.com>
84386
84387 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84388 bits/timex.h.
84389
84390 2011-04-01 Ulrich Drepper <drepper@gmail.com>
84391
84392 * iconv/iconv.h: Fix typo in comment.
84393 * io/fcntl.h: Likewise.
84394 * libio/stdio.h: Likewise.
84395 * posix/spawn.h: Likewise.
84396 * posix/unistd.h: Likewise.
84397 * stdlib/stdlib.h: Likewise.
84398 * time/time.h: Likewise.
84399 * wcsmbs/wchar.h: Likewise.
84400
84401 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
84402 open_by_handle): Add.
84403 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
84404 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
84405 Augment a few comments.
84406 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84407 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84408 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84409 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84410 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84411 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
84412 open_by_handle.
84413
84414 * io/fcntl.h (AT_EMPTY_PATH): Define.
84415
84416 2011-03-30 Ulrich Drepper <drepper@gmail.com>
84417
84418 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
84419 * sysdeps/unix/sysv/linux/bits/time.h: New file.
84420 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
84421 to...
84422 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
84423 * Versions.def: Add GLIBC_2.14.
84424 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
84425 Export.
84426
84427 2011-03-22 Ulrich Drepper <drepper@gmail.com>
84428
84429 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
84430 round counter.
84431 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
84432
84433 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
84434
84435 [BZ #12597]
84436 * string/test-strncmp.c (do_page_test): New function.
84437 (check2): Likewise.
84438 (test_main): Call check2.
84439 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
84440
84441 2011-03-20 Ulrich Drepper <drepper@gmail.com>
84442
84443 [BZ #12587]
84444 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
84445 Handle cache information in CPU leaf 4.
84446 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
84447
84448 2011-03-18 Ulrich Drepper <drepper@gmail.com>
84449
84450 [BZ #12583]
84451 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
84452 character representation.
84453 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
84454
84455 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
84456
84457 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
84458 END(__isnan) to END(__isnanf) to match function entry point/label
84459 EALIGN(__isnanf,...).
84460
84461 2011-03-10 Jakub Jelinek <jakub@redhat.com>
84462
84463 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
84464
84465 2011-03-10 Ulrich Drepper <drepper@gmail.com>
84466
84467 [BZ #12510]
84468 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
84469 copy from the symbol referenced in the relocation to initialize the
84470 used variable.
84471 Patch by Piotr Bury <pbury@goahead.com>.
84472 * elf/Makefile: Add rules to build and tst-unique3.
84473 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
84474 * elf/tst-unique3.cc: New file.
84475 * elf/tst-unique3.h: New file.
84476 * elf/tst-unique3lib.cc: New file.
84477 * elf/tst-unique3lib2.cc: New file.
84478
84479 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
84480
84481 2011-03-10 Mike Frysinger <vapier@gentoo.org>
84482
84483 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
84484 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
84485 to _start.
84486
84487 2011-03-06 Ulrich Drepper <drepper@gmail.com>
84488
84489 * elf/dl-load.c (_dl_map_object): If we are looking for the first
84490 to-be-loaded object along a path to loader is ld.so.
84491
84492 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
84493 Ulrich Drepper <drepper@gmail.com>
84494
84495 * sysdeps/x86_64/memset.S: After aligning destination, code
84496 branches to different locations depending on the value of
84497 misalignment, when multiarch is enabled. Fix this.
84498
84499 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
84500
84501 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
84502 Set _x86_64_preferred_memory_instruction for AMD processsors.
84503 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84504 Set bit_Prefer_SSE_for_memop for AMD processors.
84505
84506 2011-03-04 Ulrich Drepper <drepper@gmail.com>
84507
84508 * libio/fmemopen.c (fmemopen): Optimize a bit.
84509
84510 2011-03-03 Andreas Schwab <schwab@redhat.com>
84511
84512 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
84513
84514 2011-03-03 Roland McGrath <roland@redhat.com>
84515
84516 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
84517
84518 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
84519
84520 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
84521 __bzero_ultra1 instead of __memset_ultra1.
84522
84523 2011-02-23 Andreas Schwab <schwab@redhat.com>
84524 Ulrich Drepper <drepper@gmail.com>
84525
84526 [BZ #12509]
84527 * include/link.h (struct link_map): Add l_orig_initfini.
84528 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
84529 returning unsuccessfully.
84530 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
84531 close of a file loaded at startup, restore the original l_initfini
84532 list.
84533 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
84534 list, store the pointer.
84535 * elf/Makefile ($(objpfx)noload-mem): New rule.
84536 (noload-ENV): Define.
84537 (tests): Add $(objpfx)noload-mem.
84538 * elf/noload.c: Include <memcheck.h>.
84539 (main): Call mtrace. Close all opened handles.
84540
84541 2011-02-17 Andreas Schwab <schwab@redhat.com>
84542
84543 [BZ #12454]
84544 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
84545 dependencies are missing.
84546
84547 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
84548
84549 Fix __if_freereq crash: Unlike the generic version which uses free,
84550 Hurd needs munmap.
84551 * sysdeps/mach/hurd/ifreq.h: New file.
84552
84553 2011-01-27 Petr Baudis <pasky@suse.cz>
84554 Ulrich Drepper <drepper@gmail.com>
84555
84556 [BZ 12445]#
84557 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
84558 to extend_alloca().
84559 * stdio-common/bug23.c: New file.
84560 * stdio-common/Makefile (tests): Add bug23.
84561
84562 2010-09-28 Andreas Schwab <schwab@redhat.com>
84563 Ulrich Drepper <drepper@gmail.com>
84564
84565 [BZ #12489]
84566 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
84567 before performing relro protection. At old place add assertion
84568 to make sure nothing changed.
84569
84570 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
84571 Glauber de Oliveira Costa <glommer@gmail.com>
84572
84573 * elf/elf.h: Add new ARM TLS relocs.
84574
84575 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
84576
84577 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
84578 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
84579 cast from r3.
84580 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
84581 'tests' variable.
84582 * sysdeps/wordsize-64/tst-writev.c: New file.
84583
84584 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
84585
84586 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
84587 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
84588 insns in _dl_start to prevent a TOC reference before relocs are
84589 resolved.
84590
84591 2011-02-15 Ulrich Drepper <drepper@gmail.com>
84592
84593 [BZ #12469]
84594 * Makeconfig: Remove RANLIB definition.
84595 * Makerules: Don't use RANLIB.
84596 * aclocal.m4: Remove ranlib test.
84597 * configure.in: No need to check for ranlib.
84598 * elf/rtld-Rules: Don't use RANLIB.
84599
84600 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
84601
84602 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
84603 protection macro.
84604 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
84605 inclusion protection macro.
84606
84607 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
84608 SIGRTMIN and SIGRTMAX and print information in that case only when
84609 SIGRTMIN is defined.
84610
84611 2011-02-11 Jakub Jelinek <jakub@redhat.com>
84612
84613 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
84614 arginfo fn returning -1.
84615
84616 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
84617 and thousands string is zero terminated.
84618
84619 2011-02-03 Andreas Schwab <schwab@redhat.com>
84620
84621 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
84622 sysdeps/unix/sysv/linux/bits/socket.h.
84623
84624 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
84625
84626 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
84627 (__CPU_COUNT): Remove old macros.
84628 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
84629 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
84630 (__CPU_ALLOC, __CPU_FREE): Add macros.
84631 (__sched_cpualloc, __sched_cpufree): Add declarations.
84632
84633 2011-02-05 Ulrich Drepper <drepper@gmail.com>
84634
84635 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
84636 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
84637 * nscd/aicache.c (addhstaiX): Return timeout of added value.
84638 (readdhstai): Return value of addhstaiX call.
84639 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
84640 (addgrbyX): Return value returned by cache_addgr.
84641 (readdgrbyname): Return value returned by addgrbyX.
84642 (readdgrbygid): Likewise.
84643 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
84644 (addpwbyX): Return value returned by cache_addpw.
84645 (readdpwbyname): Return value returned by addhstbyX.
84646 (readdpwbyuid): Likewise.
84647 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
84648 (addservbyX): Return value returned by cache_addserv.
84649 (readdservbyname): Return value returned by addservbyX:
84650 (readdservbyport): Likewise.
84651 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
84652 (addhstbyX): Return value returned by cache_addhst.
84653 (readdhstbyname): Return value returned by addhstbyX.
84654 (readdhstbyaddr): Likewise.
84655 (readdhstbynamev6): Likewise.
84656 (readdhstbyaddrv6): Likewise.
84657 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
84658 (readdinitgroups): Return value returned by addinitgroupsX.
84659 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
84660 (prune_cache): Keep track of timeout value of re-added entries.
84661 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
84662 * nscd/nscd.h: Adjust prototypes of readd* functions.
84663
84664 2011-02-04 Roland McGrath <roland@redhat.com>
84665
84666 * nis/nis_server.c (nis_servstate): Use the right name for 0.
84667 (nis_stats): Likewise.
84668 * nis/nis_modify.c (nis_modify): Likewise.
84669 * nis/nis_remove.c (nis_remove): Likewise.
84670 * nis/nis_add.c (nis_add): Likewise.
84671
84672 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
84673
84674 * posix/fnmatch_loop.c: Add some consts.
84675
84676 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
84677
84678 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
84679
84680 [BZ #12460]
84681 * config.make.in (config-cflags-novzeroupper): Define.
84682 * configure.in: Substitute libc_cv_cc_novzeroupper.
84683 * elf/Makefile (AVX-CFLAGS): Define.
84684 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
84685 (CFLAGS-tst-auditmod4a.c): Likewise.
84686 (CFLAGS-tst-auditmod4b.c): Likewise.
84687 (CFLAGS-tst-auditmod6b.c): Likewise.
84688 (CFLAGS-tst-auditmod6c.c): Likewise.
84689 (CFLAGS-tst-auditmod7b.c): Likewise.
84690 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
84691
84692 2011-02-02 Ulrich Drepper <drepper@gmail.com>
84693
84694 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
84695 function to the callback.
84696 Patch partly by Jiri Olsa <jolsa@redhat.com>.
84697
84698 2011-02-02 Andreas Schwab <schwab@redhat.com>
84699
84700 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
84701 of errno.
84702
84703 2011-01-19 Ulrich Drepper <drepper@gmail.com>
84704
84705 [BZ #11724]
84706 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
84707 of constructors.
84708 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
84709 of destructors.
84710 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
84711
84712 [BZ #11724]
84713 * elf/Makefile: Add rules to build and run new test.
84714 * elf/tst-initorder.c: New file.
84715 * elf/tst-initorder.exp: New file.
84716 * elf/tst-initordera1.c: New file.
84717 * elf/tst-initordera2.c: New file.
84718 * elf/tst-initordera3.c: New file.
84719 * elf/tst-initordera4.c: New file.
84720 * elf/tst-initorderb1.c: New file.
84721 * elf/tst-initorderb2.c: New file.
84722 * elf/tst-order-a1.c: New file.
84723 * elf/tst-order-a2.c: New file.
84724 * elf/tst-order-a3.c: New file.
84725 * elf/tst-order-a4.c: New file.
84726 * elf/tst-order-b1.c: New file.
84727 * elf/tst-order-b2.c: New file.
84728 * elf/tst-order-main.c: New file.
84729 New test case by George Gensure <werkt0@gmail.com>.
84730
84731 2010-10-01 Andreas Schwab <schwab@redhat.com>
84732
84733 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
84734 decoding ACE if AI_CANONIDN.
84735
84736 2011-01-18 Ulrich Drepper <drepper@gmail.com>
84737
84738 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
84739
84740 2011-01-17 Ulrich Drepper <drepper@gmail.com>
84741
84742 * version.h (RELEASE): Bump for 2.13 release.
84743 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
84744
84745 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
84746
84747 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
84748 MADV_NOHUGEPAGE.
84749 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
84750 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
84751 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
84752 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
84753 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
84754 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84755
84756 * posix/getconf.c: Update copyright year.
84757 * catgets/gencat.c: Likewise.
84758 * csu/version.c: Likewise.
84759 * debug/catchsegv.sh: Likewise.
84760 * debug/xtrace.sh: Likewise.
84761 * elf/ldconfig.c: Likewise.
84762 * elf/ldd.bash.in: Likewise.
84763 * elf/sprof.c (print_version): Likewise.
84764 * iconv/iconv_prog.c: Likewise.
84765 * iconv/iconvconfig.c: Likewise.
84766 * locale/programs/locale.c: Likewise.
84767 * locale/programs/localedef.c: Likewise.
84768 * malloc/memusage.sh: Likewise.
84769 * malloc/mtrace.pl: Likewise.
84770 * nscd/nscd.c (print_version): Likewise.
84771 * nss/getent.c: Likewise.
84772
84773 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
84774 PF_CAIF, and PF_ALG.
84775 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84776
84777 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
84778
84779 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
84780 (modules-names): Use them.
84781 (ifunc-test-modules, ifunc-pie-tests): Define.
84782 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
84783 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
84784 (test-extras): Likewise.
84785 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
84786 $(compile-command.c).
84787 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
84788 (all-built-dso): Define.
84789 (check-textrel.out, check-execstack.out): Depend on it.
84790
84791 * configure.in: Don't override --enable-multi-arch.
84792
84793 2011-01-15 Ulrich Drepper <drepper@gmail.com>
84794
84795 [BZ #6812]
84796 * nscd/hstcache.c (tryagain): Define.
84797 (cache_addhst): Return tryagain not notfound for temporary errors.
84798 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
84799 failed.
84800
84801 2011-01-14 Ulrich Drepper <drepper@gmail.com>
84802
84803 [BZ #10563]
84804 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
84805 to make the syscall.
84806 * sysdeps/unix/sysv/linux/setgroups.c: New file.
84807
84808 [BZ #12378]
84809 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
84810 and fall back to matching as normal character if the string ends before
84811 the matching ']' is found. This is what POSIX requires.
84812 * posix/testfnm.c: Adjust test result.
84813 * posix/globtest.sh: Adjust test result. Add new test.
84814 * posix/tst-fnmatch.input: Likewise.
84815 * posix/tst-fnmatch2.c: Add new test.
84816
84817 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
84818
84819 * elf/Makefile (check-execstack): Revert last change. Depend on
84820 check-execstack.h.
84821 (check-execstack.h): New target.
84822 (generated): Add check-execstack.h.
84823 * elf/check-execstack.c: Include "check-execstack.h".
84824 (main): Revert last change.
84825 (handle_file): Return zero if GNU_STACK is absent and
84826 DEFAULT_STACK_PERMS doesn't include PF_X.
84827
84828 2011-01-13 Ulrich Drepper <drepper@gmail.com>
84829
84830 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
84831 in child fails because the descriptor is already closed.
84832 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
84833 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
84834 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
84835
84836 [BZ #12397]
84837 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
84838 syscall.
84839
84840 [BZ #10484]
84841 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
84842 temporary buffer used to handle multi lookups locally.
84843 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
84844
84845 2011-01-12 Ulrich Drepper <drepper@gmail.com>
84846
84847 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
84848 loader is ld.so.
84849
84850 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
84851
84852 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
84853 alignment for SSE2.
84854
84855 2011-01-12 Ulrich Drepper <drepper@gmail.com>
84856
84857 [BZ #12394]
84858 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
84859 characters. When rounding increased number of integer digits recompute
84860 number of groups.
84861 * stdio-common/tst-grouping.c: New file.
84862 * stdio-common/Makefile: Add rules to build and run tst-grouping.
84863
84864 2011-01-09 Ulrich Drepper <drepper@gmail.com>
84865
84866 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
84867 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
84868
84869 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
84870 void.
84871 * bits/select.h: Likewise.
84872
84873 2011-01-08 Ulrich Drepper <drepper@gmail.com>
84874
84875 * po/ja.po: Update from translation team.
84876
84877 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
84878
84879 [BZ #11155]
84880 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
84881 implementation just like for lxstat, fxstatat, et al.
84882
84883 2010-12-27 Jim Meyering <meyering@redhat.com>
84884
84885 [BZ #12348]
84886 * posix/regexec.c (build_trtable): Return failure indication upon
84887 calloc failure. Otherwise, re_search_internal could infloop on OOM.
84888
84889 2010-12-25 Ulrich Drepper <drepper@gmail.com>
84890
84891 [BZ #12201]
84892 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
84893 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
84894 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
84895 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
84896
84897 [BZ #12207]
84898 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
84899
84900 [BZ #12204]
84901 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
84902 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
84903
84904 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
84905
84906 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
84907 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
84908 script has SORT_BY_INIT_PRIORITY.
84909 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
84910 NO_CTORS_DTORS_SECTIONS is defined.
84911 * elf/soinit.c: Likewise.
84912 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
84913 NO_CTORS_DTORS_SECTIONS is defined.
84914 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
84915 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
84916 * sysdeps/sh/init-first.c: Likewise.
84917 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
84918
84919 2010-12-24 Ulrich Drepper <drepper@gmail.com>
84920
84921 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
84922 always use the slow path.
84923
84924 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
84925
84926 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
84927 similar rule which adds the sysdep directories to the header search in
84928 order to pick up the correct platform stackinfo.h.
84929 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
84930 perform test if it is, otherwise return successfully without testing.
84931 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
84932 DEFAULT_STACK_PERMS define in stackinfo.h.
84933 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
84934 defined in stackinfo.h.
84935 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
84936 DEFAULT_STACK_PERMS defined in stackinfo.h.
84937 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
84938 * sysdeps/ia64/stackinfo.h: Likewise.
84939 * sysdeps/s390/stackinfo.h: Likewise.
84940 * sysdeps/sh/stackinfo.h: Likewise.
84941 * sysdeps/sparc/stackinfo.h: Likewise.
84942 * sysdeps/x86_64/stackinfo.h: Likewise.
84943 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
84944 PF_X for powerpc64. Retain PF_X for powerpc32.
84945
84946 2010-12-19 Ulrich Drepper <drepper@gmail.com>
84947
84948 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
84949 accurately.
84950 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
84951 GETDENTS_64BIT_ALIGNED.
84952
84953 2010-12-14 Ulrich Drepper <dreper@gmail.com>
84954
84955 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
84956
84957 2010-12-10 Andreas Schwab <schwab@redhat.com>
84958
84959 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
84960 _GNU_SOURCE.
84961
84962 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
84963 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
84964 Remove __restrict.
84965 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
84966 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
84967
84968 2010-12-09 Ulrich Drepper <drepper@gmail.com>
84969
84970 [BZ #11655]
84971 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
84972 are initialized.
84973
84974 2010-12-09 Jakub Jelinek <jakub@redhat.com>
84975
84976 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
84977
84978 2010-12-03 Ulrich Drepper <drepper@gmail.com>
84979
84980 * po/it.po: Update from translation team.
84981
84982 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
84983
84984 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
84985 unused codes.
84986
84987 2010-11-30 Ulrich Drepper <drepper@gmail.com>
84988
84989 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
84990
84991 2010-11-24 Andreas Schwab <schwab@redhat.com>
84992
84993 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
84994 specially.
84995 (gaih_getanswer_slice): Likewise.
84996
84997 2010-10-20 Jakub Jelinek <jakub@redhat.com>
84998
84999 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
85000
85001 2010-05-31 Petr Baudis <pasky@suse.cz>
85002
85003 [BZ #11149]
85004 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
85005 silently even in the chroot mode.
85006
85007 2010-11-22 Ulrich Drepper <drepper@gmail.com>
85008
85009 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
85010 last patch a bit. Pretty printing
85011
85012 2010-05-31 Petr Baudis <pasky@suse.cz>
85013
85014 [BZ #10085]
85015 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
85016 initialization of skip_initgroups_dyn.
85017
85018 2010-11-19 Ulrich Drepper <drepper@gmail.com>
85019
85020 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
85021 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
85022
85023 2010-11-16 Ulrich Drepper <drepper@gmail.com>
85024
85025 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
85026
85027 2010-11-11 Andreas Schwab <schwab@redhat.com>
85028
85029 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
85030 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
85031 (tst-fnmatch-ENV): Set MALLOC_TRACE.
85032 ($(objpfx)tst-fnmatch-mem): New rule.
85033 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
85034 * posix/tst-fnmatch.c (main): Call mtrace.
85035
85036 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
85037
85038 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85039 Support Intel processor model 6 and model 0x2c.
85040
85041 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
85042
85043 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
85044 signed comparison.
85045
85046 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
85047
85048 [BZ #12205]
85049 * string/test-strncasecmp.c (check_result): New function.
85050 (do_one_test): Use it.
85051 (check1): New function.
85052 (test_main): Use it.
85053 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
85054 Support strcasecmp and strncasecmp.
85055
85056 2010-11-08 Ulrich Drepper <drepper@gmail.com>
85057
85058 [BZ #12194]
85059 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
85060 * sysdeps/x86_64/bits/byteswap.h: Likewise.
85061
85062 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
85063
85064 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
85065 IFUNC support.
85066 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85067 memset-x86-64.
85068 * sysdeps/x86_64/multiarch/bzero.S: New file.
85069 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
85070 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
85071 * sysdeps/x86_64/multiarch/memset.S: New file.
85072 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
85073 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85074 Set bit_Prefer_SSE_for_memop for Intel processors.
85075 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
85076 Define.
85077 (index_Prefer_SSE_for_memop): Define.
85078 (HAS_PREFER_SSE_FOR_MEMOP): Define.
85079
85080 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
85081
85082 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
85083 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
85084
85085 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
85086
85087 [BZ #12191]
85088 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
85089 (__x86_64_raw_data_cache_size_half): Likewise.
85090 (__x86_64_raw_shared_cache_size): Likewise.
85091 (__x86_64_raw_shared_cache_size_half): Likewise.
85092
85093 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
85094 (__x86_64_raw_data_cache_size_half): Likewise.
85095 (__x86_64_raw_shared_cache_size): Likewise.
85096 (__x86_64_raw_shared_cache_size_half): Likewise.
85097 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
85098 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
85099 and __x86_64_raw_shared_cache_size_half. Round
85100 __x86_64_data_cache_size_half, __x86_64_data_cache_size
85101 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
85102 to multiple of 256 bytes.
85103
85104 2010-11-03 Ulrich Drepper <drepper@gmail.com>
85105
85106 [BZ #12167]
85107 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
85108 of inacessible symlinks. Verify result of symlink before returning it.
85109 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
85110 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
85111
85112 2010-10-28 Erich Ritz <erichritz@gmail.com>
85113
85114 * math/math.h (isinf): Fix typo in comment.
85115
85116 2010-11-01 Ulrich Drepper <drepper@gmail.com>
85117
85118 * po/da.po: Update from translation team.
85119
85120 2010-10-26 Ulrich Drepper <drepper@gmail.com>
85121
85122 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
85123 is added to the list.
85124
85125 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
85126 Ulrich Drepper <drepper@gmail.com>
85127
85128 * elf/dl-object.c (_dl_new_object): Don't append the new object to
85129 the global list here. Move code to...
85130 (_dl_add_to_namespace_list): ...here. New function.
85131 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
85132 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
85133 * elf/dl-load.c (lose): Don't remove the element from the list.
85134 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
85135 (_dl_map_object): Likewise.
85136
85137 2010-10-25 Ulrich Drepper <drepper@gmail.com>
85138
85139 [BZ #12159]
85140 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
85141 into all bytes of SSE register.
85142 Patch by Richard Li <richardpku@gmail.com>.
85143
85144 2010-10-24 Ulrich Drepper <drepper@gmail.com>
85145
85146 [BZ #12140]
85147 * malloc/malloc.c (_int_free): Fill correct number of bytes when
85148 perturbing.
85149
85150 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
85151
85152 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
85153 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
85154 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
85155 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
85156 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
85157 submachine.
85158 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
85159
85160 2010-10-22 Andreas Schwab <schwab@redhat.com>
85161
85162 * include/dlfcn.h (__RTLD_SECURE): Define.
85163 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
85164 mode & __RTLD_SECURE instead.
85165 (open_path): Rename preloaded parameter to secure.
85166 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
85167 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
85168 * elf/dl-deps.c (openaux): Likewise.
85169 * elf/rtld.c (struct map_args): Remove is_preloaded.
85170 (map_doit): Don't use it.
85171 (dl_main): Likewise.
85172 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
85173 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
85174
85175 2010-09-09 Andreas Schwab <schwab@redhat.com>
85176
85177 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
85178 (sysd-rules-targets): Remove duplicates.
85179 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
85180 rtld-%.$o dependency.
85181
85182 2010-10-18 Andreas Schwab <schwab@redhat.com>
85183
85184 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
85185 _dl_map_object do it.
85186
85187 2010-10-19 Ulrich Drepper <drepper@gmail.com>
85188
85189 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
85190 fast fma builtins, define the macros in the C99 standard.
85191 (FP_FAST_FMAF): Likewise.
85192 (FP_FAST_FMAL): Likewise.
85193 * sysdeps/x86_64/bits/mathdef.h: Likewise.
85194
85195 * bits/mathdef.h: Update copyright year.
85196 * sysdeps/powerpc/bits/mathdef.h: Likewise.
85197
85198 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
85199
85200 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
85201 builtins, define the macros in the C99 standard.
85202 (FP_FAST_FMAF): Likewise.
85203 (FP_FAST_FMAL): Likewise.
85204 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
85205 multiply/add.
85206 (FP_FAST_FMAF): Likewise.
85207
85208 2010-10-15 Jakub Jelinek <jakub@redhat.com>
85209
85210 [BZ #3268]
85211 * math/libm-test.inc (fma_test): Some new testcases.
85212 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
85213 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
85214 y and infinite z. Do multiplication by C already in long double.
85215 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
85216 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
85217 y and infinite z. Do bitwise or of inexact bit into u.d.
85218 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
85219 * sysdeps/i386/fpu/s_fmaf.S: Removed.
85220 * sysdeps/i386/fpu/s_fma.S: Removed.
85221 * sysdeps/i386/fpu/s_fmal.S: Removed.
85222
85223 2010-10-16 Jakub Jelinek <jakub@redhat.com>
85224
85225 [BZ #3268]
85226 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
85227 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
85228 computation is not scheduled after fetestexcept. Fix value
85229 of minimum denormal long double.
85230
85231 2010-10-14 Jakub Jelinek <jakub@redhat.com>
85232
85233 [BZ #3268]
85234 * math/libm-test.inc (fma_test): Add some more tests.
85235 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
85236 correctly.
85237
85238 2010-10-15 Andreas Schwab <schwab@redhat.com>
85239
85240 * scripts/data/localplt-s390-linux-gnu.data: New file.
85241 * scripts/data/localplt-s390x-linux-gnu.data: New file.
85242
85243 2010-10-13 Jakub Jelinek <jakub@redhat.com>
85244
85245 [BZ #3268]
85246 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
85247 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
85248 instead of dbl-64.
85249 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
85250 inlines.
85251 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
85252 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
85253 if one of x and y is very large and the other is subnormal.
85254 * sysdeps/s390/fpu/s_fmaf.c: New file.
85255 * sysdeps/s390/fpu/s_fma.c: New file.
85256 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
85257 * sysdeps/powerpc/fpu/s_fma.S: New file.
85258 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
85259 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
85260 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
85261
85262 2010-10-12 Jakub Jelinek <jakub@redhat.com>
85263
85264 [BZ #3268]
85265 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
85266 fma tests.
85267 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
85268 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
85269 * sysdeps/i386/i686/multiarch/s_fma.c: Include
85270 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
85271 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
85272 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
85273 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
85274
85275 2010-10-12 Ulrich Drepper <drepper@redhat.com>
85276
85277 [BZ #12078]
85278 * posix/regcomp.c (parse_branch): One more memory leak plugged.
85279 * posix/bug-regex31.input: Add test case.
85280
85281 2010-10-11 Ulrich Drepper <drepper@gmail.com>
85282
85283 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
85284 * posix/bug-regex31.input: New file.
85285
85286 [BZ #12078]
85287 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
85288 (parse_sub_exp): Fix last change, use postorder.
85289
85290 * posix/bug-regex31.c: New file.
85291 * posix/Makefile: Add rules to build and run bug-regex31.
85292
85293 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
85294
85295 [BZ #12078]
85296 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
85297
85298 [BZ #12108]
85299 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
85300 to have entries in sys_siglist.
85301
85302 [BZ #12093]
85303 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
85304 be NULL.
85305
85306 2010-10-07 Jakub Jelinek <jakub@redhat.com>
85307
85308 [BZ #3268]
85309 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
85310 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
85311 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
85312 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
85313 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
85314 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
85315 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
85316 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
85317 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
85318 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
85319 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
85320 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
85321 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
85322 * math/ftestexcept.c (fetestexcept): Likewise.
85323 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
85324 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
85325 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
85326 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
85327 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
85328 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
85329 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
85330
85331 2010-10-11 Ulrich Drepper <drepper@gmail.com>
85332
85333 [BZ #12107]
85334 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
85335 newline.
85336
85337 2010-10-06 Ulrich Drepper <drepper@gmail.com>
85338
85339 * string/bug-strstr1.c: New file.
85340 * string/Makefile: Add rules to build and run bug-strstr1.
85341
85342 2010-10-05 Eric Blake <eblake@redhat.com>
85343
85344 [BZ #12092]
85345 * string/str-two-way.h (two_way_long_needle): Always clear memory
85346 when skipping input due to the shift table.
85347
85348 2010-10-03 Ulrich Drepper <drepper@gmail.com>
85349
85350 [BZ #12005]
85351 * malloc/mcheck.c: Handle large requests.
85352
85353 [BZ #12077]
85354 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
85355 for strncmp and strncasecmp.
85356 * string/stratcliff.c: Add tests for strcmp and strncmp.
85357 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
85358
85359 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85360
85361 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
85362 __set_fpscr.
85363
85364 2010-09-30 Andreas Jaeger <aj@suse.de>
85365
85366 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
85367 (CGROUP_SUPER_MAGIC): Define.
85368 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85369 Handle btrfs and cgroup file systems.
85370 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
85371 Likewise.
85372
85373 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
85374
85375 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
85376 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
85377
85378 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
85379
85380 [BZ #12067]
85381 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
85382 trying to locate the ELF header.
85383
85384 2010-09-27 Andreas Schwab <schwab@redhat.com>
85385
85386 [BZ #11611]
85387 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
85388 Mask out sign-bit copies when constructing f_fsid.
85389
85390 2010-09-24 Petr Baudis <pasky@suse.cz>
85391
85392 * debug/stack_chk_fail_local.c: Add missing licence exception.
85393 * debug/warning-nop.c: Likewise.
85394
85395 2010-09-15 Joseph Myers <joseph@codesourcery.com>
85396
85397 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
85398 implementing getdents64 using getdents syscall, set d_type if
85399 __ASSUME_GETDENTS32_D_TYPE.
85400
85401 2010-09-16 Andreas Schwab <schwab@redhat.com>
85402
85403 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
85404 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
85405
85406 2010-09-21 Ulrich Drepper <drepper@redhat.com>
85407
85408 [BZ #12037]
85409 * posix/unistd.h: Undo change of feature selection for ftruncate from
85410 2010-01-11.
85411
85412 2010-09-20 Ulrich Drepper <drepper@redhat.com>
85413
85414 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
85415 detection.
85416
85417 2010-09-20 Andreas Schwab <schwab@redhat.com>
85418
85419 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
85420 fanotify_mark.
85421 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85422
85423 2010-09-14 Andreas Schwab <schwab@redhat.com>
85424
85425 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
85426 variables after CHECK_SP call.
85427 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
85428
85429 2010-09-13 Andreas Schwab <schwab@redhat.com>
85430 Ulrich Drepper <drepper@redhat.com>
85431
85432 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
85433 re-relocationg ld.so.
85434 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
85435 _dl_init_paths call.
85436 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
85437 here anymore.
85438
85439 2010-09-14 Ulrich Drepper <drepper@redhat.com>
85440
85441 * resolv/res_init.c (__res_vinit): Count the default server we added.
85442
85443 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
85444 Ulrich Drepper <drepper@redhat.com>
85445
85446 [BZ #11968]
85447 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
85448 (____longjmp_chk): Use %ebx for saving value across system call.
85449 Add unwind info.
85450
85451 2010-09-06 Andreas Schwab <schwab@redhat.com>
85452
85453 * manual/Makefile: Don't mix pattern rules with normal rules.
85454
85455 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
85456
85457 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
85458 operation.
85459 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
85460 * libio/iofopncook.c (_IO_cookie_init): Likewise.
85461 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
85462 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
85463 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85464 Likewise.
85465
85466 2010-09-04 Ulrich Drepper <drepper@redhat.com>
85467
85468 [BZ #11979]
85469 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
85470 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
85471
85472 2010-09-02 Ulrich Drepper <drepper@redhat.com>
85473
85474 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
85475 * sysdeps/x86_64/addmul_1.S: Likewise.
85476 * sysdeps/x86_64/lshift.S: Likewise.
85477 * sysdeps/x86_64/mul_1.S: Likewise.
85478 * sysdeps/x86_64/rshift.S: Likewise.
85479 * sysdeps/x86_64/sub_n.S: Likewise.
85480 * sysdeps/x86_64/submul_1.S: Likewise.
85481
85482 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
85483
85484 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
85485 Define __sched_param instead of SCHED_* and sched_param when
85486 <bits/sched.h> is included with __need_schedparam defined.
85487 * bits/sched.h [__need_schedparam]
85488 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
85489 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
85490 (__defined_schedparam): Define to 1.
85491 (__sched_param): New structure, identical to sched_param.
85492 (__need_schedparam): Undefine.
85493
85494 2010-08-31 Mike Frysinger <vapier@gentoo.org>
85495
85496 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
85497 (epoll_create1): Declare.
85498
85499 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
85500
85501 2010-08-31 Andreas Schwab <schwab@redhat.com>
85502
85503 [BZ #7066]
85504 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
85505 shifting retval into place.
85506
85507 2010-09-01 Ulrich Drepper <drepper@redhat.com>
85508
85509 * nis/rpcsvc/nis.h: Update copyright notice.
85510 * nis/rpcsvc/nis.x: Likewise.
85511 * nis/rpcsvc/nis_callback.h: Likewise.
85512 * nis/rpcsvc/nis_callback.x: Likewise.
85513 * nis/rpcsvc/nis_object.x: Likewise.
85514 * nis/rpcsvc/nis_tags.h: Likewise.
85515 * nis/rpcsvc/yp.h: Likewise.
85516 * nis/rpcsvc/yp.x: Likewise.
85517 * nis/rpcsvc/ypupd.h: Likewise.
85518 * nis/yp_xdr.c: Likewise.
85519 * nis/ypupdate_xdr.c: Likewise.
85520
85521 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
85522 mainly the body of pmap_getport. Add parameters to specify timeouts.
85523 (pmap_getport): Use __libc_rpc_getport.
85524 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
85525 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
85526 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
85527
85528 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
85529
85530 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
85531 fanotify_mark.
85532
85533 2010-08-27 Roland McGrath <roland@redhat.com>
85534
85535 * sysdeps/i386/i686/multiarch/Makefile
85536 (CFLAGS-varshift.c): New variable.
85537
85538 2010-08-27 Ulrich Drepper <drepper@redhat.com>
85539
85540 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
85541 * sysdeps/i386/i686/multiarch/varshift.c: New file.
85542
85543 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
85544
85545 * sysdeps/x86_64/strlen.S: Minimal code improvement.
85546
85547 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
85548
85549 * sysdeps/x86_64/strlen.S: Unroll the loop.
85550 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85551 strlen-sse2 strlen-sse2-bsf.
85552 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
85553 __strlen_no_bsf if bit_Slow_BSF is set.
85554 (__strlen_sse42): Removed.
85555 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
85556 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
85557
85558 2010-08-25 Roland McGrath <roland@redhat.com>
85559
85560 * sysdeps/x86_64/multiarch/varshift.S: File removed.
85561 * sysdeps/x86_64/multiarch/varshift.c: New file.
85562 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
85563 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
85564 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
85565 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
85566
85567 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
85568
85569 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85570 strlen-sse2 strlen-sse2-bsf.
85571 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
85572 __strlen_sse2_bsf if bit_Slow_BSF is unset.
85573 (__strlen_sse2): Removed.
85574 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
85575 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
85576 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
85577 bit_Slow_BSF for Atom.
85578 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
85579 (index_Slow_BSF): Define.
85580 (HAS_SLOW_BSF): Define.
85581
85582 2010-08-25 Ulrich Drepper <drepper@redhat.com>
85583
85584 [BZ #10851]
85585 * resolv/res_init.c (__res_vinit): When no server address at all
85586 is given default to loopback.
85587
85588 2010-08-24 Roland McGrath <roland@redhat.com>
85589
85590 * configure.in: Remove config-name.h generation.
85591 * configure: Regenerated.
85592 * config-name.in: File removed.
85593 * scripts/config-uname.sh: New file.
85594 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
85595 ($(objdir)config-name.h): New target.
85596
85597 * sunrpc/rpc_parse.h: Avoid nested comment.
85598
85599 2010-08-24 Richard Henderson <rth@redhat.com>
85600 Ulrich Drepper <drepper@redhat.com>
85601 H.J. Lu <hongjiu.lu@intel.com>
85602
85603 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
85604 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
85605 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
85606 Replace _mm_srli_si128 with __m128i_shift_right. Replace
85607 _mm_alignr_epi8 with _mm_loadu_si128.
85608 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
85609 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
85610 (__m128i_shift_right): Removed.
85611 * sysdeps/i386/i686/multiarch/varshift.h: New file.
85612 * sysdeps/i386/i686/multiarch/varshift.S: New file.
85613 * sysdeps/x86_64/multiarch/varshift.h: New file.
85614 * sysdeps/x86_64/multiarch/varshift.S: New file.
85615
85616 2010-08-21 Mike Frysinger <vapier@gentoo.org>
85617
85618 * configure.in: Move assembler checks to before sysdep dir checking.
85619
85620 2010-08-20 Petr Baudis <pasky@suse.cz>
85621
85622 * LICENSES: Sync the sunrpc license.
85623
85624 2010-08-19 Ulrich Drepper <drepper@redhat.com>
85625
85626 * sunrpc/auth_des.c: Update copyright notice once again.
85627 * sunrpc/auth_none.c: Likewise.
85628 * sunrpc/auth_unix.c: Likewise.
85629 * sunrpc/authdes_prot.c: Likewise.
85630 * sunrpc/authuxprot.c: Likewise.
85631 * sunrpc/bindrsvprt.c: Likewise.
85632 * sunrpc/clnt_gen.c: Likewise.
85633 * sunrpc/clnt_perr.c: Likewise.
85634 * sunrpc/clnt_raw.c: Likewise.
85635 * sunrpc/clnt_simp.c: Likewise.
85636 * sunrpc/clnt_tcp.c: Likewise.
85637 * sunrpc/clnt_udp.c: Likewise.
85638 * sunrpc/clnt_unix.c: Likewise.
85639 * sunrpc/des_crypt.c: Likewise.
85640 * sunrpc/des_soft.c: Likewise.
85641 * sunrpc/get_myaddr.c: Likewise.
85642 * sunrpc/getrpcport.c: Likewise.
85643 * sunrpc/key_call.c: Likewise.
85644 * sunrpc/key_prot.c: Likewise.
85645 * sunrpc/openchild.c: Likewise.
85646 * sunrpc/pm_getmaps.c: Likewise.
85647 * sunrpc/pm_getport.c: Likewise.
85648 * sunrpc/pmap_clnt.c: Likewise.
85649 * sunrpc/pmap_prot.c: Likewise.
85650 * sunrpc/pmap_prot2.c: Likewise.
85651 * sunrpc/pmap_rmt.c: Likewise.
85652 * sunrpc/rpc/auth.h: Likewise.
85653 * sunrpc/rpc/auth_unix.h: Likewise.
85654 * sunrpc/rpc/clnt.h: Likewise.
85655 * sunrpc/rpc/des_crypt.h: Likewise.
85656 * sunrpc/rpc/key_prot.h: Likewise.
85657 * sunrpc/rpc/netdb.h: Likewise.
85658 * sunrpc/rpc/pmap_clnt.h: Likewise.
85659 * sunrpc/rpc/pmap_prot.h: Likewise.
85660 * sunrpc/rpc/pmap_rmt.h: Likewise.
85661 * sunrpc/rpc/rpc.h: Likewise.
85662 * sunrpc/rpc/rpc_des.h: Likewise.
85663 * sunrpc/rpc/rpc_msg.h: Likewise.
85664 * sunrpc/rpc/svc.h: Likewise.
85665 * sunrpc/rpc/svc_auth.h: Likewise.
85666 * sunrpc/rpc/types.h: Likewise.
85667 * sunrpc/rpc/xdr.h: Likewise.
85668 * sunrpc/rpc_clntout.c: Likewise.
85669 * sunrpc/rpc_cmsg.c: Likewise.
85670 * sunrpc/rpc_common.c: Likewise.
85671 * sunrpc/rpc_cout.c: Likewise.
85672 * sunrpc/rpc_dtable.c: Likewise.
85673 * sunrpc/rpc_hout.c: Likewise.
85674 * sunrpc/rpc_main.c: Likewise.
85675 * sunrpc/rpc_parse.c: Likewise.
85676 * sunrpc/rpc_parse.h: Likewise.
85677 * sunrpc/rpc_prot.c: Likewise.
85678 * sunrpc/rpc_sample.c: Likewise.
85679 * sunrpc/rpc_scan.c: Likewise.
85680 * sunrpc/rpc_scan.h: Likewise.
85681 * sunrpc/rpc_svcout.c: Likewise.
85682 * sunrpc/rpc_tblout.c: Likewise.
85683 * sunrpc/rpc_util.c: Likewise.
85684 * sunrpc/rpc_util.h: Likewise.
85685 * sunrpc/rpcinfo.c: Likewise.
85686 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
85687 * sunrpc/rpcsvc/key_prot.x: Likewise.
85688 * sunrpc/rpcsvc/klm_prot.x: Likewise.
85689 * sunrpc/rpcsvc/mount.x: Likewise.
85690 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
85691 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
85692 * sunrpc/rpcsvc/rex.x: Likewise.
85693 * sunrpc/rpcsvc/rstat.x: Likewise.
85694 * sunrpc/rpcsvc/rusers.x: Likewise.
85695 * sunrpc/rpcsvc/sm_inter.x: Likewise.
85696 * sunrpc/rpcsvc/spray.x: Likewise.
85697 * sunrpc/rpcsvc/yppasswd.x: Likewise.
85698 * sunrpc/rtime.c: Likewise.
85699 * sunrpc/svc.c: Likewise.
85700 * sunrpc/svc_auth.c: Likewise.
85701 * sunrpc/svc_authux.c: Likewise.
85702 * sunrpc/svc_raw.c: Likewise.
85703 * sunrpc/svc_run.c: Likewise.
85704 * sunrpc/svc_simple.c: Likewise.
85705 * sunrpc/svc_tcp.c: Likewise.
85706 * sunrpc/svc_udp.c: Likewise.
85707 * sunrpc/svc_unix.c: Likewise.
85708 * sunrpc/svcauth_des.c: Likewise.
85709 * sunrpc/xcrypt.c: Likewise.
85710 * sunrpc/xdr.c: Likewise.
85711 * sunrpc/xdr_array.c: Likewise.
85712 * sunrpc/xdr_float.c: Likewise.
85713 * sunrpc/xdr_mem.c: Likewise.
85714 * sunrpc/xdr_rec.c: Likewise.
85715 * sunrpc/xdr_ref.c: Likewise.
85716 * sunrpc/xdr_sizeof.c: Likewise.
85717 * sunrpc/xdr_stdio.c: Likewise.
85718
85719 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
85720 handling.
85721
85722 2010-08-19 Andreas Schwab <schwab@redhat.com>
85723
85724 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
85725
85726 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
85727
85728 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
85729 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
85730 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
85731 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
85732 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
85733 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
85734 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
85735 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
85736 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
85737 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
85738 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
85739 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
85740 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
85741 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
85742
85743 2010-07-26 Anton Blanchard <anton@samba.org>
85744
85745 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
85746 * malloc/arena.c (heap_trim): Likewise.
85747
85748 2010-08-16 Ulrich Drepper <drepper@redhat.com>
85749
85750 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
85751 here. Not...
85752 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
85753 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
85754
85755 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
85756
85757 * sysdeps/i386/elf/Makefile: New file.
85758
85759 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
85760
85761 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
85762 from fanotify_init.
85763 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
85764 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85765
85766 2010-08-15 Ulrich Drepper <drepper@redhat.com>
85767
85768 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
85769 of strncasecmp_l.
85770 * sysdeps/multiarch/strcmp.S: Likewise.
85771
85772 2010-08-14 Ulrich Drepper <drepper@redhat.com>
85773
85774 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85775 strncase_l-nonascii.
85776 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85777 Add strncase_l-ssse3.
85778 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
85779 * sysdeps/x86_64/strcmp.S: Likewise.
85780 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
85781 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
85782 * sysdeps/x86_64/strncase.S: New file.
85783 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
85784 * sysdeps/x86_64/strncase_l.S: New file.
85785 * string/Makefile (strop-tests): Add strncasecmp.
85786 * string/test-strncasecmp.c: New file.
85787
85788 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
85789 warning.
85790
85791 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
85792 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
85793
85794 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
85795
85796 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
85797
85798 2010-08-12 Ulrich Drepper <drepper@redhat.com>
85799
85800 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
85801 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
85802 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
85803
85804 2010-05-01 Alan Modra <amodra@gmail.com>
85805
85806 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
85807 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
85808 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
85809 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
85810 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
85811 tidying. Don't tail-call __sigjmp_save for static lib.
85812 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
85813 save location.
85814 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
85815 (CALL_MCOUNT): Add eh info, and nop after bl.
85816 (TAIL_CALL_SYSCALL_ERROR): New macro.
85817 (PSEUDO_RET): Use it.
85818 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
85819 Correct save location of integer regs and cr.
85820 (_dl_profile_resolve): Correct cr save location. Delete nops
85821 after bl when SHARED. Reduce cfi size a little by better
85822 placement of cfi directives.
85823 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
85824 make a stack frame. Instead use parm save area as a temp.
85825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
85826 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
85827 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
85828 Don't make a stack frame for parent, use parm save area.
85829 Increase child stack frame to 112 bytes. Don't save unused reg,
85830 and adjust reg usage. Set up cfi on error recovery and
85831 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
85832 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
85833 (__makecontext): Add dummy nop after jump to exit.
85834 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
85835 Use correct parm save area and cr save, reduce stack frame.
85836 Correct cfi for possible PSEUDO_RET frame setup.
85837 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
85838 Branch to local label emitted by PSEUDO_RET rather than
85839 __syscall_error.
85840
85841 2010-08-12 Andreas Schwab <schwab@redhat.com>
85842
85843 [BZ #11904]
85844 * locale/programs/locale.c (print_assignment): New function.
85845 (show_locale_vars): Use it.
85846
85847 2010-08-11 Ulrich Drepper <drepper@redhat.com>
85848
85849 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
85850 field.
85851 (struct statfs64): Likewise.
85852 (_STATFS_F_FLAGS): Define.
85853 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
85854 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85855 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
85856 (ST_VALID): Define locally.
85857 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
85858 __statvfs_getflags, use the provided value.
85859 * sysdeps/unix/sysv/linux/kernel-features.h: Define
85860 __ASSUME_STATFS_F_FLAGS.
85861
85862 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
85863
85864 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
85865 Add sys/fanotify.h.
85866 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
85867 fanotify_mask for GLIBC_2.13.
85868 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
85869 fanotify_init and fanotify_mark.
85870 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85871 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
85872
85873 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
85874 Add prlimit.
85875 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
85876 prlimit64 for GLIBC_2.13.
85877 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
85878 prlimit64.
85879 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
85880 syscall.
85881 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
85882 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85883 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
85884 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
85885 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
85886 add prlimit alias.
85887 * sysdeps/unix/sysv/linux/prlimit.c: New file.
85888
85889 [BZ #11903]
85890 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
85891 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
85892
85893 * nss/Makefile: Add rules to build and run tst-nss-test1.
85894 * shlib-versions: Add entry for libnss_test1.
85895 * nss/nss_test1.c: New file.
85896 * nss/tst-nss-test1.c: New file.
85897
85898 * nss/nsswitch.c (__nss_database_custom): Define new variable.
85899 (__nss_configure_lookup): Set appropriate entry in
85900 __nss_configure_lookup to true.
85901 * nss/nsswitch.h: Define enum with indeces of databases in
85902 databases and __nss_database_custom arrays. Declare
85903 __nss_database_custom.
85904 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
85905 to avoid using nscd when custom rules are installed.
85906 * nss/getXXbyYY_r.c: Likewise.
85907 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
85908
85909 * nss/nss_files/files-parse.c: Whitespace fixes.
85910
85911 2010-08-09 Ulrich Drepper <drepper@redhat.com>
85912
85913 [BZ #11883]
85914 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
85915 * posix/fnmatch_loop.c: Likewise.
85916
85917 2010-07-17 Andi Kleen <ak@linux.intel.com>
85918
85919 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
85920 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
85921 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
85922 * Versions.def [GLIBC_2.13]: Add.
85923
85924 2010-08-06 Ulrich Drepper <drepper@redhat.com>
85925
85926 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85927 Also fail if tpwd after pwuid call is NULL.
85928
85929 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
85930
85931 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
85932 when converting to ms.
85933
85934 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
85935
85936 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
85937 EOPNOTSUPP errors with ENOTTY.
85938 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
85939 EOPNOTSUPP errors with ENOTTY.
85940
85941 2010-07-31 Ulrich Drepper <drepper@redhat.com>
85942
85943 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85944 Add strcasecmp_l-ssse3.
85945 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
85946 strcasecmp.
85947 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
85948 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
85949 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
85950
85951 2010-07-30 Ulrich Drepper <drepper@redhat.com>
85952
85953 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
85954
85955 * string/Makefile (strop-tests): Add strcasecmp.
85956 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85957 strcasecmp_l-nonascii.
85958 (gen-as-const-headers): Add locale-defines.sym.
85959 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
85960 * sysdeps/x86_64/strcasecmp.S: New file.
85961 * sysdeps/x86_64/strcasecmp_l.S: New file.
85962 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
85963 * sysdeps/x86_64/locale-defines.sym: New file.
85964 * string/test-strcasecmp.c: New file.
85965
85966 * string/test-strcasestr.c: Test both ends of the range of characters.
85967 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
85968
85969 2010-07-29 Roland McGrath <roland@redhat.com>
85970
85971 [BZ #11856]
85972 * manual/locale.texi (Yes-or-No Questions): Fix example code.
85973
85974 2010-07-27 Ulrich Drepper <drepper@redhat.com>
85975
85976 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
85977 for ld.so.
85978
85979 2010-07-27 Andreas Schwab <schwab@redhat.com>
85980
85981 * manual/memory.texi (Malloc Tunable Parameters): Document
85982 M_PERTURB.
85983
85984 2010-07-26 Roland McGrath <roland@redhat.com>
85985
85986 [BZ #11840]
85987 * configure.in (-fgnu89-inline check): Set and substitute
85988 gnu89_inline, not libc_cv_gnu89_inline.
85989 * configure: Regenerated.
85990 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
85991
85992 2010-07-26 Ulrich Drepper <drepper@redhat.com>
85993
85994 * string/test-strnlen.c: New file.
85995 * string/Makefile (strop-tests): Add strnlen.
85996 * string/tester.c (test_strnlen): Add a few more test cases.
85997 * string/tst-strlen.c: Better error reporting.
85998
85999 * sysdeps/x86_64/strnlen.S: New file.
86000
86001 2010-07-24 Ulrich Drepper <drepper@redhat.com>
86002
86003 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
86004 lower-latency instructions.
86005
86006 2010-07-23 Ulrich Drepper <drepper@redhat.com>
86007
86008 * string/test-strcasestr.c: New file.
86009 * string/test-strstr.c: New file.
86010 * string/Makefile (strop-tests): Add strstr and strcasestr.
86011 * string/str-two-way.h: Don't undefine MAX.
86012 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
86013
86014 2010-07-21 Andreas Schwab <schwab@redhat.com>
86015
86016 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86017 strcasestr-nonascii.
86018 (CFLAGS-strcasestr-nonascii.c): Define.
86019 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
86020 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
86021 Remove unused attribute.
86022
86023 2010-07-20 Roland McGrath <roland@redhat.com>
86024
86025 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
86026 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
86027 ld.so.cache was broken. With it, there is no way to disable dsocaps
86028 like LD_HWCAP_MASK can disable hwcaps.
86029
86030 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
86031
86032 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
86033
86034 2010-07-16 Ulrich Drepper <drepper@redhat.com>
86035
86036 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
86037 call in strcasestr.
86038 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
86039 __strcasestr_sse42_nonascii.
86040 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
86041 strcasestr-nonascii.c.
86042 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
86043
86044 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
86045
86046 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
86047 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
86048 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
86049 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
86050
86051 2010-07-09 Ulrich Drepper <drepper@redhat.com>
86052
86053 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
86054 fcntl.
86055
86056 2010-07-06 Andreas Schwab <schwab@redhat.com>
86057
86058 [BZ #11577]
86059 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
86060 dl_signal_cerror.
86061
86062 2010-07-06 Ulrich Drepper <drepper@redhat.com>
86063
86064 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
86065 _PC_PIPE_BUF using F_GETPIPE_SZ.
86066
86067 2010-07-05 Roland McGrath <roland@redhat.com>
86068
86069 * manual/arith.texi (Rounding Functions): Fix rint description
86070 implicit in round description.
86071
86072 2010-07-02 Ulrich Drepper <drepper@redhat.com>
86073
86074 * elf/Makefile: Fix linking for a few tests to make recent linker
86075 happy.
86076
86077 2010-06-30 Andreas Schwab <schwab@redhat.com>
86078
86079 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
86080 $(common-objpfx)libc_nonshared.a.
86081
86082 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
86083
86084 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
86085 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
86086 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
86087 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
86088 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
86089 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
86090 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
86091 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
86092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
86093 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
86094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
86095 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
86096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
86097 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
86098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
86099 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
86100 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
86101 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
86102 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
86103 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
86104 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
86105 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
86106 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
86107 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
86108 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
86109 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
86110 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
86111 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
86112 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
86113 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
86114 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
86115 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
86116 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
86117 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
86118 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
86119 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
86120 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
86121 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
86122 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
86123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
86124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
86125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
86126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
86127 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
86128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
86129 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
86130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
86131 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
86132
86133 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
86134
86135 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
86136 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
86137 * string/memmove.c (memmove): Renamed to ...
86138 (MEMMOVE): ...this. Default to memmove.
86139 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
86140 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
86141 (END_CHK): Define.
86142 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86143 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
86144 mempcpy-ssse3-back memmove-ssse3-back.
86145 * sysdeps/x86_64/multiarch/bcopy.S: New file .
86146 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
86147 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
86148 * sysdeps/x86_64/multiarch/memcpy.S: New file.
86149 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
86150 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
86151 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
86152 * sysdeps/x86_64/multiarch/memmove.c: New file.
86153 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
86154 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
86155 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
86156 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
86157 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
86158 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
86159 Define.
86160 (index_Fast_Copy_Backward): Define.
86161 (HAS_ARCH_FEATURE): Define.
86162 (HAS_FAST_REP_STRING): Define.
86163 (HAS_FAST_COPY_BACKWARD): Define.
86164
86165 2010-06-21 Andreas Schwab <schwab@redhat.com>
86166
86167 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
86168 Restore proper fallback handling.
86169
86170 2010-06-19 Ulrich Drepper <drepper@redhat.com>
86171
86172 [BZ #11701]
86173 * posix/group_member.c (__group_member): Correct checking loop.
86174
86175 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
86176 OOM in getpwuid_r correctly. Return error number when the caller
86177 should return, otherwise -1.
86178 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
86179 call returning > 0 value.
86180 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
86181
86182 2010-06-07 Andreas Schwab <schwab@redhat.com>
86183
86184 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
86185 libc_nonshared.a from targets in modules-names.
86186
86187 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
86188
86189 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
86190 requires it.
86191
86192 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
86193
86194 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
86195 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
86196 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
86197 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
86198
86199 2010-06-02 Andreas Schwab <schwab@redhat.com>
86200
86201 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
86202
86203 2010-06-14 Ulrich Drepper <drepper@redhat.com>
86204
86205 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
86206 and F_GETPIPE_SZ.
86207 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
86208 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
86209 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
86210 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
86211 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
86212 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
86213
86214 2010-06-14 Roland McGrath <roland@redhat.com>
86215
86216 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
86217
86218 2010-06-07 Jakub Jelinek <jakub@redhat.com>
86219
86220 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
86221 __REDIRECT followed by __THROW.
86222 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
86223 * posix/getopt.h (getopt): Likewise.
86224
86225 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
86226
86227 * hurd/lookup-at.c (__file_name_lookup_at): Accept
86228 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
86229 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
86230 in AT_FLAGS.
86231 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
86232 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
86233
86234 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
86235
86236 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
86237
86238 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
86239
86240 [BZ #11640]
86241 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86242 Properly check family and model.
86243
86244 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
86245
86246 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
86247
86248 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
86249
86250 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
86251
86252 2010-05-21 Ulrich Drepper <drepper@redhat.com>
86253
86254 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
86255 symbol reference.
86256
86257 2010-05-19 Andreas Schwab <schwab@redhat.com>
86258
86259 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
86260 symbol reference.
86261
86262 2010-05-21 Andreas Schwab <schwab@redhat.com>
86263
86264 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
86265 and internal_recvmmsg.
86266 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
86267 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
86268 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
86269 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
86270
86271 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
86272 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
86273 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
86274
86275 2010-05-20 Andreas Schwab <schwab@redhat.com>
86276
86277 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
86278
86279 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
86280
86281 POWER7 optimizations.
86282 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
86283 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
86284
86285 2010-05-19 Ulrich Drepper <drepper@redhat.com>
86286
86287 * version.h: Update for 2.13 development version.
86288
86289 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
86290
86291 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
86292 exceptions. Return 0.
86293
86294 2010-05-07 Roland McGrath <roland@redhat.com>
86295
86296 * elf/ldconfig.c (main): Add a const.
86297
86298 2010-05-06 Ulrich Drepper <drepper@redhat.com>
86299
86300 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
86301 (args_options): Add no-idn option.
86302 (ahosts_keys_int): Add idn_flags to ai_flags.
86303 (parse_option): Handle 'i' option to clear idn_flags.
86304
86305 * malloc/malloc.c (_int_free): Possible race in the most recently
86306 added check. Only act on the data if no current modification
86307 happened.
86308
86309 See ChangeLog.17 for earlier changes.