]> git.ipfire.org Git - thirdparty/glibc.git/blob - ChangeLog
tunables: Fail tests correctly when setgid does not work
[thirdparty/glibc.git] / ChangeLog
1 2017-02-04 Siddhesh Poyarekar <siddhesh@sourceware.org>
2
3 * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
4 parent if child exited in that manner. Print WEXITSTATUS
5 instead of the raw status.
6 (do_test_prep): Rename to do_test.
7 (do_test): Return the result of run_executable_sgid.
8 (TEST_FUNCTION_ARGV): Adjust.
9
10 2017-02-03 Alexandre Oliva <aoliva@redhat.com>
11 Florian Weimer <fweimer@redhat.com>
12 Carlos O'Donell <carlos@redhat.com>
13
14 [BZ #20915]
15 * elf/dl-reloc.c (_dl_nothread_init_static_tls):
16 Do not initialize DTV.
17 * nptl/allocatestack.c (init_one_static_tls): Likewise.
18
19 2017-02-03 David S. Miller <davem@davemloft.net>
20
21 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
22 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
23 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
24 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
25 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
26 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
27 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
28 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
29 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
30 (libm-sysdep_routines): Update.
31 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
32 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
33 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
34 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
35 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
36 * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
37 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
38 * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
39 * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
40 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
41 Likewise.
42 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
43 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
44 Likewise.
45 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
46 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
47 Likewise.
48 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
49 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
50 Likewise.
51 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
52 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
53 (libm-sysdep_routines): Update.
54
55 2017-02-02 H.J. Lu <hongjiu.lu@intel.com>
56
57 * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
58 _dl_fatal_printf with _dl_error_printf for IFUNC relocation
59 against unrelocated shared library.
60 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
61
62 2017-02-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
63
64 * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
65 * elf/tst-env-setuid-tunables.c
66 (test_child_tunables)[!HAVE_TUNABLES]: Verify that
67 GLIBC_TUNABLES is removed in a setgid process.
68
69 [BZ #21073]
70 * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
71 * elf/dl-tunables.c (tunables_strdup): Remove.
72 (get_next_env): Also return the previous envp.
73 (parse_tunables): Erase tunables of category
74 TUNABLES_SECLEVEL_SXID_ERASE.
75 (maybe_enable_malloc_check): Make MALLOC_CHECK_
76 TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
77 (__tunables_init)[TUNABLES_FRONTEND ==
78 TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
79 after parsing.
80 [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
81 tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
82 * elf/dl-tunables.h (struct _tunable): Change member is_secure
83 to security_level.
84 * elf/dl-tunables.list: Add security_level annotations for all
85 tunables.
86 * scripts/gen-tunables.awk: Recognize and generate enum values
87 for security_level.
88 * elf/tst-env-setuid.c: New test case.
89 * elf/tst-env-setuid-tunables: new test case.
90 * elf/Makefile (tests-static): Add them.
91
92 2017-02-01 Richard Henderson <rth@twiddle.net>
93
94 * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
95 adjusting the byte count.
96
97 2017-02-01 Andreas Schwab <schwab@linux-m68k.org>
98
99 * conform/Makefile (linknamespace-libs): Define.
100
101 * sysdeps/m68k/m680x0/m68020/atomic-machine.h
102 (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
103 (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
104 operands.
105
106 2017-01-31 Chung-Lin Tang <cltang@codesourcery.com>
107
108 * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
109
110 2017-01-30 H.J. Lu <hongjiu.lu@intel.com>
111
112 [BZ #21081]
113 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
114 (L(stosb)): Add VZEROUPPER before ret.
115
116 2016-01-28 Carlos O'Donell <carlos@redhat.com>
117 Alexey Makhalov <amakhalov@vmware.com>
118 Florian Weimer <fweimer@redhat.com>
119
120 [BZ #20116]
121 * nptl/pthread_create.c: Document concurrency notes.
122 Enhance thread creation notes.
123 (create_thread): Use bool *stopped_start.
124 (START_THREAD_DEFN): Comment ownership of PD.
125 (__pthread_create_2_1): Add local bool stopped_start and use
126 that instead of pd->stopped_start where appropriate.
127 * nptl/createthread.c (create_thread): Use bool *stopped_start.
128 * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
129 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
130 * nptl/tst-create-detached.c: New file.
131 * nptl/Makefile (tests): Add tst-create-detached.
132 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
133 Reference the enhanced thread creation notes.
134 * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
135 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
136 * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
137 (__pthread_current_priority): Likewise.
138 * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
139 xpthread_attr_init, xpthread_attr_setdetachstate, and
140 xpthread_attr_setstacksize.
141 * support/xpthread_attr_destroy.c: New file.
142 * support/xpthread_attr_init.c: New file.
143 * support/xpthread_attr_setdetachstate.c: New file.
144 * support/xpthread_attr_setstacksize.c: New file.
145 * support/xthread.h: Define prototypes for xpthread_attr_destroy
146 xpthread_attr_init, xpthread_attr_setdetachstate, and
147 xpthread_attr_setstacksize.
148
149 2017-01-27 Florian Weimer <fweimer@redhat.com>
150
151 * nptl/Makefile (tests): Add tst-robust-fork.
152 * nptl/tst-robust-fork.c: New file.
153 * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
154 xpthread_mutex_consistent, xpthread_mutex_destroy,
155 xpthread_mutex_init, xpthread_mutexattr_destroy,
156 xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
157 xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
158 xpthread_mutexattr_settype.
159 * support/xmmap.c: New file.
160 * support/xmunmap.c: Likewise.
161 * support/xpthread_mutex_consistent.c: Likewise.
162 * support/xpthread_mutex_destroy.c: Likewise.
163 * support/xpthread_mutex_init.c: Likewise.
164 * support/xpthread_mutexattr_destroy.c: Likewise.
165 * support/xpthread_mutexattr_init.c: Likewise.
166 * support/xpthread_mutexattr_setprotocol.c: Likewise.
167 * support/xpthread_mutexattr_setpshared.c: Likewise.
168 * support/xpthread_mutexattr_setrobust.c: Likewise.
169 * support/xpthread_mutexattr_settype.c: Likewise.
170 * support/xthread.h (xpthread_mutexattr_destroy)
171 (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
172 (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
173 (xpthread_mutexattr_settype, xpthread_mutex_init)
174 (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
175 * support/xunistd.h (xmmap, xmunmap): Likewise.
176
177 2017-01-25 Florian Weimer <fweimer@redhat.com>
178
179 * string/Makefile (xtests): Add comment.
180 (LOCALES): Add en_GB.UTF-8.
181 (tst-strcoll-overflow.out): Depend on generated locales.
182 * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
183 (SIZE, TIMEOUT): Update comments.
184 (do_test): Define as static. Fail test if setlocale fails.
185 Return EXIT_UNSUPPORTED if insufficient memory. Enhance output
186 messages.
187 (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
188 TIMEOUT at 300 seconds should be enough to run this test
189 successfully.
190
191 2017-01-24 Jakub Jelinek <jakub@redhat.com>
192
193 * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
194 /* FALLTHRU */ comments.
195
196 2017-01-24 James Clarke <jrtc27@jrtc27.com>
197
198 [BZ #21053]
199 * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
200 constants instead of the old R* ones.
201 * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
202 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
203 (NGREG): ... to this, to fit in with other architectures.
204 (gpregset_t): Use new NGREG macro.
205 [__USE_GNU]: Remove condition; all architectures other than tile
206 are unconditional.
207 (R*): Rename to REG_R*.
208
209 2017-01-20 DJ Delorie <dj@redhat.com>
210
211 * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
212 (tunable_set_val_if_valid_range_signed) ... this, and ...
213 (tunable_set_val_if_valid_range_unsigned) ... this.
214 (tunable_initialize): Call the correct one of the above based on type.
215
216 2017-01-20 Joseph Myers <joseph@codesourcery.com>
217
218 * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
219 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
220 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
221 * sysdeps/microblaze/libm-test-ulps: Likewise.
222 * sysdeps/sh/libm-test-ulps: Likewise.
223
224 * math/README.libm-test: Update list of characters for input and
225 output types.
226
227 2017-01-20 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
228
229 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
230 (__lll_unlock_elision): Fix adapt_count decrement.
231
232 2017-01-14 Martin Galvan <martingalvan@sourceware.org>
233
234 * README.pretty-printers (Known issues): Warn about printers not
235 always covering everything.
236 * nptl/nptl-printers.py (MutexPrinter): Change output.
237 * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
238
239 2017-01-20 Stefan Liebler <stli@linux.vnet.ibm.com>
240
241 * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
242 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
243 * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
244 (__lll_lock_elision): Do not test futex before starting a
245 transaction. Use __glibc_likely instead of __builtin_expect.
246 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
247 (__lll_trylock_elision): Do not test futex before starting a
248 transaction. Use __glibc_likely instead of __builtin_expect.
249
250 2017-01-20 Siddhesh Poyarekar <siddhesh@sourceware.org>
251
252 * po/Makefile (update-translations): New target.
253
254 2017-01-19 Joseph Myers <joseph@codesourcery.com>
255
256 [BZ #21061]
257 * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
258
259 2017-01-19 Siddhesh Poyarekar <siddhesh@sourceware.org>
260
261 * elf/dl-tunables (get_next_env): Always advance envp.
262 * stdlib/tst-empty-env.c: New test case.
263 * stdlib/Makefile (tests): Use it.
264
265 2017-01-19 Joseph Myers <joseph@codesourcery.com>
266
267 [BZ #21047]
268 * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
269 name for instruction.
270 [!__SOFTFP__] (_FPU_SETCW): Likewise.
271
272 2017-01-18 Joseph Myers <joseph@codesourcery.com>
273
274 * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
275 for make install.
276
277 2017-01-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
278
279 * po/bg.po: Merge from Translation Project.
280 * po/fr.po: Likewise.
281 * po/ko.po: Likewise.
282 * po/nl.po: Likewise.
283 * po/sv.po: Likewise.
284
285 2017-01-18 Joseph Myers <joseph@codesourcery.com>
286
287 * manual/install.texi (Tools for Compilation): Update GCC version
288 known to work to build glibc.
289 * INSTALL: Regenerated.
290
291 2017-01-17 Stefan Liebler <stli@linux.vnet.ibm.com>
292
293 [BZ #21006]
294 * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
295
296 2017-01-16 Joseph Myers <joseph@codesourcery.com>
297
298 [BZ #21045]
299 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
300 (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
301 to __sigprocmask.
302
303 2017-01-16 Chris Metcalf <cmetcalf@mellanox.com>
304
305 * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
306 wrap-around.
307 * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
308
309 * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
310
311 2016-01-14 Siddhesh Poyarekar <siddhesh@sourceware.org>
312
313 * NEWS: Fix typo.
314
315 2016-01-13 Torvald Riegel <triegel@redhat.com>
316
317 * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
318 barriers and comments.
319 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
320 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
321 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
322
323 2016-01-13 Torvald Riegel <triegel@redhat.com>
324
325 [BZ #19402]
326 * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
327 mutexes.
328
329 2016-01-13 Torvald Riegel <triegel@redhat.com>
330
331 [BZ #20985]
332 * nptl/Makefile: Adapt.
333 * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
334 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
335 * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
336 (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
337 (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
338 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
339 lll_robust* functions and adapt.
340 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
341 * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
342 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
343 __lll_robust_timedlock, __lll_robust_unlock): Remove.
344 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
345 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
346 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
347 lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
348 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
349 __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
350 __lll_robust_timedlock, __lll_robust_unlock): Remove.
351 * nptl/lowlevelrobustlock.c: Remove file.
352 * nptl/lowlevelrobustlock.sym: Likewise.
353 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
354 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
355
356 2017-01-13 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
357
358 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
359
360 2017-01-12 Siddhesh Poyarekar <siddhesh@sourceware.org>
361
362 * po/cs.po: Merge translations from the Translation Project.
363 * po/de.po: Likewise.
364 * po/pl.po: Likewise.
365 * po/ru.po: Likewise.
366 * po/tr.po: Likewise.
367 * po/uk.po: Likewise.
368 * po/vi.po: Likewise.
369 * po/zh_CN.po: Likewise.
370
371 2017-01-12 Joseph Myers <joseph@codesourcery.com>
372
373 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
374
375 * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
376 object.
377
378 2017-01-11 Joseph Myers <joseph@codesourcery.com>
379
380 [BZ #16458]
381 * bits/uintn-identity.h: New file.
382 * inet/netinet/in.h: Include <bits/uintn-identity.h>.
383 [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
384 [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
385 [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
386 [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
387 * string/endian.h: Include <bits/uintn-identity.h>.
388 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
389 __uint16_identity.
390 [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
391 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
392 __uint32_identity.
393 [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
394 [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
395 __uint64_identity.
396 [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
397 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
398 __uint16_identity.
399 [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
400 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
401 __uint32_identity.
402 [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
403 [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
404 __uint64_identity.
405 [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
406 * string/Makefile (headers): Add bits/uintn-identity.h.
407 (tests): Add test-endian-types.
408 * string/test-endian-types.c: New file.
409 * inet/Makefile (tests): Add test-hnto-types.
410 * inet/test-hnto-types.c: New file.
411
412 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
413
414 * po/be.po: Update from Translation Project.
415 * po/bg.po: Likewise.
416 * po/ca.po: Likewise.
417 * po/cs.po: Likewise.
418 * po/da.po: Likewise.
419 * po/de.po: Likewise.
420 * po/el.po: Likewise.
421 * po/eo.po: Likewise.
422 * po/es.po: Likewise.
423 * po/fi.po: Likewise.
424 * po/fr.po: Likewise.
425 * po/gl.po: Likewise.
426 * po/hr.po: Likewise.
427 * po/hu.po: Likewise.
428 * po/ia.po: Likewise.
429 * po/id.po: Likewise.
430 * po/it.po: Likewise.
431 * po/ja.po: Likewise.
432 * po/ko.po: Likewise.
433 * po/lt.po: Likewise.
434 * po/nb.po: Likewise.
435 * po/nl.po: Likewise.
436 * po/pl.po: Likewise.
437 * po/pt_BR.po: Likewise.
438 * po/ru.po: Likewise.
439 * po/rw.po: Likewise.
440 * po/sk.po: Likewise.
441 * po/sl.po: Likewise.
442 * po/sv.po: Likewise.
443 * po/tr.po: Likewise.
444 * po/uk.po: Likewise.
445 * po/vi.po: Likewise.
446 * po/zh_CN.po: Likewise.
447 * po/zh_TW.po: Likewise.
448
449 2017-01-11 Joseph Myers <joseph@codesourcery.com>
450
451 * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
452 -Wformat-truncation instead of -Wformat-length.
453 * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
454 * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
455 GCC 7.
456 * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
457 (do_test): Ignore -Wformat-truncation for GCC 7.
458
459 * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
460 buffer used to print long int value.
461
462 * elf/sotruss-lib.c (init): Increase space allocated for pid by
463 one byte. Print it with %ld, cast to long int.
464
465 2017-01-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
466
467 * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
468 (re.fullmatch, subprocess.run): Likewise.
469
470 2016-01-11 Siddhesh Poyarekar <siddhesh@sourceware.org>
471
472 * po/libc.pot: Regenerate.
473
474 2016-01-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
475
476 * elf/dl-tunables.c (tunables_unsetenv): Remove function.
477 (min_strlen): Likewise.
478 (disable_tunable): Likewise.
479 (maybe_disable_malloc_check): Rename to
480 maybe_enable_malloc_check.
481 (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
482 if /etc/suid-debug file exists.
483 (__tunables_init): Update caller.
484 * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
485 secure.
486
487 2016-01-10 Torvald Riegel <triegel@redhat.com>
488
489 * nptl/DESIGN-rwlock.txt: Remove.
490 * nptl/lowlevelrwlock.sym: Remove.
491 * nptl/Makefile: Add new tests.
492 * nptl/pthread_rwlock_common.c: New file. Contains the new rwlock.
493 * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
494 (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
495 PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
496 PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
497 PTHREAD_RWLOCK_FUTEX_USED): New.
498 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
499 implementation.
500 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
501 (__pthread_rwlock_rdlock): Adapt.
502 * nptl/pthread_rwlock_timedrdlock.c
503 (pthread_rwlock_timedrdlock): Adapt.
504 * nptl/pthread_rwlock_timedwrlock.c
505 (pthread_rwlock_timedwrlock): Adapt.
506 * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
507 * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
508 * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
509 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
510 (__pthread_rwlock_wrlock): Adapt.
511 * nptl/tst-rwlock10.c: Adapt.
512 * nptl/tst-rwlock11.c: Adapt.
513 * nptl/tst-rwlock17.c: New file.
514 * nptl/tst-rwlock18.c: New file.
515 * nptl/tst-rwlock19.c: New file.
516 * nptl/tst-rwlock2b.c: New file.
517 * nptl/tst-rwlock8.c: Adapt.
518 * nptl/tst-rwlock9.c: Adapt.
519 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
520 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
521 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
522 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
523 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
524 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
525 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
526 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
527 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
528 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
529 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
530 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
531 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
532 (pthread_rwlock_t): Adapt.
533 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
534 (pthread_rwlock_t): Adapt.
535 * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
536 * nptl/nptl-printers.py (): Adapt.
537 * nptl/nptl_lock_constants.pysym: Adapt.
538 * nptl/test-rwlock-printers.py: Adapt.
539 * nptl/test-rwlockattr-printers.c: Adapt.
540 * nptl/test-rwlockattr-printers.py: Adapt.
541
542 2017-01-10 Joseph Myers <joseph@codesourcery.com>
543
544 * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
545 (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
546 (fma_test_data): Likewise.
547 (hypot_test_data): Likewise.
548 (log1p_test_data): Likewise.
549 (modf_test_data): Likewise.
550 (pow_test_data): Likewise.
551 (remainder_test_data): Likewise.
552 (remquo_test_data): Likewise.
553 (scalb_test_data): Likewise.
554 (scalbn_test_data): Likewise.
555 (scalbln_test_data): Likewise.
556 * math/gen-libm-test.pl (parse_args): Transform
557 XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
558 on the rounding mode.
559
560 2017-01-09 Joseph Myers <joseph@codesourcery.com>
561
562 * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
563 xfail-rounding:ibm128-libgcc automatically to tests overflowing
564 and those that can underflow to zero.
565 * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
566 add others.
567 * math/auto-libm-test-out: Regenerated.
568
569 * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
570 supported.
571 (feholdexcept_tests): Skip tests requiring exceptions or rounding
572 modes support if not supported.
573
574 * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
575 Add libc.so PLT entry.
576 (__tls_get_addr): Make ld.so PLT entry optional.
577
578 2017-01-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
579
580 * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
581 * string/bits/string3.h: ... here.
582
583 2017-01-05 Joseph Myers <joseph@codesourcery.com>
584
585 [BZ #21028]
586 * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
587 * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
588 if EXCEPTION_TESTS returns false.
589
590 2017-01-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
591
592 [BZ #20558]
593 * string/bits/string3.h [__USE_MISC] (bcopy): Move to
594 strings_fortified.h.
595 [__USE_MISC] (bzero): Likewise.
596 [__USE_MISC] (explicit_bzero): Likewise.
597 * string/strings.h: Include strings_fortified.h.
598 * string/Makefile (headers): Add strings_fortified.h.
599 * string/bits/strings_fortified.h: New file.
600 * include/bits/strings_fortified.h: Likewise.
601
602 2017-01-05 Joseph Myers <joseph@codesourcery.com>
603
604 * elf/tst-tls13.c (TIMEOUT): Remove.
605 * iconvdata/tst-loading.c (TIMEOUT): Likewise.
606 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
607 * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
608 * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
609 * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
610
611 [BZ #21026]
612 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
613 (readahead): New syscall entry.
614
615 2017-01-04 Joseph Myers <joseph@codesourcery.com>
616
617 * string/tester.c (test_strncat): Disable -Wstringop-overflow=
618 around tests of strncat with large sizes.
619
620 * malloc/tst-malloc.c: Include <libc-internal.h>.
621 (do_test): Disable -Walloc-size-larger-than= around tests of
622 malloc with negative sizes.
623 * malloc/tst-mcheck.c: Include <libc-internal.h>.
624 (do_test): Disable -Walloc-size-larger-than= around tests of
625 malloc and realloc with negative sizes.
626 * malloc/tst-realloc.c: Include <libc-internal.h>.
627 (do_test): Disable -Walloc-size-larger-than= around tests of
628 realloc with negative sizes.
629
630 * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
631 (init_max_error) [TEST_COND_ibm128]: Increase maximum error
632 allowed to 16 ulps.
633 * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
634 ibm128-libgcc. XFAIL more tests for ibm128-libgcc.
635 * math/auto-libm-test-out: Regenerated.
636
637 2017-01-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
638
639 * math/Makefile (libm-calls): Move wrappers...
640 (libm-compat-call-auto): Here.
641 (libm-routines): Add items in libm-compat-calls-auto.
642 * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
643 the filenames of the wrappers that have been renamed.
644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
645 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
646
647 * math/w_acos.c: Add _compat suffix to filename.
648 * math/w_acosf.c: Likewise.
649 * math/w_acosh.c: Likewise.
650 * math/w_acoshf.c: Likewise.
651 * math/w_acoshl.c: Likewise.
652 * math/w_acosl.c: Likewise.
653 * math/w_asin.c: Likewise.
654 * math/w_asinf.c: Likewise.
655 * math/w_asinl.c: Likewise.
656 * math/w_atan2.c: Likewise.
657 * math/w_atan2f.c: Likewise.
658 * math/w_atan2l.c: Likewise.
659 * math/w_atanh.c: Likewise.
660 * math/w_atanhf.c: Likewise.
661 * math/w_atanhl.c: Likewise.
662 * math/w_cosh.c: Likewise.
663 * math/w_coshf.c: Likewise.
664 * math/w_coshl.c: Likewise.
665 * math/w_exp10.c: Likewise.
666 * math/w_exp10f.c: Likewise.
667 * math/w_exp10l.c: Likewise.
668 * math/w_exp2.c: Likewise.
669 * math/w_exp2f.c: Likewise.
670 * math/w_exp2l.c: Likewise.
671 * math/w_fmod.c: Likewise.
672 * math/w_fmodf.c: Likewise.
673 * math/w_fmodl.c: Likewise.
674 * math/w_hypot.c: Likewise.
675 * math/w_hypotf.c: Likewise.
676 * math/w_hypotl.c: Likewise.
677 * math/w_j0.c: Likewise.
678 * math/w_j0f.c: Likewise.
679 * math/w_j0l.c: Likewise.
680 * math/w_j1.c: Likewise.
681 * math/w_j1f.c: Likewise.
682 * math/w_j1l.c: Likewise.
683 * math/w_jn.c: Likewise.
684 * math/w_jnf.c: Likewise.
685 * math/w_jnl.c: Likewise.
686 * math/w_log10.c: Likewise.
687 * math/w_log10f.c: Likewise.
688 * math/w_log10l.c: Likewise.
689 * math/w_log2.c: Likewise.
690 * math/w_log2f.c: Likewise.
691 * math/w_log2l.c: Likewise.
692 * math/w_log.c: Likewise.
693 * math/w_logf.c: Likewise.
694 * math/w_logl.c: Likewise.
695 * math/w_pow.c: Likewise.
696 * math/w_powf.c: Likewise.
697 * math/w_powl.c: Likewise.
698 * math/w_remainder.c: Likewise.
699 * math/w_remainderf.c: Likewise.
700 * math/w_remainderl.c: Likewise.
701 * math/w_scalb.c: Likewise.
702 * math/w_scalbf.c: Likewise.
703 * math/w_scalbl.c: Likewise.
704 * math/w_sinh.c: Likewise.
705 * math/w_sinhf.c: Likewise.
706 * math/w_sinhl.c: Likewise.
707 * math/w_sqrt.c: Likewise.
708 * math/w_sqrtf.c: Likewise.
709 * math/w_sqrtl.c: Likewise.
710 * math/w_tgamma.c: Likewise.
711 * math/w_tgammaf.c: Likewise.
712 * math/w_tgammal.c: Likewise.
713
714 * math/w_acos_compat.c: New file copied from above and
715 adjusted for new #includes path
716 * math/w_acosf_compat.c: Likewise.
717 * math/w_acosh_compat.c: Likewise.
718 * math/w_acoshf_compat.c: Likewise.
719 * math/w_acoshl_compat.c: Likewise.
720 * math/w_acosl_compat.c: Likewise.
721 * math/w_asin_compat.c: Likewise.
722 * math/w_asinf_compat.c: Likewise.
723 * math/w_asinl_compat.c: Likewise.
724 * math/w_atan2_compat.c: Likewise.
725 * math/w_atan2f_compat.c: Likewise.
726 * math/w_atan2l_compat.c: Likewise.
727 * math/w_atanh_compat.c: Likewise.
728 * math/w_atanhf_compat.c: Likewise.
729 * math/w_atanhl_compat.c: Likewise.
730 * math/w_cosh_compat.c: Likewise.
731 * math/w_coshf_compat.c: Likewise.
732 * math/w_coshl_compat.c: Likewise.
733 * math/w_exp10_compat.c: Likewise.
734 * math/w_exp10f_compat.c: Likewise.
735 * math/w_exp10l_compat.c: Likewise.
736 * math/w_exp2_compat.c: Likewise.
737 * math/w_exp2f_compat.c: Likewise.
738 * math/w_exp2l_compat.c: Likewise.
739 * math/w_fmod_compat.c: Likewise.
740 * math/w_fmodf_compat.c: Likewise.
741 * math/w_fmodl_compat.c: Likewise.
742 * math/w_hypot_compat.c: Likewise.
743 * math/w_hypotf_compat.c: Likewise.
744 * math/w_hypotl_compat.c: Likewise.
745 * math/w_j0_compat.c: Likewise.
746 * math/w_j0f_compat.c: Likewise.
747 * math/w_j0l_compat.c: Likewise.
748 * math/w_j1_compat.c: Likewise.
749 * math/w_j1f_compat.c: Likewise.
750 * math/w_j1l_compat.c: Likewise.
751 * math/w_jn_compat.c: Likewise.
752 * math/w_jnf_compat.c: Likewise.
753 * math/w_jnl_compat.c: Likewise.
754 * math/w_log10_compat.c: Likewise.
755 * math/w_log10f_compat.c: Likewise.
756 * math/w_log10l_compat.c: Likewise.
757 * math/w_log2_compat.c: Likewise.
758 * math/w_log2f_compat.c: Likewise.
759 * math/w_log2l_compat.c: Likewise.
760 * math/w_log_compat.c: Likewise.
761 * math/w_logf_compat.c: Likewise.
762 * math/w_logl_compat.c: Likewise.
763 * math/w_pow_compat.c: Likewise.
764 * math/w_powf_compat.c: Likewise.
765 * math/w_powl_compat.c: Likewise.
766 * math/w_remainder_compat.c: Likewise.
767 * math/w_remainderf_compat.c: Likewise.
768 * math/w_remainderl_compat.c: Likewise.
769 * math/w_scalb_compat.c: Likewise.
770 * math/w_scalbf_compat.c: Likewise.
771 * math/w_scalbl_compat.c: Likewise.
772 * math/w_sinh_compat.c: Likewise.
773 * math/w_sinhf_compat.c: Likewise.
774 * math/w_sinhl_compat.c: Likewise.
775 * math/w_sqrt_compat.c: Likewise.
776 * math/w_sqrtf_compat.c: Likewise.
777 * math/w_sqrtl_compat.c: Likewise.
778 * math/w_tgamma_compat.c: Likewise.
779 * math/w_tgammaf_compat.c: Likewise.
780 * math/w_tgammal_compat.c: Likewise.
781
782 * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
783 * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
784 * sysdeps/ia64/fpu/w_acosl.c: Likewise.
785 * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
786 * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
787 * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
788 * sysdeps/ia64/fpu/w_acosf.c: Likewise.
789 * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
790 * sysdeps/ia64/fpu/w_sinh.c: Likewise.
791 * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
792 * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
793 * sysdeps/ia64/fpu/w_scalb.c: Likewise.
794 * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
795 * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
796 * sysdeps/ia64/fpu/w_remainder.c: Likewise.
797 * sysdeps/ia64/fpu/w_powl.c: Likewise.
798 * sysdeps/ia64/fpu/w_powf.c: Likewise.
799 * sysdeps/ia64/fpu/w_pow.c: Likewise.
800 * sysdeps/ia64/fpu/w_logl.c: Likewise.
801 * sysdeps/ia64/fpu/w_logf.c: Likewise.
802 * sysdeps/ia64/fpu/w_log2l.c: Likewise.
803 * sysdeps/ia64/fpu/w_log2f.c: Likewise.
804 * sysdeps/ia64/fpu/w_log2.c: Likewise.
805 * sysdeps/ia64/fpu/w_log10l.c: Likewise.
806 * sysdeps/ia64/fpu/w_log10f.c: Likewise.
807 * sysdeps/ia64/fpu/w_log10.c: Likewise.
808 * sysdeps/ia64/fpu/w_log.c: Likewise.
809 * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
810 * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
811 * sysdeps/ia64/fpu/w_hypot.c: Likewise.
812 * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
813 * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
814 * sysdeps/ia64/fpu/w_fmod.c: Likewise.
815 * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
816 * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
817 * sysdeps/ia64/fpu/w_exp2.c: Likewise.
818 * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
819 * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
820 * sysdeps/ia64/fpu/w_exp10.c: Likewise.
821 * sysdeps/ia64/fpu/w_coshl.c: Likewise.
822 * sysdeps/ia64/fpu/w_coshf.c: Likewise.
823 * sysdeps/ia64/fpu/w_cosh.c: Likewise.
824 * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
825 * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
826 * sysdeps/ia64/fpu/w_atanh.c: Likewise.
827 * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
828 * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
829 * sysdeps/ia64/fpu/w_atan2.c: Likewise.
830 * sysdeps/ia64/fpu/w_asinl.c: Likewise.
831 * sysdeps/ia64/fpu/w_asinf.c: Likewise.
832 * sysdeps/ia64/fpu/w_asin.c: Likewise.
833 * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
834 * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
835 * sysdeps/ia64/fpu/w_acosh.c: Likewise.
836 * sysdeps/ia64/fpu/w_acos.c: Likewise.
837 * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
838 * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
839 * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
840 * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
841 * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
842 * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
843 * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
844 * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
845 * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
846 * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
847 * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
848 * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
849 * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
850 * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
851 * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
852 * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
853 * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
854 * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
855 * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
856 * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
857 * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
858 * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
859 * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
860 * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
861 * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
862 * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
863 * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
864 * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
865 * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
866 * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
867 * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
868 * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
869 * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
870 * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
871 * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
872 * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
873 * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
874 * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
875 * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
876 * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
877 * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
878 * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
879 * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
880 * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
881 * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
882 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
883 Likewise.
884 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
885 Likewise.
886 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
887 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
888 Likewise.
889 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
890 Likewise.
891 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
892 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
893 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
894 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
895 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
896 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
897 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
898 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
899 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
900 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
901 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
902 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
903 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
904 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
905 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
906
907 * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
908 and adjusted for new #includes path
909 * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
910 * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
911 * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
912 * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
913 * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
914 * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
915 * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
916 * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
917 * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
918 * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
919 * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
920 * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
921 * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
922 * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
923 * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
924 * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
925 * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
926 * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
927 * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
928 * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
929 * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
930 * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
931 * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
932 * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
933 * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
934 * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
935 * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
936 * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
937 * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
938 * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
939 * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
940 * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
941 * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
942 * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
943 * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
944 * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
945 * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
946 * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
947 * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
948 * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
949 * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
950 * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
951 * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
952 * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
953 * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
954 * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
955 * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
956 * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
957 * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
958 * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
959 * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
960 * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
961 * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
962 * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
963 * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
964 * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
965 * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
966 * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
967 * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
968 * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
969 * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
970 * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
971 * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
972 * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
973 * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
974 * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
975 * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
976 * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
977 * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
978 * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
979 * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
980 * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
981 * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
982 * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
983 * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
984 * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
985 * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
986 * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
987 * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
988 * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
989 * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
990 * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
991 * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
992 * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
993 * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
994 * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
995 * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
996 * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
997 * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
998 * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
999 * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
1000 * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
1001 * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
1002 * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
1003 * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
1004 * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
1005 * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
1006 * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
1007 * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
1008 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
1009 Likewise.
1010 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
1011 Likewise.
1012 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
1013 Likewise.
1014 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
1015 Likewise.
1016 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
1017 Likewise.
1018 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
1019 Likewise.
1020 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
1021 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
1022 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
1023 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
1024 * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
1025 * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
1026 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
1027 Likewise.
1028 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
1029 Likewise.
1030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
1031 Likewise.
1032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
1033 Likewise.
1034 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
1035 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
1036 * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
1037 * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
1038
1039 2017-01-04 Joseph Myers <joseph@codesourcery.com>
1040
1041 * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
1042 __jmp_buf_internal_tag.
1043
1044 * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
1045 preserve NaN payload if [__mips_nan2008].
1046 * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
1047
1048 [BZ #21022]
1049 * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
1050
1051 2017-01-03 Joseph Myers <joseph@codesourcery.com>
1052
1053 * sysdeps/i386/fpu/libm-test-ulps: Update.
1054
1055 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1056
1057 * sysdeps/ia64/strcat.c: Remove file.
1058 * sysdeps/powerpc/strcat.c: Likewise.
1059 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
1060 C implementation.
1061 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
1062 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
1063
1064 2017-01-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1065 Steven Munroe <sjmunroe@us.ibm.com>
1066 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1067
1068 [BZ #20822]
1069 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
1070 (__lll_lock_elision): Access adapt_count via C11 atomics.
1071 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
1072 (__lll_trylock_elision): Likewise.
1073 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
1074 (__lll_unlock_elision): Update adapt_count variable inside the
1075 critical section using C11 atomics.
1076
1077 2017-01-03 Joseph Myers <joseph@codesourcery.com>
1078
1079 * math/test-fenvinline.c (do_test): Disable tests of raised
1080 exceptions if !EXCEPTION_TESTS (FLOAT).
1081
1082 2017-01-03 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1083
1084 [BZ #19390]
1085 * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
1086 maximum string size.
1087 * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
1088 in pointer addition.
1089 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
1090 Likewise.
1091
1092 2017-01-03 Joseph Myers <joseph@codesourcery.com>
1093
1094 * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
1095 passed to tst-ldconfig-X.sh.
1096
1097 2017-01-03 Martin Galvan <martingalvan@sourceware.org>
1098
1099 * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
1100
1101 2017-01-02 Joseph Myers <joseph@codesourcery.com>
1102
1103 [BZ #21019]
1104 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
1105 New syscall entry.
1106 * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
1107 * io/test-lfs.c (do_test): Test offset returned from lseek64 and
1108 lseek.
1109
1110 * scripts/build-many-glibcs.py (Context.add_all_configs): Add
1111 power4 glibc for powerpc-linux-gnu.
1112
1113 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1114
1115 * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
1116 semctl.
1117
1118 2017-01-02 Joseph Myers <joseph@codesourcery.com>
1119
1120 * math/test-nearbyint-except.c: Include <stdbool.h>.
1121 (any_supported): New variable.
1122 (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT). Otherwise
1123 set any_supported.
1124 (do_test): Return 77 if no floating-point type supported
1125 exceptions.
1126
1127 * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
1128 condition on [__mips_hard_float].
1129
1130 2017-01-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1131
1132 [BZ #21014]
1133 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
1134 in pointer addition.
1135 * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
1136
1137 2017-01-02 Torvald Riegel <triegel@redhat.com>
1138
1139 * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
1140 new condvar.
1141
1142 2017-01-02 Joseph Myers <joseph@codesourcery.com>
1143
1144 * scripts/build-many-glibcs.py (Context.checkout): Default
1145 binutils version to 2.28 branch.
1146
1147 2017-01-01 Florian Weimer <fweimer@redhat.com>
1148
1149 * support/support_format_netent.c (support_format_netent): Work
1150 around alpha struct netent definition difference.
1151
1152 2017-01-01 Florian Weimer <fweimer@redhat.com>
1153
1154 * support/xwrite.c (xwrite): Use %td for pointer difference.
1155
1156 2017-01-01 Florian Weimer <fweimer@redhat.com>
1157
1158 * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
1159 have-tunables only.
1160 (tests-static): Add tst-malloc-usable-static-tunables for
1161 have-tunables only.
1162
1163 2017-01-01 Joseph Myers <joseph@codesourcery.com>
1164
1165 * scripts/config.guess: Update to version 2017-01-01.
1166 * scripts/config.sub: Update to version 2017-01-01.
1167
1168 * NEWS: Update copyright dates.
1169 * catgets/gencat.c (print_version): Likewise.
1170 * csu/version.c (banner): Likewise.
1171 * debug/catchsegv.sh: Likewise.
1172 * debug/pcprofiledump.c (print_version): Likewise.
1173 * debug/xtrace.sh (do_version): Likewise.
1174 * elf/ldconfig.c (print_version): Likewise.
1175 * elf/ldd.bash.in: Likewise.
1176 * elf/pldd.c (print_version): Likewise.
1177 * elf/sotruss.sh: Likewise.
1178 * elf/sprof.c (print_version): Likewise.
1179 * iconv/iconv_prog.c (print_version): Likewise.
1180 * iconv/iconvconfig.c (print_version): Likewise.
1181 * locale/programs/locale.c (print_version): Likewise.
1182 * locale/programs/localedef.c (print_version): Likewise.
1183 * login/programs/pt_chown.c (print_version): Likewise.
1184 * malloc/memusage.sh (do_version): Likewise.
1185 * malloc/memusagestat.c (print_version): Likewise.
1186 * malloc/mtrace.pl: Likewise.
1187 * manual/libc.texinfo: Likewise.
1188 * nptl/version.c (banner): Likewise.
1189 * nscd/nscd.c (print_version): Likewise.
1190 * nss/getent.c (print_version): Likewise.
1191 * nss/makedb.c (print_version): Likewise.
1192 * posix/getconf.c (main): Likewise.
1193 * scripts/test-installation.pl: Likewise.
1194 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
1195
1196 * All files with FSF copyright notices: Update copyright dates
1197 using scripts/update-copyrights.
1198 * intl/plural.c: Regenerated.
1199 * locale/programs/charmap-kw.h: Likewise.
1200 * locale/programs/locfile-kw.h: Likewise.
1201
1202 2016-12-31 Florian Weimer <fweimer@redhat.com>
1203
1204 [BZ #20593]
1205 Update DNS RR type definitions.
1206 * scripts/gen-rrtypes.py: New file.
1207 * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
1208 BIND-internal RR type not used on the Internet. Add ns_t_ds,
1209 ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
1210 ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
1211 ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
1212 ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
1213 ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
1214 ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
1215 ns_t_ta, ns_t_dlv.
1216 * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
1217 (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
1218 (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
1219 (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
1220 (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
1221 (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
1222 Define.
1223 * resolv/res_debug.c (__p_type_syms): Update comment. Remove
1224 entry for ns_t_zxfr.
1225
1226 2016-12-31 Florian Weimer <fweimer@redhat.com>
1227
1228 [BZ #18784]
1229 CVE-2015-5180
1230 * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
1231 T_UNSPEC. Adjust value.
1232 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
1233 * resolv/res_query.c (__libc_res_nquery): Likewise.
1234 * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
1235 QTYPEs.
1236 * resolv/tst-resolv-qtypes.c: New file.
1237 * resolv/Makefile (xtests): Add tst-resolv-qtypes.
1238 (tst-resolv-qtypes): Link against libresolv and libpthread.
1239
1240 2016-12-31 Florian Weimer <fweimer@redhat.com>
1241
1242 * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
1243
1244 2016-12-31 Siddhesh Poyarekar <siddhesh@sourceware.org>
1245
1246 * manual/tunables.texi: New chapter.
1247 * manual/Makefile (chapters): Add it.
1248 * manual/probes.texi (@node): Point to the Tunables chapter.
1249
1250 * Makeconfig (have-tunables): Check for non-negative instead
1251 of positive.
1252 * configure.ac: Add 'valstring' as a valid value for
1253 --enable-tunables.
1254 * configure: Regenerate.
1255 * elf/Makefile (have-tunables): Check for non-negative instead
1256 of positive.
1257 (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
1258 dl-tunables.c.
1259 * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
1260 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
1261 (tunables_strdup): Likewise.
1262 (disable_tunables): Likewise.
1263 (parse_tunables): Likewise.
1264 (__tunables_init): Process GLIBC_TUNABLES envvar only when.
1265 TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
1266 * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
1267 (TUNABLES_FRONTEND_yes): New macro, define as
1268 TUNABLES_FRONTEND_valstring by default.
1269 * manual/install.texi: Document new acceptable values for
1270 --enable-tunables.
1271 * INSTALL: Regenerate.
1272
1273 * config.make.in (have-loop-to-function): Define.
1274 * elf/Makefile (CFLAGS-dl-tunables.c): Add
1275 -fno-tree-loop-distribute-patterns.
1276 * elf/dl-tunables.c: Include libc-internals.h.
1277 (GLIBC_TUNABLES): New macro.
1278 (tunables_strdup): New function.
1279 (parse_tunables): New function.
1280 (min_strlen): New function.
1281 (__tunables_init): Use the new functions and macro.
1282 (disable_tunable): Disable tunable from GLIBC_TUNABLES.
1283 * malloc/tst-malloc-usable-tunables.c: New test case.
1284 * malloc/tst-malloc-usable-static-tunables.c: New test case.
1285 * malloc/Makefile (tests, tests-static): Add tests.
1286
1287 * manual/install.texi: Add --enable-tunables option.
1288 * INSTALL: Regenerate.
1289 * README.tunables: New file.
1290 * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
1291 (before-compile): Generate dl-tunable-list.h early.
1292 * config.h.in: Add HAVE_TUNABLES.
1293 * config.make.in: Add have-tunables.
1294 * configure.ac: Add --enable-tunables option.
1295 * configure: Regenerate.
1296 * csu/init-first.c (__libc_init_first): Move
1297 __libc_init_secure earlier...
1298 * csu/init-first.c (LIBC_START_MAIN):... to here.
1299 Include dl-tunables.h, libc-internal.h.
1300 (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
1301 binaries.
1302 * elf/Makefile (dl-routines): Add dl-tunables.
1303 * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
1304 namespace.
1305 * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
1306 only when !HAVE_TUNABLES.
1307 * elf/rtld.c (process_envvars): Likewise.
1308 * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
1309 (_dl_sysdep_start): Call __tunables_init.
1310 * elf/dl-tunable-types.h: New file.
1311 * elf/dl-tunables.c: New file.
1312 * elf/dl-tunables.h: New file.
1313 * elf/dl-tunables.list: New file.
1314 * malloc/tst-malloc-usable-static.c: New test case.
1315 * malloc/Makefile (tests-static): Add it.
1316 * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
1317 Define TUNABLE_NAMESPACE.
1318 (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
1319 (DL_TUNABLE_CALLBACK_FNDECL): New macro. Use it to define
1320 callback functions.
1321 (ptmalloc_init): Set tunable values.
1322 * scripts/gen-tunables.awk: New file.
1323 * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
1324 (_dl_sysdep_start): Call __tunables_init.
1325
1326 2016-12-31 Florian Weimer <fweimer@redhat.com>
1327
1328 * resolv/resolv.h (RES_BLAST): Deprecate.
1329 * resolv/res_debug.c (p_option): Remove RES_BLAST.
1330 * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
1331 to RES_BLAST.
1332
1333 2016-12-27 Florian Weimer <fweimer@redhat.com>
1334
1335 [BZ #19582]
1336 Deprecate RES_USE_INET6.
1337 * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
1338 (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
1339 (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
1340 RES_USE_INET6.
1341 * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
1342 (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
1343 (_nss_nisplus_gethostbyaddr_r): Likewise.
1344 * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
1345 of res_use_inet6.
1346 * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
1347 instead of RES_USE_INET6.
1348 * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
1349 * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
1350 (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
1351 Likewise.
1352 * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
1353 (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
1354 Likewise.
1355 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
1356 (_nss_dns_gethostbyname_r): Likewise.
1357 (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
1358 alternate RES_USE_INET6 handling.
1359 * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
1360 instead of RES_USE_INET6.
1361 * resolv/res_init.c (res_setoptions): Likewise.
1362 * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
1363 * resolv/resolv-internal.h: New file.
1364 * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
1365 make the deprecation warning non-fatal.
1366 * resolv/README (Using the resolver in multi-threaded code): Drop
1367 reference to RES_USE_INET6.
1368 * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
1369 DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
1370
1371 2016-12-31 Florian Weimer <fweimer@redhat.com>
1372
1373 * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
1374 tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
1375 tst-resolv-search.
1376 (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
1377 (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
1378 with libresolv and libpthread.
1379 * resolv/tst-bug18665.c: New file.
1380 * resolv/tst-bug18665-tcp: Likewise.
1381 * resolv/tst-res_use_inet6: Likewise.
1382 * resolv/tst-resolv-basic: Likewise.
1383 * resolv/tst-resolv-network: Likewise.
1384 * resolv/tst-resolv-search: Likewise.
1385 * support/Makefile (libsupport-routines): Add check_addrinfo,
1386 check_dns_packet, check_hostent, check_netent, resolv_test,
1387 support_format_address_family, support_format_addrinfo,
1388 support_format_dns_packet, support_format_herrno,
1389 support_format_hostent, support_format_netent, support_run_diff,
1390 xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
1391 xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
1392 xstrdup, xwrite.
1393 * support/check_addrinfo.c: New file.
1394 * support/check_dns_packet.c: Likewise.
1395 * support/check_hostent.c: Likewise.
1396 * support/check_netent.c: Likewise.
1397 * support/check_nss.h: Likewise.
1398 * support/format_nss.h: Likewise.
1399 * support/resolv_test.c: Likewise.
1400 * support/resolv_test.h: Likewise.
1401 * support/run_diff.h: Likewise.
1402 * support/support_format_address_family.c: Likewise.
1403 * support/support_format_addrinfo.c: Likewise.
1404 * support/support_format_dns_packet.c: Likewise.
1405 * support/support_format_herrno.c: Likewise.
1406 * support/support_format_hostent.c: Likewise.
1407 * support/support_format_netent.c: Likewise.
1408 * support/support_run_diff.c: Likewise.
1409 * support/xaccept.c: Likewise.
1410 * support/xbind.c: Likewise.
1411 * support/xconnect.c: Likewise.
1412 * support/xfclose.c: Likewise.
1413 * support/xfopen.c: Likewise.
1414 * support/xgetsockname.c: Likewise.
1415 * support/xlisten.c: Likewise.
1416 * support/xmemstream.c: Likewise.
1417 * support/xmemstream.h: Likewise.
1418 * support/xpoll.c: Likewise.
1419 * support/xpthread_once.c: Likewise.
1420 * support/xrecvfrom.c: Likewise.
1421 * support/xsendto.c: Likewise.
1422 * support/xsetsockopt.c: Likewise.
1423 * support/xstdio.h: Likewise.
1424 * support/xstrdup.c: Likewise.
1425 * support/support.h (xstrdup): Declare.
1426 * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
1427 (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
1428 * support/xthread.h (xpthread_once): Likwise.
1429 * support/xunistd.h (xwrite): Declare.
1430
1431 2016-12-31 Florian Weimer <fweimer@redhat.com>
1432
1433 * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
1434 (test_verbose): Declare.
1435 * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
1436 * support/support_test_main.c (default_options): Likewise.
1437 (usage, support_test_main): Handle 'v'.
1438 (test_verbose): Define.
1439 * support/tst-support_record_failure.c (do_test): Use
1440 test_verbose.
1441 * support/tst-support_record_failure-2.sh (different_status): Add
1442 --verbose test.
1443
1444 2016-12-31 Florian Weimer <fweimer@redhat.com>
1445
1446 * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
1447 test failures are recorded.
1448 * support/check.c (support_print_failure_impl): Call
1449 support_record_failure.
1450 (support_exit_failure_impl): Call support_record_failure if status
1451 indicates failure.
1452 * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
1453 * support/xasprintf.c (xasprintf): Likewise.
1454 * support/xfork.c (xfork): Likewise.
1455 * support/xpthread_check_return.c (xpthread_check_return):
1456 Likewise.
1457 * support/xsocket.c (xsocket): Likeweise.
1458 * support/xwaitpid.c (xwaitpid): Likewise.
1459 * support/support_record_failure.c (struct test_failures): Adjust
1460 to coding style.
1461 * support/support_test_verify_impl.c (support_test_verify_impl):
1462 Adjust error messages.
1463 * support/tst-support_record_failure-2.sh (different_status):
1464 Adjust error messages.
1465
1466 2016-12-31 Florian Weimer <fweimer@redhat.com>
1467
1468 * support/namespace.h: New file.
1469 * support/support_become_root.c: Likewise.
1470 * support/support_enter_network_namespace.c: Likewise.
1471 * support/tst-support-namespace.c: Likewise.
1472 * support/xsocket.c: Likewise.
1473 * support/xsocket.h: Likewise.
1474 * support/Makefile (libsupport-routines): Add support_become_root,
1475 support_enter_network_namespace, xsocket.
1476 (tests): Add tst-support-namespace.
1477
1478 2016-12-31 Florian Weimer <fweimer@redhat.com>
1479
1480 [BZ #17252]
1481 * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
1482 __USE_GNU.
1483
1484 2016-12-31 Torvald Riegel <triegel@redhat.com>
1485
1486 [BZ #13165]
1487 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
1488 use new algorithm.
1489 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
1490 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
1491 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
1492 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
1493 (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
1494 (__condvar_confirm_wakeup, __condvar_cancel_waiting,
1495 __condvar_cleanup_waiting, __condvar_dec_grefs,
1496 __pthread_cond_wait_common): New.
1497 (__condvar_cleanup): Remove.
1498 * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
1499 * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
1500 Likewise.
1501 * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
1502 Likewise.
1503 * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
1504 * nptl/tst-cond1.c: Add comment.
1505 * nptl/tst-cond20.c (do_test): Adapt.
1506 * nptl/tst-cond22.c (do_test): Likewise.
1507 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
1508 structure.
1509 * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1510 * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1511 * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1512 * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
1513 Likewise.
1514 * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1515 * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1516 * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1517 * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1518 * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1519 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
1520 Likewise.
1521 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
1522 Likewise.
1523 * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
1524 * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
1525 (COND_CLOCK_BITS): Adapt.
1526 * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
1527 * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
1528 __PTHREAD_COND_SHARED_MASK): New.
1529 * nptl/nptl-printers.py (CLOCK_IDS): Remove.
1530 (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
1531 * nptl/nptl_lock_constants.pysym: Adapt.
1532 * nptl/test-cond-printers.py: Adapt.
1533 * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
1534 cond_compat_check_and_clear): Adapt.
1535 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
1536 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
1537 (__pthread_cond_timedwait): ... and move here.
1538 * nptl/DESIGN-condvar.txt: Remove file.
1539 * nptl/lowlevelcond.sym: Likewise.
1540 * nptl/pthread_cond_timedwait.c: Likewise.
1541 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
1542 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
1543 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
1544 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
1545 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
1546 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
1547 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
1548 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
1549 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
1550 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
1551 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
1552 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
1553 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
1554 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
1555 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
1556 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
1557
1558 2016-12-31 Joseph Myers <joseph@codesourcery.com>
1559
1560 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
1561 (fromfp): New declaration.
1562 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1563 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1564 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1565 * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
1566 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
1567 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
1568 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
1569 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
1570 * math/math.h: Include <bits/types.h>.
1571 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
1572 constant and macro.
1573 (FP_INT_DOWNWARD): Likewise.
1574 (FP_INT_TOWARDZERO): Likewise.
1575 (FP_INT_TONEARESTFROMZERO): Likewise.
1576 (FP_INT_TONEAREST): Likewise.
1577 * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
1578 (fromfpf): Likewise.
1579 (fromfpl): Likewise.
1580 (ufromfp): Likewise.
1581 (ufromfpf): Likewise.
1582 (ufromfpl): Likewise.
1583 (fromfpx): Likewise.
1584 (fromfpxf): Likewise.
1585 (fromfpxl): Likewise.
1586 (ufromfpx): Likewise.
1587 (ufromfpxf): Likewise.
1588 (ufromfpxl): Likewise.
1589 * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
1590 s_fromfpxF and s_ufromfpxF.
1591 * math/gen-fromfp-tests.py: New file.
1592 * math/gen-fromfp-tests-inputs: Likewise.
1593 * math/libm-test.inc: Include <stdint.h>
1594 (check_intmax_t): New function.
1595 (check_uintmax_t): Likewise.
1596 (struct test_fiu_M_data): New type.
1597 (struct test_fiu_U_data): Likewise.
1598 (RUN_TEST_fiu_M): New macro.
1599 (RUN_TEST_LOOP_fiu_M): Likewise.
1600 (RUN_TEST_fiu_U): Likewise.
1601 (RUN_TEST_LOOP_fiu_U): Likewise.
1602 (fromfp_test_data): New array.
1603 (fromfp_test): New function.
1604 (fromfpx_test_data): New array.
1605 (fromfpx_test): New function.
1606 (ufromfp_test_data): New array.
1607 (ufromfp_test): New function.
1608 (ufromfpx_test_data): New array.
1609 (ufromfpx_test): New function.
1610 (main): Call fromfp_test, fromfpx_test, ufromfp_test and
1611 ufromfpx_test.
1612 * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
1613 characters.
1614 * math/test-tgmath-ret.c: Include <stdint.h>.
1615 (rm): New variable.
1616 (width): Likewise.
1617 (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
1618 called function.
1619 (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
1620 CHECK_RET_CONST_TYPE.
1621 (CHECK_RET_CONST_DOUBLE): Likewise.
1622 (CHECK_RET_CONST_LDOUBLE): Likewise.
1623 (CHECK_RET_CONST): Take extra arguments and pass them to calls
1624 macros.
1625 (fromfp): New CHECK_RET_CONST call.
1626 (ufromfp): Likewise.
1627 (fromfpx): Likewise.
1628 (ufromfpx): Likewise.
1629 (do_test): Call check_return_fromfp, check_return_ufromfp,
1630 check_return_fromfpx and check_return_ufromfpx.
1631 * math/test-tgmath.c: Include <stdint.h>
1632 (NCALLS): Increase to 138.
1633 (F(compile_test)): Initialize i. Call fromfp functions.
1634 (F(fromfp)): New function.
1635 (F(fromfpx)): Likewise.
1636 (F(ufromfp)): Likewise.
1637 (F(ufromfpx)): Likewise.
1638 * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
1639 FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
1640 FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
1641 ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
1642 ufromfpxl.
1643 * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
1644 ufromfp and ufromfpx.
1645 * math/fromfp.h: New file.
1646 * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
1647 * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
1648 * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
1649 * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
1650 * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
1651 * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
1652 * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
1653 * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
1654 * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
1655 * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
1656 * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
1657 * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
1658 * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
1659 * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
1660 * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
1661 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
1662 * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
1663 * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
1664 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
1665 * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
1666 * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
1667 * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
1668 * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
1669 * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
1670 * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
1671 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
1672 ufromfp, fromfpx and ufromfpx.
1673 (CFLAGS-nldbl-fromfp.c): New variable.
1674 (CFLAGS-nldbl-fromfpx.c): Likewise.
1675 (CFLAGS-nldbl-ufromfp.c): Likewise.
1676 (CFLAGS-nldbl-ufromfpx.c): Likewise.
1677 * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
1678 * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
1679 * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
1680 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
1681 * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
1682 * sysdeps/nacl/libm.abilist: Update.
1683 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
1684 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
1685 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
1686 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
1687 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
1688 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
1689 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
1690 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
1691 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
1692 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
1693 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
1694 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
1695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
1696 Likewise.
1697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
1698 Likewise.
1699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
1700 Likewise.
1701 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
1702 Likewise.
1703 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
1704 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
1705 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
1706 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
1707 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
1708 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
1709 Likewise.
1710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
1711 Likewise.
1712 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
1713 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
1714 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
1715
1716 2016-12-30 Florian Weimer <fweimer@redhat.com>
1717
1718 * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
1719 compat-gethnamaddr.
1720 (CPPFLAGS): Remove.
1721 * resolv/gethnamaddr.c: Rename ...
1722 * resolv/compat-gethnamaddr.c: ... to this file.
1723 (_endhtent): Make static.
1724 (res_gethostbyname): Renamed from gethostbyname. Turn into compat
1725 symbol.
1726 (res_gethostbyname2): Renamed from gethostbyname2. Turn into
1727 compat symbol.
1728 (res_gethostbyaddr): Renamed from gethostbyaddr. Turn into compat
1729 symbol.
1730 (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
1731 Turn into compat symbol.
1732 * include/resolv.h (_endhtent): Remove declaration.
1733
1734 2016-12-30 Joseph Myers <joseph@codesourcery.com>
1735
1736 * bits/types.h (__intmax_t): New typedef.
1737 (__uintmax_t): Likewise.
1738 * sysdeps/generic/stdint.h: Include <bits/types.h>.
1739 (intmax_t): Define using __intmax_t.
1740 (uintmax_t): Define using __uintmax_t.
1741
1742 * support/Makefile (tests-special): Make definition conditional on
1743 [$(run-built-tests) = yes].
1744 ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
1745 on [$(run-built-tests) = yes].
1746
1747 2016-12-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
1748
1749 * Rules (tests): Add tests-printers-programs to tests to be
1750 built.
1751
1752 2016-12-28 Adhemerval Zanella <adhemerval.zanella@linaro.org>
1753
1754 * sysvipc/Makefile (tests): Add test-sysvshm.
1755 * sysvipc/test-sysvshm.c: New file.
1756
1757 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
1758 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
1759 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
1760 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
1761 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
1762 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
1763 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
1764 Likewise.
1765 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
1766 Likewise.
1767 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
1768 * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
1769 is defined.
1770
1771 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
1772 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
1773 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
1774 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
1775 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
1776 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
1777 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
1778 Likewise.
1779 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
1780 Likewise.
1781 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
1782 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
1783 defined.
1784
1785 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1786 oldshmctl.
1787 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
1788 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
1789 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
1790 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
1791 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
1792 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
1793 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
1794 Likewise.
1795 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
1796 Likewise.
1797 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
1798 * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
1799 * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
1800 * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
1801 * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
1802 implementation.
1803 * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
1804 if it is defined.
1805
1806 * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
1807 * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
1808 * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
1809 * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
1810 * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
1811 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
1812 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
1813 Likewise.
1814 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
1815 Likewise.
1816 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
1817 * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
1818 Define to __NR_osf_shmat.
1819 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
1820 defined.
1821
1822 * sysvipc/Makefile (tests): Add test-sysvsem.
1823 * sysvipc/test-sysvsem.c: New file.
1824
1825 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
1826 * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
1827 * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
1828 Likewise.
1829 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
1830 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
1831 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
1832 Likewise.
1833 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
1834 Likewise.
1835 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
1836 * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
1837 * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
1838 add a comment about s390 syscall difference from default one.
1839 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
1840 syscall if it is defined.
1841
1842 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
1843 * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
1844 * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
1845 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
1846 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
1847 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
1848 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
1849 Likewise.
1850 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
1851 Likewise.
1852 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
1853 * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
1854 defined.
1855
1856 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
1857 * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
1858 * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
1859 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
1860 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
1861 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
1862 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
1863 Likewise.
1864 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
1865 Likewise.
1866 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
1867 * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
1868 if it is defined.
1869
1870 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1871 oldsemctl.
1872 * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
1873 * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
1874 * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
1875 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
1876 * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
1877 implementation.
1878 * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
1879 syscall if it is defined.
1880 * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
1881 * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
1882 * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
1883 * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
1884 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
1885 Likewise.
1886 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
1887
1888 * sysvipc/Makefile (tests): Add test-sysvmsg.
1889 * sysvipc/test-sysvmsg.c: New file.
1890 * support/check.h (FAIL_UNSUPPORTED): New define.
1891
1892 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
1893 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
1894 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
1895 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
1896 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
1897 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
1898 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
1899 Likewise.
1900 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
1901 Likewise.
1902 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
1903 * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
1904 define.
1905
1906 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
1907 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
1908 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
1909 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
1910 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
1911 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
1912 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
1913 Likewise.
1914 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
1915 Likewise.
1916 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
1917 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
1918 if defined.
1919
1920 * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
1921 * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
1922 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1923 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1924 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1925 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
1926 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1927 Likewise.
1928 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
1929 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
1930 Likewise.
1931 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
1932 if defined.
1933 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
1934
1935 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
1936 oldmsgctl.
1937 * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
1938 * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
1939 * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
1940 * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
1941 * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
1942 * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
1943 * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
1944 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
1945 Likewise.
1946 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
1947 * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
1948 implementation.
1949 * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
1950 if defined.
1951
1952 * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
1953 * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
1954 definition and define its own.
1955 * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
1956 * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
1957 * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
1958 * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
1959 * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
1960 definitions to common header.
1961 * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
1962 operation from ipc_ops.h.
1963
1964 * sysdeps/unix/sysv/linux/kernel-features.h
1965 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
1966 * sysdeps/unix/sysv/linux/i386/kernel-features.h
1967 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
1968 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
1969 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1970 * sysdeps/unix/sysv/linux/mips/kernel-features.h
1971 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1972 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
1973 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1974 * sysdeps/unix/sysv/linux/s390/kernel-features.h
1975 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1976 * sysdeps/unix/sysv/linux/sh/kernel-features.h
1977 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1978 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
1979 (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
1980
1981 2016-12-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
1982
1983 * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
1984 overflow in pointer addition.
1985
1986 2016-12-28 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
1987
1988 * sysdeps/powerpc/powerpc64/multiarch/Makefile
1989 (sysdep_routines): Add strchr-power8 and strchrnul_power8.
1990 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1991 (strchr): Add __strchr_power8 to list of strchr functions.
1992 (strchrnul): Add __strchrnul_power8 to list of strchr functions.
1993 * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
1994 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
1995 * sysdeps/powerpc/powerpc64/multiarch/strchr.c
1996 (strchr): Add __strchr_power8 to ifunc list.
1997 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
1998 (__strchrnul): Add __strchrnul_power8 to ifunc list.
1999 * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
2000 * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
2001
2002 2016-12-28 Florian Weimer <fweimer@redhat.com>
2003
2004 * support/Makefile (libsupport-routines): Add
2005 support_test_verify_impl, support_record_failure, xfork, xwaitpid.
2006 (tests): Add tst-support_record_failure.
2007 (tests-special): tst-support_record_failure-2.
2008 (tst-support_record_failure-2.out): Depend on
2009 tst-support_record_failure-2.sh and tst-support_record_failure.
2010 * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
2011 (support_test_verify_impl, support_record_failure)
2012 (support_report_failure, support_report_failure_reset): Declare.
2013 * support/support_test_main.c (adjust_exit_status): New function.
2014 (support_test_main): Call it to incorporate record test failures.
2015 * support/support_test_verify_impl.c: New file.
2016 * support/support_record_failure.c: Likewise.
2017 * support/tst-support_record_failure.c: Likewise.
2018 * support/tst-support_record_failure-2.sh: Likewise.
2019 * support/xunistd.h: Likewise.
2020 * support/xfork.c: Likewise.
2021 * support/xwaitpid.c: Likewise.
2022
2023 2016-12-27 Steve Ellcey <sellcey@caviumnetworks.com>
2024
2025 * scripts/check-c++-types.sh: Add comments.
2026
2027 2016-12-27 Dmitry V. Levin <ldv@altlinux.org>
2028
2029 [BZ #19514]
2030 * resolv/res_send.c: Fix typo in comment.
2031 * sysdeps/i386/i386-mcount.S: Likewise.
2032 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
2033 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
2034 * sysdeps/sparc/sparc-mcount.S: Likewise.
2035
2036 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2037
2038 * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
2039 * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
2040 * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
2041 * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
2042 * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
2043 * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
2044 * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
2045 * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
2046
2047 2016-12-27 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2048
2049 * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
2050
2051 2016-12-27 Florian Weimer <fweimer@redhat.com>
2052
2053 [BZ #17252]
2054 * posix/unistd.h (getentropy): Declare.
2055
2056 2016-12-27 Florian Weimer <fweimer@redhat.com>
2057
2058 * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
2059 Remove.
2060 * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
2061 (cmd): Remove spoof, nospoof, spoofalert.
2062 (parse_line): Ignore spoof-related lines.
2063 (do_init): Do not process RESOLV_SPOOF_CHECK.
2064
2065 2016-12-27 Florian Weimer <fweimer@redhat.com>
2066
2067 [BZ #20964]
2068 sunrpc: Always obtain AF_INET addresses from NSS.
2069 * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
2070 * sunrpc/rpc_gethostbyname.c: New file.
2071 * sunrpc/Makefile (routines): Add it.
2072 * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
2073 * sunrpc/clnt_simp.c (callrpc): Likewise.
2074 * sunrpc/getrpcport.c (getrpcport): Likewise.
2075
2076 2016-12-27 Florian Weimer <fweimer@redhat.com>
2077
2078 * sunrpc/rpcinfo.c: Remove.
2079 * sunrpc/Makefile: Remove comments referring to rpcinfo.
2080
2081 2016-12-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2082
2083 [BZ# 19387]
2084 * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
2085 addition.
2086 * string/test-memchr.c (do_test): Remove alignment limitation.
2087 (test_main): Add test that trigger BZ# 19387.
2088
2089 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2090
2091 [BZ #7065]
2092 Enable stack protectore if requested by ./configure.
2093 * Makeconfig (+stack-protector): New variable.
2094 (+cflags): Use it.
2095
2096 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2097
2098 [BZ #7065]
2099 * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
2100 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
2101 (__rt_sigreturn_stub): Use inhibit_stack_protector.
2102 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
2103 (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
2104
2105 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2106
2107 [BZ #7065]
2108 * login/Makefile (pt_chown-cflags): Remove.
2109 * nscd/Makefile (CFLAGS-nscd): Likewise.
2110 * resolv/Makefile (CFLAGS-libresolv): Likewise.
2111
2112 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2113
2114 [BZ #7065]
2115 * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
2116 non-libc-linking testcase.
2117
2118 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2119 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2120 Florian Weimer <fweimer@redhat.com>
2121
2122 [BZ #7065]
2123 PLT avoidance for __stack_chk_fail*.
2124 * debug/Makefile (CFLAGS-stack_chk_fail.c)
2125 (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
2126 * debug/stack_chk_fail.c (__stack_chk_fail): Add
2127 __stack_chk_fail_local alias.
2128 * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
2129 (__stack_chk_fail): Turn into hidden reference to
2130 __stack_chk_fail_local.
2131
2132 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2133
2134 [BZ #7065]
2135 * configure.ac: Add check for unsupported stack-protection level.
2136 (libc_cv_predef_stack_protector): Remove.
2137 (no_ssp): New variable.
2138 (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
2139 (stack_protector): Set to -fno-stack-protector similarly.
2140 (libc_cv_ld_gnu_indirect_function): Use no_ssp.
2141 (libc_cv_asm_set_directive): Likewise.
2142 (libc_cv_protected_data): Likewise.
2143 (libc_cv_z_combreloc): Likewise.
2144 (libc_cv_hashstyle): Likewise.
2145 (libc_cv_has_glob_dat): Likewise.
2146 (libc_cv_output_format): Likewise.
2147 (libc_cv_output_format): Likewise.
2148 (libc_cv_ehdr_start): Likewise.
2149 * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
2150 (LIBC_LINKER_FEATURE): Likewise.
2151 (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
2152
2153 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2154
2155 [BZ #7065]
2156 * elf/Makefile (dummy-stack-chk-fail): New.
2157 (librtld.map): Use it.
2158
2159 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2160
2161 [BZ #7065]
2162 Compile the dynamic linker without stack protection.
2163 * elf/Makefile (elide-stack-protector): New.
2164 (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
2165 (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
2166 * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
2167 * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
2168
2169 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2170
2171 [BZ #7065]
2172 * config.make.in (have-ssp, no-stack-protector): New.
2173 * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
2174 * misc/Makefile (CFLAGS-sbrk.o): Likewise.
2175 (CFLAGS-sbrk.op): Likewise.
2176 (CFLAGS-brk.o): Likewise.
2177 (CFLAGS-brk.op): Likewise.
2178 * string/Makefile (CFLAGS-memcpy.c): Likewise.
2179 (CFLAGS-wordcopy.c): Likewise.
2180
2181 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2182
2183 [BZ #7065]
2184 * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
2185 * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
2186 * include/libc-symbols.h (inhibit_stack_protector): New macro.
2187 (__ifunc_resolver): Use it.
2188 * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
2189 inhibit_stack_protector.
2190 * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
2191 * elf/ifuncmain7.c (foo_ifunc): Likewise.
2192 * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
2193 (foo_protected_ifunc): Likewise.
2194 * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
2195 (foo_protected_ifunc): Likewise.
2196 * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
2197 * sysdeps/nacl/nacl_interface_query.c
2198 (nacl_interface_query_ifunc): Likewise.
2199 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
2200 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
2201 Likewise.
2202 * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
2203 * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
2204 the generated vDSO syscall resolver.
2205
2206 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2207 Florian Weimer <fweimer@redhat.com>
2208
2209 [BZ #7065]
2210 Initialize the stack guard earlier when linking statically.
2211 * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
2212 (__pthread_initialize_minimal): Declare.
2213 * csu/libc-start.c (__pthread_initialize_minimal): Remove
2214 declaration.
2215 (LIBC_START_MAIN): Call __libc_setup_tls early and directly. Move
2216 stack canary and apply_irel initialization up. Call
2217 __pthread_initialize_minimal only if linked in.
2218 * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
2219 constant values.
2220 (__pthread_initialize_minimal): Remove.
2221 * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
2222 (__pthread_initialize_minimal_internal): Do not call
2223 __libc_setup_tls.
2224
2225 2016-12-26 Nick Alcock <nick.alcock@oracle.com>
2226
2227 [BZ #7065]
2228 * configure.ac (libc_cv_ssp): Move up.
2229 (libc_cv_ssp_strong): Likewise.
2230 (libc_cv_ssp_all): New.
2231 (stack_protector): Augment, adding -fstack-protector-all.
2232 (no_stack_protector): New.
2233 (STACK_PROTECTOR_LEVEL): New.
2234 (AC_ARG_ENABLE(stack-protector)): New configure flag.
2235 * manual/install.texi (--enable-stack-protector): Document it.
2236 * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
2237
2238 2016-12-24 Carlos O'Donell <carlos@redhat.com>
2239
2240 * README.pretty-printers: Must specify CPPFLAGS-* also.
2241 * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
2242 (CPPFLAGS-test-mutex-printers.c): Define.
2243 (CPPFLAGS-test-condattr-printers.c): Define.
2244 (CPPFLAGS-test-cond-printers.c): Define.
2245 (CPPFLAGS-test-rwlockattr-printers.c): Define.
2246 (CPPFLAGS-test-rwlock-printers.c): Define.
2247
2248 * nss/Makefile [ifeq (yes,$(have-thread-library))]
2249 (tests): Add tst-cancel-getpwuid_r.
2250 * nss/tst-cancel-getpwuid_r.c: New file.
2251
2252 [BZ #11941]
2253 * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
2254 Remove assert (map->l_init_called); if DF_1_NODELETE is set.
2255 * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
2256 tst-nodelete-dlclose.
2257 (modules-names): Add tst-nodelete-dlclose-dso and
2258 tst-nodelete-dlclose-plugin.
2259 ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
2260 ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
2261 ($(objpfx)tst-nodelete-dlclose): Define.
2262 ($(objpfx)tst-nodelete-dlclose.out): Define.
2263
2264 2016-12-23 Florian Weimer <fweimer@redhat.com>
2265
2266 * scripts/test_printers_common.py: Log GDB output in case of
2267 Python detection failure.
2268
2269 2016-12-22 Siddhesh Poyarekar <siddhesh@sourceware.org>
2270
2271 * configure.ac: Check for python3 or python.
2272 * configure: Regenerated.
2273 * config.make.in (PYTHON): New variable.
2274 * benchtests/Makefile: Don't define PYTHON.
2275 (bench): Define target only if PYTHON was defined.
2276 * Rules: Don't define PYTHON.
2277 Define pretty printer targets only if PYTHON was defined.
2278 (tests-printers): Add to tests-unsupported if PYTHON is not
2279 found.
2280 (python-flags, python-invoke): Remove.
2281 (tests-printers-out): Use PYTHON instead of python-invoke.
2282
2283 2016-12-21 Joseph Myers <joseph@codesourcery.com>
2284
2285 [BZ #20978]
2286 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
2287 Compare name == NULL, not name != NULL.
2288
2289 * manual/texinfo.tex: Update to version 2016-09-18.18 with
2290 trailing whitespace removed.
2291 * scripts/config.guess: Update to version 2016-10-02.
2292 * scripts/config.sub: Update to version 2016-11-19.
2293 * scripts/install-sh: Update to version 2016-01-11.22.
2294 * scripts/mkinstalldirs: Update to version 2016-01-11.22.
2295 * scripts/move-if-change: Update to version 2016-01-11 22:04.
2296
2297 2015-12-21 Wilco Dijkstra <wdijkstr@arm.com>
2298
2299 * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
2300 (do_one_test) Restore original string so iteration works.
2301 * string/string-inlines.c (do_test): Create better input strings.
2302 (test_main) Reduce number of testruns.
2303 * string/string-inlines.c (__old_strsep_1c): New function.
2304 (__old_strsep_2c): Likewise.
2305 (__old_strsep_3c): Likewise.
2306 * string/strsep.c (__strsep): Remove case of small delim string.
2307 Call strcspn directly rather than strpbrk.
2308 * string/bits/string2.h (__strsep): Remove define.
2309 (__strsep_1c): Remove.
2310 (__strsep_2c): Remove.
2311 (__strsep_3c): Remove.
2312 (strsep): Remove.
2313 * sysdeps/unix/sysv/linux/internal_statvfs.c
2314 (__statvfs_getflags): Rename to __strsep.
2315
2316 2016-12-21 Florian Weimer <fweimer@redhat.com>
2317
2318 * csu/libc-tls.c (_dl_tls_setup): Remove.
2319 * elf/dl-tls.c (_dl_tls_setup): Likewise.
2320 * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
2321 * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
2322
2323 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
2324
2325 [BZ #7065]
2326 * sysdeps/x86_64/Makefile [$(subdir) = elf]
2327 (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
2328
2329 2016-12-21 Nick Alcock <nick.alcock@oracle.com>
2330 Florian Weimer <fweimer@redhat.com>
2331
2332 [BZ #7065]
2333 * csu/Makefile (tests): Empty assignment and document it.
2334 (tests-static): Remove.
2335 * csu/tst-empty.c: Move to...
2336 * misc/tst-empty.c: ... here. Switch to new test driver.
2337 * csu/tst-atomic.c: Move to...
2338 * misc/tst-atomic.c: ... here. Switch to new test driver.
2339 * csu/tst-atomic-long.c: Move to...
2340 * misc/tst-atomic-long.c: ... here.
2341 * misc/Makefile (tests): Add tst-empty, tst-atomic,
2342 tst-atomic-long.
2343 (tests-static): Add tst-empty.
2344
2345 2016-12-21 Rical Jasan <ricaljasan@pacific.net>
2346
2347 * manual/nss.texi: Change incorrect @vtable to @table.
2348 * manual/arith.texi: Convert @tables of variables to @vtables
2349 and remove unnecessary indexing.
2350 * manual/filesys.texi: Likewise.
2351 * manual/llio.texi: Likewise.
2352 * manual/memory.texi: Likewise.
2353 * manual/process.texi: Likewise.
2354 * manual/resource.texi: Likewise.
2355 * manual/search.texi: Likewise.
2356 * manual/signal.texi: Likewise.
2357 * manual/socket.texi: Likewise.
2358 * manual/stdio.texi: Likewise.
2359 * manual/sysinfo.texi: Likewise.
2360 * manual/syslog.texi: Likewise.
2361 * manual/terminal.texi: Likewise.
2362 * manual/time.texi: Likewise.
2363 * manual/users.texi: Likewise.
2364
2365 2016-12-21 Joseph Myers <joseph@codesourcery.com>
2366
2367 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2368 (roundeven): New declaration.
2369 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
2370 macro.
2371 * math/Versions (roundeven): New libm symbol at version
2372 GLIBC_2.25.
2373 (roundevenf): Likewise.
2374 (roundevenl): Likewise.
2375 * math/Makefile (libm-calls): Add s_roundevenF.
2376 * math/libm-test.inc (roundeven_test_data): New array.
2377 (roundeven_test): New function.
2378 (main): Call roundeven_test.
2379 * math/test-tgmath.c (NCALLS): Increase to 134.
2380 (F(compile_test)): Call roundeven.
2381 (F(roundeven)): New function.
2382 * manual/arith.texi (Rounding Functions): Document roundeven,
2383 roundevenf and roundevenl.
2384 * manual/libm-err-tab.pl (@all_functions): Add roundeven.
2385 * include/math.h (roundeven): Use libm_hidden_proto.
2386 * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
2387 * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
2388 * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
2389 * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
2390 * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
2391 * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
2392 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
2393 roundeven.
2394 (CFLAGS-nldbl-roundeven.c): New variable.
2395 * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
2396 * sysdeps/nacl/libm.abilist: Update.
2397 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2398 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2399 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2400 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2401 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2402 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2403 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2404 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2405 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2406 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2407 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2408 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2410 Likewise.
2411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2412 Likewise.
2413 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2414 Likewise.
2415 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2416 Likewise.
2417 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2418 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2419 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2420 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2421 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2422 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2423 Likewise.
2424 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2425 Likewise.
2426 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2427 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2428 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2429
2430 2016-12-20 Joseph Myers <joseph@codesourcery.com>
2431
2432 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
2433 preprocessor indentation inside #if.
2434
2435 2016-12-20 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2436
2437 * math/libm-test.inc (fmt_ftostr): New function.
2438 (print_float, check_float_internal): Replace some uses of
2439 FTOSTR with uses of fmt_ftostr.
2440 (print_max_error, print_complex_max_error, print_function_ulps)
2441 (print_complex_function_ulps): Remove uses of the macros
2442 PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
2443 * math/test-double.h (FTOSTR): Define to strfromd.
2444 (PRINTF_EXPR): Delete.
2445 (PRINTF_XEXPR): Likewise.
2446 (PRINTF_NEXPR): Likewise.
2447 * math/test-float.h (FTOSTR): Define to strfromf.
2448 (PRINTF_EXPR): Delete.
2449 (PRINTF_XEXPR): Likewise.
2450 (PRINTF_NEXPR): Likewise.
2451 * math/test-ldouble.h (FTOSTR): Define to strfroml.
2452 (PRINTF_EXPR): Delete.
2453 (PRINTF_XEXPR): Likewise.
2454 (PRINTF_NEXPR): Likewise.
2455
2456 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2457
2458 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
2459 (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
2460 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
2461 (__lll_lock_elision): Decrement adapt_count while unlocking
2462 instead of before locking.
2463 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2464 (__lll_trylock_elision): Likewise.
2465 * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
2466 (__lll_unlock_elision): Likewise.
2467
2468 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2469
2470 * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
2471 * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
2472 Use __libc_tbegin_retry macro.
2473
2474 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2475
2476 * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
2477 Add -msoft-float.
2478 * sysdeps/unix/sysv/linux/s390/htm.h: New File.
2479 * sysdeps/unix/sysv/linux/s390/elision-lock.c:
2480 Use __libc_t* transaction macros instead of __builtin_t*.
2481 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
2482 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
2483
2484 2016-12-20 Stefan Liebler <stli@linux.vnet.ibm.com>
2485
2486 * sysdeps/unix/sysv/linux/s390/elision-lock.c
2487 (__lll_lock_elision): Use atomics to load / store adapt_count.
2488 * sysdeps/unix/sysv/linux/s390/elision-trylock.c
2489 (__lll_trylock_elision): Likewise.
2490
2491 2016-12-20 Florian Weimer <fweimer@redhat.com>
2492
2493 Do not require memset elimination in explicit_bzero test.
2494 * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
2495 (enum test_expectation): Add NO_EXPECTATIONS.
2496 (subtests): NO_EXPECTATIONS for ordinary clear.
2497 (check_test_buffer): Handle NO_EXPECTATIONS.
2498 * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
2499
2500 2016-12-20 Joseph Myers <joseph@codesourcery.com>
2501
2502 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
2503 (fmaxmag): New declaration.
2504 (fminmag): Likewise.
2505 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
2506 macro.
2507 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
2508 * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
2509 (fmaxmagf): Likewise.
2510 (fmaxmagl): Likewise.
2511 (fminmag): Likewise.
2512 (fminmagf): Likewise.
2513 (fminmagl): Likewise.
2514 * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
2515 * math/s_fmaxmag_template.c: New file.
2516 * math/s_fminmag_template.c: Likewise.
2517 * math/libm-test.inc (fmaxmag_test_data): New array.
2518 (fmaxmag_test): New function.
2519 (fminmag_test_data): New array.
2520 (fminmag_test): New function.
2521 (main): Call fmaxmag_test and fminmag_test.
2522 * math/test-tgmath.c (NCALLS): Increase to 132.
2523 (F(compile_test)): Call fmaxmag and fminmag.
2524 (F(fminmag)): New function.
2525 (F(fmaxmag)): Likewise.
2526 * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
2527 fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
2528 * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
2529 fminmag.
2530 * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
2531 * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
2532 * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
2533 * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
2534 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
2535 and fminmag.
2536 (CFLAGS-nldbl-fmaxmag.c): New variable.
2537 (CFLAGS-nldbl-fminmag.c): Likewise.
2538 * sysdeps/nacl/libm.abilist: Update.
2539 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
2540 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
2541 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
2542 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
2543 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
2544 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
2545 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
2546 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
2547 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
2548 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
2549 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
2550 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
2551 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
2552 Likewise.
2553 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
2554 Likewise.
2555 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
2556 Likewise.
2557 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
2558 Likewise.
2559 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
2560 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
2561 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
2562 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
2563 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
2564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
2565 Likewise.
2566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
2567 Likewise.
2568 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
2569 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
2570 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
2571
2572 2016-12-19 Torvald Riegel <triegel@redhat.com>
2573
2574 [BZ #20973]
2575 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
2576 wake-up in robust mutexes.
2577 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
2578
2579 2016-12-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2580
2581 * benchtests/Makefile (bench-math): Add fminf and fmaxf.
2582 (CFLAGS-bench-fmaxf.c): New rule.
2583 (CFLAGS-bench-fminf.c): Likewise.
2584 * benchtests/fmaxf-inputs: New file.
2585 * benchtests/fminf-inputs: Likewise.
2586
2587 * benchtests/Makefile (bench-math): Add fmin and fmax.
2588 (CFLAGS-bench-fmax.c): New rule.
2589 (CFLAGS-bench-fmin.c): Likewise.
2590 * benchtests/fmax-inputs: New file.
2591 * benchtests/fmin-inputs: Likewise.
2592
2593 * benchtests/bench-string.h (TEST_FUNCTION): Use name without
2594 parenthesis.
2595 (CMDLINE_PROCESS): Define using function instead of macro.
2596 * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
2597 of test-skeleton.
2598 * benchtests/bench-memchr.c: Likewise.
2599 * benchtests/bench-memcmp.c: Likewise.
2600 * benchtests/bench-memcpy-large.c: Likewise.
2601 * benchtests/bench-memcpy.c: Likewise.
2602 * benchtests/bench-memmem.c: Likewise.
2603 * benchtests/bench-memmove-large.c: Likewise.
2604 * benchtests/bench-memmove.c: Likewise.
2605 * benchtests/bench-memset-large.c: Likewise.
2606 * benchtests/bench-memset.c: Likewise.
2607 * benchtests/bench-rawmemchr.c: Likewise.
2608 * benchtests/bench-strcasecmp.c: Likewise.
2609 * benchtests/bench-strcasestr.c: Likewise.
2610 * benchtests/bench-strcat.c: Likewise.
2611 * benchtests/bench-strchr.c: Likewise.
2612 * benchtests/bench-strcmp.c: Likewise.
2613 * benchtests/bench-strcpy.c: Likewise.
2614 * benchtests/bench-strcpy_chk.c: Likewise.
2615 * benchtests/bench-strlen.c: Likewise.
2616 * benchtests/bench-strncasecmp.c: Likewise.
2617 * benchtests/bench-strncmp.c: Likewise.
2618 * benchtests/bench-strncpy.c: Likewise.
2619 * benchtests/bench-strnlen.c: Likewise.
2620 * benchtests/bench-strpbrk.c: Likewise.
2621 * benchtests/bench-strrchr.c: Likewise.
2622 * benchtests/bench-strsep.c: Likewise.
2623 * benchtests/bench-strspn.c: Likewise.
2624 * benchtests/bench-strstr.c: Likewise.
2625 * benchtests/bench-strtok.c: Likewise.
2626
2627 2016-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
2628
2629 * sysdeps/x86/cpu-features.c (get_common_indeces): Add
2630 stepping identification.
2631 (init_cpu_features): Add handle of Haswell.
2632
2633 2016-11-25 Jim Meyering <meyering@fb.com>
2634
2635 [BZ #20386]
2636 Let gcc detect assert(a = 1) errors.
2637 * assert/assert.h (assert): Rewrite, retaining the old definintion
2638 when required, but otherwise putting the expression as-is in an "if"
2639 expression (hence, with no added parentheses) within a statement
2640 expression.
2641
2642 2016-12-17 Siddhesh Poyarekar <siddhesh@sourceware.org>
2643
2644 * benchtests/Makefile (binaries-benchset): Depend on libsupport
2645 DSO.
2646
2647 2016-12-17 Martin Galvan <martingalvan@sourceware.org>
2648
2649 * Rules (python-flags, python-invoke): New.
2650 ($(test-printers-out)): Use $(python-flags).
2651
2652 2016-12-16 Joseph Myers <joseph@codesourcery.com>
2653
2654 * manual/arith.texi (Math Error Reporting): Document that sNaN
2655 arguments are not considered domain errors.
2656
2657 2016-12-16 Zack Weinberg <zackw@panix.com>
2658 Florian Weimer <fweimer@redhat.com>
2659 Nick Mathewson <nickm@torproject.org>
2660
2661 * string/explicit_bzero.c: New routine.
2662 * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
2663 * string/Makefile (routines, strop-tests, tests): Add them.
2664 * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
2665 * string/string.h [__USE_MISC]: Declare explicit_bzero.
2666
2667 * debug/explicit_bzero_chk.c: New routine.
2668 * debug/Makefile (routines): Add it.
2669 * debug/tst-chk1.c: Test fortification of explicit_bzero.
2670 * string/bits/string3.h: Fortify explicit_bzero.
2671
2672 * manual/string.texi: Document explicit_bzero.
2673 * NEWS: Mention addition of explicit_bzero.
2674
2675 * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
2676 data before returning, using explicit_bzero.
2677 * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
2678 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
2679 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
2680
2681 * include/string.h: Redirect internal uses of explicit_bzero
2682 to __explicit_bzero_chk[_internal].
2683 * string/Versions [GLIBC_2.25]: Add explicit_bzero.
2684 * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
2685 * sysdeps/arm/nacl/libc.abilist
2686 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
2687 * sysdeps/unix/sysv/linux/alpha/libc.abilist
2688 * sysdeps/unix/sysv/linux/arm/libc.abilist
2689 * sysdeps/unix/sysv/linux/hppa/libc.abilist
2690 * sysdeps/unix/sysv/linux/i386/libc.abilist
2691 * sysdeps/unix/sysv/linux/ia64/libc.abilist
2692 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
2693 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
2694 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
2695 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
2696 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
2697 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
2698 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
2699 * sysdeps/unix/sysv/linux/nios2/libc.abilist
2700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
2701 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
2702 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
2703 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
2704 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
2705 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
2706 * sysdeps/unix/sysv/linux/sh/libc.abilist
2707 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
2708 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
2709 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
2710 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
2711 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
2712 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
2713 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
2714 Add entries for explicit_bzero and __explicit_bzero_chk.
2715
2716 2016-12-16 Joseph Myers <joseph@codesourcery.com>
2717
2718 * math/fenv.h
2719 [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
2720 (FE_SNANS_ALWAYS_SIGNAL): New macro.
2721 * math/test-fe-snans-always-signal.c: New file.
2722 * math/Makefile (tests): Add test-fe-snans-always-signal.
2723 (CFLAGS-test-fe-snans-always-signal.c): New variable.
2724 * manual/arith.texi (Infinity and NaN): Document
2725 FE_SNANS_ALWAYS_SIGNAL.
2726
2727 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2728
2729 * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
2730 bracket.
2731
2732 2016-12-16 Joseph Myers <joseph@codesourcery.com>
2733
2734 * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
2735 before calling execv.
2736
2737 2016-12-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2738
2739 [BZ# 20971]
2740 * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
2741 overflow in pointer addition.
2742 * string/test-memchr.c (do_test): Add an argument to pass as
2743 the size on memchr.
2744 (test_main): Add check for SIZE_MAX.
2745
2746 2016-12-16 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2747
2748 * math/Makefile (gen-libm-calls): Remove w_scalblnF.
2749 (libm-calls): Add w_scalblnF.
2750 * math/w_scalbln.c: Remove.
2751 * math/w_scalblnf.c: Likewise.
2752 * math/w_scalblnl.c: Likewise.
2753 * math/w_scalbln_template.c: New file with type-generic
2754 implementation based on math/w_scalbln.c.
2755 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
2756 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
2757
2758 2016-12-15 Joseph Myers <joseph@codesourcery.com>
2759
2760 [BZ #20947]
2761 * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
2762 either is a signaling NaN.
2763 * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise. Make code
2764 follow fmaxl more closely.
2765 * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
2766 when either is a signaling NaN.
2767 * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
2768 * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
2769 * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
2770 * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
2771 * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
2772 * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
2773 * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
2774 * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
2775 (fmin_test_data): Likewise.
2776
2777 2016-12-15 Andreas Schwab <schwab@suse.de>
2778
2779 * support/support_test_main.c (support_test_main): Don't shadow
2780 file-local variable test_pid.
2781
2782 2016-12-15 Joseph Myers <joseph@codesourcery.com>
2783
2784 [BZ #20947]
2785 * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
2786 either is a signaling NaN.
2787 * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
2788
2789 2016-12-14 Joseph Myers <joseph@codesourcery.com>
2790
2791 [BZ #20947]
2792 * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
2793 when either is a signaling NaN.
2794 * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
2795
2796 * bits/long-double.h: New file.
2797 * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
2798 * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
2799 * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
2800 * sysdeps/mips/bits/long-double.h: Likewise.
2801 * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
2802 * math/Makefile (headers): Add bits/long-double.h.
2803 * misc/sys/cdefs.h: Include <bits/long-double.h>.
2804 * stdlib/strtold.c: Include <bits/long-double.h> instead of
2805 <bits/wordsize.h>.
2806 * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
2807 [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
2808 * math/math.h: Do not include <bits/mathdef.h>.
2809 * sysdeps/aarch64/bits/mathdef.h: Remove file.
2810 * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
2811 inclusion.
2812 * sysdeps/ia64/bits/mathdef.h: Remove file.
2813 * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
2814 * sysdeps/mips/bits/mathdef.h: Likewise.
2815 * sysdeps/powerpc/bits/mathdef.h: Likewise.
2816 * sysdeps/s390/bits/mathdef.h: Likewise.
2817 * sysdeps/sparc/bits/mathdef.h: Likewise.
2818 * sysdeps/x86/bits/mathdef.h: Likewise.
2819 * sysdeps/s390/s390-32/bits/wordsize.h
2820 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
2821 conditional code.
2822 * sysdeps/s390/s390-64/bits/wordsize.h
2823 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2824 Likewise.
2825 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
2826 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2827 Likewise.
2828 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
2829 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2830 Likewise.
2831 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
2832 [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
2833 Likewise.
2834
2835 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
2836 <linux/falloc.h>.
2837 (FALLOC_FL_KEEP_SIZE): Remove.
2838 (FALLOC_FL_PUNCH_HOLE): Likewise.
2839 (FALLOC_FL_COLLAPSE_RANGE): Likewise.
2840 (FALLOC_FL_ZERO_RANGE): Likewise.
2841
2842 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2843
2844 * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
2845
2846 2016-12-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
2847
2848 * sysdeps/unix/sysv/linux/renameat.c: New file.
2849 * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
2850
2851 * sysdeps/unix/sysv/linux/rename.c: New file.
2852 * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
2853
2854 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
2855
2856 * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
2857 * string/strtok.c (strtok): Change to tailcall __strtok_r.
2858 * string/strtok_r.c (__strtok_r): Optimize for performance.
2859 * string/string-inlines.c (__old_strtok_r_1c): New function.
2860 * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
2861
2862 2016-12-14 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
2863
2864 * math/Makefile (gen-libm-calls): Add w_log1pF.
2865 (libm-calls): Remove w_log1pF.
2866 * math/w_log1p.c: Remove.
2867 * math/w_log1pf.c: Likewise.
2868 * math/w_log1pl.c: Likewise.
2869 * math/w_log1p_template.c: New file with type-generic
2870 implementation based on math/w_log1p.c.
2871 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
2872 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
2873
2874 2015-12-14 Wilco Dijkstra <wdijkstr@arm.com>
2875
2876 * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
2877
2878 2016-12-14 Joseph Myers <joseph@codesourcery.com>
2879
2880 * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2881 kernel version to 4.9.
2882
2883 2016-12-12 Andrew Senkevich <andrew.senkevich@intel.com>
2884
2885 * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
2886 ($(inst_libdir)/libm.a): Fix rule to create the target only.
2887
2888 2016-12-13 Andreas Schwab <schwab@suse.de>
2889
2890 * sysdeps/powerpc/dl-procinfo.c: Don't define
2891 _dl_powerpc_platforms.
2892 * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
2893 constants instead of referencing _dl_powerpc_platforms.
2894 (_dl_platform_string): Remove.
2895
2896 2016-12-13 Florian Weimer <fweimer@redhat.com>
2897
2898 * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
2899
2900 2016-12-13 Florian Weimer <fweimer@redhat.com>
2901
2902 * Rules (binaries-shared-tests, binaries-pie-tests)
2903 (binaries-static-tests): Link with $(link-extra-libs-tests).
2904 * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
2905 Remove $(link-extra-libs-tests).
2906
2907 2016-12-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
2908
2909 * sysdeps/powerpc/powerpc64/multiarch/Makefile
2910 (sysdep_routines): Add strncmp_power9.
2911 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
2912 (strncmp): Add __strncmp_power9 to list of strncmp functions.
2913 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
2914 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
2915 (strncmp): Add __strncmp_power9 to ifunc list.
2916 * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
2917
2918 2016-12-12 Florian Weimer <fweimer@redhat.com>
2919
2920 [BZ #17252]
2921 Add getentropy, getrandom.
2922 * stdlib/sys/random.h: New file.
2923 (headers): Add it.
2924 * stdlib/Makefile (routines): Add getentropy, getrandom.
2925 (tests): Add tst-getrandom.
2926 * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
2927 * stdlib/getentropy.c: New file.
2928 * stdlib/getrandom.c: Likewise.
2929 * stdlib/tst-getrandom.c: Likewise.
2930 * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
2931 * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
2932 * manual/crypt.texi (Unpredictable Bytes): New section.
2933 * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
2934 * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
2935 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
2936 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
2937 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
2938 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
2939 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
2940 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
2941 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
2942 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
2943 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
2944 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
2945 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
2946 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
2947 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
2948 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
2949 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
2950 Likewise.
2951 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
2952 Likewise.
2953 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
2954 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
2955 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
2956 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
2957 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
2958 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
2959 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
2960 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
2961 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
2962 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
2963 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
2964 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
2965
2966 2016-12-10 Florian Weimer <fweimer@redhat.com>
2967
2968 [BZ #20956]
2969 * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
2970 as additional compiler barriers.
2971 * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
2972 (fn2, do_test): Declare with external linkage.
2973 * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
2974 (do_test): Declare with external linkage.
2975 * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
2976 (do_test): Declare with external linkage.
2977 * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
2978 (do_test): Declare with external linkage.
2979
2980 2016-12-10 Andreas Schwab <schwab@linux-m68k.org>
2981
2982 * support/support_test_main.c (support_test_main): Use correct
2983 timeout.
2984
2985 2016-12-09 Carlos O'Donell <carlos@redhat.com>
2986 Florian Weimer <fweimer@redhat.com>
2987
2988 [BZ #16421]
2989 * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
2990 and __u6_addr32 members.
2991 (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
2992 (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
2993 (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
2994 Use __u6_addr32.
2995 * inet/tst-checks.c: Use <support/test-driver.c>
2996 * inet/tst-checks-posix.c: New file.
2997 * inet/Makefile (tests): Add it.
2998 (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
2999
3000 2016-12-09 Florian Weimer <fweimer@redhat.com>
3001
3002 New subdirectory support for build and test infrastructure.
3003 * extra-libs.mk (extra-libs-noinstall): Add variable. Use it when
3004 setting install-lib.
3005 * Makeconfig (link-extra-libs-tests): Define.
3006 (+link-pie-tests, +link-static-tests, +link-tests): Use
3007 link-extra-libs-tests.
3008 (rpath-dirs, all-subdirs): Add support.
3009 (built-modules): Add libsupport.
3010 (libsupport): Define.
3011 * support: New directory.
3012 * support/Makefile: New file.
3013 * support/check.c: Likewise.
3014 * support/check.h: Likewise.
3015 * support/delayed_exit.c: Likewise.
3016 * support/ignore_stderr.c: Likewise.
3017 * support/oom_error.c: Likewise.
3018 * support/set_fortify_handler.c: Likewise.
3019 * support/support.h: Likewise.
3020 * support/temp_file-internal.h: Likewise.
3021 * support/temp_file.c: Likewise.
3022 * support/test-driver.c: Likewise.
3023 * support/test-driver.h: Likewise.
3024 * support/test_main.c: Likewise.
3025 * support/write_message.c: Likewise.
3026 * support/xasprintf.c: Likewise.
3027 * support/xcalloc.c: Likewise.
3028 * support/xmalloc.c: Likewise.
3029 * support/xpthread_barrier_destroy.c: Likewise.
3030 * support/xpthread_barrier_init.c: Likewise.
3031 * support/xpthread_barrier_wait.c: Likewise.
3032 * support/xpthread_cancel.c: Likewise.
3033 * support/xpthread_check_return.c: Likewise.
3034 * support/xpthread_cond_wait.c: Likewise.
3035 * support/xpthread_create.c: Likewise.
3036 * support/xpthread_detach.c: Likewise.
3037 * support/xpthread_join.c: Likewise.
3038 * support/xpthread_mutex_lock.c: Likewise.
3039 * support/xpthread_mutex_unlock.c: Likewise.
3040 * support/xpthread_sigmask.c: Likewise.
3041 * support/xpthread_spin_lock.c: Likewise.
3042 * support/xpthread_spin_unlock.c: Likewise.
3043 * support/xrealloc.c: Likewise.
3044 * support/xsignal.h: Likewise.
3045 * support/xthread.h: Likewise.
3046 * support_tempfile.h: Likewise.
3047 * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
3048 (TEST_DATA_LIMIT): Remove unused macro.
3049 (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove. Now in
3050 <support/check.h>.
3051 (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
3052 (ignore_stderr, set_fortify_handler): Remove. Now in
3053 <support/support.h>.
3054 (xpthread_sigmask): Remove. Now in <support/xsignal.h>.
3055 (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
3056 (xpthread_barrier_wait, xpthread_create, xpthread_detach)
3057 (xpthread_join): Remove. Now in <support/xthread.h>.
3058 (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
3059 Introduce legacy wrappers.
3060 * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
3061 * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
3062 (write_message): Remove.
3063 * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
3064 test-skeleton.c.
3065 * io/test-open-tmpfile: Likewise.
3066 * io/tst-posix_fallocate-common.c: Likewise.
3067 * libio/tst-fseek.c: Likewise.
3068 * malloc/tst-malloc-backtrace.c: Likewise.
3069 * malloc/tst-malloc-fork-deadlock.c: Likewise.
3070 * malloc/tst-malloc-thread-exit.c: Likewise.
3071 * nptl/tst-cancel7.c: Likewise.
3072 * nptl/tst-cleanup0.c: Likewise.
3073 * posix/tst-posix_fadvise-common.c: Likewise.
3074 * rt/tst-shm.c: Likewise.
3075 * time/bug-getdate1.c: Likewise.
3076 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
3077 * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
3078 * elf/Makefile (tst-piemod1.so): Link against libsupport.
3079
3080 2016-12-08 Joseph Myers <joseph@codesourcery.com>
3081
3082 * Rules [$(run-built-tests) != no] (tests-expected): Add
3083 $(tests-printers).
3084 (tests): Do not pass $(tests-printers) to merge-test-results.sh.
3085
3086 2016-12-08 Andrew Senkevich <andrew.senkevich@intel.com>
3087
3088 [BZ #20539]
3089 * math/Makefile (install-lib-ldscripts): Add libm.a.
3090 (install_subdir): Remove.
3091 (install-others): Add.
3092 ($(inst_libdir)/libm.a): Add rule for installation as
3093 linker script.
3094 * Makerules (install-lib.a): Filter out install-lib-ldscripts.
3095
3096 2016-12-08 Martin Galvan <martin.galvan@tallertechnologies.com>
3097
3098 * INSTALL: Regenerated.
3099 * Makeconfig: Add comments and whitespace to make the control flow
3100 clearer.
3101 (+link-printers-tests, +link-pie-printers-tests,
3102 CFLAGS-printers-tests, installed-rtld-LDFLAGS,
3103 built-rtld-LDFLAGS, link-libc-rpath,
3104 link-libc-tests-after-rpath-link,
3105 link-libc-printers-tests): New.
3106 (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
3107 link-libc-tests): Use the new variables as required.
3108 * Makerules ($(py-const)): New rule.
3109 generated: Add $(py-const).
3110 * README.pretty-printers: New file.
3111 * Rules (tests-printers-programs, tests-printers-out, py-env): New.
3112 (others): Depend on $(py-const).
3113 (tests): Depend on $(tests-printers-programs) or
3114 $(tests-printers-out),
3115 as required. Pass $(tests-printers) to merge-test-results.sh.
3116 * manual/install.texi: Add requirements for testing the pretty
3117 printers.
3118 * nptl/Makefile (gen-py-const-headers, pretty-printers,
3119 tests-printers, CFLAGS-test-mutexattr-printers.c
3120 CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
3121 CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
3122 CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
3123 * nptl/nptl-printers.py: New file.
3124 * nptl/nptl_lock_constants.pysym: Likewise.
3125 * nptl/test-cond-printers.c: Likewise.
3126 * nptl/test-cond-printers.py: Likewise.
3127 * nptl/test-condattr-printers.c: Likewise.
3128 * nptl/test-condattr-printers.py: Likewise.
3129 * nptl/test-mutex-printers.c: Likewise.
3130 * nptl/test-mutex-printers.py: Likewise.
3131 * nptl/test-mutexattr-printers.c: Likewise.
3132 * nptl/test-mutexattr-printers.py: Likewise.
3133 * nptl/test-rwlock-printers.c: Likewise.
3134 * nptl/test-rwlock-printers.py: Likewise.
3135 * nptl/test-rwlockattr-printers.c: Likewise.
3136 * nptl/test-rwlockattr-printers.py: Likewise.
3137 * scripts/gen-py-const.awk: Likewise.
3138 * scripts/test_printers_common.py: Likewise.
3139 * scripts/test_printers_exceptions.py: Likewise.
3140
3141 2016-12-07 Joseph Myers <joseph@codesourcery.com>
3142
3143 * scripts/build-many-glibcs.py (Context.__init__): Take strip
3144 argument.
3145 (Glibc.build_glibc): Strip installed shared libraries if
3146 requested.
3147 (get_parser): Add --strip option.
3148 (main): Update Context call.
3149
3150 2016-12-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3151 Dominik Vogt <vogt@linux.vnet.ibm.com>
3152
3153 [BZ #20847]
3154 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
3155 array bounds for else branch.
3156 (__execvpe): Style fixes.
3157 * posix/tst-vfork3.c (run_script): New function.
3158 (create_script): Likewise.
3159 (do_test): Use run_script internal function.
3160 (do_prepare): Use create_script internal function.
3161
3162 2016-12-07 Andreas Schwab <schwab@suse.de>
3163
3164 * sysdeps/unix/sysv/linux/x86/elision-conf.h
3165 (__elision_available): Don't declare.
3166 * sysdeps/unix/sysv/linux/x86/elision-conf.c
3167 (__elision_available): Don't define.
3168 (elision_init): Don't set __elision_available.
3169
3170 2016-12-07 Joseph Myers <joseph@codesourcery.com>
3171
3172 [BZ #20940]
3173 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
3174 return Inf for arguments Inf and sNaN.
3175 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
3176 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
3177 Likewise.
3178 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
3179 Likewise.
3180 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
3181 * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
3182 for arguments Inf and sNaN. When returning a NaN, compute it by
3183 arithmetic on the arguments.
3184 * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
3185 * math/libm-test.inc (hypot_test_data): Add tests of sNaN
3186 arguments.
3187
3188 2016-12-06 Joseph Myers <joseph@codesourcery.com>
3189
3190 [BZ #20916]
3191 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
3192 arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN arguments
3193 to compute result.
3194 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
3195 * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
3196
3197 2016-12-05 Torvald Riegel <triegel@redhat.com>
3198
3199 * include/atomic.h (__atomic_check_size_ls): New.
3200 (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
3201 atomic_store_release): Use it.
3202 * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
3203 (elision_adapt, ELIDE_LOCK): Use atomics.
3204 * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
3205 atomics and improve code comments.
3206 * sysdeps/unix/sysv/linux/x86/elision-trylock.c
3207 (__lll_trylock_elision): Likewise.
3208
3209 2016-12-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
3210
3211 * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
3212 programs.
3213
3214 2016-12-02 Joseph Myers <joseph@codesourcery.com>
3215
3216 [BZ #20916]
3217 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
3218 for arguments (sNaN, 0) or (1, sNaN). Do arithmetic on NaN
3219 arguments to compute result.
3220 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
3221 1 for arguments (sNaN, 0) or (1, sNaN).
3222 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
3223 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
3224
3225 [BZ #20919]
3226 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
3227 NaN first argument when raised to power 0.
3228 * math/w_pow.c (__pow): Do not check for NaN or zero results from
3229 raising to power zero.
3230 * math/w_powf.c (__powf): Likewise.
3231 * math/w_powl.c (__powl): Likewise.
3232 * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
3233 pow (0, 0) or pow (NaN, 0).
3234
3235 2016-12-02 Carlos O'Donell <carlos@redhat.com>
3236
3237 [BZ #20918]
3238 * configure.ac: Test for static NSS cryptographic libraries and set
3239 libc_cv_static_nss_crypt.
3240 * configure: Regenerate.
3241 * config.make.in (static-nss-crypt): Define.
3242 * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
3243 [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
3244 (CFLAGS-tst-linkall-static.c): Define.
3245 ($(objpfx)tst-linkall-static): Remove libcrypt.a.
3246 [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
3247 ($(objpfx)tst-linkall-static): Define.
3248 [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
3249 * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
3250
3251 2016-12-02 Florian Weimer <fweimer@redhat.com>
3252
3253 * elf/Makefile [build-shared] (tests): Add tst-latepthread.
3254 (one-hundred, tst-tls-many-dynamic-modules): Define.
3255 (modules-names): Add $(tst-tls-many-dynamic-modules).
3256 (tst-tls-manydynamic%mod.os): Build with special preprocessor
3257 macros.
3258 (tst-tls-manydynamic): Link against libdl, libpthread.
3259 (tst-tls-manydynamic.out): The test needs the test modules at run
3260 time.
3261 * elf/tst-tls-manydynamic.c: New file.
3262 * elf/tst-tls-manydynamic.h: Likewise.
3263 * elf/tst-tls-manydynamicmod.c: Likewise.
3264
3265 2016-12-02 Florian Weimer <fweimer@redhat.com>
3266
3267 * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
3268 (TLS_DTV_UNALLOCATED): Add.
3269 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
3270 offsets.
3271
3272 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
3273
3274 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
3275
3276 2016-12-02 Stefan Liebler <stli@linux.vnet.ibm.com>
3277
3278 * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
3279 Add -fno-optimize-sibling-calls.
3280
3281 2016-12-02 Joseph Myers <joseph@codesourcery.com>
3282
3283 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
3284 New declaration.
3285 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
3286 macro.
3287 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
3288 New macro.
3289 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
3290 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
3291 * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
3292 (llogbf): Likewise.
3293 (llogbl): Likewise.
3294 * math/Makefile (gen-libm-calls): Add w_llogbF.
3295 (tests): Add test-fp-llogb-constants.
3296 * math/w_llogb_template.c: New file. Based on
3297 math/w_ilogb_template.c.
3298 * math/libm-test.inc (llogb_test_data): New array.
3299 (llogb_test): New function.
3300 (main): Call llogb_test.
3301 * math/test-fp-llogb-constants.c: New file. Based on
3302 math/test-fp-ilogb-constants.c.
3303 * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
3304 (do_test): Call check_return_llogb.
3305 * math/test-tgmath.c (NCALLS): Increase to 126.
3306 (F(compile_test)): Call llogb.
3307 (F(llogb)): New function.
3308 * manual/math.texi (Exponents and Logarithms): Document llogb,
3309 llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
3310 * manual/libm-err-tab.pl (@all_functions): Add llogb.
3311 * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
3312 * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
3313 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
3314 (CFLAGS-nldbl-llogb.c): New variable.
3315 * sysdeps/nacl/libm.abilist: Update.
3316 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3317 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3318 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3319 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3320 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3321 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3322 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3323 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3324 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3325 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3326 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3327 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3329 Likewise.
3330 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3331 Likewise.
3332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3333 Likewise.
3334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3335 Likewise.
3336 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3337 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3338 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3339 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3340 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3341 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3342 Likewise.
3343 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3344 Likewise.
3345 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3346 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3347 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3348
3349 2016-12-01 Joseph Myers <joseph@codesourcery.com>
3350
3351 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
3352 _Float128 instead of long double.
3353 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
3354
3355 * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
3356 * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
3357 * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
3358 * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
3359 * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
3360 * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
3361 * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
3362 * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
3363 * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
3364 Likewise.
3365
3366 2016-12-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3367
3368 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
3369 Remove redirection to __strrchr_ppc.
3370
3371 2016-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
3372
3373 * sysdeps/powerpc/powerpc64/multiarch/Makefile
3374 (sysdep_routines): Add strcmp_power9.
3375 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3376 (strcmp): Add __strcmp_power9 to list of strcmp functions.
3377 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
3378 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
3379 (strcmp): Add __strcmp_power9 to ifunc list.
3380 * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
3381
3382 2016-12-01 Joseph Myers <joseph@codesourcery.com>
3383
3384 * bits/fp-logb.h: New file.
3385 * sysdeps/ia64/bits/fp-logb.h: Likewise.
3386 * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
3387 * sysdeps/x86/bits/fp-logb.h: Likewise.
3388 * math/Makefile (headers): Add bits/fp-logb.h.
3389 * math/math.h: Include <bits/fp-logb.h>.
3390 [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
3391 [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
3392 * bits/mathdef.h (FP_ILOGB0): Remove.
3393 (FP_ILOGBNAN): Likewise.
3394 * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
3395 (FP_ILOGBNAN): Likewise.
3396 * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
3397 (FP_ILOGBNAN): Likewise.
3398 * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
3399 (FP_ILOGBNAN): Likewise.
3400 * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
3401 (FP_ILOGBNAN): Likewise.
3402 * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
3403 (FP_ILOGBNAN): Likewise.
3404 * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
3405 (FP_ILOGBNAN): Likewise.
3406 * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
3407 (FP_ILOGBNAN): Likewise.
3408 * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
3409 (FP_ILOGBNAN): Likewise.
3410 * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
3411 (FP_ILOGBNAN): Likewise.
3412
3413 * scripts/build-many-glibcs.py: Add bot to usage message. Import
3414 time module.
3415 (Context.__init__): Initialize self.logsdir_old.
3416 (Context.run_builds): Handle bot action.
3417 (Context.bot_cycle): Copy logs directory before running builds.
3418 (Context.bot_run_self): Take argument for whether to check
3419 subprocess result. Flush stdout before running subprocess.
3420 (Context.bot): New function.
3421 (get_parser): Allow bot action.
3422
3423 2016-11-30 Joseph Myers <joseph@codesourcery.com>
3424
3425 * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
3426 Import email.mime.text, email.utils and smtplib modules.
3427 (Context.__init__): Initialize self.bot_config_json.
3428 (Context.run_builds): Handle bot-cycle action.
3429 (Context.load_bot_config_json): New function.
3430 (Context.part_build_old): Likewise.
3431 (Context.bot_cycle): Likewise.
3432 (Context.bot_build_mail): Likewise.
3433 (Context.bot_run_self): Likewise.
3434 (get_parser): Allow bot-cycle action.
3435
3436 2016-11-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3437
3438 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
3439 Remove redirection to __stpcpy_ppc.
3440
3441 2016-11-30 Florian Weimer <fweimer@redhat.com>
3442
3443 Remove __libc_memalign from ld.so because it is unused.
3444 * elf/dl-minimal.c: Update comment on the malloc implementation.
3445 (malloc): Renamed from __libc_memalign, replacing the original
3446 malloc implementation. Replace the align parameter with
3447 MALLOC_ALIGNMENT.
3448 * elf/Versions (ld): Update comment and remove __libc_memalign.
3449 * sysdeps/nacl/ld.abilist: Likewise.
3450 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
3451 * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
3452 * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
3453 * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
3454 * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
3455 * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
3456 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
3457 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
3458 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
3459 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
3460 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
3461 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
3462 * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
3463 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
3464 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
3465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
3466 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
3467 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
3468 * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
3469 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
3470 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
3471 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
3472 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
3473 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
3474 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
3475 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
3476 * sysdeps/generic/localplt.data (ld.so): Likewise.
3477 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3478 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3479 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3480 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3481 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3482 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3483 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3484 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
3485 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3486 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3487 (ld.so): Likewise.
3488 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3489 (ld.so): Likewise.
3490 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3491 Likewise.
3492 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3493 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3494 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
3495 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
3496 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3497
3498 2016-11-30 Florian Weimer <fweimer@redhat.com>
3499
3500 [BZ #16628]
3501 Implement _dl_catch_error, _dl_signal_error in libc.so.
3502 * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
3503 (catch_hook): Define as thread-local or regular variable,
3504 depending on DL_ERROR_BOOTSTRAP.
3505 (CATCH_HOOK): Remove.
3506 (dl_signal_error, _dl_catch_error): Use
3507 catch_hook. Add hidden definition for libc.
3508 (_dl_receive_error, _dl_signal_cerror): Use catch_hook. Compile
3509 for DL_ERROR_BOOTSTRAP only.
3510 * elf/dl-error.c: New file.
3511 * elf/dl-error-minimal.c: Likewise.
3512 * elf/tst-latepthread.c: Likewise.
3513 * elf/tst-latepthreadmod.c: Likewise.
3514 * elf/Makefile (routines): Add dl-error.
3515 (dl-routines): Remove dl-error.
3516 (rtld-routines): Add dl-error-minimal.
3517 [build-shared] (tests): Add tst-latepthread.
3518 (module-names): Add tst-latepthreadmod.
3519 (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
3520 symbol.
3521 (tst-latepthreadmod.so): Link against libpthread.
3522 (tst-latepthread): Link against libdbl.
3523 * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
3524 _dl_catch_error.
3525 [ld] (GLIBC_PRIVATE): Likewise.
3526 * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
3527 * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
3528 * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
3529 directly.
3530 * elf/dl-tsd.c: Remove file.
3531 * elf/rtld.c (_rtld_global_ro): Remove initializers for
3532 _dl_catch_error, _dl_signal_error.
3533 (_dl_initial_error_catch_tsd): Remove definition.
3534 (do_preload): Remove initialization of dl_error_catch_tsd.
3535 * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
3536 * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
3537 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
3538 * dlfcn/dlopen.c (dlopen_doit): Likewise.
3539 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
3540 set dl_error_catch_tsd.
3541 * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
3542 _dl_error_catch_tsd member.
3543 (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
3544 members.
3545 (_dl_initial_error_catch_tsd): Remove declaration.
3546 (_dl_dprintf): Provide definition for use outside of ld.so.
3547 [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
3548 (_dl_signal_error, _dl_catch_error): Make public. Add hidden
3549 prototype for libc.
3550 * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
3551 _dl_catch_error.
3552 * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
3553 * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
3554 * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
3555 * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
3556 * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
3557 * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
3558 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
3559 * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
3560 Likewise.
3561 * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
3562 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
3563 (ld.so): Likewise.
3564 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
3565 (ld.so): Likewise.
3566 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
3567 Likewise.
3568 * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
3569 * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
3570 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
3571 Likewise.
3572 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
3573 Likewise.
3574 * sysdeps/x86_64/localplt.data (ld.so): Likewise.
3575
3576 2016-11-30 Florian Weimer <fweimer@redhat.com>
3577
3578 [BZ #4099]
3579 * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
3580 _IO_BUFSIZ (8192).
3581
3582 2016-11-30 Carlos O'Donell <carlos@redhat.com>
3583
3584 * PROJECTS: Remove file.
3585
3586 2016-11-29 Florian Weimer <fweimer@redhat.com>
3587
3588 * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
3589
3590 2016-11-29 Yury Norov <ynorov@caviumnetworks.com>
3591 Steve Ellcey <sellcey@caviumnetworks.com>
3592
3593 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
3594 fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
3595 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
3596 fxstatat.
3597 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
3598 lxstat.
3599 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
3600 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
3601 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
3602 * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
3603 an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
3604 * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
3605 __xstat.
3606
3607 2016-11-29 Florian Weimer <fweimer@redhat.com>
3608
3609 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
3610 Define.
3611 * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
3612 definition.
3613
3614 2016-11-29 Florian Weimer <fweimer@redhat.com>
3615
3616 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
3617 version and turn into strong alias. Remove compat symbol.
3618
3619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
3620 (__longjmp): Remove.
3621
3622 2016-11-29 Joseph Myers <joseph@codesourcery.com>
3623
3624 * bits/fp-fast.h: New file.
3625 * sysdeps/aarch64/bits/fp-fast.h: Likewise.
3626 * sysdeps/powerpc/bits/fp-fast.h: Likewise.
3627 * math/Makefile (headers): Add bits/fp-fast.h.
3628 * math/math.h: Include <bits/fp-fast.h>.
3629 * bits/mathdef.h (FP_FAST_FMA): Remove.
3630 (FP_FAST_FMAF): Likewise.
3631 (FP_FAST_FMAL): Likewise.
3632 * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
3633 (FP_FAST_FMAF): Likewise.
3634 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
3635 (FP_FAST_FMAF): Likewise.
3636 * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
3637 (FP_FAST_FMAF): Likewise.
3638 (FP_FAST_FMAL): Likewise.
3639 * sysdeps/arm/bits/mathdef.h: Remove file.
3640 * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
3641 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
3642 * sysdeps/tile/bits/mathdef.h: Likewise.
3643
3644 2016-11-28 Joseph Myers <joseph@codesourcery.com>
3645
3646 * math/w_ilogb_template.c: New file. Based on math/w_ilogb.c.
3647 * math/w_ilogb.c: Remove.
3648 * math/w_ilogbf.c: Likewise.
3649 * math/w_ilogbl.c: Likewise.
3650 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
3651 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
3652 * math/Makefile (gen-libm-calls): Add w_ilogbF.
3653 (libm-calls): Remove w_ilogbF.
3654 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
3655 (LDOUBLE_ilogbl_libm_version): New macro.
3656
3657 * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
3658
3659 * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
3660 [!__STRICT_ANSI__ && !__cplusplus].
3661
3662 2016-11-28 H.J. Lu <hongjiu.lu@intel.com>
3663
3664 [BZ #20750]
3665 * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
3666 of PIC.
3667
3668 2016-11-28 Andrew Pinski <andrew.pinski@caviumnetworks.com>
3669 Yury Norov <ynorov@caviumnetworks.com>
3670 Steve Ellcey <sellcey@caviumnetworks.com>
3671
3672 * sysdeps/aarch64/crti.S: Add include of sysdep.h.
3673 (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
3674 * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
3675 (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
3676 * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
3677 (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
3678 elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
3679 elf_machine_lazy_rel): Add ifdef's for ILP32 support.
3680 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
3681 _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
3682 _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
3683 to get correct reg name for ILP32.
3684 * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
3685 (RELA_SIZE): New Macro.
3686 (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
3687 to support ILP32.
3688 * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
3689 cast for ILP32 mode.
3690 * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
3691 * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
3692 * sysdeps/aarch64/memset.S (__memset): Ditto.
3693 * sysdeps/aarch64/strchr.S (strchr): Ditto.
3694 * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
3695 * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
3696 * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
3697 * sysdeps/aarch64/strlen.S (__strlen): Ditto.
3698 * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
3699 * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
3700 * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
3701 * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
3702 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
3703 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
3704 * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
3705 change PTR_MANGLE call to use register numbers instead of names.
3706 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
3707 * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
3708 ILP32 mode, change PTR_MANGLE calls to use register numbers.
3709 * sysdeps/aarch64/start.S (_start): Ditto.
3710 * sysdeps/aarch64/nptl/bits/pthreadtypes.h
3711 (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
3712 (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
3713 __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
3714 __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
3715 __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
3716 __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
3717 Make defined values dependent on __ILP32__.
3718 * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
3719 (sem_t): Change __align type.
3720 * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
3721 PTR_SIZE): New Macros.
3722 (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
3723 * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
3724 Set when in ILP32 mode.
3725 (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
3726 * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
3727 Set elf flags for ILP32.
3728 (add_system_dir): Set ILP32 library directories.
3729 * sysdeps/unix/sysv/linux/aarch64/init-first.c
3730 (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
3731 * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
3732 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
3733 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
3734 New Macros.
3735 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
3736
3737 2016-11-28 Steve Ellcey <sellcey@caviumnetworks.com>
3738
3739 * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
3740 only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
3741 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
3742
3743 2016-11-28 Joseph Myers <joseph@codesourcery.com>
3744
3745 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
3746 <asm/cachectl.h>.
3747
3748 2016-11-27 Zack Weinberg <zackw@panix.com>
3749
3750 * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
3751 * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
3752
3753 2016-11-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
3754
3755 * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
3756 error_t to fix usage in C++ programs.
3757
3758 2016-11-26 Joseph Myers <joseph@codesourcery.com>
3759
3760 * scripts/build-many-glibcs.py: Import datetime module.
3761 (Context.__init__): Load JSON build state. Initialize list of
3762 status logs.
3763 (Context.run_builds): Update saved build state.
3764 (Context.add_makefile_cmdlist): Update list of status logs.
3765 (Context.load_build_state_json): New function.
3766 (Context.store_build_state_json): Likewise.
3767 (Context.clear_last_build_state): Likewise.
3768 (Context.update_build_state): Likewise.
3769 (CommandList.status_logs): Likewise.
3770
3771 2016-11-25 Joseph Myers <joseph@codesourcery.com>
3772
3773 * scripts/build-many-glibcs.py (Context.__init__): Save text of
3774 script being executed.
3775 (Context.get_script_text): New function.
3776 (Context.exec_self): Likewise.
3777 (Context.checkout): Re-exec script if changed by checkout process.
3778
3779 2016-11-24 Joseph Myers <joseph@codesourcery.com>
3780
3781 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
3782 (setpayloadsig): New declaration.
3783 * math/Versions (setpayloadsig): New libm symbol at version
3784 GLIBC_2.25.
3785 (setpayloadsigf): Likewise.
3786 (setpayloadsigl): Likewise.
3787 * math/Makefile (libm-calls): Add s_setpayloadsigF.
3788 * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
3789 (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
3790 (setpayloadsig_test_data): New array.
3791 (setpayloadsig_test): New function.
3792 (main): Call setpayloadsig_test.
3793 * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
3794 setpayloadsigf and setpayloadsigl.
3795 * manual/libm-err-tab.pl: Update comment on interfaces without
3796 ulps tabulated.
3797 * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
3798 * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
3799 * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
3800 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
3801 * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
3802 * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
3803 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
3804 setpayloadsig.
3805 (CFLAGS-nldbl-setpayloadsig.c): New variable.
3806 * sysdeps/nacl/libm.abilist: Update.
3807 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
3808 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
3809 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
3810 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
3811 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
3812 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
3813 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
3814 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
3815 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
3816 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
3817 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
3818 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
3819 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
3820 Likewise.
3821 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
3822 Likewise.
3823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
3824 Likewise.
3825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
3826 Likewise.
3827 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
3828 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
3829 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
3830 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
3831 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
3832 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
3833 Likewise.
3834 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
3835 Likewise.
3836 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
3837 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
3838 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
3839
3840 * scripts/build-many-glibcs.py: Import json module.
3841 (Context.__init__): Take replace_sources argument. Load
3842 versions.json.
3843 (Context.load_versions_json): New function.
3844 (Context.store_json): Likewise.
3845 (Context.store_versions_json): Likewise.
3846 (Context.set_component_version): Likewise.
3847 (Context.checkout): Update versions.json. Check for and handle
3848 changes of version. Prefer previously explicitly specified
3849 version to default version.
3850 (Context.checkout_vcs): Return a revision identifier.
3851 (Context.git_checkout): Likewise.
3852 (Context.gcc_checkout): Likewise.
3853 (get_parser): Add --replace-sources option.
3854 (main): Pass replace_sources argument to Context call.
3855
3856 2016-11-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
3857
3858 * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
3859 * nptl/allocatestack.c (allocate_stack): Likewise.
3860 (__reclaim_stacks): Likewise.
3861 (setxid_signal_thread): Obtain pid through syscall.
3862 * nptl/nptl-init.c (sigcancel_handler): Likewise.
3863 (sighandle_setxid): Likewise.
3864 * nptl/pthread_cancel.c (pthread_cancel): Likewise.
3865 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
3866 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
3867 Likewise.
3868 * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
3869 * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
3870 comment.
3871 * sysdeps/unix/sysv/linux/getpid.c: Remove file.
3872 * nptl/descr.h (struct pthread): Change comment about pid value.
3873 * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
3874 pid assert.
3875 * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
3876 Do not set pid value.
3877 * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
3878 pid cache check.
3879 * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
3880 * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
3881 * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
3882 * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
3883 * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
3884 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
3885 * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
3886 * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
3887 * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
3888 * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
3889 * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
3890 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
3891 * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
3892 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
3893 * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
3894 * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
3895 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
3896 * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
3897 * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
3898 * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
3899 * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
3900 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
3901 * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
3902 * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
3903 * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
3904 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
3905 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
3906 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
3907 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
3908 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
3909 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
3910 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
3911 * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
3912 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
3913 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
3914 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
3915 * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
3916 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
3917 * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
3918 * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
3919 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
3920 * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
3921 * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
3922 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
3923 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
3924 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
3925 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
3926 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
3927 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
3928 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
3929 * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
3930 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
3931 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
3932 * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
3933 struct access.
3934 (clone_test): Remove function.
3935 (do_test): Rewrite to take in consideration pid is not cached anymore.
3936
3937 2016-11-24 Joseph Myers <joseph@codesourcery.com>
3938
3939 * bits/flt-eval-method.h: New file.
3940 * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
3941 * sysdeps/s390/bits/flt-eval-method.h: Likewise.
3942 * sysdeps/x86/bits/flt-eval-method.h: Likewise.
3943 * math/Makefile (headers): Add bits/flt-eval-method.h.
3944 * math/math.h: Include <bits/flt-eval-method.h>.
3945 [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
3946 [__USE_ISOC99] (double_t): Likewise.
3947 * bits/mathdef.h (float_t): Remove.
3948 (double_t): Likewise.
3949 * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
3950 (double_t): Likewise.
3951 * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
3952 (double_t): Likewise.
3953 * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
3954 (double_t): Likewise.
3955 * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
3956 (double_t): Likewise.
3957 * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
3958 (double_t): Likewise.
3959 * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
3960 (double_t): Likewise.
3961 * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
3962 (double_t): Likewise.
3963 * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
3964 (double_t): Likewise.
3965 * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
3966 (double_t): Likewise.
3967 * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
3968 (double_t): Likewise.
3969 * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
3970 (double_t): Likewise.
3971 * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
3972 (double_t): Likewise.
3973 * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
3974 (double_t): Likewise.
3975
3976 2016-11-24 Aurelien Jarno <aurelien@aurel32.net>
3977
3978 * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
3979 instead of PIC.
3980
3981 2016-11-23 Joseph Myers <joseph@codesourcery.com>
3982
3983 [BZ #20859]
3984 * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
3985 (-0x7fffffff) instead of 0x80000001.
3986 * math/test-fp-ilogb-constants.c: New file.
3987 * math/Makefile (tests): Add test-fp-ilogb-constants.
3988
3989 2016-11-23 Maciej W. Rozycki <macro@imgtec.com>
3990
3991 * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
3992 (_init): Use it in place of hardcoded R_MIPS_JALR.
3993 * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
3994 (_init): Use it in place of hardcoded R_MIPS_JALR.
3995 * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
3996 (_init): Use it in place of hardcoded R_MIPS_JALR.
3997
3998 2016-11-23 Joseph Myers <joseph@codesourcery.com>
3999
4000 [BZ #20787]
4001 * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
4002 [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
4003 (double_t): Do not define to double if [__x86_64__] when
4004 __FLT_EVAL_METHOD__ is nonzero.
4005 * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
4006 * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
4007 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
4008 test-flt-eval-method-387 and test-flt-eval-method-sse.
4009 [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
4010 variable.
4011 [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
4012
4013 2016-11-23 Chris Metcalf <cmetcalf@mellanox.com>
4014
4015 * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
4016 use of -fno-isolate-erroneous-paths options for tilepro.
4017
4018 2016-11-23 Florian Weimer <fweimer@redhat.com>
4019
4020 * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
4021 structure initialization is no longer needed.
4022
4023 2016-11-23 Joseph Myers <joseph@codesourcery.com>
4024
4025 [BZ #20855]
4026 * bits/mathdef.h (float_t): Define to float.
4027 * math/test-flt-eval-method.c: New file.
4028 * math/Makefile (tests): Add test-flt-eval-method.
4029 (CFLAGS-test-flt-eval-method.c): New variable.
4030
4031 2016-11-22 Steve Ellcey <sellcey@caviumnetworks.com>
4032
4033 * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
4034 and __fstatfs. Make them aliases of __fstatfs64 if
4035 STATFS_IS_STATFS64 is set to non-zero.
4036 * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
4037 and __statfs64.
4038 * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
4039 define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
4040 * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
4041 for __statfs and statfs.
4042 * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
4043 to 0.
4044 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
4045 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
4046 * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
4047 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
4048 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
4049 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
4050 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
4051 * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
4052 * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
4053 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
4054 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
4055 * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
4056
4057 2016-11-22 Andreas Schwab <schwab@suse.de>
4058
4059 * misc/mkstemp.c: Include <fcntl.h>.
4060 * misc/mkstemps.c: Likewise.
4061 * misc/mkostemp.c: Likewise.
4062 * misc/mkostemps.c: Likewise.
4063
4064 2016-11-22 Adhemerval Zanella <adhemerva.zanella@linaro.org>
4065
4066 [BZ #20847]
4067 * posix/execvpe.c (maybe_script_execute): Remove write past allocated
4068 array bounds.
4069 (__execvpe): Likewise.
4070
4071 2016-11-22 Joseph Myers <joseph@codesourcery.com>
4072
4073 * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
4074 -fno-isolate-erroneous-paths options for tilepro.
4075
4076 2016-11-21 Steve Ellcey <sellcey@caviumnetworks.com>
4077
4078 * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
4079 to 0 when in 32 bit mode.
4080 * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
4081 * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
4082 * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
4083 * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
4084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
4085 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
4086 * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
4087 XSTAT_IS_XSTAT64 test.
4088 * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
4089 * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
4090 * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
4091 * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
4092 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
4093 * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
4094 * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
4095 * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
4096 * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
4097 * sysdeps/unix/sysv/linux/xstat.c: Ditto.
4098 * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
4099
4100 2016-11-19 Joseph Myers <joseph@codesourcery.com>
4101
4102 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4103 (setpayload): New declaration.
4104 * math/Versions (setpayload): New libm symbol at version
4105 GLIBC_2.25.
4106 (setpayloadf): Likewise.
4107 (setpayloadl): Likewise.
4108 * math/Makefile (libm-calls): Add s_setpayloadF.
4109 * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
4110 test_Ff_b1_data.
4111 (RUN_TEST_Ff_b1): New macro.
4112 (RUN_TEST_LOOP_Ff_b1): Likewise.
4113 (canonicalize_test_data): Update type.
4114 (setpayload_test_data): New array.
4115 (setpayload_test): New function.
4116 (main): Call setpayload_test.
4117 * manual/arith.texi (FP Bit Twiddling): Document setpayload,
4118 setpayloadf and setpayloadl.
4119 * manual/libm-err-tab.pl: Update comment on interfaces without
4120 ulps tabulated.
4121 * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
4122 * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
4123 * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
4124 Likewise.
4125 * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
4126 * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
4127 * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
4128 * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
4129 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
4130 * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
4131 * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
4132 * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
4133 * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
4134 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4135 setpayload.
4136 (CFLAGS-nldbl-setpayload.c): New variable.
4137 * sysdeps/nacl/libm.abilist: Update.
4138 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4139 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4140 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4141 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4142 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4143 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4144 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4145 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4146 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4147 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4148 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4149 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4150 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4151 Likewise.
4152 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4153 Likewise.
4154 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4155 Likewise.
4156 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4157 Likewise.
4158 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
4159 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
4160 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
4161 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
4162 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
4163 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
4164 Likewise.
4165 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
4166 Likewise.
4167 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
4168 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
4169 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
4170
4171 2016-11-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4172
4173 * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
4174 * include/unistd.h: Extend comment about __access_noerrno return
4175 semantics.
4176 * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
4177 (access_common): Correct typo for EACCES.
4178
4179 2016-11-18 Chris Metcalf <cmetcalf@mellanox.com>
4180
4181 * sysdeps/tile/math-tests.h: New file.
4182
4183 * sysdeps/unix/sysv/linux/tile/set_dataplane.c
4184 (__old_set_dataplane): Rename from set_dataplane and make a
4185 compatibility symbol.
4186 * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
4187 * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
4188 sys/dataplane.h.
4189
4190 2016-11-18 Joseph Myers <joseph@codesourcery.com>
4191
4192 * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
4193 script quote words in command output to log suitably for input to
4194 the shell.
4195
4196 2016-11-18 Matthew Fortune <Matthew.Fortune@imgtec.com>
4197 Maciej W. Rozycki <macro@imgtec.com>
4198
4199 * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
4200 `.Lno_weak_fn' label.
4201 * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
4202 * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
4203
4204 2016-11-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4205 Yury Norov <ynorov@caviumnetworks.com>
4206
4207 * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
4208 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
4209 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
4210 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
4211 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
4212 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
4213 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
4214 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
4215 [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
4216 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
4217 (__RLIM_T_MATCHES_RLIM64_T): Likewise.
4218 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
4219 (sysdep_routines): Remove oldgetrlimit64.
4220 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
4221 (sysdep_routines): Likewise.
4222 * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
4223 (sysdep_routines): Likewise.
4224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
4225 [$(subdir) = resource] (sysdep_routines): Likewise.
4226 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
4227 [$(subdir) = resource] (sysdep_routines): Likewise.
4228 * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
4229 * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
4230 * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
4231 * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
4232 * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
4233 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
4234 * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
4235 * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
4236 * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
4237 * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
4238 * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
4239 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
4240 * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
4241 * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
4242 * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
4243 * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
4244 * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
4245 setrlimit and getrlimit.
4246 * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4247 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
4248 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
4249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
4250 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
4251 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
4252 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
4253 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
4254 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4255 * sysdeps/unix/sysv/linux/getrlimit.c: New file.
4256 * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
4257 * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
4258 * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
4259 __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
4260 (__old_getrlimit64): Add compatibility symbol.
4261 * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
4262
4263 2016-11-17 Joseph Myers <joseph@codesourcery.com>
4264
4265 * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
4266 newly built gmp, mpfr and mpc.
4267
4268 * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
4269
4270 2016-11-16 Joseph Myers <joseph@codesourcery.com>
4271
4272 * conform/Makefile (linknamespace-libs): Rename to
4273 linknamespace-libs-thr.
4274 (linknamespace-libs-posix): New variable.
4275 (linknamespace-libs-xsi): Likewise.
4276 (linknamespace-libs-XPG3): Include libcrypt.a.
4277 (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
4278 (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
4279 (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
4280 (linknamespace-libs-XOPEN2K): Likewise.
4281 (linknamespace-libs-XOPEN2K8): Likewise.
4282 (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
4283
4284 [BZ #20829]
4285 * stdio-common/Versions (__snprintf): Add to version
4286 GLIBC_PRIVATE.
4287 * include/stdio.h (__snprintf): Use libc_hidden_proto.
4288 * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
4289 * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
4290 of snprintf.
4291 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
4292
4293 2016-11-16 Zack Weinberg <zackw@panix.com>
4294
4295 * string/string.h: Remove obsolete comment stating that
4296 strcoll_l and strxfrm_l have not yet been standardized.
4297
4298 2016-11-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4299
4300 * hurd/hurd.h (__hurd_fail_noerrno): New function.
4301 * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
4302 __access_noerrno.
4303 * io/access.c (__access_noerrno): New function.
4304 * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
4305 (hurd_fail_seterrno): Likewise.
4306 (access_common): Likewise.
4307 (__access_noerrno): Likewise.
4308 * sysdeps/nacl/access.c (__access_noerrno): Likewise.
4309 * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
4310 * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
4311 macro.
4312
4313 2016-11-16 Joseph Myers <joseph@codesourcery.com>
4314
4315 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
4316 Only declare fpregs if [__SH_FPU_ANY__].
4317
4318 2016-11-15 Joseph Myers <joseph@codesourcery.com>
4319
4320 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
4321 Make code unconditional.
4322 [!(__SH4__ || __SH4A__)]: Remove conditional code.
4323
4324 2016-11-15 Rical Jasan <ricaljasan@pacific.net>
4325
4326 * manual/sysinfo.texi (S_APPEND): Delete.
4327 (S_IMMUTABLE): Likewise.
4328
4329 2016-11-15 Denis Kaganovich <mahatma@eu.by>
4330 Magnus Granberg <zorry@gentoo.org>
4331 Mike Frysinger <vapier@gentoo.org>
4332
4333 [BZ #20662]
4334 * configure.ac (libc_cv_predef_stack_protector): Also check for
4335 __stack_chk_fail_local symbols.
4336 * configure: Regenerated.
4337
4338 2016-11-15 Florian Weimer <fweimer@redhat.com>
4339
4340 * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
4341 (libc_hidden_def): Remove redefinition.
4342 (__sigsetjmp): Add hidden definition.
4343 * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
4344 (libc_hidden_def): Remove redefinition.
4345 (__sigsetjmp): Add hidden definition.
4346
4347 2016-11-14 Joseph Myers <joseph@codesourcery.com>
4348
4349 * scripts/build-many-glibcs.py (os.path): Do not import.
4350 (Context): Inherit explicitly from object. Remove blank line
4351 between class and docstring.
4352 (Config): Likewise.
4353 (Glibc): Likewise.
4354 (Command): Likewise.
4355 (CommandList): Likewise.
4356 (Context.write_files): Store chmod mode in a variable.
4357
4358 * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
4359 LIBC_SLIBDIR_RTLDDIR for tilegx32.
4360 * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
4361
4362 2016-11-14 Zack Weinberg <zackw@panix.com>
4363
4364 * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
4365 creating or re-creating it.
4366
4367 * string/bits/string2.h: Fix typo in comment.
4368
4369 2016-11-14 Zack Weinberg <zackw@panix.com>
4370
4371 * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
4372 (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
4373 (__SYSMACROS_FST_IMPL_TEMPL): Delete.
4374 (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
4375 of redirected function names.
4376
4377 * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
4378 as well. Document that MESSAGE must be a single string literal.
4379
4380 2016-11-11 Joseph Myers <joseph@codesourcery.com>
4381
4382 * scripts/build-many-glibcs.py: New file.
4383
4384 * stdlib/bug-getcontext.c: Include <libc-internal.h>.
4385 (do_test): Disable -Wmaybe-uninitialized around uses of
4386 except_mask.
4387
4388 * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
4389
4390 2016-11-10 Chris Metcalf <cmetcalf@mellanox.com>
4391
4392 * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
4393 (atomic_store_release): Provide tilepro-specific implementations.
4394
4395 2016-11-10 Joseph Myers <joseph@codesourcery.com>
4396
4397 * math/math.h (__MATH_TG): New macro.
4398 [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
4399 [__USE_ISOC99] (signbit): Likewise.
4400 [__USE_ISOC99] (isfinite): Likewise.
4401 [__USE_ISOC99] (isnan): Likewise.
4402 [__USE_ISOC99] (isinf): Likewise.
4403 [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
4404 [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
4405 [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
4406 __MATH_TG and __MATH_EVAL_FMT2.
4407 * sysdeps/generic/math_private.h (fabs_tg): Define using
4408 __MATH_TG.
4409 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
4410 [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
4411 [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
4412 [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
4413 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
4414 macro.
4415 (__iscanonical): Likewise.
4416 (iscanonical): Define using __MATH_TG.
4417
4418 2016-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4419
4420 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
4421 guards.
4422
4423 * sysdeps/unix/sysv/linux/access.c: New file.
4424 * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
4425
4426 2016-11-10 Steve Ellcey <sellcey@caviumnetworks.com>
4427
4428 * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
4429 and __WORDSIZE32_PTRDIFF_LONG.
4430
4431 2016-11-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
4432
4433 * sysdeps/aarch64/libm-test-ulps: Regenerated.
4434
4435 2016-11-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4436
4437 * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
4438 * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
4439 * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
4440 * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
4441 * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
4442 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
4443 * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
4444 * sysdeps/unix/sysv/linux/truncate.c: New file.
4445 * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
4446 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
4447 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
4448 Remove.
4449 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
4450 Likewise.
4451
4452 * posix/tst-truncate-common.c: New file.
4453 * posix/tst-truncate.c: Use tst-truncate-common.c.
4454 * posix/tst-truncate64.c: Likewise and add LFS tests.
4455 * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
4456 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
4457 * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
4458 * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
4459 * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
4460 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
4461 * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
4462 * sysdeps/unix/sysv/linux/ftruncate.c: New file.
4463 * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
4464 INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
4465 [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
4466 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
4467 Remove.
4468 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
4469 Likewise.
4470
4471 2016-11-08 Joseph Myers <joseph@codesourcery.com>
4472
4473 [BZ #20790]
4474 * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
4475 to MAXLINESIZE.
4476 * sunrpc/bug20790.x: New file.
4477 * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
4478 variable.
4479 [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
4480 [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
4481
4482 * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
4483
4484 * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
4485
4486 * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
4487 optional in ld.so. Allow R_ALPHA_GLOB_DAT relocation for malloc,
4488 calloc, realloc, free, memalign and __libc_memalign rather than
4489 making them optional.
4490
4491 * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
4492 for libc.so.
4493
4494 2016-11-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4495
4496 * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
4497 ptw-lseek64.
4498 * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
4499 * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines):
4500 Likewise.
4501 * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
4502 * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
4503 * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
4504 * sysdeps/unix/sysv/linux/llseek.c: Remove file.
4505 * sysdeps/unix/sysv/linux/lseek.c: New file.
4506 * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
4507 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
4508 __libc_lseek64 from auto-generation.
4509 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
4510 * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
4511
4512 2016-11-07 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4513
4514 * nptl/tst-basic1.c (tf, do_test): Use write_message.
4515 * nptl/tst-cleanup1.c (do_test): Likewise.
4516 * nptl/tst-cleanup3.c (do_test): Likewise.
4517 * nptl/tst-key1.c (do_test): Likewise.
4518 * nptl/tst-key2.c (tf, do_test): Likewise.
4519 * nptl/tst-key3.c (tf, do_test): Likewise.
4520 * nptl/tst-stdio1.c (do_test): Likewise.
4521 * nptl/tst-stdio2.c (do_test): Likewise.
4522
4523 * nptl/tst-kill3.c (handler): Use write_message in place of write.
4524 * nptl/tst-kill6.c (handler): Likewise.
4525 * nptl/tst-tls2.c (CB): Likewise.
4526 * nptl/tst-tls3.c (CB): Likewise.
4527
4528 2016-11-07 Joseph Myers <joseph@codesourcery.com>
4529
4530 * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
4531
4532 2016-11-07 Yury Norov <ynorov@caviumnetworks.com>
4533 Steve Ellcey <sellcey@caviumnetworks.com>
4534
4535 * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
4536 __ASSUME_ST_INO_64_BIT as 0
4537 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
4538 * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
4539 over the code where __ASSUME_ST_INO_64_BIT is used.
4540 * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
4541 * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
4542 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
4543
4544 2016-11-07 Florian Weimer <fweimer@redhat.com>
4545
4546 * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4547 Document ABI exposure of the __kind offset.
4548 * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4549 Mention reason for the __kind offset exposure in the ABI.
4550 * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4551 Likewise.
4552 * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4553 Likewise.
4554 * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4555 Likewise.
4556 * sysdeps/microblaze/nptl/bits/pthreadtypes.h
4557 (struct __pthread_mutex_s): Likewise.
4558 * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4559 Likewise.
4560 * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4561 Likewise.
4562 * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4563 Likewise.
4564 * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4565 Likewise.
4566 * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4567 Likewise.
4568 * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
4569 Likewise.
4570 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
4571 (struct __pthread_mutex_s): Likewise.
4572 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
4573 (struct __pthread_mutex_s): Likewise.
4574 * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
4575 Likewise.
4576
4577 2016-11-07 Steve Ellcey <sellcey@caviumnetworks.com>
4578
4579 * test-skeleton.c: Document do_test usage.
4580
4581 2016-11-06 Aurelien Jarno <aurelien@aurel32.net>
4582
4583 * iconv/gconv.h (__gconv_info): Define __data element using a
4584 zero-length array.
4585
4586 2016-11-04 Steve Ellcey <sellcey@caviumnetworks.com>
4587
4588 * math/test-tgmath2.c: Split up test function.
4589
4590 2016-11-04 Joseph Myers <joseph@codesourcery.com>
4591
4592 * Rules (tests-expected): New variable, depending on
4593 $(run-built-tests).
4594 (tests): Pass $(tests-expected) to merge-test-results.sh, not
4595 $(tests).
4596
4597 * Rules [$(run-built-tests) = no] (tests): Do not depend on
4598 $(tests-unsupported).
4599
4600 2016-11-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
4601
4602 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
4603 (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and 64 bits.
4604
4605 2016-11-04 Joseph Myers <joseph@codesourcery.com>
4606
4607 [BZ #20768]
4608 * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
4609 __fegetenv instead of fegetenv.
4610
4611 [BZ #14139]
4612 * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
4613 (find_files): Obtain platform name from libm-test-ulps-name and
4614 store in %pplatforms.
4615 (canonicalize_platform): Remove.
4616 (print_platforms): Use $pplatforms directly.
4617 (by_platforms): Do not allow for platforms missing from
4618 %pplatforms.
4619 * sysdeps/aarch64/libm-test-ulps-name: New file.
4620 * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
4621 * sysdeps/arm/libm-test-ulps-name: Likewise.
4622 * sysdeps/generic/libm-test-ulps-name: Likewise.
4623 * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
4624 * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
4625 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
4626 * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
4627 * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
4628 * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
4629 * sysdeps/microblaze/libm-test-ulps-name: Likewise.
4630 * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
4631 * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
4632 * sysdeps/nios2/libm-test-ulps-name: Likewise.
4633 * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
4634 * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
4635 * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
4636 * sysdeps/sh/libm-test-ulps-name: Likewise.
4637 * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
4638 * sysdeps/tile/libm-test-ulps-name: Likewise.
4639 * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
4640
4641 * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
4642
4643 * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
4644 (test-xfail-check-execstack): New variable.
4645
4646 * sysdeps/mips/localplt.data: New file.
4647
4648 2016-11-04 Yury Norov <ynorov@caviumnetworks.com>
4649 Steve Ellcey <sellcey@caviumnetworks.com>
4650
4651 * bits/wordsize.h: Add documentation.
4652 * sysdeps/aarch64/bits/wordsize.h : New file
4653 * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
4654 definitions.
4655 (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
4656 * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
4657 with #if instead of #ifdef.
4658 * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
4659 * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
4660 __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
4661 Add or change defines.
4662 * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
4663 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
4664 * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
4665 * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
4666 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
4667 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
4668 * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
4669 * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
4670 * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
4671 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
4672 * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
4673 * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
4674 * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
4675 * sysdeps/x86/bits/wordsize.h: Likewise.
4676
4677 2016-11-04 Wilco Dijkstra <wdijkstr@arm.com>
4678 Kevin Petit <kevin.petit@arm.com>
4679
4680 * sysdeps/aarch64/memchr.S (__memchr): New file.
4681
4682 2016-11-04 Joseph Myers <joseph@codesourcery.com>
4683
4684 * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
4685
4686 2016-11-03 Joseph Myers <joseph@codesourcery.com>
4687
4688 [BZ #19398]
4689 * conform/Makefile ($(linknamespace-header-tests)): Also depend on
4690 $(linknamespace-symlists-tests).
4691
4692 2016-11-02 Steve Ellcey <sellcey@caviumnetworks.com>
4693
4694 * time/tst-strptime2.c: Ignore -Wformat-length warning.
4695
4696 2016-11-02 Florian Weimer <fweimer@redhat.com>
4697 Carlos O'Donell <carlos@redhat.com>
4698
4699 [Bug #20729]
4700 * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
4701 change to non -Os related diagnostic. Use DIAG_IGNORE_Os_NEEDS_COMMENT
4702 for -Os related change.
4703
4704 2016-11-01 Steve Ellcey <sellcey@caviumnetworks.com>
4705
4706 * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
4707
4708 2016-11-01 Joseph Myers <joseph@codesourcery.com>
4709
4710 [BZ #19673]
4711 * manual/math.texi (Exponents and Logarithms): Correct description
4712 of clog10.
4713
4714 2016-10-31 Carlos O'Donell <carlos@redhat.com>
4715
4716 [Bz #20729]
4717 * locale/weight.h: Include libc-internal.h.
4718 * locale/weightwc.h: Likewise.
4719 * nptl/nptl_dbP.h: Likewise.
4720
4721 2016-10-31 Brent W. Baccala <cosine@freesoft.org>
4722
4723 * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
4724 when it is MACH_PORT_NULL.
4725
4726 2016-10-31 Andreas Schwab <schwab@suse.de>
4727
4728 [BZ #20707]
4729 * posix/glob.c (glob): Initialize pglob before checking for
4730 GLOB_BRACE. Don't call glob recursively if pattern contains no
4731 valid brace expression despite GLOB_BRACE.
4732 * posix/globtest.sh: Test it.
4733
4734 2016-10-28 Carlos O'Donell <carlos@redhat.com>
4735
4736 [BZ #20729]
4737 * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
4738 Define.
4739 * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
4740 -Wmaybe-uninitialized for BODY macro only for -Os compiles.
4741 * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
4742 for seq2.back_us and seq1.back_us only for -Os compiles.
4743 * locale/weightwc.h (findix): Likewise.
4744 * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
4745 DB_GET_FIELD_ADDRESS only for -Os compiles.
4746 * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
4747 for slen only for -Os compiles.
4748 * string/strcoll_l.c (get_next_seq): Ignore
4749 -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
4750 for -Os compiles.
4751
4752 * elf/Makefile (CFALGS-tst-linkall-static): Remove.
4753 * include/crypt.h: New file.
4754
4755 2016-10-28 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
4756
4757 * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
4758 from test-skeleton.c.
4759 (statclass): Replace calls to write with calls to write_message.
4760
4761 2016-10-28 Joseph Myers <joseph@codesourcery.com>
4762
4763 * math/math.h
4764 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
4765 New macro.
4766 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
4767 Likewise.
4768 [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
4769 Likewise.
4770 * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
4771 SNANL.
4772 * math/test-double.h (snan_value_MACRO): New macro.
4773 * math/test-float.h (snan_value_MACRO): Likewise.
4774 * math/test-ldouble.h (snan_value_MACRO): Likewise.
4775 * math/libm-test.inc (issignaling_test_data): Add tests of
4776 snan_value_MACRO.
4777
4778 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4779
4780 * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
4781 behavior when eliding a lock not held by the current thread.
4782 * sysdeps/powerpc/nptl/elide.h: Likewise.
4783
4784 2016-10-28 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
4785
4786 [BZ #20728]
4787 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
4788 branch to _exit() by a function call.
4789
4790 2016-10-28 Florian Weimer <fweimer@redhat.com>
4791
4792 * malloc/malloc.c: Update chunk layout comments.
4793 (chunk_main_arena): Update comment.
4794
4795 2016-10-28 Florian Weimer <fweimer@redhat.com>
4796
4797 * crypt/sha256.c, crypt/sha256-block.c,
4798 sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
4799 sha256_process_block to __sha256_process_block.
4800 * crypt/sha512.c, crypt/sha512-block.c,
4801 sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
4802 sha512_process_block to __sha512_process_block.
4803
4804 2016-10-28 Carlos O'Donell <carlos@redhat.com>
4805
4806 * elf/Makefile (CFLAGS-tst-linkall-static): Define.
4807
4808 * math/test-nan-overflow.c: Include stdlib.h for malloc.
4809
4810 2016-10-28 H.J. Lu <hongjiu.lu@intel.com>
4811
4812 [BZ #20019]
4813 * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
4814 definition in unrelocated shared library.
4815 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
4816
4817 2016-10-28 Florian Weimer <fweimer@redhat.com>
4818
4819 [BZ #20729]
4820 Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
4821 * sysdeps/unix/sysv/linux/i386/Makefile
4822 (uses-6-syscall-arguments): Define.
4823 [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
4824 (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
4825 (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
4826 [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
4827 Likewise.
4828 [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
4829 (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
4830 (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
4831 (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
4832 (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
4833 (CFLAGS-fallocate64.os): Likewise.
4834 [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
4835 (CFLAGS-pthread_rwlock_timedrdlock.os)
4836 (CFLAGS-pthread_rwlock_timedwrlock.o)
4837 (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
4838 (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
4839 (CFLAGS-sem_timedwait.os): Likewise.
4840
4841 2016-10-28 Florian Weimer <fweimer@redhat.com>
4842
4843 * elf/tst-linkall-static.c: New file.
4844 * elf/Makefile (tests-static): Add tst-linkall-static.
4845 (tst-linkall-static): Link against static libraries.
4846
4847 2016-10-27 Florian Weimer <fweimer@redhat.com>
4848
4849 * malloc/malloc.c (sysmalloc): Initialize previous size field of
4850 mmaped chunks.
4851
4852 2016-10-28 Florian Weimer <fweimer@redhat.com>
4853
4854 * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
4855 members to mchunk_prev_size, mchunk_size.
4856 (chunk_main_arena): Reverse sense and rename from
4857 chunk_non_main_arena.
4858 (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
4859 mchunk_size instead of size.
4860 (set_non_main_arena): Define.
4861 (chunksize): Use chunksize_nomask instead of direct member access.
4862 (chunksize_nomask): Define.
4863 (next_chunk): Use chunksize instead of direct member access.
4864 (prev_size, set_prev_size): Define.
4865 (prev_chunk): Use prev_size instead of direct member access.
4866 (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
4867 (inuse_bit_at_offset, set_inuse_bit_at_offset)
4868 (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
4869 (mchunk_prev_size, mchunk_size): Poison tokens.
4870 (unlink): Use chunksize_nomask, prev_size accessors.
4871 (do_check_remalloced_chunk): Use chunk_main_arena accessor.
4872 (do_check_free_chunk): Use prev_size accessor.
4873 (sysmalloc): Use set_prev_size, set_head accessors.
4874 (munmap_chunk, mremap_chunk): Use prev_size accessor.
4875 (__libc_free): Use chunksize_nomask accessor.
4876 (_int_malloc): Use set_non_main_arena, chunksize_nomask,
4877 chunk_main_arena accessors.
4878 (_int_free): Use chunksize_nomask, prev_size accessors.
4879 (malloc_consolidate): Use chunksize, prev_size accessors.
4880 (_int_realloc): Use chunksize_nomask accessor.
4881 (_int_memalign): Use set_prev_size accessor.
4882 (__malloc_info): Use chunksize_nomask accessor.
4883 * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
4884 accessors.
4885 * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
4886 (heap_trim): Use chunksize_nomask, prev_size accessors.
4887
4888 2016-10-28 Joseph Myers <joseph@codesourcery.com>
4889
4890 [BZ #19380]
4891 * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
4892 for inexact results.
4893 * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
4894 of inexact result where mpfr_subnormalize is the only inexact
4895 step.
4896 * stdlib/tst-strtod-round-data.h: Regenerated.
4897 * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
4898 Define to 0.
4899 (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
4900
4901 2016-10-27 David S. Miller <davem@davemloft.net>
4902
4903 * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
4904
4905 2016-10-27 Siddhesh Poyarekar <siddhesh@sourceware.org>
4906
4907 * malloc/malloc.c (do_set_mallopt_check): New function.
4908 (do_set_mmap_threshold): Likewise.
4909 (do_set_mmaps_max): Likewise.
4910 (do_set_top_pad): Likewise.
4911 (do_set_perturb_byte): Likewise.
4912 (do_set_trim_threshold): Likewise.
4913 (do_set_arena_max): Likewise.
4914 (do_set_arena_test): Likewise.
4915 (__libc_mallopt): Use them.
4916
4917 2016-10-26 Joseph Myers <joseph@codesourcery.com>
4918
4919 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
4920 (canonicalize): New declaration.
4921 * math/Versions (canonicalize): New libm symbol at version
4922 GLIBC_2.25.
4923 (canonicalizef): Likewise.
4924 (canonicalizel): Likewise.
4925 * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
4926 * math/s_canonicalize_template.c: New file.
4927 * math/libm-test.inc: Update comment on functions tested and
4928 testing of NaN payloads.
4929 (TEST_NAN_PAYLOAD): New macro.
4930 (NO_TEST_INLINE): Update value.
4931 (XFAIL_TEST): Likewise.
4932 (ERRNO_UNCHANGED): Likewise.
4933 (ERRNO_EDOM): Likewise.
4934 (ERRNO_ERANGE): Likewise.
4935 (IGNORE_RESULT): Likewise.
4936 (NON_FINITE): Likewise.
4937 (TEST_SNAN): Likewise.
4938 (NO_TEST_MATHVEC): Likewise.
4939 (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
4940 (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
4941 (struct test_Ffp_b1_data): New type.
4942 (RUN_TEST_Ffp_b1): New macro.
4943 (RUN_TEST_LOOP_Ffp_b1): Likewise.
4944 (canonicalize_test_data): New array.
4945 (canonicalize_test): New function.
4946 (main): Call canonicalize_test.
4947 * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
4948 canonicalizef and canonicalizel.
4949 * manual/libm-err-tab.pl: Update comment on interfaces without
4950 ulps tabulated.
4951 * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
4952 * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
4953 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
4954 canonicalize.
4955 (CFLAGS-nldbl-canonicalize.c): New variable.
4956 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
4957 to ...
4958 * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
4959 ... here.
4960 (do_test): Also test canonicalizel.
4961 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
4962 test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
4963 * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
4964 file.
4965 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
4966 Use libm_hidden_def.
4967 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
4968 * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
4969 (do_test): Also test canonicalizel.
4970 * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
4971 test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
4972 * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
4973 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
4974 libm_hidden_def.
4975 * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
4976 macro.
4977 * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
4978 (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
4979 * sysdeps/nacl/libm.abilist: Update.
4980 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
4981 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
4982 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
4983 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
4984 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
4985 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
4986 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
4987 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
4988 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
4989 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
4990 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
4991 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
4992 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
4993 Likewise.
4994 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
4995 Likewise.
4996 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
4997 Likewise.
4998 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
4999 Likewise.
5000 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5001 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5002 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5003 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5004 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5005 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5006 Likewise.
5007 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5008 Likewise.
5009 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5010 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5011 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5012
5013 * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
5014 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5015 getpayload.
5016 (CFLAGS-nldbl-getpayload.c): New variable.
5017
5018 2016-10-26 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5019
5020 * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
5021 integer from the format string.
5022
5023 2016-10-26 Florian Weimer <fweimer@redhat.com>
5024
5025 [BZ #19473]
5026 * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
5027 declarations.
5028 * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
5029 weak aliases.
5030 * malloc/hooks.c (__malloc_get_state): Remove definition.
5031 (malloc_get_state): New stub implementation as
5032 compatibility symbol.
5033 (malloc_set_state): Rename from __malloc_set_state. Turn into
5034 compat symbol.
5035 * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
5036 malloc_set_state.
5037 * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
5038
5039 2016-10-26 Florian Weimer <fweimer@redhat.com>
5040
5041 * iconvdata/iso646.c (enum variant): Drop illegal_var.
5042 (names): Turn into concatenation of strings.
5043 (gconv_init): Adapt iteration over names.
5044
5045 2016-10-26 Florian Weimer <fweimer@redhat.com>
5046
5047 * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
5048 make const.
5049 * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
5050 * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
5051 * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
5052 * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
5053 character in sbconv.
5054 * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
5055 * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
5056 * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
5057
5058 2016-10-26 Siddhesh Poyarekar <siddhesh@sourceware.org>
5059
5060 * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
5061
5062 * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
5063 (M_TRIM_THRESHOLD): Likewise.
5064
5065 * manual/memory.texi (M_ARENA_TEST): Add documentation.
5066 (M_ARENA_MAX): Likewise.
5067 * malloc/malloc.c: Remove obsolete comment.
5068
5069 * manual/memory.texi: Add environment variable alternatives to
5070 setting mallopt parameters.
5071
5072 2016-10-26 Carlos O'Donell <carlos@redhat.com>
5073
5074 * include/atomic.h
5075 [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
5076 (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
5077
5078 2016-10-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
5079
5080 * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
5081 * stdlib/tst-strfrom.h: New file.
5082 * stdlib/tst-strfrom.c: New file.
5083 * stdlib/tst-strfrom-locale.c: New file.
5084
5085 * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
5086 * stdlib/bug-strtod2.c: Likewise.
5087 * stdlib/tst-strtod-round-skeleton.c: Likewise.
5088 * stdlib/tst-strtod6.c: Likewise.
5089 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
5090
5091 2016-10-25 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
5092
5093 * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
5094 * manual/arith.texi: Document strfromd, strfromf, strfroml.
5095 * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
5096 * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
5097 * stdlib/stdlib.h (strfromd): New declaration.
5098 (strfromf): Likewise.
5099 (strfroml): Likewise.
5100 * stdlib/strfrom-skeleton.c: New file. Generic implementation for
5101 strfrom.
5102 * stdlib/strfromd.c: New file.
5103 * stdlib/strfromf.c: Likewise.
5104 * stdlib/strfroml.c: Likewise.
5105 * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
5106 * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
5107 * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
5108 * sysdeps/arm/nacl/libc.abilist: Update.
5109 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
5110 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
5111 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
5112 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
5113 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
5114 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
5115 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
5116 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
5117 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
5118 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
5119 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
5120 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
5121 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
5122 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
5123 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
5124 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
5125 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
5126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
5127 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
5128 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
5129 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
5130 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
5131 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
5132 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
5133 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
5134 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
5135 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
5136 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
5137
5138 2016-10-25 Joseph Myers <joseph@codesourcery.com>
5139
5140 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
5141 instead of cmpli.
5142 * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
5143 instead of cmpli.
5144
5145 2016-10-24 Yury Norov <ynorov@caviumnetworks.com>
5146
5147 * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
5148 * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
5149 * sysdeps/unix/sysv/linux/xstat.c: Likewise.
5150 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
5151 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
5152 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
5153
5154 2016-10-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5155
5156 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
5157 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
5158 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
5159 SYSCALL_LL64_PRW.
5160 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
5161 * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
5162 __ASSUME_PRW_DUMMY_ARG.
5163 * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
5164 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
5165 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
5166 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
5167 * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
5168 SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
5169
5170 2016-10-24 Steve Ellcey <sellcey@caviumnetworks.com>
5171
5172 * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
5173
5174 2016-10-22 Florian Weimer <fweimer@redhat.com>
5175
5176 * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
5177 "C++", to override a potential extern "C" directive around the
5178 header file inclusion.
5179
5180 2016-10-21 Joseph Myers <joseph@codesourcery.com>
5181
5182 * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
5183
5184 2016-10-21 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
5185
5186 * sysdeps/powerpc/fpu/fenv_private.h:
5187 (_FPU_MASK_ALL): Rename to...
5188 (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
5189 XE FPSCR bits.
5190
5191 (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
5192
5193 (_FPU_MASK_ROUNDING): Rename to...
5194 (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
5195 NI bits.
5196
5197 (_FPU_MASK_EXCEPT_ROUND): Rename to...
5198 (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
5199 bits and rounding bits.
5200
5201 (__libc_feholdbits_ppc): New inline function to mask, set,
5202 and pontentially clear FSPCR bits, and change MSR[FE] bits.
5203 (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
5204 (libc_feholdexcept_setround_ppc): Likewise.
5205
5206 (__libc_femergeenv_ppc): New function to dynamically mask both
5207 old and new FP environments and merge.
5208 (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
5209 (libc_feresetround_ppc): Likewise.
5210 (libc_feupdateenv_test_ppc): Likewise.
5211 (libc_feupdateenv_ppc): Likewise.
5212
5213 (libc_feholdsetround_ppc_ctx): Fix usage to include masking
5214 of ISA RN bits, and update macro names.
5215 (libc_feholdexcept_setround_ppc_ctx): Remove as it is
5216 effectively the same as the previously mentioned function.
5217
5218 (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
5219 usage with fe_resetround_ppc.
5220
5221 (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
5222 to be used.
5223 (libc_feholdexcept_setround_ctxf): Likewise.
5224 (libc_feholdexcept_setround_ctxl): Likewise.
5225
5226 2016-10-21 Florian Weimer <fweimer@redhat.com>
5227
5228 [BZ #20715]
5229 * math/math.h [__cplusplus] (iszero): Define as function template.
5230 * math/Makefile [CXX] (tests): Add test-math-iszero.
5231 (CFLAGS-test-math-iszero.cc): Set.
5232 * math/test-math-iszero.cc: New file.
5233
5234 2016-10-20 Joseph Myers <joseph@codesourcery.com>
5235
5236 [BZ #20660]
5237 * sysdeps/arm/e_sqrt.c: New file.
5238 * sysdeps/arm/e_sqrtf.c: Likewise.
5239
5240 2016-10-19 Joseph Myers <joseph@codesourcery.com>
5241
5242 [BZ #20718]
5243 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
5244 not use floating-point comparisons to test sign.
5245 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
5246 Likewise.
5247
5248 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5249 (getpayload): New declaration.
5250 * math/Versions (getpayload): New libm symbol at version
5251 GLIBC_2.25.
5252 (getpayloadf): Likewise.
5253 (getpayloadl): Likewise.
5254 * math/Makefile (libm-calls): Add s_getpayloadF.
5255 * math/libm-test.inc: Include <nan-high-order-bit.h>.
5256 (struct test_f_f_data): Add comment.
5257 (RUN_TEST_fp_f): New macro.
5258 (RUN_TEST_LOOP_fp_f): Likewise.
5259 (getpayload_test_data): New array.
5260 (getpayload_test): New function.
5261 (main): Call getpayload_test.
5262 * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
5263 descriptor.
5264 * manual/arith.texi (FP Bit Twiddling): Document getpayload,
5265 getpayloadf and getpayloadl.
5266 * manual/libm-err-tab.pl: Update comment on interfaces without
5267 ulps tabulated.
5268 * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
5269 * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
5270 * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
5271 * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
5272 * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
5273 * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
5274 * sysdeps/nacl/libm.abilist: Update.
5275 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5276 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5277 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5278 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5279 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5280 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5281 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5282 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5283 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5284 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5285 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5286 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5287 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5288 Likewise.
5289 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5290 Likewise.
5291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5292 Likewise.
5293 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5294 Likewise.
5295 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5296 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5297 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5298 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5299 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5300 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5301 Likewise.
5302 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5303 Likewise.
5304 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5305 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5306 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5307
5308 2016-10-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5309
5310 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
5311 tst-fallocate{64}.
5312 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
5313 on syscall return.
5314
5315 2016-10-17 Carlos O'Donell <carlos@redhat.com>
5316
5317 [BZ #20689]
5318 * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
5319 usable.
5320
5321 2016-10-17 Joseph Myers <joseph@codesourcery.com>
5322
5323 * sysdeps/generic/nan-high-order-bit.h: New file.
5324 * sysdeps/hppa/nan-high-order-bit.h: Likewise.
5325 * sysdeps/mips/nan-high-order-bit.h: Likewise.
5326 * sysdeps/hppa/math_private.h: Remove file.
5327 * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
5328 not define here.
5329 * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
5330 <nan-high-order-bit.h>.
5331 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5332 * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
5333 <nan-high-order-bit.h>.
5334 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5335 * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
5336 <nan-high-order-bit.h>.
5337 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5338 * sysdeps/ieee754/dbl-64/wordsize-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/wordsize-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/wordsize-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/flt-32/s_issignalingf.c: Include
5348 <nan-high-order-bit.h>.
5349 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5350 * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
5351 <nan-high-order-bit.h>.
5352 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5353 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
5354 <nan-high-order-bit.h>.
5355 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5356 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
5357 <nan-high-order-bit.h>.
5358 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5359 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
5360 <nan-high-order-bit.h>.
5361 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5362 * sysdeps/ieee754/ldbl-128/s_totalordermagl.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-128ibm/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-128ibm/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-128ibm/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-96/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-96/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-96/s_totalordermagl.c: Include
5381 <nan-high-order-bit.h>.
5382 [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
5383
5384 2016-10-17 Stefan Liebler <stli@linux.vnet.ibm.com>
5385
5386 * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
5387
5388 2016-09-22 John David Anglin <dave.anglin@bell.net>
5389
5390 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
5391 abort-instr.h.
5392 (EFAULT): Remove conditional define.
5393 (ENOSYS): Likewise.
5394 (atomic_compare_and_exchange_val_acq): Use instruction nullification
5395 instead of conditional branch instructions.
5396
5397 2016-10-15 Joseph Myers <joseph@codesourcery.com>
5398
5399 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5400 (totalordermag): New declaration.
5401 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
5402 New macro.
5403 * math/Versions (totalordermag): New libm symbol at version
5404 GLIBC_2.25.
5405 (totalordermagf): Likewise.
5406 (totalordermagl): Likewise.
5407 * math/Makefile (libm-calls): Add s_totalordermagF.
5408 * math/libm-test.inc (totalordermag_test_data): New array.
5409 (totalordermag_test): New function.
5410 (main): Call totalordermag_test.
5411 * math/test-tgmath.c (NCALLS): Increase to 125.
5412 (F(compile_test)): Call totalordermag.
5413 (F(totalordermag)): New function.
5414 * manual/arith.texi (FP Comparison Functions): Document
5415 totalordermag, totalordermagf and totalordermagl.
5416 * manual/libm-err-tab.pl: Update comment on interfaces without
5417 ulps tabulated.
5418 * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
5419 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
5420 * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
5421 * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
5422 * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
5423 * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
5424 * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
5425 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5426 totalordermag.
5427 (CFLAGS-nldbl-totalordermag.c): New variable.
5428 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
5429 (do_test): Also test totalordermagl.
5430 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
5431 Likewise.
5432 * sysdeps/nacl/libm.abilist: Update.
5433 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5434 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5435 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5436 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5437 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5438 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5439 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5440 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5441 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5442 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5443 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5444 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5445 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5446 Likewise.
5447 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5448 Likewise.
5449 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5450 Likewise.
5451 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5452 Likewise.
5453 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5454 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5455 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5456 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5457 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5458 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5459 Likewise.
5460 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5461 Likewise.
5462 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5463 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5464 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5465
5466 2016-10-14 Steve Ellcey <sellcey@caviumnetworks.com>
5467
5468 * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
5469 boolean.
5470
5471 2016-10-13 Joseph Myers <joseph@codesourcery.com>
5472
5473 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
5474 raising FE_INVALID with feraisexcept in case where part of
5475 argument is infinite, subtract that part of argument from itself.
5476 * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
5477 * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
5478 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5479
5480 2016-10-12 Joseph Myers <joseph@codesourcery.com>
5481
5482 * math/libm-test.inc (totalorder_test_data): Add more tests.
5483
5484 2016-10-12 Adhemerval Zanela <adhemerval.zanella@linaro.org>
5485
5486 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
5487 Undefine weak_alias and add a comment why mips64 require
5488 versioning.
5489
5490 2016-10-12 H.J. Lu <hongjiu.lu@intel.com>
5491
5492 [BZ #20647]
5493 * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
5494 maximum CPUID level is less than 2.
5495
5496 2016-10-12 Joseph Myers <joseph@codesourcery.com>
5497
5498 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5499 (totalorder): New declaration.
5500 * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
5501 New macro.
5502 * math/Versions (totalorder): New libm symbol at version
5503 GLIBC_2.25.
5504 (totalorderf): Likewise.
5505 (totalorderl): Likewise.
5506 * math/Makefile (libm-calls): Add s_totalorderF.
5507 * math/gen-libm-test.pl (parse_args): Escape quotes in test name
5508 string.
5509 * math/libm-test.inc (PAYLOAD_DIG): New macro.
5510 (qnan_value_pl): Likewise.
5511 (snan_value_pl): Likewise.
5512 (qnan_value): Define using qnan_value_pl.
5513 (snan_value): Define using snan_value_pl.
5514 (struct test_ff_i_data): Add comment about which tests use this
5515 structure.
5516 (RUN_TEST_ff_b): New macro.
5517 (RUN_TEST_LOOP_ff_b): Likewise.
5518 (totalorder_test_data): New array.
5519 (totalorder_test): New function.
5520 (main): Call totalorder_test.
5521 * math/test-tgmath.c (NCALLS): Increase to 122.
5522 (F(compile_test)): Call totalorder.
5523 (F(totalorder)): New function.
5524 * manual/arith.texi (FP Comparison Functions): Document
5525 totalorder, totalorderf and totalorderl.
5526 * manual/libm-err-tab.pl: Update comment on interfaces without
5527 ulps tabulated.
5528 * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
5529 * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
5530 * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
5531 * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
5532 * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
5533 * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
5534 * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
5535 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
5536 totalorder.
5537 (CFLAGS-nldbl-totalorder.c): New variable.
5538 * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
5539 file.
5540 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
5541 Add test-totalorderl-ldbl-128ibm.
5542 * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
5543 * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
5544 test-totalorderl-ldbl-96.
5545 * sysdeps/nacl/libm.abilist: Update.
5546 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5547 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5548 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5549 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5550 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5551 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5552 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5553 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5554 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5555 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5556 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5557 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5558 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5559 Likewise.
5560 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5561 Likewise.
5562 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5563 Likewise.
5564 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5565 Likewise.
5566 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5567 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5568 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5569 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5570 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5571 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5572 Likewise.
5573 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5574 Likewise.
5575 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5576 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5577 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5578
5579 2016-10-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5580
5581 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
5582 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
5583 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
5584 * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
5585 remove ENOSYS implementation.
5586 * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
5587 Consolidate all Linux implementations.
5588
5589 2016-10-11 Florian Weimer <fweimer@redhat.com>
5590
5591 * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
5592 * resolv/herror.c (herror): Cast away const-ness.
5593 * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
5594 (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
5595
5596 2016-10-11 Joseph Myers <joseph@codesourcery.com>
5597
5598 * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
5599 instead of M_NAN + M_NAN.
5600 * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
5601
5602 2016-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
5603
5604 * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
5605 unused variable 'p'.
5606
5607 2016-10-09 Alan Modra <amodra@gmail.com>
5608 Andreas Schwab <schwab@linux-m68k.org>
5609
5610 [BZ #20554]
5611 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
5612 [PIC && !SHARED]: Set up PIC register for PLT call.
5613
5614 2016-10-07 Joseph Myers <joseph@codesourcery.com>
5615
5616 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
5617 conditional on value of [__FLT_EVAL_METHOD__].
5618 * math/test-iseqsig-excess-precision.c: New file.
5619 * math/Makefile (tests): Add test-iseqsig-excess-precision.
5620
5621 2016-10-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
5622
5623 * math/s_iseqsig_template.c: Include math-private.h.
5624
5625 * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
5626 * posix/tst-posix_fadvise.c: New file.
5627 * posix/tst-posix_fadvise64.c: Likewise.
5628 * posix/tst-posix_fadvise-common.c: Likewise.
5629 * sysdeps/unix/sysv/linux/arm/kernel-features.h
5630 (__ASSUME_FADVISE64_64_6ARG): Define.
5631 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
5632 [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
5633 * sysdeps/unix/sysv/linux/tile/kernel-features.h
5634 [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
5635 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
5636 * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
5637 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
5638 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
5639 * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
5640 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
5641 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
5642 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
5643 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
5644 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
5645 Likewise.
5646 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
5647 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
5648 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
5649 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5650 Alias to __posix_fadvise64_l32.
5651 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
5652 Add compat definition to posix_fadvise64.
5653 (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
5654 Add versioned definition to posix_fadvise64.
5655 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
5656 __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
5657 __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
5658 * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
5659 __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
5660
5661 * io/Makefile (tests): Add tst-posix_fallocate and
5662 tst-posix_fallocate64.
5663 * io/tst-posix_fallocate-common.c: New file.
5664 * io/tst-posix_fallocate.c: Likewise.
5665 * io/tst-posix_fallocate64.c: Likewise.
5666 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
5667 file.
5668 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
5669 Likewise.
5670 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
5671 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
5672 Likewise.
5673 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
5674 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
5675 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
5676 SYSCALL_LL to pass both offset and len arguments.
5677 * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
5678 Likewise.
5679 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
5680 __libc_pwrite64 alias used by posix_fallocate64.
5681
5682 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5683 tst-fallocate64.
5684 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5685 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5686 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5687 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5688 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5689 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5690 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5691 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5692 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5693 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5694 macro on offset argument.
5695 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5696 SYSCALL_LL64 on offset argument.
5697
5698 * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
5699 tst-fallocate64.
5700 * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
5701 * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
5702 * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
5703 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
5704 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
5705 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
5706 * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
5707 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
5708 * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
5709 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
5710 macro on offset argument.
5711 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
5712 SYSCALL_LL64 on offset argument.
5713 * test-skeleton.c (FAIL_RET): Add macro.
5714 (FAIL_EXIT): Likewise.
5715 (FAIL_EXIT1): Likewise.
5716 (_FAIL): Likewise.
5717
5718 2016-10-07 Florian Weimer <fweimer@redhat.com>
5719
5720 [BZ #20629]
5721 resolv: Remove RES_USEBSTRING and its implementation.
5722 * resolv/resolv.h (RES_USEBSTRING): Remove.
5723 * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
5724 (digitvalue, encode_bitstring, decode_bitstring): Remove.
5725 (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
5726 (labellen): Remove extended label types support.
5727 * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
5728 * resolv/res_init.c (res_setoptions): Likewise.
5729 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5730
5731 2016-10-07 Florian Weimer <fweimer@redhat.com>
5732
5733 resolv: Remove RES_NOIP6DOTINT and its implementation.
5734 * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
5735 (RES_NOIP6DOTINT): Remove.
5736 * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
5737 handling.
5738 * resolv/res_debug.c (p_option): Likewise.
5739 * resolv/res_init.c (res_setoptions): Likewise.
5740 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
5741
5742 2016-10-07 Florian Weimer <fweimer@redhat.com>
5743
5744 resolv: Deprecate unimplemented flags.
5745 * misc/sys/cdefs.h (__glibc_macro_warning1)
5746 (__glibc_macro_warning): Define.
5747 * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
5748 (RES_KEEPTSIG): Mark as deprecated.
5749 * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
5750 RES_NOCHECKNAME, RES_KEEPTSIG.
5751 * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
5752
5753 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5754
5755 * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
5756 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
5757 Use strong_alias to create symbols for glibc verison 2.19.
5758
5759 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5760
5761 * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
5762
5763 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5764
5765 * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
5766
5767 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5768
5769 * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
5770
5771 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5772
5773 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
5774 Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
5775 in header for using it as type for ifunc function because __GI_* symbols
5776 for ppc32 do not target the ifunc symbols.
5777 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
5778
5779 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5780
5781 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
5782 Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
5783 libc_ifunc_hidden_def.
5784 * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
5785 * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
5786 Redirect ifunced function in header for using it as type of ifunc'ed
5787 function. Redefine libc_hidden_def to use fallback non ifunc'ed
5788 function for __GI_* symbol.
5789 * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
5790 * include/libc-symbols.h
5791 (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
5792
5793 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5794
5795 [BZ #20478]
5796 * sysdeps/s390/multiarch/ifunc-resolve.h
5797 (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
5798 to create ifunc symbols.
5799 (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
5800 , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
5801 * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
5802 for using it as type for ifunc function.
5803 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
5804 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
5805 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
5806 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
5807 * sysdeps/s390/multiarch/strcat.c: Likewise.
5808 * sysdeps/s390/multiarch/strchr.c: Likewise.
5809 * sysdeps/s390/multiarch/strcmp.c: Likewise.
5810 * sysdeps/s390/multiarch/strcpy.c: Likewise.
5811 * sysdeps/s390/multiarch/strcspn.c: Likewise.
5812 * sysdeps/s390/multiarch/strlen.c: Likewise.
5813 * sysdeps/s390/multiarch/strncmp.c: Likewise.
5814 * sysdeps/s390/multiarch/strncpy.c: Likewise.
5815 * sysdeps/s390/multiarch/strnlen.c: Likewise.
5816 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
5817 * sysdeps/s390/multiarch/strrchr.c: Likewise.
5818 * sysdeps/s390/multiarch/strspn.c: Likewise.
5819 * sysdeps/s390/multiarch/wcschr.c: Likewise.
5820 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
5821 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
5822 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
5823 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
5824 * sysdeps/s390/multiarch/wmemset.c: Likewise.
5825 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
5826 * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
5827 * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
5828 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
5829 * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
5830 * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
5831
5832 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5833
5834 * include/libc-symbols.h (__ifunc_resolver):
5835 New macro is used by __ifunc* macros.
5836 (__ifunc): New macro uses gcc attribute ifunc or inline assembly
5837 depending on HAVE_GCC_IFUNC.
5838 (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
5839 (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
5840 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
5841 Redirect ifunced function in header for using as type for ifunc function.
5842 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
5843 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
5844 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
5845 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
5846 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
5847 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
5848 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
5849 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
5850 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
5851 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
5852 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
5853 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
5854 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
5855 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
5856 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
5857 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
5858 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
5859 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
5860 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
5861 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
5862 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
5863 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
5864 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
5865 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
5866 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
5867 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
5868 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
5869 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
5870 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
5871 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
5872 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
5873 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
5874 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
5875 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
5876 Add libc_hidden_def() and use libc_ifunc_hidden() macro
5877 instead of libc_ifunc() macro.
5878 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
5879 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
5880
5881 2016-10-07 Stefan Liebler <stli@linux.vnet.ibm.com>
5882
5883 * config.h.in (HAVE_GCC_IFUNC): New undef.
5884 * configure.ac: Add check if gcc supports attribute ifunc feature.
5885 * configure: Regenerated.
5886 * manual/install.texi: Add recommendation for gcc with
5887 indirect-function support.
5888 * INSTALL: Regenerated.
5889
5890 2016-10-06 Joseph Myers <joseph@codesourcery.com>
5891
5892 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
5893 macro.
5894 * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
5895 (__iseqsig): New declaration.
5896 * math/s_iseqsig_template.c: New file.
5897 * math/Versions (__iseqsigf): New libm symbol at version
5898 GLIBC_2.25.
5899 (__iseqsig): Likewise.
5900 (__iseqsigl): Likewise.
5901 * math/libm-test.inc (iseqsig_test_data): New array.
5902 (iseqsig_test): New function.
5903 (main): Call iseqsig_test.
5904 * math/Makefile (gen-libm-calls): Add s_iseqsigF.
5905 * manual/arith.texi (FP Comparison Functions): Document iseqsig.
5906 * manual/libm-err-tab.pl: Update comment on interfaces without
5907 ulps tabulated.
5908 * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
5909 * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
5910 * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
5911 * sysdeps/nacl/libm.abilist: Update.
5912 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
5913 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
5914 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
5915 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
5916 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
5917 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
5918 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
5919 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
5920 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
5921 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
5922 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
5923 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
5924 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
5925 Likewise.
5926 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
5927 Likewise.
5928 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
5929 Likewise.
5930 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
5931 Likewise.
5932 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
5933 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
5934 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
5935 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
5936 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
5937 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
5938 Likewise.
5939 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
5940 Likewise.
5941 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
5942 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
5943 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
5944
5945 2016-10-06 Siddhesh Poyarekar <siddhesh@sourceware.org>
5946
5947 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
5948 do_sincos_2, sloww, sloww1): Update comments.
5949
5950 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
5951 do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
5952
5953 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
5954 K boolean and rename it.
5955 (__sin): Adjust.
5956 (__cos): Adjust.
5957
5958 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
5959 Siddhesh Poyarekar <siddhesh@sourceware.org>
5960
5961 * manual/nss.texi: Fix typos in the manual.
5962
5963 2016-10-06 Rical Jasan <ricaljasan@pacific.net>
5964
5965 * manual/contrib.texi: Fix typos in the manual.
5966
5967 * manual/maint.texi: Fix typos in the manual.
5968
5969 * manual/install.texi: Fix typos in the manual.
5970 * INSTALL: Regenerated.
5971
5972 * manual/lang.texi: Fix typos in the manual.
5973
5974 * manual/probes.texi: Fix typos in the manual.
5975
5976 * manual/threads.texi: Fix typos in the manual.
5977
5978 * manual/debug.texi: Fix typos in the manual.
5979
5980 * manual/crypt.texi: Fix typos in the manual.
5981
5982 * manual/conf.texi: Fix typos in the manual.
5983
5984 * manual/sysinfo.texi: Fix typos in the manual.
5985
5986 * manual/users.texi: Fix typos in the manual.
5987
5988 * manual/job.texi: Fix typos in the manual.
5989
5990 * manual/process.texi: Fix typos in the manual.
5991
5992 * manual/argp.texi: Fix typos in the manual.
5993 * manual/getopt.texi: Likewise.
5994 * manual/startup.texi: Likewise.
5995
5996 * manual/signal.texi: Fix typos in the manual.
5997
5998 * manual/setjmp.texi: Fix typos in the manual.
5999
6000 * manual/resource.texi: Fix typos in the manual.
6001
6002 * manual/time.texi: Fix typos in the manual.
6003
6004 * manual/arith.texi: Fix typos in the manual.
6005
6006 * manual/math.texi: Fix typos in the manual.
6007
6008 * manual/syslog.texi: Fix typos in the manual.
6009
6010 * manual/terminal.texi: Fix typos in the manual.
6011
6012 * manual/socket.texi: Fix typos in the manual.
6013
6014 * manual/filesys.texi: Fix typos in the manual.
6015
6016 * manual/llio.texi: Fix typos in the manual.
6017
6018 * manual/stdio.text: Fix typos in the manual.
6019
6020 2016-10-05 Siddhesh Poyarekar <siddhesh@sourceware.org>
6021
6022 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
6023 instead of K1.
6024
6025 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
6026 SHIFT_QUADRANT and make it bool.
6027 (do_sincos_2): Likewise.
6028 (sloww): Likewise.
6029 (sloww1): Likewise.
6030 (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
6031 (__cos): Likewise.
6032
6033 2016-10-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6034
6035 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
6036
6037 2016-10-04 Joseph Myers <joseph@codesourcery.com>
6038
6039 * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
6040 Define to __WORDSIZE, not conditional on [LONG_MAX ==
6041 0x7fffffffL].
6042 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
6043
6044 2016-10-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6045
6046 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
6047 inline by __inline__.
6048 (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
6049 (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
6050 (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
6051 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
6052 sigset_t from signal.h.
6053 * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
6054 which is already required.
6055
6056 2016-10-04 Stefan Liebler <stli@linux.vnet.ibm.com>
6057
6058 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
6059
6060 2016-10-03 Joseph Myers <joseph@codesourcery.com>
6061
6062 * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
6063 (struct tcp_repair_window): New type.
6064
6065 2016-10-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6066
6067 * libio/tst-memstream3.c: Include string.h.
6068
6069 2016-09-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6070
6071 [BZ #18241]
6072 [BZ #20181]
6073 * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
6074 * libio/memstream.c (_IO_mem_sync): Only append a null byte if
6075 write position is at the end the buffer.
6076 * libio/wmemstream.c (_IO_wmem_sync): Likewise.
6077 * libio/strops.c (_IO_str_switch_to_get_mode): New function.
6078 (_IO_str_seekoff): Set correct offset from negative displacement and
6079 set EINVAL for invalid ones.
6080 * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
6081 buffer length.
6082 (_IO_wstr_switch_to_get_mode): New function.
6083 (_IO_wstr_seekoff): Set correct offset from negative displacement and
6084 set EINVAL for invalid ones.
6085 * libio/tst-memstream3.c: New file.
6086 * libio/tst-wmemstream3.c: Likewise.
6087 * manual/examples/memstrm.c: Remove warning when priting size_t.
6088
6089 2016-09-30 Joseph Myers <joseph@codesourcery.com>
6090
6091 * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
6092 macro to use __builtin_fma.
6093 * sysdeps/x86_64/fpu/dla.h: Remove file.
6094
6095 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
6096 [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
6097 [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
6098
6099 2016-09-30 Carlos O'Donell <carlos@redhat.com>
6100
6101 [BZ #20292]
6102 * elf/Makefile (routines): Add dl-addr-obj.
6103 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
6104 tst-_dl_addr_inside_object.
6105 [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
6106 [ifeq (yesyes,$(have-fpie)$(build-shared))]
6107 ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
6108 [ifeq (yesyes,$(have-fpie)$(build-shared))]
6109 (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
6110 * elf/dl-addr.c: Remove _dl_addr_inside_object function.
6111 * elf/dl-open.c: Likewise.
6112 * elf/dl-addr-obj.c: New file.
6113 * elf/tst-_dl_addr_inside_object.c: New file.
6114
6115 2016-09-30 Joseph Myers <joseph@codesourcery.com>
6116
6117 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
6118 <bits/iscanonical.h>.
6119 * bits/iscanonical.h: New file.
6120 * math/s_iscanonicall.c: Likewise.
6121 * math/Versions (__iscanonicall): New libm symbol at version
6122 GLIBC_2.25.
6123 * math/libm-test.inc (iscanonical_test_data): New array.
6124 (iscanonical_test): New function.
6125 (main): Call iscanonical_test.
6126 * math/Makefile (headers): Add bits/iscanonical.h.
6127 (type-ldouble-routines): Add s_iscanonicall.
6128 * manual/arith.texi (Floating Point Classes): Document
6129 iscanonical.
6130 * manual/libm-err-tab.pl: Update comment on interfaces without
6131 ulps tabulated.
6132 * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
6133 * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
6134 * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
6135 Likewise.
6136 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
6137 test-iscanonical-ldbl-128ibm.
6138 * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
6139 * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
6140 * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
6141 * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
6142 * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
6143 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
6144 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
6145 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
6146 Likewise.
6147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
6148 Likewise.
6149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
6150 Likewise.
6151 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
6152 Likewise.
6153 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
6154 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
6155
6156 2016-09-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6157
6158 * string/bits/string3.h: Remove C++ style comments.
6159
6160 2016-09-29 Siddhesh Poyarekar <siddhesh@sourceware.org>
6161
6162 * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
6163 instead of ternary condition.
6164 (do_sincos_2): Likewise.
6165 (__sin): Likewise.
6166 (__cos): Likewise.
6167 (slow): Likewise.
6168 (sloww): Likewise.
6169 (sloww1): Likewise.
6170 (bsloww): Likewise.
6171 (bsloww1): Likewise.
6172
6173 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
6174 instead of ternary condition.
6175 (do_sin_slow): Likewise.
6176 (do_sincos_1): Likewise.
6177 (do_sincos_2): Likewise.
6178 (__cos): Likewise.
6179 (sloww): Likewise.
6180 (sloww1): Likewise.
6181 (sloww2): Likewise.
6182 (bsloww): Likewise.
6183 (bsloww1): Likewise.
6184 (bsloww2): Likewise.
6185
6186 * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
6187 check from here...
6188 (slow2): ... and here...
6189 (__sin): ... to here.
6190
6191 2016-09-28 Joseph Myers <joseph@codesourcery.com>
6192
6193 * math/math.h
6194 [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
6195 Cast argument to its own type.
6196 * math/test-iszero-excess-precision.c: New file.
6197 * math/Makefile (tests): Add test-iszero-excess-precision.
6198 (CFLAGS-test-iszero-excess-precision.c): New variable.
6199
6200 2016-09-28 Rasmus Villemoes <rv@rasmusvillemoes.dk>
6201
6202 * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
6203 field, add err field.
6204 (__spawni_child): Report error through err member instead of pipe.
6205 (__spawnix): Likewise.
6206
6207 2016-09-28 Zack Weinberg <zackw@panix.com>
6208
6209 * scripts/check-installed-headers.sh: Generalize treatment of
6210 sys/elf.h to all target architectures.
6211
6212 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
6213 deleted typedef ucontext_t.
6214
6215 2016-09-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6216
6217 * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
6218 (__INTERNAL_SYSCALL1): Likewise.
6219 (__INTERNAL_SYSCALL2): Likewise.
6220 (__INTERNAL_SYSCALL3): Likewise.
6221 (__INTERNAL_SYSCALL4): Likewise.
6222 (__INTERNAL_SYSCALL5): Likewise.
6223 (__INTERNAL_SYSCALL6): Likewise.
6224 (__INTERNAL_SYSCALL7): Likewise.
6225 (__INTERNAL_SYSCALL_NARGS_X): Likewise.
6226 (__INTERNAL_SYSCALL_NARGS): Likewise.
6227 (__INTERNAL_SYSCALL_DISP): Likewise.
6228 (INTERNAL_SYSCALL_CALL): Likewise.
6229 (__SYSCALL0): Rename to __INLINE_SYSCALL0.
6230 (__SYSCALL1): Rename to __INLINE_SYSCALL1.
6231 (__SYSCALL2): Rename to __INLINE_SYSCALL2.
6232 (__SYSCALL3): Rename to __INLINE_SYSCALL3.
6233 (__SYSCALL4): Rename to __INLINE_SYSCALL4.
6234 (__SYSCALL5): Rename to __INLINE_SYSCALL5.
6235 (__SYSCALL6): Rename to __INLINE_SYSCALL6.
6236 (__SYSCALL7): Rename to __INLINE_SYSCALL7.
6237 (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
6238 (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
6239 (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
6240 (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
6241 (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
6242
6243 2016-09-23 Joseph Myers <joseph@codesourcery.com>
6244
6245 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
6246 macro.
6247 * math/libm-test.inc (iszero_test_data): New array.
6248 (iszero_test): New function.
6249 (main): Call iszero_test.
6250 * manual/arith.texi (Floating Point Classes): Document iszero.
6251 * manual/libm-err-tab.pl: Update comment on interfaces without
6252 ulps tabulated.
6253
6254 2016-09-23 Zack Weinberg <zackw@panix.com>
6255
6256 * scripts/check-installed-headers.sh: New script.
6257 * Rules: In each directory that defines header files to be installed,
6258 run check-installed-headers.sh on them as a special test.
6259 * Makefile: Likewise for the headers installed at top level.
6260
6261 * include/aliases.h, include/alloca.h, include/argz.h
6262 * include/arpa/nameser.h, include/arpa/nameser_compat.h
6263 * include/elf.h, include/envz.h, include/err.h
6264 * include/execinfo.h, include/fpu_control.h, include/getopt.h
6265 * include/gshadow.h, include/ifaddrs.h, include/libintl.h
6266 * include/link.h, include/malloc.h, include/mcheck.h
6267 * include/mntent.h, include/netinet/ether.h
6268 * include/nss.h, include/obstack.h, include/printf.h
6269 * include/pty.h, include/resolv.h, include/rpc/auth.h
6270 * include/rpc/auth_des.h, include/rpc/auth_unix.h
6271 * include/rpc/clnt.h, include/rpc/des_crypt.h
6272 * include/rpc/key_prot.h, include/rpc/netdb.h
6273 * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
6274 * include/rpc/pmap_rmt.h, include/rpc/rpc.h
6275 * include/rpc/rpc_msg.h, include/rpc/svc.h
6276 * include/rpc/svc_auth.h, include/rpc/xdr.h
6277 * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
6278 * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
6279 * include/rpcsvc/ypupd.h, include/shadow.h
6280 * include/stdio_ext.h, include/sys/epoll.h
6281 * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
6282 * include/sys/prctl.h, include/sys/profil.h
6283 * include/sys/statfs.h, include/sys/sysctl.h
6284 * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
6285 * sysdeps/arm/nacl/include/bits/setjmp.h
6286 * sysdeps/mips/include/sys/asm.h
6287 * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
6288 * sysdeps/unix/sysv/linux/include/sys/timex.h
6289 * sysdeps/x86/fpu/include/bits/fenv.h:
6290 Add #ifndef _ISOMAC guard around internal declarations.
6291 Add multiple-inclusion guard if not already present.
6292
6293 2016-09-23 Zack Weinberg <zackw@panix.com>
6294
6295 * sysdeps/generic/sys/ucontext.h
6296 * sysdeps/arm/sys/ucontext.h
6297 * sysdeps/i386/sys/ucontext.h
6298 * sysdeps/m68k/sys/ucontext.h
6299 * sysdeps/mips/sys/ucontext.h
6300 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
6301 * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
6302 * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
6303 * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
6304 * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
6305 * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
6306 * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
6307 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
6308 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
6309 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
6310 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
6311 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
6312 * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
6313 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
6314 Include both bits/sigcontext.h and bits/sigstack.h.
6315 Fix grammar error in comment, if present.
6316
6317 * bits/sigstack.h
6318 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
6319 * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
6320 * sysdeps/unix/sysv/linux/bits/sigstack.h
6321 * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
6322 * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
6323 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
6324 * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
6325 * bits/sigcontext.h
6326 * sysdeps/mach/hurd/i386/bits/sigcontext.h
6327 * sysdeps/unix/sysv/linux/bits/sigcontext.h
6328 * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
6329 * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
6330 Add multiple inclusion guard. Permit inclusion by sys/ucontext.h
6331 as well as signal.h, if this was not already allowed. Request
6332 definition of size_t if necessary. Minimize semantically-null
6333 differences across files.
6334
6335 2016-09-23 Zack Weinberg <zackw@panix.com>
6336
6337 * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
6338 Remove all logic conditional on __need macros. Move all the
6339 conditionally defined types to their own headers...
6340 * time/bits/types/clock_t.h: Define clock_t here.
6341 * time/bits/types/clockid_t.h: Define clockid_t here.
6342 * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
6343 * time/bits/types/struct_timespec.h: Define struct timespec here.
6344 * time/bits/types/struct_timeval.h: Define struct timeval here.
6345 * time/bits/types/struct_tm.h: Define struct tm here.
6346 * time/bits/types/time_t.h: Define time_t here.
6347 * time/bits/types/timer_t.h: Define timer_t here.
6348 * time/Makefile: Install the new headers.
6349
6350 * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
6351 * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
6352 * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
6353 * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
6354 * sysdeps/unix/sysv/linux/alpha/bits/resource.h
6355 * sysdeps/unix/sysv/linux/alpha/sys/acct.h
6356 * sysdeps/unix/sysv/linux/bits/resource.h
6357 * sysdeps/unix/sysv/linux/bits/timex.h
6358 * sysdeps/unix/sysv/linux/mips/bits/resource.h
6359 * sysdeps/unix/sysv/linux/net/ppp_defs.h
6360 * sysdeps/unix/sysv/linux/sparc/bits/resource.h
6361 * sysdeps/unix/sysv/linux/sys/acct.h
6362 * sysdeps/unix/sysv/linux/sys/timerfd.h
6363 * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
6364 * time/sys/time.h, time/sys/timeb.h
6365 Use the new bits/types headers.
6366
6367 * include/time.h: Remove __need logic.
6368 * include/bits/time.h
6369 * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
6370 * include/bits/types/time_t.h, include/bits/types/timer_t.h
6371 * include/bits/types/struct_itimerspec.h
6372 * include/bits/types/struct_timespec.h
6373 * include/bits/types/struct_timeval.h
6374 * include/bits/types/struct_tm.h:
6375 New wrapper headers.
6376
6377 2016-09-23 Zack Weinberg <zackw@panix.com>
6378
6379 * sysdeps/mach/hurd/net/if_ppp.h
6380 * sysdeps/unix/sysv/linux/net/if_ppp.h:
6381 Only define struct ifpppstatsreq and struct ifpppcstatsreq
6382 if __USE_MISC is defined, to ensure struct ifreq is declared.
6383
6384 * inet/netinet/ether.h: Condition all function prototypes
6385 on __USE_MISC, to ensure struct ether_addr is declared.
6386
6387 * socket/bits/types/struct_osockaddr.h: New header.
6388 * include/bits/types/struct_osockaddr.h: New wrapper.
6389 * socket/Makefile: Install the new header.
6390 * socket/sys/socket.h, inet/protocols/talkd.h:
6391 Refer to bits/types/struct_osockaddr.h for the definition of
6392 struct osockaddr.
6393
6394 2016-09-23 Zack Weinberg <zackw@panix.com>
6395
6396 * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
6397 * inet/protocols/routed.h, inet/protocols/talkd.h
6398 * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
6399 * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
6400 * sysdeps/generic/netinet/if_ether.h
6401 * sysdeps/generic/netinet/in_systm.h
6402 * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
6403 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
6404 * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
6405 * sysdeps/mach/hurd/net/if_arp.h
6406 * sysdeps/mach/hurd/net/if_ppp.h
6407 * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
6408 * sysdeps/unix/sysv/linux/bits/in.h
6409 * sysdeps/unix/sysv/linux/net/ethernet.h
6410 * sysdeps/unix/sysv/linux/net/if_arp.h
6411 * sysdeps/unix/sysv/linux/net/if_ppp.h
6412 * sysdeps/unix/sysv/linux/net/if_shaper.h
6413 * sysdeps/unix/sysv/linux/net/route.h
6414 * sysdeps/unix/sysv/linux/netinet/if_ether.h
6415 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
6416 * sysdeps/unix/sysv/linux/netinet/if_tr.h
6417 * sysdeps/unix/sysv/linux/netipx/ipx.h
6418 * sysdeps/unix/sysv/linux/sys/acct.h
6419 * include/arpa/nameser.h, include/resolv.h:
6420 Change all uses of u_char to unsigned char,
6421 u_short and ushort to unsigned short, u_int and uint to unsigned int,
6422 u_long and ulong to unsigned long, u_int8_t to uint8_t,
6423 u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
6424 and u_int64_t and u_quad_t to uint64_t.
6425
6426 * mach/sys/reboot.h: Remove two casts of integer literals
6427 to the types they already have.
6428
6429 * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
6430 * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
6431 * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
6432 from referring to 'unsigned char' to 'uint8_t' for consistency with
6433 the macro definition below.
6434
6435 * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
6436 * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
6437 * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
6438 * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
6439 * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
6440 * sysdeps/unix/sysv/linux/sys/acct.h
6441 * include/arpa/nameser.h, include/resolv.h:
6442 Fix indentation disrupted by mechanical edits.
6443
6444 * inet/protocols/talkd.h, resolv/arpa/nameser.h
6445 * sysdeps/generic/netinet/in_systm.h
6446 * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
6447 * sysdeps/gnu/netinet/udp.h
6448 * sysdeps/unix/sysv/linux/net/ethernet.h
6449 * sysdeps/unix/sysv/linux/net/if_arp.h
6450 * sysdeps/unix/sysv/linux/net/if_ppp.h
6451 * sysdeps/unix/sysv/linux/net/if_shaper.h
6452 * sysdeps/unix/sysv/linux/netinet/if_fddi.h
6453 * sysdeps/unix/sysv/linux/netinet/if_tr.h
6454 * sysdeps/unix/sysv/linux/netipx/ipx.h
6455 * sysdeps/unix/sysv/linux/sys/acct.h
6456 Include stdint.h for uintNN_t definitions.
6457 Don't include sys/cdefs.h, features.h, or asm/types.h directly.
6458
6459 2016-09-23 Zack Weinberg <zackw@panix.com>
6460
6461 * rpcsvc/nislib.h: Include rpcsvc/nis.h.
6462 * sysdeps/unix/sysv/linux/netrose/rose.h:
6463 Include sys/socket.h and netax25/ax25.h.
6464
6465 * inet/netinet/icmp6.h, inet/netinet/ip6.h
6466 * resolv/arpa/nameser_compat.h:
6467 Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
6468
6469 * sysdeps/unix/sysv/linux/sys/quota.h:
6470 Use __caddr_t instead of caddr_t.
6471 * sysdeps/unix/sysv/linux/sys/timerfd.h:
6472 Use __clockid_t instead of clockid_t.
6473
6474 * sysvipc/sys/ipc.h: Remove unnecessary #warning.
6475
6476 * argp/argp.h: Check whether _LIBC is defined before expanding it.
6477 * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
6478 expanding it.
6479
6480 * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
6481 Define __glibc_c99_flexarr_available to 1 when the compiler
6482 supports C99-compatible flexible array members, 0 otherwise.
6483 * sysdeps/unix/sysv/linux/bits/socket.h
6484 * sysdeps/mach/hurd/bits/socket.h
6485 * bits/socket.h: Use __glibc_c99_flexarr_available in
6486 definitions of struct cmsghdr and CMSG_DATA.
6487
6488 2016-09-23 Florian Weimer <fweimer@redhat.com>
6489
6490 * manual/nss.texi (NSS Modules Interface): Adjust function return
6491 type to enum nss_status. Document errnop argument. Clarify
6492 h_errnop semantics. Fix cross-reference formatting.
6493 (NSS Module Function Internals): Mention that *errnop needs to be
6494 set on failure, but not to zero.
6495
6496 2016-09-23 Florian Weimer <fweimer@redhat.com>
6497
6498 * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
6499 (get_random_name): New functions.
6500 (check_wrapper_flags_mode): Use linkat to give the new file a name
6501 determined by get_random_name.
6502 (do_test): Add calls to test open64 and openat64.
6503
6504 2016-09-23 Florian Weimer <fweimer@redhat.com>
6505
6506 * test-skeleton.c: Remove #include <stdarg.h>.
6507
6508 2016-09-21 Alexandre Oliva <aoliva@redhat.com>
6509
6510 [BZ #19826]
6511 * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
6512 initialization of static TLS entries.
6513 * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
6514 * nptl/allocatestack.c (init_one_static_tls): Likewise.
6515
6516 2016-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
6517
6518 * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
6519 _hurd_malloc_fork_prepare.
6520 (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
6521 (malloc_fork_child): Rename to _hurd_malloc_fork_child.
6522 (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
6523 (_hurd_fork_parent_hook): Drop malloc_fork_parent.
6524 (_hurd_fork_child_hook): Drop malloc_fork_child.
6525 * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
6526 _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
6527 * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
6528 after locking locks (notably hurd_dtable_lock). Call
6529 _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
6530 before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
6531 __malloc_fork_unlock_child.
6532 * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
6533
6534 2016-09-21 James Greenhalgh <james.greenhalgh@arm.com>
6535
6536 * soft-fp/extendhftf2.c: New.
6537 * soft-fp/fixhfti.c: Likewise.
6538 * soft-fp/fixunshfti.c: Likewise.
6539 * soft-fp/floattihf.c: Likewise.
6540 * soft-fp/floatuntihf.c: Likewise.
6541 * soft-fp/half.h: Likewise.
6542 * soft-fp/trunctfhf2.c: Likewise.
6543
6544 2016-09-21 Joseph Myers <joseph@codesourcery.com>
6545
6546 * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
6547 macro.
6548 * math/libm-test.inc (issubnormal_test_data): New array.
6549 (issubnormal_test): New function.
6550 * manual/arith.texi (Floating Point Classes): Document
6551 issubnormal.
6552 * manual/libm-err-tab.pl: Update comment on interfaces without
6553 ulps tabulated.
6554
6555 * sysdeps/generic/stdint.h: Define
6556 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6557 <bits/libc-header-start.h> instead of including <features.h>.
6558 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
6559 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
6560 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
6561 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
6562 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
6563 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
6564 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
6565 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
6566 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
6567 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
6568 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
6569 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
6570 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
6571 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
6572 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
6573 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
6574 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
6575 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
6576 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
6577 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
6578 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
6579 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
6580 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
6581 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
6582 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
6583 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
6584 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
6585 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
6586 [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
6587 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
6588 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
6589 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
6590 [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
6591 * manual/arith.texi (Integers): Document these macros for types
6592 specified by width properties.
6593 * manual/lang.texi (Width of Type): Document these macros for
6594 other standard typedefs.
6595 * stdlib/tst-width-stdint.c: New file.
6596 * stdlib/Makefile (tests): Add tst-width-stdint.
6597
6598 2016-09-21 Florian Weimer <fweimer@redhat.com>
6599
6600 [BZ #20016]
6601 * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
6602 * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
6603 Move ...
6604 * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
6605 ... here, as compatibility symbols in a new file.
6606 * resolv/Makefile (libresolv-routines): Add compat-hooks.
6607 * resolv/res_init.c (__res_vinit): Adjust member names.
6608 * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
6609 * resolv/resolv.h (res_sendhookact, res_send_qhook)
6610 (res_send_rhook): Remove.
6611 (struct __res_state): Rename qhook, rhook members.
6612
6613 2016-09-21 Florian Weimer <fweimer@redhat.com>
6614
6615 malloc: Use __libc_lock wrappers.
6616 * malloc/arena.c (list_lock, free_list_lock): Define using
6617 __libc_lock_define_initialized.
6618 (arena_lock): Adjust formatting.
6619 * malloc/malloc.c (struct malloc_state): Define mutex using
6620 __libc_lock_define.
6621 * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
6622 (mutex_lock, mutex_trylock, mutex_unlock): Remove.
6623 * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
6624 (mutex_unlock, mutex_trylock): Remove.
6625 (__pthread_initialize): Remove unused macro.
6626 * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
6627 (mutex_unlock, mutex_trylock): Remove.
6628
6629 2016-09-21 Florian Weimer <fweimer@redhat.com>
6630
6631 [BZ #20592]
6632 Remove RR type classification macros.
6633 * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
6634 (ns_t_udp_p, ns_t_xfr_p): Remove.
6635
6636 2016-09-21 Florian Weimer <fweimer@redhat.com>
6637
6638 Remove misleading version information.
6639 * resolv/arpa/nameser.h (__NAMESER): Remove.
6640 * resolv/arpa/nameser_compat.h (__BIND): Remove.
6641
6642 2016-09-21 Florian Weimer <fweimer@redhat.com>
6643
6644 Remove the always-defined BIND_4_COMPAT macro.
6645 * resolv/arpa/nameser.h: Unconditionally include
6646 <arpa/nameser_compat.h>.
6647 (BIND_4_COMPAT): Remove.
6648 * resolv/res_comp.c: Do not check BIND_4_COMPAT.
6649
6650 2016-09-21 Florian Weimer <fweimer@redhat.com>
6651
6652 [BZ #20591]
6653 Remove obsolete DNSSEC support.
6654 * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
6655 (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
6656 (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
6657 (ns_verify_tcp, ns_verify_tcp_init): Remove.
6658 (ns_cert_types): Add comment.
6659 * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
6660 separately.
6661 (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
6662 (dst_s_dns_key_id): Remove.
6663 * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
6664 variables.
6665
6666 2016-09-21 Florian Weimer <fweimer@redhat.com>
6667
6668 [BZ #20524]
6669 * manual/string.texi (String/Array Comparison): Clarify the
6670 strverscmp behavior.
6671
6672 2016-09-21 Florian Weimer <fweimer@redhat.com>
6673
6674 * test-skeleton.c (xasprintf): Add function.
6675 * io/tst-open-tmpfile.c: New test.
6676 * io/Makefile (tests): Add it.
6677
6678 2016-09-21 Florian Weimer <fweimer@redhat.com>
6679
6680 Avoid running $(CXX) during build to obtain header file paths.
6681 * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
6682 * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
6683 * Makerules (cstdlib, cmath): Remove variables. Use
6684 $(c++-cstdlib-header), $(c++-cmath-header) instead.
6685 * configure: Regenerate.
6686
6687 2016-09-21 Florian Weimer <fweimer@redhat.com>
6688
6689 * Makeconfig (all-object-suffixes): Include .op only if
6690 $(build-profile).
6691
6692 2016-09-21 Florian Weimer <fweimer@redhat.com>
6693
6694 * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
6695 conditionals. Do not define PATH_MAX.
6696
6697 2016-09-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6698
6699 * posix/Makefile (tests): Add tst-spawn3.
6700 * posix/tst-spawn3.c: New file.
6701 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
6702 if it is already opened for open action.
6703
6704 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
6705 all signals when executing the clone vfork child.
6706 (SIGALL_SET): Remove macro.
6707
6708 * nptl/Makefile (tests): Add tst-exec5.
6709 * nptl/tst-exec5.c: New file.
6710 * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
6711 asynchronous cancellation.
6712
6713 2016-09-20 Samuel Thibault <samuel.thibault@ens-lyon.org>
6714
6715 * hurd/exc2signal.c: #include <hurd/signal.h>
6716 (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
6717 'sigcode', 'error' parameters with 'detail' parameter. Fix code
6718 accordingly.
6719 * mach/mach_error.c (mach_error): Fix old-style function definition.
6720 * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
6721
6722 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6723
6724 * math/Makefile (libm-calls): Remove s_nanF.
6725 (gen-libm-calls): Add s_nanF.
6726
6727 * math/s_nan.c: Refactor into ...
6728 * math/s_nan_template.c: New file.
6729
6730 * math/s_nanf.c: Removed.
6731 * math/s_nanl.c: Removed.
6732 * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
6733 * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
6734
6735 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
6736 (LDOUBLE_nanl_libm_version): New macro.
6737
6738 * sysdeps/generic/math-type-macros-double.h:
6739 (M_STRTO_NAN): New macro.
6740 * sysdeps/generic/math-type-macros-float.h: Likewise.
6741 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
6742
6743 * sysdeps/generic/math-type-macros.h: Document
6744 M_STRTO_NAN.
6745
6746 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6747
6748 * math/s_nanf.c: Remove __nanf undef.
6749 * math/s_nan.c: Remove __nan undef.
6750 * math/s_nanl.c: Remove __nanl undef.
6751
6752 * sysdeps/generic/math_private.h (__nan): Remove macro
6753 override.
6754 (__nanf): Likewise.
6755 (__nanl): Likewise.
6756
6757 2016-09-20 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6758
6759 * math/Makefile (gen-all-calls): New variable.
6760 (generated): Replace gen-libm-calls with gen-all-calls.
6761 (gen-libm-templates.stmp): Likewise. Also, ensure
6762 the output directory exists or is created and add
6763 dependency on the Makefile.
6764 (calls): Move s_ldexpF into gen-calls.
6765 (gen-calls): New variable.
6766
6767 * math/s_ldexpf.c: Removed.
6768 * math/s_ldexpl.c: Removed.
6769 * math/s_ldexp.c: Refactored into ...
6770 * math/s_ldexp_template.c: New file.
6771
6772 * sysdeps/generic/math-type-macros-double.h: Remove
6773 redundant fall-through definition of declare_mgen_alias.
6774 (declare_mgen_alias_2): New macro.
6775
6776 * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
6777 New macro for function aliased to two exported symbols.
6778
6779 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
6780 new template file.
6781 sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
6782
6783 2016-09-20 Florian Weimer <fweimer@redhat.com>
6784
6785 * Makeconfig (all-object-suffixes): Remove .og.
6786 * Makerules (elide-routines.og): Remove.
6787 * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
6788 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
6789 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
6790
6791 2016-09-20 Florian Weimer <fweimer@redhat.com>
6792
6793 * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
6794 .os objects.
6795
6796 2016-09-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
6797
6798 [BZ #20615]
6799 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
6800 fpu directory by non-fpu.
6801 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
6802 on non-fpu directory from a fpu directory.
6803
6804 2016-09-19 Joseph Myers <joseph@codesourcery.com>
6805
6806 * include/limits.h: Define
6807 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
6808 <bits/libc-header-start.h> instead of including <features.h>.
6809 [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
6810 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
6811 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
6812 [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
6813 [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
6814 [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
6815 [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
6816 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
6817 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
6818 [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
6819 [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
6820 * manual/lang.texi (Width of Type): Document these macros.
6821 * stdlib/tst-width.c: New file.
6822 * stdlib/Makefile (tests): Add tst-width.
6823
6824 2016-09-18 Samuel Thibault <samuel.thibault@ens-lyon.org>
6825
6826 * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
6827 * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
6828
6829 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6830
6831 * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
6832 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6833 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6834
6835 2016-09-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
6836
6837 [BZ #18243]
6838 * rt/Makefile (test): Add tst-shm-cancel.
6839 * rt/tst-shm-cancel.c: New file.
6840 * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
6841
6842 [BZ #18243]
6843 * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
6844 * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
6845 definition.
6846 * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
6847 uncontended case.
6848 * nptl/sem_wait.c (__new_sem_wait): Likewise.
6849 * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
6850 (tf): Fix check for uncontended case.
6851 (do_test): Likewise.
6852 * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
6853 (tf): Fix check for uncontended case.
6854 (do_test): Likewise.
6855 * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
6856 (tf): Fix check for uncontended case.
6857 (do_test): Likewise.
6858 * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
6859 (tf): Fix check for uncontended case.
6860 (do_test): Likewise.
6861
6862 * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
6863 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
6864
6865 [BZ #15765]
6866 * nptl/Makefile (tests): Add tst-sem16.
6867 * nptl/tst-sem16.c: New file.
6868 * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
6869
6870 * nptl/sem_open.c (sem_open): Init pad value to 0.
6871 * sysdeps/sparc/sparc32/sem_open.c: Remove file.
6872 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
6873
6874 2016-09-15 Florian Weimer <fweimer@redhat.com>
6875
6876 [BZ #20611]
6877 * inet/Makefile (routines): Add inet6_scopeid_pton.
6878 (tests): Add tst-inet6_scopeid_pton.
6879 * inet/inet6_scopeid_pton.c: New file.
6880 * inet/net-internal.h: Likewise.
6881 * inet/tst-inet6_scopeid_pton.c: New test.
6882 * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
6883 * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
6884 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
6885
6886 2016-09-14 Florian Weimer <fweimer@redhat.com>
6887
6888 Remove support for compiling wrappers with PTW.
6889 * sysdeps/nptl/Makeconfig: Drop ptw- support.
6890 * nptl/Makefile (pthread-compat-wrappers): Define.
6891 (libpthread-routines): Use pthread-compat-wrappers.
6892 * sysdeps/unix/sysv/linux/alpha/Makefile
6893 (libpthread-routines, libpthread-shared-only-routines): Remove
6894 ptw- prefix.
6895 * sysdeps/s390/nptl/Makefile
6896 (libpthread-routines, libpthread-shared-only-routines): Likewise.
6897 * sysdeps/ia64/nptl/Makefile
6898 (libpthread-routines, libpthread-shared-only-routines): Likewise.
6899 * sysdeps/nacl/Makefile (libpthread-routines): Use
6900 pthread-compat-wrappers to filter the routines list instead of the
6901 ptw- prefix.
6902
6903 2016-09-13 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
6904
6905 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
6906 with L() and remove explicit suffix, convert real literals
6907 which can be equivalentally substituted with integers, and
6908 transform -L(x) to L(-x).
6909
6910 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
6911 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
6912 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
6913 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
6914 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
6915 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
6916 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
6917 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
6918 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
6919 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
6920 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
6921 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
6922 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
6923 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
6924 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
6925 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
6926 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
6927 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
6928 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
6929 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
6930 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
6931 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
6932 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
6933 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
6934 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
6935 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
6936 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
6937 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
6938 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
6939 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
6940 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
6941 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
6942 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
6943 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
6944 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
6945 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
6946 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
6947 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
6948 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
6949 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
6950 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
6951 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
6952 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
6953 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
6954 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
6955 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
6956 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
6957 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
6958 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
6959 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
6960
6961 2016-09-13 Florian Weimer <fweimer@redhat.com>
6962
6963 * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
6964
6965 2016-09-10 Siddhesh Poyarekar <siddhesh@sourceware.org>
6966
6967 * malloc/Makefile (tests): Remove individual static test names
6968 and just add all of tests-static.
6969
6970 * csu/libc-start.c (__libc_csu_irel): Remove declaration.
6971
6972 2016-09-07 Joseph Myers <joseph@codesourcery.com>
6973
6974 * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
6975 file.
6976
6977 * sysdeps/sparc/fpu/fegetmode.c: New file.
6978 * sysdeps/sparc/fpu/fesetmode.c: Likewise.
6979
6980 * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
6981 * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
6982
6983 * sysdeps/s390/fpu/fegetmode.c: New file.
6984 * sysdeps/s390/fpu/fesetmode.c: Likewise.
6985
6986 * sysdeps/powerpc/fpu/fegetmode.c: New file.
6987 * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
6988 * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
6989 * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
6990 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
6991 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
6992
6993 * sysdeps/mips/fpu/fegetmode.c: New file.
6994 * sysdeps/mips/fpu/fesetmode.c: Likewise.
6995
6996 * sysdeps/m68k/fpu/fegetmode.c: New file.
6997 * sysdeps/m69k/fpu/fesetmode.c: Likewise.
6998
6999 * sysdeps/ia64/fpu/fegetmode.c: New file.
7000 * sysdeps/ia64/fpu/fesetmode.c: Likewise.
7001
7002 * sysdeps/hppa/fpu/fegetmode.c: New file.
7003 * sysdeps/hppa/fpu/fesetmode.c: Likewise.
7004
7005 * sysdeps/arm/fegetmode.c: New file.
7006 * sysdeps/arm/fesetmode.c: Likewise.
7007
7008 * sysdeps/alpha/fpu/fegetmode.c: New file.
7009 * sysdeps/alpha/fpu/fesetmode.c: Likewise.
7010
7011 * sysdeps/aarch64/fpu/fegetmode.c: New file.
7012 * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
7013
7014 * math/fegetmode.c: New file.
7015 * math/fesetmode.c: Likewise.
7016 * sysdeps/i386/fpu/fegetmode.c: Likewise.
7017 * sysdeps/i386/fpu/fesetmode.c: Likewise.
7018 * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
7019 * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
7020 * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
7021 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
7022 declaration.
7023 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
7024 * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
7025 typedef.
7026 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7027 * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7028 (femode_t): New typedef.
7029 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7030 * sysdeps/alpha/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7031 (femode_t): New typedef.
7032 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7033 * sysdeps/arm/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7034 (femode_t): New typedef.
7035 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7036 * sysdeps/hppa/fpu/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/ia64/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/m68k/fpu/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/microblaze/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/mips/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/nios2/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/powerpc/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 variable
7057 declaration.
7058 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7059 * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7060 (femode_t): New typedef.
7061 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7062 * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7063 (femode_t): New typedef.
7064 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7065 * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7066 (femode_t): New typedef.
7067 [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
7068 * sysdeps/tile/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/x86/fpu/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 * manual/arith.texi (FE_DFL_MODE): Document macro.
7075 (fegetmode): Document function.
7076 (fesetmode): Likewise.
7077 * math/Versions (fegetmode): New libm symbol at version
7078 GLIBC_2.25.
7079 (fesetmode): Likewise.
7080 * math/Makefile (libm-support): Add fegetmode and fesetmode.
7081 (tests): Add test-femode and test-femode-traps.
7082 * math/test-femode-traps.c: New file.
7083 * math/test-femode.c: Likewise.
7084 * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
7085 alias for __fe_dfl_env.
7086 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
7087 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
7088 (__fe_dfl_mode): Likewise.
7089 * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
7090 version GLIBC_2.25.
7091 * sysdeps/nacl/libm.abilist: Update.
7092 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7093 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7094 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7095 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7096 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7097 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7098 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7099 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7100 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7101 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7102 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7103 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7104 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7105 Likewise.
7106 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7107 Likewise.
7108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7109 Likewise.
7110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7111 Likewise.
7112 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7113 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7114 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7115 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7116 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7117 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7118 Likewise.
7119 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7120 Likewise.
7121 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7122 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7123 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7124
7125 2016-09-06 H.J. Lu <hongjiu.lu@intel.com>
7126
7127 [BZ #20495]
7128 [BZ #20508]
7129 * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
7130 processors, set Use_dl_runtime_resolve_slow and set
7131 Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
7132 * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
7133 New.
7134 (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
7135 (index_arch_Use_dl_runtime_resolve_opt): Likewise.
7136 (index_arch_Use_dl_runtime_resolve_slow): Likewise.
7137 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
7138 _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
7139 if Use_dl_runtime_resolve_opt is set. Use
7140 _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
7141 * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
7142 (_dl_runtime_resolve_opt): New. Defined for AVX and AVX512.
7143 (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
7144 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
7145 New.
7146 (_dl_runtime_resolve_opt): Likewise.
7147 (_dl_runtime_profile): Define only if _dl_runtime_profile is
7148 defined.
7149
7150 2016-09-06 Stefan Liebler <stli@linux.vnet.ibm.com>
7151
7152 * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
7153 __libc_memalign with "+ RELA R_390_GLOB_DAT".
7154
7155 2016-09-06 Florian Weimer <fweimer@redhat.com>
7156
7157 Convert malloc to __libc_lock. Automated part, using this Perl
7158 s/// command:
7159 s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
7160 \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
7161 * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
7162 conversion.
7163
7164 2016-09-05 Aurelien Jarno <aurelien@aurel32.net>
7165
7166 * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
7167 (linknamespace-symlists-tests): Likewise.
7168 (linknamespace-header-tests): Likewise.
7169
7170 2016-09-03 Aurelien Jarno <aurelien@aurel32.net>
7171
7172 [BZ #19810]
7173 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
7174 * elf/tst-noload.c: New test case.
7175 * elf/Makefile (tests): Add tst-noload.
7176
7177 2016-09-02 Roland McGrath <roland@hack.frob.com>
7178
7179 * sysdeps/nacl/dup.c: Add libc_hidden_def.
7180
7181 * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
7182 not any more.
7183
7184 * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
7185
7186 2016-09-02 Siddhesh Poyarekar <siddhesh@sourceware.org>
7187
7188 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
7189 (do_cos_slow): Likewise.
7190 (do_sin): Likewise.
7191 (do_sin_slow): Likewise.
7192 (slow): Likewise.
7193 (slow1): Likewise.
7194 (slow2): Likewise.
7195 (sloww): Likewise.
7196 (sloww1): Likewise.
7197 (sloww2): Likewise.
7198 (bsloww): Likewise.
7199 (bsloww1): Likewise.
7200 (bsloww2): Likewise.
7201 (cslow2): Likewise.
7202
7203 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
7204
7205 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
7206 arguments. Consolidate input partitioning from callers here.
7207 (do_cos_slow): Likewise.
7208 (do_sin): Likewise.
7209 (do_sin_slow): Likewise.
7210 (do_sincos_1): Remove the no longer necessary input partitioning.
7211 (do_sincos_2): Likewise.
7212 (__sin): Likewise.
7213 (__cos): Likewise.
7214 (slow1): Likewise.
7215 (slow2): Likewise.
7216 (sloww1): Likewise.
7217 (sloww2): Likewise.
7218 (bsloww1): Likewise.
7219 (bsloww2): Likewise.
7220 (cslow2): Likewise.
7221
7222 2016-09-02 Florian Weimer <fweimer@redhat.com>
7223
7224 * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
7225 MB_CUR_MAX to avoid race condition. Avoid pointer arithmetic
7226 outside of allocated array.
7227
7228 2016-09-02 Florian Weimer <fweimer@redhat.com>
7229
7230 * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
7231 instead of MB_CUR_MAX to avoid variable-length array.
7232
7233 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7234
7235 * math/Makefile (libm-calls): Remove k_rem_pio2F.
7236 (type-double-routines): Add k_rem_pio2.
7237 (type-float-routines): Add k_rem_pio2f.
7238
7239 * sysdeps/generic/math_private.h:
7240 (__kernel_rem_pio2l): Removed.
7241
7242 * math/k_rem_pio2l.c: Removed.
7243 * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
7244 * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
7245 * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
7246 * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
7247
7248 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7249
7250 * math/Makefile (gen-libm-calls): Add s_fmin
7251 (libm-calls): Remove above.
7252
7253 * math/s_fmin.c: Refactor into ...
7254 * math/s_fmin_template.c: New file.
7255
7256 * math/s_fminf.c: Removed.
7257 * math/s_fminl.c: Removed.
7258 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7259 (LDOUBLE_fmin_libm_version): New macro.
7260
7261 * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
7262 * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
7263
7264 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7265
7266 * math/Makefile: (gen-libm-calls): Add s_fmax.
7267 (libm-calls): Remove above.
7268
7269 * math/s_fmax.c: Refactor into ...
7270 * math/s_fmax_template.c: New file.
7271 * math/s_fmaxf.c: Removed.
7272 * math/s_fmaxl.c: Removed.
7273
7274 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7275 (LDOUBLE_fmaxl_libm_version): New macro.
7276
7277 * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
7278 * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
7279
7280 * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
7281 s_fmin.c to pick the aarch64 version of the file.
7282 * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
7283 * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
7284
7285 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7286
7287 * math/Makefile: (gen-libm-calls): Add s_nextdown.
7288 (libm-calls): Remove above.
7289
7290 * math/s_nextdown.c: Refactor into ...
7291 * math/s_nextdown_template.c: New file.
7292 * math/s_nextdownf.c: Removed.
7293 * math/s_nextdownl.c: Removed.
7294
7295 * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
7296
7297 2016-09-01 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7298
7299 * math/Makefile (gen-libm-calls): Add s_fdim.
7300 (libm-calls): Move to above.
7301
7302 * math/s_fdim.c: Renamed and refactored into to ...
7303 * math/s_fdim_template.c: New file.
7304 * math/s_fdiml.c: Removed.
7305 * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
7306 * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
7307
7308 * sysdeps/generic/math-type-macros-double.h:
7309 (declare_mgen_alias): Don't declare if already declared.
7310 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
7311 Likewise.
7312
7313 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
7314 (declare_mgen_alias): Don't declare if already declared.
7315 (M_LIBM_NEED_COMPAT): Likewise.
7316 (declare_mgen_libm_compat): Likewise.
7317 (LDOUBLE_fdiml_libm_version): New macro.
7318
7319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
7320 Include math/s_fdim.c now that ldbl-opt version is not needed.
7321 (declare_mgen_alias): New macro to disable aliasing.
7322
7323 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
7324 (declare_mgen_alias): Likewise.
7325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
7326 (declare_mgen_alias): Likewise.
7327 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
7328 (declare_mgen_alias): Likewise.
7329 (M_LIBM_NEED_COMPAT): Likewise.
7330
7331 2016-09-01 Florian Weimer <fweimer@redhat.com>
7332
7333 [BZ #20525]
7334 * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
7335 Include <linux/quota.h>.
7336 (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
7337 and btodb.
7338 (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
7339 (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
7340 (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
7341 (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
7342 (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
7343 (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
7344 (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
7345 (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
7346 types.
7347 * sysdeps/unix/sysv/linux/tst-quota.c: New test.
7348 * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
7349
7350 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7351
7352 * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
7353 (gammal_positive): Fix spacing.
7354 (__ieee754_gammal_r): Likewise.
7355
7356 2016-08-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7357
7358 * sysdeps/ieee754/ldbl-128/math_ldbl.h:
7359 (_Float128): Define as long double, always.
7360 (L): Apply long double type suffix, always.
7361
7362 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
7363 _Float128, excepting comments.
7364
7365 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
7366 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
7367 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
7368 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
7369 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
7370 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
7371 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
7372 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
7373 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
7374 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
7375 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
7376 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
7377 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
7378 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
7379 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
7380 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
7381 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
7382 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
7383 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
7384 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
7385 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
7386 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
7387 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
7388 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
7389 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
7390 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
7391 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
7392 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7393 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
7394 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
7395 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
7396 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
7397 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
7398 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
7399 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
7400 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
7401 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
7402 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
7403 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
7404 * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
7405 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
7406 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
7407 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
7408 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
7409 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
7410 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
7411 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
7412 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
7413 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
7414 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
7415 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
7416 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
7417 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
7418 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
7419 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
7420 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
7421 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
7422 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
7423 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
7424 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
7425 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
7426 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
7427 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
7428 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
7429 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
7430 * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
7431 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7432 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
7433
7434 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
7435 _Float128, and include math_private.h.
7436 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
7437
7438 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
7439 long double semantics.
7440 (_Float128): Likewise.
7441 * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
7442 * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
7443 * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
7444 * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
7445
7446 2016-08-31 Stefan Liebler <stli@linux.vnet.ibm.com>
7447
7448 * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
7449 * sysdeps/s390/configure.ac: Add test for z196 zarch support.
7450 * sysdeps/s390/configure: Regenerated.
7451 * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
7452 instruction for raising over-/underflow if z196 zarch is supported
7453 by default.
7454 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
7455
7456 2016-08-30 Svante Signell <svante.signell@gmail.com>
7457
7458 * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
7459 it point to a dumb buffer for RPC to fill it.
7460
7461 2016-08-30 Siddhesh Poyarekar <siddhesh@sourceware.org>
7462
7463 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
7464 instead of if/else.
7465 (do_sin_slow): Likewise.
7466 (do_sincos_1): Use fabs instead of if/else.
7467 (do_sincos_2): Likewise.
7468 (__sin): Likewise.
7469 (__cos): Likewise.
7470 (slow2): Likewise.
7471 (sloww): Likewise.
7472 (sloww1): Likewise. Drop argument M.
7473 (sloww2): Use fabs instead of if/else.
7474 (bsloww): Likewise.
7475 (bsloww1): Likewise.
7476 (bsloww2): Likewise.
7477
7478 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
7479 fall through comment.
7480 (do_sincos_1): Likewise.
7481
7482 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
7483 Consolidate switch cases 0 and 2.
7484
7485 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7486
7487 * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
7488 (libm-calls): Remove the above.
7489
7490 * math/s_cexp_template.c: Update using type-generic macros.
7491 * math/s_clog10_template.c: Likewise.
7492 * math/s_cpow_template.c: Likewise.
7493 * math/s_clog_template.c: Likewise.
7494 * math/s_cproj_template.c: Likewise.
7495 * math/s_csqrt_template.c: Likewise.
7496
7497 * math/s_cexp.c: Removed.
7498 * math/s_cexpf.c: Removed.
7499 * math/s_cexpl.c: Removed.
7500 * math/s_clog10.c: Removed.
7501 * math/s_clog10f.c: Removed.
7502 * math/s_clog10l.c: Removed.
7503 * math/s_cpow.c: Removed.
7504 * math/s_cpowf.c: Removed.
7505 * math/s_cpowl.c: Removed.
7506 * math/s_clog.c: Removed.
7507 * math/s_clogf.c: Removed.
7508 * math/s_clogl.c: Removed.
7509 * math/s_cproj.c: Removed.
7510 * math/s_cprojf.c: Removed.
7511 * math/s_cprojl.c: Removed.
7512 * math/s_csqrt.c: Removed.
7513 * math/s_csqrtf.c: Removed.
7514 * math/s_csqrtl.c: Removed.
7515
7516 * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
7517 * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
7518 * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
7519 * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
7520 * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
7521 * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
7522
7523 * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
7524 * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
7525 * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
7526 * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
7527 * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
7528 * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
7529 * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
7530 * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
7531 * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
7532 * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
7533 * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
7534
7535 * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
7536 version.
7537
7538 * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
7539 * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
7540 * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
7541 * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
7542
7543 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7544
7545 * s_cexp_template.c: Copy of s_cexp.c.
7546 * s_clog_template.c: Copy of s_clog.c.
7547 * s_clog10_template.c: Copy of s_clog10.c.
7548 * s_cpow_template.c: Copy of s_cpow.c.
7549 * s_cproj_template.c: Copy of s_cproj.c.
7550 * s_csqrt_template.c: Copy of s_csqrt.c.
7551
7552 2016-08-29 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7553
7554 [BZ #20517]
7555 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
7556 Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
7557 exported.
7558
7559 2016-08-29 Joseph Myers <joseph@codesourcery.com>
7560
7561 * math/fetestexceptflag.c: New file.
7562 * sysdeps/s390/fpu/fetestexceptflag.c: Likewise. Comment by
7563 Stefan Liebler.
7564 * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
7565 (fetestexceptflag): New function declaration.
7566 * manual/arith.texi (fetestexceptflag): Document function.
7567 * math/Versions (fetestexceptflag): New libm symbol at version
7568 GLIBC_2.25.
7569 * math/Makefile (libm-support): Add fetestexceptflag.
7570 (tests): Add test-fetestexceptflag.
7571 * math/test-fetestexceptflag.c: New file.
7572 * sysdeps/nacl/libm.abilist: Update.
7573 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
7574 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
7575 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
7576 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
7577 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
7578 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
7579 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
7580 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
7581 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
7582 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
7583 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
7584 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
7585 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
7586 Likewise.
7587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
7588 Likewise.
7589 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
7590 Likewise.
7591 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
7592 Likewise.
7593 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
7594 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
7595 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
7596 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
7597 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
7598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
7599 Likewise.
7600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
7601 Likewise.
7602 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
7603 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
7604 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
7605
7606 2016-08-26 Florian Weimer <fweimer@redhat.com>
7607
7608 [BZ #20432]
7609 Avoid strong references to malloc-internal symbols when linking
7610 statically, to support statically interposed mallocs.
7611 * include/libc-symbols.h (call_function_static_weak): New macro.
7612 * malloc/Makefile (tests): Add tst-interpose-nothread,
7613 tst-interpose-thread, tst-interpose-static-nothread,
7614 tst-interpose-static-thread.
7615 (tests-static): Add tst-interpose-static-nothread,
7616 tst-interpose-static-thread.
7617 (extra-tests-objs): Add tst-interpose-aux-nothread.o,
7618 tst-interpose-aux-thread.o.
7619 (test-extras): Add tst-interpose-aux-nothread,
7620 tst-interpose-aux-thread.
7621 (tst-interpose-nothread, tst-interpose-static-nothread): Link with
7622 tst-interpose-aux-nothread.o.
7623 (tst-interpose-thread, tst-interpose-static-thread): Link with
7624 tst-interpose-aux-thread.o and libthread.
7625 * malloc/tst-interpose-aux-nothread.c: New file.
7626 * malloc/tst-interpose-aux-thread.c: Likewise.
7627 * malloc/tst-interpose-aux.c: Likewise.
7628 * malloc/tst-interpose-aux.h: Likewise.
7629 * malloc/tst-interpose-nothread.c: Likewise.
7630 * malloc/tst-interpose-skeleton.c: Likewise.
7631 * malloc/tst-interpose-static-nothread.c: Likewise.
7632 * malloc/tst-interpose-static-thread.c: Likewise.
7633 * malloc/tst-interpose-thread.c: Likewise.
7634 * nptl/tst-tls3-malloc.c: Use new interposed malloc.
7635 * sysdeps/mach/hurd/fork.c (__fork): Only call
7636 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
7637 __malloc_fork_unlock_child if defined.
7638 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
7639
7640 2016-08-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
7641
7642 * test-skeleton.c (delayed_exit_thread): Add initializer on struct
7643 timespec C99 designated initialization.
7644
7645 2016-08-26 Florian Weimer <fweimer@redhat.com>
7646
7647 [BZ #19946]
7648 Avoid expected SIGALRM signals.
7649 * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
7650 (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
7651 (xpthread_create, xpthread_detach, xpthread_join)
7652 (delayed_exit_thread, delayed_exit): New functions.
7653 * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
7654 (tf): Use xpthread_cond_wait.
7655 (do_test): Likewise. Replace alarm with delayed_exit.
7656 * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7657 (do_test): Call delayed_exit. Report failure.
7658 * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7659 (do_test): Call delayed_exit.
7660 * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7661 (do_test): Call delayed_exit. Use xpthread_join. Report error.
7662 * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7663 (do_test): Call delayed_exit. Use xpthread_barrier_wait. Report
7664 error.
7665 * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
7666 (do_test): Call delayed_exit. Use xpthread_cond_wait. Report
7667 error.
7668 * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
7669 (do_test): Call delayed_exit.
7670 * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
7671 (do_test): Call delayed_exit.
7672 * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
7673 (do_test): Call delayed_exit instead of alarm. Use
7674 xpthread_mutex_lock.
7675 * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
7676 (do_test): Call delayed_exit instead of alarm. Use
7677 xpthread_mutex_lock.
7678 * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
7679 (do_test): Call delayed_exit instead of alarm.
7680 * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
7681 (do_test): Call delayed_exit instead of alarm. Use
7682 xpthread_spin_lock.
7683 * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
7684 (do_test): Call delayed_exit instead of alarm. Use
7685 xpthread_join.
7686
7687 2016-08-26 H.J. Lu <hongjiu.lu@intel.com>
7688
7689 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
7690 adjust CFA when allocating register save area on re-aligned
7691 stack.
7692
7693 2016-08-26 Florian Weimer <fweimer@redhat.com>
7694
7695 * string/tst-cmp.c: New test.
7696 * string/Makefile (tests): Add it.
7697
7698 2016-08-25 Mark Wielaard <mark@klomp.org>
7699
7700 * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
7701 USE_MALLOC_LOW_BIT. Define pointer/value accessors.
7702 (check_tree_recurse): Use newly defined accessors.
7703 (check_tree): Likewise.
7704 (maybe_split_for_insert): Likewise.
7705 (__tfind): Likewise.
7706 (__tdelete): Likewise.
7707 (trecurse): Likewise.
7708 (tdestroy_recurse): Likewise.
7709 (__tsearch): Likewise. And add asserts for malloc alignment.
7710 (__twalk): Cast root to node in case CHECK_TREE is defined.
7711
7712 2016-08-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
7713
7714 * scripts/check-local-headers.sh (exclude): Add mach_debug/.
7715
7716 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7717
7718 * math/Makefile (libm-gen-calls): Add
7719 catan, catanh, ctan, ctanh.
7720 (libm-calls): Remove the above.
7721
7722 * math/s_catan_template.c: Update using type-generic macros.
7723 * math/s_catanh_template.c: Likewise.
7724 * math/s_ctan_template.c: Likewise.
7725 * math/s_ctanh_template.c: Likewise.
7726
7727 * math/s_catanf.c: Removed.
7728 * math/s_catan.c: Removed.
7729 * math/s_catanl.c: Removed.
7730 * math/s_catanhf.c: Removed.
7731 * math/s_catanh.c: Removed.
7732 * math/s_catanhl.c: Removed.
7733 * math/s_ctanf.c: Removed.
7734 * math/s_ctan.c: Removed.
7735 * math/s_ctanl.c: Removed.
7736 * math/s_ctanhf.c: Removed.
7737 * math/s_ctanh.c: Removed.
7738 * math/s_ctanhl.c: Removed.
7739
7740 * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
7741 * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
7742 * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
7743 * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
7744 * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
7745 * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
7746
7747 * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
7748 * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
7749 * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
7750 * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
7751
7752 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7753
7754 * s_catan_template.c: Copy of s_catan.c.
7755 * s_catanh_template.c: Copy of s_catanh.c.
7756 * s_ctan_template.c: Copy of s_ctan.c.
7757 * s_ctanh_template.c: Copy of s_ctanh.c.
7758
7759 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7760
7761 * math/Makefile (gen-libm-calls): Move
7762 casin, casinh, csin, csinh here.
7763 (libm-calls): Remove the above.
7764
7765 * math/s_casin_template.c: Update using type-generic macros.
7766 * math/s_casinh_template.c: Likewise.
7767 * math/s_csin_template.c: Likewise.
7768 * math/s_csinh_template.c: Likewise.
7769 * math/k_casinh_template.c: Likewise.
7770
7771 * math/s_casinf.c: Removed.
7772 * math/s_casin.c: Removed.
7773 * math/s_casinl.c: Removed.
7774 * math/s_casinh.c: Removed.
7775 * math/s_casinhf.c: Removed.
7776 * math/s_casinhl.c: Removed.
7777 * math/s_csin.c: Removed.
7778 * math/s_csinf.c: Removed.
7779 * math/s_csinl.c: Removed.
7780 * math/s_csinh.c: Removed.
7781 * math/s_csinhf.c: Removed.
7782 * math/s_csinhl.c: Removed.
7783 * math/k_casinh.c: Removed.
7784 * math/k_casinhf.c: Removed.
7785 * math/k_casinhl.c: Removed.
7786
7787 * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
7788 * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
7789 * sysdeps/alpha/fpu/s_csinf.c: Likewise.
7790 * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
7791
7792 * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
7793 * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
7794 * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
7795 * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
7796 * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
7797 * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
7798 * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
7799 * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
7800
7801 * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
7802 * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
7803 * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
7804 * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
7805
7806 * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
7807 * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
7808 * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
7809 * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
7810
7811 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7812
7813 * s_casin_template.c: Copy of s_casin.c.
7814 * s_casinh_template.c: Copy of s_casinh.c.
7815 * s_csin_template.c: Copy of s_csin.c.
7816 * s_csinh_template.c: Copy of s_csinh.c.
7817 * k_casinh_template.c: Copy of k_casinh.c.
7818
7819 2016-08-19 H.J. Lu <hongjiu.lu@intel.com>
7820
7821 * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
7822
7823 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7824
7825 * sysdeps/ieee754/ldbl-128/gamma_productl.c:
7826 (mul_split) Remove, rename as mul_splitl, remove
7827 redundant float.h include, and include via mul_splitl.h
7828
7829 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
7830 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
7831 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
7832 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
7833 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
7834
7835 * math/mul_splitl.h: New file.
7836
7837 * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
7838 Move into mul_split.h, and remove redundant float.h include.
7839
7840 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
7841 * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
7842 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
7843 * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
7844
7845 * math/mul_split.h: New file.
7846
7847 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7848
7849 * math/Makefile (libm-gen-calls): Move
7850 s_cacos, s_cacosh, s_ccos, s_ccosh from ...
7851 (libm-calls): Remove above.
7852
7853 * math/s_cacos_template.c: Update using type-generic macros.
7854 * math/s_cacosh_template.c: Likewise.
7855 * math/s_ccos_template.c: Likewise.
7856 * math/s_ccosh_template.c: Likewise.
7857
7858 * math/s_cacosf.c: Removed.
7859 * math/s_cacos.c: Removed.
7860 * math/s_cacosl.c: Removed.
7861 * math/s_cacoshf.c: Removed.
7862 * math/s_cacosh.c: Removed.
7863 * math/s_cacoshl.c: Removed.
7864 * math/s_ccosf.c: Removed.
7865 * math/s_ccos.c: Removed.
7866 * math/s_ccosl.c: Removed.
7867 * math/s_ccoshf.c: Removed.
7868 * math/s_ccosh.c: Removed.
7869 * math/s_ccoshl.c: Removed.
7870
7871 * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
7872 * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
7873 * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
7874 * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
7875 * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
7876 * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
7877
7878 * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
7879 * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
7880 * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
7881 * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
7882
7883 * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
7884 * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
7885 * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
7886 * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
7887
7888 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7889
7890 * s_cacos_template.c: Copy of s_cacos.c.
7891 * s_cacosh_template.c: Copy of s_cacosh.c.
7892 * s_ccos_template.c: Copy of s_ccos.c.
7893 * s_ccosh_template.c: Copy of s_ccosh.c.
7894
7895 2016-08-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7896
7897 * stdlib/tst-strtod-round-skeleton.c:
7898 Refactored from tst-strtod-round.c.
7899
7900 (L_): New macro to apply literal modifier.
7901 (FNPFX): New macro to select str or wcs prefix.
7902 (CHAR): New macro to choose wchar_t or char.
7903 (STRM): New macro to choose printf for tested character type.
7904
7905 (STRTO): New macro to choose appropriate string -> real function.
7906 (FNPFXS): Stringitized version of FNPFX.
7907 (STR): Support for above macro.
7908 (STRX): Likewise.
7909
7910 (TEST): Update with above macros.
7911 (test): Likewise.
7912 (GEN_ONE_TEST): Likewise.
7913 (test_in_one_mode): Likewise.
7914
7915 * stdlib/tst-strtod-round.c: New file.
7916 * wcsmbs/tst-wcstod-round.c: New file.
7917
7918 * wcsmbs/Makefile: (tests): Add tst-wcstod-round
7919 (tst-wcstod-round): Add libm depencency for fesetround.
7920
7921 2016-08-19 Zack Weinberg <zackw@panix.com>
7922
7923 * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
7924
7925 2016-08-18 Torvald Riegel <triegel@redhat.com>
7926
7927 [BZ #20477]
7928 * resolv/res_hconf.c (do_init): Use atomic access.
7929 * resolv/res_hconf.h: Add comments.
7930 * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
7931 * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
7932 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
7933
7934 2016-08-18 Stefan Liebler <stli@linux.vnet.ibm.com>
7935
7936 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
7937 Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
7938 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
7939 Likewise.
7940
7941 2016-08-18 Florian Weimer <fweimer@redhat.com>
7942
7943 [BZ #16907]
7944 * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
7945 (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
7946 * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
7947 (__attribute__): Remove definition.
7948
7949 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7950
7951 * sysdeps/ieee754/ldbl-128/e_asinl.c:
7952 Remove unused sqrtl declaration.
7953
7954 2016-08-17 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
7955
7956 * math/Makefile: (gen-libm-templates.stmp): New rule.
7957 (libm-calls): Move carg conj cimag and cabs into ...
7958 (gen-libm-calls): New variable.
7959 (generated): Inform Make objects from gen-libm-calls
7960 may be generated.
7961
7962 * sysdeps/generic/math-type-macros.h: New file.
7963 * sysdeps/generic/math-type-macros-float.h: Likewise.
7964 * sysdeps/generic/math-type-macros-double.h: Likewise.
7965 * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
7966 * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
7967 * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
7968
7969 * math/cabs.c: Refactor into
7970 * math/cabs_template.c: new file.
7971 * math/cabsf.c: Removed.
7972 * math/cabsl.c: Removed.
7973 * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
7974 * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
7975
7976 * math/carg.c: Refactor into
7977 * math/carg_template.c: new file.
7978 * math/cargf.c: Removed.
7979 * math/cargl.c: Removed.
7980 * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
7981 * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
7982
7983 * math/conj.c: Refactor into
7984 * math/conj_template.c: new file.
7985 * math/conjf.c: Removed.
7986 * math/conjl.c: Removed.
7987 * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
7988 * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
7989
7990 * math/cimag.c: Refactor into
7991 * math/cimag_template.c: new file.
7992 * math/cimagf.c: Removed.
7993 * math/cimagl.c: Removed.
7994 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
7995 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
7996
7997 * math/cimag.c: Refactor into
7998 * math/cimag_template.c: new file.
7999 * math/cimagf.c: Removed.
8000 * math/cimagl.c: Removed.
8001 * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
8002 * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
8003
8004 2016-08-17 Florian Weimer <fweimer@redhat.com>
8005
8006 Reduce time to expected nptl/tst-once5 failure.
8007 * nptl/tst-once5.cc (TIMEOUT): Define.
8008
8009 2016-08-17 Florian Weimer <fweimer@redhat.com>
8010
8011 [BZ #20452]
8012 Avoid additional copies of objects in libc.a in static libraries.
8013 * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
8014 Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
8015 * sysdeps/mips/Makefile (librt-shared-only-routines): Add
8016 rt-sysdep.
8017 * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
8018 Add nptl-sysdep.
8019 * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
8020 Add ptw-sysdep.
8021 * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
8022 rt-sysdep.
8023 * sysdeps/unix/sysv/linux/alpha/Makefile
8024 (libpthread-shared-only-routines): Add ptw-sysdep,
8025 ptw-sigprocmask, ptw-rt_sigaction.
8026 * sysdeps/unix/sysv/linux/ia64/Makefile
8027 (librt-shared-only-routines): Add rt-sysdep.
8028 * sysdeps/unix/sysv/linux/i386/Makefile
8029 (libpthread-shared-only-routines): Add libc-do-syscall.
8030 * sysdeps/unix/sysv/linux/microblaze/Makefile
8031 (libpthread-shared-only-routines): Add sysdep.
8032 * sysdeps/unix/sysv/linux/powerpc/Makefile
8033 (librt-shared-only-routines): Add rt-sysdep.
8034 (libpthread-shared-only-routines): Add sysdep.
8035 * sysdeps/unix/sysv/linux/s390/Makefile
8036 (librt-shared-only-routines): Add rt-sysdep.
8037 * sysdeps/unix/sysv/linux/sparc/Makefile
8038 (librt-shared-only-routines): Add rt-sysdep.
8039 (libpthread-shared-only-routines): Add sysdep.
8040 * sysdeps/unix/sysv/linux/tile/Makefile
8041 (libpthread-shared-only-routines): Likewise.
8042
8043 2016-08-16 Joseph Myers <joseph@codesourcery.com>
8044
8045 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
8046 Mask implicit bit out of unpacked value.
8047 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
8048 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
8049 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
8050
8051 * sysdeps/sparc/fpu/fesetexcept.c: New file.
8052
8053 * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
8054
8055 * sysdeps/s390/fpu/fesetexcept.c: New file.
8056
8057 * sysdeps/powerpc/fpu/fesetexcept.c: New file.
8058 * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
8059 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
8060
8061 * sysdeps/mips/fpu/fesetexcept.c: New file.
8062
8063 * sysdeps/m68k/fpu/fesetexcept.c: New file.
8064
8065 * sysdeps/ia64/fpu/fesetexcept.c: New file.
8066
8067 * sysdeps/hppa/fpu/fesetexcept.c: New file.
8068
8069 * sysdeps/arm/fesetexcept.c: New file.
8070
8071 * sysdeps/alpha/fpu/fesetexcept.c: New file.
8072
8073 * sysdeps/aarch64/fpu/fesetexcept.c: New file.
8074
8075 * math/fesetexcept.c: New file.
8076 * sysdeps/i386/fpu/fesetexcept.c: Likewise.
8077 * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
8078 * math/fenv.h: Define
8079 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8080 <bits/libc-header-start.h> instead of including <features.h>.
8081 [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
8082 declaration.
8083 * manual/arith.texi (fesetexcept): Document function.
8084 * math/Versions (fesetexcept): New libm symbol at version
8085 GLIBC_2.25.
8086 * math/Makefile (libm-support): Add fesetexcept.
8087 (tests): Add test-fesetexcept and test-fesetexcept-traps.
8088 * math/test-fesetexcept.c: New file.
8089 * math/test-fesetexcept-traps.c: Likewise.
8090 * sysdeps/nacl/libm.abilist: Update.
8091 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8092 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8093 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8094 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8095 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8096 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8097 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8098 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8099 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8100 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8101 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8102 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8103 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8104 Likewise.
8105 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8106 Likewise.
8107 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8108 Likewise.
8109 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8110 Likewise.
8111 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8112 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8113 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8114 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8115 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8116 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8117 Likewise.
8118 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8119 Likewise.
8120 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8121 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8122 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8123
8124 2016-08-16 Florian Weimer <fweimer@redhat.com>
8125
8126 * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
8127 New.
8128 (do_test): Apply default_stack_size_in_mb if not set.
8129 * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
8130
8131 2016-08-15 Andreas Schwab <schwab@suse.de>
8132
8133 [BZ #20435]
8134 CVE-2016-6323
8135 * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
8136 as .cantunwind.
8137
8138 2016-08-12 Joseph Myers <joseph@codesourcery.com>
8139
8140 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
8141 comment from fraiseexcpt.c.
8142
8143 * math/test-fexcept.c (feraiseexcept_exact): New function.
8144 (test_set): Call feraiseexcept_exact instead of feraiseexcept.
8145 (test_except): Likewise.
8146
8147 2016-08-10 Joseph Myers <joseph@codesourcery.com>
8148
8149 [BZ #20455]
8150 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
8151 all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
8152 to be restored.
8153
8154 * math/test-fexcept-traps.c: New file.
8155 * math/test-fexcept.c: Likewise.
8156 * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
8157 * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
8158 macro.
8159 * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
8160 (EXCEPTION_SET_FORCES_TRAP): Likewise.
8161
8162 2016-08-09 Torvald Riegel <triegel@redhat.com>
8163
8164 * include/atomic.h (atomic_fetch_and_relaxed,
8165 atomic_fetch_and_release, atomic_fetch_or_release,
8166 atomic_fetch_xor_release): New.
8167
8168 2016-08-06 Christian Seiler <christian@iwakd.de>
8169
8170 [BZ #20444]
8171 * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
8172 MACH_PORT_NULL.
8173
8174 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
8175
8176 * math/s_fdim.c: Avoid alias renamed.
8177 * math/s_fdimf.c: Likewise.
8178 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8179 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8180 Add s_fdimf-vis3, s_fdim-vis3.
8181 (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
8182 (CFLAGS-s_fdim-vis3.c): Likewise.
8183 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
8184 sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
8185
8186 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
8187
8188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8189 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8190 Remove s_fdimf-vis3, s_fdim-vis3.
8191 * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
8192 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
8193 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
8194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
8195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
8196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
8197 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
8198 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
8199 * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
8200 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
8201
8202 2016-08-05 Aurelien Jarno <aurelien@aurel32.net>
8203
8204 * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
8205 * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
8206 -Wa,-Av9a -mvis.
8207
8208 2016-08-05 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8209
8210 * math/gen-libm-test.pl (apply_lit): Rewrite to apply
8211 LIT() to individual constants in simple expressions
8212 after splitting on spaces.
8213 (_apply_lit): Rename replaced version, and use it to
8214 apply to what appears to be a token.
8215
8216 * math/libm-test.inc: Fix many, many issues with
8217 spacing.
8218
8219 2016-08-05 Joseph Myers <joseph@codesourcery.com>
8220
8221 * math/math.h: Move comment about <bits/mathdef.h> definitions
8222 above inclusion of <bits/mathdef.h>. Do not mention
8223 FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
8224
8225 2016-08-05 Torvald Riegel <triegel@redhat.com>
8226
8227 * include/atomic.h (atomic_exchange_relaxed): New.
8228
8229 2016-08-04 Joseph Myers <joseph@codesourcery.com>
8230
8231 * math/e_scalb.c: Do not include <fenv.h>.
8232 (invalid_fn): Do calculation resulting in NaN instead of raising
8233 FE_INVALID and returning a NaN explicitly.
8234 * math/e_scalbf.c: Do not include <fenv.h>.
8235 (invalid_fn): Do calculation resulting in NaN instead of raising
8236 FE_INVALID and returning a NaN explicitly.
8237 * math/e_scalbl.c: Do not include <fenv.h>.
8238 (invalid_fn): Do calculation resulting in NaN instead of raising
8239 FE_INVALID and returning a NaN explicitly.
8240
8241 2016-08-04 Carlos O'Donell <carlos@redhat.com>
8242
8243 * po/de.po: Updated from Translation Project.
8244 * po/fi.po: Likewise.
8245 * po/sv.po: Likewise.
8246
8247 2016-08-04 Florian Weimer <fweimer@redhat.com>
8248
8249 [BZ #20452]
8250 Use sysdep.o from libc.a in static libraries.
8251 * sysdeps/unix/sysv/linux/i386/Makefile
8252 (libpthread-shared-only-routines): Add sysdep.
8253 (librt-shared-only-routines): Likewise.
8254
8255 2016-08-03 Joseph Myers <joseph@codesourcery.com>
8256
8257 * math/tgmath.h (nextdown): Define if
8258 [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
8259 (nextup): Likewise.
8260
8261 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
8262 macro.
8263 * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
8264 Document.
8265 * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
8266 Document macro.
8267 * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
8268 (exp10f): Likewise.
8269 (exp10l): Likewise.
8270 * math/bits/mathcalls.h (exp10): Declare if
8271 [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
8272
8273 * manual/arith.texi (nextup): Fix typo in last change.
8274
8275 2016-08-03 Zack Weinberg <zackw@panix.com>
8276
8277 [BZ #19239]
8278 * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
8279 * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
8280 define major, minor, and makedev to issue deprecation warnings on use.
8281 If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
8282 previously-activated deprecation warnings for these macros and prevent
8283 subsequent inclusions of this header from having any effect.
8284 * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
8285 including <sys/sysmacros.h>, and undefine it again afterward.
8286
8287 2016-08-03 Zack Weinberg <zackw@panix.com>
8288
8289 * sysdeps/generic/sys/sysmacros.h: Delete file.
8290 * sysdeps/unix/sysv/linux/makedev.c: Delete file.
8291 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
8292 * bits/sysmacros.h: ... here; this encoding is now the generic
8293 encoding. Now defines only the following macros:
8294 __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
8295 __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
8296 __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
8297
8298 * misc/sys/sysmacros.h, misc/makedev.c: New files that use
8299 bits/sysmacros.h and the above new macros to generate the
8300 public implementations of major, minor, and makedev.
8301 * misc/tst-makedev.c: New test.
8302 * include/sys/sysmacros.h: New wrapper.
8303
8304 * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
8305 (routines): Add makedev.
8306 (tests): Add tst-makedev.
8307 * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
8308 gnu_dev_makedev.
8309 * posix/Makefile (headers): Remove sys/sysmacros.h.
8310 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
8311
8312 * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
8313 gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
8314 * sysdeps/unix/sysv/linux/aarch64/libc.abilist
8315 * sysdeps/unix/sysv/linux/alpha/libc.abilist
8316 * sysdeps/unix/sysv/linux/arm/libc.abilist
8317 * sysdeps/unix/sysv/linux/hppa/libc.abilist
8318 * sysdeps/unix/sysv/linux/i386/libc.abilist
8319 * sysdeps/unix/sysv/linux/ia64/libc.abilist
8320 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
8321 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
8322 * sysdeps/unix/sysv/linux/microblaze/libc.abilist
8323 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
8324 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
8325 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
8326 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
8327 * sysdeps/unix/sysv/linux/nios2/libc.abilist
8328 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
8329 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
8330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
8331 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
8332 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
8333 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
8334 * sysdeps/unix/sysv/linux/sh/libc.abilist
8335 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
8336 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
8337 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
8338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
8339 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
8340 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
8341 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
8342 Add GLIBC_2.25.
8343
8344 * include/features.h (__glibc_clang_prereq): New macro.
8345 * misc/sys/cdefs.h (__glibc_clang_has_extension)
8346 (__attribute_deprecated_msg__): New macros.
8347
8348 2016-08-03 Joseph Myers <joseph@codesourcery.com>
8349
8350 * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
8351 macro.
8352 * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
8353 * manual/arith.texi (issignaling): Document as ISO from TS
8354 18661-1:2014.
8355 (nextup): Likewise.
8356 (nextupf): Likewise.
8357 (nextupl): Likewise.
8358 (nextdown): Likewise.
8359 (nextdownf): Likewise.
8360 (nextdownl): Likewise.
8361 * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
8362 macro.
8363 * math/math.h: Define
8364 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8365 <bits/libc-header-start.h> instead of including <features.h>.
8366 (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
8367 [__USE_GNU].
8368 * math/bits/mathcalls.h (nextdown): Declare if
8369 [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
8370 (nextup): Likewise.
8371 (__issignaling): Likewise.
8372
8373 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8374
8375 * s_ccoshf.c (__ccoshf): Remove FE_INVALID
8376 check, and remove __glibc_likely hint
8377 from FP_INFINITE check.
8378 * s_csinhf.c (__csinhf): Likewise.
8379
8380 * s_ccoshl.c (__ccoshl): Remove __glibc_likely
8381 hint from FP_INFINITE check.
8382 * s_csinhl.c (__csinhl): Likewise.
8383
8384 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8385
8386 * math/Makefile (libm-calls): Insert F placeholder into
8387 object names. Move w_lgamma_compat* routines into
8388 (libm-compat-calls): New variable.
8389 (libm-compat-calls-ldouble-yes): New variable.
8390 (calls): Insert F placeholder.
8391 (generated): Redefine using new type-foreach macro call.
8392 (routines): Likewise.
8393
8394 (types): New variable to hold a list of symbolic names
8395 for each type supported by the target machine.
8396 (libm-routines): Redefine using new types variable.
8397 (type-foreach): macro to replace fooF with the
8398 appropriately suffixed foo for each types.
8399
8400 (type-ldouble-suffix): New variable.
8401 (type-ldouble-routines): Likewise.
8402 (type-ldouble-yes): Likewise.
8403 (type-double-suffix): Likewise.
8404 (type-double-routines): Likewise.
8405 (type-float-suffix): Likewise.
8406 (type-float-routines): Likewise.
8407
8408 (dbl-only-routines): Remove.
8409 (long-c-yes): Likewise.
8410 (long-m-routines): Likewise.
8411 (long-m-support): Likewise.
8412 (long-m-yes): Likewise.
8413 (test-longdouble-yes): Likewise.
8414
8415 (test-float.o): Simplify by increasing the scope of the
8416 recipe which adds libm-test.stmp to the vector types.
8417 (test-ifloat.o): Likewise.
8418 (test-float-finite.o): Likewise.
8419 (test-double.o): Likewise
8420 (test-idouble.o): Likewise.
8421 (test-double-finite.o): Likewise.
8422 (test-ldouble.o): Likewise
8423 (test-ildoubl.o): Likewise.
8424 (test-ldouble-finite.o): Likewise.
8425
8426 (libm-tests): Redefine type tests using foreach and the
8427 list of types in types.
8428
8429 (CPPFLAGS-test-ildoubl.c): Rename to
8430 (CPPFLAGS-test-ildouble.c): New variable
8431
8432 * math/test-ildoubl.c: Rename to
8433 * math/test-ildouble.c: New file.
8434
8435 2016-08-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
8436
8437 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
8438 Use fabsl instead of fabs.
8439 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
8440 Likewise.
8441 * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
8442 Add long double suffix to constant to ensure proper
8443 promotion to long double.
8444
8445 2016-08-03 Tom Tromey <tom@tromey.com>
8446
8447 [BZ #20311]
8448 * nptl_db/Makefile (headers): Add proc_service.h.
8449 * nptl_db/proc_service.h: Add include guard. Use
8450 __BEGIN/__END_DECLS.
8451 (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
8452 (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
8453 arguments.
8454
8455
8456 2016-08-03 Florian Weimer <fweimer@redhat.com>
8457
8458 [BZ #17730]
8459 Avoid using memalign for TCB allocations.
8460 * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
8461 (_dl_allocate_tls_storage): Use malloc and manual alignment.
8462 Avoid alignment gap in the TLS_DTV_AT_TP case.
8463 (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
8464 determine the pointer to free.
8465 * nptl/tst-tls3-malloc.c: New test.
8466 * nptl/Makefile (tests): Add it.
8467 (tst-tls3-malloc): Link with libdl, libpthread.
8468 (LDFLAGS-tst-tls3-malloc): Set.
8469 (tst-tls3-malloc.out): Depend on DSO used in test.
8470
8471 2016-08-03 Florian Weimer <fweimer@redhat.com>
8472
8473 [BZ #17730]
8474 Avoid using memalign for TLS allocations.
8475 * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New. Replaces
8476 is_static member with to_free member.
8477 (union dtv): Use struct dtv_pointer.
8478 * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
8479 dtv_pointer instead of is_static.
8480 * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
8481 (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
8482 instead of val.
8483 (allocate_dtv_entry): New function.
8484 (allocate_and_init): Return struct dtv_pointer. Call
8485 allocate_dtv_entry instead of __libc_memalign.
8486 (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
8487 instead of val.
8488 (tls_get_addr_tail): Set to_free member of struct dtv_pointer
8489 instead of is_static. Adjust call to allocate_and_init.
8490 * nptl/allocatestack.c (get_cached_stack): Free to_free member of
8491 struct dtv_pointer instead of val.
8492
8493 2016-08-03 Florian Weimer <fweimer@redhat.com>
8494
8495 * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
8496 (MALLOC_ALIGN_MASK): Move ...
8497 * malloc/malloc-internal.h: ... to here.
8498 * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
8499
8500 2016-08-03 Joseph Myers <joseph@codesourcery.com>
8501
8502 * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
8503 (UDP_ENCAP_GTP1U): Likewise.
8504
8505 * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
8506 (PF_MAX): Update value.
8507 (AF_QIPCRTR): New macro.
8508
8509 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
8510
8511 * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
8512 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
8513 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
8514 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
8515 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8516 Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8517 s_truncf-vis3, s_trunc-vis3.
8518 (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
8519 (CFLAGS-s_ceil-vis3.c): Likewise.
8520 (CFLAGS-s_floorf-vis3.c): Likewise.
8521 (CFLAGS-s_floor-vis3.c): Likewise.
8522 (CFLAGS-s_truncf-vis3.c): Likewise.
8523 (CFLAGS-s_trunc-vis3.c): Likewise.
8524 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
8525 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
8526 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
8527 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
8528 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
8529 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
8530 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
8531 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
8532 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
8533 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
8534 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
8535 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
8536
8537 2016-08-02 David S. Miller <davem@davemloft.net>
8538
8539 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
8540 (__nearbyint_vis3): Don't check for sNaN before float register is
8541 loaded with the incoming argument.
8542 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
8543 (__nearbyintf_vis3): Likewise.
8544 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
8545 Likewise.
8546 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
8547 Likewise.
8548
8549 * string/test-strncmp.c (do_test_limit): Make sure the test data
8550 stream is aligned as required for the type "CHAR".
8551 (do_test): Likewise.
8552
8553 2016-08-03 Aurelien Jarno <aurelien@aurel32.net>
8554
8555 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
8556 by beq instructions jumping to the end of the function.
8557 * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
8558 clobber list. Use "i" constraint instead of "X".
8559 (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
8560 of "X".
8561
8562 2016-08-02 Joseph Myers <joseph@codesourcery.com>
8563
8564 * bits/libc-header-start.h: New file.
8565 * Makefile (headers): Add bits/libc-header-start.h.
8566 * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
8567 (__GLIBC_USE): New macro.
8568 * libio/stdio.h: Define
8569 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8570 <bits/libc-header-start.h> instead of including <features.h>.
8571 (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
8572 (open_memstream): Likewise.
8573 (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
8574 (__asprintf): Likewise.
8575 (asprintf): Likewise.
8576 (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
8577 (getdelim): Likewise.
8578 (getline): Likewise.
8579 * string/string.h: Define
8580 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8581 <bits/libc-header-start.h> instead of including <features.h>.
8582 (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
8583 (strndup): Likewise.
8584 * wcsmbs/wchar.h: Define
8585 __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
8586 <bits/libc-header-start.h> instead of including <features.h>.
8587 (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
8588 * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
8589
8590 2016-08-02 Florian Weimer <fweimer@redhat.com>
8591
8592 Support linking against compatibility symbols, for use in tests.
8593 * include/libc-symbols.h (symbol_version_reference): New macro.
8594 (symbol_version): Use it.
8595 * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
8596 (compat_symbol): Use compat_symbol_reference.
8597 (compat_symbol_1, compat_symbol_2): Remove.
8598 (compat_symbol_reference, compat_symbol_reference_1)
8599 (compat_symbol_reference_2): New macro. Use
8600 symbol_version_reference.
8601
8602 2016-08-02 Florian Weimer <fweimer@redhat.com>
8603
8604 [BZ #19469]
8605 * malloc/Makefile (CPPFLAGS): Compile tests with
8606 -DTEST_NO_MALLOPT.
8607 * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
8608
8609 2016-08-02 Andrew Senkevich <andrew.senkevich@intel.com>
8610
8611 [BZ #20033]
8612 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
8613 finite version.
8614 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
8615 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
8616 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
8617 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
8618 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
8619 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
8620 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
8621 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
8622 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
8623 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
8624 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
8625 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
8626 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
8627 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
8628 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
8629 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
8630 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
8631 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
8632 * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
8633 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
8634 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
8635 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
8636 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
8637 * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
8638 in zero power.
8639
8640 2016-08-02 Florian Weimer <fweimer@redhat.com>
8641
8642 [BZ #20370]
8643 * malloc/arena.c (get_free_list): Update comment. Assert that
8644 arenas on the free list have no attached threads.
8645 (remove_from_free_list): New function.
8646 (reused_arena): Call it.
8647
8648 2016-08-02 Aurelien Jarno <aurelien@aurel32.net>
8649
8650 * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
8651 when it is a NaN.
8652 [_IEEE_FP_INEXACT] Remove.
8653 * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
8654 * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
8655 when it is a NaN.
8656 [_IEEE_FP_INEXACT] Remove.
8657 * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
8658 * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
8659 when it is a NaN.
8660 * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
8661 * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
8662 when its absolute value is greater than 0x1.0p52.
8663 [_IEEE_FP_INEXACT] Remove.
8664 * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
8665 when its absolute value is greater than 0x1.0p23.
8666 [_IEEE_FP_INEXACT] Remove.
8667
8668 2016-08-01 Carlos O'Donell <carlos@redhat.com>
8669
8670 * version.h (RELEASE): Set to "development"
8671 (VERSION): Set to 2.24.90.
8672 * NEWS: Add 2.25 section.
8673
8674 * version.h (RELEASE): Set to "stable"
8675 (VERSION): Set to 2.24.
8676 * include/features.h (__GLIBC_MINOR__): Set to 24.
8677
8678 * NEWS: Add 2.24 fixed bugs.
8679 * po/libc.pot: Regenerate.
8680
8681 2016-08-01 Aurelien Jarno <aurelien@aurel32.net>
8682
8683 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
8684 [$(subdir) = math] (libm-sysdep_routines): Remove.
8685 [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
8686 Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
8687 s_truncf-vis3, s_trunc-vis3.
8688 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
8689 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
8690 file.
8691 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
8692 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
8693 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8694 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8695 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
8696 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
8697 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
8698 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
8699 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
8700 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
8701 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
8702 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
8703 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
8704 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
8705 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
8706 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
8707 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
8708 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
8709 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
8710 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
8711 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
8712 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
8713 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
8714 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
8715 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
8716 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
8717 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
8718 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
8719 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
8720 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
8721 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
8722 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
8723 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
8724 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
8725 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
8726 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
8727 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
8728 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
8729 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
8730 * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
8731 * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
8732 * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
8733 * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
8734
8735 2016-07-27 H.J. Lu <hongjiu.lu@intel.com>
8736
8737 [BZ #20384]
8738 * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
8739 test-double-libmvec-sincos-avx-main.o,
8740 test-double-libmvec-sincos-avx2-main.o,
8741 test-double-libmvec-sincos-main.o,
8742 test-float-libmvec-sincosf-avx-main.o,
8743 test-float-libmvec-sincosf-avx2-main.o and
8744 test-float-libmvec-sincosf-main.o.
8745 test-float-libmvec-sincosf-avx512-main.o.
8746 ($(objpfx)test-double-libmvec-sincos): Also link with
8747 $(objpfx)test-double-libmvec-sincos-main.o.
8748 ($(objpfx)test-double-libmvec-sincos-avx): Also link with
8749 $(objpfx)test-double-libmvec-sincos-avx-main.o.
8750 ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
8751 $(objpfx)test-double-libmvec-sincos-avx2-main.o.
8752 ($(objpfx)test-float-libmvec-sincosf): Also link with
8753 $(objpfx)test-float-libmvec-sincosf-main.o.
8754 ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
8755 $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
8756 [$(config-cflags-avx512) == yes] (extra-test-objs): Add
8757 test-double-libmvec-sincos-avx512-main.o and
8758 ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
8759 $(objpfx)test-double-libmvec-sincos-avx512-main.o.
8760 ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
8761 $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
8762 (CFLAGS-test-double-libmvec-sincos.c): Removed.
8763 (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
8764 (CFLAGS-test-double-libmvec-sincos-main.c): New.
8765 (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
8766 (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
8767 (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
8768 (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
8769 (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
8770 (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
8771 (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
8772 (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
8773 (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
8774 -DREQUIRE_AVX2.
8775 (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
8776 (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
8777 -DREQUIRE_AVX512F.
8778 (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
8779 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
8780 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
8781 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
8782 file.
8783 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
8784 Likewise.
8785 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
8786 Likewise.
8787 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
8788 Likewise.
8789 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
8790 Likewise.
8791 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
8792 Likewise.
8793 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
8794 Likewise.
8795 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
8796 Likewise.
8797
8798 2016-07-27 Chung-Lin Tang <cltang@codesourcery.com>
8799
8800 * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
8801
8802 2016-07-21 Gustavo Romero <gromero@linux.vnet.ibm.com>
8803
8804 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
8805 and typo in a comment about AT_HWCAP entry.
8806
8807 2016-07-21 Szabolcs Nagy <szabolcs.nagy@arm.com>
8808
8809 * sysdeps/aarch64/libm-test-ulps: Updated.
8810
8811 2016-07-20 Stefan Liebler <stli@linux.vnet.ibm.com>
8812
8813 * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
8814 of r13 as it is not restored in mvcle case.
8815
8816 2016-07-19 Mike Frysinger <vapier@gentoo.org>
8817
8818 * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
8819 Rename "ret" to "__ret".
8820 (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
8821 inline_syscall5, inline_syscall6): Likewise.
8822
8823 2016-07-19 Will Newton <will.newton@gmail.com>
8824
8825 * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
8826 R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
8827 R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
8828 R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
8829 R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
8830
8831 2016-07-18 H.J. Lu <hongjiu.lu@intel.com>
8832
8833 * sysdeps/i386/Makefile (rtld-CFLAGS): New.
8834 [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
8835 -mfpmath=387 with $(rtld-CFLAGS).
8836 [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
8837 $(rtld-CFLAGS).
8838
8839 2016-07-18 Ross Burton <ross.burton@intel.com>
8840 Khem Raj <raj.khem@gmail.com>
8841
8842 * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
8843 R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
8844 R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
8845 R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
8846 R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
8847 R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
8848 R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
8849 R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
8850 R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
8851 R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
8852 R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
8853 R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
8854 R_METAG_TLS_DTPOFF): New.
8855
8856 2016-07-18 Siddhesh Poyarekar <siddhesh@sourceware.org>
8857 Matt Clay <mclay@lycos.com>
8858
8859 [BZ #20357]
8860 * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
8861 to call __mpsin/__mpcos and to negate values.
8862 * math/auto-libm-test-in: Add test.
8863 * math/auto-libm-test-out: Regenerate.
8864
8865 2016-07-18 Zack Weinberg <zackw@panix.com>
8866
8867 * grp/Makefile: Don't install the internal header grp-merge.h.
8868
8869 2016-07-18 Szabolcs Nagy <szabolcs.nagy@arm.com>
8870
8871 * sysdeps/aarch64/libm-test-ulps: Regenerated.
8872
8873 2016-07-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
8874
8875 * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
8876
8877 2016-07-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8878
8879 [BZ #15368]
8880 * sysdeps/unix/sysv/linux/nptl-signals.h
8881 (__nptl_clear_internal_signals): New function.
8882 (__libc_signal_block_all): Likewise.
8883 (__libc_signal_block_app): Likewise.
8884 (__libc_signal_restore_set): Likewise.
8885 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
8886 implementation.
8887 * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
8888 the cached pid/tid value in pthread structure.
8889
8890 2016-07-13 H.J. Lu <hongjiu.lu@intel.com>
8891
8892 [BZ #20347]
8893 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
8894
8895 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
8896
8897 [BZ #20348]
8898 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
8899 preadv64, pwrite64 and pwritev64.
8900
8901 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
8902
8903 [BZ #20350]
8904 * posix/tst-preadwrite.c: Renamed to ...
8905 * posix/tst-preadwrite-common.c: This.
8906 (PREAD): Removed.
8907 (PWRITE): Likewise.
8908 (STRINGIFY): Likewise.
8909 (STRINGIFY2): Likewise.
8910 (do_prepare): Make it static and remove function arguments.
8911 (do_test): Likewise.
8912 (PREPARE): Updated.
8913 (TEST_FUNCTION): New.
8914 (name): Make it static.
8915 (fd): Likewise.
8916 (do_prepare): Use create_temp_file.
8917 (do_test): Renamed to ...
8918 (do_test_with_offset): This. Make it static and accept offset.
8919 Properly check return value of PWRITE and PREAD. Return bytes
8920 read. Don't close fd nor unlink name.
8921 * posix/tst-preadwrite.c: Rewrite.
8922 * posix/tst-preadwrite64.c: Likewise.
8923
8924 2016-07-12 H.J. Lu <hongjiu.lu@intel.com>
8925
8926 [BZ #20309]
8927 * configure.ac (have-mtls-dialect-gnu2): Set to yes if
8928 -mtls-dialect=gnu2 works.
8929 * configure: Regenerated.
8930 * elf/Makefile [have-mtls-dialect-gnu2 = yes]
8931 (tests): Add tst-gnu2-tls1.
8932 (modules-names): Add tst-gnu2-tls1mod.
8933 ($(objpfx)tst-gnu2-tls1): New.
8934 (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
8935 (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
8936 * elf/tst-gnu2-tls1.c: New file.
8937 * elf/tst-gnu2-tls1mod.c: Likewise.
8938 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
8939 bytes for push in the PLT entry to align the stack.
8940
8941 2016-07-11 H.J. Lu <hongjiu.lu@intel.com>
8942
8943 [BZ #20349]
8944 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
8945
8946 2016-07-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
8947
8948 [BZ #18707]
8949 * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
8950 * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
8951
8952 2016-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
8953
8954 * sysdeps/unix/sysv/linux/sysdep.h
8955 [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
8956 guards.
8957 * misc/tst-preadvwritev-common.c: New file.
8958 * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
8959 * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
8960 a check for files larger than 2GB.
8961
8962 * sysdeps/unix/sysv/linux/mips/kernel-features.h
8963 (__ASSUME_OFF_DIFF_OFF64): Remove define.
8964 * sysdeps/unix/sysv/linux/pread.c
8965 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
8966 __OFF_T_MATCHES_OFF64_T.
8967 * sysdeps/unix/sysv/linux/pread64.c
8968 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
8969 * sysdeps/unix/sysv/linux/preadv.c
8970 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
8971 * sysdeps/unix/sysv/linux/preadv64.c
8972 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
8973 * sysdeps/unix/sysv/linux/pwrite.c
8974 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
8975 * sysdeps/unix/sysv/linux/pwrite64.c
8976 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
8977 * sysdeps/unix/sysv/linux/pwritev.c
8978 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
8979 * sysdeps/unix/sysv/linux/pwritev64.c
8980 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
8981
8982 2016-07-08 Chris Metcalf <cmetcalf@mellanox.com>
8983
8984 * sysdeps/unix/sysv/linux/tile/kernel-features.h
8985 (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
8986
8987 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
8988
8989 * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
8990
8991 2016-07-08 Aurelien Jarno <aurelien@aurel32.net>
8992
8993 [BZ #20240]
8994 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
8995 (CFLAGS-s_modf-ppc32.c): New variable.
8996 (CFLAGS-s_modff-ppc32.c): Likewise.
8997 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
8998 (CFLAGS-s_modf-ppc64.c): Likewise.
8999 (CFLAGS-s_modff-ppc64.c): Likewise.
9000
9001 2016-07-07 Andreas Schwab <schwab@suse.de>
9002
9003 [BZ #20263]
9004 * nptl/tst-robust10.c: New test.
9005 * nptl/Makefile (tests): Add tst-robust10.
9006
9007 2016-07-07 Jiyoung Yun <t2wish@gmail.com>
9008
9009 [BZ #20263]
9010 * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
9011
9012 2016-07-06 Stefan Liebler <stli@linux.vnet.ibm.com>
9013
9014 * sysdeps/s390/linkmap.h (struct link_map_machine):
9015 Remove member gotplt and add member jmprel.
9016 * sysdeps/s390/s390-32/dl-machine.h
9017 (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
9018 instead of gotplt with &got[3].
9019 (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
9020 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
9021
9022 2016-07-06 John David Anglin <danglin@gcc.gnu.org>
9023
9024 * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
9025
9026 2016-07-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
9027
9028 * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
9029 _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
9030 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
9031 (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
9032 * libio/vtables.c (_IO_vtable_check)
9033 [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
9034 * libio/libioP.h (IO_set_accept_foreign_vtables)
9035 [!PTR_MANGLE]: Do not call PTR_MANGLE.
9036
9037 2016-07-05 H.J. Lu <hongjiu.lu@intel.com>
9038
9039 [BZ #20314]
9040 * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
9041 * Makerules (before-compile): Add $(common-objpfx)cstdlib and
9042 $(common-objpfx)cmath.
9043 ($(common-objpfx)cstdlib): New target.
9044 ($(common-objpfx)cmath): Likewise.
9045
9046 2016-07-05 Chris Metcalf <cmetcalf@mellanox.com>
9047
9048 * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
9049
9050 2016-07-05 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9051
9052 [BZ #20327]
9053 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
9054 are not part of the string.
9055
9056 2016-07-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9057
9058 * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
9059 * nptl/tst-cancel4-common.h (fifoname): New variable.
9060 (fifofd): Likewise.
9061 (cl_fifo): New function.
9062 * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
9063 SIGINT.
9064 (tf_open): Add early cancel test.
9065
9066 2016-07-04 Andreas Schwab <schwab@linux-m68k.org>
9067
9068 * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
9069
9070 2016-07-01 Maciej W. Rozycki <macro@imgtec.com>
9071
9072 * sysdeps/generic/ldsodefs.h
9073 (dl_symbol_visibility_binds_local_p): New inline function.
9074 * elf/dl-addr.c (determine_info): Treat hidden and internal
9075 symbols as local.
9076 * elf/dl-lookup.c (do_lookup_x): Likewise.
9077 * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
9078
9079 2016-07-01 Aurelien Jarno <aurelien@aurel32.net>
9080
9081 * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
9082 invalid exception for a sNaN input.
9083 * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9084 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
9085 (__nearbyint_vis3): Likewise
9086 * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
9087 (__nearbyintf_vis3): Likewise
9088 * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
9089 * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9090 * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
9091 Likewise.
9092 * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
9093 Likewise.
9094
9095 2016-07-01 H.J. Lu <hongjiu.lu@intel.com>
9096
9097 [BZ #20139]
9098 * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
9099 (HAVE_AVX512DQ_ASM_SUPPORT): This.
9100 * sysdeps/x86_64/configure.ac: Require assembler from binutils
9101 2.24 or above.
9102 (HAVE_AVX512_ASM_SUPPORT): Removed.
9103 (HAVE_AVX512DQ_ASM_SUPPORT): New.
9104 * sysdeps/x86_64/configure: Regenerated.
9105 * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
9106 check unconditional.
9107 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
9108 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
9109 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
9110 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
9111 Likewise.
9112 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
9113 Likewise.
9114 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
9115 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
9116 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
9117 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
9118 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
9119 Likewise.
9120 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
9121 Likewise.
9122 * sysdeps/x86_64/multiarch/memset.S: Likewise.
9123 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
9124 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
9125 HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
9126 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
9127 Likewise.
9128 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
9129 Likewise.
9130 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
9131 Likewise.
9132 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
9133 Likewise.
9134 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
9135 Likewise.
9136 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
9137 Likewise.
9138 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
9139 Likewise.
9140 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
9141 Likewise.
9142 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
9143 Likewise.
9144 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
9145 Likewise.
9146 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
9147 Likewise.
9148
9149 2016-07-01 Andrew Senkevich <andrew.senkevich@intel.com>
9150
9151 [BZ #20024]
9152 * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
9153 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
9154 of this implementation of vector function.
9155 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
9156 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
9157 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
9158 Likewise.
9159 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
9160 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
9161 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
9162 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
9163 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
9164 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
9165 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
9166 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
9167 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
9168 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
9169 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
9170 for testing vector sincos with fixed ABI.
9171 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
9172 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
9173 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
9174 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
9175 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
9176 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
9177 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
9178 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
9179 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
9180 * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
9181 * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
9182 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
9183 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
9184 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
9185 * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
9186 * sysdeps/x86_64/fpu/Makefile: Added new tests.
9187
9188 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
9189
9190 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
9191
9192 2016-06-30 Anton Blanchard <anton@samba.org>
9193
9194 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9195 [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
9196 s_sinf-ppc64.
9197 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
9198 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
9199 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
9200 * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
9201
9202 2016-06-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
9203
9204 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
9205 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
9206 [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
9207 e_expf-ppc64.
9208 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
9209 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
9210 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
9211 * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
9212
9213 2016-06-30 John David Anglin <danglin@gcc.gnu.org>
9214
9215 [BZ #20277]
9216 * sysdeps/hppa/start.S (_start): Correct loading of global pointer
9217 when SHARED is defined.
9218
9219 2016-06-30 H.J. Lu <hongjiu.lu@intel.com>
9220
9221 * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
9222 (index_arch_Prefer_ERMS): Likewise.
9223 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
9224 __memcpy_erms for Prefer_ERMS.
9225 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
9226 (__memmove_erms): Enabled for libc.a.
9227 * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
9228 __memmove_erms or Prefer_ERMS.
9229 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
9230 __mempcpy_erms for Prefer_ERMS.
9231 * sysdeps/x86_64/multiarch/memset.S (memset): Return
9232 __memset_erms for Prefer_ERMS.
9233
9234 2016-06-30 Andreas Schwab <schwab@suse.de>
9235
9236 [BZ #20262]
9237 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
9238 NSS_STATUS_SUCCESS when done. Return NSS_STATUS_TRYAGAIN when out
9239 of memory.
9240
9241 2016-06-29 H.J. Lu <hongjiu.lu@intel.com>
9242
9243 [BZ #18645]
9244 * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
9245 (test-extras): Add tst-cleanupx4aux.
9246 (CFLAGS-tst-cleanupx4aux.c): New. Set to -fexceptions.
9247 ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
9248 tst-cleanupx4aux.o.
9249 * nptl/tst-cleanupx4aux.c: New file.
9250
9251 2016-06-30 Aurelien Jarno <aurelien@aurel32.net>
9252
9253 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
9254
9255 2016-06-29 Andreas Schwab <schwab@suse.de>
9256
9257 [BZ #20260]
9258 * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
9259 address before the beginning of the string as an integer to avoid
9260 array-bounds warning.
9261
9262 2016-06-28 Richard Henderson <rth@redhat.com>
9263
9264 * elf/elf.h (EM_BPF): New.
9265 (EM_NUM): Update.
9266 (R_BPF_NONE, R_BPF_MAP_FD): New.
9267
9268 * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
9269 EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
9270 EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
9271 EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
9272 EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
9273 EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
9274 EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
9275 EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
9276 EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
9277 EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
9278 EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
9279 EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
9280 EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
9281 EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
9282 EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
9283 EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
9284 EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
9285 (EM_NUM): Update.
9286
9287 2016-06-28 Stefan Liebler <stli@linux.vnet.ibm.com>
9288
9289 [BZ #18960]
9290 * locale/localeinfo.h (_NL_CURRENT_DEFINE):
9291 Set _nl_current_LC_CATEGORY_used to two instead of one.
9292
9293 2016-06-27 Aurelien Jarno <aurelien@aurel32.net>
9294
9295 * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
9296 (do_test): ... this.
9297 (TEST_FUNCTION): New macro.
9298 Include test-skeleton.c.
9299 * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
9300 * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
9301
9302 2016-06-27 Joseph Myers <joseph@codesourcery.com>
9303
9304 [BZ #15479]
9305 * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
9306 floating-point environment rather than just control word.
9307 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
9308 * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
9309 floating-point environment, with "invalid" exceptions merged in,
9310 rather than just control word.
9311 * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
9312 * math/libm-test.inc (trunc_test_data): Do not allow spurious
9313 "inexact" exceptions.
9314
9315 [BZ #15479]
9316 * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
9317 floating-point environment rather than just control word.
9318 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
9319 * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
9320 floating-point environment, with "invalid" exceptions merged in,
9321 rather than just control word.
9322 * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
9323 * math/libm-test.inc (floor_test_data): Do not allow spurious
9324 "inexact" exceptions.
9325
9326 [BZ #15479]
9327 * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
9328 floating-point environment rather than just control word.
9329 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
9330 * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
9331 floating-point environment, with "invalid" exceptions merged in,
9332 rather than just control word.
9333 * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
9334 * math/libm-test.inc (ceil_test_data): Do not allow spurious
9335 "inexact" exceptions.
9336
9337 2016-06-21 Aurelien Jarno <aurelien@aurel32.net>
9338
9339 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
9340 __libc_vfork.
9341 (__vfork) [IS_IN (libc)]: Remove alias.
9342 (__libc_vfork) [IS_IN (libc)]: Define as an alias.
9343 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9344 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9345
9346 2016-06-24 Torvald Riegel <triegel@redhat.com>
9347
9348 * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
9349 of atomic_compare_and_exchange_bool_rel.
9350 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
9351 * include/atomic.h (atomic_compare_and_exchange_bool_rel,
9352 catomic_compare_and_exchange_bool_rel): Remove.
9353 * sysdeps/aarch64/atomic-machine.h
9354 (atomic_compare_and_exchange_bool_rel): Likewise.
9355 * sysdeps/alpha/atomic-machine.h
9356 (atomic_compare_and_exchange_bool_rel): Likewise.
9357 * sysdeps/arm/atomic-machine.h
9358 (atomic_compare_and_exchange_bool_rel): Likewise.
9359 * sysdeps/mips/atomic-machine.h
9360 (atomic_compare_and_exchange_bool_rel): Likewise.
9361 * sysdeps/microblaze/atomic-machine.h
9362 ( __arch_compare_and_exchange_bool_8_rel,
9363 __arch_compare_and_exchange_bool_16_rel): Likewise.
9364 * sysdeps/powerpc/atomic-machine.h
9365 ( __arch_compare_and_exchange_bool_8_rel,
9366 __arch_compare_and_exchange_bool_16_rel): Likewise.
9367 * sysdeps/powerpc/powerpc32/atomic-machine.h
9368 ( __arch_compare_and_exchange_bool_32_rel,
9369 __arch_compare_and_exchange_bool_64_rel): Likewise.
9370 * sysdeps/powerpc/powerpc64/atomic-machine.h
9371 ( __arch_compare_and_exchange_bool_32_rel,
9372 __arch_compare_and_exchange_bool_64_rel): Likewise.
9373 * sysdeps/tile/atomic-machine.h
9374 (atomic_compare_and_exchange_bool_rel): Likewise.
9375
9376 2016-06-23 Joseph Myers <joseph@codesourcery.com>
9377
9378 [BZ #20296]
9379 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
9380 when either argument is a NaN.
9381 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
9382 * math/libm-test.inc (scalb_test_data): Add sNaN tests.
9383
9384 * math/libm-test.inc (snan_value_ld): New macro.
9385 (isgreater_test_data): Add sNaN tests.
9386 (isgreaterequal_test_data): Likewise.
9387 (isless_test_data): Likewise.
9388 (islessequal_test_data): Likewise.
9389 (islessgreater_test_data): Likewise.
9390 (isunordered_test_data): Likewise.
9391 (nextafter_test_data): Likewise.
9392 (nexttoward_test_data): Likewise.
9393 (remainder_test_data): Likewise.
9394 (remquo_test_data): Likewise.
9395 (significand_test_data): Likewise.
9396 * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
9397
9398 2016-06-23 Siddhesh Poyarekar <siddhesh@sourceware.org>
9399
9400 * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
9401 environment macros are defined.
9402 (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
9403
9404 2016-06-23 Florian Weimer <fweimer@redhat.com>
9405
9406 [BZ #20191]
9407 Implement vtable verification in libio.
9408 * Makerules (shlib.lds): Place __libc_IO_vtables section.
9409 * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
9410 * debug/vdprintf_chk.c (__vdprintf_chk): Call
9411 _IO_new_file_init_internal instead of _IO_file_init.
9412 * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
9413 * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
9414 * libio/Makefile (routines): Add vtables.
9415 * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
9416 (_IO_init): Remove, not for internal use.
9417 (_IO_init_internal): Declare, internal replacement for _IO_init.
9418 (_IO_file_init): Remove, not for internal use.
9419 (_IO_new_file_init): Remove, not for internal use.
9420 (_IO_new_file_init_internal): Declare, internal replacement for
9421 _IO_new_file_init.
9422 (_IO_old_file_init): Remove, not for internal use.
9423 (_IO_old_file_init_internal): Declare, internal replacement for
9424 _IO_old_file_init.
9425 (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
9426 internal use.
9427 (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
9428 Declare.
9429 (libio_vtable): New macro.
9430 (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
9431 functions.
9432 * libio/fileops.c (_IO_new_file_init_internal): Rename from
9433 _IO_new_file_init.
9434 (_IO_new_file_init): New externally visible wrapper which disables
9435 vtable verification.
9436 (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
9437 Define as vtables.
9438 * libio/genops.c (_IO_init_internal): Rename from _IO_init.
9439 (_IO_init): New externally visible wrapper which disables
9440 vtable verification.
9441 * libio/iofdopen.c (_IO_new_fdopen): Call
9442 _IO_new_file_init_internal instead of _IO_file_init. Adjust
9443 comment.
9444 * libio/iofopen.c (__fopen_internal): Call
9445 _IO_new_file_init_internal instead of _IO_file_init.
9446 * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
9447 Define as vtables.
9448 (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
9449 _IO_new_file_init_internal instead of _IO_file_init.
9450 * libio/iopopen.c (_IO_new_popen): Likewise.
9451 (_IO_proc_jumps): Define as vtable.
9452 * libio/iovdprintf.c (_IO_vdprintf): Call
9453 _IO_new_file_init_internal instead of _IO_file_init.
9454 * libio/memstream.c (_IO_mem_jumps): Define as vtable.
9455 (__open_memstream): Call _IO_init_internal instead of _IO_init.
9456 * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
9457 * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
9458 _IO_old_file_init.
9459 (_IO_old_file_init): New externally visible wrapper which disables
9460 vtable verification.
9461 (_IO_old_file_jumps): Define as vtable.
9462 * libio/oldiofdopen.c (_IO_old_fdopen): Call
9463 _IO_old_file_init_internal instead of _IO_old_file_init.
9464 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
9465 * libio/oldiopopen.c (_IO_old_popen): Likewise.
9466 (_IO_old_proc_jumps): Define as vtable.
9467 * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
9468 Define as vtables.
9469 * libio/vtables.c: New file.
9470 * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
9471 (_IO_wfile_jumps_maybe_mmap): Define as vtables.
9472 * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
9473 * libio/wstrops.c (_IO_wstr_jumps): Likewise.
9474 * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
9475 * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
9476 instead of _IO_init.
9477
9478 2016-06-23 Florian Weimer <fweimer@redhat.com>
9479
9480 * test-skeleton.c (xrealloc): Support deallocation with n == 0.
9481
9482 2016-06-23 Florian Weimer <fweimer@redhat.com>
9483
9484 * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
9485 potentially unused.
9486
9487 2016-06-22 Florian Weimer <fweimer@redhat.com>
9488
9489 * test-skeleton.c (write_message): New function.
9490 * malloc/tst-mallocfork2.c (write_message): Remove.
9491 * debug/tst-longjmp_chk2.c (write_indented): New function.
9492 (write_message): Remove.
9493 (stackoverflow_handler): Call write_indented.
9494
9495 2016-06-22 Joseph Myers <joseph@codesourcery.com>
9496
9497 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
9498 "inexact" exceptions after fnstenv.
9499 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
9500 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9501 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
9502
9503 2015-06-22 Zack Weinberg <zackw@panix.com>
9504
9505 * sysdeps/generic/bits/hwcap.h: Moved to ...
9506 * bits/hwcap.h: Here.
9507
9508 2016-06-22 Wilco Dijkstra <wdijkstr@arm.com>
9509
9510 * sysdeps/aarch64/memcpy.S (memcpy):
9511 Further tuning for performance.
9512
9513 2016-06-21 Florian Weimer <fweimer@redhat.com>
9514
9515 [BZ #20284]
9516 * malloc/arena.c (reused_arena): Do not return NULL if we start
9517 out with a non-corrupted arena.
9518
9519 2016-06-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9520
9521 * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
9522 * misc/tst-preadvwritev.c: New file.
9523 * misc/tst-preadvwritev64.c: Likewise.
9524 * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
9525 usage.
9526 * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
9527 * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
9528 * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
9529 * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
9530
9531 2016-06-20 Andrew Senkevich <andrew.senkevich@intel.com>
9532
9533 [BZ #19654]
9534 * sysdeps/x86_64/fpu/Makefile: Added new tests.
9535 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
9536 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
9537 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
9538 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
9539 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
9540 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
9541 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
9542 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
9543 * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
9544 * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
9545 * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
9546 * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
9547 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
9548 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
9549 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
9550 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
9551 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
9552 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
9553 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
9554 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
9555 * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
9556 * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
9557 * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
9558 * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
9559 * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
9560
9561 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
9562
9563 * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
9564 * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
9565
9566 2016-06-20 Wilco Dijkstra <wdijkstr@arm.com>
9567
9568 * sysdeps/aarch64/memcpy.S (memcpy):
9569 Rewrite of optimized memcpy and memmove.
9570 * sysdeps/aarch64/memmove.S (memmove): Remove
9571 memmove code (merged into memcpy.S).
9572
9573 2016-06-20 Florian Weimer <fweimer@redhat.com>
9574
9575 Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
9576 * sysdeps/generic/dl-dtv.h: New file.
9577 * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9578 * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
9579 (dtv_t): Remove.
9580 * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9581 * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
9582 (dtv_t): Remove.
9583 * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9584 * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
9585 (dtv_t): Remove.
9586 * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9587 * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
9588 (dtv_t): Remove.
9589 * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9590 * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
9591 (dtv_t): Remove.
9592 * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9593 * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
9594 (dtv_t): Remove.
9595 * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9596 * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
9597 (dtv_t): Remove.
9598 * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
9599 (dtv_t): Remove.
9600 * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9601 * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
9602 (dtv_t): Remove.
9603 * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9604 * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
9605 (dtv_t): Remove.
9606 * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9607 * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
9608 (dtv_t): Remove.
9609 * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9610 * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
9611 (dtv_t): Remove.
9612 * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9613 * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
9614 (dtv_t): Remove.
9615 * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9616 * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
9617 (dtv_t): Remove.
9618 * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9619 * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
9620 (dtv_t): Remove.
9621 * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
9622 * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
9623 (dtv_t): Remove.
9624
9625 2016-06-20 Florian Weimer <fweimer@redhat.com>
9626
9627 Revert symbol poisoning of __malloc_initialize_hook.
9628 * include/stdc-predef.h (__malloc_initialize_hook): Remove
9629 poisoning.
9630 * malloc/Makefile: Remove un-poisoning.
9631 * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
9632 instead of old__malloc_initialize_hook.
9633 * malloc/malloc-hooks.h: Likewise.
9634 * malloc/malloc.c: Likewise.
9635 * malloc/mcheck-init.c: Likewise.
9636
9637 2016-06-19 Carlos O'Donell <carlos@redhat.com>
9638
9639 * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
9640
9641 2016-06-18 Aurelien Jarno <aurelien@aurel32.net>
9642
9643 * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
9644 hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
9645 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
9646 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
9647
9648 2016-06-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9649
9650 * NEWS: Mention addition of nextup and nextdown.
9651 * manual/arith.texi: Document nextup and nextdown.
9652 * manual/libm-err-tab.pl: Add nextup and nextdown.
9653 * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
9654 * math/Versions (libm): Add GLIBC_2.24.
9655 * math/bits/mathcalls.h: Add nextup and nextdown declaration.
9656 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
9657 Add new test.
9658 (nextafter_test_data) [TEST_COND_binary32]: Likewise.
9659 (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
9660 (nextafter_test_data) [TEST_COND_binary64]: Likewise.
9661 (nextafter_test_data) [TEST_COND_binary128]: Likewise.
9662 (nextup_test_data): Likewise.
9663 (nextdown_test_data): Likewise.
9664 * math/s_nextdown.c: New file.
9665 * math/s_nextdownf.c: Likewise.
9666 * math/s_nextdownl.c: Likewise.
9667 * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
9668 F(nextup): New function.
9669 F(nextdown): Likewise.
9670 * math/tgmath.h: Add nextup and nextdown.
9671 * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
9672 * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
9673 * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
9674 * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
9675 * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
9676 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
9677 Add nextup and nextdown.
9678 (CFLAGS-nldbl-nextup.c): New variable.
9679 (CFLAGS-nldbl-nextdown.c): Likewise.
9680 * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
9681 * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
9682 * sysdeps/nacl/libm.abilist: Update.
9683 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9684 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9685 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9686 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9687 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9688 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9689 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9690 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9691 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9692 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9693 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9694 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9695 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
9696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9697 Likewise.
9698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
9699 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
9700 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9701 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9702 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9703 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9704 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9705 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
9706 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
9707 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9708 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9709 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
9710 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9711
9712 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9713
9714 * manual/pattern.texi: Fix typos & grammar errors.
9715
9716 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9717
9718 * manual/search.texi: Fix typos & grammar errors.
9719
9720 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9721
9722 * manual/message.texi: Fix typos & grammar errors.
9723
9724 2016-06-16 Mike Frysinger <vapier@gentoo.org>
9725
9726 * manual/contrib.texi: Fix spelling typos.
9727 * manual/crypt.texi: Likewise.
9728 * manual/filesys.texi: Likewise.
9729 * manual/locale.texi: Likewise.
9730 * manual/message.texi: Likewise.
9731 * manual/nss.texi: Likewise.
9732 * manual/string.texi: Likewise.
9733
9734 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9735
9736 * manual/locale.texi: Fix typos & grammar errors.
9737
9738 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9739
9740 * manual/charset.texi: Fix typos & grammar errors.
9741
9742 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9743
9744 * manual/string.texi: Fix typos.
9745
9746 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9747
9748 * manual/ctype.texi: Fix typos.
9749
9750 2016-06-16 Rical Jasan <ricaljasan@pacific.net>
9751
9752 * manual/memory.texi: Fix various typos & grammar errors.
9753
9754 2016-06-14 Joseph Myers <joseph@codesourcery.com>
9755
9756 [BZ #20255]
9757 * sysdeps/i386/fpu/s_fdim.c: New file. Based on math/s_fdim.c.
9758 * math/libm-test.inc (fdim_test_data): Add another test.
9759
9760 [BZ #6796]
9761 [BZ #20255]
9762 [BZ #20256]
9763 * math/s_fdim.c: Include <math_private.h>.
9764 (__fdim): Use math_narrow_eval on result.
9765 * math/s_fdimf.c: Include <math_private.h>.
9766 (__fdimf): Use math_narrow_eval on result.
9767 * sysdeps/i386/fpu/s_fdim.S: Remove file.
9768 * sysdeps/i386/fpu/s_fdimf.S: Likewise.
9769 * sysdeps/i386/fpu/s_fdiml.S: Likewise.
9770 * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
9771 * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
9772 * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
9773 * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
9774 * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
9775 * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
9776 * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
9777 * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
9778 * math/libm-test.inc (fdim_test_data): Expect errno setting on
9779 overflow. Add sNaN tests.
9780
9781 * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
9782 fpclassify.
9783 * math/s_fdimf.c (__fdimf): Likewise.
9784 * math/s_fdiml.c (__fdiml): Likewise.
9785
9786 2016-06-14 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
9787
9788 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
9789 (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
9790 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
9791 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
9792 ifunc'ed strcasecmp/strncasecmp.
9793 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
9794 [EALIGN]: Removed.
9795 [END]: Likewise.
9796 [__strcasecmp]: Define instead of the above to control symbol name.
9797 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
9798 for __strcasecmp_power8.
9799 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
9800 for __strncasecmp_power8.
9801 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
9802 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
9803 * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
9804 * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
9805 * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
9806 * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
9807
9808 2016-06-13 Joseph Myers <joseph@codesourcery.com>
9809
9810 [BZ #20252]
9811 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
9812 arguments when second argument is a NaN.
9813 * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
9814 qNaN tests.
9815
9816 * math/libm-test.inc (cimag_test_data): Add sNaN tests.
9817 (conj_test_data): Likewise.
9818 (copysign_test_data): Likewise.
9819 (creal_test_data): Likewise.
9820 (fma_test_data): Likewise.
9821 (fmod_test_data): Likewise.
9822
9823 [BZ #20250]
9824 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
9825 itself.
9826 * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
9827 zero input to itself.
9828 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
9829 Likewise.
9830 * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
9831 * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
9832 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
9833 * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
9834 * math/libm-test.inc (frexp_test_data): Add sNaN tests.
9835
9836 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9837
9838 * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
9839 * nptl/tst-cancel4-common.c: New file.
9840 * nptl/tst-cancel4-common.h: Likewise.
9841 * nptl/tst-cancel4.c: Move common definitions to
9842 tst-cancel4-common.{c,h} file.
9843 * nptl/tst-cancel4_1.c: New test.
9844 * nptl/tst-cancel4_2.c: New test.
9845
9846 2016-06-13 Florian Weimer <fweimer@redhat.com>
9847
9848 [BZ #20248]
9849 * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
9850 (write_message): New function.
9851 (stackoverflow_handler): Call it instead of printf, to avoid
9852 excessive stack usage by printf.
9853 (do_test): Restore SIGSEGV, SIGBUS default handlers.
9854
9855 2016-06-13 Adhemerval Zanella <adhemerval.zanella@linaro.org>
9856
9857 * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
9858 (prio_inherit_missing): Remove define.
9859 * sysdeps/unix/sysv/linux/arm/kernel-features.h
9860 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9861 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
9862 Likewise.
9863 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9864 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9865 * sysdeps/unix/sysv/linux/mips/kernel-features.h
9866 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9867 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9868 (__ASSUME_FUTEX_LOCK_PI): Likewise.
9869
9870 2016-06-11 Paul Pluzhnikov <ppluzhnikov@google.com>
9871
9872 [BZ #19670]
9873 [BZ #19672]
9874
9875 * io/test-lfs.c (do_prepare): Use xmalloc.
9876 * io/tst-fcntl.c (do_prepare): Likewise.
9877 * libio/tst-fopenloc.c (do_bz17916): Likewise.
9878 * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
9879 * login/tst-utmp.c (do_prepare): Likewise.
9880 * posix/tst-exec.c (do_prepare): Likewise.
9881 * posix/tst-pathconf.c (prepare): Likewise.
9882 * posix/tst-spawn.c (do_prepare): Likewise.
9883 * posix/tst-truncate.c (do_prepare): Likewise.
9884 * rt/tst-aio.c (do_prepare): Likewise.
9885 * rt/tst-aio64.c (do_prepare): Likewise.
9886
9887 2016-06-11 Florian Weimer <fweimer@redhat.com>
9888
9889 [BZ #20237]
9890 * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
9891 (get*ent): Set entidx to NULL during initialization. If entidx is
9892 NULL, start iteration from the beginning.
9893
9894 2016-06-11 Florian Weimer <fweimer@redhat.com>
9895
9896 * malloc/malloc.c (musable): Return correct size for dumped fake
9897 mmapped chunk.
9898
9899 2016-06-11 Florian Weimer <fweimer@redhat.com>
9900
9901 [BZ #20222]
9902 * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
9903 (_IO_cookie_write): Likewise.
9904 (_IO_cookie_seek): Likewise.
9905 (_IO_cookie_close): Likewise.
9906 (_IO_old_cookie_seek): Likewise.
9907 (set_callbacks): New function.
9908 (_IO_cookie_init): Call set_callbacks to copy callbacks.
9909
9910 2016-06-11 Marko Myllynen <myllynen@redhat.com>
9911
9912 * locale/programs/localedef.c (oldstyle_tables): Remove.
9913 * locale/programs/localedef.h (oldstyle_tables): Likewise.
9914
9915 2016-06-10 Joseph Myers <joseph@codesourcery.com>
9916
9917 [BZ #20240]
9918 * math/Makefile (CFLAGS-s_modf.c): New variable.
9919 (CFLAGS-s_modff.c): Likewise.
9920 (CFLAGS-s_modfl.c): Likewise.
9921 * math/libm-test.inc (modf_test_data): Add sNaN tests.
9922
9923 2016-06-09 Carlos O'Donell <carlos@redhat.com>
9924
9925 [BZ #20215]
9926 * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
9927 [!__GNUC_PREREQ (3,2)]: Likewise.
9928
9929 2016-06-10 Adhemerval Zanela <adhemerval.zanella@linaro.org>
9930
9931 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
9932 (msghdr.msg_controllen): Likewise.
9933 (cmsghdr.cmsg_len): Likewise.
9934 * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
9935 ptw-oldsendmsg.
9936 (CFLAGS-oldrecvmsg.c): Remove rule.
9937 (CFLAGS-oldsendmsg.c): Likewise.
9938 (CFLAGS-recvmsg.c): Add rule.
9939 (CFLAGS-sendmsg.c): Likewise.
9940 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
9941 oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
9942 (CFLAGS-recvmsg.c): Remove rule.
9943 (CFLAGS-sendmsg.c): Likewise.
9944 (CFLAGS-oldrecvmsg.c): Likewise.
9945 (CFLAGS-oldsendmsg.c): Likewise.
9946 (CFLAGS-recvmmsg.c): Likewise.
9947 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
9948 to kernel defined interfaces.
9949 (msghdr.msg_controllen): Likewise.
9950 (cmsghdr.cmsg_len): Likewise.
9951 (msghdr.__glibc_reserved1): Remove member.
9952 (msghdr.__glibc_reserved2): Likewise.
9953 (cmsghdr.__glibc_reserved1): Likewise.
9954 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
9955 * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
9956 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
9957 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
9958 * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
9959 version.
9960 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
9961 * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
9962 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
9963 * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
9964 Remove recvmsg and sendmsg.
9965 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
9966 Likewise.
9967 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
9968 Likewise.
9969 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
9970 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
9971 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
9972 Likewise.
9973 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
9974 Likewise.
9975 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
9976 [libc] (GLIBC_2.24): Likewise.
9977 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
9978 Likewise.
9979 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
9980 Likewise.
9981 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
9982 [libc] (GLIBC_2.24): Likewise.
9983 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
9984 Likewise.
9985 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
9986 Likewise.
9987 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
9988 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
9989 Likewise.
9990 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
9991 Likewise.
9992 * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
9993 Likewise.
9994 * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
9995 Likewise.
9996 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
9997 * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
9998 * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
9999 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
10000 version for {recv,send,recm,sendm}msg.
10001 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10002 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10003 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10004 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10005 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10006 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10007 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10008 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10009 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10010 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10011 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10012 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10013 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10014 Likewise.
10015 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10016 Likewise.
10017 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10018 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10019 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10020 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10021 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10022 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10023 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10024 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10025 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10026 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10027 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10028 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10029 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10030
10031 2016-06-10 Florian Weimer <fweimer@redhat.com>
10032
10033 [BZ #19564]
10034 Remove __malloc_initialize_hook from the API.
10035 * malloc/malloc.h (__malloc_initialize_hook): Remove.
10036 * include/stdc-predef.h (__malloc_initialize_hook): Poison with
10037 #pragma GCC poison.
10038 * malloc/malloc-hooks.h: New file.
10039 * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
10040 * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
10041 (old__malloc_initialize_hook): Rename from
10042 __malloc_initialize_hook to evade poisoning. Turn into compat
10043 symbol.
10044 * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
10045 __malloc_initialize_hook.
10046 * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
10047 (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
10048 * manual/memory.texi (Hooks for Malloc): Remove
10049 __malloc_initialize_hook. Adjust hook example.
10050
10051 2016-06-09 Joseph Myers <joseph@codesourcery.com>
10052
10053 [BZ #20235]
10054 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
10055 itself.
10056 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
10057 * math/libm-test.inc (log2_test_data): Add sNaN tests.
10058
10059 [BZ #20234]
10060 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
10061 infinity or NaN input to itself.
10062
10063 [BZ #20233]
10064 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
10065 to itself.
10066
10067 [BZ #20232]
10068 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
10069 itself.
10070
10071 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
10072
10073 * sysdeps/x86_64/start.S (_start): Always indirect branch to
10074 __libc_start_main via GOT.
10075
10076 2016-06-09 H.J. Lu <hongjiu.lu@intel.com>
10077
10078 * sysdeps/x86_64/memcopy.h: New file.
10079 * sysdeps/x86_64/wordcopy.c: Likewise.
10080
10081 2016-06-09 Florian Weimer <fweimer@redhat.com>
10082
10083 Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
10084 * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
10085 <cstdlib>.
10086 (optimization_barrier): New.
10087 (do_test): Use it. Call quick_exit in the global namespace.
10088 * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
10089 instead of <cstdlib>, <thread>.
10090 (optimization_barrier): New.
10091 (non_main_thread): Adjust declaration. Call optimization_barrier.
10092 Call quick_exit in the global namespace.
10093 (do_test): Call optimization_barrier. Use pthread_create,
10094 pthread_join instead of std::thread.
10095
10096 2016-06-09 Andreas Schwab <schwab@suse.de>
10097
10098 [BZ #19755]
10099 * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
10100 new entries in auto-propagate mode.
10101 * nscd/grpcache.c (cache_addgr): Likewise.
10102
10103 2016-06-09 Paul Pluzhnikov <ppluzhnikov@google.com>
10104
10105 * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
10106 New functions.
10107 (add_temp_file): Use them.
10108
10109 2016-06-09 Samuel Thibault <samuel.thibault@ens-lyon.org
10110
10111 * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
10112
10113 2016-06-08 Joseph Myers <joseph@codesourcery.com>
10114
10115 [BZ #20229]
10116 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
10117 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
10118 * math/libm-test.inc (log1p_test_data): Add sNaN tests.
10119
10120 [BZ #20228]
10121 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
10122 itself.
10123 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
10124 * math/libm-test.inc (log10_test_data): Add sNaN tests.
10125
10126 [BZ #20227]
10127 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
10128 itself.
10129 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
10130 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
10131 * math/libm-test.inc (log_test_data): Add sNaN tests.
10132
10133 [BZ #20226]
10134 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
10135 itself.
10136 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
10137 * math/libm-test.inc (exp_test_data): Add sNaN tests.
10138 (exp10_test_data): Likewise.
10139 (expm1_test_data): Likewise.
10140
10141 [BZ #20225]
10142 * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
10143 itself.
10144 * math/s_ldexpf.c (__ldexpf): Likewise.
10145 * math/s_ldexpl.c (__ldexpl): Likewise.
10146 * math/w_scalbln.c (__w_scalbln): Likewise.
10147 * math/w_scalblnf.c (__w_scalblnf): Likewise.
10148 * math/w_scalblnl.c (__w_scalblnl): Likewise.
10149 * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
10150 (scalbln_test_data): Likewise.
10151
10152 [BZ #20224]
10153 * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
10154 argument to itself.
10155 * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
10156
10157 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
10158
10159 [BZ #19776]
10160 * sysdeps/x86_64/memcpy.S: Make it dummy.
10161 * sysdeps/x86_64/mempcpy.S: Likewise.
10162 * sysdeps/x86_64/memmove.S: New file.
10163 * sysdeps/x86_64/memmove_chk.S: Likewise.
10164 * sysdeps/x86_64/multiarch/memmove.S: Likewise.
10165 * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
10166 * sysdeps/x86_64/memmove.c: Removed.
10167 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
10168 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
10169 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
10170 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
10171 Likewise.
10172 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
10173 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
10174 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10175 memcpy-sse2-unaligned, memmove-avx-unaligned,
10176 memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
10177 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10178 (__libc_ifunc_impl_list): Replace
10179 __memmove_chk_avx512_unaligned_2 with
10180 __memmove_chk_avx512_unaligned. Remove
10181 __memmove_chk_avx_unaligned_2. Replace
10182 __memmove_chk_sse2_unaligned_2 with
10183 __memmove_chk_sse2_unaligned. Remove __memmove_chk_sse2 and
10184 __memmove_avx_unaligned_2. Replace __memmove_avx512_unaligned_2
10185 with __memmove_avx512_unaligned. Replace
10186 __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
10187 Remove __memmove_sse2. Replace __memcpy_chk_avx512_unaligned_2
10188 with __memcpy_chk_avx512_unaligned. Remove
10189 __memcpy_chk_avx_unaligned_2. Replace
10190 __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
10191 Remove __memcpy_chk_sse2. Remove __memcpy_avx_unaligned_2.
10192 Replace __memcpy_avx512_unaligned_2 with
10193 __memcpy_avx512_unaligned. Remove __memcpy_sse2_unaligned_2
10194 and __memcpy_sse2. Replace __mempcpy_chk_avx512_unaligned_2
10195 with __mempcpy_chk_avx512_unaligned. Remove
10196 __mempcpy_chk_avx_unaligned_2. Replace
10197 __mempcpy_chk_sse2_unaligned_2 with
10198 __mempcpy_chk_sse2_unaligned. Remove __mempcpy_chk_sse2.
10199 Replace __mempcpy_avx512_unaligned_2 with
10200 __mempcpy_avx512_unaligned. Remove __mempcpy_avx_unaligned_2.
10201 Replace __mempcpy_sse2_unaligned_2 with
10202 __mempcpy_sse2_unaligned. Remove __mempcpy_sse2.
10203 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
10204 __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
10205 Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
10206 if processor has ERMS. Default to __memcpy_sse2_unaligned.
10207 (ENTRY): Removed.
10208 (END): Likewise.
10209 (ENTRY_CHK): Likewise.
10210 (libc_hidden_builtin_def): Likewise.
10211 Don't include ../memcpy.S.
10212 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
10213 __memcpy_chk_avx512_unaligned_erms and
10214 __memcpy_chk_avx512_unaligned. Use
10215 __memcpy_chk_avx_unaligned_erms and
10216 __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
10217 Default to __memcpy_chk_sse2_unaligned.
10218 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
10219 Change function suffix from unaligned_2 to unaligned.
10220 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
10221 __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
10222 Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
10223 if processor has ERMS. Default to __mempcpy_sse2_unaligned.
10224 (ENTRY): Removed.
10225 (END): Likewise.
10226 (ENTRY_CHK): Likewise.
10227 (libc_hidden_builtin_def): Likewise.
10228 Don't include ../mempcpy.S.
10229 (mempcpy): New. Add a weak alias.
10230 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
10231 __mempcpy_chk_avx512_unaligned_erms and
10232 __mempcpy_chk_avx512_unaligned. Use
10233 __mempcpy_chk_avx_unaligned_erms and
10234 __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
10235 Default to __mempcpy_chk_sse2_unaligned.
10236
10237 2016-06-08 H.J. Lu <hongjiu.lu@intel.com>
10238
10239 [BZ #19881]
10240 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
10241 into ...
10242 * sysdeps/x86_64/memset.S: This.
10243 (__bzero): Removed.
10244 (__memset_tail): Likewise.
10245 (__memset_chk): Likewise.
10246 (memset): Likewise.
10247 (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
10248 defined.
10249 (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
10250 * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
10251 (__memset_zero_constant_len_parameter): Check SHARED instead of
10252 PIC.
10253 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
10254 memset-avx2 and memset-sse2-unaligned-erms.
10255 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
10256 (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
10257 __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
10258 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
10259 (__bzero): Enabled.
10260 * sysdeps/x86_64/multiarch/memset.S (memset): Replace
10261 __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
10262 and __memset_avx2_unaligned. Use __memset_sse2_unaligned_erms
10263 or __memset_avx2_unaligned_erms if processor has ERMS. Support
10264 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
10265 (memset): Removed.
10266 (__memset_chk): Likewise.
10267 (MEMSET_SYMBOL): New.
10268 (libc_hidden_builtin_def): Replace __memset_sse2 with
10269 __memset_sse2_unaligned.
10270 * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
10271 __memset_chk_sse2 and __memset_chk_avx2 with
10272 __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
10273 Use __memset_chk_sse2_unaligned_erms or
10274 __memset_chk_avx2_unaligned_erms if processor has ERMS. Support
10275 __memset_chk_avx512_unaligned_erms and
10276 __memset_chk_avx512_unaligned.
10277
10278 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10279
10280 * math/gen-auto-libm-test.c (fp_format_desc): remove
10281 suffix member.
10282 (output_generic_value): Remove usage of suffix member,
10283 and the resulting unuse of the fp_format argument.
10284 (output_for_one_input_case): Remove unused fp_format
10285 parameter.
10286
10287 * math/auto-libm-test-out: Regenerate.
10288
10289 * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
10290 usage with TEST_COND_ibm128.
10291 (TEST_COND_flt_32): Remove.
10292 (TEST_COND_dbl_64): Remove.
10293 (TEST_COND_ldbl_96_intel): Remove.
10294 (TEST_COND_ldbl_96_m68k): Remove.
10295 (TEST_COND_ldbl_128): Remove.
10296
10297 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10298
10299 * auto-libm-test-in:
10300 Replace flt-32 usage with binary32.
10301 Replace dbl-64 usage with binary64.
10302 Replace ldbl-intel-96 usage with intel96.
10303 Replace ldbl-m68k-96 usage with m68k96.
10304 Replace ldbl-128ibm usage with ibm128.
10305 Replace ldbl-128 usage with binary128.
10306
10307 * auto-libm-test-out: Regenerate.
10308
10309 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10310
10311 * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
10312 (parse_ulps): Dynamically generate type name matching
10313 string from all_floats.
10314 (get_ulps): Generate the ulps as an array instead.
10315 (output_ulps): Dynamically compose the type based
10316 on the number of supported formats, and print
10317 the indices as type specific helper macros.
10318
10319 * math/libm-test.inc: Remove comment about CHOOSE.
10320 (ulp_data): Generate the type in libm-test-ulps.h.
10321 (ULP_IDX): New macro.
10322 (find_ulps): Update usage of max_ulp.
10323
10324 * math/test-double-vlen2.h (CHOOSE): Remove.
10325 * math/test-double-vlen4.h (CHOOSE): Likewise.
10326 * math/test-double-vlen8.h (CHOOSE): Likewise.
10327 * math/test-float.c (CHOOSE): Likewise.
10328 * math/test-float-finite.c (CHOOSE): Likewise.
10329 * math/test-double.c (CHOOSE): Likewise.
10330 * math/test-double-finite.c (CHOOSE): Likewise.
10331 * math/test-idouble.c (CHOOSE): Likewise.
10332 * math/test-ifloat.c (CHOOSE): Likewise.
10333 * math/test-ildoubl.c (CHOOSE): Likewise.
10334 * math/test-ldouble-finite.c (CHOOSE): Likewise.
10335 * math/test-ldouble.c (CHOOSE): Likewise.
10336
10337 * math/test-float.h (TEST_FLOAT): Remove.
10338 * math/test-double.h (TEST_DOUBLE): Likewise.
10339 * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
10340
10341 2016-06-08 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10342
10343 * math/gen-libm-test.pl: (apply_lit): New subroutine.
10344 (parse_args): Strip C suffix from floating point literals
10345 typed with 'f' and wrap them with LIT().
10346
10347 * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
10348 (test_ff_f_data_nexttoward): Rename to
10349 (test_fj_f_data): New struct.
10350 (nexttoward_test_data): Relabel tests as
10351 TEST_fj_f instead of TEST_ff_f.
10352
10353 2016-06-08 Florian Weimer <fweimer@redhat.com>
10354
10355 Emacs bug 23726.
10356 * malloc/malloc.c (dumped_main_arena_start): Update comment.
10357 (__libc_realloc): Correct size computation for dumped fake mmapped
10358 chunks.
10359
10360 2016-06-07 Joseph Myers <joseph@codesourcery.com>
10361
10362 [BZ #20219]
10363 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
10364 to itself.
10365 * math/libm-test.inc (atanh_test_data): Add sNaN tests.
10366
10367 [BZ #20218]
10368 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
10369 to itself.
10370 * math/libm-test.inc (asinh_test_data): Add sNaN tests.
10371
10372 2016-06-07 H.J. Lu <hongjiu.lu@intel.com>
10373
10374 [BZ #20195]
10375 * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
10376 check to ...
10377 (init_cpu_features): Here.
10378
10379 2016-06-07 Carlos O'Donell <carlos@redhat.com>
10380
10381 [BZ #20214]
10382 * sysdeps/unix/sysv/linux/bits/in.h
10383 [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
10384 || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
10385 Define to 1.
10386 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
10387 || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
10388 Define to 0.
10389 [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
10390 [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
10391
10392 2016-06-06 Carlos O'Donell <carlos@redhat.com>
10393
10394 [BZ #20198]
10395 * stdlib/Makefile (tests): Add tst-quick_exit, and
10396 tst-thread-quick_exit.
10397 [ifeq ($(have-cxx-thread_local),yes)]
10398 (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
10399 (CFLAGS-tst-thread-quick_exit.o): Likewise.
10400 (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
10401 (LDLIBS-tst-thread-quick_exit): Likewise.
10402 [ifneq ($(have-cxx-thread_local),yes)]
10403 (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
10404 * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
10405 If run_dtors is true call __call_tls_dtors.
10406 (exit): Call __run_exit_handlers with run_dtors set to true.
10407 * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
10408 definition.
10409 * stdlib/quick_exit.c (quick_exit): Remove function.
10410 (__new_quick_exit): New function.
10411 [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
10412 function.
10413 * stdlib/tst-quick_exit.cc: New file.
10414 * stdlib/tst-thread-quick_exit.cc: New file.
10415 * stdlib/Versions: Add quick_exit@GLIBC_2.24.
10416 * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
10417 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
10418 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
10419 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
10420 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
10421 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
10422 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
10423 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
10424 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
10425 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
10426 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
10427 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
10428 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
10429 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
10430 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
10431 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
10432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
10433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
10434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
10435 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
10436 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
10437 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
10438 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
10439 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
10440 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
10441 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
10442 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
10443 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
10444 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
10445
10446 2016-06-06 H.J. Lu <hongjiu.lu@intel.com>
10447
10448 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
10449 a typo in comments.
10450
10451 2016-06-06 Joseph Myers <joseph@codesourcery.com>
10452
10453 [BZ #20213]
10454 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
10455 argument to itself.
10456 * math/libm-test.inc (asin_test_data): Add sNaN tests.
10457
10458 2016-06-06 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10459
10460 * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
10461 required flags.
10462 (CFLAGS-pwritev64.c): Likewise.
10463 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
10464 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
10465 * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
10466 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
10467 * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
10468 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
10469 syscall from auto-generation.
10470 * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
10471 [WORDSIZE == 64] (pwritev64): Remove macro.
10472 [!PWRITEV] (PWRITEV): Likewise.
10473 [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
10474 [!PWRITEV] (PWRITE): Likewise.
10475 [!PWRITEV] (OFF_T): Likewise.
10476 [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
10477 (LO_HI_LONG): Remove macro.
10478 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
10479 * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
10480 (PWRITEV): Remove macro.
10481 (PWRITEV_REPLACEMENTE): Likewise.
10482 (PWRITE): Likewise.
10483 (OFF_T): Likewise.
10484 (pwritev64): New function.
10485 * nptl/tst-cancel4.c (tf_writev): Add test.
10486
10487 * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
10488 required flags.
10489 (CFLAGS-preadv64.c): Likewise.
10490 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
10491 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
10492 * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
10493 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
10494 * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
10495 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
10496 syscall from auto-generation.
10497 * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
10498 [WORDSIZE == 64] (preadv64): Remove macro.
10499 [!PREADV] (PREADV): Likewise.
10500 [!PREADV] (PREADV_REPLACEMENT): Likewise.
10501 [!PREADV] (PREAD): Likewise.
10502 [!PREADV] (OFF_T): Likewise.
10503 [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
10504 (LO_HI_LONG): Remove macro.
10505 [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
10506 * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
10507 (PREADV): Remove macro.
10508 (PREADV_REPLACEMENTE): Likewise.
10509 (PREAD): Likewise.
10510 (OFF_T): Likewise.
10511 (preadv64): New function.
10512 * nptl/tst-cancel4.c (tf_preadv): Add test.
10513
10514 2016-06-06 Joseph Myers <joseph@codesourcery.com>
10515
10516 [BZ #20212]
10517 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
10518 argument to itself.
10519 * math/libm-test.inc (acos_test_data): Add sNaN tests.
10520
10521 2016-06-06 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
10522
10523 * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
10524 New symbol defined as libc_hidden_def.
10525 (strcasestr): Became a weak alias to __strcasestr.
10526 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
10527 according to multi-arch support. Move __stpncpy hidden
10528 definition from here to...
10529 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here. Add
10530 symbol stpncpy.
10531 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
10532 libc_hidden_builtin_def.
10533 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
10534 memset symbol to use when multi-arch support is available.
10535
10536 2016-06-06 Stefan Liebler <stli@linux.vnet.ibm.com>
10537
10538 * dlfcn/tst-rec-dlopen.c: Include string.h.
10539
10540 2016-06-05 Paul Pluzhnikov <ppluzhnikov@google.com>
10541
10542 * manual/install.texi: Remove mention of --without-tls
10543 * INSTALL: Regenerate.
10544
10545 2016-06-05 Florian Weimer <fweimer@redhat.com>
10546
10547 * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
10548 Remove.
10549 (call_function, interposed_malloc_called): New variables.
10550 (malloc): New function.
10551 (do_test): Do not change malloc hooks. Initialize malloc. Set
10552 and clear call_function as needed.
10553
10554 2016-06-04 Andreas Schwab <schwab@linux-m68k.org>
10555
10556 * include/wchar.h (__wmemset): Use __typeof.
10557
10558 2016-06-03 Carlos O'Donell <carlos@redhat.com>
10559
10560 * include/wchar.h (__wmemset): Declare function without typeof.
10561
10562 2016-06-03 Joseph Myers <joseph@codesourcery.com>
10563
10564 [BZ #20205]
10565 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
10566 exponent when incrementing negative subnormal with low mantissa
10567 word zero.
10568 * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
10569 Add another test.
10570
10571 2016-06-03 Florian Weimer <fweimer@redhat.com>
10572
10573 * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
10574 __wmemset instead of wmemset.
10575
10576 2016-06-02 Carlos O'Donell <carlos@redhat.com>
10577
10578 * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
10579 defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
10580 [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
10581 __USE_KERNEL_IPV6_DEFS to 0.
10582 * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
10583 Update comment.
10584
10585 2016-06-01 Florian Weimer <fweimer@redhat.com>
10586
10587 [BZ #19861]
10588 Do not use IFUNC resolver with potentially unrelocated symbol.
10589 * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
10590 (DEFINE_FORK): Remove macro and inline definition.
10591 (fork_alias): Renamed from fork_ifunc.
10592 (__fork_alias): Renamed from __fork_ifunc.
10593
10594 2016-05-30 Paul Pluzhnikov <ppluzhnikov@google.com>
10595
10596 [BZ 19653]
10597 * inet/if_index.c (__protocol_available): Delete #if 0'd code.
10598 * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
10599
10600 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10601
10602 * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
10603 include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
10604 i386-linux-gnu).
10605 * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
10606 Set to no.
10607 * sysdeps/mach/hurd/configure: Refresh.
10608
10609 2016-05-30 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10610
10611 [BZ #20178]
10612 * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
10613 on failure instead of exit.
10614
10615 2016-05-30 Roland McGrath <roland@hack.frob.com>
10616
10617 [BZ #3629]
10618 * manual/string.texi (Copying Strings and Arrays): stpcpy is part
10619 of POSIX.1-2008.
10620
10621 2016-05-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
10622
10623 * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
10624 Use PLT entry for calling _hurd_self_sigstate.
10625
10626 2016-05-27 H.J. Lu <hongjiu.lu@intel.com>
10627
10628 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
10629 available logical processors with SMT level type sharing L2
10630 cache for Intel processors.
10631
10632 2016-05-27 Joseph Myers <joseph@codesourcery.com>
10633
10634 [BZ #20160]
10635 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
10636 argument to itself before returning the result.
10637 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
10638 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
10639 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
10640 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
10641 Likewise.
10642 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
10643 Likewise.
10644 * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
10645 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
10646 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
10647 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
10648 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
10649 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
10650
10651 [BZ #20160]
10652 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
10653 argument to itself before returning the result.
10654 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
10655 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
10656 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
10657 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
10658 Likewise.
10659 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
10660 Likewise.
10661 * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
10662 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
10663 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
10664 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
10665 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
10666 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
10667
10668 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10669
10670 * libm-test.inc: Replace usage of M_El with
10671 (lit_e): New macro.
10672
10673 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10674
10675 * libm-test.inc: Replace usage of M_PI_4l with
10676 (lit_pi_4_d): New macro.
10677
10678 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10679
10680 * libm-test.inc: Replace usage of M_PIl with
10681 (lit_pi): New macro.
10682
10683 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10684
10685 * libm-test.inc: Replace usage of M_PI2l with
10686 (lit_pi_2_d): New macro.
10687
10688 * math/test-double.h (LITM): New macro.
10689 * math/test-float.h (LITM): Likewise.
10690 * math/test-ldouble.h (LITM): Likewise.
10691
10692 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10693
10694 * libm-test.inc (M_PI_34l): Rename to
10695 (lit_pi_3_m_4_d): New Macro.
10696 (M_PI_34_LOG10El): Rename to
10697 (lit_pi_3_m_4_ln10_m_d): New Macro.
10698 (M_PI2_LOG10El): Rename to
10699 (lit_pi_2_ln10_m_d): New Macro.
10700 (M_PI4_LOG10El): Rename to
10701 (lit_pi_4_ln10_m_d): New Macro.
10702 (M_PI_LOG10El): Rename to
10703 (lit_pi_ln10_d): New Macro.
10704
10705 2016-05-27 Joseph Myers <joseph@codesourcery.com>
10706
10707 [BZ #20157]
10708 * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
10709 determine whether to negate low half if [_ARCH_PPCGR], and integer
10710 comparison otherwise.
10711 * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
10712 determine whether to negate low half.
10713
10714 * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
10715 (NO_TEST_INLINE_DOUBLE): Likewise.
10716 (TEST_COND_x86_64): Likewise.
10717 (TEST_COND_x86): Likewise.
10718 (M_PI_6l): Likewise.
10719
10720 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10721
10722 * math/libm-test.inc:
10723 (TEST_FLOAT): Change usage to TEST_COND_binary32.
10724 (TEST_DOUBLE): Change usage to TEST_COND_binary64.
10725 (TEST_LDOUBLE): Update usage to evaluate as true if
10726 the guarded tests match the property being tested.
10727 (LDBL_MAX_EXP): Change to MAX_EXP.
10728 (LDBL_MIN_EXP): Change to MIN_EXP.
10729 (LDBL_MANT_DIG): Change to MANT_DIG, except for
10730 nexttoward tests.
10731
10732 2016-05-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
10733
10734 * math/libm-test.inc:
10735 (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
10736 (TYPE_MIN): Likewise.
10737 (TYPE_TRUE_MIN): Likewise.
10738 (TYPE_MAX): Likewise.
10739 (MIN_EXP): Likewise.
10740 (MAX_EXP): Likewise.
10741 (MANT_DIG): Likewise.
10742
10743 (FSTR_MAX): New macro.
10744 (__CONCATX): Likewise.
10745 (QTYPE_STR): Likewise.
10746 (TEST_COND_binary32): Likewise.
10747 (TEST_COND_binary64): Likewise.
10748 (TEST_COND_binary128): Likewise.
10749 (TEST_COND_ibm128): Likewise.
10750 (TEST_COND_intel96): Likewise.
10751 (TEST_COND_m68k96): Likewise.
10752
10753 (TEST_COND_flt_32): Redefine as equivalent format test macro.
10754 (TEST_COND_dbl_64): Likewise.
10755 (TEST_COND_ldbl_96_intel): Likewise.
10756 (TEST_COND_ldbl_96_m68k): Likewise.
10757 (TEST_COND_ldbl_128): Likewise.
10758 (TEST_COND_ldbl_128ibm): Likewise.
10759
10760 (plus_zero): Redefine using LIT macro.
10761 (minus_zero): Likewise.
10762 (plus_infty): Redefine as (INF).
10763 (minux_infty): Redefine as (-INF).
10764 (max_value): Redefine as TYPE_MAX.
10765 (min_value): Redefine as TYPE_MIN.
10766 (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
10767
10768 (print_float): Refactor to use snprintf to convert FLOAT values
10769 to string. This brings it closer to dropin replacement of strtof
10770 for the TS 18661 defined types.
10771 (update_stats): Likewise.
10772 (print_complex_function_ulps): Likewise.
10773 (print_max_error): Likewise.
10774 (print_complex_max_error): Likewise.
10775 (check_float_internal): Likewise.
10776
10777 * math/test-float.h (PREFIX): New macro.
10778 (LIT): Likewise.
10779 (TYPE_STR): Likewise.
10780 (FTOSTR): Likewise.
10781
10782 * math/test-double.h (PREFIX): New macro.
10783 (LIT): Likewise.
10784 (TYPE_STR): Likewise.
10785 (FTOSTR): Likewise.
10786
10787 * math/test-ldouble.h (PREFIX): New macro.
10788 (LIT): Likewise.
10789 (TYPE_STR): Likewise.
10790 (FTOSTR): Likewise.
10791
10792 2016-05-27 Joseph Myers <joseph@codesourcery.com>
10793
10794 [BZ #20156]
10795 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
10796 to itself when zero or not finite.
10797 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
10798 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
10799 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
10800 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
10801
10802 2016-05-26 Joseph Myers <joseph@codesourcery.com>
10803
10804 [BZ #20153]
10805 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
10806 x * x + x for infinities and NaNs.
10807
10808 [BZ #20151]
10809 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
10810 argument to itself before returning result.
10811 (__ieee754_y0l): Likewise.
10812 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
10813 (__ieee754_y1l).
10814
10815 * math/libm-test.inc (acosh_test_data): Add sNaN tests.
10816 (atan_test_data): Likewise.
10817 (ceil_test_data): Likewise.
10818 (cos_test_data): Likewise.
10819 (cosh_test_data): Likewise.
10820 (erf_test_data): Likewise.
10821 (exp2_test_data): Likewise.
10822 (fabs_test_data): Likewise.
10823 (floor_test_data): Likewise.
10824 (ilogb_test_data): Likewise.
10825 (j0_test_data): Likewise.
10826 (j1_test_data): Likewise.
10827 (jn_test_data): Likewise.
10828 (lgamma_test_data): Likewise.
10829 (lrint_test_data): Likewise.
10830 (llrint_test_data): Likewise.
10831 (logb_test_data): Likewise.
10832 (lround_test_data): Likewise.
10833 (llround_test_data): Likewise.
10834 (nearbyint_test_data): Likewise.
10835 (rint_test_data): Likewise.
10836 (round_test_data): Likewise.
10837 (sin_test_data): Likewise.
10838 (sincos_test_data): Likewise.
10839 (sinh_test_data): Likewise.
10840 (sqrt_test_data): Likewise.
10841 (tan_test_data): Likewise.
10842 (tanh_test_data): Likewise.
10843 (tgamma_test_data): Likewise.
10844 (trunc_test_data): Likewise.
10845 (y0_test_data): Likewise.
10846 (y1_test_data): Likewise.
10847 (yn_test_data): Likewise.
10848
10849 * math/libm-test.inc: Update comment about NaN testing.
10850 (TEST_SNAN): New macro.
10851 (snan_value): Likewise.
10852 (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
10853 (fpclassify_test_data): Add sNaN tests.
10854 (isfinite_test_data): Likewise.
10855 (isinf_test_data): Likewise.
10856 (isnan_test_data): Likewise.
10857 (isnormal_test_data): Likewise.
10858 (issignaling_test_data): Likewise.
10859 (signbit_test_data): Likewise.
10860 * math/gen-libm-test.pl (%beautify): Add snan_value.
10861 (show_exceptions): Add argument $test_snan.
10862 (parse_args): Handle snan_value as non-finite. Update call to
10863 show_exceptions.
10864 * math/Makefile (libm-test-no-inline-cflags): Add
10865 -fsignaling-nans.
10866
10867 2016-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10868
10869 * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
10870 (CFLAGS-oldsendmsg.c): Add rule.
10871 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
10872 Correct recvmsg symbol name.
10873 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
10874 Likewise.
10875
10876 2016-05-25 Adhemerval Zanella <adhemerval.zanella@linaro.org>
10877
10878 * sysdeps/unix/sysv/linux/Makefile
10879 [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
10880 oldsendmmsg.
10881 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
10882 sendmmsg.
10883 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10884 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10885 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10886 * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10887 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10888 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10889 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10890 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
10891 Likewise.
10892 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10893 * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
10894 * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
10895 * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
10896 iovlen and controllen fields to adjust to POSIX specification.
10897 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
10898
10899 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
10900 and change to correct expected type.
10901 (msghdr.msg_controllen): Likewise.
10902 (cmsghdr.cmsg_len): Likewise.
10903 * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
10904 expected POSIX assumption about the size.
10905 (msghdr.msg_controllen): Likewise.
10906 (msghdr.__glibc_reserved1): Likewise.
10907 (msghdr.__glibc_reserved2): Likewise.
10908 (cmsghdr.cmsg_len): Likewise.
10909 (cmsghdr.__glibc_reserved1): Likewise.
10910 * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
10911 Add ptw-oldrecvmsg and ptw-oldsendmsg.
10912 (CFLAGS-sendmsg.c): Remove rule.
10913 (CFLAGS-recvmsg.c): Likewise.
10914 (CFLAGS-oldsendmsg.c): Add rule.
10915 (CFLAGS-oldrecvmsg.c): Likewise.
10916 * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
10917 recvmsg and sendmsg.
10918 * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
10919 Likewise.
10920 * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
10921 * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
10922 * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
10923 * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
10924 * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
10925 * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
10926 Likewise.
10927 * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
10928 Likewise.
10929 * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
10930 Likewise.
10931 * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
10932 Likewise.
10933 * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
10934 Likewise.
10935 * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
10936 Likewise.
10937 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
10938 (GLIBC_2.24): Likewise.
10939 * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
10940 Likewise.
10941 * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
10942 Likewise.
10943 * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
10944 * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
10945 Likewise.
10946 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
10947 Likewise.
10948 ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
10949 Likewise.
10950 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
10951 (GLIBC_2.24): Likewise.
10952 ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
10953 Likewise.
10954 * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
10955 Likewise.
10956 * sysdeps/unix/sysv/linux/Makefile
10957 [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
10958 (CFLAGS-sendmsg.c): Add rule.
10959 (CFLAGS-recvmsg.c): Likewise.
10960 (CFLAGS-oldsendmsg.c): Likewise.
10961 (CFLAGS-oldrecvmsg.c): Likewise.
10962 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
10963 initialization.
10964 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
10965 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
10966 * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
10967 * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
10968 * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
10969 iovlen and controllen fields to adjust to POSIX specification.
10970 * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
10971 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
10972 added recvmsg and sendmsg.
10973 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10974 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10975 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10976 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10977 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10978 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10979 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10980 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10981 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10982 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10983 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10984 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
10985 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10986 Likewise.
10987 * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
10988 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10989 * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10990 Likewise.
10991 Likewise.
10992 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10993 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10994 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10995 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10996 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10997 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10998 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10999 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
11000 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
11001 Likewise.
11002 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
11003 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
11004
11005 * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
11006 from auto-generation.
11007 (sendmsg): Likewise.
11008 * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
11009 (sendmsg): Likewise.
11010 * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
11011 (sendmsg): Likewise.
11012 * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
11013 (sendmsg): Likewise.
11014 * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
11015 (sendmsg): Likewise.
11016 * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
11017 (sendmsg): Likewise.
11018 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
11019 Likewise.
11020 (sendmsg): Likewise.
11021 * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
11022 (sendmsg): Likewise.
11023 * sysdeps/unix/sysv/linux/i386/kernel-features.h
11024 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11025 Remove.
11026 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11027 Likewise.
11028 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11029 Undefine.
11030 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11031 Likewise.
11032 * sysdeps/unix/sysv/linux/kernel-features.h
11033 (__ASSUME_SENDMSG_SYSCALL): Define.
11034 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11035 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
11036 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11037 Remove.
11038 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11039 Likewise.
11040 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
11041 Undefine.
11042 [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
11043 Likewise.
11044 * sysdeps/unix/sysv/linux/s390/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/microblaze/kernel-features.h
11054 (__ASSUME_SENDMSG_SYSCALL): Undefine.
11055 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11056 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
11057 (__ASSUME_SENDMSG_SYSCALL): Likewise.
11058 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11059 * sysdeps/unix/sysv/linux/sh/kernel-features.h
11060 (__ASSUME_SENDMSG_SYSCALL): Likewise.
11061 (__ASSUME_RECVMSG_SYSCALL): Likewise.
11062
11063 2016-05-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11064
11065 * stdlib/gen-tst-strtod-round.c: Add backslash to
11066 compile command in comment.
11067 (printfp): Remove the literal suffix, and define an infinite
11068 value as INF to avoid expansion clash with INFINITY.
11069 (round_str): Remove the literal suffix.
11070 (round_for_all): Likewise, remove the now duplicate ldbl-64
11071 entry, and remove some magic constants.
11072
11073 * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
11074 duplication. Remove duplicate dbl-64 and ldbl-64 entries.
11075 (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
11076 (_CONCAT): New macro.
11077 (CONCAT): Likewise.
11078 (CHOOSE_ld): Likewise.
11079 (CHOOSE_f): Likewise.
11080 (CHOOSE_d): Likewise.
11081 (FTYPE_MEMBER): Likewise.
11082 (BOOL_MEMBER): Likewise.
11083 (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
11084 (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
11085 (_XNTRY): Likewise.
11086 (XNTRY): Likewise.
11087 (_ENTRY): Likewise.
11088 (ENTRY): Likewise.
11089 (test_exactness): Generate members via macro.
11090 (test_results): Likewise.
11091 (test): Update members.
11092 (TEST): Redefine using new macros.
11093 (INF): New macro.
11094 (fetestmodes): New structure.
11095 (do_test): Refactor to be type generic.
11096 (test_in_one_mode): Refactor duplicate code into
11097 (GEN_ONE_TEST): New macro.
11098
11099 * stdlib/tst-strtod-round-data.h: Regenerate.
11100
11101 * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
11102 Extend to pass additional arbitrary parameters to
11103 generators.
11104
11105 2016-05-25 Joseph Myers <joseph@codesourcery.com>
11106
11107 [BZ #15479]
11108 * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
11109 floating-point state after first floating-point operation on
11110 input. Restore full floating-point state instead of just rounding
11111 mode.
11112 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
11113 * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
11114 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
11115 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
11116 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
11117
11118 [BZ #15479]
11119 * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
11120 floating-point state after first floating-point operation on
11121 input. Restore full floating-point state instead of just rounding
11122 mode.
11123 * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
11124 * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
11125 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
11126 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
11127 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
11128
11129 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11130
11131 [BZ #19727]
11132 * iconvdata/utf-16.c (BODY): Report an error if first word is not a
11133 valid high surrogate.
11134 * iconvdata/utf-32.c (BODY): Report an error if the value is in range
11135 of an utf16 surrogate.
11136 * iconv/gconv_simple.c (BODY): Likewise.
11137 * iconvdata/bug-iconv12.c: New file.
11138 * iconvdata/Makefile (tests): Add bug-iconv12.
11139
11140 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11141
11142 [BZ #19726]
11143 * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
11144 outptrp in case of an illegal input.
11145 * iconv/tst-iconv6.c: New file.
11146 * iconv/Makefile (tests): Add tst-iconv6.
11147
11148 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11149
11150 * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
11151 an error in case of a value in range of an utf16 low surrogate.
11152
11153 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11154
11155 * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
11156 an error in case of a value in range of an utf16 low surrogate.
11157
11158 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11159
11160 * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
11161 Move to ...
11162 * sysdeps/s390/Makefile: ... here.
11163 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
11164 * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
11165 (BRANCH_ON_COUNT): New define.
11166 (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
11167 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
11168 * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
11169 run on s390-32, too.
11170 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
11171 * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
11172 run on s390-32, too.
11173 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
11174 * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
11175 run on s390-32, too.
11176
11177 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11178
11179 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
11180 etf3eh or new vector loop-variant.
11181
11182 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11183
11184 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
11185 etf3eh or new vector loop-variant.
11186
11187 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11188
11189 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
11190 or new vector loop-variant.
11191
11192 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11193
11194 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
11195 Rename to TR_LOOP and usage of tr instead of troo instruction.
11196
11197 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11198
11199 * sysdeps/s390/multiarch/gconv_simple.c: New File.
11200 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
11201
11202 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11203
11204 * sysdeps/s390/multiarch/8bit-generic.c: New File.
11205 * sysdeps/s390/multiarch/gen-8bit.sh: New File.
11206 * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
11207 New override define.
11208 * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
11209
11210 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11211
11212 * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
11213 * sysdeps/s390/configure.ac: Add test for S390 vector register
11214 support in gcc.
11215 * sysdeps/s390/configure: Regenerated.
11216
11217 2016-05-25 Stefan Liebler <stli@linux.vnet.ibm.com>
11218
11219 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
11220 Install file from $(objpfx)gconv-modules.
11221 ($(objpfx)gconv-modules): Concatenate architecture specific file
11222 in variable sysdeps-gconv-modules and gconv-modules in src dir.
11223 * sysdeps/s390/gconv-modules: New file.
11224 * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
11225 Deleted.
11226 ($(objpfx)gconv-modules-s390): Deleted.
11227 (sysdeps-gconv-modules): New variable.
11228
11229 2016-05-24 Joseph Myers <joseph@codesourcery.com>
11230
11231 [BZ #15479]
11232 * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
11233 of immediate operand to rounding instruction.
11234 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
11235 Likewise.
11236 * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
11237 Likewise.
11238 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
11239 Likewise.
11240
11241 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11242
11243 * math/libm-test.inc (MIN_EXP): Directly define as
11244 (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
11245
11246 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11247
11248 * math/libm-test.inc (MANT_DIG): Directly define as
11249 (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
11250
11251 2016-05-24 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11252
11253 * stdlib/gen-tst-strtod-round.c (main):
11254 Change usage to more closely match the generated
11255 output. Add usage and compilation instructions.
11256 (string_to_fp): Add and use FILE* parameter as
11257 output target.
11258 (print_fp): Likewise.
11259 (round_str): Likewise.
11260 (round_for_all): Likewise.
11261 * stdlib/tst-strtod-round.c (tests): Move into
11262 * stdlib/tst-strtod-round-data.h: New file.
11263
11264 2016-05-24 Joseph Myers <joseph@codesourcery.com>
11265
11266 [BZ #15479]
11267 * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
11268 (__round): Do not force "inexact" exception.
11269 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
11270 variable.
11271 (__round): Do not force "inexact" exception.
11272 * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
11273 (__roundf): Do not force "inexact" exception.
11274 * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
11275 (__roundl): Do not force "inexact" exception.
11276 * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
11277 (__roundl): Do not force "inexact" exception.
11278 * math/libm-test.inc (round_test_data): Do not allow spurious
11279 "inexact" exceptions.
11280
11281 [BZ #15479]
11282 * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
11283 exception in comment.
11284 (huge): Remove variable.
11285 (__floor): Do not force "inexact" exception.
11286 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
11287 "inexact" exception in comment.
11288 (huge): Remove variable.
11289 (__floor): Do not force "inexact" exception.
11290 * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
11291 exception in comment.
11292 (huge): Remove variable.
11293 (__floorf): Do not force "inexact" exception.
11294 * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
11295 exception in comment.
11296 (huge): Remove variable.
11297 (__floorl): Do not force "inexact" exception.
11298
11299 [BZ #15479]
11300 * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
11301 exception in comment.
11302 (huge): Remove variable.
11303 (__ceil): Do not force "inexact" exception.
11304 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
11305 "inexact" exception in comment.
11306 (huge): Remove variable.
11307 (__ceil): Do not force "inexact" exception.
11308 * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
11309 (__ceilf): Do not force "inexact" exception.
11310 * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
11311 exception in comment.
11312 (huge): Remove variable.
11313 (__ceill): Do not force "inexact" exception.
11314
11315 2016-05-24 H.J. Lu <hongjiu.lu@intel.com>
11316
11317 * config.h.in (BIND_NOW): New.
11318 * configure.ac (BIND_NOW): New. Defined for --enable-bind-now.
11319 * configure: Regenerated.
11320 * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
11321 indirect branch via the GOT slot.
11322
11323 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11324
11325 [BZ #19765]
11326 * sysdeps/s390/mempcpy.S: New File.
11327 * sysdeps/s390/multiarch/mempcpy.c: Likewise.
11328 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
11329 * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
11330 Add mempcpy variants.
11331 * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
11332 (memcpy): Adjust to be usable from mempcpy entry point.
11333 (__memcpy_mvcle): Likewise.
11334 * sysdeps/s390/s390-64/memcpy.S: Likewise.
11335 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
11336 ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
11337 (__memcpy_z196): Adjust to be usable from mempcpy entry point.
11338 (__memcpy_z10): Likewise.
11339 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
11340
11341 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11342
11343 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
11344 Remove __GI_ symbol.
11345 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
11346 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
11347 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
11348 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
11349 * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
11350 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
11351
11352 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11353
11354 * sysdeps/s390/s390-64/memcpy.S (memcpy):
11355 Use cghi instead of chi to compare 64bit value.
11356
11357 2016-05-24 Stefan Liebler <stli@linux.vnet.ibm.com>
11358
11359 * sysdeps/s390/s390-32/memcpy.S (memcpy):
11360 Jump to 1MB check before executing mvc-loop.
11361
11362 2016-05-24 Florian Weimer <fweimer@redhat.com>
11363
11364 [BZ #6527]
11365 * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
11366 unconditionally.
11367 * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
11368
11369 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11370
11371 * stdlib/tst-strtod6.c (do_test): Use new type generic
11372 invocation of the test function.
11373 (test): Refactor into ...
11374 (TEST_STRTOD): New macro base function.
11375
11376 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11377
11378 * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
11379 (TEST_STRTOD): New macro.
11380 (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
11381
11382 2016-05-23 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11383
11384 * stdlib/tst-strtod6.c (do_test): Use new type generic
11385 invocation of the test function.
11386 (test): Refactor into ...
11387 (TEST_STRTOD): New macro base function.
11388
11389 2016-05-23 Florian Weimer <fweimer@redhat.com>
11390
11391 CVE-2016-4429
11392 [BZ #20112]
11393 * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
11394 payload.
11395
11396 2016-05-23 Florian Weimer <fweimer@redhat.com>
11397
11398 [BZ #20111]
11399 * bits/sockaddr.h (_SS_SIZE): Define.
11400 * bits/socket.h (_SS_SIZE): Remove.
11401 (_SS_PADSIZE): Adjust to account for all padding.
11402 (struct sockaddr_storage): Update comment. Avoid implicit
11403 padding.
11404 * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
11405 (_SS_PADSIZE): Adjust to account for all padding.
11406 (struct sockaddr_storage): Update comment. Avoid implicit
11407 padding.
11408 * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
11409 * sysdeps/unix/sysv/linux/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/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
11414 __SS_SIZE is 126 in this version.
11415 * inet/tst-sockaddr.c: New file.
11416 * inet/Makefile (tests): Add tst-sockaddr.c
11417 (tst-sockaddr.c): Compile with non-strict aliasing.
11418
11419 2016-05-23 Joseph Myers <joseph@codesourcery.com>
11420
11421 * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
11422 [XPG3 || XPG4].
11423 (NL_ARGMAX): Also expect for [XPG3].
11424 (NL_LANGMAX): Likewise.
11425 (NL_MSGMAX): Likewise.
11426 (NL_NMAX): Likewise.
11427 (NL_SETMAX): Likewise.
11428 (NL_TEXTMAX): Likewise.
11429 (NZERO): Likewise.
11430 (TMP_MAX): Likewise.
11431 * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
11432 variable.
11433
11434 * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
11435 (PF_MAX): Update value.
11436 (AF_KCM): New macro.
11437 (SOL_NETBEUI): Likewise.
11438 (SOL_LLC): Likewise.
11439 (SOL_DCCP): Likewise.
11440 (SOL_NETLINK): Likewise.
11441 (SOL_TIPC): Likewise.
11442 (SOL_RXRPC): Likewise.
11443 (SOL_PPPOL2TP): Likewise.
11444 (SOL_BLUETOOTH): Likewise.
11445 (SOL_PNPIPE): Likewise.
11446 (SOL_RDS): Likewise.
11447 (SOL_IUCV): Likewise.
11448 (SOL_CAIF): Likewise.
11449 (SOL_ALG): Likewise.
11450 (SOL_NFC): Likewise.
11451 (SOL_KCM): Likewise.
11452 (MSG_BATCH): New enum value and macro.
11453
11454 2016-05-20 H.J. Lu <hongjiu.lu@intel.com>
11455
11456 [BZ #18185]
11457 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
11458 sharing L2 cache to 2 for Knights Landing.
11459
11460 2016-05-20 Joseph Myers <joseph@codesourcery.com>
11461
11462 * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
11463 (FTW_DP): Do not expect for [XPG3 || XPG4].
11464 (FTW_SL): Do not expect for [XPG3].
11465 (FTW_SLN): Likewise.
11466 (FTW_PHYS): Likewise.
11467 (FTW_MOUNT): Likewise.
11468 (FTW_DEPTH): Likewise.
11469 (FTW_CHDIR): Likewise.
11470 (nftw): Likewise.
11471 * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
11472 variable.
11473
11474 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
11475
11476 * manual/errno.texi: Fix various typos & grammar errors.
11477
11478 2016-05-19 Rical Jasan <ricaljasan@pacific.net>
11479
11480 * manual/intro.texi: Fix duplicated typo.
11481
11482 2016-05-19 Joseph Myers <joseph@codesourcery.com>
11483
11484 [BZ #13304]
11485 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
11486 <float.h>, <math_private.h> and <stdlib.h>.
11487 (add_split): New function.
11488 (mul_split): Likewise.
11489 (ext_val): New typedef.
11490 (store_ext_val): New function.
11491 (mul_ext_val): New function.
11492 (compare): New function.
11493 (add_split_ext): New function.
11494 (__fmal): After checking for Inf, NaN and zero, compute result as
11495 an exact sum of scaled double values in round-to-nearest before
11496 adding those up and adjusting for other rounding modes.
11497 * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
11498 tests of fma.
11499 * math/auto-libm-test-out: Regenerated.
11500
11501 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
11502
11503 [BZ #20119]
11504 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
11505 processor level type mask for CPUID with EAX == 11.
11506
11507 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
11508
11509 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
11510 logical threads if the HTT bit is 0.
11511 * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
11512 (index_cpu_HTT): Likewise.
11513 (reg_HTT): Likewise.
11514
11515 2016-05-19 H.J. Lu <hongjiu.lu@intel.com>
11516
11517 [BZ #20115]
11518 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
11519 Remove alignments on jump targets.
11520
11521 2016-05-19 Joseph Myers <joseph@codesourcery.com>
11522
11523 * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
11524 (getpwent): Likewise.
11525 (setpwent): Likewise.
11526 * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
11527 variable.
11528
11529 * conform/data/search.h-data (insque): Do not expect for [XPG3].
11530 (remque): Likewise.
11531 * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
11532 variable.
11533
11534 2016-05-18 Joseph Myers <joseph@codesourcery.com>
11535
11536 * math/libm-test.inc: Update comment not to refer to signs of NaNs
11537 not being tested.
11538
11539 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
11540
11541 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
11542 (__condvar_cleanup2): Remove JUMPTARGET from _Unwind_Resume
11543 call.
11544 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
11545 (__condvar_cleanup1): Likewise.
11546
11547 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
11548
11549 * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
11550 New
11551 (__pthread_unwind): Renamed to ...
11552 (PTHREAD_UNWIND): This.
11553 (__pthread_enable_asynccancel): Replace
11554 JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
11555
11556 2016-05-18 Joseph Myers <joseph@codesourcery.com>
11557
11558 * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
11559 (CLONE_NEWCGROUP): New macro.
11560
11561 * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
11562 (Q_GETNEXTQUOTA): New macro.
11563
11564 2016-05-18 H.J. Lu <hongjiu.lu@intel.com>
11565
11566 [BZ #19907]
11567 * benchtests/bench-memcpy.c (do_one_test): Clear the destination
11568 buffer updated by the previous run.
11569 * string/test-memcpy.c (do_one_test): Likewise.
11570 * benchtests/bench-memmove.c (do_one_test): Add a comment.
11571 * string/test-memmove.c (do_one_test): Likewise.
11572
11573 2016-05-17 Joseph Myers <joseph@codesourcery.com>
11574
11575 [BZ #20094]
11576 * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
11577 not [__USE_XOPEN].
11578 (unlockpt): Likewise.
11579 (ptsname): Likewise.
11580 * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
11581 variable.
11582
11583 [BZ #20076]
11584 * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
11585 instead of [__USE_UNIX98].
11586 (S_ISSOCK): Likewise.
11587 * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
11588 variable.
11589
11590 [BZ #20074]
11591 * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
11592 [__USE_POSIX].
11593 * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
11594 variable.
11595
11596 [BZ #20051]
11597 * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
11598 (ttyslot): Do not declare.
11599 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
11600 (ttyslot): New prototype.
11601 * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
11602 variable.
11603 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
11604
11605 2016-05-17 Stefan Liebler <stli@linux.vnet.ibm.com>
11606
11607 * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
11608
11609 2016-05-13 Florian Weimer <fweimer@redhat.com>
11610
11611 Fix race condition in tst-mallocfork2, use fewer resources.
11612 * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
11613 to current process group.
11614 (signal_sender): Yield in the non-sleeping case.
11615
11616 2016-05-13 Joseph Myers <joseph@codesourcery.com>
11617
11618 * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
11619 (ecvt): Likewise.
11620 (fcvt): Likewise.
11621 (gcvt): Likewise.
11622 (getsubopt): Likewise.
11623 (grantpt): Likewise.
11624 (initstate): Likewise.
11625 (l64a): Likewise.
11626 (mktemp): Likewise.
11627 (mkstemp): Likewise.
11628 (ptsname): Likewise.
11629 (random): Likewise.
11630 (realpath): Likewise.
11631 (setstate): Likewise.
11632 (srandom): Likewise.
11633 (ttyslot): Likewise.
11634 (unlockpt): Likewise.
11635 (valloc): Likewise.
11636
11637 * conform/data/string.h-data (strdup): Do not expect for [XPG3].
11638 * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
11639 variable.
11640
11641 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
11642
11643 [BZ #20072]
11644 * sysdeps/i386/dl-machine.h (dl_platform_init): Call
11645 init_cpu_features only if SHARED is defined.
11646 * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
11647
11648 2016-05-13 H.J. Lu <hongjiu.lu@intel.com>
11649
11650 * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
11651 non-inclusive caches on Intel processors.
11652
11653 2016-05-13 Florian Weimer <fweimer@redhat.com>
11654
11655 * malloc/malloc.c (dumped_main_arena_start)
11656 (dumped_main_arena_end): New variables.
11657 (DUMPED_MAIN_ARENA_CHUNK): New macro.
11658 (do_check_chunk): Skip dumped fake mmapped chunks.
11659 (munmap_chunk): Likewise.
11660 (__libc_free): Do not adjust statistics for fake mmapped chunks.
11661 (__libc_realloc): Adjust hardening check. Always copy dumped fake
11662 mmapped chunks.
11663 * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
11664 Mark dumped chunks as using mmap. Update dumped_main_arena_start
11665 and dumped_main_arena_end to cover the dumped heap.
11666
11667 2016-05-12 Joseph Myers <joseph@codesourcery.com>
11668
11669 * conform/data/time.h-data (getdate_err): Do not expect for
11670 [XPG3].
11671 (getdate): Likewise.
11672 * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
11673 variable.
11674
11675 * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
11676 (F_ULOCK): Likewise.
11677 (F_TEST): Likewise.
11678 (F_TLOCK): Likewise.
11679 (useconds_t): Likewise.
11680 (intptr_t): Do not expect for [XPG3] or [XPG4].
11681 (brk): Do not expect for [XPG3]
11682 (fchown): Likewise.
11683 (fchdir): Likewise.
11684 (ftruncate): Likewise.
11685 (getdtablesize): Likewise.
11686 (gethostid): Likewise.
11687 (getpagesize): Likewise.
11688 (getpgid): Likewise.
11689 (getsid): Likewise.
11690 (getwd): Likewise.
11691 (lchown): Likewise.
11692 (lockf): Likewise.
11693 (readlink): Likewise.
11694 (sbrk): Likewise.
11695 (setpgrp): Likewise.
11696 (setregid): Likewise.
11697 (setreuid): Likewise.
11698 (symlink): Likewise.
11699 (sync): Likewise.
11700 (truncate): Likewise.
11701 (ualarm): Likewise.
11702 (usleep): Likewise.
11703 (vfork): Likewise.
11704 * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
11705 variable.
11706
11707 [BZ #20054]
11708 * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
11709 not [__USE_UNIX98].
11710 * conform/data/unistd.h-data (gethostname): Do not expect for
11711 [XPG3].
11712
11713 * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
11714 [!POSIX] (S_IFBLK): Likewise.
11715 [!POSIX] (S_IFCHR): Likewise.
11716 [!POSIX] (S_IFIFO): Likewise.
11717 [!POSIX] (S_IFREG): Likewise.
11718 [!POSIX] (S_IFDIR): Likewise.
11719 [!POSIX] (S_IFLNK): Likewise.
11720 [!POSIX] (S_IFSOCK): Likewise.
11721 * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
11722 variable.
11723 (test-xfail-XPG4/fcntl.h/conform): Likewise.
11724
11725 2016-05-12 Wilco Dijkstra <wdijkstr@arm.com>
11726
11727 * sysdeps/aarch64/memset.S (__memset):
11728 Rewrite of optimized memset.
11729
11730 2016-05-12 Florian Weimer <fweimer@redhat.com>
11731
11732 [BZ #19703]
11733 Partially async-signal-safe fork for single-threaded processes.
11734 * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
11735 variable. Do not acquire and reset/release malloc and libio locks
11736 in single-threaded processes.
11737 * malloc/tst-mallocfork2.c: New file.
11738 * malloc/Makefile (tests): Add it.
11739
11740 2016-05-12 Florian Weimer <fweimer@redhat.com>
11741
11742 * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
11743 argument. Use scratch buffer instead of extend_alloca.
11744 (gethosts): Use scratch buffer instead of extend_alloca.
11745 (gaih_inet): Add tmpbuf argument. Use scratch buffer instead of
11746 extend_alloca.
11747 (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
11748
11749 2016-05-11 Joseph Myers <joseph@codesourcery.com>
11750
11751 [BZ #20055]
11752 * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
11753 instead of [__USE_UNIX98].
11754 (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
11755 [__USE_UNIX98].
11756 * conform/data/termios.h-data (tcgetsid): Do not expect for
11757 [XPG3].
11758 * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
11759 variable.
11760 (test-xfail-XPG4/termios.h/conform): Likewise.
11761
11762 2016-05-11 Florian Weimer <fweimer@redhat.com>
11763
11764 Do not use mcheck in localedef.
11765 * locale/programs/localedef.c (turn_on_mcheck)
11766 (__malloc_initialize_hook): Remove.
11767
11768 2016-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
11769
11770 * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
11771 * sysdeps/s390/s390-64/Makefile: Likewise.
11772
11773 2016-05-11 H.J. Lu <hongjiu.lu@intel.com>
11774
11775 * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
11776 Remove ifunc-defines.sym.
11777 * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
11778 Likewise.
11779 * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
11780 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
11781 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
11782 * sysdeps/x86/Makefile (gen-as-const-headers): Remove
11783 rtld-global-offsets.sym.
11784 * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
11785 * sysdeps/x86/cpu-features-offsets.sym: This.
11786 * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
11787 instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
11788
11789 2016-05-10 Joseph Myers <joseph@codesourcery.com>
11790
11791 [BZ #20073]
11792 * io/sys/stat.h (fchmod): Declare for
11793 [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
11794 * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
11795 variable.
11796
11797 * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
11798 [XPG3] (S_IFSOCK): Likewise.
11799 [XPG3] (S_ISVTX): Likewise.
11800 [XPG3] (S_ISLNK): Likewise.
11801 [XPG3] (S_ISSOCK): Likewise.
11802 [XPG3] (fchmod): Likewise.
11803 [XPG3] (lstat): Likewise.
11804 [XPG3] (mknod): Likewise.
11805
11806 * conform/data/sys/stat.h-data (st_blksize): Do not expect for
11807 [XPG3]. Expect type long and XFAIL for [XPG4].
11808 (st_blocks): Likewise.
11809
11810 [BZ #20044]
11811 * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
11812 (pthread_atfork): New prototype.
11813 * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
11814 variable.
11815
11816 [BZ #20043]
11817 * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
11818 prototype.
11819
11820 2016-05-10 Florian Weimer <fweimer@redhat.com>
11821
11822 [BZ #20017]
11823 * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
11824 gmtime.
11825
11826 2016-05-10 Florian Weimer <fweimer@redhat.com>
11827
11828 [BZ #19994]
11829 * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
11830 flag in _res.options.
11831
11832 2016-05-09 Joseph Myers <joseph@codesourcery.com>
11833
11834 * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
11835 [XPG3 || XPG4].
11836 (blksize_t): Likewise.
11837 (clockid_t): Likewise.
11838 * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
11839 variable.
11840 (test-xfail-XPG4/sys/types.h/conform): Likewise.
11841
11842 2016-05-09 Stefan Liebler <stli@linux.vnet.ibm.com>
11843
11844 * sysdeps/unix/sysv/linux/s390/init-first.c:
11845 Add VDSO_SYMBOL(getcpu).
11846 (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
11847 * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
11848 Add VDSO_SYMBOL(getcpu).
11849 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
11850 New define HAVE_GETCPU_VSYSCALL.
11851 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
11852
11853 2016-05-08 H.J. Lu <hongjiu.lu@intel.com>
11854
11855 * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
11856 instead of <sysdeps/x86_64/cacheinfo.c>.
11857 * sysdeps/x86_64/cacheinfo.c: Moved to ...
11858 * sysdeps/x86/cacheinfo.c: Here.
11859
11860 2016-05-04 Florian Weimer <fweimer@redhat.com>
11861
11862 * malloc/malloc-internal.h: Adjust header file guard.
11863
11864 2016-05-04 Florian Weimer <fweimer@redhat.com>
11865
11866 [BZ #19787]
11867 * inet/getnameinfo.c (check_sprintf_result): New function.
11868 (CHECKED_SNPRINTF): New macro.
11869 (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
11870 to the host buffer.
11871 (gni_host_local): Use checked_copy to copy the host name.
11872 (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
11873 (gni_serv_local): Use checked_copy to copy the service name.
11874 (getnameinfo): Remove unnecessary truncation of result buffers.
11875
11876 2016-05-04 Florian Weimer <fweimer@redhat.com>
11877
11878 * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
11879 in case of inet_ntop failure.
11880
11881 2016-05-04 Florian Weimer <fweimer@redhat.com>
11882
11883 * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
11884 avoid long lines.
11885 (gni_host_inet_numeric): Likewise. Reduce scope of local
11886 variables.
11887 (gni_host_inet, gni_host_local): Add comment.
11888 (gni_host): Add comment. Use temporary to avoid long lines.
11889
11890 2016-05-04 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
11891
11892 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
11893 registers specifiers where general purpose registers specifiers should
11894 have been used.
11895
11896 2016-05-04 Florian Weimer <fweimer@redhat.com>
11897
11898 [BZ #19779]
11899 CVE-2016-1234
11900 Avoid copying names of directory entries.
11901 * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
11902 (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
11903 (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
11904 (struct readdir_result): New type.
11905 (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
11906 (GL_READDIR): New macros.
11907 (readdir_result_might_be_symlink, readdir_result_might_be_dir)
11908 (convert_dirent, convert_dirent64): New functions.
11909 (glob_in_dir): Use struct readdir_result. Call convert_dirent or
11910 convert_dirent64. Adjust references to the readdir result.
11911 * sysdeps/unix/sysv/linux/i386/glob64.c:
11912 (convert_dirent, GL_READDIR): Redefine for second file inclusion.
11913 * posix/bug-glob2.c (LONG_NAME): Define.
11914 (filesystem): Add LONG_NAME.
11915 (my_DIR): Increase the size of room_for_dirent.
11916
11917 2016-05-03 Joseph Myers <joseph@codesourcery.com>
11918
11919 [BZ #20041]
11920 * misc/sys/select.h (__need_timespec): Only define if
11921 [__USE_XOPEN2K].
11922 * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
11923 variable.
11924 (test-xfail-XPG4/utmpx.h/conform): Likewise.
11925 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
11926 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
11927
11928 2016-05-03 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
11929 Segher Boessenkool <segher@gcc.gnu.org>
11930
11931 [BZ #20004]
11932 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
11933 (__novec_swapcontext): Add missing load.
11934
11935 2016-05-02 Joseph Myers <joseph@codesourcery.com>
11936
11937 [BZ #20023]
11938 * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
11939 <time.h>.
11940 * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
11941 variable.
11942 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
11943
11944 2016-05-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
11945
11946 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
11947 flags CLONE_VM compare.
11948
11949 2016-05-02 Florian Weimer <fweimer@redhat.com>
11950
11951 [BZ #20031]
11952 * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
11953 completely empty.
11954
11955 2016-05-02 Florian Weimer <fweimer@redhat.com>
11956
11957 [BZ #19573]
11958 * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
11959 * hesiod/nss_hesiod/hesiod-init.c: Remove file.
11960 * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
11961 * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
11962 (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
11963 (hesiod_free_list): Mark as hidden.
11964 * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
11965 res_set, res_get.
11966 * hesiod/hesiod.c: Remove unnecessary forward declarations.
11967 (init, __hesiod_res_get, __hesiod_res_set): Remove.
11968 (hesiod_init): Remove obsolete res_ninit call.
11969 (hesiod_end): Do not free resolver state. Do not invoke callback.
11970 (hesiod_bind): Do not call init.
11971 (get_txt_records): Use res_mkquery, res_send instead of
11972 res_nmkquery, res_nsend.
11973 * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
11974 instead of _nss_hesiod_init.
11975 (_nss_hesiod_initgroups_dyn): Likewise.
11976 * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
11977 * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
11978 * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
11979
11980 2016-05-02 Florian Weimer <fweimer@redhat.com>
11981
11982 * hesiod/hesiod_p.h (DEF_RHS): Remove.
11983 * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
11984
11985 2016-05-02 Florian Weimer <fweimer@redhat.com>
11986
11987 * hesiod/hesiod.h: Remove RCS keyword.
11988 * hesiod/hesiod_p.h: Likewise.
11989
11990 * hesiod/hesiod.c: Likewise.
11991
11992 2016-05-01 Arnas Udovičius <arnas.udovicius@gmail.com>
11993
11994 [BZ #12450]
11995 * locale/iso-639.def: Add Samogitian/sgs.
11996
11997 2016-04-30 Andreas Schwab <schwab@linux-m68k.org>
11998
11999 * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
12000
12001 * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
12002
12003 2016-04-29 Stephen Gallagher <sgallagh@redhat.com>
12004 Carlos O'Donell <carlos@redhat.com>
12005
12006 [BZ #19072]
12007 * grp/Makefile (headers): Add grp-merge.h
12008 (routines): Add grp-merge.
12009 * grp/getgrgid_r.c: Include grp-merge.h.
12010 (DEEPCOPY_FN): Define.
12011 (MERGE_FN): Define.
12012 * grp/getgrname_r.c: Include grp-merge.h.
12013 (DEEPCOPY_FN): Define.
12014 (MERGE_FN): Define.
12015 * grp/grp-merge.c: New file.
12016 * grp/grp-merge.h: New file.
12017 * include/grp-merge.h: New file.
12018 * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
12019 __copy_grp@GLIBC_PRIVATE.
12020 * manual/nss.texi (Actions in the NSS configuration): Describe
12021 return, continue, and merge.
12022 * nscd/getgrgid_r.c: Include grp/grp-merge.h.
12023 (DEEPCOPY_FN): Define.
12024 (MERGE_FN): Define.
12025 * nscd/getgrnam_r.c: Include grp/grp-merge.h.
12026 (DEEPCOPY_FN): Define.
12027 (MERGE_FN): Define.
12028 * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
12029 [!MERGE_FN]: Define __merge_einval.
12030 (CHECK_MERGE): Define.
12031 (REENTRANT_NAME): Process merge if do_merge is true.
12032 * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
12033 (__nss_getent_r): Likewise.
12034 * nss/nsswitch.c (nss_parse_service_list): Likewise.
12035 * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
12036
12037 2016-04-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12038
12039 [BZ #20012]
12040 * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
12041 length to calculate the buffer to read.
12042 (fmemopen_write): Set the buffer position based on bytes written.
12043 (fmemopen_seek): Return EINVAL for invalid whence modes.
12044
12045 [BZ #19957]
12046 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
12047 tst-getpid2.
12048 (test): Add tst-clone2.
12049 * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
12050 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
12051 pid/tid fields for CLONE_VM.
12052 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
12053 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
12054 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
12055 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
12056 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
12057 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
12058 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
12059 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
12060 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
12061 Likewise.
12062 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
12063 Likewise.
12064 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
12065 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
12066 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
12067 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
12068 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
12069 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
12070 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
12071 * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
12072
12073 2016-04-29 Florian Weimer <fweimer@redhat.com>
12074
12075 [BZ #19642]
12076 * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
12077 (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
12078 (gni_serv_local, gni_serv): New functions extracted from
12079 getnameinfo.
12080 (getnameinfo): Call gni_host and gni_serv to perform the
12081 processing. Always free scratch buffer.
12082
12083 2016-04-29 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
12084
12085 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
12086 remaining bytes in the dest string, with zeros.
12087
12088 2016-04-29 Florian Weimer <fweimer@redhat.com>
12089
12090 [BZ #20010]
12091 CVE-2016-3706
12092 * sysdeps/posix/getaddrinfo.c
12093 (convert_hostent_to_gaih_addrtuple): New function.
12094 (gethosts): Call convert_hostent_to_gaih_addrtuple.
12095 (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
12096 AF_INET data.
12097
12098 2016-04-29 Florian Weimer <fweimer@redhat.com>
12099
12100 glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
12101 callback function gl_readdir.
12102 * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
12103 (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
12104 (glob_in_dir): Remove len. Use strdup instead of malloc and
12105 memcpy to copy the name.
12106 * manual/pattern.texi (Calling Glob): Document requirements for
12107 implementations of the gl_readdir callback function.
12108 * manual/examples/mkdirent.c: New example.
12109 * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
12110 per the manual guidance.
12111 * posix/tst-gnuglob.c (my_readdir): Likewise.
12112
12113 2016-04-28 Joseph Myers <joseph@codesourcery.com>
12114
12115 [BZ #20014]
12116 * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
12117 not [__USE_POSIX].
12118 (getchar_unlocked): Likewise.
12119 (putc_unlocked): Likewise.
12120 (putchar_unlocked): Likewise.
12121 (flockfile): Likewise.
12122 (ftrylockfile): Likewise.
12123 (funlockfile): Likewise.
12124 * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
12125 variable.
12126 (test-xfail-XPG4/stdio.h/conform): Likewise.
12127
12128 * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
12129 Expect constant.
12130 [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
12131 * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
12132 variable.
12133 (test-xfail-XPG4/langinfo.h/conform): Likewise.
12134 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
12135
12136 * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
12137 [__USE_LARGEFILE64] (off64_t): Likewise.
12138 * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
12139 variable.
12140
12141 2016-04-28 Florian Weimer <fweimer@redhat.com>
12142
12143 * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
12144
12145 2016-04-28 Florian Weimer <fweimer@redhat.com>
12146
12147 * resolv/inet_addr.c: Reindent preprocessor conditionals.
12148 * resolv/res_init.c: Likewise.
12149 * resolv/res_mkquery.c: Likewise.
12150
12151 2016-04-28 Florian Weimer <fweimer@redhat.com>
12152
12153 * resolv/res_init.c (isascii): Do not define. Use definition in
12154 <ctype.h>.
12155 * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
12156 (LOG_AUTH): Remove.
12157 (SPRINTF): Remove, adjust caller.
12158 (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
12159
12160 2016-04-28 Florian Weimer <fweimer@redhat.com>
12161
12162 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
12163 SUNSECURITY conditional.
12164 * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
12165
12166 2016-04-28 Florian Weimer <fweimer@redhat.com>
12167
12168 * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
12169 * resolv/gethnamaddr.c: Use include files from conf/portability.h.
12170 Remove BSD-related preprocessor conditionals.
12171 * conf/portability.h: Remove.
12172
12173 2016-04-28 Florian Weimer <fweimer@redhat.com>
12174
12175 * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
12176 * resolv/res_data.c: Likewise.
12177
12178 2016-04-28 Florian Weimer <fweimer@redhat.com>
12179
12180 * resolv/res_comp.c: Remove code conditional on __ultrix__.
12181 * resolv/res_data.c: Remove code conditional on ultrix.
12182
12183 2016-04-28 Florian Weimer <fweimer@redhat.com>
12184
12185 * resolv/res_init.c (RFC1535): Do not define. Remove
12186 RFC1535 preprocessor conditionals.
12187 * resolv/README: Update. Do not claim strict RFC 1535 compliance
12188 because there configuration options which make the resolver
12189 behavior different.
12190
12191 2016-04-28 Florian Weimer <fweimer@redhat.com>
12192
12193 * resolv/gethnamaddr.c (RESOLVSORT): Do not define. Remove
12194 RESOLVSORT preprocessor conditionals.
12195 * resolv/nss_dns/dns-host.c: Likewise.
12196 * resolv/res_init.c: Likewise.
12197
12198 2016-04-28 Florian Weimer <fweimer@redhat.com>
12199
12200 * resolv/res_data.c: Remove code conditional on BIND_UPDATE. It
12201 is never defined.
12202
12203 2016-04-28 Florian Weimer <fweimer@redhat.com>
12204
12205 * inet/inet_lnaof.c: Remove SCSS keyword.
12206 * inet/inet_mkadr.c: Likewise.
12207 * inet/inet_net.c: Likewise.
12208 * inet/inet_netof.c: Likewise.
12209 * inet/rcmd.c: Likewise.
12210 * inet/rexec.c: Likewise.
12211 * inet/ruserpass.c: Likewise.
12212
12213 2016-04-28 Florian Weimer <fweimer@redhat.com>
12214
12215 * resolv/inet_addr.c: Remove _LIBC conditionals.
12216 * resolv/res_data.c: Likewise.
12217 * resolv/res_init.c: Likewise.
12218 * resolv/res_mkquery.c: Likewise.
12219 * resolv/res_libc.c: Update comment.
12220 * resolv/README: Update.
12221
12222 2016-04-28 Florian Weimer <fweimer@redhat.com>
12223
12224 * resolv/gethnamaddr.c: Remove SCSS keyword.
12225 * resolv/herror.c: Likewise.
12226 * resolv/inet_addr.c: Likewise.
12227 * resolv/inet_net_ntop.c: Likewise.
12228 * resolv/inet_net_pton.c: Likewise.
12229 * resolv/inet_neta.c: Likewise.
12230 * resolv/inet_ntop.c: Likewise.
12231 * resolv/inet_pton.c: Likewise.
12232 * resolv/ns_date.c: Remove RCS keyword.
12233 * resolv/ns_name.c: Likewise.
12234 * resolv/ns_netint.c: Likewise.
12235 * resolv/ns_parse.c: Likewise.
12236 * resolv/ns_print.c: Likewise.
12237 * resolv/ns_samedomain.c: Likewise.
12238 * resolv/ns_ttl.c: Likewise.
12239 * resolv/nsap_addr.c: Likewise.
12240 * resolv/res_comp.c: Remove SCSS and RCS keyword.
12241 * resolv/res_data.c: Remove RCS keyword.
12242 * resolv/res_debug.c: Remove SCSS and RCS keyword.
12243 * resolv/res_init.c: Likewise.
12244 * resolv/res_mkquery.c: Likewise.
12245 * resolv/res_query.c: Likewise.
12246 * resolv/res_send.c: Likewise.
12247
12248 2016-04-27 Joseph Myers <joseph@codesourcery.com>
12249
12250 * conform/data/stdio.h-data (fdopen): Expect also for
12251 [XPG3 || XPG4].
12252
12253 * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
12254 (fseeko): Likewise.
12255 (ftello): Likewise.
12256 (ftrylockfile): Likewise.
12257 (funlockfile): Likewise.
12258 (getc_unlocked): Likewise.
12259 (getchar_unlocked): Likewise.
12260 (putc_unlocked): Likewise.
12261 (putchar_unlocked): Likewise.
12262
12263 2016-04-27 Florian Weimer <fweimer@redhat.com>
12264
12265 [BZ #19868]
12266 * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
12267 DNS packet syntax checks (which were not needed before). Skip
12268 over non-PTR records.
12269
12270 2016-04-27 Florian Weimer <fweimer@redhat.com>
12271
12272 * resolv/nss_dns/dns-network.c (offsetof): Remove macro
12273 definition. Include <stddef.h> instead.
12274
12275 2016-04-27 Florian Weimer <fweimer@redhat.com>
12276
12277 [BZ #19831]
12278 * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
12279 function.
12280 (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
12281 (gaih_getanswer_slice): Check RDATA length against RRTYPE.
12282
12283 2016-04-27 Florian Weimer <fweimer@redhat.com>
12284
12285 [BZ #19862]
12286 * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
12287 (getanswer_r): Do not call syslog.
12288 (gaih_getanswer_slice): Likewise.
12289 * resolv/gethnamaddr.c (AskedForGot): Remove.
12290 (getanswer): Do not call syslog.
12291 (gethostbyaddr): Likewise.
12292
12293 2016-04-27 Joseph Myers <joseph@codesourcery.com>
12294
12295 * conform/data/signal.h-data (union sigval): Expect also if
12296 [XOPEN2K].
12297 (struct sigevent): Likewise.
12298 (SIGEV_NONE): Likewise.
12299 (SIGEV_SIGNAL): Likewise.
12300 (SIGEV_THREAD): Likewise.
12301 (SIGRTMIN): Likewise.
12302 (SIGRTMAX): Likewise.
12303 * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
12304 variable.
12305 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
12306
12307 2016-04-27 Florian Weimer <fweimer@redhat.com>
12308
12309 [BZ #19830]
12310 * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
12311 (gaih_getanswer_slice): Likewise.
12312 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
12313 Also check for availability of RR metadata.
12314
12315 2016-04-27 Florian Weimer <fweimer@redhat.com>
12316
12317 [BZ #19825]
12318 * resolv/res_send.c (send_vc): Remove early *resplen2
12319 initialization. Set *resplen2 on socket error. Call
12320 close_and_return_error for other errors.
12321
12322 2016-04-27 Stefan Liebler <stli@linux.vnet.ibm.com>
12323
12324 * sysdeps/unix/sysv/linux/netiucv/iucv.h
12325 (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
12326 (SCM_IUCV_TRGCLS): New define.
12327
12328 2016-04-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12329
12330 [BZ #20005]
12331 * libio/fmemopen.c (fmemopen_write): Update internal position after
12332 write.
12333 * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
12334 * stdio-common/tst-fmemopen4.c: New file..
12335
12336 2016-04-26 Joseph Myers <joseph@codesourcery.com>
12337
12338 [BZ #19996]
12339 * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
12340 not [__USE_XOPEN2K].
12341 * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
12342 variable.
12343
12344 * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
12345 * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
12346 variable.
12347
12348 * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
12349 [__USE_XOPEN2K8].
12350 [__USE_LARGEFILE64] (off64_t): Likewise.
12351 * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
12352 variable.
12353
12354 2016-04-25 Joseph Myers <joseph@codesourcery.com>
12355
12356 [BZ #19989]
12357 * libio/stdio.h (cuserid): Do not declare if
12358 [__USE_XOPEN2K && !__USE_GNU].
12359 * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
12360 variable.
12361
12362 2016-04-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12363
12364 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12365 (sysdep_routines): Add P8 and PPC64 strcspn targets.
12366 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12367 (__libc_ifunc_impl_list): Add entries for P8 and PPC64
12368 ifunc'ed strcspn.
12369 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12370 [EALIGN]: Removed.
12371 [END]: Likewise
12372 [STRSPN]: Define instead of the above to control symbol name.
12373 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
12374 New file.
12375 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
12376 Likewise.
12377 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
12378 Likewise.
12379 * sysdeps/powerpc/powerpc64/power8/strcspn.S:
12380 Likewise.
12381 * sysdeps/powerpc/powerpc64/power8/strspn.S:
12382 [INITIAL_MASK]: New macro.
12383 [STRCSPN]: Likewise.
12384 [UPDATE_MASK]: Likewise.
12385 [USE_AS_STRCSPN]: Likewise.
12386
12387 2016-04-25 Florian Weimer <fweimer@redhat.com>
12388
12389 [BZ #19931]
12390 * stdio-common/tst-vfprintf-width-prec.c: New file.
12391 * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
12392 (tests-special): Add tst-vfprintf-width-prec-mem.out.
12393 (generated): Add mtrace-related files.
12394 (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
12395 (tst-%-mem.out): New pattern rule, replaces
12396 tst-printf-bz18872-mem.out.
12397 * stdio-common/vfprintf.c (vfprintf): When handling a precision
12398 specifier, deallocate any previously allocated work buffer.
12399
12400 2016-04-25 Chung-Lin Tang <cltang@codesourcery.com>
12401
12402 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
12403 Add nop before __startcontext, add explaining comments.
12404
12405 2016-04-25 Samuel thibault <samuel.thibault@ens-lyon.org>
12406
12407 RFC2292 macros were obsoleted by RFC3542, and should not be exposed
12408 any more. Notably since IPV6_PKTINFO has been reintroduced with a
12409 completely different API.
12410
12411 * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
12412 (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
12413 (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
12414 (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
12415 (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
12416 (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
12417 (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
12418 IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
12419 IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
12420 IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
12421
12422 2016-04-23 H.J. Lu <hongjiu.lu@intel.com>
12423
12424 * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
12425
12426 2016-04-23 Mike Frysinger <vapier@gentoo.org>
12427
12428 * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
12429 when it is the default of 0.
12430
12431 2016-04-22 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
12432
12433 * sysdeps/powerpc/locale-defines.sym: Add new macros.
12434 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12435 (sysdep_routines): Add new strcasestr targets.
12436 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12437 (__libc_ifunc_impl_list): Likewise.
12438 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
12439 * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
12440 * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
12441 * sysdeps/powerpc/powerpc64/power8/Makefile:
12442 New file to add strcasestr-ppc64 to sysdep_routines.
12443 * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
12444 * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
12445
12446 2016-04-20 Siddhesh Poyarekar <sid@reserved-bit.com>
12447
12448 * benchtests/Makefile (wcsmbs-benchset): Include only for
12449 native builds and runs.
12450 (LOCALES): Likewise.
12451 (bench-build): Build timing-type here instead of the bench
12452 target. Generate locale only for native builds.
12453 * benchtests/README: Add note for cross-building.
12454
12455 * benchtests/Makefile (bench-clean): Clean up extra-objs.
12456
12457 * benchtests/README: Update README to include instructions on
12458 using bench-build.
12459
12460 * Makefile.in (bench-build): New target.
12461 * Rules (PHONY): Add bench-build target.
12462 * benchtests/Makefile (bench): Depend on bench-build.
12463 (bench-build): New target.
12464
12465 2016-04-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
12466
12467 * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
12468 profil_reply_port.
12469 (profile_waiter): Do not initialize profil_reply_port.
12470 * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
12471 frequency instead of tick length in us.
12472
12473 2016-04-18 Wilco Dijkstra <wdijkstr@arm.com>
12474
12475 [BZ #18712]
12476 * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
12477 (__old_mempcpy_small): Likewise.
12478 (__old_strcpy_small): Likewise.
12479 (__old_stpcpy_small): Likewise.
12480 (__old_strpbrk_c2): Fix compat symbol name.
12481 (__old_strpbrk_c3): Likewise.
12482 * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
12483 (__mempcpy_small): Remove.
12484 (__strcpy_small): Remove.
12485 (__stpcpy_small): Remove.
12486
12487 2016-04-16 Robin van der Vliet <info@robinvandervliet.com>
12488
12489 [BZ #19400]
12490 * locale/iso-639.def: Add the Talossan/tzl language.
12491
12492 2016-04-16 Mike Frysinger <vapier@gentoo.org>
12493
12494 [BZ #16983]
12495 * locale/programs/ld-address.c (address_finish): Update postal_fmt
12496 comment. Add "ln" to strchr check on postal_fmt.
12497
12498 2016-04-16 Mike Frysinger <vapier@gentoo.org>
12499
12500 * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
12501 default tel_int_fmt. Add "Cet" to strchr check on tel_int_fmt and
12502 tel_dom_fmt.
12503
12504 2016-04-15 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
12505
12506 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12507 (sysdep_routines): Added __strlen_power8.
12508 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
12509 __strlen_power8 entry.
12510 * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
12511 Implementation for POWER8.
12512 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
12513 for __strlen_power8.
12514 * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
12515 Implementation for POWER8.
12516
12517 2016-04-15 Mike Frysinger <vapier@gentoo.org>
12518
12519 * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
12520
12521 2016-04-15 H.J. Lu <hongjiu.lu@intel.com>
12522
12523 * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
12524 Goldmont and Airmont processors.
12525
12526 2016-04-15 Wilco Dijkstra <wdijkstr@arm.com>
12527
12528 * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
12529 * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
12530 (__STRING2_SMALL_GET32): Remove.
12531 (memset): Remove.
12532 (__memset_1): Remove.
12533 (__memset_gc): Remove.
12534 (__mempcpy): Remove.
12535 (mempcpy): Remove.
12536 (__mempcpy_args): Remove.
12537 (strchr): Remove.
12538 (strcpy): Remove.
12539 (strcpy_args): Remove.
12540 (__stpcpy_args): Remove.
12541 (__strcmp_cc): Remove.
12542 (__strcmp_gc): Remove.
12543 (strstr): Remove.
12544
12545 2016-04-15 Yvan Roux <yvan.roux@linaro.org>
12546
12547 * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
12548 * nis/nis_call.c (nis_server_cache_add): Likewise.
12549
12550 2016-04-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12551
12552 * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
12553
12554 2016-04-14 Florian Weimer <fweimer@redhat.com>
12555
12556 * malloc/arena.c (__malloc_fork_lock_parent)
12557 (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
12558 internal_function attribute.
12559
12560 2016-04-14 Stefan Liebler <stli@linux.vnet.ibm.com>
12561
12562 * stdio-common/printf_fp.c (__printf_fp_l):
12563 Rename ___printf_fp_l to __printf_fp_l and
12564 remove strong alias. Use libc_hidden_def instead
12565 of ldbl_hidden_def macro.
12566
12567 2016-04-14 Florian Weimer <fweimer@redhat.com>
12568
12569 Remove malloc hooks from fork handler. They are no longer needed
12570 because malloc runs right before fork, and no malloc calls from
12571 other fork handlers are not possible anymore.
12572 * malloc/malloc.c (malloc_atfork, free_atfork): Remove
12573 declarations.
12574 * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
12575 (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
12576 (atfork_recursive_cntr): Remove.
12577 (__malloc_fork_lock_parent): Do not override malloc hooks and
12578 thread_arena.
12579 (__malloc_fork_unlock_parent): Do not restore malloc hooks and
12580 thread_arena.
12581 (__malloc_fork_unlock_child): Do not restore malloc hooks. Use
12582 thread_arena instead of save_arena.
12583
12584 2016-04-14 Florian Weimer <fweimer@redhat.com>
12585
12586 * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
12587 (thread_atfork, thread_atfork_static): Remove.
12588 * sysdeps/mach/hurd/malloc-machine.h:
12589 (thread_atfork, thread_atfork_static): Remove.
12590
12591 2016-04-14 Florian Weimer <fweimer@redhat.com>
12592
12593 [BZ #19431]
12594 Run the malloc fork handler as late as possible to avoid deadlocks.
12595 * malloc/malloc-internal.h: New file.
12596 * malloc/malloc.c: Include it.
12597 * malloc/arena.c (ATFORK_MEM): Remove.
12598 (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
12599 Update comment.
12600 (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
12601 (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
12602 Remove outdated comment.
12603 (ptmalloc_init): Do not call thread_atfork. Remove
12604 thread_atfork_static.
12605 * malloc/tst-malloc-fork-deadlock.c: New file.
12606 * Makefile (tests): Add tst-malloc-fork-deadlock.
12607 (tst-malloc-fork-deadlock): Link against libpthread.
12608 * manual/memory.texi (Aligned Memory Blocks): Update safety
12609 annotation comments.
12610 * sysdeps/nptl/fork.c (__libc_fork): Call
12611 __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
12612 __malloc_fork_unlock_child.
12613 * sysdeps/mach/hurd/fork.c (__fork): Likewise.
12614
12615 2016-04-14 Florian Weimer <fweimer@redhat.com>
12616
12617 [BZ #19613]
12618 Remove union wait.
12619 * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
12620 (w_stopsig, w_stopval): Remove.
12621 * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
12622 stat_loc argument.
12623 * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
12624 (__WAIT_STATUS_DEFN): Remove.
12625 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12626 (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
12627 (wait, wait3, wait4): Use int * for the stat_loc argument.
12628 * posix/wait.c (__wait): Likewise.
12629 * posix/wait3.c (__wait3): Likewise.
12630 * posix/wait4.c (__wait4): Likewise.
12631 * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
12632 (__WAIT_STATUS_DEFN): Remove.
12633 (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
12634 (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
12635 * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
12636 argument.
12637 * sysdeps/posix/wait.c (__libc_wait): Likewise.
12638 * sysdeps/posix/wait3.c (__wait3): Likewise.
12639 * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
12640 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
12641 * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
12642 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
12643 stat_loc argument.
12644 * manual/process.texi (BSD Wait Functions): Remove union wait.
12645
12646 2016-04-13 Andreas Schwab <schwab@suse.de>
12647
12648 * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
12649 (test-extras): Add tst-tlsalign-vars.
12650 * math/Makefile: Wrap long lines.
12651 (libm-vec-test-wrappers): Define.
12652 (test-extras): Add $(libm-vec-test-wrappers).
12653 (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
12654 * nss/Makefile (extra-test-objs): Add nss_test1.os.
12655 * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
12656 * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
12657 tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
12658 (extra-test-objs): Add corresponding objects.
12659
12660 2016-04-12 H.J. Lu <hongjiu.lu@intel.com>
12661
12662 [BZ #19928]
12663 * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
12664 New.
12665 (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
12666 times of shared cache size.
12667 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
12668 (VMOVNT): New.
12669 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
12670 (VMOVNT): Likewise.
12671 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
12672 (VMOVNT): Likewise.
12673 (VMOVU): Changed to movups for smaller code sizes.
12674 (VMOVA): Changed to movaps for smaller code sizes.
12675 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
12676 comments.
12677 (PREFETCH): New.
12678 (PREFETCH_SIZE): Likewise.
12679 (PREFETCHED_LOAD_SIZE): Likewise.
12680 (PREFETCH_ONE_SET): Likewise.
12681 Rewrite to use forward and backward loops, which move 4 vector
12682 registers at a time, to support overlapping addresses and use
12683 non temporal store if size is above the threshold and there is
12684 no overlap between destination and source.
12685
12686 2016-04-12 Alex Smith <alex.smith@imgtec.com>
12687
12688 * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
12689 Include dl-vdso.
12690 * sysdeps/unix/sysv/linux/mips/Versions: Add
12691 __vdso_clock_gettime.
12692 * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
12693 * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
12694 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
12695 (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
12696 definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
12697 (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
12698 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
12699 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
12700 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
12701
12702 2016-04-11 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12703
12704 * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
12705 * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
12706 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
12707 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
12708 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
12709 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
12710 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
12711 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
12712 * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
12713 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
12714 syscalls generation.
12715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12716 [__NR_pwrite64] (__NR_write): Remove define.
12717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
12718 [__NR_pwrite64] (__NR_write): Remove define.
12719 * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
12720 Remove define.
12721 (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
12722 * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
12723 Remove define.
12724 (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
12725 * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
12726 Linux implementation as base.
12727 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12728
12729 * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
12730 * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
12731 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
12732 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
12733 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
12734 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
12735 * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
12736 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
12737 syscall generation.
12738 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
12739 [__NR_pread64] (__NR_pread): Remove define.
12740 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
12741 [__NR_pread64] (__NR_pread): Likewise.
12742 * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
12743 define.
12744 (__libc_pread): Use SYSCALL_LL macro on offset argument.
12745 * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
12746 Remove define.
12747 (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
12748 * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
12749 Linux implementation as base.
12750 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12751 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
12752 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
12753
12754 * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
12755 definition.
12756 (__ALIGNMENT_COUNT): Likewise.
12757 * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
12758 (__ALIGNMENT_COUNT): Likewise.
12759 (SYSCALL_LL): New define.
12760 (SYSCALL_LL64): Likewise.
12761 * sysdeps/unix/sysv/linux/mips/kernel-features.h:
12762 [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
12763 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
12764 [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
12765
12766 * sysdeps/unix/sysv/linux/arm/kernel-features.h
12767 (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
12768 * sysdeps/unix/sysv/linux/mips/kernel-features.h
12769 [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12770 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12771 [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
12772
12773 2016-04-11 Florian Weimer <fweimer@redhat.com>
12774
12775 [BZ #19865]
12776 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
12777 original buffer before retry.
12778
12779 2016-04-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
12780
12781 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
12782 [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
12783 * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
12784 GLRO(dl_auxv) list.
12785 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
12786 including <ldsodefs.h>.
12787 * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
12788
12789 2016-04-09 Nick Alcock <nick.alcock@oracle.com>
12790
12791 * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
12792 * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
12793 $(CPPFLAGS).
12794
12795 2016-04-09 Khem Raj <raj.khem@gmail.com>
12796
12797 [BZ #17950]
12798 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
12799 Add -mfpmath=387.
12800
12801 2016-04-09 Mike Frysinger <vapier@gentoo.org>
12802
12803 * sysdeps/i386/configure.ac: Change == to = when calling test.
12804 * sysdeps/x86_64/configure.ac: Likewise.
12805 * sysdeps/i386/configure: Regenerated.
12806 * sysdeps/x86_64/configure: Likewise.
12807
12808 2016-04-08 Mike Frysinger <vapier@gentoo.org>
12809
12810 [BZ #16137]
12811 * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
12812 * benchtests/bench-strcoll.c (input_files): Likewise.
12813 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
12814 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
12815 * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
12816
12817 2016-04-08 Joseph Myers <joseph@codesourcery.com>
12818
12819 [BZ #19929]
12820 * include/bits/xopen_lim.h (NL_NMAX): Do not define if
12821 [__USE_XOPEN2K8 && !__USE_GNU].
12822 * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
12823 variable.
12824
12825 [BZ #19925]
12826 * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
12827 define if [!__USE_MISC && __USE_XOPEN2K].
12828 * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
12829 * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
12830 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
12831 Likewise.
12832 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
12833 * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
12834 variable.
12835 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
12836
12837 2016-04-07 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
12838
12839 * sysdeps/powerpc/powerpc64/multiarch/Makefile:
12840 (sysdep_routines): Add new strspn targets.
12841 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
12842 (__libc_ifunc_impl_list): Add strspn.
12843 * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
12844 New file.
12845 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
12846 Likewise.
12847 * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
12848 Likewise.
12849 * sysdeps/powerpc/powerpc64/power8/strspn.S:
12850 Likewise.
12851
12852 2016-04-07 Florian Weimer <fweimer@redhat.com>
12853
12854 * misc/hsearch_r.c: Include <limits.h>.
12855
12856 2016-04-07 Florian Weimer <fweimer@redhat.com>
12857
12858 * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
12859
12860 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
12861
12862 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
12863 (MEMCPY_SYMBOL): New.
12864 (MEMPCPY_SYMBOL): Likewise.
12865 (MEMMOVE_CHK_SYMBOL): Likewise.
12866 Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
12867 symbols. Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
12868 __mempcpy symbols. Provide alias for __memcpy_chk in libc.a.
12869 Provide alias for memcpy in libc.a and ld.so.
12870
12871 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
12872
12873 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
12874 (MEMSET_CHK_SYMBOL): New. Define if not defined.
12875 (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
12876 Disabled fro now.
12877 Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
12878 symbols. Properly check USE_MULTIARCH on __memset symbols.
12879
12880 2016-04-06 H.J. Lu <hongjiu.lu@intel.com>
12881
12882 * benchtests/Makefile (string-benchset): Add memcpy-large,
12883 memmove-large and memset-large.
12884 * benchtests/bench-memcpy-large.c: New file.
12885 * benchtests/bench-memmove-large.c: Likewise.
12886 * benchtests/bench-memmove-large.c: Likewise.
12887 * benchtests/bench-string.h (TIMEOUT): Don't redefine.
12888
12889 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
12890
12891 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
12892 32-bit displacement to avoid long nop between instructions.
12893
12894 2016-04-05 H.J. Lu <hongjiu.lu@intel.com>
12895
12896 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
12897 a comment on VMOVU and VMOVA.
12898
12899 2016-04-04 Florian Weimer <fweimer@redhat.com>
12900
12901 [BZ #19633]
12902 Use specified locale for number formatting in strfmon_l.
12903 * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
12904 (__nl_lookup_word): New inline functions.
12905 * include/printf.h (__print_fp_l): Declare.
12906 * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
12907 ___printf_fp. Add locale argument. Replace _NL_CURRENT with
12908 _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
12909 (___printf_fp): New function.
12910 * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
12911 (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
12912 * stdlib/tst-strfmon_l.c (do_test): New test.
12913 * stdlib/Makefile (tests): Add kt.
12914 (LOCALES): Build additional locales.
12915 (tst-strfmon_l.out): Require locales.
12916
12917 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
12918
12919 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
12920 if not in libc.
12921 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
12922 Likewise.
12923 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
12924 Likewise.
12925 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
12926 Likewise.
12927
12928 2016-04-03 H.J. Lu <hongjiu.lu@intel.com>
12929
12930 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
12931 (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
12932 with unaligned_erms.
12933 (__memmove_erms): Skip if source == destination.
12934 (__memmove_unaligned_erms): Don't check source == destination
12935 first.
12936
12937 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12938
12939 * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
12940 bit_arch_Fast_Copy_Backward for Intel Core proessors.
12941
12942 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12943
12944 * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
12945 * string/strspn.c (strspn): Likewise.
12946
12947 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12948
12949 * benchtests/bench-memset.c (do_test): Support 64-byte
12950 alignment.
12951 (test_main): Test 64-byte alignment.
12952
12953 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12954
12955 * benchtests/bench-memmove.c (test_main): Test 64-byte
12956 alignment.
12957
12958 2016-04-01 H.J. Lu <hongjiu.lu@intel.com>
12959
12960 * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
12961
12962 2016-04-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12963
12964 * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
12965 * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
12966 * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
12967
12968 * string/strpbrk.c (strpbrk): Rewrite function.
12969 * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
12970 (__strpbrk_c2): Likewise.
12971 (__strpbrk_c3): Likewise.
12972 * string/string-inlines.c
12973 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
12974 Likewise.
12975 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
12976 Likewise.
12977
12978 * string/strspn.c (strcspn): Rewrite function.
12979 * string/bits/string2.h (strspn): Use __builtin_strcspn.
12980 (__strspn_c1): Remove inline function.
12981 (__strspn_c2): Likewise.
12982 (__strspn_c3): Likewise.
12983 * string/string-inlines.c
12984 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
12985 compatibility symbol.
12986 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
12987 Likewise.
12988 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
12989 Likewise.
12990 * string/string-inlines.c: Include generic version.
12991
12992 2016-04-01 Wilco Dijkstra <wdijkstr@arm.com>
12993 Adhemerval Zanella <adhemerval.zanella@linaro.org>
12994
12995 * string/Version (libc): Add GLIBC_2.24.
12996 * string/strcspn.c (strcspn): Rewrite function.
12997 * string/bits/string2.h (strcspn): Use __builtin_strcspn.
12998 (__strcspn_c1): Remove inline function.
12999 (__strcspn_c2): Likewise.
13000 (__strcspn_c3): Likewise.
13001 * string/string-inline.c
13002 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
13003 compatibility symbol.
13004 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
13005 Likewise.
13006 [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
13007 Likewise.
13008 * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
13009
13010 2016-04-01 Stefan Liebler <stli@linux.vnet.ibm.com>
13011
13012 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
13013 Use ahi instead of aghi to adjust stack pointer.
13014
13015 2016-03-31 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
13016
13017 [BZ #19853]
13018 * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
13019 TEST to take significant digits as second parameter.
13020 [TEST]: Redefine in terms of TEST_N taking 30
13021 significant digits.
13022 (do_test): Add test case to demonstrate precision
13023 failure in the ldbl-128ibm printf.
13024 * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
13025 (__mpn_extract_long_double): Carry 7 extra intermediate
13026 bits of precision to aide computing difference when
13027 signs differ.
13028
13029 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
13030
13031 [BZ #19881]
13032 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13033 memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
13034 memset-avx512-unaligned-erms.
13035 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13036 (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
13037 __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
13038 __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
13039 __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
13040 __memset_sse2_unaligned_erms, __memset_erms,
13041 __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
13042 __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
13043 * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
13044 file.
13045 * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
13046 Likewise.
13047 * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
13048 Likewise.
13049 * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
13050 Likewise.
13051
13052 2016-03-31 H.J. Lu <hongjiu.lu@intel.com>
13053
13054 [BZ #19776]
13055 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
13056 memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
13057 memmove-avx512-unaligned-erms.
13058 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
13059 (__libc_ifunc_impl_list): Test
13060 __memmove_chk_avx512_unaligned_2,
13061 __memmove_chk_avx512_unaligned_erms,
13062 __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
13063 __memmove_chk_sse2_unaligned_2,
13064 __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
13065 __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
13066 __memmove_avx512_unaligned_erms, __memmove_erms,
13067 __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
13068 __memcpy_chk_avx512_unaligned_2,
13069 __memcpy_chk_avx512_unaligned_erms,
13070 __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
13071 __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
13072 __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
13073 __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
13074 __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
13075 __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
13076 __mempcpy_chk_avx512_unaligned_erms,
13077 __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
13078 __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
13079 __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
13080 __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
13081 __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
13082 __mempcpy_erms.
13083 * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
13084 file.
13085 * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
13086 Likewise.
13087 * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
13088 Likewise.
13089 * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
13090 Likewise.
13091
13092 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
13093
13094 * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
13095 (La_s390_32_regs): Append vector register lr_v24-lr_v31.
13096 (La_s390_64_regs): Likewise.
13097 (La_s390_32_retval): Append vector register lrv_v24.
13098 (La_s390_64_retval): Likeweise.
13099 * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
13100 Handle extended structs La_s390_32_regs and La_s390_32_retval.
13101 * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
13102 Handle extended structs La_s390_64_regs and La_s390_64_retval.
13103
13104 2016-03-31 Stefan Liebler <stli@linux.vnet.ibm.com>
13105
13106 [BZ #19916]
13107 * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
13108 to create a non-vector/vector version for _dl_runtime_resolve and
13109 _dl_runtime_profile. Move implementation to ...
13110 * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
13111 (_dl_runtime_resolve) Save and restore fpr/vrs.
13112 (_dl_runtime_profile) Save and restore vrs and fix some issues
13113 if _dl_call_pltexit is called.
13114 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
13115 Choose the correct resolver function if running on a machine with vx.
13116 * sysdeps/s390/s390-64/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-64/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 * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
13123 Choose the correct resolver function if running on a machine with vx.
13124
13125 2016-03-31 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13126
13127 * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
13128
13129 2016-03-31 Florian Weimer <fweimer@redhat.com>
13130
13131 [BZ #19509]
13132 * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
13133 skip_map != NULL.
13134 * elf/tst-dlsym-error.c: New file.
13135 * elf/Makefile (tests): Add tst-dlsym-error.
13136 (tst-dlsym-error): Link against libdl.
13137
13138 2016-03-29 Joseph Myers <joseph@codesourcery.com>
13139
13140 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13141 (__ASSUME_FUTIMESAT): Remove macro.
13142 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
13143
13144 2016-03-29 Florian Weimer <fweimer@redhat.com>
13145
13146 [BZ #19879]
13147 CVE-2016-3075
13148 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
13149 copy name.
13150
13151 2016-03-29 Florian Weimer <fweimer@redhat.com>
13152
13153 [BZ #19837]
13154 * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
13155 error if parse_line fails.
13156
13157 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
13158
13159 * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
13160 (index_cpu_ERMS): Likewise.
13161 (reg_ERMS): Likewise.
13162
13163 2016-03-28 Aurelien Jarno <aurelien@aurel32.net>
13164
13165 * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
13166 PER_LINUX_FDPIC): Add.
13167
13168 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
13169
13170 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13171 memcpy-avx512-no-vzeroupper.
13172 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
13173 to ...
13174 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
13175 (MEMCPY): Don't define.
13176 (MEMCPY_CHK): Likewise.
13177 (MEMPCPY): Likewise.
13178 (MEMPCPY_CHK): Likewise.
13179 (MEMPCPY_CHK): Renamed to ...
13180 (__mempcpy_chk_avx512_no_vzeroupper): This.
13181 (MEMPCPY_CHK): Renamed to ...
13182 (__mempcpy_chk_avx512_no_vzeroupper): This.
13183 (MEMCPY_CHK): Renamed to ...
13184 (__memmove_chk_avx512_no_vzeroupper): This.
13185 (MEMCPY): Renamed to ...
13186 (__memmove_avx512_no_vzeroupper): This.
13187 (__memcpy_avx512_no_vzeroupper): New alias.
13188 (__memcpy_chk_avx512_no_vzeroupper): Likewise.
13189
13190 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
13191
13192 [BZ #18858]
13193 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
13194 mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
13195 and mempcpy-avx512-no-vzeroupper.
13196 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
13197 New.
13198 (MEMPCPY): Likewise.
13199 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
13200 (MEMPCPY_CHK): New.
13201 (MEMPCPY): Likewise.
13202 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
13203 (MEMPCPY): Likewise.
13204 * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
13205 (MEMPCPY): Likewise.
13206 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
13207 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
13208 Likewise.
13209 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
13210 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
13211
13212 2016-03-28 H.J. Lu <hongjiu.lu@intel.com>
13213 Amit Pawar <Amit.Pawar@amd.com>
13214
13215 [BZ #19583]
13216 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
13217 Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
13218 processors. Set Fast_Copy_Backward for AMD Excavator
13219 processors.
13220 * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
13221 New.
13222 (index_arch_Fast_Unaligned_Copy): Likewise.
13223 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
13224 Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
13225
13226 2016-03-25 Florian Weimer <fweimer@redhat.com>
13227
13228 [BZ #19791]
13229 * resolv/res_send.c (close_and_return_error): New function.
13230 (send_dg): Initialize *resplen2 after reopen failure. Call
13231 close_and_return_error for error returns. On error paths without
13232 __res_iclose, initialze *resplen2 explicitly. Update comment for
13233 successful return.
13234
13235 2016-03-25 Florian Weimer <fweimer@redhat.com>
13236
13237 [BZ# 19860]
13238 * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
13239 zero if the compiler does not provide the AVX512F bit.
13240
13241 2016-03-24 Joseph Myers <joseph@codesourcery.com>
13242
13243 [BZ #19848]
13244 * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
13245 from 8 to 4.
13246 (__ieee754_powl): Compare integer exponent against 4 not 8.
13247 * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
13248 from 8 to 4.
13249 (__ieee754_powl): Compare integer exponent against 4 not 8.
13250 * math/auto-libm-test-in: Add more tests of pow.
13251 * math/auto-libm-test-out: Regenerated.
13252 * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
13253 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
13254
13255 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
13256
13257 * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
13258 Make code unconditional.
13259 [!__NR_utimensat]: Remove conditional code.
13260 * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
13261 Make code unconditional.
13262 [!__NR_utimensat]: Remove conditional code.
13263 * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
13264 Make code unconditional.
13265 [!__NR_utimensat]: Remove conditional code.
13266
13267 2016-03-23 Aurelien Jarno <aurelien@aurel32.net>
13268
13269 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
13270 Make code unconditional.
13271
13272 2016-03-23 Nick Alcock <nick.alcock@oracle.com>
13273
13274 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
13275 call-clobbered %eax on retry path.
13276 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
13277
13278 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
13279
13280 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
13281 Don't set %rcx twice before "rep movsb".
13282
13283 2016-03-22 H.J. Lu <hongjiu.lu@intel.com>
13284
13285 [BZ #19583]
13286 * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
13287 inline. Check family before setting family, model and
13288 extended_model. Set AVX, AVX2, AVX512, FMA and FMA4 usable
13289 bits here.
13290 (init_cpu_features): Replace HAS_CPU_FEATURE and
13291 HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
13292 CPU_FEATURES_ARCH_P. Set index_arch_AVX_Fast_Unaligned_Load
13293 for Intel processors with usable AVX2. Call get_common_indeces
13294 for other processors with family == NULL.
13295 * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
13296 (CPU_FEATURES_ARCH_P): Likewise.
13297 (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
13298 (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
13299
13300 2016-03-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
13301
13302 * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
13303 $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
13304 $(shared-thread-library) instead of hardcoding the path to libpthread.
13305
13306 2016-03-22 Joseph Myers <joseph@codesourcery.com>
13307
13308 * sysdeps/unix/sysv/linux/kernel-features.h
13309 (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
13310 * sysdeps/unix/sysv/linux/getdents.c
13311 [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
13312 [!have_no_getdents64_defined]: Likewise.
13313 (__GETDENTS): Remove __have_no_getdents64 conditional.
13314
13315 2016-03-21 Joseph Myers <joseph@codesourcery.com>
13316
13317 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
13318 Remove macro.
13319 * sysdeps/unix/sysv/linux/signalfd.c: Do not include
13320 <kernel-features.h>.
13321 (signalfd) [__NR_signalfd4]: Make code unconditional.
13322 (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
13323
13324 2016-03-21 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13325
13326 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
13327 style.
13328
13329 2016-03-21 H.J. Lu <hongjiu.lu@intel.com>
13330
13331 * sysdeps/unix/sysv/linux/x86_64/cancellation.S
13332 (__pthread_enable_asynccancel): Use JUMPTARGET to call
13333 __pthread_unwind.
13334 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
13335 (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
13336 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
13337 (__condvar_cleanup1): Likewise.
13338
13339 2016-03-21 Dylan Alex Simon <dylan-sourceware@dylex.net>
13340
13341 [BZ #19822]
13342 * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
13343 move it to the final $@ location.
13344
13345 2016-03-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13346
13347 * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
13348 access where posix_spawn success and pid argument is null.
13349 * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
13350 success case.
13351
13352 2016-03-20 Samuel Thibault <samuel.thibault@ens-lyon.org>:
13353
13354 * sysdeps/mach/hurd/i386/c++-types.data: New file.
13355
13356 * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
13357
13358 * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
13359 and __fcntl.
13360 * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
13361 __fcntl only.
13362 * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
13363 adding attribute_hidden to __open and __fcntl.
13364
13365 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
13366 "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
13367 depend on libc-modules.h,
13368 * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
13369
13370 2016-03-17 Joseph Myers <joseph@codesourcery.com>
13371
13372 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
13373 Remove macro.
13374 * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
13375 * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
13376 entry.
13377
13378 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
13379 Remove macro.
13380 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
13381 include <kernel-features.h>.
13382 [!__ASSUME_FALLOCATE]: Remove conditional code.
13383 (posix_fallocate) [__NR_fallocate]: Make code unconditional.
13384
13385 2016-03-16 H.J. Lu <hongjiu.lu@intel.com>
13386
13387 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
13388 (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
13389 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
13390 (_ZGVdN4v_cos_avx2): Likewise.
13391 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
13392 (_ZGVdN4v_cos): Likewise.
13393 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
13394 (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
13395 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
13396 (_ZGVdN4v_exp_avx2): Likewise.
13397 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
13398 (_ZGVdN4v_exp): Likewise.
13399 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
13400 (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
13401 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
13402 (_ZGVdN4v_log_avx2): Likewise.
13403 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
13404 (_ZGVdN4v_log): Likewise.
13405 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
13406 (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
13407 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
13408 (_ZGVdN4vv_pow_avx2): Likewise.
13409 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
13410 (_ZGVdN4vv_pow): Likewise.
13411 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
13412 (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
13413 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
13414 (_ZGVdN4v_sin_avx2): Likewise.
13415 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
13416 (_ZGVdN4v_sin): Likewise.
13417 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
13418 (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
13419 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
13420 (_ZGVdN4vvv_sincos_avx2): Likewise.
13421 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
13422 (_ZGVdN4vvv_sincos): Likewise.
13423 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
13424 (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
13425 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
13426 (_ZGVbN4v_cosf_sse4): Likewise.
13427 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
13428 (_ZGVdN8v_cosf_avx2): Likewise.
13429 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
13430 (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
13431 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
13432 (_ZGVbN4v_expf_sse4): Likewise.
13433 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
13434 (_ZGVdN8v_expf_avx2): Likewise.
13435 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
13436 (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
13437 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
13438 (_ZGVbN4v_logf_sse4): Likewise.
13439 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
13440 (_ZGVdN8v_logf_avx2): Likewise.
13441 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
13442 (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
13443 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
13444 (_ZGVbN4vv_powf_sse4): Likewise.
13445 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
13446 (_ZGVdN8vv_powf_avx2): Likewise.
13447 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
13448 (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
13449 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
13450 (_ZGVbN4vvv_sincosf_sse4): Likewise.
13451 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
13452 (_ZGVdN8vvv_sincosf_avx2): Likewise.
13453 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
13454 (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
13455 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
13456 (_ZGVbN4v_sinf_sse4): Likewise.
13457 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
13458 (_ZGVdN8v_sinf_avx2): Likewise.
13459 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
13460 Use JUMPTARGET to call callee.
13461 (WRAPPER_IMPL_SSE2_ff): Likewise.
13462 (WRAPPER_IMPL_SSE2_fFF): Likewise.
13463 (WRAPPER_IMPL_AVX): Likewise.
13464 (WRAPPER_IMPL_AVX_ff): Likewise.
13465 (WRAPPER_IMPL_AVX_fFF): Likewise.
13466 (WRAPPER_IMPL_AVX512): Likewise.
13467 (WRAPPER_IMPL_AVX512_ff): Likewise.
13468 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
13469 Likewise.
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 (WRAPPER_IMPL_AVX512_fFF): Likewise.
13478
13479 2016-03-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
13480
13481 * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
13482 * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
13483 qualifier.
13484 * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
13485 internal_function qualifiers.
13486
13487 2016-03-15 Carlos O'Donell <carlos@redhat.com>
13488
13489 * catgets/tst-catgets.c (do_bz17905): Mark result unused.
13490 * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
13491 * math/atest-exp.c (exp_mpn): Mark chk unused.
13492 * math/atest-exp2.c (exp_mpn): Likewise.
13493 * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
13494 * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
13495
13496 2016-03-15 Joseph Myers <joseph@codesourcery.com>
13497
13498 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
13499 Remove macro.
13500 * sysdeps/unix/sysv/linux/ppoll.c: Do not include
13501 <kernel-features.h>.
13502 [__NR_ppoll]: Make code unconditional.
13503 [!__ASSUME_PPOLL]: Remove conditional code.
13504
13505 * sysdeps/unix/sysv/linux/kernel-features.h
13506 (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
13507 (__ASSUME_ACCEPT4): Likewise.
13508 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13509 Define.
13510 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
13511 Likewise.
13512 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13513 Likewise.
13514 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
13515 Likewise.
13516 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
13517 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
13518 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13519 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13520 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13521 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13522 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13523 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13524 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13525 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13526 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13527 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13528 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13529 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13530 * sysdeps/unix/sysv/linux/i386/kernel-features.h
13531 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13532 Likewise.
13533 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13534 Likewise.
13535 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13536 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13537 0x040300].
13538 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13539 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
13540 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13541 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13542 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13543 0x030300].
13544 [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
13545 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13546 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13547 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13548 0x040300].
13549 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13550 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13551 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13552 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13553 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13554 (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13555 0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
13556 0x030300].
13557 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13558 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13559 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13560 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13561 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13562 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13563 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13564 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13565 * sysdeps/unix/sysv/linux/s390/kernel-features.h
13566 (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
13567 0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
13568 0x040300].
13569 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13570 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13571 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13572 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
13573 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13574 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13575 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13576 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13577 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13578 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13579 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13580 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13581 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
13582 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
13583 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
13584 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
13585 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
13586 Likewise.
13587 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
13588 Likewise.
13589
13590 2016-03-15 Andreas Schwab <schwab@suse.de>
13591
13592 [BZ #19257]
13593 * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
13594 statp->_u._ext.nscount as loop count.
13595
13596 2016-03-14 Andreas Schwab <schwab@linux-m68k.org>
13597
13598 * math/test-signgam-finite-c99.c: Also #undef
13599 __LIBC_INTERNAL_MATH_INLINES.
13600 * math/test-signgam-main.c: Likewise.
13601
13602 2016-03-14 Joseph Myers <joseph@codesourcery.com>
13603
13604 * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
13605 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
13606 (MADV_FREE): Likewise.
13607 * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
13608 * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
13609 EPOLLEXCLUSIVE.
13610
13611 2016-03-14 Carlos O'Donell <carlos@redhat.com>
13612
13613 * timezone/README: Remove mention of checktab.awk. Mention wiki
13614 SharedSourceFiles.
13615
13616 2016-03-13 Samuel Thibault <samuel.thibault@ens-lyon.org
13617
13618 * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
13619 WUNTRACED.
13620
13621 2016-03-11 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
13622
13623 * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
13624 order to match the type of p when calling atomic_exchange_acq().
13625
13626 2016-03-11 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
13627
13628 * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
13629 cfi_offset calls.
13630 * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
13631 * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
13632 * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
13633 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
13634 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
13635
13636 2016-03-10 Carlos O'Donell <carlos@redhat.com>
13637
13638 * timezone/checktab.awk: Removed.
13639
13640 2016-03-10 Joseph Myers <joseph@codesourcery.com>
13641
13642 * manual/math.texi (Errors in Math Functions): Document relaxed
13643 accuracy goals for IBM long double.
13644 * math/libm-test.inc (test_exceptions): Always allow spurious
13645 "underflow" and "inexact" exceptions for IBM long double.
13646
13647 2016-03-10 H.J. Lu <hongjiu.lu@intel.com>
13648
13649 [BZ #19762]
13650 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13651 (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
13652 * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
13653 * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
13654 (bit_arch_*): This for feature array.
13655 (bit_*): Renamed to ...
13656 (bit_cpu_*): This for cpu array.
13657 (index_*): Renamed to ...
13658 (index_arch_*): This for feature array.
13659 (index_*): Renamed to ...
13660 (index_cpu_*): This for cpu array.
13661 [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
13662 [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
13663 [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
13664 [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
13665 bit_##name with index_cpu_##name and bit_cpu_##name.
13666 [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
13667 bit_##name with index_arch_##name and bit_arch_##name.
13668
13669 2016-03-09 Aurelien Jarno <aurelien@aurel32.net>
13670
13671 [BZ #19792]
13672 * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
13673 Terminate FDE before return label.
13674
13675 2016-03-09 Joseph Myers <joseph@codesourcery.com>
13676
13677 [BZ #19790]
13678 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
13679 (rintl): Define as macro.
13680 [USE_AS_NEARBYINTL] (__rintl): Likewise.
13681 (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
13682 of fesetround. Ensure results are evaluated before end of scope.
13683 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
13684 USE_AS_NEARBYINTL and include s_rintl.c.
13685 * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
13686 Disable exception traps in new environment.
13687 (libc_feholdsetround_ppc_ctx): Likewise.
13688
13689 2016-03-08 Roland McGrath <roland@hack.frob.com>
13690
13691 * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
13692 * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
13693 (tst_audit10_aux) [__AVX512F__]: ... here.
13694
13695 2016-03-08 Aurelien Jarno <aurelien@aurel32.net>
13696
13697 * include/sys/auxv.h: New file.
13698
13699 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
13700
13701 [BZ #19759]
13702 * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
13703
13704 2016-03-08 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
13705
13706 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
13707 operand modifier.
13708 (feclearexcept): Likewise.
13709
13710 2016-03-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
13711
13712 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
13713 to reflect the entire 32-bit HWCAP.
13714 * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
13715 (_DL_HWCAP_FIRST): Removed. Replaced by 0 accordingly.
13716
13717 2016-03-08 H.J. Lu <hongjiu.lu@intel.com>
13718
13719 [BZ #19783]
13720 * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
13721 $(test-via-rtld-prefix).
13722 ($(binaries-bench)): Replace $(+link) with $(+link-tests).
13723
13724 2016-03-08 Florian Weimer <fweimer@redhat.com>
13725
13726 * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
13727 union wait. Report any non-zero exit status as error.
13728
13729 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13730
13731 * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
13732 configured with --enable-hardcoded-path-in-tests.
13733
13734 2016-03-08 Joseph Myers <joseph@codesourcery.com>
13735
13736 [BZ #19677]
13737 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
13738 (__ieee754_remainderl): Put zero low parts in canonical form.
13739 * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
13740 file. Based on
13741 sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
13742 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
13743 with wrapper round test-fmodrem-ldbl-128ibm.c.
13744 * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
13745 file.
13746 * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
13747 Likewise.
13748 * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
13749 test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
13750
13751 2016-03-07 Florian Weimer <fweimer@redhat.com>
13752
13753 [BZ #19610]
13754 * elf/ldconfig.c (opt_link): Update comment.
13755 (options): Update help string for option -X.
13756 (search_dir): Unlink stale symbolic link only if updating symbolic
13757 links.
13758 * elf/tst-ldconfig-X.sh: New file.
13759 * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
13760 (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
13761
13762 2016-03-07 Andreas Schwab <schwab@suse.de>
13763
13764 * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
13765 needed arguments.
13766
13767 2016-03-07 Hongjiu Zhang <noctuorare@gmail.com>
13768
13769 [BZ #15333]
13770 * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
13771 to lstat64.
13772
13773 2016-03-07 Florian Weimer <fweimer@redhat.com>
13774
13775 * libio/filedoalloc.c (isatty): Remove.
13776 (local_isatty): Add comment. Call __isatty directly.
13777 (_IO_file_doallocate): Update comment. Assume _LIBC.
13778 * libio/wfiledoalloc.c (isatty): Remove.
13779 (_IO_wfile_doallocate): Update comment.
13780
13781 2016-03-07 Florian Weimer <fweimer@redhat.com>
13782
13783 [BZ #19269]
13784 * sysdeps/x86_64/Makefile (tst-audit4): Depend on
13785 tst-audit4-aux.o.
13786 (tst-audit10): Depend on tst-audit10-aux.o.
13787 (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
13788 (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
13789 * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
13790 instead of inline AVX code.
13791 * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
13792 instead of inline AVX512 code.
13793 * sysdeps/x86_64/tst-audit4-aux.c: New file
13794 * sysdeps/x86_64/tst-audit10-aux.c: New file
13795
13796 [BZ #19648]
13797 * test-skeleton.c (main): Do not set RLIMIT_DATA.
13798
13799 2016-03-07 Adhemerval Zanella <adhemerval.zanella@linaro.org>
13800
13801 [BZ #14750]
13802 [BZ #10354]
13803 [BZ #18433]
13804 * include/sched.h (__clone): Add hidden prototype.
13805 (__clone2): Likewise.
13806 * include/unistd.h (__dup): Likewise.
13807 * posix/Makefile (tests): Add tst-spawn2.
13808 * posix/tst-spawn2.c: New file.
13809 * sysdeps/posix/dup.c (__dup): Add hidden definition.
13810 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
13811 * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
13812 * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
13813 * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
13814 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
13815 * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
13816 * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
13817 * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
13818 * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
13819 * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
13820 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
13821 Likewise.
13822 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
13823 Likewise.
13824 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
13825 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
13826 * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
13827 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
13828 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
13829 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
13830 * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
13831 * sysdeps/unix/sysv/linux/nptl-signals.h
13832 (____nptl_is_internal_signal): New function.
13833 * sysdeps/unix/sysv/linux/spawni.c: New file.
13834
13835 * posix/execvpe.c (__execvpe): Remove dynamic allocation.
13836 * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
13837 * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
13838 * posix/tst-execvp2.c (do_test): Likewise.
13839 * posix/tst-execvp3.c (do_test): Likewise.
13840 * posix/tst-execvp4.c (do_test): Likewise.
13841 * posix/tst-execvpe1.c: New file.
13842 * posix/tst-execvpe2.c: Likewise.
13843 * posix/tst-execvpe3.c: Likewise.
13844 * posix/tst-execvpe4.c: Likewise.
13845 * posix/tst-execvpe5.c: Likewise.
13846 * posix/tst-execvpe6.c: Likewise.
13847
13848 [BZ #19534]
13849 * posix/execl.c (execl): Remove dynamic memory allocation.
13850 * posix/execle.c (execle): Likewise.
13851 * posix/execlp.c (execlp): Likewise.
13852
13853 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
13854
13855 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
13856 Replace .text with .text.avx512.
13857 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
13858 Likewise.
13859
13860 2016-03-07 Aurelien Jarno <aurelien@aurel32.net>
13861
13862 * sysdeps/generic/libnsl.abilist: New file.
13863 * sysdeps/generic/libutil.abilist: New file.
13864
13865 2016-03-06 H.J. Lu <hongjiu.lu@intel.com>
13866
13867 [BZ #19762]
13868 * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
13869 HAS_ARCH_FEATURE with Fast_Rep_String.
13870 * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
13871 * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
13872 * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
13873 Likewise.
13874 * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
13875 Likewise.
13876 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
13877 * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
13878 Likewise.
13879 * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
13880 * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
13881 Likewise.
13882
13883 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
13884
13885 [BZ #19745]
13886 * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
13887 with *%rax in call.
13888
13889 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
13890
13891 [BZ #19745]
13892 * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
13893 with *__libc_start_main@GOTPCREL(%rip) in call.
13894
13895 2016-03-04 Roland McGrath <roland@hack.frob.com>
13896
13897 * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
13898 inside conditional for nonempty $(CXX).
13899
13900 * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
13901 nonempty.
13902
13903 * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
13904 to test for empty $(CXX) rather than $(CXX) of "no".
13905
13906 2016-03-04 H.J. Lu <hongjiu.lu@intel.com>
13907
13908 * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
13909
13910 2016-03-04 Amit Pawar <Amit.Pawar@amd.com>
13911 H.J. Lu <hongjiu.lu@intel.com>
13912
13913 [BZ #18880]
13914 * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
13915 instead of Slow_BSF, and also check for Fast_Copy_Backward to
13916 enable __memcpy_ssse3_back.
13917
13918 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
13919
13920 [BZ #19758]
13921 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
13922 (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
13923
13924 2016-03-03 Paul Pluzhnikov <ppluzhnikov@google.com>
13925
13926 [BZ #19490]
13927 * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
13928 (__fentry__): Likewise.
13929
13930 2016-03-03 H.J. Lu <hongjiu.lu@intel.com>
13931
13932 * gmon/Makefile (noprof): Add $(sysdep_noprof).
13933 * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
13934
13935 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
13936
13937 * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
13938 __mcount_internal directly.
13939 (C_LABEL(__fentry__)): Likewise.
13940 * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
13941 directly.
13942
13943 2016-03-01 H.J. Lu <hongjiu.lu@intel.com>
13944
13945 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
13946 (__start_context): Call __setcontext directly.
13947
13948 2016-02-26 Joseph Myers <joseph@codesourcery.com>
13949
13950 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
13951 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13952 [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
13953 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13954 * sysdeps/unix/sysv/linux/arm/kernel-features.h
13955 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13956 [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
13957 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13958 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
13959 [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
13960 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13961 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13962 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
13963 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13964 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13965 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
13966 [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
13967 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
13968 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13969 [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
13970 [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
13971 * sysdeps/unix/sysv/linux/mips/kernel-features.h
13972 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13973 [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
13974 [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
13975 Remove conditional code.
13976 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
13977 [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
13978 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13979 * sysdeps/unix/sysv/linux/sh/kernel-features.h
13980 [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
13981 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13982 [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
13983 * sysdeps/unix/sysv/linux/sparc/kernel-features.h
13984 [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
13985 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13986 * sysdeps/unix/sysv/linux/tile/kernel-features.h
13987 [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
13988
13989 2016-02-24 Marko Myllynen <myllynen@redhat.com>
13990
13991 * NEWS (2.23): Fix typo in bug 19048 text.
13992
13993 2016-02-24 Carlos O'Donell <carlos@redhat.com>
13994
13995 [BZ #14259]
13996 * Makeconfig: Rename msgcatdir to localedir.
13997 Rename inst_msgcatdir to inst_localedir.
13998 * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
13999 * config.make.in: Add localedir.
14000 * elf/Makefile ($(objpfx)sotruss): Use localedir.
14001 (ldd-rewrite): Likewise.
14002 * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
14003 (install-others): Use inst_localedir.
14004 (CPPFLAGS): Use localedir.
14005 * locale/Makefile (locale-CPPFLAGS): Likewise.
14006 * po/Makefile (mo-installed): Use inst_localedir.
14007
14008 [BZ #19575]
14009 * localedata/charmaps/GB18030: Update comments regarding PAU to
14010 non-PUA mappings.
14011
14012 2016-02-24 Joseph Myers <joseph@codesourcery.com>
14013
14014 * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
14015 test for header.
14016 * sysdeps/unix/sysv/linux/configure: Regenerated.
14017 * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
14018 * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
14019 Remove conditional code.
14020 [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
14021
14022 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
14023 Define to 3.2.0.
14024 (arch_minimum_kernel): Likewise.
14025 * sysdeps/unix/sysv/linux/configure: Regenerated.
14026 * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
14027 Define to 2.6.32.
14028 * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
14029 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
14030 (arch_minimum_kernel): Define to 2.6.32.
14031 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
14032 * README: Document Linux 3.2 requirement.
14033 * manual/install.texi (Linux): Document Linux 3.2 headers
14034 requirement.
14035 * INSTALL: Regenerated.
14036
14037 2016-02-24 Andreas Schwab <schwab@suse.de>
14038
14039 * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
14040 if !NO_LONG_DOUBLE.
14041
14042 2016-02-22 Roland McGrath <roland@hack.frob.com>
14043
14044 * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
14045 fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
14046
14047 2016-02-22 Dmitry V. Levin <ldv@altlinux.org>
14048
14049 [BZ #19512]
14050 * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
14051
14052 2016-02-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14053
14054 * posix/tst-dir.c: Include libc-internal.h.
14055
14056 2016-02-20 Florian Weimer <fweimer@redhat.com>
14057
14058 [BZ #19056]
14059 * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
14060 * manual/filesys.texi (Reading/Closing Directory): Mention
14061 deprecaion.
14062 * posix/tst-dir.c (main): Disable deprecation warning in test.
14063
14064 2016-02-19 H.J. Lu <hongjiu.lu@intel.com>
14065
14066 [BZ #19679]
14067 * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
14068 Renamed to ...
14069 (DL_RUNTIME_UNALIGNED_VEC_SIZE): This. Set to 8.
14070 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
14071 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This. Updated.
14072 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
14073 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
14074 * sysdeps/x86_64/dl-trampoline.h
14075 (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
14076 (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
14077
14078 2016-02-19 Mark Wielaard <mjw@redhat.com>
14079
14080 * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
14081
14082 2016-02-19 Mark Wielaard <mjw@redhat.com>
14083
14084 * elf/elf.h (R_386_GOT32X): New.
14085 (R_386_NUM): Update.
14086 (R_X86_64_GOTPCRELX: New.
14087 (R_X86_64_REX_GOTPCRELX): New.
14088 (R_X86_64_NUM): Update.
14089
14090 2016-02-19 Mike Frysinger <vapier@gentoo.org>
14091
14092 * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
14093
14094 2016-02-19 Carlos O'Donell <carlos@systemhalted.org>
14095
14096 * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
14097 assign attr->stackaddr to it, and adjust it down when
14098 _STACK_GROWS_UP. Change all attr->stackaddr to stackaddr.
14099 [_STACK_GROWS_UP]: Delete assert.
14100 * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
14101 Implement stack grows up logic.
14102 * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
14103 stack grows up logic.
14104
14105 2016-02-19 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14106
14107 * NEWS: Update with 2.24 template.
14108
14109 2016-02-19 Joseph Myers <joseph@codesourcery.com>
14110
14111 [BZ #19678]
14112 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
14113 Ensure +0.0 is returned when taking the next value below the least
14114 positive value.
14115
14116 2016-02-19 Florian Weimer <fweimer@redhat.com>
14117
14118 * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
14119 available. Do not define NO_THREADS.
14120 * malloc/malloc.c: Do not check NO_THREADS.
14121 * malloc/arena.c: Likewise.
14122
14123 2016-02-19 Florian Weimer <fweimer@redhat.com>
14124
14125 * malloc/malloc.c (__libc_mallinfo): Update comment.
14126 (struct malloc_par): Remove max_total_mem member, it was always 0.
14127 (int_mallinfo): Store 0 into usmblks (no functional change).
14128 * malloc/hooks.c (struct malloc_state): Document that
14129 max_total_mem is always 0.
14130 * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
14131 always 0.
14132 * manual/memory.texi (Statistics of Malloc): Likewise.
14133
14134 2016-02-19 Florian Weimer <fweimer@redhat.com>
14135
14136 * malloc/malloc.c (sysmalloc): Do not update arena_max.
14137 * malloc/arena.c (arena_max): Remove.
14138 (heap_trim, _int_new_arena): Do not update arena_max.
14139
14140 2016-02-19 Florian Weimer <fweimer@redhat.com>
14141
14142 * resolv/res_init.c (res_ninit): Update comment.
14143
14144 2016-02-19 Florian Weimer <fweimer@redhat.com>
14145
14146 [BZ #19505]
14147 * posix/spawn_int.h: Add headers and include guard.
14148 (__spawn_valid_fd): New function.
14149 * posix/spawn_faction_addopen.c
14150 (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
14151 * posix/spawn_faction_addclose.c
14152 (posix_spawn_file_actions_addclose): Likewise.
14153 * posix/spawn_faction_adddup2.c
14154 (posix_spawn_file_actions_adddup2): Likewise. Add check for
14155 second file descriptor.
14156 * posix/spawn_valid_fd.c: New file.
14157 * posix/tst-posix_spawn-fd.c: New file.
14158 * posix/Makefile (routines): Add spawn_valid_fd.
14159 (tests): Add tst-posix_spawn-fd.
14160
14161 2016-02-19 Florian Weimer <fweimer@redhat.com>
14162
14163 * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
14164 (do_test): Limit the number of arenas, so that we can use fewer
14165 outer threads. Limit timeout to 3 seconds, in preparation for a
14166 larger TIMEOUT value.
14167
14168 2016-02-19 Joseph Myers <joseph@codesourcery.com>
14169
14170 [BZ #19674]
14171 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
14172 sign in overflowing and underflowing results when overflow or
14173 underflow is detected early. Include sign in result before rather
14174 than after scaling.
14175
14176 [BZ #19603]
14177 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
14178 (__ieee754_remainderl): Adjust sign of integer version of low part
14179 when taking absolute value of high part.
14180 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
14181 * math/libm-test.inc (remainder_test_data): Add another test.
14182 (remquo_test_data): Likewise.
14183
14184 2016-02-18 Joseph Myers <joseph@codesourcery.com>
14185
14186 [BZ #19602]
14187 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
14188 equal high parts and both low parts zero specially.
14189 * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
14190 * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
14191 Add test-fmodl-ldbl-128ibm.
14192
14193 [BZ #19595]
14194 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
14195 common logic for all cases of shifting subnormal results. Do not
14196 insert sign bit in shifted mantissa. Always pass -1023 as biased
14197 exponent to ldbl_insert_mantissa in subnormal case.
14198
14199 [BZ #19594]
14200 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
14201 on high and low parts then adjust result and use
14202 ldbl_canonicalize_int if needed.
14203
14204 [BZ #19593]
14205 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
14206 on high part and __floor or __ceil on low part then use
14207 ldbl_canonicalize_int if needed.
14208
14209 [BZ #19592]
14210 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
14211 high and low parts then use ldbl_canonicalize_int if needed.
14212
14213 [BZ #17899]
14214 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
14215 New function.
14216 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
14217 on high and low parts then use ldbl_canonicalize_int if needed.
14218
14219 2016-02-18 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14220
14221 * configure: Regenerated.
14222
14223 * po/libc.pot: Regenerated.
14224
14225 * po/be.po: Updated translation.
14226 * po/bg.po: Likewise.
14227 * po/ca.po: Likewise.
14228 * po/cs.po: Likewise.
14229 * po/da.po: Likewise.
14230 * po/el.po: Likewise.
14231 * po/eo.po: Likewise.
14232 * po/es.po: Likewise.
14233 * po/fi.po: Likewise.
14234 * po/fr.po: Likewise.
14235 * po/gl.po: Likewise.
14236 * po/hr.po: Likewise.
14237 * po/hu.po: Likewise.
14238 * po/ia.po: Likewise.
14239 * po/id.po: Likewise.
14240 * po/it.po: Likewise.
14241 * po/ja.po: Likewise.
14242 * po/lt.po: Likewise.
14243 * po/nb.po: Likewise.
14244 * po/nl.po: Likewise.
14245 * po/pt_BR.po: Likewise.
14246 * po/rw.po: Likewise.
14247 * po/sk.po: Likewise.
14248 * po/sl.po: Likewise.
14249 * po/sv.po: Likewise.
14250 * po/tr.po: Likewise.
14251 * po/zh_CN.po: Likewise.
14252 * po/zh_TW.po: Likewise.
14253
14254 * version.h (RELEAES): Set to "development".
14255 (VERSION): Set to 2.23.90.
14256
14257 * version.h (RELEASE): Set to "stable".
14258 (VERSION): Set to 2.23.
14259 * include/feature.h (__GLIBC_MINOR__): Set to 23.
14260
14261 * NEWS: Updated fixed bugs.
14262
14263 2016-02-18 H.J. Lu <hongjiu.lu@intel.com>
14264 Wilco Dijkstra <wdijkstr@arm.com>
14265
14266 [BZ #19462]
14267 * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
14268 (_STRING_INLINE_unaligned): This.
14269 * include/string.h: Include <string_private.h>.
14270 * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
14271 _STRING_INLINE_unaligned.
14272 * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
14273 (_STRING_INLINE_unaligned): New.
14274 * sysdeps/aarch64/string_private.h: New file.
14275 * sysdeps/generic/string_private.h: Likewise.
14276 * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
14277 * sysdeps/s390/string_private.h: Likewise.
14278 * sysdeps/x86/string_private.h: Likewise.
14279 * sysdeps/m68k/m680x0/m68020/bits/string.h
14280 (_STRING_ARCH_unaligned): Renamed to ...
14281 (_STRING_INLINE_unaligned): This.
14282 * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
14283 to ...
14284 (_STRING_INLINE_unaligned): This.
14285 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
14286 to ...
14287 (_STRING_INLINE_unaligned): This.
14288 * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
14289 to ...
14290 (_STRING_INLINE_unaligned): This.
14291
14292 2016-02-17 Andrew Senkevich <andrew.senkevich@intel.com>
14293 H.J. Lu <hongjiu.lu@intel.com>
14294
14295 [BZ #19590]
14296 * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
14297 relocation.
14298
14299 2016-02-15 Carlos O'Donell <carlos@redhat.com>
14300
14301 [BZ #18665]
14302 * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
14303 *herrno_p.
14304 (gaih_getanswer): Document functional behviour. Return tryagain
14305 if any result is tryagain.
14306 * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
14307 when freed.
14308 * resolv/res_send.c: Add copyright text.
14309 (__libc_res_nsend): Document that MAXPACKET is expected.
14310 (send_vc): Document. Remove buffer reuse.
14311 (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
14312 size of the buffer. Add Dprint for truncated UDP buffer.
14313
14314 2016-02-14 Carlos O'Donell <carlos@redhat.com>
14315
14316 * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
14317 4.1.3, and sed 4.2.2. Remove po2test.sed comments.
14318 * INSTALL: Regenerate.
14319
14320 2016-02-14 Jakub Jelinek <jakub@redhat.com>
14321 Jonathan Wakely <jwakely@redhat.com>
14322 Carlos O'Donell <carlos@redhat.com>
14323
14324 [BZ 19439]
14325 * math/Makefile (tests): Add test-math-isinff.
14326 (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
14327 * math/bits/mathcalls.h [__USE_MISC]: Use
14328 '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
14329 functions not in C++11 and which don't conflict e.g. isinff,
14330 isinfl etc.
14331 * math/test-math-isinff.cc: New file.
14332
14333 2016-02-12 Florian Weimer <fweimer@redhat.com>
14334
14335 * misc/bug18240.c (do_test): Set RLIMIT_AS.
14336
14337 2016-02-11 Szabolcs Nagy <szabolcs.nagy@arm.com>
14338
14339 [BZ #19529]
14340 * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
14341
14342 2016-02-04 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
14343
14344 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
14345
14346 2016-02-01 Joseph Myers <joseph@codesourcery.com>
14347
14348 [BZ #19550]
14349 * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
14350 * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
14351 * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
14352 * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
14353 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
14354 New syscall entry.
14355 * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
14356 New syscall entry.
14357 * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
14358 syscall entry.
14359
14360 2016-01-27 Paul Eggert <eggert@cs.ucla.edu>
14361
14362 [BZ #18240]
14363 * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
14364 unsigned int wraparound.
14365
14366 2016-01-27 Florian Weimer <fweimer@redhat.com>
14367
14368 [BZ #18240]
14369 * misc/bug18240.c: New test.
14370 * misc/Makefile (tests): Add it.
14371
14372 2016-01-28 Steve Ellcey <sellcey@imgtec.com>
14373 Joseph Myers <joseph@codesourcery.com>
14374
14375 * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
14376 load in branch delay slot when less than a word of input left.
14377
14378 2016-01-27 Andreas Schwab <schwab@suse.de>
14379
14380 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
14381 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
14382 * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
14383 * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
14384
14385 2016-01-26 David S. Miller <davem@davemloft.net>
14386
14387 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
14388
14389 2016-01-25 David S. Miller <davem@davemloft.net>
14390
14391 * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
14392 __sqrtl_finite.
14393 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
14394 instead using versioned_symbol.
14395 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
14396 of entries.
14397
14398 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
14399 __sqrtl_finite to GLIBC_2.23
14400
14401 2016-01-25 Ricchard Henderson <rth@redhat.com>
14402
14403 * sysdeps/alpha/fpu/libm-test-ulps: Update.
14404
14405 2016-01-25 Andreas Schwab <schwab@suse.de>
14406
14407 [BZ #17514]
14408 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
14409 <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
14410 * nptl/Makefile (tests): Add tst-mutex-errorcheck.
14411 * nptl/tst-mutex-errorcheck.c: New file.
14412
14413 2016-01-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14414
14415 [BZ #18560]
14416 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
14417 (IPCOP_semop): Likewise.
14418 (IPCOP_semget): Likewise.
14419 (IPCOP_semctl): Likewise.
14420 (IPCOP_msgsnd): Likewise.
14421 (IPCOP_msgrcv): Likewise.
14422 (IPCOP_msgget): Likewise.
14423 (IPCOP_msgctl): Likewise.
14424 (IPCOP_shmat): Likewise.
14425 (IPCOP_shmdt): Likewise.
14426 (IPCOP_shmget): Likewise.
14427 (IPCOP_shmctl): Likewise.
14428
14429 2016-01-22 Stefan Liebler <stli@linux.vnet.ibm.com>
14430
14431 * string/tst-endian.c: Include <libc-internal.h>.
14432 (do_test): Ignore tautological-compare warnings around
14433 "htobeXX (beXXtoh (i)) != i" and
14434 "htoleXX (leXXtoh (i)) != i" if-statements.
14435
14436 2016-01-24 David S. Miller <davem@davemloft.net>
14437
14438 * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
14439 * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
14440 alias.
14441 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
14442 __sqrtl_finite.
14443
14444 * sysdeps/sparc/fpu/libm-test-ulps: Update.
14445
14446 2016-01-25 Maciej W. Rozycki <macro@imgtec.com>
14447
14448 * sysdeps/unix/sysv/linux/mips/configure.ac: Set
14449 `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
14450 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
14451
14452 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14453
14454 * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
14455 (thread_func): Use new function to simplify barrier check.
14456 (do_test): Use new function to simplify checking barrier exit
14457 code, and actually join the child thread.
14458
14459 2016-01-22 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14460
14461 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
14462 semicolon.
14463 (__libc_tend): Likewise.
14464 (__libc_tabort): Likewise.
14465
14466 2016-01-22 Chung-Lin Tang <cltang@codesourcery.com>
14467
14468 * sysdeps/nios2/libm-test-ulps: Update.
14469 * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
14470 (__gtsf2): Likewise.
14471 (__unorddf2): Likewise.
14472 (__unordsf2): Likewise.
14473 (__ledf2): Likewise.
14474
14475 2016-01-20 Chris Metcalf <cmetcalf@ezchip.com>
14476
14477 * nis/nis_table.c (__follow_path): Disable diagnostic for
14478 uninitialized variable that is a false positive for gcc 4.7.
14479 * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
14480
14481 2016-01-20 Roland McGrath <roland@hack.frob.com>
14482
14483 * sysdeps/nacl/lowlevellock-futex.h
14484 (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
14485 Always evaluate PRIVATE argument.
14486
14487 2016-01-20 Paul Pluzhnikov <ppluzhnikov@google.com>
14488
14489 [BZ #19490]
14490 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
14491 (pthread_cond_broadcast): Use ENTRY/END
14492 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
14493 (pthread_cond_signal): Likewise.
14494 * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
14495 Likewise.
14496 * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
14497 Likewise.
14498 * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
14499 Likewise.
14500
14501 2016-01-20 Joseph Myers <joseph@codesourcery.com>
14502
14503 * sysdeps/ieee754/dbl-64/s_finite.c
14504 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
14505 compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
14506 SHLIB_COMPAT condition for libm, not GLIBC_2_0.
14507 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
14508 [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
14509
14510 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
14511 (__gtsf2): Add as optional for libc.so.
14512 (__unordsf2): Likewise.
14513 (__signbit): Remove for libc.so.
14514 (__signbitl): Likewise.
14515
14516 2016-01-19 Stefan Liebler <stli@linux.vnet.ibm.com>
14517
14518 * iconvdata/bug-iconv11.c (test_ibm93x):
14519 Use %zu printf format specifier for size_t argument.
14520
14521 2016-01-19 Joseph Myers <joseph@codesourcery.com>
14522
14523 * math/gen-libm-test.pl (parse_ulps): Do not reduce
14524 already-recorded ulps.
14525 * sysdeps/arm/libm-test-ulps: Regenerated.
14526 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
14527 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14528 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
14529
14530 2016-01-19 Andrew Senkevich <andrew.senkevich@intel.com>
14531 Paul Pluzhnikov <ppluzhnikov@google.com>
14532
14533 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
14534 assembler not supporting AVX-512.
14535
14536 2016-01-18 Stefan Liebler <stli@linux.vnet.ibm.com>
14537
14538 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
14539
14540 2016-01-18 Joseph Myers <joseph@codesourcery.com>
14541
14542 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
14543 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
14544
14545 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
14546
14547 * sysdeps/arm/libm-test-ulps: Regenerated.
14548
14549 2016-01-18 Paul Pluzhnikov <ppluzhnikov@google.com>
14550
14551 [BZ #19451]
14552 * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
14553
14554 2016-01-15 Stefan Liebler <stli@linux.vnet.ibm.com>
14555
14556 [BZ #19486]
14557 * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
14558 * sysdeps/generic/fix-fp-int-convert-overflow.h
14559 (FIX_LDBL_LONG_CONVERT_OVERFLOW,
14560 FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
14561 * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
14562 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
14563 Likewise.
14564 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
14565 Avoid conversions to long int where inexact exceptions
14566 could be raised.
14567 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
14568 Likewise.
14569 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
14570 Avoid conversions to long long int where inexact exceptions
14571 could be raised.
14572 * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
14573 Likewise.
14574
14575 2016-01-17 Mike Frysinger <vapier@gentoo.org>
14576
14577 * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
14578 * configure: Regenerated.
14579
14580 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
14581
14582 * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
14583
14584 2016-01-16 Mike Frysinger <vapier@gentoo.org>
14585
14586 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
14587 outside of comment.
14588
14589 2016-01-15 Torvald Riegel <triegel@redhat.com>
14590
14591 * nptl/tst-barrier1.c: Add description on first line.
14592 * nptl/tst-barrier2.c: Likewise.
14593 * nptl/tst-barrier3.c: Likewise.
14594 * nptl/tst-barrier4.c: Likewise.
14595 * nptl/tst-barrier5.c: Likewise.
14596
14597 2016-01-15 Torvald Riegel <triegel@redhat.com>
14598
14599 [BZ #18868]
14600 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
14601
14602 2016-01-16 Andrew Senkevich <andrew.senkevich@intel.com>
14603
14604 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
14605 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
14606 * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
14607 * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
14608 * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
14609 * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
14610 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
14611 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
14612 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
14613 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
14614 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
14615
14616 2016-01-15 Torvald Riegel <triegel@redhat.com>
14617
14618 [BZ #13065]
14619 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
14620 new implementation.
14621 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
14622 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
14623 * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
14624 (BARRIER_IN_THRESHOLD): New macro.
14625 * nptl/pthread_barrierattr_setpshared.c
14626 (pthread_barrierattr_setpshared): Clean up.
14627 * nptl/tst-barrier4.c: Correct comment.
14628 * nptl/tst-barrier5.c: New file.
14629 * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
14630 (gen-as-const-headers): Remove lowlevelbarrier.sym.
14631 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
14632 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
14633 * nptl/lowlevelbarrier.sym: Remove.
14634 * nptl/DESIGN-barrier.txt: Remove.
14635 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
14636 * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
14637 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
14638 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
14639 error.
14640 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
14641 implementation.
14642
14643 2016-01-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
14644
14645 * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
14646 (do_child): Mask SIGRTMIN while thr is running.
14647
14648 2016-01-15 Martin Sebor <msebor@redhat.com>
14649
14650 [BZ #19432]
14651 * iconvdata/Makefile: Add bug-iconv11.
14652 * iconvdata/bug-iconv11.c: New test.
14653 * iconvdata/ibm930.c: Do not reject redundant shift sequences.
14654 * iconvdata/ibm933.c: Same.
14655 * iconvdata/ibm935.c: Same.
14656 * iconvdata/ibm937.c: Same.
14657 * iconvdata/ibm939.c: Same.
14658
14659 2016-01-15 Martin Sebor <msebor@redhat.com>
14660
14661 [BZ #19443]
14662 * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
14663 [DEBUG] (_ufc_set_bits): Declare used.
14664 * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
14665 [DEBUG] (print_all): Declare used.
14666 * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
14667 operands of the ternary ?: expression to target type.
14668 * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
14669 calling the undeclared abort.
14670 * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
14671
14672 2016-01-15 Martin Sebor <msebor@redhat.com>
14673
14674 [BZ #18755]
14675 * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
14676 warnings.
14677 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
14678 (__gai_create_helper_thread): Same.
14679 * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
14680 * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
14681 to suppress -Wmaybe-uninitialized warnings.
14682
14683 2016-01-15 H.J. Lu <hongjiu.lu@intel.com>
14684
14685 [BZ #19465]
14686 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
14687 inside if.
14688 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
14689 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
14690 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
14691
14692 2016-01-14 H.J. Lu <hongjiu.lu@intel.com>
14693
14694 [BZ #19466]
14695 * time/tst-mktime2.c (time_t_max): Removed.
14696 (time_t_min): Likewise.
14697 (TYPE_SIGNED): New.
14698 (TYPE_MINIMUM): Likewise.
14699 (TYPE_MAXIMUM): Likewise.
14700 (TIME_T_MIN): Likewise.
14701 (TIME_T_MAX): Likewise.
14702 (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
14703 and TIME_T_MIN.
14704 (do_test): Likewise.
14705
14706 2016-01-14 Amit Pawar <amit.pawar@amd.com>
14707
14708 [BZ #19467]
14709 * sysdeps/x86/cpu-features.c (init_cpu_features): Set
14710 index_Fast_Unaligned_Load flag for Excavator family CPUs.
14711
14712 2016-01-02 Marcin Kościelnicki <koriakin@0x04.net>
14713
14714 * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
14715
14716 2016-01-13 Carlos O'Donell <carlos@redhat.com>
14717
14718 * benchtests/Makefile (PYTHON): Define.
14719 (bench-func): Use $(PYTHON) to run python scripts.
14720 ($(objpfx)bench-%.c): Likewise.
14721
14722 2016-01-13 Flavio Cruz <flaviocruz@gmail.com>
14723
14724 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
14725 leading slash when `file_name' is "/".
14726
14727 2016-01-12 Joseph Myers <joseph@codesourcery.com>
14728
14729 * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
14730 * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
14731 Likewise.
14732 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
14733 Likewise.
14734 * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
14735 Likewise.
14736 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
14737 enum constant and macro.
14738 (PTRACE_SETSIGMASK): Likewise.
14739 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14740 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
14741 (PTRACE_GETSIGMASK): Likewise.
14742 (PTRACE_SETSIGMASK): Likewise.
14743 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14744 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
14745 Likewise.
14746 (PTRACE_SETSIGMASK): Likewise.
14747 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14748 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
14749 (PTRACE_GETSIGMASK): Likewise.
14750 (PTRACE_SETSIGMASK): Likewise.
14751 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14752 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
14753 Likewise.
14754 (PTRACE_SETSIGMASK): Likewise.
14755 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14756 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
14757 Likewise.
14758 (PTRACE_SETSIGMASK): Likewise.
14759 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14760 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
14761 Likewise.
14762 (PTRACE_SETSIGMASK): Likewise.
14763 (PTRACE_SECCOMP_GET_FILTER): Likewise.
14764
14765 2016-01-11 Jonathan Wakely <jwakely.gcc@gmail.com>
14766 Adhemerval Zanella <adhemerval.zanella@linaro.org>
14767
14768 [BZ #19439]
14769 * math/bits/mathcalls.h
14770 [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
14771 prototype.
14772 [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
14773
14774 2016-01-11 Andreas Schwab <schwab@suse.de>
14775
14776 [BZ #19253]
14777 * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
14778 cache when TZDEFRULES was used.
14779 * time/tst-tzname.c: New file.
14780 * time/Makefile (test): Add tst-tzname.
14781 (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
14782 * timezone/Makefile (test-zones): Add $(posixrules-file).
14783 ($(testdata)/$(posixrules-file)): New rule.
14784
14785 2016-01-10 Paul Eggert <eggert@cs.ucla.edu>
14786
14787 Fix doc quoting problems with Texinfo 5
14788 Without this change, in the info file output, Texinfo 5 quotes code
14789 in text with undirected single quotes 'like this' and generates
14790 code examples that with many PDF readers cannot be cut out of PDFs
14791 and pasted into code.
14792 * manual/libc.texinfo: Configure the libc manual like the GNU
14793 Emacs manual, by using @documentencoding and setting
14794 txicodequoteundirected and txicodequotebacktick. This way,
14795 Texinfo 5 quotes code in text with directed single quotes ‘like
14796 this’ and produces examples that can be cut out of PDFs. This
14797 change causes Texinfo 5 to generate info files that contain UTF-8
14798 characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
14799 '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
14800
14801 2016-01-08 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
14802
14803 * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
14804 __libc_tabort, __libc_tend): New wrappers that enforce compiler
14805 barriers to their respective compiler built-ins.
14806 * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
14807 ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
14808 * sysdeps/powerpc/sysdep.h: Likewise.
14809 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
14810 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
14811 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
14812
14813 2016-01-08 Marko Myllynen <myllynen@redhat.com>
14814
14815 * scripts/config.guess: Revert previous shebang change.
14816 * scripts/config.sub: Likewise.
14817 * scripts/mkinstalldirs: Likewise.
14818
14819 2016-01-08 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
14820
14821 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
14822 PPC_FEATURE2_HAS_IEEE128.
14823 * sysdeps/powerpc/dl-procinfo.c:
14824 (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
14825
14826 2016-01-08 John David Anglin <danglin@gcc.gnu.org>
14827
14828 [BZ #19415]
14829 * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
14830 (elf_machine_resolve): New. Return address of _dl_runtime_resolve.
14831 (_dl_lookup_address): Rewrite using function resolver trampoline.
14832 * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
14833 two bits in address.
14834
14835 2016-01-07 Mike Frysinger <vapier@gentoo.org>
14836
14837 * longlong.h: Change !__SHMEDIA__ to
14838 (!defined (__SHMEDIA__) || !__SHMEDIA__).
14839 Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
14840
14841 2016-01-07 Daniel Jacobowitz <dan@codesourcery.com>
14842 Joseph Myers <joseph@codesourcery.com>
14843 Mark Shinwell <shinwell@codesourcery.com>
14844 Andrew Stubbs <ams@codesourcery.com>
14845 Rich Felker <dalias@libc.org>
14846
14847 * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
14848
14849 2016-01-07 Richard Henderson <rth@redhat.com>
14850
14851 * longlong.h [__alpha] (umul_ppmm): Disable for c++.
14852
14853 2016-01-07 Mike Frysinger <vapier@gentoo.org>
14854
14855 * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
14856 __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
14857 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
14858 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
14859 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
14860
14861 2016-01-07 Paul Eggert <eggert@cs.ucla.edu>
14862 Joseph Myers <joseph@codesourcery.com>
14863
14864 * timezone/private.h: Update from tzcode 2015g.
14865 * timezone/tzfile.h: Likewise.
14866 * timezone/tzselect.ksh: Likewise.
14867 * timezone/zdump.c: Likewise.
14868 * timezone/zic.c: Likewise.
14869 * timezone/ialloc.c: Remove file.
14870 * timezone/scheck.c: Likewise.
14871 * timezone/Makefile (extra-objs): Remove variable.
14872 ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
14873 (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
14874 -Wno-maybe-uninitialized.
14875 (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
14876 (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
14877 (CFLAGS-ialloc.c): Remove variable.
14878 (CFLAGS-scheck.c): Likewise.
14879 * timezone/README: Update list of files from tzcode.
14880
14881 2016-01-07 Khem Raj <raj.khem@gmail.com>
14882
14883 * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
14884 instead of __fxprintf when _LIBC is undefined.
14885
14886 2016-01-07 Marko Myllynen <myllynen@redhat.com>
14887
14888 * catgets/test-gencat.sh: Remove space after shebang.
14889 * conform/GlibcConform.pm: Likewise.
14890 * conform/check-header-lists.sh: Likewise.
14891 * conform/conformtest.pl: Likewise.
14892 * conform/linknamespace.pl: Likewise.
14893 * conform/list-header-symbols.pl: Likewise.
14894 * debug/catchsegv.sh: Likewise.
14895 * elf/genrtldtbl.awk: Likewise.
14896 * elf/tst-pathopt.sh: Likewise.
14897 * elf/tst-rtld-load-self.sh: Likewise.
14898 * grp/tst_fgetgrent.sh: Likewise.
14899 * iconvdata/gen-8bit-gap-1.sh: Likewise.
14900 * iconvdata/gen-8bit-gap.sh: Likewise.
14901 * iconvdata/gen-8bit.sh: Likewise.
14902 * iconvdata/run-iconv-test.sh: Likewise.
14903 * intl/tst-gettext.sh: Likewise.
14904 * intl/tst-gettext2.sh: Likewise.
14905 * intl/tst-gettext4.sh: Likewise.
14906 * intl/tst-gettext6.sh: Likewise.
14907 * intl/tst-translit.sh: Likewise.
14908 * io/ftwtest-sh: Likewise.
14909 * libio/test-freopen.sh: Likewise.
14910 * locale/gen-translit.pl: Likewise.
14911 * malloc/tst-mtrace.sh: Likewise.
14912 * manual/check-safety.sh: Likewise.
14913 * manual/libc-texinfo.sh: Likewise.
14914 * manual/tsort.awk: Likewise.
14915 * manual/xtract-typefun.awk: Likewise.
14916 * nptl/tst-cancel-wrappers.sh: Likewise.
14917 * nptl/tst-tls6.sh: Likewise.
14918 * posix/globtest.sh: Likewise.
14919 * posix/tst-getconf.sh: Likewise.
14920 * posix/wordexp-tst.sh: Likewise.
14921 * scripts/check-c++-types.sh: Likewise.
14922 * scripts/check-local-headers.sh: Likewise.
14923 * scripts/config.guess: Likewise.
14924 * scripts/config.sub: Likewise.
14925 * scripts/cpp: Likewise.
14926 * scripts/cross-test-ssh.sh: Likewise.
14927 * scripts/documented.sh: Likewise.
14928 * scripts/evaluate-test.sh: Likewise.
14929 * scripts/gen-libc-abis: Likewise.
14930 * scripts/gen-sorted.awk: Likewise.
14931 * scripts/list-fixed-bugs.py: Likewise.
14932 * scripts/merge-test-results.sh: Likewise.
14933 * scripts/mkinstalldirs: Likewise.
14934 * scripts/rellns-sh: Likewise.
14935 * scripts/test-installation.pl: Likewise.
14936 * scripts/update-copyrights: Likewise.
14937 * stdio-common/tst-printf.sh: Likewise.
14938 * stdio-common/tst-unbputc.sh: Likewise.
14939 * stdlib/tst-fmtmsg.sh: Likewise.
14940 * stdlib/tst-setcontext3.sh: Likewise.
14941 * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
14942 * sysdeps/unix/make-syscalls.sh: Likewise.
14943
14944 2016-01-06 John David Anglin <dave.anglin@bell.net>
14945
14946 * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
14947 asm stw with atomic_exchange_rel. Add explanatory comment.
14948 * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
14949 Likewise.
14950
14951 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
14952
14953 [BZ #19122]
14954 * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
14955 * sysdeps/generic/dl-unistd.h: New file.
14956 * sysdeps/mach/hurd/dl-unistd.h: Likewise.
14957
14958 2016-01-05 H.J. Lu <hongjiu.lu@intel.com>
14959
14960 [BZ #19122]
14961 * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
14962 * sysdeps/generic/dl-mman.h: New file.
14963 * sysdeps/mach/hurd/dl-mman.h: Likewise.
14964
14965 2016-01-05 Joseph Myers <joseph@codesourcery.com>
14966
14967 * manual/texinfo.tex: Update to version 2016-01-04.21 with
14968 trailing whitespace removed.
14969 * scripts/config.guess: Update to version 2016-01-01.
14970 * scripts/config.sub: Update to version 2016-01-01.
14971 * scripts/move-if-change: Update from gnulib.
14972
14973 2016-01-04 Anton Blanchard <anton@samba.org>
14974
14975 * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
14976 for array indices.
14977 * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
14978
14979 2016-01-04 Joseph Myers <joseph@codesourcery.com>
14980
14981 * NEWS: Update copyright dates.
14982 * catgets/gencat.c (print_version): Likewise.
14983 * csu/version.c (banner): Likewise.
14984 * debug/catchsegv.sh: Likewise.
14985 * debug/pcprofiledump.c (print_version): Likewise.
14986 * debug/xtrace.sh (do_version): Likewise.
14987 * elf/ldconfig.c (print_version): Likewise.
14988 * elf/ldd.bash.in: Likewise.
14989 * elf/pldd.c (print_version): Likewise.
14990 * elf/sotruss.sh: Likewise.
14991 * elf/sprof.c (print_version): Likewise.
14992 * iconv/iconv_prog.c (print_version): Likewise.
14993 * iconv/iconvconfig.c (print_version): Likewise.
14994 * locale/programs/locale.c (print_version): Likewise.
14995 * locale/programs/localedef.c (print_version): Likewise.
14996 * login/programs/pt_chown.c (print_version): Likewise.
14997 * malloc/memusage.sh (do_version): Likewise.
14998 * malloc/memusagestat.c (print_version): Likewise.
14999 * malloc/mtrace.pl: Likewise.
15000 * manual/libc.texinfo: Likewise.
15001 * nptl/version.c (banner): Likewise.
15002 * nscd/nscd.c (print_version): Likewise.
15003 * nss/getent.c (print_version): Likewise.
15004 * nss/makedb.c (print_version): Likewise.
15005 * posix/getconf.c (main): Likewise.
15006 * scripts/test-installation.pl: Likewise.
15007 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
15008
15009 * All files with FSF copyright notices: Update copyright dates
15010 using scripts/update-copyrights.
15011 * intl/plural.c: Regenerated.
15012 * locale/programs/charmap-kw.h: Likewise.
15013 * locale/programs/locfile-kw.h: Likewise.
15014
15015 2016-01-02 Helge Deller <deller@gmx.de>
15016
15017 [BZ #19285]
15018 * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
15019 (MAP_HUGETLB, MCL_ONFAULT): Likewise.
15020 (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
15021 (MADV_xxK_PAGES): Remove.
15022
15023 2016-01-01 Mike Frysinger <vapier@gentoo.org>
15024
15025 [BZ #15421]
15026 * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
15027 [BUILD_LGAMMA]: Wrap all code by define. Re-indent sub-preprocessor.
15028 * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
15029 * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
15030
15031 2015-12-30 Dmitry V. Levin <ldv@altlinux.org>
15032
15033 [BZ #19408]
15034 * sysdeps/unix/sysv/linux/personality.c: New file.
15035 * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
15036 * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
15037 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
15038 (sysdep_routines): Add personality.
15039 (tests): Add tst-personality.
15040 * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
15041 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
15042 * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
15043 * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
15044 * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
15045 * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
15046 * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
15047 Likewise.
15048 * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
15049 Likewise.
15050 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
15051 Likewise.
15052 * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
15053 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
15054 Likewise.
15055
15056 2015-12-30 Aurelien Jarno <aurelien@aurel32.net>
15057
15058 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
15059 (PATH_ARM_SYSTYPE): Remove.
15060 (PATH_CPUINFO): Likewise.
15061 (IO_BASE_FOOTBRIDGE): Likewise.
15062 (IO_SHIFT_FOOTBRIDGE): Likewise.
15063 (struct platform): Likewise.
15064 (init_iosys): Remove compatibility code for 2.4 kernels.
15065 * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
15066
15067 2015-12-29 Florian Weimer <fweimer@redhat.com>
15068
15069 * malloc/tst-malloc-thread-fail.c: New file.
15070 * malloc/Makefile (tests): Add tst-malloc-thread-fail.
15071 (tst-malloc-thread-fail): Link against libpthread.
15072
15073 2015-12-29 Mike Frysinger <vapier@gentoo.org>
15074
15075 * scripts/list-fixed-bugs.py: Import argparse. Call main instead.
15076 (get_parser): New function.
15077 (main): New function.
15078
15079 2015-12-29 Rob Wu <rob@robwu.nl>
15080
15081 [BZ #19369]
15082 * resolv/res_init.c (__res_vinit): Reset defdname before use.
15083
15084 2015-12-29 John David Anglin <danglin@gcc.gnu.org>
15085
15086 [BZ #19270]
15087 * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
15088
15089 2015-12-28 Mike Frysinger <vapier@gentoo.org>
15090
15091 [BZ #15421]
15092 * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
15093
15094 2015-12-23 Torvald Riegel <triegel@redhat.com>
15095
15096 [BZ #13690]
15097 * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
15098 after releasing it.
15099 (__lll_robust_unlock): Likewise.
15100 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
15101 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
15102 (lll_robust_unlock): Likewise.
15103 * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
15104 Prevent warnings in callers.
15105
15106 2015-12-23 Florian Weimer <fweimer@redhat.com>
15107
15108 * malloc/arena.c (list_lock): Update comment.
15109
15110 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15111
15112 * sysdeps/powerpc/hwcapinfo.c: Export symbol
15113 __parse_hwcap_and_convert_at_platform to libc.a.
15114
15115 2015-12-22 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15116
15117 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
15118 platform and feature support for POWER9.
15119 * sysdeps/powerpc/dl-procinfo.h: Likewise.
15120 * sysdeps/powerpc/powerpc32/power9/Implies: New file.
15121 * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
15122 * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
15123 * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
15124 * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
15125 * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
15126 * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
15127
15128 2015-12-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
15129
15130 Harmonize generic stdio-lock support with nptl
15131
15132 This fixes build when _IO_funlockfile is a macro, fixes build where
15133 _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
15134 stack unwind.
15135
15136 * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
15137 _IO_release_lock ): Use cleanup attribute on new
15138 _IO_acquire_lock_file variable instead of assuming that
15139 _IO_release_lock will be called.
15140 [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
15141 _IO_acquire_lock_needs_exceptions_enabled.
15142 (_IO_acquire_lock_clear_flags2): New macro.
15143
15144 2015-12-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15145
15146 * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
15147
15148 2015-12-21 Florian Weimer <fweimer@redhat.com>
15149
15150 [BZ #19182]
15151 * malloc/arena.c (list_lock): Document lock ordering requirements.
15152 (free_list_lock): New lock.
15153 (ptmalloc_lock_all): Comment on free_list_lock.
15154 (ptmalloc_unlock_all2): Reinitialize free_list_lock.
15155 (detach_arena): Update comment. free_list_lock is now needed.
15156 (_int_new_arena): Use free_list_lock around detach_arena call.
15157 Acquire arena lock after list_lock. Add comment, including FIXME
15158 about incorrect synchronization.
15159 (get_free_list): Switch to free_list_lock.
15160 (reused_arena): Acquire free_list_lock around detach_arena call
15161 and attached threads counter update. Add two FIXMEs about
15162 incorrect synchronization.
15163 (arena_thread_freeres): Switch to free_list_lock.
15164 * malloc/malloc.c (struct malloc_state): Update comments to
15165 mention free_list_lock.
15166
15167 2015-12-21 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
15168
15169 * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
15170 Remove functions.
15171 (sloww, sloww1): Accept argument to offset quadrant.
15172 (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
15173 quadrant.
15174 (__sin, __cos): Consolidate common code into new functions.
15175 (reduce_sincos_1, do_sincos_1): New functions.
15176 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
15177
15178 * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
15179 code to new functions.
15180 (reduce_sincos_2, do_sincos_2): New functions.
15181 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
15182
15183 * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
15184 common code for sincos.
15185 (__cos) [!IN_SINCOS]: Likewise.
15186 * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
15187 New function.
15188 (__sincos): Use it.
15189
15190 2015-12-20 Aurelien Jarno <aurelien@aurel32.net>
15191
15192 * sysdeps/i386/fpu/libm-test-ulps: Move to ....
15193 * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
15194 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
15195
15196 2015-12-19 Andrew Senkevich <andrew.senkevich@intel.com>
15197
15198 * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
15199 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
15200 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
15201 * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
15202 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
15203 * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
15204 index_Prefer_No_VZEROUPPER): New feature.
15205 * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
15206 Prefer_No_VZEROUPPER for Knights Landing.
15207
15208 015-12-18 Torvald Riegel <triegel@redhat.com>
15209
15210 * math/atest-exp2.c (mp_exp_m1): Remove.
15211
15212 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15213
15214 * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
15215 syscalls.
15216 (__SYSCALL0): New macro.
15217 (__SYSCALL1): Likewise.
15218 (__SYSCALL2): Likewise.
15219 (__SYSCALL3): Likewise.
15220 (__SYSCALL4): Likewise.
15221 (__SYSCALL5): Likewise.
15222 (__SYSCALL6): Likewise.
15223 (__SYSCALL_CONCAT_X): Likewise.
15224 (__SYSCALL_CONCAT): Likewise.
15225 (__SYSCALL_DIST): Likewise.
15226 (__SYSCALL_CALL): Likewise.
15227
15228 2015-12-17 H.J. Lu <hongjiu.lu@intel.com>
15229
15230 [BZ #19363]
15231 * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
15232
15233 2015-12-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15234
15235 [BZ #19375]
15236 * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
15237 negative subnormals.
15238
15239 2015-12-16 H.J. Lu <hongjiu.lu@intel.com>
15240
15241 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
15242 (REGISTERS_CLOBBERED_BY_SYSCALL): New.
15243 (INTERNAL_SYSCALL_NCS): Use it.
15244 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
15245
15246 2015-12-16 Florian Weimer <fweimer@redhat.com>
15247
15248 [BZ #19243]
15249 * malloc/arena.c (get_free_list): Remove assert and adjust
15250 reference count handling. Add comment about reused_arena
15251 interaction.
15252 (reused_arena): Add comments abount get_free_list interaction.
15253 * malloc/tst-malloc-thread-exit.c: New file.
15254 * malloc/Makefile (tests): Add tst-malloc-thread-exit.
15255 (tst-malloc-thread-exit): Link against libpthread.
15256
15257 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
15258
15259 [BZ #19367]
15260 * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
15261 * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
15262 * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
15263 * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
15264 (index_Prefer_MAP_32BIT_EXEC): Likewise.
15265
15266 2015-12-15 H.J. Lu <hongjiu.lu@intel.com>
15267
15268 * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
15269 Silvermont optimizations for Knights Landing.
15270
15271 2015-12-15 Andreas Schwab <schwab@suse.de>
15272
15273 [BZ #17197]
15274 * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
15275 immediately after emitting SI.
15276 * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
15277 * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
15278 * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
15279 * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
15280 * iconvdata/bug-iconv10.c: New file.
15281 * iconvdata/Makefile (tests): Add bug-iconv10.
15282 ($(objpfx)bug-iconv10.out): New rule.
15283
15284 2015-12-15 Florian Weimer <fweimer@redhat.com>
15285
15286 * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
15287 aliasing violation.
15288
15289 2015-12-14 Joseph Myers <joseph@codesourcery.com>
15290
15291 [BZ #18472]
15292 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
15293 for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
15294 conditionals for them.
15295 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
15296 * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
15297 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
15298 sys/kdaemon.h.
15299 * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
15300 compat-only syscall, obsoleted in glibc 2.23.
15301 (create_module): Likewise.
15302 (get_kernel_syms): Likewise.
15303 (query_module): Likewise.
15304 (uselib): Likewise.
15305 * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
15306
15307 2015-12-11 Aurelien Jarno <aurelien@aurel32.net>
15308
15309 * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
15310 <linux/version.h>.
15311 [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
15312 conditional code.
15313 (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
15314 and ioshift_name initialization.
15315
15316 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
15317
15318 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15319 Fix indentation.
15320
15321 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
15322
15323 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
15324
15325 2015-12-11 Steve Ellcey <sellcey@imgtec.com>
15326
15327 * stdlib/strtol_l.c (__strtol_l): Fix indentation.
15328
15329 2015-12-10 Aurelien Jarno <aurelien@aurel32.net>
15330 Jakub Wilk <jwilk@debian.org>
15331
15332 [BZ #19347]
15333 * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
15334 to change the group of the device to the tty group.
15335
15336 2015-12-10 Paul Eggert <eggert@cs.ucla.edu>
15337
15338 Split large string section; add truncation advice
15339 * manual/examples/strncat.c: Remove.
15340 This example was misleading, as the code would have undefined
15341 behavior if "hello" was longer than SIZE. Anyway, the manual
15342 shouldn't encourage strncpy+strncat for this sort of thing.
15343 * manual/string.texi (Copying Strings and Arrays): Split into
15344 three sections Copying Strings and Arrays, Concatenating Strings,
15345 and Truncating Strings, as this section was way too long. All
15346 cross-referenced changed. Add advice about string-truncation
15347 functions. Remove misleading strncat example.
15348
15349 2015-12-10 Carlos O'Donell <carlos@redhat.com>
15350
15351 * manual/nss.texi (NSS Modules Interface): Document
15352 NSS_STATUS_NOTFOUND and SUCCESS.
15353
15354 2015-12-09 Mike FABIAN <mfabian@redhat.com>
15355
15356 [BZ 18568]
15357 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
15358 201505L, for Unicode 8.
15359
15360 2015-12-09 Carlos O'Donell <carlos@redhat.com>
15361
15362 * locale/C-translit.h: Regenerate.
15363
15364 2015-12-09 Mike FABIAN <mfabian@redhat.com>
15365
15366 * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
15367 and U+0153.
15368
15369 2015-12-09 Joseph Myers <joseph@codesourcery.com>
15370
15371 [BZ #19351]
15372 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
15373 expanding log(1+z), compare z rather than its square with epsilon
15374 to determine when to avoid evaluating the expansion.
15375
15376 [BZ #19350]
15377 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
15378 Increase overflow threshold.
15379
15380 [BZ #19349]
15381 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
15382 when small.
15383
15384 * sysdeps/unix/sysv/linux/i386/kernel-features.h
15385 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
15386 New macro.
15387 [__LINUX_KERNEL_VERSION >= 0x040300]
15388 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15389 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
15390 Likewise.
15391 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
15392 Likewise.
15393 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
15394 Likewise.
15395 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
15396 Likewise.
15397 [__LINUX_KERNEL_VERSION >= 0x040300]
15398 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
15399 [__LINUX_KERNEL_VERSION >= 0x040300]
15400 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15401 [__LINUX_KERNEL_VERSION >= 0x040300]
15402 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15403 [__LINUX_KERNEL_VERSION >= 0x040300]
15404 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15405 [__LINUX_KERNEL_VERSION >= 0x040300]
15406 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15407 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
15408 Likewise.
15409 [__LINUX_KERNEL_VERSION >= 0x040300]
15410 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
15411 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15412 Likewise.
15413 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
15414 Likewise.
15415 [__LINUX_KERNEL_VERSION >= 0x040300]
15416 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
15417 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15418 Likewise.
15419 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
15420 Likewise.
15421 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
15422 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
15423 Likewise.
15424 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
15425 Likewise.
15426 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
15427 Likewise.
15428 [__LINUX_KERNEL_VERSION >= 0x040300]
15429 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15430 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
15431 Likewise.
15432 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
15433 Likewise.
15434 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
15435 Likewise.
15436 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
15437 Likewise.
15438 [__LINUX_KERNEL_VERSION >= 0x040300]
15439 (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
15440 [__LINUX_KERNEL_VERSION >= 0x040300]
15441 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15442 [__LINUX_KERNEL_VERSION >= 0x040300]
15443 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15444 [__LINUX_KERNEL_VERSION >= 0x040300]
15445 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15446 [__LINUX_KERNEL_VERSION >= 0x040300]
15447 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15448 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
15449 Likewise.
15450 [__LINUX_KERNEL_VERSION >= 0x040300]
15451 (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
15452 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
15453 Likewise.
15454 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
15455 Likewise.
15456 [__LINUX_KERNEL_VERSION >= 0x040300]
15457 (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
15458 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
15459 Likewise.
15460 [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
15461 Likewise.
15462 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
15463 (__ASSUME_SOCKET_SYSCALL): Likewise.
15464 (__ASSUME_BIND_SYSCALL): Likewise.
15465 (__ASSUME_CONNECT_SYSCALL): Likewise.
15466 (__ASSUME_LISTEN_SYSCALL): Likewise.
15467 (__ASSUME_ACCEPT_SYSCALL): Likewise.
15468 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15469 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15470 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15471 (__ASSUME_SEND_SYSCALL): Likewise.
15472 (__ASSUME_SENDTO_SYSCALL): Likewise.
15473 (__ASSUME_RECV_SYSCALL): Likewise.
15474 (__ASSUME_RECVFROM_SYSCALL): Likewise.
15475 (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
15476 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15477 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15478 (__ASSUME_SENDMSG_SYSCALL): Likewise.
15479 (__ASSUME_RECVMSG_SYSCALL): Likewise.
15480 * sysdeps/unix/sysv/linux/sh/kernel-features.h
15481 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
15482 Likewise.
15483 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
15484 Likewise.
15485 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
15486 Likewise.
15487 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
15488 Likewise.
15489 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
15490 Likewise.
15491 [__LINUX_KERNEL_VERSION >= 0x020625]
15492 (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
15493 [__LINUX_KERNEL_VERSION >= 0x020625]
15494 (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
15495 [__LINUX_KERNEL_VERSION >= 0x020625]
15496 (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
15497 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
15498 Likewise.
15499 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
15500 Likewise.
15501 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
15502 Likewise.
15503 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
15504 Likewise.
15505 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
15506 Likewise.
15507 [__LINUX_KERNEL_VERSION >= 0x020625]
15508 (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
15509 [__LINUX_KERNEL_VERSION >= 0x020625]
15510 (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
15511 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
15512 Likewise.
15513 [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
15514 Likewise.
15515
15516 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
15517
15518 * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
15519 record the current if the current ABI and CPU support the FP64
15520 extension.
15521 (has-modd-spreg): Define to record the current if the current ABI and
15522 CPU support 32-bit floating point values in odd FPU registers.
15523 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15524 * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
15525 $(has-modd-spreg) equals yes.
15526 (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
15527 (tst-abi-fp64mod): Only build when both $(has-mpf64) and
15528 $(has-modd-spreg) equal yes.
15529
15530 2015-12-09 Aurelien Jarno <aurelien@aurel32.net>
15531
15532 * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
15533 basename.
15534
15535 2015-12-08 Siddhesh Poyarekar <sid@reserved-bit.com>
15536
15537 * benchtests/Makefile (bench-math): Move ffs and ffsll...
15538 (bench-string): ... here.
15539 (bench): Add bench-string.
15540 (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
15541 to *-benchset to reflect what they are.
15542 (benchset): Adjust.
15543
15544 * benchtests/sincos-inputs: Add inputs from sin-inputs and
15545 cos-inputs.
15546
15547 2015-12-07 Andrew Senkevich <andrew.senkevich@intel.com>
15548
15549 * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
15550 __attribute__ ((__simd__)) for vector math function declarations.
15551
15552 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
15553
15554 Fix typo in strncat, wcsncat manual entries
15555 * manual/string.texi (Copying and Concatenation): Fix typos in
15556 sample implementations of strncat and wcsncat, by having them use
15557 the old value of the destination length, not the new one.
15558
15559 2015-12-04 Joseph Myers <joseph@codesourcery.com>
15560
15561 [BZ #16961]
15562 [BZ #16962]
15563 * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
15564 string on the stack for strtod.
15565 * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
15566 a string on the stack for strtof.
15567 * math/s_nanl.c (__nanl): Use __strtold_nan instead of
15568 constructing a string on the stack for strtold.
15569 * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
15570 __strtold_nan to GLIBC_PRIVATE.
15571 * math/test-nan-overflow.c: New file.
15572 * math/test-nan-payload.c: Likewise.
15573 * math/Makefile (tests): Add test-nan-overflow and
15574 test-nan-payload.
15575
15576 2015-12-04 Paul Eggert <eggert@cs.ucla.edu>
15577
15578 Consistency about byte vs character in string.texi
15579 * manual/string.texi (String and Array Utilities):
15580 Distinguish more carefully among bytes, multibyte characters,
15581 and wide characters. Use "byte" when talking about C 'char',
15582 to distinguish it more clearly from multibyte characters.
15583 Say "wide character" or "multibyte character" instead of
15584 "character", when a wide or multibyte character is intended.
15585 Similarly for "multibyte string" versus "string".
15586 Define these terms more carefully.
15587
15588 2015-12-03 Chris Metcalf <cmetcalf@ezchip.com>
15589
15590 * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
15591 * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
15592 Likewise.
15593 * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15594 * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
15595 * sysdeps/sh/math_private.h: New file.
15596 * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
15597 * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
15598 defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
15599 long double function name.
15600 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
15601 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
15602 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
15603 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
15604 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
15605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
15606 Remove __finitel, __isinfl, and __isnanl.
15607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15608 Likewise.
15609 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15610 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15611 Remove __finitel.
15612 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15613 Likewise.
15614 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15615
15616 2015-12-03 Andrew Senkevich <andrew.senkevich@intel.com>
15617
15618 * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
15619 installed libmvec_nonshared.a.
15620
15621 2015-12-03 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
15622
15623 * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
15624 (sysdep_routines): Likewise.
15625 (sysdep-rtld-routines): Likewise.
15626 [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
15627 [$(subdir) = nptl](tests-static): test-get_hwcap-static
15628 * sysdeps/powerpc/Versions: Added new
15629 __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
15630 * sysdeps/powerpc/hwcapinfo.c: New file.
15631 (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
15632 and parse hwcap, hwcap2 and platform number information.
15633 * sysdeps/powerpc/hwcapinfo.h: New file. Creates global variables
15634 to store HWCAP+HWCAP2 and platform number.
15635 * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
15636 for HWCAP+HWCAP2 and platform number in the TCB.
15637 * sysdeps/powerpc/nptl/tls.h: New functionality. Stores
15638 the HWCAP, HWCAP2 and platform number in the TCB.
15639 (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
15640 (TLS_INIT_TP): Included calls to add the hwcap and
15641 at_platform values in the TCB in TP initialization.
15642 (TLS_DEFINE_INIT_TP): Likewise.
15643 (THREAD_GET_HWCAP): New macro.
15644 (THREAD_SET_HWCAP): Likewise.
15645 (THREAD_GET_AT_PLATFORM): Likewise.
15646 (THREAD_SET_AT_PLATFORM): Likewise.
15647 * sysdeps/powerpc/powerpc32/dl-machine.h:
15648 (dl_platform_init): New function that calls
15649 __parse_hwcap_and_convert_at_platform for the dymanic linking case for
15650 powerpc32.
15651 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
15652 * sysdeps/powerpc/test-get_hwcap-static.c: New file. Testcase for
15653 this functionality, static linking case.
15654 * sysdeps/powerpc/test-get_hwcap.c: New file. Likewise, dynamic
15655 linking case.
15656 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
15657 __parse_hwcap_and_convert_at_platform for the static linking case.
15658 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
15659 Included the new __parse_hwcap_and_convert_at_platform symbol in the
15660 ABI list for GLIBC 2.23.
15661 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
15662 Likewise.
15663 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
15664 Likewise.
15665
15666 2015-12-02 Ludovic Courtès <ludo@gnu.org>
15667
15668 * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
15669 * configure: Regenerate.
15670 * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
15671 * scripts/rellns-sh: Likewise. Remove 'pwd' variable.
15672
15673 2015-12-02 Carlos O'Donell <carlos@redhat.com>
15674
15675 * iconvdata/ibm930.c: Add comment explaining encoding uses.
15676 * iconvdata/ibm933.c: Likewise.
15677 * iconvdata/ibm935.c: Likewise.
15678 * iconvdata/ibm937.c: Likewise.
15679 * iconvdata/ibm939.c: Likewise.
15680
15681 2015-12-02 Adhemerval Zanella <adhemerval.zanella@linaro.org>
15682
15683 * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
15684 pthread_join.
15685 * nptl/tst-cancel21.c (tf): Likewise.
15686
15687 2015-12-01 H.J. Lu <hongjiu.lu@intel.com>
15688
15689 [BZ #19313]
15690 * bits/typesizes.h (__CPU_MASK_TYPE): New.
15691 * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15692 * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
15693 * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
15694 Likewise.
15695 * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
15696 Likewise.
15697 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
15698 Likewise.
15699 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
15700 Likewise.
15701 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
15702 * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
15703 unsigned long int with __CPU_MASK_TYPE.
15704
15705 2015-12-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
15706
15707 * sysdeps/aarch64/libm-test-ulps: Regenerated.
15708
15709 2015-12-01 Joseph Myers <joseph@codesourcery.com>
15710
15711 * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
15712 (__ieee754_sqrt): Use hex float constants instead of tm256.x and
15713 t512.x.
15714 * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
15715
15716 2015-11-30 Amit Pawar <amit.pawar@amd.com>
15717
15718 [BZ #19214]
15719 * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
15720 argument to return extended model. Update family and model
15721 with extended family and model when family == 0x0f.
15722 (init_cpu_features): Updated.
15723
15724 2015-11-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
15725
15726 The RPC interface used by mmap uses the unsigned vm_offset_t, not the
15727 signed off_t, so 32bit bigger than 2GiB values are fine actually.
15728
15729 * sysdeps/mach/hurd/mmap64.c: New file.
15730
15731 2015-11-29 Thomas Schwinge <thomas@codesourcery.com>
15732
15733 * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
15734 rights for its main user thread in NEWTASK.
15735
15736 2015-11-28 Maciej W. Rozycki <macro@imgtec.com>
15737
15738 * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
15739 (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
15740
15741 2015-11-27 Carlos O'Donell <carlos@redhat.com>
15742
15743 [BZ #14259]
15744 * Makeconfig: Rename localedir to complocaledir.
15745 Rename inst_localedir to inst_complocaledir.
15746 * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
15747 * config.make.in: Use complocaledir and libc_cv_complocaledir.
15748 * configure.ac: Use libc_cv_complocaledir.
15749 * configure: Regenerate.
15750 * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
15751 -DCOMPLOCALEDIR.
15752 * locale/findlocale.c: Use COMPLOCALEDIR.
15753 * locale/loadarchive.c: Likewise.
15754 * locale/programs/locale.c: Likewise.
15755 * locale/programs/localedef.c: Likewise.
15756 * locale/programs/locarchive.c: Likewise.
15757 * localedata/Makefile: Use inst_complocaledir.
15758 * sysdeps/gnu/configure: Regenerate.
15759 * sysdeps/hppa/configure: Regenerate.
15760 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
15761 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
15762 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
15763 * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
15764 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
15765 * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
15766 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
15767
15768 2015-11-27 Andrew Senkevich <andrew.senkevich@intel.com>
15769
15770 [BZ #19058]
15771 * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
15772 AS_NEEDED.
15773 * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
15774 workaround.
15775 * sysdeps/x86_64/fpu/Makefile (libmvec-support,
15776 libmvec-static-only-routines): Added new file.
15777 * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
15778
15779 2015-11-25 Samuel Thibault <samuel.thibault@ens-lyon.org>
15780
15781 * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
15782 of interrupted RPC instead of restoring it.
15783
15784 * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
15785 * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
15786 libc_hidden_def.
15787 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
15788 into initialized data instead of common. Define rtld_hidden_data_def.
15789 * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
15790 * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
15791 libc_hidden_def.
15792 (if_freenameindex): Add libc_hidden_weak.
15793 (if_nameindex): Add libc_hidden_weak.
15794 * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
15795 __open64.
15796 * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
15797 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
15798 * sysdeps/mach/nanosleep.c: Include <time.h>
15799 (__nanosleep): Rename to __libc_nanosleep.
15800 (__nanosleep): Add weak_alias.
15801 (nanosleep): Update alias.
15802
15803 2015-11-24 Joseph Myers <joseph@codesourcery.com>
15804
15805 * stdlib/strtod_nan.c: New file.
15806 * stdlib/strtod_nan_double.h: Likewise.
15807 * stdlib/strtod_nan_float.h: Likewise.
15808 * stdlib/strtod_nan_main.c: Likewise.
15809 * stdlib/strtod_nan_narrow.h: Likewise.
15810 * stdlib/strtod_nan_wide.h: Likewise.
15811 * stdlib/strtof_nan.c: Likewise.
15812 * stdlib/strtold_nan.c: Likewise.
15813 * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
15814 * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
15815 * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
15816 * wcsmbs/wcstod_nan.c: Likewise.
15817 * wcsmbs/wcstof_nan.c: Likewise.
15818 * wcsmbs/wcstold_nan.c: Likewise.
15819 * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
15820 strtold_nan.
15821 * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
15822 wcstof_nan.
15823 * include/stdlib.h (__strtof_nan): Declare and use
15824 libc_hidden_proto.
15825 (__strtod_nan): Likewise.
15826 (__strtold_nan): Likewise.
15827 (__wcstof_nan): Likewise.
15828 (__wcstod_nan): Likewise.
15829 (__wcstold_nan): Likewise.
15830 * include/wchar.h (____wcstoull_l_internal): Declare.
15831 * stdlib/strtod_l.c: Do not include <ieee754.h>.
15832 (____strtoull_l_internal): Remove declaration.
15833 (STRTOF_NAN): Define macro.
15834 (SET_MANTISSA): Remove macro.
15835 (STRTOULL): Likewise.
15836 (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
15837 * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
15838 (STRTOF_NAN): Define macro.
15839 (SET_MANTISSA): Remove macro.
15840 * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
15841 (SET_MANTISSA): Remove macro.
15842 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
15843 macro.
15844 (SET_MANTISSA): Remove macro.
15845 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
15846 macro.
15847 (SET_MANTISSA): Remove macro.
15848 * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
15849 (SET_MANTISSA): Remove macro.
15850 * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
15851 * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
15852 * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
15853
15854 [BZ #19266]
15855 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
15856 upper case and lower case letters inside NAN(), not using TOLOWER.
15857 * stdlib/tst-strtod-nan-locale-main.c: New file.
15858 * stdlib/tst-strtod-nan-locale.c: Likewise.
15859 * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
15860 [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
15861 Depend on $(gen-locales).
15862 ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
15863 * wcsmbs/tst-wcstod-nan-locale.c: New file.
15864 * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
15865 [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
15866 Depend on $(gen-locales).
15867 ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
15868
15869 2015-11-24 Chris Metcalf <cmetcalf@ezchip.com>
15870
15871 * misc/tst-tsearch.c (TIMEOUT): Set to 10.
15872
15873 * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
15874 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
15875 __finitel, __isinfl, and __isnanl.
15876 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
15877 Likewise.
15878 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
15879 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
15880 __finitel.
15881 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15882 Likewise.
15883 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15884
15885 2015-11-24 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
15886
15887 * malloc/memusage.c (me): Remove redundant getenv call.
15888
15889 2015-10-24 Florian Weimer <fweimer@redhat.com>
15890
15891 [BZ #19143]
15892 [BZ #19164]
15893 * nptl/check-cpuset.h: Remove.
15894 * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
15895 Remove CPU set size check.
15896 * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
15897 Likewise.
15898 * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
15899 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
15900 (__kernel_cpumask_size, __determine_cpumask_size): Remove.
15901 (__pthread_setaffinity_new): Remove CPU set size check.
15902 * sysdeps/unix/sysv/linux/sched_setaffinity.c
15903 (__kernel_cpumask_size): Remove.
15904 (__sched_setaffinity_new): Remove CPU set size check.
15905 * manual/threads.texi (Default Thread Attributes): Remove stale
15906 reference to check_cpuset_attr, determine_cpumask_size in comment.
15907 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
15908 Remove tst-getcpu. Add tst-affinity, tst-affinity-pid.
15909 [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
15910 tst-thread-affinity-pthread2, tst-thread-affinity-sched.
15911 * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
15912 * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
15913 * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
15914 * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
15915 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
15916 * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
15917 * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
15918 skeleton test file.
15919 * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove. Superseded by
15920 tst-affinity-pid.
15921
15922 2015-11-24 Florian Weimer <fweimer@redhat.com>
15923
15924 * scripts/update-abilist.sh: New file.
15925 * Makefile (+subdir_targets): Add subdir_update-all-abi.
15926 * Makerules (update-all-abi-%, update-all-abi)
15927 (subdir_update-all-abi): New targets.
15928 * elf/Makefile (update-all-abi): New target.
15929
15930 2015-11-24 Florian Weimer <fweimer@redhat.com>
15931
15932 Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
15933 * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
15934 (__libc_lock_define_initialized): Use it.
15935 * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
15936 * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
15937 * malloc/malloc.c (main_arena): Likewise.
15938 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15939 * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
15940
15941 2015-11-23 Joseph Myers <joseph@codesourcery.com>
15942
15943 * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
15944 (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
15945 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15946 (PTRACE_O_MASK): Update value.
15947 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
15948 New value in enum __ptrace_setoptions.
15949 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15950 (PTRACE_O_MASK): Update value.
15951 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
15952 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15953 (PTRACE_O_MASK): Update value.
15954 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
15955 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15956 (PTRACE_O_MASK): Update value.
15957 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
15958 (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
15959 (PTRACE_O_MASK): Update value.
15960 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
15961 New value in enum __ptrace_setoptions.
15962 (PTRACE_O_MASK): Update value.
15963 * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
15964 New value in enum __ptrace_setoptions.
15965 (PTRACE_O_SUSPEND_SECCOMP): Likewise.
15966 (PTRACE_O_MASK): Update value.
15967
15968 * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
15969 New macro.
15970 (PACKET_AUXDATA): Likewise.
15971 (PACKET_ORIGDEV): Likewise.
15972 (PACKET_VERSION): Likewise.
15973 (PACKET_HDRLEN): Likewise.
15974 (PACKET_RESERVE): Likewise.
15975 (PACKET_TX_RING): Likewise.
15976 (PACKET_LOSS): Likewise.
15977 (PACKET_VNET_HDR): Likewise.
15978 (PACKET_TX_TIMESTAMP): Likewise.
15979 (PACKET_TIMESTAMP): Likewise.
15980 (PACKET_FANOUT): Likewise.
15981 (PACKET_TX_HAS_OFF): Likewise.
15982 (PACKET_QDISC_BYPASS): Likewise.
15983 (PACKET_ROLLOVER_STATS): Likewise.
15984 (PACKET_FANOUT_DATA): Likewise.
15985 (PACKET_MR_UNICAST): Likewise.
15986
15987 [BZ #19242]
15988 * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
15989 (TOUPPER): Likewise.
15990 * stdlib/tst-strtol-locale-main.c: New file.
15991 * stdlib/tst-strtol-locale.c: Likewise.
15992 * stdlib/Makefile (tests): Add tst-strtol-locale.
15993 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
15994 [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
15995 Depend on $(gen-locales).
15996 * wcsmbs/tst-wcstol-locale.c: New file.
15997 * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
15998 [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
15999 tr_TR.ISO-8859-9.
16000 [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
16001 Depend on $(gen-locales).
16002
16003 2015-11-20 Roland McGrath <roland@hack.frob.com>
16004
16005 * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
16006 __glibc_likely instead of __builtin_expect. After falling back to
16007 dyncode_create in a non-ET_DYN case, use the allocate_code_data
16008 system interface to register the code pages as occupied.
16009
16010 2015-11-20 Joseph Myers <joseph@codesourcery.com>
16011
16012 * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16013 [!ARM_MATH_PRIVATE_H].
16014 [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
16015 * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16016 [!HPPA_MATH_PRIVATE_H].
16017 [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
16018 * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
16019 to [!I386_MATH_PRIVATE_H].
16020 [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
16021 * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
16022 Change guard to [!M68K_MATH_PRIVATE_H].
16023 [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
16024 * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
16025 guard to [!MICROBLAZE_MATH_PRIVATE_H].
16026 [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
16027 macro.
16028 * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16029 [!MIPS_MATH_PRIVATE_H].
16030 [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
16031 * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16032 [!NIO2_MATH_PRIVATE_H].
16033 [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
16034 * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
16035 [!TILE_MATH_PRIVATE_H].
16036 [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
16037
16038 [BZ #15421]
16039 * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
16040 initialize with 0 and define as weak alias of __signgam.
16041 * include/math.h [!_ISOMAC] (__signgam): Declare.
16042 * math/Makefile (libm-calls): Add w_lgamma_compat.
16043 (tests): Add test-signgam-uchar, test-signgam-uchar-init,
16044 test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
16045 test-signgam-ullong-init.
16046 (tests-static): Add test-signgam-uchar-static,
16047 test-signgam-uchar-init-static, test-signgam-uint-static,
16048 test-signgam-uint-init-static, test-signgam-ullong-static and
16049 test-signgam-ullong-init-static.
16050 (CFLAGS-test-signgam-uchar.c): New variable.
16051 (CFLAGS-test-signgam-uchar-init.c): Likewise.
16052 (CFLAGS-test-signgam-uchar-static.c): Likewise.
16053 (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
16054 (CFLAGS-test-signgam-uint.c): Likewise.
16055 (CFLAGS-test-signgam-uint-init.c): Likewise.
16056 (CFLAGS-test-signgam-uint-static.c): Likewise.
16057 (CFLAGS-test-signgam-uint-init-static.c): Likewise.
16058 (CFLAGS-test-signgam-ullong.c): Likewise.
16059 (CFLAGS-test-signgam-ullong-init.c): Likewise.
16060 (CFLAGS-test-signgam-ullong-static.c): Likewise.
16061 (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
16062 * math/Versions (libm): Add GLIBC_2.23.
16063 * math/lgamma-compat.h: New file.
16064 * math/test-signgam-main.c: Likewise.
16065 * math/test-signgam-uchar-init-static.c: Likewise.
16066 * math/test-signgam-uchar-init.c: Likewise.
16067 * math/test-signgam-uchar-static.c: Likewise.
16068 * math/test-signgam-uchar.c: Likewise.
16069 * math/test-signgam-uint-init-static.c: Likewise.
16070 * math/test-signgam-uint-init.c: Likewise.
16071 * math/test-signgam-uint-static.c: Likewise.
16072 * math/test-signgam-uint.c: Likewise.
16073 * math/test-signgam-ullong-init-static.c: Likewise.
16074 * math/test-signgam-ullong-init.c: Likewise.
16075 * math/test-signgam-ullong-static.c: Likewise.
16076 * math/test-signgam-ullong.c: Likewise.
16077 * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
16078 wrapper of w_lgamma_main.c.
16079 * math/w_lgamma_compat.c: New file.
16080 * math/w_lgamma_compatf.c: Likewise.
16081 * math/w_lgamma_compatl.c: Likewise.
16082 * math/w_lgamma_main.c: New file. Based on w_lgamma.c. Include
16083 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
16084 defining compatibility symbols.
16085 (__lgamma): Change to LGFUNC (__lgamma). Use CALL_LGAMMA.
16086 * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
16087 wrapper of w_lgammaf_main.c.
16088 * math/w_lgammaf_main.c: New file. Based on w_lgammaf.c. Include
16089 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
16090 defining compatibility symbols.
16091 (__lgammaf): Change to LGFUNC (__lgammaf). Use CALL_LGAMMA.
16092 * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
16093 wrapper of w_lgammal_main.c.
16094 * math/w_lgammal_main.c: New file. Based on w_lgammal.c. Include
16095 <lgamma-compat.h>. Condition contents on [BUILD_LGAMMA]. Support
16096 defining compatibility symbols.
16097 (__lgammal): Change to LGFUNC (__lgammal). Use CALL_LGAMMA.
16098 * sysdeps/ia64/fpu/lgamma-compat.h: New file.
16099 * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
16100 * sysdeps/ia64/fpu/w_lgamma_main.c: ...here. Include
16101 <lgamma-compat.h>.
16102 (__ieee754_lgamma): Change to LGFUNC (lgamma). Use CALL_LGAMMA.
16103 (__ieee754_gamma): Define as alias.
16104 * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
16105 * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here. Include
16106 <lgamma-compat.h>.
16107 (__ieee754_lgammaf): Change to LGFUNC (lgammaf). Use CALL_LGAMMA.
16108 (__ieee754_gammaf): Define as alias.
16109 * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
16110 * sysdeps/ia64/fpu/w_lgammal_main.c: ...here. Include
16111 <lgamma-compat.h>.
16112 (__ieee754_lgammal): Change to LGFUNC (lgammal). Use CALL_LGAMMA.
16113 (__ieee754_gammal): Define as alias.
16114 * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
16115 * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here. Include
16116 <math/w_lgamma_compat.c>.
16117 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
16118 Define as alias of __lgamma_compat and use in defining lgammal.
16119 * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
16120 * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here. Include
16121 <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
16122 (USE_AS_COMPAT): New macro.
16123 (LGAMMA_OLD_VER): Undefine and redefine.
16124 (lgammal): Do not define here.
16125 (gammal): Only define here if [GAMMA_ALIAS].
16126 * conform/linknamespace.pl (@whitelist): Remove signgam.
16127 * sysdeps/nacl/libm.abilist: Update.
16128 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16129 * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16130 * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16131 * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16132 * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16133 * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16134 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16135 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16136 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16137 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16138 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16139 * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16140 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
16141 Likewise.
16142 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16143 Likewise.
16144 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
16145 Likewise.
16146 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
16147 Likewise.
16148 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16149 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16150 * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16151 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16152 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16153 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
16154 Likewise.
16155 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
16156 Likewise.
16157 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16158 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16159 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16160
16161 2015-11-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16162
16163 [BZ #16364]
16164 * sysdeps/unix/sysv/linux/sleep.c: Remove file.
16165 * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
16166
16167 2015-11-20 Stefan Liebler <stli@linux.vnet.ibm.com>
16168
16169 * sysdeps/s390/fpu/bits/mathinline.h:
16170 Use __asm__ [__volatile__] instead of asm [volatile].
16171 * sysdeps/s390/abort-instr.h: Likewise.
16172 * sysdeps/s390/atomic-machine.h: Likewise.
16173 * sysdeps/s390/bits/string.h: Likewise.
16174 * sysdeps/s390/dl-tls.h: Likewise.
16175 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
16176 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
16177 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
16178 * sysdeps/s390/fpu/fesetround.c: Likewise.
16179 * sysdeps/s390/fpu/fpu_control.h: Likewise.
16180 * sysdeps/s390/fpu/s_fma.c: Likewise.
16181 * sysdeps/s390/fpu/s_fmaf.c: Likewise.
16182 * sysdeps/s390/memusage.h: Likewise.
16183 * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
16184 * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
16185 * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
16186 * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
16187 * sysdeps/s390/nptl/tls.h: Likewise.
16188 * sysdeps/s390/s390-32/__longjmp.c: Likewise.
16189 * sysdeps/s390/s390-32/backtrace.c: Likewise.
16190 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
16191 * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
16192 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
16193 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
16194 * sysdeps/s390/s390-64/__longjmp.c: Likewise.
16195 * sysdeps/s390/s390-64/backtrace.c: Likewise.
16196 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16197 * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
16198 * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
16199 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
16200 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
16201 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
16202 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
16203 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
16204 * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
16205 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
16206 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
16207 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
16208 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
16209 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
16210 * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
16211
16212 2015-11-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
16213 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16214
16215 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
16216 Add lwarx hint, and use macro for acquire instruction.
16217 * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
16218 Likewise.
16219 * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
16220 * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
16221 update to use new atomic macros.
16222
16223 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16224
16225 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
16226 (__lll_trylock_elision): Fix setting of adapt_count.
16227 * sysdeps/unix/sysv/linux/powerpc/htm.h
16228 (_ABORT_PERSISTENT): Define to clarify persistent aborts.
16229 (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
16230 (_ABORT_SYSCALL): Renumber, and clarify definition.
16231 (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
16232
16233 2015-11-19 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
16234
16235 * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
16236 after system headers to prevent MIN/MAX redefinition. Define
16237 HAVE_ALLOCA to preserve builtin alloca usage.
16238
16239 2015-11-17 Siddhesh Poyarekar <siddhesh.poyarekar@linaro.org>
16240
16241 * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
16242 static and don't set or restore rounding.
16243 (__cos)[IN_SINCOS]: Likewise.
16244 * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
16245 (__sincos): Set and restore rounding mode. Remove check for infinite
16246 or NaN input.
16247
16248 * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
16249
16250 * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
16251 as used.
16252
16253 2015-11-16 Florian Weimer <fweimer@redhat.com>
16254
16255 * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
16256
16257 2015-11-14 H.J. Lu <hongjiu.lu@intel.com>
16258
16259 * config.make.in (have-glob-dat-reloc): New.
16260 * configure.ac (libc_cv_has_glob_dat): New. Set to yes if
16261 target supports GLOB_DAT relocaton. AC_SUBST.
16262 * configure: Regenerated.
16263 * elf/Makefile (tests): Add tst-prelink.
16264 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
16265 (tst-prelink-ENV): New.
16266 ($(objpfx)tst-prelink-conflict.out): Likewise.
16267 ($(objpfx)tst-prelink-cmp.out): Likewise.
16268 * sysdeps/x86/tst-prelink.c: Moved to ...
16269 * elf/tst-prelink.c: Here.
16270 * sysdeps/x86/tst-prelink.exp: Moved to ...
16271 * elf/tst-prelink.exp: Here.
16272 * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
16273 (tst-prelink-ENV): Removed.
16274 ($(objpfx)tst-prelink-conflict.out): Likewise.
16275 ($(objpfx)tst-prelink-cmp.out): Likewise.
16276 (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
16277
16278 2015-11-13 Joseph Myers <joseph@codesourcery.com>
16279
16280 [BZ #14551]
16281 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
16282 (__mpn_construct_long_double): If high part overflows to infinity,
16283 set errno and recompute overflowed result of the correct sign.
16284 * sysdeps/ieee754/ldbl-128ibm/Makefile
16285 [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
16286 [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
16287 $(libm).
16288 * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
16289
16290 2015-11-12 Joseph Myers <joseph@codesourcery.com>
16291
16292 [BZ #15479]
16293 [BZ #19238]
16294 * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
16295 floating-point state after first operation on input. Restore full
16296 state rather than just rounding mode.
16297 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
16298 * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
16299 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
16300
16301 [BZ #19235]
16302 * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
16303 add 0.5 to integer arguments.
16304 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
16305 Likewise.
16306 (.LC2): New object.
16307
16308 2015-11-11 Mike Frysinger <vapier@gentoo.org>
16309
16310 * scripts/pylintrc (reports): Set to no.
16311
16312 2015-11-10 Roland McGrath <roland@hack.frob.com>
16313
16314 * elf/dl-load.c (open_verify): Take new argument FD.
16315 Skip __open call if passed FD is not -1.
16316 (_dl_map_object, open_path): Update callers.
16317 * elf/dl-sysdep-open.h: New file.
16318 * elf/dl-load.c: Include it.
16319 (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
16320 * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
16321 * sysdeps/nacl/dl-sysdep-open.h: New file.
16322 * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
16323 from libc to rtld.
16324
16325 2015-11-10 Joseph Myers <joseph@codesourcery.com>
16326
16327 [BZ #19228]
16328 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
16329 and restore full floating-point state.
16330 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
16331 Likewise.
16332 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
16333 Likewise.
16334 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
16335 Likewise.
16336 * math/test-nearbyint-except-2.c: New file.
16337 * math/Makefile (tests): Add test-nearbyint-except-2.
16338
16339 2015-11-10 H.J. Lu <hongjiu.lu@intel.com>
16340
16341 [BZ #19178]
16342 * sysdeps/x86/Makefile (tests): Add tst-prelink.
16343 (tst-prelink-ENV): New.
16344 ($(objpfx)tst-prelink-conflict.out): Likewise.
16345 ($(objpfx)tst-prelink-cmp.out): Likewise.
16346 (tests-special): Add $(objpfx)tst-prelink-cmp.out.
16347 * sysdeps/x86/tst-prelink.c: New file.
16348 * sysdeps/x86/tst-prelink.exp: Likewise.
16349
16350 2015-11-10 Joseph Myers <joseph@codesourcery.com>
16351
16352 * math/auto-libm-test-in: Add another test of pow.
16353 * math/auto-libm-test-out: Regenerated.
16354 * math/libm-test.inc (pow_test_data): Add another test.
16355
16356 2015-11-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
16357
16358 [BZ #19219]
16359 * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
16360 weak_alias to nearbyintl.
16361
16362 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
16363
16364 * sysdeps/aarch64/bits/string.h: New file.
16365 (_STRING_ARCH_unaligned): Define.
16366
16367 2015-11-10 Wilco Dijkstra <wdijkstr@arm.com>
16368
16369 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
16370 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
16371 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
16372 * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
16373 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
16374
16375 2015-11-09 Ulrich Drepper <drepper@gmail.com>
16376
16377 * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
16378 for original name of the DSO. Add it to the name list of the DSO
16379 if it is actually given.
16380 (_dl_map_object): Keep track of whether an audit module rewrote
16381 the file name. If yes, pass the original name to
16382 _dl_map_object_from_fd in a new parameter, otherwise NULL. When
16383 debugging is enabled, log the change of the file name.
16384 * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
16385 _dl_map_object_from_fd.
16386 * elf/Makefile: Build and run tst-audit11 and tst-audit12.
16387 * elf/tst-audit11.c: New file
16388 * elf/tst-auditmod11.c: New file.
16389 * elf/tst-audit11mod1.c: New file.
16390 * elf/tst-audit11mod2.c: New file.
16391 * elf/tst-audit11mod2.map: New file.
16392 * elf/tst-audit12.c: New file
16393 * elf/tst-auditmod12.c: New file.
16394 * elf/tst-audit12mod1.c: New file.
16395 * elf/tst-audit12mod2.c: New file.
16396 * elf/tst-audit12mod2.map: New file.
16397 * elf/tst-audit12mod3.c: New file.
16398
16399 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
16400
16401 * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
16402 Don't create weak aliases,
16403 because versioned symbols are created later.
16404 * sysdeps/s390/s390-32/setjmp.S
16405 (setjmp, _setjmp): Remove weak and rename to an unique name
16406 in SHARED case due to existing versioned symbols.
16407 * sysdeps/s390/s390-64/setjmp.S: Likewise.
16408 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
16409 (getcontext): Create weak alias only in non SHARED case.
16410 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
16411
16412 2015-11-09 Stefan Liebler <stli@linux.vnet.ibm.com>
16413
16414 * sysdeps/unix/sysv/linux/s390/kernel-features.h:
16415 (__ASSUME_*_SYSCALL) Define new macros.
16416 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
16417 Remove socketcall syscalls.
16418 * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
16419 Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
16420 * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
16421 Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
16422 * sysdeps/unix/sysv/linux/send.c (__libc_send):
16423 Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
16424
16425 2015-11-09 Florian Weimer <fweimer@redhat.com>
16426
16427 [BZ #12926]
16428 Terminate process on invalid netlink response.
16429 * sysdeps/unix/sysv/linux/netlinkaccess.h
16430 (__netlink_assert_response): Declare.
16431 * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
16432 * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
16433 (sysdep_routines): Add netlink_assert_response.
16434 * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
16435 __netlink_assert_response.
16436 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
16437 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
16438 * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
16439 __netlink_assert_response.
16440
16441 2015-11-07 H.J. Lu <hongjiu.lu@intel.com>
16442
16443 [BZ #19178]
16444 * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
16445 (RTYPE_CLASS_PLT): Likewise.
16446 (RTYPE_CLASS_COPY): Likewise.
16447 (RTYPE_CLASS_TLS): Likewise.
16448 (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
16449 to set relocation type class for DL_DEBUG_PRELINK. Keep only
16450 ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
16451 DL_DEBUG_PRELINK.
16452
16453 2015-11-06 Joseph Myers <joseph@codesourcery.com>
16454
16455 * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
16456 calls with argument -0.5.
16457 * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
16458
16459 * configure.ac (libc_cv_z_nodelete): Remove configure test.
16460 (libc_cv_z_nodlopen): Likewise.
16461 (libc_cv_z_initfirst): Likewise.
16462 * configure: Regenerated.
16463
16464 2015-11-06 Florian Weimer <fweimer@redhat.com>
16465
16466 Simplify abilist format to be line-based.
16467 * scripts/abilist.awk: Collect descriptors in the descs variable.
16468 (emit): Write descs variable and sort it
16469 externally, with sort.
16470 * sysdeps/**/*.abilist: Convert to new format.
16471
16472 2015-11-06 Mark Wielaard <mjw@redhat.com>
16473
16474 [BZ #11460]
16475 * io/Makefile (routines): Add fts64.
16476 (tests): Add tst-fts and tst-fts-lfs.
16477 (CFLAGS-fts64.c): New.
16478 * io/Versions (GLIBC_2.23): New.
16479 * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
16480 function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
16481 FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
16482 FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
16483 * io/fts.h (FTS64): New if _USE_LARGEFILE64.
16484 (FTSENT64): Likewise.
16485 (fts64_children): Likewise.
16486 (fts64_close): Likewise.
16487 (fts64_open): Likewise.
16488 (fts64_read): Likewise.
16489 (fts64_set): Likewise.
16490 * io/fts64.c: New file.
16491 * io/tst-fts.c: New test.
16492 * io/tst-fts-lfs.c: Likewise.
16493 * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
16494 GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
16495 fts64_set.
16496 * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
16497 * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
16498 * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
16499 * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
16500 * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
16501 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
16502 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
16503 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
16504 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
16505 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
16506 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
16507 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
16508 * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
16509 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
16510 Likewise.
16511 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
16512 Likewise.
16513 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
16514 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
16515 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
16516 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
16517 * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
16518 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
16519 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
16520 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
16521 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
16522 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
16523 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
16524 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
16525 * sysdeps/wordsize-64/fts.c: New file.
16526 * sysdeps/wordsize-64/fts64.c: Likewise.
16527 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
16528 * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
16529 * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
16530 * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
16531
16532 2015-11-05 Joseph Myers <joseph@codesourcery.com>
16533
16534 * math/libm-test.inc (NON_FINITE): New macro.
16535 (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
16536 * math/gen-libm-test.pl (show_exceptions): Add argument
16537 $non_finite.
16538 (parse_args): Update call to show_exceptions.
16539 * math/test-math-finite.h: New file.
16540 * math/test-math-no-finite.h: Likewise.
16541 * math/test-double-finite.c: Likewise.
16542 * math/test-float-finite.c: Likewise.
16543 * math/test-ldouble-finite.c: Likewise.
16544 * math/test-double.c: Include "test-math-no-finite.h".
16545 * math/test-float.c: Include "test-math-no-finite.h".
16546 * math/test-ldouble.c: Include "test-math-no-finite.h".
16547 * math/test-math-inline.h (TEST_FINITE): New macro.
16548 * math/test-math-vector.h (TEST_FINITE): Likewise.
16549 * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
16550 (libm-tests): Add test-float-finite and test-double-finite.
16551 ($(objpfx)test-float-finite.o): New dependency on
16552 $(objpfx)libm-test.stmp.
16553 ($(objpfx)test-double-finite.o): Likewise.
16554 ($(objpfx)test-ldouble-finite.o): Likewise.
16555 (libm-test-no-inline-cflags): New variable.
16556 (libm-test-finite-cflags): Likewise.
16557 (CFLAGS-test-float-finite.c): Likewise.
16558 (CFLAGS-test-double-finite.c): Likewise.
16559 (CFLAGS-test-ldouble-finite.c): Likewise.
16560 (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
16561 (CFLAGS-test-double.c): Likewise.
16562 (CFLAGS-test-ldouble.c): Likewise.
16563
16564 2015-11-05 Roland McGrath <roland@hack.frob.com>
16565
16566 * io/fcntl.c (__fcntl): Add ... to prototype.
16567 * misc/ioctl.c (__ioctl): Likewise.
16568 * misc/syscall.c (syscall): Likewise.
16569
16570 2015-11-05 Joseph Myers <joseph@codesourcery.com>
16571
16572 * scripts/list-fixed-bugs.py: New file.
16573
16574 [BZ #19213]
16575 * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
16576 returned for argument 1.
16577 * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
16578 * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
16579 * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
16580 * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
16581 * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
16582 * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
16583
16584 [BZ #19211]
16585 * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
16586 __USE_XOPEN], not if [!__USE_ISOC99].
16587 (lgammaf): Likewise.
16588 (lgammal): Likewise.
16589 (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
16590 (gammaf): Likewise.
16591 (gammal): Likewise.
16592 * math/test-signgam-finite-c11.c: New file.
16593 * math/test-signgam-finite-c99.c: Likewise.
16594 * math/test-signgam-finite.c: Likewise.
16595 * math/Makefile (tests): Add test-signgam-finite,
16596 test-signgam-finite-c99 and test-signgam-finite-c11.
16597 (CFLAGS-test-signgam-finite.c): New variable.
16598 (CFLAGS-test-signgam-finite-c99.c): Likewise.
16599 (CFLAGS-test-signgam-finite-c11.c): Likewise.
16600
16601 [BZ #19212]
16602 * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
16603 conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
16604 500].
16605 [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
16606 _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
16607 [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
16608 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
16609 [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
16610 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
16611 [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
16612 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
16613 [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
16614 _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
16615
16616 [BZ #19209]
16617 * math/bits/math-finite.h (ldexp): Remove declaration.
16618 (ldexpf): Likewise.
16619 (ldexpl): Likewise.
16620
16621 [BZ #19205]
16622 * math/bits/math-finite.h (acosf): Condition declaration on
16623 [__USE_ISOC99].
16624 (acosl): Likewise.
16625 (acoshf): Likewise.
16626 (acoshl): Likewise.
16627 (asinf): Likewise.
16628 (asinl): Likewise.
16629 (atan2f): Likewise.
16630 (atan2l): Likewise.
16631 (atanhf): Likewise.
16632 (atanhl): Likewise.
16633 (coshf): Likewise.
16634 (coshl): Likewise.
16635 (expf): Likewise.
16636 (expl): Likewise.
16637 (fmodf): Likewise.
16638 (fmodl): Likewise.
16639 (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
16640 (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
16641 (j0l): Likewise.
16642 (y0f): Likewise.
16643 (y0l): Likewise.
16644 (j1f): Likewise.
16645 (j1l): Likewise.
16646 (y1f): Likewise.
16647 (y1l): Likewise.
16648 (jnf): Likewise.
16649 (jnl): Likewise.
16650 (ynf): Likewise.
16651 (ynl): Likewise.
16652 (lgammaf_r): Condition declaration on [__USE_ISOC99].
16653 (lgammal_r): Likewise.
16654 (__lgamma_r_finite): New declaration.
16655 (__lgammaf_r_finite): Likewise.
16656 (__lgammal_r_finite): Likewise.
16657 (lgamma): Use __lgamma_r_finite.
16658 (lgammaf): Condition definition on [__USE_ISOC99]. Use
16659 __lgammaf_r_finite.
16660 (lgammal): Condition definition on [__USE_ISOC99]. Use
16661 __lgammal_r_finite.
16662 (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K]. Use
16663 __lgamma_r_finite.
16664 (gammaf): Condition definition on [__USE_ISOC99]. Use
16665 __lgammaf_r_finite.
16666 (gammal): Condition definition on [__USE_ISOC99]. Use
16667 __lgammal_r_finite.
16668 (logf): Condition declaration on [__USE_ISOC99].
16669 (logl): Likewise.
16670 (log10f): Likewise.
16671 (log10l): Likewise.
16672 (ldexpf): Likewise.
16673 (ldexpl): Likewise.
16674 (powf): Likewise.
16675 (powl): Likewise.
16676 (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
16677 __USE_ISOC99].
16678 (remainderf): Condition declaration on [__USE_ISOC99].
16679 (remainderl): Likewise.
16680 (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
16681 (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
16682 (scalbl): Likewise.
16683 (sinhf): Condition declaration on [__USE_ISOC99].
16684 (sinhl): Likewise.
16685 (sqrtf): Likewise.
16686 (sqrtl): Likewise.
16687
16688 2015-11-04 Joseph Myers <joseph@codesourcery.com>
16689
16690 * sysdeps/arm/atomic-machine.h
16691 [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16692 Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16693 [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
16694 Remove conditional code.
16695 [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
16696 Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
16697 * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
16698 Change conditional to [__ASSEMBLER__].
16699 [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
16700 [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
16701 [!__ASSEMBLER__].
16702 [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
16703 code.
16704 * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
16705 conditional macro definitions.
16706 (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
16707 (__arch_compare_and_exchange_val_16_acq): Likewise.
16708 (__arch_compare_and_exchange_val_32_acq): Likewise.
16709 (atomic_exchange_and_add): Likewise.
16710 (atomic_add): Likewise.
16711 (atomic_add_negative): Likewise.
16712 (atomic_add_zero): Likewise.
16713 (atomic_bit_set): Likewise.
16714 (atomic_bit_test_set): Likewise.
16715 * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
16716 code unconditional.
16717 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
16718
16719 * math/test-math-errno.h: New file.
16720 * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
16721 empty.
16722 (TEST_ERRNO): New macro.
16723 (TEST_EXCEPTIONS): Likewise.
16724 * math/test-math-no-inline.h (TEST_INLINE): Likewise.
16725 (TEST_EXCEPTIONS): Likewise.
16726 * math/test-math-vector.h (TEST_ERRNO): Likewise.
16727 * math/test-double.c: Include "test-math-errno.h".
16728 * math/test-float.c: Likewise.
16729 * math/test-ldouble.c: Likewise.
16730 * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
16731 code unconditional.
16732 (test_exceptions): Only run code if TEST_EXCEPTIONS.
16733 (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
16734 unconditional.
16735 (test_errno): Only run code if TEST_ERRNO.
16736 (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
16737
16738 2015-11-04 Florian Weimer <fweimer@redhat.com>
16739
16740 * nptl/tst-once5.cc: Remove attribution.
16741
16742 2015-11-04 Joseph Myers <joseph@codesourcery.com>
16743
16744 * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
16745 sqrt, tan, tanh, y0, y1 and yn.
16746 * math/auto-libm-test-out: Regenerated.
16747 * math/libm-test.inc (scalb_test_data): Add more tests.
16748 (scalbn_test_data): Likewise.
16749 (scalbln_test_data): Likewise.
16750 (signbit_test_data): Likewise.
16751 (sin_test_data): Likewise.
16752 (sincos_test_data): Likewise.
16753 (sinh_test_data): Likewise.
16754 (sqrt_test_data): Likewise.
16755 (tan_test_data): Likewise.
16756 (tanh_test_data): Likewise.
16757 (tgamma_test_data): Likewise.
16758 (y0_test_data): Likewise.
16759 (y1_test_data): Likewise.
16760 (yn_test_data): Likewise.
16761 (significand_test_data): Likewise.
16762 * sysdeps/i386/fpu/libm-test-ulps: Update.
16763
16764 2015-11-03 David Kastrup <dak@gnu.org>
16765
16766 [BZ #18604]
16767 * assert/assert.h (assert): Don't macro-expand failed assertion
16768 expression in error message.
16769 * malloc/malloc.c (assert): Likewise.
16770
16771 2015-11-03 Joseph Myers <joseph@codesourcery.com>
16772
16773 * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
16774 test.
16775 * configure: Regenerated.
16776
16777 2015-11-02 Joseph Myers <joseph@codesourcery.com>
16778
16779 * math/libm-test.inc (modf_test_data): Add more tests.
16780 (nearbyint_test_data): Likewise.
16781 (nextafter_test_data): Likewise.
16782 (nexttoward_test_data): Likewise.
16783 (pow_test_data): Likewise.
16784 (remainder_test_data): Likewise.
16785 (remquo_test_data): Likewise.
16786 (rint_test_data): Likewise.
16787
16788 [BZ #19201]
16789 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
16790 Check for zero remainder in case of large exponents and ensure
16791 correct sign of result in that case.
16792 * math/libm-test.inc (remainder_test_data): Add more tests.
16793
16794 [BZ #6799]
16795 * math/s_nextafter.c: Include <errno.h>.
16796 (__nextafter): Set errno on overflow and underflow.
16797 * math/s_nexttowardf.c: Include <errno.h>.
16798 (__nexttowardf): Set errno on overflow and underflow.
16799 * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
16800 (__nextafterl): Set errno on overflow and underflow.
16801 * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
16802 (__nexttoward): Set errno on overflow and underflow.
16803 * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
16804 (__nexttowardf): Set errno on overflow and underflow.
16805 * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
16806 (__nextafterf): Set errno on overflow and underflow.
16807 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
16808 (__nextafterl): Set errno on overflow and underflow.
16809 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
16810 (__nexttoward): Set errno on overflow and underflow.
16811 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
16812 (__nexttowardf): Set errno on overflow and underflow.
16813 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
16814 (__nextafterl): Set errno on overflow and underflow.
16815 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
16816 (__nexttoward): Set errno on overflow and underflow.
16817 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
16818 (__nexttowardf): Set errno on overflow and underflow.
16819 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
16820 (__nexttoward): Set errno on overflow and underflow.
16821 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
16822 (__nexttowardf): Set errno on overflow and underflow.
16823 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
16824 (__nldbl_nexttowardf): Set errno on overflow and underflow.
16825 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
16826 (__nextafterl): Set errno on overflow and underflow.
16827 * math/libm-test.inc (nextafter_test_data): Do not allow errno
16828 setting to be missing on overflow. Add more tests.
16829 (nexttoward_test_data): Likewise.
16830
16831 * configure.ac (libc_cv_initfini_array): Remove configure test.
16832 * configure: Regenerated.
16833
16834 2015-10-29 Joseph Myers <joseph@codesourcery.com>
16835
16836 [BZ #19189]
16837 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
16838 non-finite argument handle arguments with negative sign.
16839
16840 * math/libm-test.inc (j0_test_data): Do not test sign of zero
16841 result from infinite argument.
16842 (j1_test_data): Likewise.
16843 (jn_test_data): Likewise.
16844 (y0_test_data): Likewise.
16845 (y1_test_data): Likewise.
16846 (yn_test_data): Likewise.
16847
16848 [BZ #16171]
16849 * math/w_remainder.c (drem): Define as weak alias of __remainder.
16850 [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
16851 * math/w_remainderf.c (dremf): Define as weak alias of
16852 __remainderf.
16853 * math/w_remainderl.c (dreml): Define as weak alias of
16854 __remainderl.
16855 * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
16856 __remainder.
16857 * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
16858 __remainderf.
16859 * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
16860 __remainderl.
16861 * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
16862 weak alias of remainderl.
16863 * sysdeps/ieee754/ldbl-opt/w_remainder.c
16864 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
16865 alias of __remainder.
16866 [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
16867 * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
16868 strong alias of __remainderl.
16869 (dreml): Use long_double_symbol.
16870 * math/Makefile (libm-calls): Remove w_drem.
16871 * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
16872 (CFLAGS-nldbl-drem.c): Remove variable.
16873 (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
16874 * math/w_drem.c: Remove file.
16875 * math/w_dremf.c: Likewise.
16876 * math/w_dreml.c: Likewise.
16877 * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
16878 * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
16879 * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
16880
16881 * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
16882 * sysdeps/i386/configure: Regenerated.
16883 * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
16884 * sysdeps/x86_64/configure: Regenerated.
16885
16886 * configure.ac (libc_cv_asm_protected_directive): Remove configure
16887 test.
16888 (libc_cv_visibility_attribute): Likewise.
16889 (libc_cv_protected_data): Test unconditionally.
16890 (libc_cv_broken_visibility_attribute): Remove configure test.
16891 (libc_cv_have_sdata_section): Test unconditionally.
16892 * configure: Regenerated.
16893
16894 * include/libc-internal.h (libc_max_align_t): Remove typedef.
16895 * include/scratch_buffer.h: Include <stddef.h> instead of
16896 <libc-internal.h>.
16897 (struct scratch_buffer): Use max_align_t instead of
16898 libc_max_align_t.
16899
16900 2015-10-29 Florian Weimer <fweimer@redhat.com>
16901
16902 * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
16903 instead of extend_alloca. Change control flow to avoid a goto.
16904 Remove assert which is trivially always true.
16905
16906 2015-10-28 Joseph Myers <joseph@codesourcery.com>
16907
16908 [BZ #16068]
16909 * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
16910 (FE_ALL_EXCEPT_X86): New macro.
16911 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16912 FE_ALL_EXCEPT. Ensure precision control is included in
16913 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16914 handle "denormal operand exception" and clear FZ and DAZ bits.
16915 * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
16916 (FE_ALL_EXCEPT_X86): New macro.
16917 (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
16918 FE_ALL_EXCEPT. Ensure precision control is included in
16919 floating-point state. Ensure that FE_DFL_ENV and FE_NOMASK_ENV
16920 handle "denormal operand exception" and clear FZ and DAZ bits.
16921 * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
16922 * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
16923 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16924 test-fenv-x87 and test-fenv-sse-2.
16925 [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
16926
16927 * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
16928 * math/test-double.h (BUILD_COMPLEX): New macro.
16929 * math/test-float.h (BUILD_COMPLEX): Likewise.
16930 * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
16931
16932 * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
16933 DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
16934 __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
16935 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
16936 instead of DBL_DENORM_MIN in comment.
16937 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
16938 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16939 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
16940 (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
16941 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
16942 LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
16943
16944 2015-10-28 Florian Weimer <fweimer@redhat.com>
16945
16946 [BZ# 19048]
16947 * malloc/malloc.c (struct malloc_state): Update comment. Add
16948 attached_threads member.
16949 (main_arena): Initialize attached_threads.
16950 * malloc/arena.c (list_lock): Update comment.
16951 (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
16952 (ptmalloc_unlock_all2): Reinitialize arena reference counts.
16953 (deattach_arena): New function.
16954 (_int_new_arena): Initialize arena reference count and deattach
16955 replaced arena.
16956 (get_free_list, reused_arena): Update reference count and deattach
16957 replaced arena.
16958 (arena_thread_freeres): Update arena reference count and only put
16959 unreferenced arenas on the free list.
16960
16961 2015-10-28 Joseph Myers <joseph@codesourcery.com>
16962
16963 [BZ #19181]
16964 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
16965 SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
16966 * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
16967 * math/test-fenv-clear-main.c: New file.
16968 * math/test-fenv-clear.c: Likewise.
16969 * math/Makefile (tests): Add test-fenv-clear.
16970 * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
16971 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
16972 test-fenv-clear-sse.
16973 [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
16974
16975 * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
16976 DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
16977 __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
16978
16979 2015-10-28 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
16980
16981 * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
16982 static libc.
16983
16984 2015-10-28 Joseph Myers <joseph@codesourcery.com>
16985
16986 * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
16987 test.
16988 * sysdeps/i386/configure: Regenerated.
16989 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
16990 test.
16991 * sysdeps/x86_64/configure: Regenerated.
16992 * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
16993 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
16994 memset-avx2 unconditionally instead of conditionally on
16995 [$(config-cflags-avx2) = yes].
16996 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
16997 (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
16998 unconditional.
16999 * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
17000 * sysdeps/x86_64/multiarch/memset_chk.S
17001 [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
17002 to [IS_IN (libc) && SHARED].
17003
17004 2015-10-27 Joseph Myers <joseph@codesourcery.com>
17005
17006 * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
17007 configure test.
17008 * sysdeps/arm/configure: Regenerated.
17009 * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
17010 Define variable if not already defined.
17011
17012 [BZ #17404]
17013 * sysdeps/mips/atomic-machine.h
17014 [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
17015 Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
17016 [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
17017
17018 * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
17019 unconditional.
17020 * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
17021 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17022 * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
17023 unconditional.
17024 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17025 * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
17026 unconditional.
17027 [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17028 * stdlib/setenv.c
17029 [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
17030 code unconditional.
17031 [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
17032 Remove conditional code.
17033 * sysdeps/ieee754/dbl-64/e_lgamma_r.c
17034 (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
17035 unconditional.
17036 (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
17037 code.
17038 * sysdeps/ieee754/flt-32/e_lgammaf_r.c
17039 (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
17040 unconditional.
17041 (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
17042 code.
17043 * sysdeps/ieee754/ldbl-128/k_tanl.c
17044 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
17045 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17046 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
17047 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
17048 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17049 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
17050 (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
17051 unconditional.
17052 (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
17053 code.
17054 * sysdeps/ieee754/ldbl-96/k_tanl.c
17055 (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
17056 (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
17057
17058 * nptl/tst-initializers1-c11.c: New file.
17059 * nptl/tst-initializers1-gnu11.c: Likewise.
17060 * nptl/Makefile (tests): Add these new tests.
17061 (CFLAGS-tst-initializers1-c11.c): New variable.
17062 (CFLAGS-tst-initializers1-gnu11.c): Likewise.
17063
17064 * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
17065 * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
17066 instead of -std=gnu99.
17067 * configure.ac (systemtap): Test with -std=gnu11 instead of
17068 -std=gnu99.
17069 * configure: Regenerated.
17070 * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
17071 in compilation command in comment.
17072
17073 * sysdeps/nptl/configure.ac: Remove file.
17074 * sysdeps/nptl/configure: Remove generated file.
17075 * configure.ac (libc_cv_forced_unwind): Do not substitute.
17076 * configure: Regenerated.
17077 * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
17078 * config.make.in (have-forced-unwind): Remove variable.
17079 * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
17080 unconditional.
17081 * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
17082 * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
17083 (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
17084 * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
17085 * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
17086 unconditional.
17087
17088 2015-10-27 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
17089
17090 [BZ #19174]
17091 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
17092 .skip_lock_out_of_tbegin_retries.
17093 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
17094 (__lll_lock_elision): Likewise, and respect a value of
17095 try_tbegin <= 0.
17096
17097 2015-10-27 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
17098
17099 * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
17100 statement.
17101
17102 2015-10-27 Joseph Myers <joseph@codesourcery.com>
17103
17104 * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
17105 variable.
17106 (test-xfail-ISO11/stdalign.h/conform): Likewise.
17107 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
17108
17109 * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
17110 of -std=c1x -D_ISOC11_SOURCE.
17111
17112 * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
17113 * configure: Regenerated.
17114 * manual/install.texi (Tools for Compilation): Document
17115 requirement for GCC 4.7 or later.
17116 * INSTALL: Regenerated.
17117
17118 2015-10-27 Ludovic Courtès <ludo@gnu.org>
17119
17120 * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
17121 on CNT to a conditional jump to 'puntdata'.
17122
17123 2015-10-27 Joseph Myers <joseph@codesourcery.com>
17124
17125 * configure.ac (libc_cv_gcc___thread): Remove configure test.
17126 (libc_cv_gcc_tls_model_attr): Likewise.
17127 * configure: Regenerated.
17128
17129 * configure.ac (libc_cv_need_minus_P): Remove configure test.
17130 * configure: Regenerated.
17131 * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
17132
17133 2015-10-26 Joseph Myers <joseph@codesourcery.com>
17134
17135 * configure.ac (old_glibc_headers): Remove configure test.
17136 * configure: Regenerated.
17137 * config.make.in (old-glibc-headers): Remove variable.
17138 * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
17139 (install): Remove dependency on remove-old-headers.
17140 (headers2_0): Remove variable.
17141 (remove-old-headers): Remove rule.
17142
17143 * configure.ac (libc_cv_dot_text): Remove configure test.
17144 (libc_cv_asm_set_directive): Use .text instead of
17145 ${libc_cv_dot_text} in configure test.
17146 * configure: Regenerated.
17147
17148 2015-10-26 Florian Weimer <fweimer@redhat.com>
17149
17150 [BZ #19168]
17151 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
17152
17153 2015-10-26 Florian Weimer <fweimer@redhat.com>
17154
17155 * configure.ac (CXX): Clear the variable if the C++ toolchain does
17156 not support static linking.
17157 * configure: Regenerate.
17158
17159 2015-10-23 Joseph Myers <joseph@codesourcery.com>
17160
17161 * math/libm-test.inc (check_float_internal): Do not special-case
17162 errors up to 0.5 ulp.
17163
17164 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
17165 log2.
17166 * math/auto-libm-test-out: Regenerated.
17167 * math/libm-test.inc (MAX_EXP): New macro.
17168 (ilogb_test_data): Add more tests.
17169 (isfinite_test_data): Likewise.
17170 (isgreater_test_data): Likewise.
17171 (isgreaterequal_test_data): Likewise.
17172 (isinf_test_data): Likewise.
17173 (isless_test_data): Likewise.
17174 (islessequal_test_data): Likewise.
17175 (islessgreater_test_data): Likewise.
17176 (isnan_test_data): Likewise.
17177 (isnormal_test_data): Likewise.
17178 (issignaling_test_data): Likewise.
17179 (isunordered_test_data): Likewise.
17180 (j0_test_data): Likewise.
17181 (j1_test_data): Likewise.
17182 (jn_test_data): Likewise.
17183 (lgamma_test_data): Likewise.
17184 (log_test_data): Likewise.
17185 (log10_test_data): Likewise.
17186 (log1p_test_data): Likewise.
17187 (log2_test_data): Likewise.
17188 (logb_test_data): Likewise.
17189 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
17190
17191 [BZ #18611]
17192 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
17193 avoid excess range and precision on underflow.
17194 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
17195 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
17196 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
17197 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
17198 underflow.
17199 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
17200 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
17201 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
17202 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
17203 * math/auto-libm-test-in: Do not allow missing errno setting for
17204 tests of j1 and jn.
17205 * math/auto-libm-test-out: Regenerated.
17206
17207 2015-10-22 Joseph Myers <joseph@codesourcery.com>
17208
17209 [BZ #15491]
17210 * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
17211 floating-point environment instead of clearing all exceptions.
17212 * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
17213 * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
17214 merging in "invalid" exceptions from frndint.
17215 * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
17216 * math/test-nearbyint-except.c: New file.
17217 * math/Makefile (tests): Add test-nearbyint-except.
17218
17219 2015-10-22 Chris Metcalf <cmetcalf@ezchip.com>
17220
17221 * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
17222
17223 * sysdeps/tile/libm-test-ulps: Regenerated.
17224
17225 2015-10-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
17226
17227 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
17228 (__NR_sync_file_range2): Assume it is always defined.
17229 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
17230 (__NR_sync_file_range): Assume it is always defined.
17231
17232 2015-10-22 Andreas Schwab <schwab@suse.de>
17233
17234 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
17235 INTERNAL_SYSCALL_ERRNO.
17236 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
17237 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
17238 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
17239 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
17240 Likewise.
17241 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
17242
17243 2015-10-21 Joseph Myers <joseph@codesourcery.com>
17244
17245 * io/tst-fcntl.c (fd): New static variable.
17246 (do_prepare): Open temporary file here....
17247 (do_test): ...not here.
17248
17249 * io/ftwtest-sh: Also trap on exit to remove temporary files.
17250
17251 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
17252
17253 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
17254 __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
17255 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
17256 Moved before "#ifdef __ASSEMBLER__".
17257
17258 2015-10-21 Joseph Myers <joseph@codesourcery.com>
17259
17260 [BZ #19156]
17261 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
17262 arguments very close to 0.
17263
17264 2015-10-21 Chris Metcalf <cmetcalf@ezchip.com>
17265
17266 * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
17267 (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
17268
17269 2015-10-21 H.J. Lu <hongjiu.lu@intel.com>
17270
17271 * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
17272 New. Defined for GCC 5 and above when not compiling for
17273 profiling.
17274 Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
17275
17276 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
17277 Renamed to ...
17278 (CFLAGS-epoll_pwait.o): This.
17279 (CFLAGS-mmap.c): Renamed to ...
17280 (CFLAGS-mmap.o): This.
17281 (CFLAGS-mmap64.c): Renamed to ...
17282 (CFLAGS-mmap64.o): This.
17283 (CFLAGS-epoll_pwait.os): New.
17284 (CFLAGS-mmap.os): Likewise.
17285 (CFLAGS-mmap64.os): Likewise.
17286 (CFLAGS-semtimedop.os): Likewise.
17287 (CFLAGS-semtimedop.c): Renamed to ...
17288 (CFLAGS-semtimedop.o): This.
17289
17290 2015-10-21 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17291
17292 * debug/tst-backtrace4.c (handle_signal): Fix a comment and
17293 warning message.
17294
17295 2015-10-21 Joseph Myers <joseph@codesourcery.com>
17296
17297 * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
17298 * Makefile ($(objpfx)c++-types-check.out): Filter out
17299 $(+gccwarn-c) instead of -Wstrict-prototypes.
17300
17301 * io/fts.c (fts_open): Convert to prototype-style function
17302 definition.
17303 * malloc/mcheck.c (mcheck): Likewise.
17304 (mcheck_pedantic): Likewise.
17305 * posix/regexec.c (re_search_2_stub): Likewise. Use
17306 internal_function.
17307 (re_search_internal): Likewise.
17308 * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
17309 prototype-style function definition.
17310 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
17311 * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
17312 * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
17313 (xdr_utmpptr): Likewise.
17314 (xdr_utmparr): Likewise.
17315 (xdr_utmpidle): Likewise.
17316 (xdr_utmpidleptr): Likewise.
17317 (xdr_utmpidlearr): Likewise.
17318
17319 * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
17320 log, log10 and log2.
17321 * math/auto-libm-test-out: Regenerated.
17322 * math/libm-test.inc (fmod_test_data): Add more tests.
17323 (fpclassify_test_data): Likewise.
17324 (frexp_test_data): Likewise.
17325 (hypot_test_data): Likewise.
17326 (ilogb_test_data): Likewise.
17327
17328 2015-10-20 Joseph Myers <joseph@codesourcery.com>
17329
17330 * debug/fortify_fail.c (__fortify_fail): Convert to
17331 prototype-style function definition. Use internal_function.
17332 * libio/genops.c (save_for_backup): Convert to prototype-style
17333 function definition.
17334 * libio/wgenops.c (save_for_wbackup): Likewise.
17335 * login/grantpt.c (grantpt): Likewise.
17336 * login/ptsname.c (ptsname): Likewise.
17337 (__ptsname_r): Likewise.
17338 * login/unlockpt.c (unlockpt): Likewise.
17339 * mach/msgserver.c (__mach_msg_server): Likewise.
17340 * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
17341 (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
17342 (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
17343 * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
17344 (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
17345 * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
17346 * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
17347 Likewise.
17348 * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise. Use
17349 internal_function.
17350 * nptl/pthread_atfork.c (__pthread_atfork): Convert to
17351 prototype-style function definition.
17352 * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
17353 [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
17354 (__pthread_create_2_0): Likewise.
17355 * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
17356 * nptl/register-atfork.c (__register_atfork): Likewise.
17357 * posix/glob.c (glob): Likewise.
17358 * posix/regcomp.c (re_comp): Likewise.
17359 * posix/regexec.c (re_exec): Likewise.
17360 * stdlib/add_n.c [__STDC__]: Make code unconditional.
17361 [!__STDC__]: Remove conditional code.
17362 * stdlib/cmp.c [__STDC__]: Make code unconditional.
17363 [!__STDC__]: Remove conditional code.
17364 * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
17365 [!__STDC__]: Remove conditional code.
17366 * stdlib/divrem.c [__STDC__]: Make code unconditional.
17367 [!__STDC__]: Remove conditional code.
17368 * stdlib/lshift.c [__STDC__]: Make code unconditional.
17369 [!__STDC__]: Remove conditional code.
17370 * stdlib/mod_1.c [__STDC__]: Make code unconditional.
17371 [!__STDC__]: Remove conditional code.
17372 * stdlib/mul.c [__STDC__]: Make code unconditional.
17373 [!__STDC__]: Remove conditional code.
17374 * stdlib/mul_n.c [__STDC__]: Make code unconditional.
17375 [!__STDC__]: Remove conditional code.
17376 * stdlib/rshift.c [__STDC__]: Make code unconditional.
17377 [!__STDC__]: Remove conditional code.
17378 * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
17379 function definition.
17380 (STRTOF): Likewise.
17381 * stdlib/strtod_l.c (__STRTOF): Likewise.
17382 * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
17383 * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
17384 (__strtol_l): Likewise.
17385 * stdlib/sub_n.c [__STDC__]: Make code unconditional.
17386 [!__STDC__]: Remove conditional code.
17387 * string/memrchr.c (MEMRCHR): Convert to prototype-style function
17388 definition.
17389 * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
17390 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17391 type.
17392 (__strcasecmp): Convert to prototype-style function definition.
17393 * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
17394 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17395 type.
17396 (__strncasecmp): Convert to prototype-style function definition.
17397 * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
17398 * sunrpc/xdr.c (xdr_union): Likewise.
17399 * sunrpc/xdr_array.c (xdr_array): Likewise.
17400 * sunrpc/xdr_ref.c (xdr_reference): Likewise.
17401 * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
17402 * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
17403 Likewise.
17404 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
17405 Likewise.
17406 * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
17407 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
17408 Likewise.
17409 * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
17410 (LOCALE_PARAM_PROTO): Likewise.
17411 [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
17412 argument type.
17413 (ut_argument_spec): Remove macro.
17414 (ut_argument_spec_iso): Rename to ut_argument_spec.
17415 (memcpy_lowcase): Use LOCALE_PARAM in declaration. Convert to
17416 prototype-style function definition.
17417 (memcpy_uppcase): Likewise.
17418 (__strftime_internal): Likewise.
17419 (my_strftime): Likewise.
17420 * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
17421 (LOCALE_PARAM_DECL): Likewise.
17422 [_LIBC] (LOCALE_PARAM): Include argument type.
17423 (__strptime_internal): Convert to prototype-style function
17424 definition.
17425 (strptime): Likewise.
17426 * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
17427 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17428 type.
17429 (__wcscasecmp): Convert to prototype-style function definition.
17430 * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
17431 [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
17432 type.
17433 (__wcsncasecmp): Convert to prototype-style function definition.
17434
17435 * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
17436 function definition.
17437 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
17438 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
17439 * debug/backtracesyms.c (__backtrace_symbols): Likewise.
17440 * elf/dl-minimal.c (_itoa): Likewise.
17441 * hurd/hurdmalloc.c (malloc): Likewise.
17442 (free): Likewise.
17443 (realloc): Likewise.
17444 * inet/inet6_option.c (inet6_option_space): Likewise.
17445 (inet6_option_init): Likewise.
17446 (inet6_option_append): Likewise.
17447 (inet6_option_alloc): Likewise.
17448 (inet6_option_next): Likewise.
17449 (inet6_option_find): Likewise.
17450 * io/ftw.c (FTW_NAME): Likewise.
17451 (NFTW_NAME): Likewise.
17452 (NFTW_NEW_NAME): Likewise.
17453 (NFTW_OLD_NAME): Likewise.
17454 * libio/iofwide.c (_IO_fwide): Likewise.
17455 * libio/strops.c (_IO_str_init_static_internal): Likewise.
17456 (_IO_str_init_static): Likewise.
17457 (_IO_str_init_readonly): Likewise.
17458 (_IO_str_overflow): Likewise.
17459 (_IO_str_underflow): Likewise.
17460 (_IO_str_count): Likewise.
17461 (_IO_str_seekoff): Likewise.
17462 (_IO_str_pbackfail): Likewise.
17463 (_IO_str_finish): Likewise.
17464 * libio/wstrops.c (_IO_wstr_init_static): Likewise.
17465 (_IO_wstr_overflow): Likewise.
17466 (_IO_wstr_underflow): Likewise.
17467 (_IO_wstr_count): Likewise.
17468 (_IO_wstr_seekoff): Likewise.
17469 (_IO_wstr_pbackfail): Likewise.
17470 (_IO_wstr_finish): Likewise.
17471 * locale/programs/localedef.c (normalize_codeset): Likewise.
17472 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
17473 (add_locales_to_archive): Likewise.
17474 (delete_locales_from_archive): Likewise.
17475 * malloc/malloc.c (__libc_mallinfo): Likewise.
17476 * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
17477 * misc/tsearch.c (__tfind): Likewise.
17478 * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
17479 * nptl/pthread_attr_getdetachstate.c
17480 (__pthread_attr_getdetachstate): Likewise.
17481 * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
17482 Likewise.
17483 * nptl/pthread_attr_getinheritsched.c
17484 (__pthread_attr_getinheritsched): Likewise.
17485 * nptl/pthread_attr_getschedparam.c
17486 (__pthread_attr_getschedparam): Likewise.
17487 * nptl/pthread_attr_getschedpolicy.c
17488 (__pthread_attr_getschedpolicy): Likewise.
17489 * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
17490 Likewise.
17491 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
17492 Likewise.
17493 * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
17494 Likewise.
17495 * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
17496 Likewise.
17497 * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
17498 (__pthread_attr_init_2_0): Likewise.
17499 * nptl/pthread_attr_setdetachstate.c
17500 (__pthread_attr_setdetachstate): Likewise.
17501 * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
17502 Likewise.
17503 * nptl/pthread_attr_setinheritsched.c
17504 (__pthread_attr_setinheritsched): Likewise.
17505 * nptl/pthread_attr_setschedparam.c
17506 (__pthread_attr_setschedparam): Likewise.
17507 * nptl/pthread_attr_setschedpolicy.c
17508 (__pthread_attr_setschedpolicy): Likewise.
17509 * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
17510 Likewise.
17511 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
17512 Likewise.
17513 * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
17514 Likewise.
17515 * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
17516 Likewise.
17517 * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
17518 Likewise.
17519 * nptl/pthread_create.c (__find_in_stack_list): Likewise.
17520 * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
17521 * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
17522 use internal_function.
17523 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
17524 prototype-style function definition.
17525 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
17526 (__pthread_mutex_cond_lock_adjust): Likewise. Use
17527 internal_function.
17528 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
17529 Convert to prototype-style function definition.
17530 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
17531 Likewise.
17532 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
17533 Likewise.
17534 (__pthread_mutex_unlock): Likewise.
17535 * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
17536 * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
17537 * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
17538 * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
17539 * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
17540 * nss/makedb.c (process_input): Likewise.
17541 * posix/fnmatch.c (__strchrnul): Likewise.
17542 (__wcschrnul): Likewise.
17543 (fnmatch): Likewise.
17544 * posix/fnmatch_loop.c (FCT): Likewise.
17545 * posix/glob.c (globfree): Likewise.
17546 (__glob_pattern_type): Likewise.
17547 (__glob_pattern_p): Likewise.
17548 * posix/regcomp.c (re_compile_pattern): Likewise.
17549 (re_set_syntax): Likewise.
17550 (re_compile_fastmap): Likewise.
17551 (regcomp): Likewise.
17552 (regerror): Likewise.
17553 (regfree): Likewise.
17554 * posix/regexec.c (regexec): Likewise.
17555 (re_match): Likewise.
17556 (re_search): Likewise.
17557 (re_match_2): Likewise.
17558 (re_search_2): Likewise.
17559 (re_search_stub): Likewise. Use internal_function
17560 (re_copy_regs): Likewise.
17561 (re_set_registers): Convert to prototype-style function
17562 definition.
17563 (prune_impossible_nodes): Likewise. Use internal_function.
17564 * resolv/inet_net_pton.c (inet_net_pton): Convert to
17565 prototype-style function definition.
17566 (inet_net_pton_ipv4): Likewise.
17567 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
17568 * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
17569 * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
17570 * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
17571 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
17572 Make variadic.
17573 * time/strptime_l.c (localtime_r): Convert to prototype-style
17574 function definition.
17575 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
17576 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
17577 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
17578 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
17579
17580 * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
17581 definition.
17582 (_ufc_doit_r): Likewise.
17583 * crypt/crypt_util.c (_ufc_copymem): Likewise.
17584 (_ufc_output_conversion_r): Likewise.
17585 * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
17586 * inet/rcmd.c (rcmd_af): Likewise.
17587 (rcmd): Likewise.
17588 (ruserok_af): Likewise.
17589 (ruserok): Likewise.
17590 (ruserok2_sa): Likewise.
17591 (ruserok_sa): Likewise.
17592 (iruserok_af): Likewise.
17593 (iruserok): Likewise.
17594 (__ivaliduser): Likewise.
17595 (__validuser2_sa): Likewise.
17596 * inet/rexec.c (rexec_af): Likewise.
17597 (rexec): Likewise.
17598 * inet/ruserpass.c (ruserpass): Likewise.
17599 * locale/programs/xmalloc.c (xcalloc): Likewise.
17600 * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
17601 * math/w_drem.c (__drem): Likewise.
17602 * math/w_dremf.c (__dremf): Likewise.
17603 * math/w_dreml.c (__dreml): Likewise.
17604 * misc/daemon.c (daemon): Likewise.
17605 * resolv/res_debug.c (p_fqnname): Likewise.
17606 * stdlib/div.c (div): Likewise.
17607 * string/memcmp.c (memcmp_bytes): Likewise.
17608 * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
17609 * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
17610
17611 * crypt/cert.c (main): Convert to prototype-style function
17612 definition.
17613 * io/pipe.c (__pipe): Likewise.
17614 * io/pipe2.c (__pipe2): Likewise.
17615 * misc/futimesat.c (futimesat): Likewise.
17616 * misc/utimes.c (__utimes): Likewise.
17617 * posix/execve.c (__execve): Likewise.
17618 * posix/execvp.c (execvp): Likewise.
17619 * posix/execvpe.c (__execvpe): Likewise.
17620 * posix/fexecve.c (fexecve): Likewise.
17621 * socket/socketpair.c (socketpair): Likewise.
17622 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
17623 * stdlib/erand48.c (erand48): Likewise.
17624 * stdlib/erand48_r.c (__erand48_r): Likewise.
17625 * stdlib/jrand48.c (jrand48): Likewise.
17626 * stdlib/jrand48_r.c (__jrand48_r): Likewise.
17627 * stdlib/lcong48.c (lcong48): Likewise.
17628 * stdlib/lcong48_r.c (__lcong48_r): Likewise.
17629 * stdlib/nrand48.c (nrand48): Likewise.
17630 * stdlib/nrand48_r.c (__nrand48_r): Likewise.
17631 * stdlib/seed48.c (seed48): Likewise.
17632 * stdlib/seed48_r.c (__seed48_r): Likewise.
17633 * sysdeps/mach/hurd/execve.c (__execve): Likewise.
17634 * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
17635 * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
17636
17637 2015-10-19 Joseph Myers <joseph@codesourcery.com>
17638
17639 * configure.ac (libc_cv_asm_unique_object): Remove configure test.
17640 * configure: Regenerated.
17641 * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
17642 * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
17643 unconditional.
17644 * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17645 * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17646 * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17647 (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
17648 * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
17649 unconditional.
17650 * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
17651
17652 * posix/Makefile (CFLAGS-regex.c): Remove variable.
17653 * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
17654
17655 * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
17656 function definition.
17657 * crypt/crypt_util.c (__encrypt_r): Likewise.
17658 * libio/genops.c (_IO_no_init): Likewise.
17659 * libio/iofopncook.c (_IO_fopencookie): Likewise.
17660 (_IO_old_fopencookie): Likewise.
17661 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
17662 * libio/iogetline.c (_IO_getline): Likewise.
17663 (_IO_getline_info): Likewise.
17664 * libio/iogetwline.c (_IO_getwline): Likewise.
17665 (_IO_getwline_info): Likewise.
17666 * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
17667 * libio/vswprintf.c (_IO_vswprintf): Likewise.
17668 * locale/programs/simple-hash.c (insert_entry_2): Likewise.
17669 (find_entry): Likewise.
17670 (iterate_table): Likewise.
17671 (lookup): Likewise.
17672 * login/forkpty.c (forkpty): Likewise.
17673 * misc/hsearch_r.c (__hsearch_r): Likewise.
17674 * misc/select.c (__select): Likewise.
17675 * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
17676 Likewise.
17677 * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
17678 Likewise.
17679 * nptl/old_pthread_cond_timedwait.c
17680 (__pthread_cond_timedwait_2_0): Likewise.
17681 * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
17682 * nptl/pthread_barrierattr_getpshared.c
17683 (pthread_barrierattr_getpshared): Likewise.
17684 * nptl/pthread_getschedparam.c (__pthread_getschedparam):
17685 Likewise.
17686 * nptl/pthread_mutex_setprioceiling.c
17687 (pthread_mutex_setprioceiling): Likewise.
17688 * nptl/pthread_mutexattr_getprioceiling.c
17689 (pthread_mutexattr_getprioceiling): Likewise.
17690 * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
17691 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
17692 Likewise.
17693 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
17694 Likewise.
17695 * nptl/pthread_setschedparam.c (__pthread_setschedparam):
17696 Likewise.
17697 * socket/recvfrom.c (__recvfrom): Likewise.
17698 * socket/sendto.c (__sendto): Likewise.
17699 * socket/setsockopt.c (__setsockopt): Likewise.
17700 * stdio-common/_itoa.c (_itoa): Likewise.
17701 * stdio-common/_itowa.c (_itowa): Likewise.
17702 * stdio-common/reg-printf.c (__register_printf_specifier):
17703 Likewise.
17704 (__register_printf_function): Likewise.
17705 * stdio-common/tempname.c (__path_search): Likewise.
17706 * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
17707 * stdlib/mul_1.c (mpn_mul_1): Likewise.
17708 * stdlib/random_r.c (__initstate_r): Likewise.
17709 * stdlib/setenv.c (__add_to_environ): Likewise.
17710 * stdlib/submul_1.c (mpn_submul_1): Likewise.
17711 * streams/getpmsg.c (getpmsg): Likewise.
17712 * streams/putmsg.c (putmsg): Likewise.
17713 * streams/putpmsg.c (putpmsg): Likewise.
17714 * sunrpc/clnt_raw.c (clntraw_call): Likewise.
17715 * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
17716 * sunrpc/clnt_udp.c (clntudp_create): Likewise.
17717 * sunrpc/clnt_unix.c (clntunix_call): Likewise.
17718 * sunrpc/pm_getport.c (pmap_getport): Likewise.
17719 * sunrpc/svc_udp.c (cache_get): Likewise.
17720 * sunrpc/xdr_array.c (xdr_vector): Likewise.
17721 * sysdeps/mach/hurd/getcwd.c
17722 (__canonicalize_directory_name_internal): Likewise.
17723 * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
17724 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
17725 * sysdeps/mach/hurd/select.c (__select): Likewise.
17726 * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
17727 * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
17728 * sysdeps/sparc/nptl/pthread_barrier_init.c
17729 (__pthread_barrier_init): Likewise.
17730 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
17731 (__pthread_cond_timedwait): Likewise.
17732 * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
17733 * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
17734 Likewise.
17735 * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
17736 * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
17737 Likewise.
17738 * sysvipc/semtimedop.c (semtimedop): Likewise.
17739 * time/setitimer.c (__setitimer): Likewise.
17740 * time/strftime_l.c (emacs_strftime): Likewise.
17741
17742 2015-10-19 Mike Frysinger <vapier@gentoo.org>
17743
17744 * config.make.in (have-ssp): Delete.
17745 (stack-protector): New variable.
17746 * configure.ac: Delete libc_cv_ssp export. Add libc_cv_ssp_strong
17747 cache test for -fstack-protector-strong. Export stack_protector to
17748 the best ssp flag.
17749 * configure: Regenerated.
17750 * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
17751 * nscd/Makefile (CFLAGS-nscd): Likewise.
17752 * resolv/Makefile (CFLAGS-libresolv): Likewise.
17753
17754 2015-10-16 H.J. Lu <hongjiu.lu@intel.com>
17755
17756 [BZ #19122]
17757 * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
17758 attribute_hidden.
17759
17760 2015-10-19 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
17761
17762 [BZ #18743]
17763 * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
17764 code to...
17765 (ELIDE_LOCK): ...here.
17766 (__get_new_count): New function with part of the code from
17767 __elide_lock that updates the value of adapt_count after a
17768 transaction abort.
17769 (__elided_trylock): Moved this code to...
17770 (ELIDE_TRYLOCK): ...here.
17771
17772 2015-10-19 Mike Frysinger <vapier@gentoo.org>
17773
17774 * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
17775 * configure: Regenerate.
17776 * INSTALL: Regenerate.
17777 * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
17778 and tweak grammar.
17779
17780 2015-10-19 Geoffrey Thomas <geofft@ldpreload.com>
17781
17782 * login/programs/pt_chown.c: Include signal.h
17783 (main): Clear any signal mask from the parent process.
17784
17785 2015-10-19 Joseph Myers <joseph@codesourcery.com>
17786
17787 * configure.ac (libc_cv_gnu89_inline): Remove configure test.
17788 * configure: Regenerated.
17789 * config.make.in (gnu89-inline-CFLAGS): Remove variable.
17790 * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
17791 $(gnu89-inline-CFLAGS).
17792
17793 * configure.ac (libc_cv_asm_weak_directive): Remove configure
17794 test.
17795 (libc_cv_asm_weakext_directive): Likewise.
17796 * configure: Regenerated.
17797 * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
17798 (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
17799 * include/libc-symbols.h
17800 [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
17801 #error.
17802 [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
17803 [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
17804
17805 * sysdeps/arm/backtrace.c (__backtrace): Convert to
17806 prototype-style function definition.
17807 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
17808 * sysdeps/i386/ffs.c (__ffs): Likewise.
17809 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
17810 * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
17811 Likewise.
17812 * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17813 Likewise.
17814 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
17815 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
17816 Likewise.
17817 * sysdeps/m68k/ffs.c (__ffs): Likewise.
17818 * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
17819 * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
17820 * sysdeps/mach/adjtime.c (__adjtime): Likewise.
17821 * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
17822 * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
17823 * sysdeps/mach/hurd/access.c (__access): Likewise.
17824 * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
17825 * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
17826 * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
17827 * sysdeps/mach/hurd/chown.c (__chown): Likewise.
17828 * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
17829 (cthread_getspecific): Likewise.
17830 (cthread_setspecific): Likewise.
17831 (__libc_getspecific): Likewise.
17832 * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
17833 * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
17834 * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
17835 * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
17836 * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
17837 * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
17838 * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
17839 * sysdeps/mach/hurd/flock.c (__flock): Likewise.
17840 * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
17841 * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
17842 * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
17843 * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
17844 * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
17845 * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
17846 * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
17847 * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
17848 * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
17849 * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
17850 * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
17851 * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
17852 * sysdeps/mach/hurd/link.c (__link): Likewise.
17853 * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
17854 * sysdeps/mach/hurd/listen.c (__listen): Likewise.
17855 * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
17856 * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
17857 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
17858 * sysdeps/mach/hurd/poll.c (__poll): Likewise.
17859 * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
17860 * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
17861 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
17862 * sysdeps/mach/hurd/rename.c (rename): Likewise.
17863 * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
17864 * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
17865 * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
17866 * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
17867 * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
17868 * sysdeps/mach/hurd/send.c (__send): Likewise.
17869 * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
17870 * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
17871 * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
17872 * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
17873 * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
17874 * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
17875 * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
17876 * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
17877 * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
17878 * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
17879 * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
17880 * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
17881 * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
17882 * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
17883 * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
17884 * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
17885 * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
17886 * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
17887 * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
17888 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
17889 * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
17890 * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
17891 * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
17892 * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
17893 * sysdeps/mach/hurd/umask.c (__umask): Likewise.
17894 * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
17895 * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
17896 * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
17897 * sysdeps/posix/alarm.c (alarm): Likewise.
17898 * sysdeps/posix/cuserid.c (cuserid): Likewise.
17899 * sysdeps/posix/dirfd.c (dirfd): Likewise.
17900 * sysdeps/posix/dup.c (__dup): Likewise.
17901 * sysdeps/posix/dup2.c (__dup2): Likewise.
17902 * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
17903 (main): Likewise.
17904 * sysdeps/posix/flock.c (__flock): Likewise.
17905 * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
17906 * sysdeps/posix/getcwd.c (__getcwd): Likewise.
17907 * sysdeps/posix/gethostname.c (__gethostname): Likewise.
17908 * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
17909 * sysdeps/posix/isatty.c (__isatty): Likewise.
17910 * sysdeps/posix/killpg.c (killpg): Likewise.
17911 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
17912 * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
17913 * sysdeps/posix/raise.c (raise): Likewise.
17914 * sysdeps/posix/remove.c (remove): Likewise.
17915 * sysdeps/posix/rename.c (rename): Likewise.
17916 * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
17917 * sysdeps/posix/seekdir.c (seekdir): Likewise.
17918 * sysdeps/posix/sigblock.c (__sigblock): Likewise.
17919 * sysdeps/posix/sigignore.c (sigignore): Likewise.
17920 * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
17921 * sysdeps/posix/signal.c (__bsd_signal): Likewise.
17922 * sysdeps/posix/sigset.c (sigset): Likewise.
17923 * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
17924 * sysdeps/posix/sysconf.c (__sysconf): Likewise.
17925 * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
17926 * sysdeps/posix/time.c (time): Likewise.
17927 * sysdeps/posix/ttyname.c (getttyname): Likewise.
17928 (ttyname): Likewise.
17929 * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
17930 * sysdeps/posix/utime.c (utime): Likewise.
17931 * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
17932 * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
17933 Likewise.
17934 * sysdeps/powerpc/nptl/pthread_spin_trylock.c
17935 (pthread_spin_trylock): Likewise.
17936 * sysdeps/pthread/aio_error.c (aio_error): Likewise.
17937 * sysdeps/pthread/aio_read.c (aio_read): Likewise.
17938 * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
17939 * sysdeps/pthread/aio_write.c (aio_write): Likewise.
17940 * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
17941 * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
17942 * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
17943 * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
17944 * sysdeps/pthread/timer_create.c (timer_create): Likewise.
17945 * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
17946 * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
17947 * sysdeps/s390/ffs.c (__ffs): Likewise.
17948 * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
17949 Likewise.
17950 * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
17951 Likewise.
17952 * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
17953 Likewise.
17954 * sysdeps/sparc/nptl/pthread_barrier_destroy.c
17955 (pthread_barrier_destroy): Likewise.
17956 * sysdeps/sparc/nptl/pthread_barrier_wait.c
17957 (__pthread_barrier_wait): Likewise.
17958 * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
17959 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
17960 (__pthread_barrier_wait): Likewise.
17961 * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
17962 * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
17963 (memcmp_not_common_alignment): Likewise.
17964 (MEMCMP): Likewise.
17965 * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
17966 (_wordcopy_fwd_dest_aligned): Likewise.
17967 (_wordcopy_bwd_aligned): Likewise.
17968 (_wordcopy_bwd_dest_aligned): Likewise.
17969 * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
17970 * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
17971 * sysdeps/unix/bsd/stty.c (stty): Likewise.
17972 * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
17973 * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
17974 * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
17975 * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
17976 * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
17977 * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
17978 * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
17979 * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
17980 * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
17981 * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
17982 * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
17983 * sysdeps/unix/stime.c (stime): Likewise.
17984 * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
17985 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
17986 Likewise. Use internal_function.
17987 * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
17988 Convert to prototype-style function definition.
17989 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
17990 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
17991 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
17992 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
17993 Likewise. Use internal_function.
17994 * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
17995 prototype-style function definition
17996 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
17997 Likewise.
17998 (__getlogin_r): Likewise.
17999 * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
18000 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
18001 (__pthread_cond_broadcast): Likewise.
18002 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
18003 (__pthread_cond_destroy): Likewise.
18004 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
18005 (__pthread_cond_init): Likewise.
18006 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
18007 (__pthread_cond_signal): Likewise.
18008 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
18009 (__pthread_cond_wait): Likewise.
18010 * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
18011 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
18012 * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
18013 Likewise.
18014 * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
18015 Likewise.
18016 * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
18017 Likewise.
18018 * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
18019 Likewise.
18020 * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
18021 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
18022 (__ftruncate64): Likewise.
18023 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
18024 (truncate64): Likewise.
18025 * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
18026 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
18027 (pthread_getcpuclockid): Likewise.
18028 * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
18029 Likewise.
18030 * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
18031 Likewise.
18032 * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
18033 Likewise.
18034 * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
18035 Likewise.
18036 * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
18037 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
18038 (__libc_sigaction): Likewise.
18039 * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
18040 Likewise.
18041 * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
18042 (__sigprocmask): Likewise.
18043 * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
18044 * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
18045 * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
18046 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
18047 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
18048 * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
18049 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
18050 Likewise.
18051 * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
18052 * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
18053 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
18054 * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
18055 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
18056 Likewise.
18057 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
18058 (__sigprocmask): Likewise.
18059 * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
18060 (cfgetispeed): Likewise.
18061 (cfsetospeed): Likewise.
18062 (cfsetispeed): Likewise.
18063 * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
18064 * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
18065 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
18066 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
18067 * sysdeps/unix/sysv/linux/time.c (time): Likewise.
18068 * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
18069 * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
18070 * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
18071 Likewise.
18072 * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
18073 Likewise.
18074 * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
18075 Likewise.
18076 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
18077 Likewise.
18078 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
18079
18080 2015-10-17 Florian Weimer <fweimer@redhat.com>
18081
18082 sunrpc: Rewrite with explicit TLS access using __thread.
18083 * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
18084 (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
18085 directly.
18086 (__rpc_thread_variables): Access thread_rpc_vars directly.
18087 Eliminate redundant assignment of the tvp variable.
18088
18089 2015-10-17 Florian Weimer <fweimer@redhat.com>
18090
18091 malloc: Rewrite with explicit TLS access using __thread.
18092 * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
18093 (tsd_setspecific, tsd_getspecific): Remove.
18094 * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
18095 (tsd_setspecific, tsd_getspecific): Likewise.
18096 * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
18097 (tsd_setspecific, tsd_getspecific): Likewise.
18098 * malloc/arena.c (thread_arena): New TLS variable.
18099 (arena_key): Remove variable.
18100 (arena_get): Use thread_arena.
18101 (arena_lookup): Remove macro.
18102 (malloc_atfork, free_atfork, ptmalloc_lock_all)
18103 (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
18104 (_int_new_arena, get_free_list, reused_arena)
18105 (arena_thread_freeres): Use thread_arena.
18106 * manual/memory.texi (Basic Allocation): Remove arena_lookup,
18107 tsd_getspecific, tsd_setspecific from safety annotations.
18108 (Allocating Cleared Space): Remove arena_lookup from safety
18109 annotations.
18110
18111 2015-10-17 Florian Weimer <fweimer@redhat.com>
18112
18113 * stdio-common/vfprintf.c (printf_positional): Rewrite to use
18114 struct scratch_buffer instead of extend_alloca.
18115
18116 2015-10-17 Florian Weimer <fweimer@redhat.com>
18117
18118 * sysdeps/unix/sysv/linux/kernel-features.h
18119 (__ASSUME_SOCK_CLOEXEC): Remove.
18120 * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
18121 (__have_paccept): Remove unused macro.
18122 * include/unistd.h (__have_sock_cloexec): Remove declaration.
18123 * misc/syslog.c (openlog_internal): Remove fallback code for
18124 !__ASSUME_SOCK_CLOEXEC.
18125 * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
18126 missing SOCK_CLOEXEC.
18127 * nscd/connections.c (have_sock_cloexec): Remove definition.
18128 (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
18129 * nscd/nscd_helper.c (open_socket): Remove fallback code for
18130 !__ASSUME_SOCK_CLOEXEC.
18131 * resolv/res_send.c (__have_o_nonblock): Remove definition.
18132 (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
18133 * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
18134 definition.
18135 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
18136 code for !__ASSUME_SOCK_CLOEXEC.
18137
18138 2015-10-17 Florian Weimer <fweimer@redhat.com>
18139
18140 [BZ #18982]
18141 * manual/stdio.texi (Variable Arguments Output): Add portability
18142 note, explaining that vfprintf clobbers the va_list pointer.
18143
18144 2015-10-16 Joseph Myers <joseph@codesourcery.com>
18145
18146 * math/libm-test.inc (fabs_test_data): Add more tests.
18147 (fdim_test_data): Likewise.
18148 (fma_test_data): Likewise.
18149 (fmax_test_data): Likewise.
18150 (fmin_test_data): Likewise.
18151 (fmod_test_data): Likewise.
18152
18153 2015-10-16 Steve Ellcey <sellcey@imgtec.com>
18154
18155 * sysdeps/mips/memcpy.S (memcpy): Add word copies for small aligned
18156 data.
18157
18158 2015-10-16 Joseph Myers <joseph@codesourcery.com>
18159
18160 * math/libm-test.inc (ceil_test_data): Add more tests and more
18161 expectations for "inexact".
18162 (floor_test_data): Add more tests.
18163 (round_test_data): Likewise.
18164 (trunc_test_data): Likewise.
18165
18166 * crypt/cert.c (good_bye): Convert to prototype-style function
18167 definition.
18168 (get8): Likewise.
18169 (put8): Likewise.
18170 * crypt/crypt-entry.c (crypt): Likewise.
18171 (__fcrypt): Likewise.
18172 * crypt/crypt_util.c (_ufc_prbits): Likewise.
18173 (_ufc_set_bits): Likewise.
18174 (_ufc_clearmem): Likewise.
18175 (__init_des_r): Likewise.
18176 (shuffle_sb): Likewise.
18177 (shuffle_sb): Likewise.
18178 (_ufc_setup_salt_r): Likewise.
18179 (_ufc_mk_keytab_r): Likewise.
18180 (_ufc_dofinalperm_r): Likewise.
18181 (encrypt): Likewise.
18182 (__setkey_r): Likewise.
18183 (setkey): Likewise.
18184 * crypt/md5.c (md5_init_ctx): Likewise.
18185 (md5_read_ctx): Likewise.
18186 (md5_finish_ctx): Likewise.
18187 (md5_stream): Likewise.
18188 (md5_buffer): Likewise.
18189 (md5_process_bytes): Likewise.
18190 * crypt/sha256.c (__sha256_init_ctx): Likewise.
18191 (__sha256_finish_ctx): Likewise.
18192 (__sha256_process_bytes): Likewise.
18193 * crypt/sha512.c (__sha512_init_ctx): Likewise.
18194 (__sha512_finish_ctx): Likewise.
18195 (__sha512_process_bytes): Likewise.
18196 * ctype/isctype.c (__isctype): Likewise.
18197 * debug/backtrace.c (__backtrace): Likewise.
18198 * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
18199 * debug/fgets_chk.c (__fgets_chk): Likewise.
18200 * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
18201 * debug/memcpy_chk.c (__memcpy_chk): Likewise.
18202 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
18203 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
18204 * debug/memset_chk.c (__memset_chk): Likewise.
18205 * debug/strcat_chk.c (__strcat_chk): Likewise.
18206 * debug/strncat_chk.c (__strncat_chk): Likewise.
18207 * debug/strncpy_chk.c (__strncpy_chk): Likewise.
18208 * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
18209 * dirent/dirfd.c (dirfd): Likewise.
18210 * dirent/getdents.c (__getdirentries): Likewise.
18211 * dirent/getdents64.c (getdirentries64): Likewise.
18212 * dirent/rewinddir.c (__rewinddir): Likewise.
18213 * dirent/seekdir.c (seekdir): Likewise.
18214 * dirent/telldir.c (telldir): Likewise.
18215 * elf/sln.c (makesymlinks): Likewise.
18216 (makesymlink): Likewise.
18217 * gmon/gmon.c (__moncontrol): Likewise.
18218 (__monstartup): Likewise.
18219 (write_hist): Likewise.
18220 (write_call_graph): Likewise.
18221 (write_bb_counts): Likewise.
18222 * grp/setgroups.c (setgroups): Likewise.
18223 * inet/inet_lnaof.c (inet_lnaof): Likewise.
18224 * inet/inet_net.c (inet_network): Likewise.
18225 * inet/inet_netof.c (inet_netof): Likewise.
18226 * inet/rcmd.c (rresvport_af): Likewise.
18227 (rresvport): Likewise.
18228 * io/access.c (__access): Likewise.
18229 * io/chdir.c (__chdir): Likewise.
18230 * io/chmod.c (__chmod): Likewise.
18231 * io/chown.c (__chown): Likewise.
18232 * io/close.c (__close): Likewise.
18233 * io/creat.c (creat): Likewise.
18234 * io/creat64.c (creat64): Likewise.
18235 * io/dup.c (__dup): Likewise.
18236 * io/dup2.c (__dup2): Likewise.
18237 * io/dup3.c (__dup3): Likewise.
18238 * io/euidaccess.c (__euidaccess): Likewise.
18239 * io/faccessat.c (faccessat): Likewise.
18240 * io/fchmod.c (__fchmod): Likewise.
18241 * io/fchmodat.c (fchmodat): Likewise.
18242 * io/fchown.c (__fchown): Likewise.
18243 * io/fchownat.c (fchownat): Likewise.
18244 * io/fcntl.c (__fcntl): Likewise.
18245 * io/flock.c (__flock): Likewise.
18246 * io/fts.c (fts_load): Likewise.
18247 (fts_close): Likewise.
18248 (fts_read): Likewise.
18249 (fts_set): Likewise.
18250 (fts_children): Likewise.
18251 (fts_build): Likewise.
18252 (fts_stat): Likewise.
18253 (fts_sort): Likewise.
18254 (fts_alloc): Likewise.
18255 (fts_lfree): Likewise.
18256 (fts_palloc): Likewise.
18257 (fts_padjust): Likewise.
18258 (fts_maxarglen): Likewise.
18259 (fts_safe_changedir): Likewise.
18260 * io/getwd.c (getwd): Likewise.
18261 * io/isatty.c (__isatty): Likewise.
18262 * io/lchown.c (__lchown): Likewise.
18263 * io/link.c (__link): Likewise.
18264 * io/linkat.c (linkat): Likewise.
18265 * io/lseek.c (__libc_lseek): Likewise.
18266 * io/mkdir.c (__mkdir): Likewise.
18267 * io/mkdirat.c (mkdirat): Likewise.
18268 * io/mkfifo.c (mkfifo): Likewise.
18269 * io/mkfifoat.c (mkfifoat): Likewise.
18270 * io/open.c (__libc_open): Likewise.
18271 * io/open64.c (__libc_open64): Likewise.
18272 * io/readlink.c (__readlink): Likewise.
18273 * io/readlinkat.c (readlinkat): Likewise.
18274 * io/rmdir.c (__rmdir): Likewise.
18275 * io/symlink.c (__symlink): Likewise.
18276 * io/symlinkat.c (symlinkat): Likewise.
18277 * io/ttyname.c (ttyname): Likewise.
18278 * io/ttyname_r.c (__ttyname_r): Likewise.
18279 * io/umask.c (__umask): Likewise.
18280 * io/unlink.c (__unlink): Likewise.
18281 * io/unlinkat.c (unlinkat): Likewise.
18282 * io/utime.c (utime): Likewise.
18283 * libio/clearerr.c (clearerr): Likewise.
18284 * libio/clearerr_u.c (clearerr_unlocked): Likewise.
18285 * libio/feof.c (_IO_feof): Likewise.
18286 * libio/feof_u.c (feof_unlocked): Likewise.
18287 * libio/ferror.c (_IO_ferror): Likewise.
18288 * libio/ferror_u.c (ferror_unlocked): Likewise.
18289 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
18290 * libio/fileno.c (__fileno): Likewise.
18291 * libio/fputc.c (fputc): Likewise.
18292 * libio/fputc_u.c (fputc_unlocked): Likewise.
18293 * libio/fputwc.c (fputwc): Likewise.
18294 * libio/fputwc_u.c (fputwc_unlocked): Likewise.
18295 * libio/freopen.c (freopen): Likewise.
18296 * libio/freopen64.c (freopen64): Likewise.
18297 * libio/fseek.c (fseek): Likewise.
18298 * libio/fseeko.c (fseeko): Likewise.
18299 * libio/fseeko64.c (fseeko64): Likewise.
18300 * libio/ftello.c (__ftello): Likewise.
18301 * libio/ftello64.c (ftello64): Likewise.
18302 * libio/fwide.c (fwide): Likewise.
18303 * libio/genops.c (_IO_un_link): Likewise.
18304 (_IO_link_in): Likewise.
18305 (_IO_least_marker): Likewise.
18306 (_IO_switch_to_main_get_area): Likewise.
18307 (_IO_switch_to_backup_area): Likewise.
18308 (_IO_switch_to_get_mode): Likewise.
18309 (_IO_free_backup_area): Likewise.
18310 (_IO_switch_to_put_mode): Likewise.
18311 (__overflow): Likewise.
18312 (__underflow): Likewise.
18313 (__uflow): Likewise.
18314 (_IO_setb): Likewise.
18315 (_IO_doallocbuf): Likewise.
18316 (_IO_default_underflow): Likewise.
18317 (_IO_default_uflow): Likewise.
18318 (_IO_default_xsputn): Likewise.
18319 (_IO_sgetn): Likewise.
18320 (_IO_default_xsgetn): Likewise.
18321 (_IO_sync): Likewise.
18322 (_IO_default_setbuf): Likewise.
18323 (_IO_default_seekpos): Likewise.
18324 (_IO_default_doallocate): Likewise.
18325 (_IO_init): Likewise.
18326 (_IO_old_init): Likewise.
18327 (_IO_default_sync): Likewise.
18328 (_IO_default_finish): Likewise.
18329 (_IO_default_seekoff): Likewise.
18330 (_IO_sputbackc): Likewise.
18331 (_IO_sungetc): Likewise.
18332 (_IO_set_column): Likewise.
18333 (_IO_set_column): Likewise.
18334 (_IO_adjust_column): Likewise.
18335 (_IO_get_column): Likewise.
18336 (_IO_init_marker): Likewise.
18337 (_IO_remove_marker): Likewise.
18338 (_IO_marker_difference): Likewise.
18339 (_IO_marker_delta): Likewise.
18340 (_IO_seekmark): Likewise.
18341 (_IO_unsave_markers): Likewise.
18342 (_IO_nobackup_pbackfail): Likewise.
18343 (_IO_default_pbackfail): Likewise.
18344 (_IO_default_seek): Likewise.
18345 (_IO_default_stat): Likewise.
18346 (_IO_default_read): Likewise.
18347 (_IO_default_write): Likewise.
18348 (_IO_default_showmanyc): Likewise.
18349 (_IO_default_imbue): Likewise.
18350 (_IO_iter_next): Likewise.
18351 (_IO_iter_file): Likewise.
18352 * libio/getc.c (_IO_getc): Likewise.
18353 * libio/getwc.c (_IO_getwc): Likewise.
18354 * libio/iofclose.c (_IO_new_fclose): Likewise.
18355 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
18356 * libio/iofflush.c (_IO_fflush): Likewise.
18357 * libio/iofflush_u.c (__fflush_unlocked): Likewise.
18358 * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
18359 * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
18360 * libio/iofgets.c (_IO_fgets): Likewise.
18361 * libio/iofgets_u.c (__fgets_unlocked): Likewise.
18362 * libio/iofgetws.c (fgetws): Likewise.
18363 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
18364 * libio/iofopen64.c (_IO_fopen64): Likewise.
18365 * libio/iofopncook.c (_IO_cookie_read): Likewise.
18366 (_IO_cookie_write): Likewise.
18367 (_IO_cookie_seek): Likewise.
18368 (_IO_cookie_close): Likewise.
18369 (_IO_cookie_seekoff): Likewise.
18370 (_IO_old_cookie_seek): Likewise.
18371 * libio/iofputs.c (_IO_fputs): Likewise.
18372 * libio/iofputs_u.c (__fputs_unlocked): Likewise.
18373 * libio/iofputws.c (fputws): Likewise.
18374 * libio/iofputws_u.c (fputws_unlocked): Likewise.
18375 * libio/iofread.c (_IO_fread): Likewise.
18376 * libio/iofread_u.c (__fread_unlocked): Likewise.
18377 * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
18378 * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
18379 * libio/ioftell.c (_IO_ftell): Likewise.
18380 * libio/iofwrite.c (_IO_fwrite): Likewise.
18381 * libio/iogetdelim.c (_IO_getdelim): Likewise.
18382 * libio/iogets.c (_IO_gets): Likewise.
18383 * libio/iopadn.c (_IO_padn): Likewise.
18384 * libio/iopopen.c (_IO_new_proc_open): Likewise.
18385 (_IO_new_popen): Likewise.
18386 (_IO_new_proc_close): Likewise.
18387 * libio/ioputs.c (_IO_puts): Likewise.
18388 * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
18389 (_IO_seekoff): Likewise.
18390 * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
18391 (_IO_seekpos): Likewise.
18392 * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
18393 * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
18394 * libio/ioungetc.c (_IO_ungetc): Likewise.
18395 * libio/ioungetwc.c (ungetwc): Likewise.
18396 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
18397 * libio/iovsscanf.c (_IO_vsscanf): Likewise.
18398 * libio/iowpadn.c (_IO_wpadn): Likewise.
18399 * libio/libc_fatal.c (__libc_fatal): Likewise.
18400 * libio/memstream.c (__open_memstream): Likewise.
18401 (_IO_mem_sync): Likewise.
18402 (_IO_mem_finish): Likewise.
18403 * libio/oldfileops.c (_IO_old_file_init): Likewise.
18404 (_IO_old_file_close_it): Likewise.
18405 (_IO_old_file_finish): Likewise.
18406 (_IO_old_file_fopen): Likewise.
18407 (_IO_old_file_attach): Likewise.
18408 (_IO_old_file_setbuf): Likewise.
18409 (_IO_old_do_write): Likewise.
18410 (old_do_write): Likewise.
18411 (_IO_old_file_underflow): Likewise.
18412 (_IO_old_file_overflow): Likewise.
18413 (_IO_old_file_sync): Likewise.
18414 (_IO_old_file_seekoff): Likewise.
18415 (_IO_old_file_write): Likewise.
18416 (_IO_old_file_xsputn): Likewise.
18417 * libio/oldiofclose.c (_IO_old_fclose): Likewise.
18418 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
18419 * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
18420 * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
18421 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
18422 * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
18423 * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
18424 * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
18425 (_IO_old_popen): Likewise.
18426 (_IO_old_proc_close): Likewise.
18427 * libio/oldpclose.c (__old_pclose): Likewise.
18428 * libio/pclose.c (__new_pclose): Likewise.
18429 * libio/peekc.c (_IO_peekc_locked): Likewise.
18430 * libio/putc.c (_IO_putc): Likewise.
18431 * libio/putc_u.c (putc_unlocked): Likewise.
18432 * libio/putchar.c (putchar): Likewise.
18433 * libio/putchar_u.c (putchar_unlocked): Likewise.
18434 * libio/putwc.c (putwc): Likewise.
18435 * libio/putwc_u.c (putwc_unlocked): Likewise.
18436 * libio/putwchar.c (putwchar): Likewise.
18437 * libio/putwchar_u.c (putwchar_unlocked): Likewise.
18438 * libio/rewind.c (rewind): Likewise.
18439 * libio/setbuf.c (setbuf): Likewise.
18440 * libio/setlinebuf.c (setlinebuf): Likewise.
18441 * libio/vasprintf.c (_IO_vasprintf): Likewise.
18442 * libio/vscanf.c (_IO_vscanf): Likewise.
18443 * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
18444 * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
18445 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
18446 * libio/wgenops.c (_IO_least_wmarker): Likewise.
18447 (_IO_switch_to_main_wget_area): Likewise.
18448 (_IO_switch_to_wbackup_area): Likewise.
18449 (_IO_wsetb): Likewise.
18450 (_IO_wdefault_pbackfail): Likewise.
18451 (_IO_wdefault_finish): Likewise.
18452 (_IO_wdefault_uflow): Likewise.
18453 (__woverflow): Likewise.
18454 (__wuflow): Likewise.
18455 (__wunderflow): Likewise.
18456 (_IO_wdefault_xsputn): Likewise.
18457 (_IO_wdefault_xsgetn): Likewise.
18458 (_IO_wdoallocbuf): Likewise.
18459 (_IO_wdefault_doallocate): Likewise.
18460 (_IO_switch_to_wget_mode): Likewise.
18461 (_IO_free_wbackup_area): Likewise.
18462 (_IO_switch_to_wput_mode): Likewise.
18463 (_IO_sputbackwc): Likewise.
18464 (_IO_sungetwc): Likewise.
18465 (_IO_adjust_wcolumn): Likewise.
18466 (_IO_init_wmarker): Likewise.
18467 (_IO_wmarker_delta): Likewise.
18468 (_IO_seekwmark): Likewise.
18469 (_IO_unsave_wmarkers): Likewise.
18470 * libio/wmemstream.c (open_wmemstream): Likewise.
18471 (_IO_wmem_sync): Likewise.
18472 (_IO_wmem_finish): Likewise.
18473 * locale/nl_langinfo.c (nl_langinfo): Likewise.
18474 * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
18475 * locale/programs/simple-hash.c (init_hash): Likewise.
18476 (delete_hash): Likewise.
18477 (insert_entry): Likewise.
18478 (set_entry): Likewise.
18479 (next_prime): Likewise.
18480 (is_prime): Likewise.
18481 * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
18482 (xmalloc): Likewise.
18483 (xrealloc): Likewise.
18484 * locale/programs/xstrdup.c (xstrdup): Likewise.
18485 * localedata/collate-test.c (xstrcoll): Likewise.
18486 * localedata/xfrm-test.c (xstrcmp): Likewise.
18487 * login/getlogin_r.c (__getlogin_r): Likewise.
18488 * login/getpt.c (__posix_openpt): Likewise.
18489 * login/login_tty.c (login_tty): Likewise.
18490 * login/setlogin.c (setlogin): Likewise.
18491 * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
18492 (mach_msg_destroy_port): Likewise.
18493 (mach_msg_destroy_memory): Likewise.
18494 * malloc/mcheck.c (flood): Likewise.
18495 * misc/acct.c (acct): Likewise.
18496 * misc/brk.c (__brk): Likewise.
18497 * misc/chflags.c (chflags): Likewise.
18498 * misc/chroot.c (chroot): Likewise.
18499 * misc/fchflags.c (fchflags): Likewise.
18500 * misc/fstab.c (getfsspec): Likewise.
18501 (getfsfile): Likewise.
18502 * misc/fsync.c (fsync): Likewise.
18503 * misc/ftruncate.c (__ftruncate): Likewise.
18504 * misc/ftruncate64.c (__ftruncate64): Likewise.
18505 * misc/getdomain.c (getdomainname): Likewise.
18506 (getdomainname): Likewise.
18507 * misc/gethostname.c (__gethostname): Likewise.
18508 * misc/getpass.c (getpass): Likewise.
18509 * misc/getttyent.c (skip): Likewise.
18510 (value): Likewise.
18511 * misc/gtty.c (gtty): Likewise.
18512 * misc/hsearch.c (hsearch): Likewise.
18513 (hcreate): Likewise.
18514 * misc/hsearch_r.c (__hcreate_r): Likewise.
18515 (__hdestroy_r): Likewise.
18516 * misc/ioctl.c (__ioctl): Likewise.
18517 * misc/mkdtemp.c (mkdtemp): Likewise.
18518 * misc/mkostemp.c (mkostemp): Likewise.
18519 * misc/mkostemp64.c (mkostemp64): Likewise.
18520 * misc/mkostemps.c (mkostemps): Likewise.
18521 * misc/mkostemps64.c (mkostemps64): Likewise.
18522 * misc/mkstemp.c (mkstemp): Likewise.
18523 * misc/mkstemp64.c (mkstemp64): Likewise.
18524 * misc/mkstemps.c (mkstemps): Likewise.
18525 * misc/mkstemps64.c (mkstemps64): Likewise.
18526 * misc/mktemp.c (__mktemp): Likewise.
18527 * misc/preadv.c (preadv): Likewise.
18528 * misc/preadv64.c (preadv64): Likewise.
18529 * misc/pwritev.c (pwritev): Likewise.
18530 * misc/pwritev64.c (pwritev64): Likewise.
18531 * misc/readv.c (__readv): Likewise.
18532 * misc/revoke.c (revoke): Likewise.
18533 * misc/setdomain.c (setdomainname): Likewise.
18534 * misc/setegid.c (setegid): Likewise.
18535 * misc/seteuid.c (seteuid): Likewise.
18536 * misc/sethostid.c (sethostid): Likewise.
18537 * misc/sethostname.c (sethostname): Likewise.
18538 * misc/setregid.c (__setregid): Likewise.
18539 * misc/setreuid.c (__setreuid): Likewise.
18540 * misc/sstk.c (sstk): Likewise.
18541 * misc/stty.c (stty): Likewise.
18542 * misc/syscall.c (syscall): Likewise.
18543 * misc/syslog.c (setlogmask): Likewise.
18544 * misc/truncate.c (__truncate): Likewise.
18545 * misc/truncate64.c (truncate64): Likewise.
18546 * misc/ualarm.c (ualarm): Likewise.
18547 * misc/usleep.c (usleep): Likewise.
18548 * misc/ustat.c (ustat): Likewise.
18549 * misc/writev.c (__writev): Likewise.
18550 * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
18551 * nptl/old_pthread_cond_broadcast.c
18552 (__pthread_cond_broadcast_2_0): Likewise.
18553 * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
18554 Likewise.
18555 * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
18556 Likewise.
18557 * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
18558 Likewise.
18559 * nptl/pt-raise.c (raise): Likewise.
18560 * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
18561 Likewise.
18562 * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
18563 * nptl/pthread_barrierattr_destroy.c
18564 (pthread_barrierattr_destroy): Likewise.
18565 * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
18566 Likewise.
18567 * nptl/pthread_barrierattr_setpshared.c
18568 (pthread_barrierattr_setpshared): Likewise.
18569 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
18570 Likewise.
18571 * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
18572 * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
18573 * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
18574 * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
18575 Likewise.
18576 * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
18577 Likewise.
18578 * nptl/pthread_condattr_getpshared.c
18579 (pthread_condattr_getpshared): Likewise.
18580 * nptl/pthread_condattr_init.c (__pthread_condattr_init):
18581 Likewise.
18582 * nptl/pthread_condattr_setpshared.c
18583 (pthread_condattr_setpshared): Likewise.
18584 * nptl/pthread_detach.c (pthread_detach): Likewise.
18585 * nptl/pthread_equal.c (__pthread_equal): Likewise.
18586 * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
18587 * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
18588 * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
18589 * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
18590 Likewise.
18591 * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
18592 Likewise.
18593 * nptl/pthread_mutex_getprioceiling.c
18594 (pthread_mutex_getprioceiling): Likewise.
18595 * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
18596 Likewise.
18597 * nptl/pthread_mutexattr_getprotocol.c
18598 (pthread_mutexattr_getprotocol): Likewise.
18599 * nptl/pthread_mutexattr_getpshared.c
18600 (pthread_mutexattr_getpshared): Likewise.
18601 * nptl/pthread_mutexattr_getrobust.c
18602 (pthread_mutexattr_getrobust): Likewise.
18603 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
18604 Likewise.
18605 * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
18606 Likewise.
18607 * nptl/pthread_mutexattr_setprioceiling.c
18608 (pthread_mutexattr_setprioceiling): Likewise.
18609 * nptl/pthread_mutexattr_setprotocol.c
18610 (pthread_mutexattr_setprotocol): Likewise.
18611 * nptl/pthread_mutexattr_setpshared.c
18612 (pthread_mutexattr_setpshared): Likewise.
18613 * nptl/pthread_mutexattr_setrobust.c
18614 (pthread_mutexattr_setrobust): Likewise.
18615 * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
18616 Likewise.
18617 * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
18618 Likewise.
18619 * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
18620 Likewise.
18621 * nptl/pthread_rwlockattr_getkind_np.c
18622 (pthread_rwlockattr_getkind_np): Likewise.
18623 * nptl/pthread_rwlockattr_getpshared.c
18624 (pthread_rwlockattr_getpshared): Likewise.
18625 * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
18626 Likewise.
18627 * nptl/pthread_rwlockattr_setkind_np.c
18628 (pthread_rwlockattr_setkind_np): Likewise.
18629 * nptl/pthread_rwlockattr_setpshared.c
18630 (pthread_rwlockattr_setpshared): Likewise.
18631 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
18632 Likewise.
18633 * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
18634 Likewise.
18635 * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
18636 Likewise.
18637 * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
18638 * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
18639 * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
18640 * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
18641 * nptl/sem_close.c (sem_close): Likewise.
18642 * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
18643 * nptl/sem_init.c (__old_sem_init): Likewise.
18644 * nptl/sigaction.c (__sigaction): Likewise.
18645 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
18646 * posix/_exit.c (_exit): Likewise.
18647 * posix/alarm.c (alarm): Likewise.
18648 * posix/confstr.c (confstr): Likewise.
18649 * posix/fpathconf.c (__fpathconf): Likewise.
18650 * posix/getgroups.c (__getgroups): Likewise.
18651 * posix/getpgid.c (__getpgid): Likewise.
18652 * posix/group_member.c (__group_member): Likewise.
18653 * posix/pathconf.c (__pathconf): Likewise.
18654 * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
18655 * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
18656 * posix/setgid.c (__setgid): Likewise.
18657 * posix/setpgid.c (__setpgid): Likewise.
18658 * posix/setuid.c (__setuid): Likewise.
18659 * posix/sleep.c (__sleep): Likewise.
18660 * posix/sysconf.c (__sysconf): Likewise.
18661 * posix/times.c (__times): Likewise.
18662 * posix/uname.c (__uname): Likewise.
18663 * posix/waitid.c (__waitid): Likewise.
18664 * pwd/getpw.c (__getpw): Likewise.
18665 * resolv/base64.c (b64_pton): Likewise.
18666 * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
18667 * resolv/gethnamaddr.c (Dprintf): Likewise.
18668 (gethostbyname): Likewise.
18669 (gethostbyname2): Likewise.
18670 (gethostbyaddr): Likewise.
18671 (_sethtent): Likewise.
18672 (_gethtbyname): Likewise.
18673 (_gethtbyname2): Likewise.
18674 (_gethtbyaddr): Likewise.
18675 (map_v4v6_address): Likewise.
18676 (map_v4v6_hostent): Likewise.
18677 (addrsort): Likewise.
18678 (ht_sethostent): Likewise.
18679 (ht_gethostbyname): Likewise.
18680 (ht_gethostbyaddr): Likewise.
18681 * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
18682 (inet_net_ntop_ipv4): Likewise.
18683 * resolv/inet_neta.c (inet_neta): Likewise.
18684 * resolv/inet_ntop.c (inet_ntop): Likewise.
18685 (inet_ntop4): Likewise.
18686 (inet_ntop6): Likewise.
18687 * resolv/inet_pton.c (__inet_pton): Likewise.
18688 (inet_pton4): Likewise.
18689 (inet_pton6): Likewise.
18690 * resolv/res_debug.c (loc_aton): Likewise.
18691 (loc_ntoa): Likewise.
18692 * resource/getpriority.c (__getpriority): Likewise.
18693 * resource/getrusage.c (__getrusage): Likewise.
18694 * resource/nice.c (nice): Likewise.
18695 * resource/setpriority.c (__setpriority): Likewise.
18696 * resource/setrlimit64.c (setrlimit64): Likewise.
18697 * resource/vlimit.c (vlimit): Likewise.
18698 * resource/vtimes.c (vtimes): Likewise.
18699 * rt/aio_error.c (aio_error): Likewise.
18700 * rt/aio_return.c (aio_return): Likewise.
18701 * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
18702 * signal/kill.c (__kill): Likewise.
18703 * signal/killpg.c (killpg): Likewise.
18704 * signal/raise.c (raise): Likewise.
18705 * signal/sigaction.c (__sigaction): Likewise.
18706 * signal/sigaddset.c (sigaddset): Likewise.
18707 * signal/sigaltstack.c (sigaltstack): Likewise.
18708 * signal/sigandset.c (sigandset): Likewise.
18709 * signal/sigblock.c (__sigblock): Likewise.
18710 * signal/sigdelset.c (sigdelset): Likewise.
18711 * signal/sigempty.c (sigemptyset): Likewise.
18712 * signal/sigfillset.c (sigfillset): Likewise.
18713 * signal/sighold.c (sighold): Likewise.
18714 * signal/sigignore.c (sigignore): Likewise.
18715 * signal/sigintr.c (siginterrupt): Likewise.
18716 * signal/sigisempty.c (sigisemptyset): Likewise.
18717 * signal/sigismem.c (sigismember): Likewise.
18718 * signal/signal.c (signal): Likewise.
18719 * signal/sigorset.c (sigorset): Likewise.
18720 * signal/sigpause.c (__sigpause): Likewise.
18721 * signal/sigpending.c (sigpending): Likewise.
18722 * signal/sigprocmask.c (__sigprocmask): Likewise.
18723 * signal/sigrelse.c (sigrelse): Likewise.
18724 * signal/sigreturn.c (__sigreturn): Likewise.
18725 * signal/sigset.c (sigset): Likewise.
18726 * signal/sigsetmask.c (__sigsetmask): Likewise.
18727 * signal/sigstack.c (sigstack): Likewise.
18728 * signal/sigsuspend.c (__sigsuspend): Likewise.
18729 * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
18730 * signal/sysv_signal.c (__sysv_signal): Likewise.
18731 * socket/accept.c (accept): Likewise.
18732 * socket/accept4.c (__libc_accept4): Likewise.
18733 * socket/bind.c (__bind): Likewise.
18734 * socket/connect.c (__connect): Likewise.
18735 * socket/getpeername.c (getpeername): Likewise.
18736 * socket/getsockname.c (__getsockname): Likewise.
18737 * socket/getsockopt.c (getsockopt): Likewise.
18738 * socket/listen.c (__listen): Likewise.
18739 * socket/recv.c (__recv): Likewise.
18740 * socket/recvmsg.c (__recvmsg): Likewise.
18741 * socket/send.c (__send): Likewise.
18742 * socket/sendmsg.c (__sendmsg): Likewise.
18743 * socket/shutdown.c (shutdown): Likewise.
18744 * socket/sockatmark.c (sockatmark): Likewise.
18745 * socket/socket.c (__socket): Likewise.
18746 * stdio-common/ctermid.c (ctermid): Likewise.
18747 * stdio-common/cuserid.c (cuserid): Likewise.
18748 * stdio-common/printf-prs.c (parse_printf_format): Likewise.
18749 * stdio-common/remove.c (remove): Likewise.
18750 * stdio-common/rename.c (rename): Likewise.
18751 * stdio-common/renameat.c (renameat): Likewise.
18752 * stdio-common/tempname.c (__gen_tempname): Likewise.
18753 * stdio-common/xbug.c (InitBuffer): Likewise.
18754 (AppendToBuffer): Likewise.
18755 (ReadFile): Likewise.
18756 * stdlib/a64l.c (a64l): Likewise.
18757 * stdlib/drand48_r.c (drand48_r): Likewise.
18758 * stdlib/getcontext.c (getcontext): Likewise.
18759 * stdlib/getenv.c (getenv): Likewise.
18760 * stdlib/l64a.c (l64a): Likewise.
18761 * stdlib/llabs.c (llabs): Likewise.
18762 * stdlib/lldiv.c (lldiv): Likewise.
18763 * stdlib/lrand48_r.c (lrand48_r): Likewise.
18764 * stdlib/mrand48_r.c (mrand48_r): Likewise.
18765 * stdlib/putenv.c (putenv): Likewise.
18766 * stdlib/random.c (__srandom): Likewise.
18767 (__initstate): Likewise.
18768 (__setstate): Likewise.
18769 * stdlib/random_r.c (__srandom_r): Likewise.
18770 (__setstate_r): Likewise.
18771 (__random_r): Likewise.
18772 * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
18773 * stdlib/setcontext.c (setcontext): Likewise.
18774 * stdlib/setenv.c (setenv): Likewise.
18775 (unsetenv): Likewise.
18776 * stdlib/srand48.c (srand48): Likewise.
18777 * stdlib/srand48_r.c (__srand48_r): Likewise.
18778 * stdlib/swapcontext.c (swapcontext): Likewise.
18779 * stdlib/system.c (__libc_system): Likewise.
18780 * stdlib/tst-strtod.c (expand): Likewise.
18781 * stdlib/tst-strtol.c (expand): Likewise.
18782 * stdlib/tst-strtoll.c (expand): Likewise.
18783 * streams/fattach.c (fattach): Likewise.
18784 * streams/fdetach.c (fdetach): Likewise.
18785 * streams/getmsg.c (getmsg): Likewise.
18786 * streams/isastream.c (isastream): Likewise.
18787 * string/ffs.c (__ffs): Likewise.
18788 * string/ffsll.c (ffsll): Likewise.
18789 * string/memcmp.c (memcmp_common_alignment): Likewise.
18790 (memcmp_not_common_alignment): Likewise.
18791 (MEMCMP): Likewise.
18792 * string/memcpy.c (memcpy): Likewise.
18793 * string/memmove.c (MEMMOVE): Likewise.
18794 * string/memset.c (memset): Likewise.
18795 * string/rawmemchr.c (RAWMEMCHR): Likewise.
18796 * string/strchrnul.c (STRCHRNUL): Likewise.
18797 * string/strerror.c (strerror): Likewise.
18798 * string/strndup.c (__strndup): Likewise.
18799 * string/strverscmp.c (__strverscmp): Likewise.
18800 * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
18801 * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
18802 (clnttcp_freeres): Likewise.
18803 * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
18804 * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
18805 * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
18806 * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
18807 * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
18808 (xdr_callhdr): Likewise.
18809 * sunrpc/rpcinfo.c (udpping): Likewise.
18810 (tcpping): Likewise.
18811 (pstatus): Likewise.
18812 (pmapdump): Likewise.
18813 (brdcst): Likewise.
18814 (deletereg): Likewise.
18815 (getprognum): Likewise.
18816 (getvers): Likewise.
18817 (get_inet_address): Likewise.
18818 * sunrpc/svc_raw.c (svcraw_recv): Likewise.
18819 * sunrpc/svc_udp.c (svcudp_create): Likewise.
18820 (svcudp_stat): Likewise.
18821 (svcudp_recv): Likewise.
18822 (svcudp_reply): Likewise.
18823 (svcudp_getargs): Likewise.
18824 (svcudp_freeargs): Likewise.
18825 (svcudp_destroy): Likewise.
18826 * sunrpc/xdr.c (xdr_bytes): Likewise.
18827 (xdr_netobj): Likewise.
18828 (xdr_string): Likewise.
18829 (xdr_wrapstring): Likewise.
18830 * sunrpc/xdr_float.c (xdr_float): Likewise.
18831 (xdr_double): Likewise.
18832 * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
18833 * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
18834 * sysvipc/ftok.c (ftok): Likewise.
18835 * sysvipc/msgctl.c (msgctl): Likewise.
18836 * sysvipc/msgget.c (msgget): Likewise.
18837 * sysvipc/msgrcv.c (msgrcv): Likewise.
18838 * sysvipc/msgsnd.c (msgsnd): Likewise.
18839 * sysvipc/semget.c (semget): Likewise.
18840 * sysvipc/semop.c (semop): Likewise.
18841 * sysvipc/shmat.c (shmat): Likewise.
18842 * sysvipc/shmctl.c (shmctl): Likewise.
18843 * sysvipc/shmdt.c (shmdt): Likewise.
18844 * sysvipc/shmget.c (shmget): Likewise.
18845 * termios/cfmakeraw.c (cfmakeraw): Likewise.
18846 * termios/speed.c (cfgetospeed): Likewise.
18847 (cfgetispeed): Likewise.
18848 (cfsetospeed): Likewise.
18849 (cfsetispeed): Likewise.
18850 * termios/tcflow.c (tcflow): Likewise.
18851 * termios/tcflush.c (tcflush): Likewise.
18852 * termios/tcgetattr.c (__tcgetattr): Likewise.
18853 * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
18854 * termios/tcgetsid.c (tcgetsid): Likewise.
18855 * termios/tcsendbrk.c (tcsendbreak): Likewise.
18856 * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
18857 * time/adjtime.c (__adjtime): Likewise.
18858 * time/dysize.c (dysize): Likewise.
18859 * time/ftime.c (ftime): Likewise.
18860 * time/getitimer.c (__getitimer): Likewise.
18861 * time/gettimeofday.c (__gettimeofday): Likewise.
18862 * time/gmtime.c (__gmtime_r): Likewise.
18863 (gmtime): Likewise.
18864 * time/localtime.c (__localtime_r): Likewise.
18865 (localtime): Likewise.
18866 * time/offtime.c (__offtime): Likewise.
18867 * time/settimeofday.c (__settimeofday): Likewise.
18868 * time/stime.c (stime): Likewise.
18869 * time/strftime_l.c (tm_diff): Likewise.
18870 (iso_week_days): Likewise.
18871 * time/strptime.c (strptime): Likewise.
18872 * time/time.c (time): Likewise.
18873 * time/timespec_get.c (timespec_get): Likewise.
18874 * time/tzset.c (tzset_internal): Likewise.
18875 (compute_change): Likewise.
18876 (__tz_compute): Likewise.
18877 * wcsmbs/btowc.c (__btowc): Likewise.
18878 * wcsmbs/mbrlen.c (__mbrlen): Likewise.
18879 * wcsmbs/mbsinit.c (__mbsinit): Likewise.
18880 * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
18881 * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
18882 * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
18883 * wcsmbs/wcscat.c (__wcscat): Likewise.
18884 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
18885 * wcsmbs/wcscmp.c (WCSCMP): Likewise.
18886 * wcsmbs/wcscpy.c (WCSCPY): Likewise.
18887 * wcsmbs/wcscspn.c (wcscspn): Likewise.
18888 * wcsmbs/wcsdup.c (wcsdup): Likewise.
18889 * wcsmbs/wcslen.c (__wcslen): Likewise.
18890 * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
18891 * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
18892 * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
18893 * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
18894 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
18895 * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
18896 * wcsmbs/wcsspn.c (wcsspn): Likewise.
18897 * wcsmbs/wcsstr.c (wcsstr): Likewise.
18898 * wcsmbs/wcstok.c (wcstok): Likewise.
18899 * wcsmbs/wctob.c (wctob): Likewise.
18900 * wcsmbs/wmemchr.c (__wmemchr): Likewise.
18901 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
18902 * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
18903 * wcsmbs/wmemmove.c (__wmemmove): Likewise.
18904 * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
18905 * wcsmbs/wmemset.c (__wmemset): Likewise.
18906 * wctype/wcfuncs.c (__towlower): Likewise.
18907 (__towupper): Likewise.
18908
18909 * sysdeps/unix/sysv/linux/i386/lowlevellock.h
18910 (lll_unlock_elision): Add adapt_count parameter.
18911
18912 2015-10-15 Joseph Myers <joseph@codesourcery.com>
18913
18914 * sysdeps/nptl/configure.ac: Do not give errors based on the
18915 results of top-level configure tests.
18916 * sysdeps/nptl/configure: Regenerated.
18917
18918 * configure.ac (libc_cv_Bgroup): Remove configure test.
18919 * configure: Regenerated.
18920 * config.make.in (have-Bgroup): Remove variable.
18921
18922 * configure.ac (sizeof_long_double): Remove configure test.
18923 * configure: Regenerated.
18924 * config.make.in (sizeof-long-double): Remove variable.
18925
18926 * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
18927 * configure: Regenerated.
18928 * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
18929 variable.
18930 (exceptions): Likewise.
18931 * sysdeps/arm/configure: Regenerated.
18932 * config.make.in (exceptions): Remove variable.
18933 * Makeconfig (uses-callbacks): Use -fexceptions instead of
18934 $(exceptions).
18935 * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
18936 (CFLAGS-vdprintf_chk.c): Likewise.
18937 (CFLAGS-printf_chk.c): Likewise.
18938 (CFLAGS-fprintf_chk.c): Likewise.
18939 (CFLAGS-vprintf_chk.c): Likewise.
18940 (CFLAGS-vfprintf_chk.c): Likewise.
18941 (CFLAGS-gets_chk.c): Likewise.
18942 (CFLAGS-fgets_chk.c): Likewise.
18943 (CFLAGS-fgets_u_chk.c): Likewise.
18944 (CFLAGS-fread_chk.c): Likewise.
18945 (CFLAGS-fread_u_chk.c): Likewise.
18946 (CFLAGS-wprintf_chk.c): Likewise.
18947 (CFLAGS-fwprintf_chk.c): Likewise.
18948 (CFLAGS-vwprintf_chk.c): Likewise.
18949 (CFLAGS-vfwprintf_chk.c): Likewise.
18950 (CFLAGS-fgetws_chk.c): Likewise.
18951 (CFLAGS-fgetws_u_chk.c): Likewise.
18952 * libio/Makefile (CFLAGS-fileops.c): Likewise.
18953 (CFLAGS-fputc.c): Likewise.
18954 (CFLAGS-fputwc.c): Likewise.
18955 (CFLAGS-freopen64.c): Likewise.
18956 (CFLAGS-freopen.c): Likewise.
18957 (CFLAGS-fseek.c): Likewise.
18958 (CFLAGS-fseeko64.c): Likewise.
18959 (CFLAGS-fseeko.c): Likewise.
18960 (CFLAGS-ftello64.c): Likewise.
18961 (CFLAGS-ftello.c): Likewise.
18962 (CFLAGS-fwide.c): Likewise.
18963 (CFLAGS-genops.c): Likewise.
18964 (CFLAGS-getc.c): Likewise.
18965 (CFLAGS-getchar.c): Likewise.
18966 (CFLAGS-getwc.c): Likewise.
18967 (CFLAGS-getwchar.c): Likewise.
18968 (CFLAGS-iofclose.c): Likewise.
18969 (CFLAGS-iofflush.c): Likewise.
18970 (CFLAGS-iofgetpos64.c): Likewise.
18971 (CFLAGS-iofgetpos.c): Likewise.
18972 (CFLAGS-iofgets.c): Likewise.
18973 (CFLAGS-iofgetws.c): Likewise.
18974 (CFLAGS-iofputs.c): Likewise.
18975 (CFLAGS-iofputws.c): Likewise.
18976 (CFLAGS-iofread.c): Likewise.
18977 (CFLAGS-iofsetpos64.c): Likewise.
18978 (CFLAGS-iofsetpos.c): Likewise.
18979 (CFLAGS-ioftell.c): Likewise.
18980 (CFLAGS-iofwrite.c): Likewise.
18981 (CFLAGS-iogetdelim.c): Likewise.
18982 (CFLAGS-iogetline.c): Likewise.
18983 (CFLAGS-iogets.c): Likewise.
18984 (CFLAGS-iogetwline.c): Likewise.
18985 (CFLAGS-ioputs.c): Likewise.
18986 (CFLAGS-ioseekoff.c): Likewise.
18987 (CFLAGS-ioseekpos.c): Likewise.
18988 (CFLAGS-iosetbuffer.c): Likewise.
18989 (CFLAGS-iosetvbuf.c): Likewise.
18990 (CFLAGS-ioungetc.c): Likewise.
18991 (CFLAGS-ioungetwc.c): Likewise.
18992 (CFLAGS-oldfileops.c): Likewise.
18993 (CFLAGS-oldiofclose.c): Likewise.
18994 (CFLAGS-oldiofgetpos64.c): Likewise.
18995 (CFLAGS-oldiofgetpos.c): Likewise.
18996 (CFLAGS-oldiofsetpos64.c): Likewise.
18997 (CFLAGS-oldiofsetpos.c): Likewise.
18998 (CFLAGS-peekc.c): Likewise.
18999 (CFLAGS-putc.c): Likewise.
19000 (CFLAGS-putchar.c): Likewise.
19001 (CFLAGS-putwc.c): Likewise.
19002 (CFLAGS-putwchar.c): Likewise.
19003 (CFLAGS-rewind.c): Likewise.
19004 (CFLAGS-wfileops.c): Likewise.
19005 (CFLAGS-wgenops.c): Likewise.
19006 (CFLAGS-oldiofopen.c): Likewise.
19007 (CFLAGS-iofopen.c): Likewise.
19008 (CFLAGS-iofopen64.c): Likewise.
19009 (CFLAGS-oldtmpfile.c): Likewise.
19010 * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
19011 (CFLAGS-fprintf.c): Likewise.
19012 (CFLAGS-printf.c): Likewise.
19013 (CFLAGS-vfwprintf.c): Likewise.
19014 (CFLAGS-vfscanf.c): Likewise.
19015 (CFLAGS-vfwscanf.c): Likewise.
19016 (CFLAGS-fscanf.c): Likewise.
19017 (CFLAGS-scanf.c): Likewise.
19018 (CFLAGS-isoc99_vfscanf.c): Likewise.
19019 (CFLAGS-isoc99_vscanf.c): Likewise.
19020 (CFLAGS-isoc99_fscanf.c): Likewise.
19021 (CFLAGS-isoc99_scanf.c): Likewise.
19022 * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
19023 (CFLAGS-isoc99_fwscanf.c): Likewise.
19024 (CFLAGS-isoc99_vwscanf.c): Likewise.
19025 (CFLAGS-isoc99_vfwscanf.c): Likewise.
19026
19027 * io/test-lfs.c (do_prepare): Do not call add_temp_file until
19028 after mkstemp64.
19029 * login/tst-utmp.c (do_prepare): Likewise.
19030 * rt/tst-aio.c (do_prepare): Likewise.
19031 * rt/tst-aio64.c (do_prepare): Likewise.
19032
19033 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19034
19035 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
19036 (__lll_lock_elision): Remove adapt_count decrement...
19037 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
19038 (__lll_trylock_elision): Likewise.
19039 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
19040 (__lll_unlock_elision): ... to here. And utilize
19041 new adapt_count parameter.
19042 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
19043 (__lll_unlock_elision): Update to include adapt_count
19044 parameter.
19045 (lll_unlock_elision): Pass pointer to adapt_count
19046 variable.
19047
19048 2015-10-15 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
19049
19050 * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
19051 Add elision adapt_count parameter to list of arguments.
19052 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
19053 (lll_unlock_elision): Update with new parameter list
19054 * sysdeps/unix/sysv/linux/s390/lowlevellock.h
19055 (lll_unlock_elision): Likewise.
19056 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
19057 (lll_unlock_elision): Likewise.
19058
19059 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
19060
19061 [BZ #19122]
19062 * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
19063 attribute_hidden.
19064
19065 * include/string.h [IS_IN (rtld)] (__stpcpy): Add
19066 attribute_hidden.
19067 [IS_IN (rtld)] (__strdup): Likewise.
19068 [IS_IN (rtld)] (__strerror_r): Likewise.
19069 [IS_IN (rtld)] (__strsep_g): Likewise.
19070 [IS_IN (rtld)] (memchr): Likewise.
19071 [IS_IN (rtld)] (memcmp): Likewise.
19072 [IS_IN (rtld)] (memcpy): Likewise.
19073 [IS_IN (rtld)] (memmove): Likewise.
19074 [IS_IN (rtld)] (memset): Likewise.
19075 [IS_IN (rtld)] (rawmemchr): Likewise.
19076 [IS_IN (rtld)] (stpcpy): Likewise.
19077 [IS_IN (rtld)] (strchr): Likewise.
19078 [IS_IN (rtld)] (strcmp): Likewise.
19079 [IS_IN (rtld)] (strlen): Likewise.
19080 [IS_IN (rtld)] (strnlen): Likewise.
19081 [IS_IN (rtld)] (strsep): Likewise.
19082
19083 * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
19084 attribute_hidden.
19085 [IS_IN (rtld)] (__strtoul_internal): Likewise.
19086
19087 * include/signal.h [IS_IN (rtld)] (__sigaction): Add
19088 attribute_hidden.
19089 [IS_IN (rtld)] (__libc_sigaction): Likewise.
19090
19091 * include/setjmp.h (__longjmp): Add attribute_hidden.
19092 [IS_IN (rtld)] (__sigsetjmp): Likewise.
19093
19094 * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
19095 Add attribute_hidden.
19096
19097 * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
19098 [IS_IN (rtld)] (__open): Likewise.
19099 [IS_IN (rtld)] (__fcntl): Likewise.
19100
19101 * include/dirent.h (__opendirat): Add attribute_hidden.
19102 (__getdents): Likewise.
19103 (__getdents64): Likewise.
19104 (__alloc_dir): Likewise.
19105 [IS_IN (rtld)] (__closedir): Likewise.
19106 [IS_IN (rtld)] (__fdopendir): Likewise.
19107 [IS_IN (rtld)] (__readdir): Likewise.
19108 [IS_IN (rtld)] (__readdir64): Likewise.
19109 [IS_IN (rtld)] (__rewinddir): Likewise.
19110
19111 * include/dlfcn.h (_dl_catch_error): Moved to ...
19112 * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
19113 attribute_hidden.
19114
19115 * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
19116 (_itoa_word): Likewise.
19117
19118 * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
19119 * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
19120 * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
19121 * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
19122 (_dl_higher_prime_number): Likewise.
19123 (_dl_debug_printf_c): Likewise.
19124 (_dl_signal_cerror): Likewise.
19125 (_dl_receive_error): Likewise.
19126 (_dl_reloc_bad_type): Likewise.
19127 (_dl_resolve_conflicts): Likewise.
19128 (_dl_check_all_versions): Likewise.
19129 (_dl_check_map_versions): Likewise.
19130 (_dl_sort_fini): Likewise.
19131 (_dl_debug_initialize): Likewise.
19132 (_dl_init_paths): Likewise.
19133 (_dl_show_auxv): Likewise.
19134 (_dl_next_ld_env_entry): Likewise.
19135 (_dl_important_hwcaps): Likewise.
19136 (_dl_load_cache_lookup): Likewise.
19137 (_dl_update_slotinfo): Likewise.
19138 (_dl_show_scope): Likewise.
19139
19140 * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
19141 attribute_hidden.
19142 (_wordcopy_fwd_dest_aligned): Likewise.
19143 (_wordcopy_bwd_aligned): Likewise.
19144 (_wordcopy_bwd_dest_aligned): Likewise.
19145
19146 * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
19147 * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
19148 Likewise.
19149 * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
19150 Likewise.
19151 * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
19152
19153 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
19154
19155 * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
19156 GCC 5 requirement.
19157
19158 2015-10-15 Joseph Myers <joseph@codesourcery.com>
19159
19160 * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
19161 test.
19162 * sysdeps/i386/configure: Regenerated.
19163 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
19164 code unconditional.
19165
19166 * configure.ac (libc_cv_asm_previous_directive): Remove configure
19167 test.
19168 (libc_cv_asm_popsection_directive): Likewise.
19169 * configure: Regenerated.
19170 * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
19171 (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
19172 * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
19173 (__make_section_unallocated): Make definition unconditional.
19174 [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
19175 Remove conditional definition.
19176 [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
19177 (__make_section_unallocated): Likewise.
19178
19179 * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
19180 * configure: Regenerated.
19181 * config.make.in (static-libgcc): Remove variable.
19182 * Makerules (build-shlib-helper): Use -static-libgcc instead of
19183 $(static-libgcc).
19184 (build-module-helper): Likewise.
19185
19186 * configure.ac (libc_cv_friendly_stddef): Remove configure test.
19187 * configure: Regenerated.
19188
19189 2015-10-15 Florian Weimer <fweimer@redhat.com>
19190
19191 * stdio-common/vfscanf.c (MEMCPY): Remove macro.
19192 (struct char_buffer): New type.
19193 (char_buffer_start, char_buffer_size, char_buffer_error)
19194 (char_buffer_rewind, char_buffer_add): New functions.
19195 (ADDW): Remove macro, replaced by the char_buffer_add function.
19196 (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
19197 of extend_alloca. Make control flow more explicit.
19198
19199 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
19200
19201 [BZ #19137]
19202 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
19203 Add -fomit-frame-pointer.
19204 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
19205
19206 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
19207
19208 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
19209 (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
19210 * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
19211 only if !__GNUC_PREREQ (5,0).
19212 (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
19213 (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
19214 (INTERNAL_SYSCALL_NCS): Likewise.
19215 (LOADREGS_0): New macro for GCC 5.
19216 (ASMARGS_0): Likewise.
19217 (LOADREGS_1): Likewise.
19218 (ASMARGS_1): Likewise.
19219 (LOADREGS_2): Likewise.
19220 (ASMARGS_2): Likewise.
19221 (LOADREGS_3): Likewise.
19222 (ASMARGS_3): Likewise.
19223 (LOADREGS_4): Likewise.
19224 (ASMARGS_4): Likewise.
19225 (LOADREGS_5): Likewise.
19226 (ASMARGS_5): Likewise.
19227 (LOADREGS_6): Likewise.
19228 (ASMARGS_6): Likewise.
19229
19230 2015-10-15 H.J. Lu <hongjiu.lu@intel.com>
19231
19232 * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
19233 -fomit-frame-pointer.
19234 (CFLAGS-mmap64.c): Likewise.
19235 (CFLAGS-semtimedop.c): Likewise.
19236 * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
19237 * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
19238 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
19239 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
19240
19241 2015-10-15 Florian Weimer <fweimer@redhat.com>
19242
19243 [BZ #18928]
19244 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
19245 _dl_pointer_guard member.
19246 * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
19247 initializer.
19248 (security_init): Always set up pointer guard.
19249 (process_envvars): Do not process LD_POINTER_GUARD.
19250
19251 2015-10-14 Joseph Myers <joseph@codesourcery.com>
19252
19253 [BZ #19134]
19254 * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
19255 (.LC2): Likewise.
19256 (.LC3): Likewise.
19257 (__lround): Do not add 0.5 to integer or out-of-range arguments.
19258
19259 2015-10-14 Szabolcs Nagy <szabolcs.nagy@arm.com>
19260
19261 [BZ #19129]
19262 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
19263 r0 and r1.
19264
19265 2015-10-14 Namhyung Kim <namhyung@gmail.com>
19266
19267 * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
19268
19269 2015-10-14 Carlos O'Donell <carlos@redhat.com>
19270
19271 * include/stap-probe.h: Fix macro definition formatting.
19272
19273 2015-10-14 Florian Weimer <fweimer@redhat.com>
19274
19275 [BZ #19074]
19276 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
19277 load and store num_ifs.
19278
19279 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
19280
19281 [BZ #18822]
19282 * sysdeps/unix/sysv/linux/sched_getaffinity.c
19283 (__sched_getaffinity_new): Add libc_hidden_proto and
19284 libc_hidden_def.
19285
19286 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
19287
19288 [BZ #19007]
19289 * scripts/localplt.awk: Also allow GOT references.
19290 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
19291 _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
19292 with "+ REL R_386_GLOB_DAT".
19293 * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
19294 and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
19295
19296 2015-10-14 H.J. Lu <hongjiu.lu@intel.com>
19297
19298 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
19299 INLINE_SYSCALL_ERROR_RETURN_VALUE.
19300 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
19301 Likewise.
19302 * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
19303 * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
19304 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
19305 INTERNAL_SYSCALLINTERNAL_SYSCALL and
19306 INLINE_SYSCALL_ERROR_RETURN_VALUE.
19307 * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
19308 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
19309 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
19310 Likewise.
19311 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
19312
19313 2015-10-13 Joseph Myers <joseph@codesourcery.com>
19314
19315 [BZ #19125]
19316 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
19317 <math_private.h> and <stdint.h>.
19318 (__llround): Avoid conversions to and from long long int, and
19319 subtractions, where those might raise spurious exceptions.
19320 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
19321 <math_private.h> and <stdint.h>.
19322 (__llroundf): Avoid conversions to and from long long int, and
19323 subtractions, where those might raise spurious exceptions.
19324
19325 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
19326
19327 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
19328 INLINE_SYSCALL_ERROR_RETURN_VALUE.
19329 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
19330 * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
19331 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
19332 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
19333 * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
19334 * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
19335 * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
19336 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
19337 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
19338 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
19339 * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
19340 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
19341 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
19342 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
19343 * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
19344 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
19345 * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
19346 * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
19347 * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
19348 * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
19349 * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
19350 * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
19351 * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
19352 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
19353 * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
19354 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
19355 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
19356 * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
19357 (__xstat64_conv): Likewise.
19358 (__xstat32_conv): Likewise.
19359
19360 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
19361
19362 * sysdeps/unix/sysv/linux/sysdep.h: New file.
19363 * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
19364 * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
19365 <sysdeps/unix/sysv/linux/sysdep.h>.
19366 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
19367 * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
19368 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
19369 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
19370 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
19371 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
19372 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
19373 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
19374 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
19375 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
19376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
19377 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
19378 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19379 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
19380 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
19381 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
19382 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
19383 (sysdep-dl-routines): Add sysdep.
19384 [$(subdir) == nptl] (libpthread-routines): Likewise.
19385 [$(subdir) == rt] (librt-routines): Likewise.
19386 * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
19387 PIC when branching to SYSCALL_ERROR_LABEL.
19388 * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
19389 * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
19390 <sysdeps/unix/sysv/linux/sysdep.h>.
19391 (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
19392 (SYSCALL_ERROR_ERRNO): Removed.
19393 (SYSCALL_ERROR_HANDLER): Changed to empty.
19394 (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
19395 (__syscall_error): New prototype.
19396 [IS_IN (libc)] (INLINE_SYSCALL): New macro.
19397 (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
19398
19399 2015-10-13 H.J. Lu <hongjiu.lu@intel.com>
19400
19401 [BZ #19124]
19402 * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
19403 (_dl_runtime_resolve_avx512): Make it a hidden alias of
19404 _dl_runtime_resolve_avx.
19405 (_dl_runtime_profile_avx512): Make it a hidden alias of
19406 _dl_runtime_profile_avx.
19407
19408 2015-10-13 Joseph Myers <joseph@codesourcery.com>
19409
19410 * sysdeps/powerpc/fpu/s_llround.c: Move to ....
19411 * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
19412 * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
19413 * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
19414
19415 [BZ #16422]
19416 * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
19417 New configure test.
19418 * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
19419 * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
19420 * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
19421 <math_private.h> and <stdint.h>.
19422 (__llrint): Avoid conversions to long long int where those might
19423 raise spurious exceptions.
19424 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
19425 <math_private.h> and <stdint.h>.
19426 (__llrintf): Avoid conversions to long long int where those might
19427 raise spurious exceptions.
19428
19429 2015-10-12 Andreas Schwab <schwab@suse.de>
19430
19431 [BZ #18969]
19432 * debug/Makefile (LOCALES): Define. Include gen-locales.mk.
19433 ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
19434 * iconvdata/Makefile (LOCALES): Define. Include gen-locales.mk.
19435 ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
19436 $(gen-locales).
19437 * intl/Makefile (LOCALES): Define. Include gen-locales.mk.
19438 ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
19439 ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
19440 ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
19441 ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
19442 $(gen-locales).
19443 * libio/Makefile (LOCALES): Define. Include gen-locales.mk.
19444 ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
19445 ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
19446 ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
19447 ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
19448 ($(objpfx)tst-ftell-active-handler.out)
19449 ($(objpfx)tst-ftell-append.out)
19450 ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
19451 ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
19452 ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
19453 ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
19454 * posix/Makefile (LOCALES): Define. Include gen-locales.mk.
19455 ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
19456 ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
19457 ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
19458 ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
19459 ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
19460 ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
19461 ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
19462 ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
19463 ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
19464 ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
19465 ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
19466 ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
19467 ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
19468 * stdio-common/Makefile (LOCALES): Define. Include gen-locales.mk.
19469 ($(objpfx)bug14.out, $(objpfx)scanf13.out)
19470 ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
19471 ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
19472 ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
19473 * stdlib/Makefile (LOCALES): Define. Include gen-locales.mk.
19474 ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
19475 ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
19476 ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
19477 $(gen-locales).
19478 * time/Makefile (LOCALES): Define. Include gen-locales.mk.
19479 ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
19480 $(gen-locales).
19481 * wcsmbs/Makefile (LOCALES): Define. Include gen-locales.mk.
19482 ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
19483 ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
19484 ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
19485 $(gen-locales).
19486 * libio/tst_wprintf2.c (main): Use explicit locale.
19487 * wcsmbs/wcsmbs-tst1.c (main): Likewise.
19488
19489 2015-10-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
19490
19491 * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
19492 __msg_sig_post.
19493 * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
19494
19495 2015-10-09 Joseph Myers <joseph@codesourcery.com>
19496
19497 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
19498 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
19499
19500 * sysdeps/arm/libm-test-ulps: Regenerated.
19501
19502 [BZ #15470]
19503 * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
19504
19505 [BZ #16399]
19506 * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
19507 * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
19508 and <fix-fp-int-convert-overflow.h>.
19509 (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19510 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19511 * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
19512 and <fix-fp-int-convert-overflow.h>.
19513 (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
19514 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19515 * sysdeps/ieee754/dbl-64/s_lrint.c: Include
19516 <fix-fp-int-convert-overflow.h>.
19517 (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
19518 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19519 * sysdeps/ieee754/dbl-64/s_lround.c: Include
19520 <fix-fp-int-convert-overflow.h>.
19521 (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
19522 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19523 * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
19524 and <fix-fp-int-convert-overflow.h>.
19525 (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19526 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19527 * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
19528 <limits.h> and <fix-fp-int-convert-overflow.h>.
19529 (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19530 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19531 * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
19532 and <fix-fp-int-convert-overflow.h>.
19533 (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
19534 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19535 * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
19536 and <fix-fp-int-convert-overflow.h>.
19537 (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
19538 FIX_DBL_LLONG_CONVERT_OVERFLOW.
19539 * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
19540
19541 2015-10-09 Carlos O'Donell <carlos@redhat.com>
19542
19543 [BZ #18589]
19544 * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
19545 * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
19546 $(gen-locales).
19547
19548 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19549 Phil Blundell <pb@pbcl.net>
19550
19551 * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
19552 * nptl/tst-cancel26.c: New file.
19553 * nptl/tst-cancel27.c: Likewise.
19554
19555 2015-10-09 H.J. Lu <hongjiu.lu@intel.com>
19556
19557 * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
19558 __ILP32__ isn't defined.
19559 (lrint): Likewise.
19560 * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
19561 (lrintf): Likewise.
19562 * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
19563 (lrintl): Likewise.
19564 * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
19565 * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
19566 * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
19567
19568 2015-10-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
19569
19570 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
19571 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
19572
19573 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
19574 file.
19575 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
19576 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
19577
19578 2015-10-09 Joseph Myers <joseph@codesourcery.com>
19579
19580 * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
19581 configure test.
19582 * sysdeps/i386/configure: Regenerated.
19583 * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
19584 configure test.
19585 * sysdeps/x86_64/configure: Regenerated.
19586 * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
19587 Make code unconditional.
19588
19589 * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
19590 test.
19591 * sysdeps/i386/configure: Regenerated.
19592 * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
19593 test.
19594 * sysdeps/x86_64/configure: Regenerated.
19595 * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
19596 Make code unconditional.
19597 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
19598 Likewise.
19599 * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
19600 Likewise.
19601 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19602 * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
19603 code unconditional.
19604 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19605 * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
19606 code unconditional.
19607 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19608 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
19609 code unconditional.
19610 * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
19611 code unconditional.
19612 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19613 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
19614 code unconditional.
19615 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19616 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
19617 code unconditional.
19618 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19619 * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
19620 code unconditional.
19621 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19622 * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
19623 code unconditional.
19624 [!HAVE_FMA4_SUPPORT]: Remove conditional code.
19625 * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
19626
19627 [BZ #19095]
19628 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
19629 mantissa to long int before shifting left.
19630
19631 2015-10-08 Joseph Myers <joseph@codesourcery.com>
19632
19633 [BZ #19094]
19634 * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
19635 <limits.h>.
19636 (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19637 when result overflows but exception would not result from cast.
19638 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
19639 <limits.h>.
19640 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19641 when result overflows but exception would not result from cast.
19642 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
19643 <limits.h>.
19644 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19645 when result overflows but exception would not result from cast.
19646 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
19647 <limits.h>.
19648 (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19649 when result overflows but exception would not result from cast.
19650 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
19651 <limits.h>.
19652 (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
19653 when result overflows but exception would not result from cast.
19654 * math/libm-test.inc (lrint_test_data): Add more tests.
19655 (llrint_test_data): Likewise.
19656
19657 2015-10-08 Roland McGrath <roland@hack.frob.com>
19658
19659 [BZ #18872]
19660 * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
19661 Move out from under [$(run-built-tests) = yes] conditional.
19662 ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
19663 ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
19664
19665 2015-10-08 Carlos O'Donell <carlos@redhat.com>
19666
19667 [BZ #18589]
19668 * string/Makefile (tests): Add bug-strcoll2.
19669 (LOCALES): Add cs_CZ.UTF-8.
19670 * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
19671
19672 [BZ #18589]
19673 * string/bug-strcoll2.c: New file.
19674 * locale/categories.def: Revert commit
19675 f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
19676 * locale/langinfo.h: Likewise.
19677 * locale/localeinfo.h: Likewise.
19678 * locale/C-collate.c: Likewise.
19679 * locale/programs/ld-collate.c (collate_output): Likewise.
19680 * string/strcoll_l.c (STRDIFF): Likewise.
19681 (STRCOLL): Likewise.
19682 * wcsmbs/wcscoll_l.c: Likewise.
19683
19684 2015-10-08 Joseph Myers <joseph@codesourcery.com>
19685
19686 * math/libm-test.inc (lround_test_data): Do not expect the absence
19687 of "inexact" for some tests with non-integer arguments.
19688 (llround_test_data): Likewise.
19689
19690 * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
19691 test.
19692 (libc_cv_cc_sse2avx): Likewise.
19693 * sysdeps/i386/configure: Regenerated.
19694 * sysdeps/i386/i686/multiarch/Makefile
19695 [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
19696 [$(subdir) = math].
19697 * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
19698 code unconditional.
19699 * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19700 Likewise.
19701 * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
19702 Likewise.
19703 * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19704 Likewise.
19705 * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
19706 test.
19707 (libc_cv_cc_sse2avx): Likewise.
19708 * sysdeps/x86_64/configure: Regenerated.
19709 * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
19710 unconditional.
19711 * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
19712 [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
19713 unconditional.
19714 (_dl_runtime_profile)
19715 [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
19716 conditional code.
19717 * sysdeps/x86_64/fpu/multiarch/Makefile
19718 [$(config-cflags-sse2avx) = yes]: Make code unconditional.
19719 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
19720 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19721 * sysdeps/x86_64/fpu/multiarch/e_exp.c
19722 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19723 * sysdeps/x86_64/fpu/multiarch/e_log.c
19724 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19725 * sysdeps/x86_64/fpu/multiarch/s_atan.c
19726 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19727 * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
19728 Likewise.
19729 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
19730 Likewise.
19731 * sysdeps/x86_64/fpu/multiarch/s_sin.c
19732 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19733 * sysdeps/x86_64/fpu/multiarch/s_tan.c
19734 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
19735 * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
19736 * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
19737 (HAVE_SSE2AVX_SUPPORT): Likewise.
19738
19739 2015-10-07 Paul Pluzhnikov <ppluzhnikov@google.com>
19740
19741 * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
19742 instead of #pragma optimize.
19743
19744 2015-10-07 Carlos O'Donell <carlos@redhat.com>
19745
19746 [BZ #17195]
19747 * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
19748 as is similarly done in systrim and _int_free already.
19749
19750 2015-10-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
19751
19752 * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
19753
19754 2015-10-07 Joseph Myers <joseph@codesourcery.com>
19755
19756 [BZ #19088]
19757 * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
19758 <limits.h>.
19759 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19760 overflows but exception would not result from cast.
19761 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
19762 and <limits.h>.
19763 (__lround) [FE_INVALID]: Force FE_INVALID exception when result
19764 overflows but exception would not result from cast.
19765 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
19766 <limits.h>.
19767 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19768 overflows but exception would not result from cast.
19769 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
19770 <limits.h>.
19771 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19772 overflows but exception would not result from cast.
19773 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
19774 <limits.h>.
19775 (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
19776 overflows but exception would not result from cast.
19777 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
19778 <limits.h>.
19779 (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
19780 overflows but exception would not result from cast.
19781 * math/libm-test.inc (lround_test_data): Add more tests.
19782 (llround_test_data): Likewise.
19783
19784 2015-10-07 Steve Ellcey <sellcey@imgtec.com>
19785
19786 * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
19787 (CFLAGS-ialloc.c): Ditto.
19788 (CFLAGS-scheck.c): Ditto.
19789
19790 2015-10-07 Carlos O'Donell <carlos@redhat.com>
19791
19792 [BZ #19086]
19793 * manual/filesys.texi (Storage Allocation): Fix argument order for
19794 posix_fallocate64.
19795
19796 2015-10-07 Joseph Myers <joseph@codesourcery.com>
19797
19798 [BZ #19085]
19799 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
19800 exponent below 48 inside case for non-overflowing exponent.
19801 * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
19802
19803 2015-10-07 Florian Weimer <fweimer@redhat.com>
19804
19805 * iconvdata/cp737.h (from_idx): Add const.
19806 * iconvdata/cp775.h (from_idx): Likewise.
19807
19808 2015-10-07 Joseph Myers <joseph@codesourcery.com>
19809
19810 * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
19811 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
19812 (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
19813
19814 [BZ #19079]
19815 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
19816 file, conditioned on [!_LP64].
19817 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
19818 [!_LP64] (__lround): Do not define as function or alias.
19819 [!_LP64] (lround): Likewise.
19820 [!_LP64] (__lroundl): Likewise.
19821 [!_LP64] (lroundl): Likewise.
19822 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
19823 macro.
19824 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
19825 Likewise.
19826
19827 2015-10-06 Joseph Myers <joseph@codesourcery.com>
19828
19829 * math/libm-test.inc (lrint_test_data): Add more tests.
19830 (llrint_test_data): Likewise.
19831 (lround_test_data): Likewise.
19832 (llround_test_data): Likewise.
19833
19834 * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
19835 (llrint_test_data): Add tests used for lrint.
19836
19837 * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
19838 test.
19839 * sysdeps/i386/configure: Regenerated.
19840 * sysdeps/i386/i686/multiarch/Makefile
19841 [$(config-cflags-sse4) = yes]: Make code unconditional.
19842 * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19843 Likewise.
19844 * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
19845 Likewise.
19846 * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
19847 test.
19848 * sysdeps/x86_64/configure: Regenerated.
19849 * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
19850 Make code unconditional.
19851 * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
19852 Likewise.
19853 * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
19854 * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
19855
19856 * scripts/rpm2dynsym.sh: Remove file.
19857
19858 2015-10-06 Florian Weimer <fweimer@redhat.com>
19859
19860 * configure.ac (libc_cv_cxx_thread_local): Define.
19861 * configure: Regenerate.
19862 * config.make.in (have-cxx-thread_local): Define.
19863 * nptl/Makefile (CFLAGS-tst-thread_local1.o):
19864 (LDLIBS-tst-thread_local1): Define.
19865 (tests): Add tst-thread_local1.
19866 [have-cxx-thread_local != yes] (tests-unsupported): Add
19867 tst-thread_local1.
19868 * nptl/tst-thread_local1.cc: New file.
19869
19870 2015-10-06 Joseph Myers <joseph@codesourcery.com>
19871
19872 [BZ #19078]
19873 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
19874 (u_thres): Likewise.
19875 (__expl): Determine whether to call __kernel_standard_l based on
19876 value of result, not argument.
19877
19878 * math/libm-test.inc (scalb_test_data): Add more expectations for
19879 the "inexact" exception.
19880
19881 [BZ #19077]
19882 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
19883 0.0L for argument 1.0L.
19884
19885 [BZ #19076]
19886 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
19887 constant 0.0L when computing infinite result.
19888
19889 2015-10-06 Florian Weimer <fweimer@redhat.com>
19890
19891 [BZ #10432]
19892 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
19893 malloc_usable_size.
19894
19895 2015-10-06 Florian Weimer <fweimer@redhat.com>
19896
19897 [BZ #19018]
19898 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
19899 Mangle function pointer before storing it.
19900 (__call_tls_dtors): Demangle function pointer before calling it.
19901
19902 2015-10-05 Paul Pluzhnikov <ppluzhnikov@google.com>
19903
19904 [BZ #19012]
19905 * iconv/gconv_db.c (gen_steps): Check for additional errors.
19906 Clean up on failure.
19907
19908 2015-10-05 Joseph Myers <joseph@codesourcery.com>
19909
19910 [BZ #19071]
19911 * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
19912 long int variable to store possibly incremented high part of
19913 mantissa.
19914 * math/libm-test.inc (lround_test_data): Add tests used for
19915 llround. Use [LONG_MAX > 0x7fffffff] consistently as condition
19916 for tests requiring 64-bit long. Do not condition tests on
19917 [TEST_FLOAT] unnecessarily.
19918 (llround_test_data): Add tests used for lround. Add another
19919 expectation for the "inexact" exception. Do not condition tests
19920 on [TEST_FLOAT] unnecessarily.
19921
19922 [BZ #887]
19923 [BZ #19049]
19924 [BZ #19050]
19925 * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
19926 * sysdeps/ieee754/dbl-64/e_log10.c: Include
19927 <fix-int-fp-convert-zero.h>.
19928 (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19929 * sysdeps/ieee754/dbl-64/e_log2.c: Include
19930 <fix-int-fp-convert-zero.h>.
19931 (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19932 * sysdeps/ieee754/dbl-64/s_erf.c: Include
19933 <fix-int-fp-convert-zero.h>.
19934 (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19935 * sysdeps/ieee754/dbl-64/s_logb.c: Include
19936 <fix-int-fp-convert-zero.h>.
19937 (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19938 * sysdeps/ieee754/flt-32/e_log10f.c: Include
19939 <fix-int-fp-convert-zero.h>.
19940 (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19941 * sysdeps/ieee754/flt-32/e_log2f.c: Include
19942 <fix-int-fp-convert-zero.h>.
19943 (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19944 * sysdeps/ieee754/flt-32/s_erff.c: Include
19945 <fix-int-fp-convert-zero.h>.
19946 (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19947 * sysdeps/ieee754/flt-32/s_logbf.c: Include
19948 <fix-int-fp-convert-zero.h>.
19949 (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19950 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
19951 <fix-int-fp-convert-zero.h>.
19952 (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19953 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
19954 <fix-int-fp-convert-zero.h>.
19955 (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
19956 * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
19957 * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
19958 * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
19959 file.
19960 * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
19961
19962 2015-10-03 Paul Pluzhnikov <ppluzhnikov@google.com>
19963
19964 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
19965
19966 2015-10-02 Joseph Myers <joseph@codesourcery.com>
19967
19968 [BZ #19059]
19969 * math/s_nexttowardf.c (__nexttowardf): Do not return value from
19970 overflowing computation.
19971 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
19972 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
19973 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
19974 Likewise.
19975 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
19976 Likewise.
19977 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
19978 Likewise.
19979 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
19980 Likewise.
19981 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
19982 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
19983 Likewise.
19984 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
19985 Likewise.
19986 * math/libm-test.inc (nexttoward_test_data): Add more tests.
19987
19988 * nss/rewrite_field.c (__nss_rewrite_field): Use
19989 internal_function.
19990 * nss/valid_field.c (__nss_valid_field): Likewise.
19991 * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
19992
19993 2015-10-02 Florian Weimer <fweimer@redhat.com>
19994
19995 [BZ #18724]
19996 * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
19997 (__nss_invalid_field_characters, __nss_valid_field)
19998 (__nss_valid_list_field, __nss_rewrite_field): Declare.
19999 * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
20000 tst-field.c: New file.
20001 * nss/Makefile (routines): Add valid_field, rewrite_field.
20002 (tests-static): Define unconditionally.
20003 (tests): Include tests-static.
20004 [build-static-nss] (tests-static): Use append.
20005 [build-static-nss] (tests): Remove modification.
20006 * nss/getent.c (print_group): Call putgrent. Report error.
20007 (print_gshadow): Call putsgent. Report error.
20008 (print_passwd): Call putpwent. Report error.
20009 (print_shadow): Call putspent. Report error.
20010 * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
20011 * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
20012 * pwd/putpwent.c (putpwent): Use ISO function definition. Check
20013 name, password, directory, shell fields for valid syntax. Rewrite
20014 GECOS field to match syntax.
20015 * pwd/Makefile (tests): Add tst-putpwent.
20016 * pwd/tst-putpwent.c: New file.
20017 * grp/putgrent.c (putgrent): Convert to ISO function definition.
20018 Check grName, grpasswd, gr_mem fields for valid syntax.
20019 Change loop variable i to size_t.
20020 * grp/Makefile (tests): Add tst-putgrent.
20021 * grp/tst-putgrent.c: New file.
20022 * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
20023 valid syntax.
20024 * shadow/Makefile (tests): Add tst-putspent.
20025 * shadow/tst-putspent.c: New file.
20026 * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
20027 sg_mem fields for valid syntax.
20028 * gshadow/Makefile (tests): Add tst-putsgent.
20029 * gshadow/tst-putsgent.c: New file.
20030
20031 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
20032
20033 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
20034 assembly instructions.
20035
20036 2015-10-01 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
20037
20038 * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
20039 prefix from operands.
20040
20041 2015-10-01 Joseph Myers <joseph@codesourcery.com>
20042
20043 [BZ #16347]
20044 [BZ #19046]
20045 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
20046 <libc-internal.h>.
20047 (MAXLGM): Do not use diagnostic control macros.
20048 [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
20049 threshold for ldbl-128ibm.
20050 (__ieee754_lgammal_r): For large arguments, multiply by log - 1
20051 instead of multiplying by log then subtracting.
20052 * math/auto-libm-test-in: Add more tests of lgamma.
20053 * math/auto-libm-test-out: Regenerated.
20054
20055 * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
20056 (TYPE_HEX_DIG): Likewise.
20057 (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
20058 precisions when printing floating-point numbers.
20059 (check_float_internal): Likewise.
20060
20061 2015-09-30 Joseph Myers <joseph@codesourcery.com>
20062
20063 [BZ #16620]
20064 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
20065 of log (10) rounded downward to 48 bits.
20066 (log10_low): Use corresponding low part of log (10).
20067
20068 [BZ #19032]
20069 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
20070 compute result as (x - x) / (x - x) not as 0 / 0.
20071 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
20072 * math/libm-test.inc (acosh_test_data): Add another test of acosh.
20073
20074 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
20075 atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
20076 and expm1.
20077 * math/auto-libm-test-out: Regenerated.
20078 * math/libm-test.inc (acos_test_data): Add more tests.
20079 (asin_test_data): Likewise.
20080 (asinh_test_data): Likewise.
20081 (atan_test_data): Likewise.
20082 (atanh_test_data): Likewise.
20083 (atan2_test_data): Likewise.
20084 (cbrt_test_data): Likewise.
20085 (ceil_test_data): Likewise.
20086 (copysign_test_data): Likewise.
20087 (cos_test_data): Likewise.
20088 (cosh_test_data): Likewise.
20089 (erf_test_data): Likewise.
20090 (erfc_test_data): Likewise.
20091 (exp_test_data): Likewise.
20092 (exp10_test_data): Likewise.
20093 (exp2_test_data): Likewise.
20094 (expm1_test_data): Likewise.
20095 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20096
20097 2015-09-30 H.J. Lu <hongjiu.lu@intel.com>
20098
20099 [BZ #19006]
20100 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
20101 to ...
20102 * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
20103 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
20104 to ...
20105 * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
20106 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
20107 to ...
20108 * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
20109 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
20110 * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
20111 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
20112 to ...
20113 * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
20114 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
20115 Moved to ...
20116 * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
20117 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
20118 Moved to ...
20119 * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
20120 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
20121 to ...
20122 * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
20123 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
20124 Moved to ...
20125 * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
20126 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
20127 to ...
20128 * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
20129 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
20130 Removed.
20131 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
20132 Likewise.
20133 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
20134 Likewise.
20135 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
20136 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
20137 Likewise.
20138 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
20139 Likewise.
20140 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
20141 Likewise.
20142 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
20143 Likewise.
20144 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
20145 Likewise.
20146 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
20147 Likewise.
20148 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
20149 Likewise.
20150 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
20151 Likewise.
20152 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
20153 Likewise.
20154 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
20155 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
20156 Likewise.
20157 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
20158 Likewise.
20159 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
20160 Likewise.
20161 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
20162 Likewise.
20163 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
20164 Likewise.
20165 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
20166 Replace ../i486/pthread_cond_timedwait.S with
20167 ../pthread_cond_timedwait.S.
20168
20169 2015-09-30 Joseph Myers <joseph@codesourcery.com>
20170
20171 * math/libm-test.inc (acos_test_data): Refine expectations for
20172 errno and "inexact" exceptions.
20173 (acosh_test_data): Likewise.
20174 (asin_test_data): Likewise.
20175 (asinh_test_data): Likewise.
20176 (atan_test_data): Likewise.
20177 (atanh_test_data): Likewise.
20178 (atan2_test_data): Likewise.
20179 (cbrt_test_data): Likewise.
20180 (ceil_test_data): Likewise.
20181 (copysign_test_data): Likewise.
20182 (cosh_test_data): Likewise.
20183 (erf_test_data): Likewise.
20184 (erfc_test_data): Likewise.
20185 (exp_test_data): Likewise.
20186 (exp10_test_data): Likewise.
20187 (exp2_test_data): Likewise.
20188 (expm1_test_data): Likewise.
20189 (fabs_test_data): Likewise.
20190 (floor_test_data): Likewise.
20191 (fma_test_data): Likewise.
20192 (fmax_test_data): Likewise.
20193 (fmin_test_data): Likewise.
20194 (fmod_test_data): Likewise.
20195 (fpclassify_test_data): Likewise.
20196 (frexp_test_data): Likewise.
20197 (hypot_test_data): Likewise.
20198 (ilogb_test_data): Likewise.
20199 (isgreater_test_data): Likewise.
20200 (isgreaterequal_test_data): Likewise.
20201 (isinf_test_data): Likewise.
20202 (isless_test_data): Likewise.
20203 (islessequal_test_data): Likewise.
20204 (islessgreater_test_data): Likewise.
20205 (isnan_test_data): Likewise.
20206 (isnormal_test_data): Likewise.
20207 (issignaling_test_data): Likewise.
20208 (isunordered_test_data): Likewise.
20209 (j0_test_data): Likewise.
20210 (j1_test_data): Likewise.
20211 (jn_test_data): Likewise.
20212 (lgamma_test_data): Likewise.
20213 (lrint_test_data): Likewise.
20214 (llrint_test_data): Likewise.
20215 (log_test_data): Likewise.
20216 (log10_test_data): Likewise.
20217 (log1p_test_data): Likewise.
20218 (log2_test_data): Likewise.
20219 (logb_test_data): Likewise.
20220 (lround_test_data): Likewise.
20221 (llround_test_data): Likewise.
20222 (modf_test_data): Likewise.
20223 (nearbyint_test_data): Likewise.
20224 (nextafter_test_data): Likewise.
20225 (nexttoward_test_data): Likewise.
20226 (pow_test_data): Likewise.
20227 (remainder_test_data): Likewise.
20228 (remquo_test_data): Likewise.
20229 (rint_test_data): Likewise.
20230 (round_test_data): Likewise.
20231 (signbit_test_data): Likewise.
20232 (sinh_test_data): Likewise.
20233 (sqrt_test_data): Likewise.
20234 (tanh_test_data): Likewise.
20235 (tgamma_test_data): Likewise.
20236 (trunc_test_data): Likewise.
20237 (y0_test_data): Likewise.
20238 (y1_test_data): Likewise.
20239 (yn_test_data): Likewise.
20240 (significand_test_data): Likewise.
20241
20242 2015-09-29 Carlos O'Donell <carlos@redhat.com>
20243
20244 * manual/filesys.texi (Storage Allocation): Document that
20245 posix_fallocate emulation fails when fd is open with O_WRONLY.
20246
20247 2015-09-28 Joseph Myers <joseph@codesourcery.com>
20248
20249 [BZ #19016]
20250 * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
20251 allow more cases with X^2 + Y^2 >= 0.5.
20252 * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise. Add -1 as
20253 normal element in sum instead of special-casing based on values of
20254 arguments.
20255 * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
20256 * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise. Add
20257 -1 as normal element in sum instead of special-casing based on
20258 values of arguments.
20259 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
20260 * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
20261 (__x2y2m1): Update comment.
20262 * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise. Add -1
20263 as normal element in sum instead of special-casing based on values
20264 of arguments.
20265 * math/s_clog.c (__clog): Handle more cases using log1p without
20266 hypot.
20267 * math/s_clog10.c (__clog10): Likewise.
20268 * math/s_clog10f.c (__clog10f): Likewise.
20269 * math/s_clog10l.c (__clog10l): Likewise.
20270 * math/s_clogf.c (__clogf): Likewise.
20271 * math/s_clogl.c (__clogl): Likewise.
20272 * math/auto-libm-test-in: Add more tests of clog and clog10.
20273 * math/auto-libm-test-out: Regenerated.
20274 * sysdeps/i386/fpu/libm-test-ulps: Update.
20275 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20276
20277 2015-09-28 Martin Sebor <msebor@redhat.com>
20278
20279 [BZ #18969]
20280 * string/Makefile (LOCALES): Define.
20281 (gen-locales.mk): Include.
20282 (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
20283 (tst-strxfrm2.out): Add deppendency on $(gen-locales).
20284 * string/tst-strxfrm2.c (do_test): Print the name of the locale
20285 on setlocale failure.
20286
20287 2015-09-26 Paul Pluzhnikov <ppluzhnikov@google.com>
20288
20289 [BZ #18985]
20290 * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
20291 (__strftime_internal): Likewise.
20292 * time/tst-strftime.c (do_bz18985): New test.
20293 (do_test): Call it.
20294
20295 2015-09-26 Joseph Myers <joseph@codesourcery.com>
20296
20297 [BZ #18956]
20298 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
20299 not 0x0040000 for high bit of mantissa. Mask with 0xfffff000 when
20300 extracting high part.
20301 * math/auto-libm-test-in: Add another test of pow.
20302 * math/auto-libm-test-out: Regenerated.
20303 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
20304
20305 2015-09-25 Joseph Myers <joseph@codesourcery.com>
20306
20307 [BZ #18825]
20308 * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
20309 New macro.
20310 (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
20311 (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20312 * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
20313 (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
20314 DBL_NARROW_EVAL, reloading the PIC register as needed.
20315 * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
20316 (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
20317 FLT_NARROW_EVAL. Use separate return path for case when first
20318 argument is NaN.
20319 * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>. Use
20320 DEFINE_LDBL_MIN.
20321 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
20322 PIC register.
20323 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
20324 math_check_force_underflow_nonneg.
20325 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
20326 underflow for subnormal result.
20327 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
20328 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
20329 math_check_force_underflow_nonneg.
20330 * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
20331 math_check_force_underflow.
20332 * sysdeps/x86_64/fpu/x86_64-math-asm.h
20333 (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
20334 * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>. Use
20335 DEFINE_LDBL_MIN.
20336 (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
20337 * math/auto-libm-test-in: Add more tests of pow.
20338 * math/auto-libm-test-out: Regenerated.
20339
20340 2015-09-25 Florian Weimer <fweimer@redhat.com>
20341
20342 * nss/bug17079.c (init_test_items): Add diagnostic for
20343 inconsistent entries.
20344 (test_buffer_size): Skip inconsistent entries.
20345
20346 2015-09-25 Joseph Myers <joseph@codesourcery.com>
20347
20348 [BZ #13304]
20349 * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
20350 * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
20351 * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
20352
20353 [BZ #13304]
20354 * sysdeps/microblaze/s_fma.c: New file.
20355 * sysdeps/microblaze/s_fmaf.c: Likewise.
20356 * sysdeps/microblaze/sfp-machine.h: Likewise.
20357
20358 2015-09-25 Maciej W. Rozycki <macro@imgtec.com>
20359
20360 [BZ #17250]
20361 * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
20362 member.
20363
20364 2015-09-24 Joseph Myers <joseph@codesourcery.com>
20365
20366 [BZ #18803]
20367 * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
20368 (MO): New macro.
20369 (__ieee754_hypot) [PIC]: Load PIC register.
20370 (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
20371 DBL_NARROW_EVAL.
20372 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
20373 math_check_force_underflow_nonneg in case where result might be
20374 tiny.
20375 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
20376 Likewise.
20377 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
20378 Likewise.
20379 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
20380 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
20381 * math/auto-libm-test-in: Add more tests of hypot.
20382 * math/auto-libm-test-out: Regenerated.
20383
20384 2015-09-24 Steve Ellcey <sellcey@imgtec.com>
20385
20386 * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
20387
20388 2015-09-24 Joseph Myers <joseph@codesourcery.com>
20389
20390 * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
20391 * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
20392 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
20393 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
20394 * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
20395 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
20396 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
20397
20398 * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
20399 LOAD_PIC_REG.
20400
20401 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
20402 (FLT_CHECK_FORCE_UFLOW): Likewise.
20403 (DBL_CHECK_FORCE_UFLOW): Likewise.
20404 (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
20405 (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
20406 (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
20407 (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20408 (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
20409 (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20410 (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20411 (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
20412 * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
20413 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20414 (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
20415 * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
20416 (flt_min): Replace with use of DEFINE_FLT_MIN.
20417 (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
20418 * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
20419 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20420 (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
20421 * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
20422 (flt_min): Replace with use of DEFINE_FLT_MIN.
20423 (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
20424 * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
20425 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20426 (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
20427 * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
20428 (flt_min): Replace with use of DEFINE_FLT_MIN.
20429 (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
20430 * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
20431 (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
20432 (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
20433 * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
20434 [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
20435 (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
20436 * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
20437 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20438 (__atan): Use DBL_CHECK_FORCE_UFLOW.
20439 * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
20440 (flt_min): Replace with use of DEFINE_FLT_MIN.
20441 (__atanf): Use FLT_CHECK_FORCE_UFLOW.
20442 * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
20443 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20444 (__expm1): Use DBL_CHECK_FORCE_UFLOW. Move underflow check after
20445 main computation.
20446 * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
20447 (flt_min): Replace with use of DEFINE_FLT_MIN.
20448 (__expm1f): Use FLT_CHECK_FORCE_UFLOW. Move underflow check after
20449 main computation.
20450 * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
20451 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20452 (MO): New macro.
20453 (__log1p): Use MO. Use DBL_CHECK_FORCE_UFLOW_NONNAN.
20454 * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
20455 (flt_min): Replace with use of DEFINE_FLT_MIN.
20456 (MO): New macro.
20457 (__log1pf): Use MO. Use FLT_CHECK_FORCE_UFLOW_NONNAN.
20458 * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
20459 (__log1pl): Use MO.
20460
20461 [BZ #19003]
20462 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
20463 $(config-cflags-nofma).
20464
20465 2015-09-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
20466
20467 * sysdeps/aarch64/libm-test-ulps: Regenerated.
20468
20469 2015-09-23 Joseph Myers <joseph@codesourcery.com>
20470
20471 * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
20472 (TWO127): Likewise.
20473
20474 * sysdeps/generic/math_private.h (fabs_tg): New macro.
20475 (min_of_type): Likewise.
20476 (math_check_force_underflow): Likewise.
20477 (math_check_force_underflow_nonneg): Likewise.
20478 (math_check_force_underflow_complex): Likewise.
20479 * math/e_exp2l.c (__ieee754_exp2l): Use
20480 math_check_force_underflow_nonneg.
20481 * math/k_casinh.c (__kernel_casinh): Likewise.
20482 * math/k_casinhf.c (__kernel_casinhf): Likewise.
20483 * math/k_casinhl.c (__kernel_casinhl): Likewise.
20484 * math/s_catan.c (__catan): Use
20485 math_check_force_underflow_complex.
20486 * math/s_catanf.c (__catanf): Likewise.
20487 * math/s_catanh.c (__catanh): Likewise.
20488 * math/s_catanhf.c (__catanhf): Likewise.
20489 * math/s_catanhl.c (__catanhl): Likewise.
20490 * math/s_catanl.c (__catanl): Likewise.
20491 * math/s_ccosh.c (__ccosh): Likewise.
20492 * math/s_ccoshf.c (__ccoshf): Likewise.
20493 * math/s_ccoshl.c (__ccoshl): Likewise.
20494 * math/s_cexp.c (__cexp): Likewise.
20495 * math/s_cexpf.c (__cexpf): Likewise.
20496 * math/s_cexpl.c (__cexpl): Likewise.
20497 * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
20498 * math/s_clog10.c (__clog10): Likewise.
20499 * math/s_clog10f.c (__clog10f): Likewise.
20500 * math/s_clog10l.c (__clog10l): Likewise.
20501 * math/s_clogf.c (__clogf): Likewise.
20502 * math/s_clogl.c (__clogl): Likewise.
20503 * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
20504 * math/s_csinf.c (__csinf): Likewise.
20505 * math/s_csinh.c (__csinh): Likewise.
20506 * math/s_csinhf.c (__csinhf): Likewise.
20507 * math/s_csinhl.c (__csinhl): Likewise.
20508 * math/s_csinl.c (__csinl): Likewise.
20509 * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
20510 * math/s_csqrtf.c (__csqrtf): Likewise.
20511 * math/s_csqrtl.c (__csqrtl): Likewise.
20512 * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
20513 * math/s_ctanf.c (__ctanf): Likewise.
20514 * math/s_ctanh.c (__ctanh): Likewise.
20515 * math/s_ctanhf.c (__ctanhf): Likewise.
20516 * math/s_ctanhl.c (__ctanhl): Likewise.
20517 * math/s_ctanl.c (__ctanl): Likewise.
20518 * stdlib/strtod_l.c (round_and_return): Use math_force_eval
20519 instead of volatile.
20520 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
20521 math_check_force_underflow.
20522 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
20523 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
20524 volatile when forcing underflow.
20525 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
20526 math_check_force_underflow_nonneg.
20527 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
20528 Likewise.
20529 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
20530 math_check_force_underflow.
20531 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
20532 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20533 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
20534 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
20535 math_check_force_underflow_nonneg.
20536 * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
20537 math_check_force_underflow.
20538 * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
20539 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
20540 instead of volatile.
20541 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
20542 math_check_force_underflow.
20543 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
20544 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
20545 math_check_force_underflow_nonneg.
20546 * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
20547 math_check_force_underflow.
20548 * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
20549 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
20550 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
20551 math_check_force_underflow_nonneg.
20552 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
20553 Likewise.
20554 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
20555 math_check_force_underflow.
20556 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
20557 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20558 * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
20559 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
20560 * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
20561 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
20562 * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
20563 * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
20564 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
20565 * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
20566 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
20567 * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
20568 Likewise.
20569 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
20570 math_check_force_underflow_nonneg.
20571 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
20572 Likewise.
20573 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
20574 math_check_force_underflow.
20575 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
20576 * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
20577 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
20578 Likewise.
20579 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
20580 * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
20581 * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
20582 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
20583 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
20584 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
20585 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
20586 instead of volatile.
20587 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
20588 math_check_force_underflow.
20589 * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
20590 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
20591 math_check_force_underflow.
20592 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
20593 Likewise.
20594 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
20595 Use math_check_force_underflow_nonneg.
20596 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
20597 math_check_force_underflow.
20598 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
20599 Likewise.
20600 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
20601 Likewise.
20602 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
20603 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
20604 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
20605 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
20606 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
20607 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
20608 * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
20609 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
20610 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
20611 math_check_force_underflow_nonneg.
20612 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
20613 math_check_force_underflow.
20614 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
20615 * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
20616 * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
20617 * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
20618 math_check_force_underflow_nonneg.
20619 * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
20620 math_check_force_underflow.
20621 * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
20622 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
20623 instead of volatile.
20624 * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
20625 math_check_force_underflow.
20626
20627 * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
20628 * stdlib/strtod_l.c: Include <math_private.h>.
20629 (overflow_value): Use math_narrow_eval.
20630 (underflow_value): Likewise.
20631 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
20632 * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
20633 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
20634 (__ieee754_gamma_r): Likewise.
20635 * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
20636 Likewise.
20637 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
20638 Likewise.
20639 * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
20640 * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
20641 * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
20642 * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
20643 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
20644 (__ieee754_gammaf_r): Likewise.
20645 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
20646 Likewise.
20647 * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
20648 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
20649 * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
20650 * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
20651 * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
20652 volatile.
20653 * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
20654 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
20655 math_narrow_eval.
20656 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
20657 Likewise.
20658 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
20659 Likewise.
20660 * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
20661 Likewise.
20662 * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
20663 volatile.
20664 * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
20665 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
20666 math_narrow_eval.
20667 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
20668 Likewise.
20669 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
20670 Likewise.
20671
20672 2015-09-22 H.J. Lu <hongjiu.lu@intel.com>
20673
20674 * nptl/Versions: Remove ignored symbols.
20675
20676 2015-09-22 Florian Weimer <fweimer@redhat.com>
20677
20678 * nss/bug17079.c: Renamed from nss/bug18287.c. Add description.
20679 * nss/Makefile (tests): Update.
20680
20681 2015-09-22 Florian Weimer <fweimer@redhat.com>
20682
20683 * nss/bug18287.c: New file.
20684 * nss/Makefile (tests): Add bug18287.
20685
20686 2015-09-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
20687
20688 * mach/Versions (__mach_host_self_): Add symbol.
20689
20690 2015-09-21 Samuel Thibault <samuel.thibault@ens-lyon.org>
20691
20692 * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
20693 vm_page_size.
20694
20695 2015-09-19 Samuel Thibault <samuel.thibault@ens-lyon.org>
20696
20697 Really fix sysdeps/i386/fpu/s_scalbn.S build
20698
20699 * math/Versions (libc: GLIBC_2_20): New (empty) version set.
20700 (libc: GLIBC_2_22): Remove unused version set.
20701
20702 2015-09-18 Mike Frysinger <vapier@gentoo.org>
20703
20704 * config.make.in (enable-timezone-tools): New variable.
20705 * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
20706 (enable_timezone_tools): Export to generated files.
20707 * configure: Regenerate.
20708 * INSTALL: Regenerate.
20709 * manual/install.texi (--disable-timezone-tools): Document new flag.
20710 * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
20711 ifeq ($(enable-timezone-tools),yes) check.
20712
20713 2015-09-18 Joseph Myers <joseph@codesourcery.com>
20714
20715 * timezone/Makefile: Revert previous change.
20716
20717 [BZ #18980]
20718 * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
20719 (DEFINE_DBL_MIN): Likewise.
20720 (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20721 (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
20722 (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20723 (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
20724 * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
20725 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20726 (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20727 (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
20728 * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
20729 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20730 (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20731 * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
20732 (flt_min): Replace with use of DEFINE_FLT_MIN.
20733 (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20734 * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
20735 (dbl_min): Replace with use of DEFINE_DBL_MIN.
20736 (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
20737 * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
20738 (flt_min): Replace with use of DEFINE_FLT_MIN.
20739 (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20740 * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
20741 (flt_min): Replace with use of DEFINE_FLT_MIN.
20742 (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
20743 (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
20744 * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
20745 (__ieee754_hypot): Use DBL_NARROW_EVAL.
20746 * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
20747 (__ieee754_hypotf): Use FLT_NARROW_EVAL.
20748 * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
20749 (__ieee754_pow): Use DBL_NARROW_EVAL.
20750 * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
20751 (__ieee754_powf): Use FLT_NARROW_EVAL.
20752 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
20753 (__ieee754_expf_sse2): Convert double-precision result to single
20754 precision.
20755 * sysdeps/i386/fpu/libm-test-ulps: Update.
20756
20757 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20758
20759 * timezone/Makefile: Ignore unused variable errors due to private.h
20760 (time_t_min) and (time_t_max).
20761 * timezone/private.h (time_t_min): Revert removal. (time_t_max):
20762 Likewise.
20763
20764 2015-09-18 Joseph Myers <joseph@codesourcery.com>
20765
20766 [BZ #18981]
20767 * sysdeps/i386/fpu/i386-math-asm.h: New file.
20768 * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
20769 (__ieee754_scalb): Use DBL_NARROW_EVAL.
20770 * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
20771 (__ieee754_scalbf): Use FLT_NARROW_EVAL.
20772 * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
20773 (__scalbn): Use DBL_NARROW_EVAL.
20774 * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
20775 (__scalbnf): Use FLT_NARROW_EVAL.
20776
20777 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20778
20779 * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
20780 * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
20781 * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
20782 * stdio-common/printf_fp.c (___printf_fp):
20783 Use signbit to get the sign. Use isinf macro to allow inlining.
20784 * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
20785 * stdio-common/printf_size.c (__printf_size): Likewise.
20786
20787 2015-09-18 Mike Frysinger <vapier@gentoo.org>
20788
20789 * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
20790
20791 2015-09-18 Joseph Myers <joseph@codesourcery.com>
20792
20793 [BZ #18980]
20794 * sysdeps/generic/math_private.h: Include <float.h>.
20795 (math_narrow_eval): New macro.
20796 [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
20797 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
20798 math_narrow_eval on overflowing return value.
20799 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
20800 Likewise.
20801 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
20802 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
20803 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
20804 Likewise.
20805 * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
20806
20807 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20808
20809 * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
20810 * math/Makefile: Remove isinf_ns.c.
20811 * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
20812 * math/multc3.c (__multc3): Likewise.
20813 * math/s_casin.c (__casin): Likewise.
20814 * math/s_casinf.c (__casinf): Likewise.
20815 * math/s_casinl.c (__casinl): Likewise.
20816 * math/s_cproj.c (__cproj): Likewise.
20817 * math/s_cprojf.c (__cprojf): Likewise.
20818 * math/s_cprojl.c (__cprofl): Likewise.
20819 * math/s_ctan.c (__ctan): Likewise.
20820 * math/s_ctanf.c (__ctanf): Likewise.
20821 * math/s_ctanh.c (__ctanh): Likewise.
20822 * math/s_ctanhf.c (__ctanhf): Likewise.
20823 * math/s_ctanhl.c (__ctanhl): Likewise.
20824 * math/s_ctanl.c (__ctanl): Likewise.
20825 * math/w_fmod.c (__fmod): Likewise.
20826 * math/w_fmodf.c (__fmodf): Likewise.
20827 * math/w_fmodl.c (_fmodl): Likewise.
20828 * math/w_remainder.c (__remainder): Likewise.
20829 * math/w_remainderf.c (__remainderf): Likewise.
20830 * math/w_remainderl.c (__remainderl): Likewise.
20831 * math/w_scalb.c (__scalb): Likewise.
20832 * math/w_scalbf.c (__scalbf): Likewise.
20833 * math/w_scalbl.c (__scalbl): Likewise.
20834 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
20835 * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
20836 with isinf.
20837 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
20838 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
20839 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
20840 __isinf_nsf with isinf.
20841 * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
20842 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
20843 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
20844 * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
20845 with isinf.
20846 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
20847 __isinf_nsl with isinf.
20848 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
20849 with isinf.
20850 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
20851 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
20852 __isinf_nsl with isinf.
20853 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
20854 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
20855 with isinf.
20856
20857 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20858
20859 * resolv/base64.c (rcsid): Remove unused static.
20860 * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
20861 static. (tqpi1): Likewise.
20862 * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
20863 * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
20864 * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
20865 * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
20866 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
20867 * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
20868 * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
20869 * timezone/private.h (time_t_min): Likewise. (time_t_max):
20870 Likewise.
20871
20872 2015-09-18 H.J. Lu <hongjiu.lu@intel.com>
20873
20874 * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
20875 <nptl/pthreadP.h>.
20876 (_longjmp_unwind): Use __libc_ptf_call.
20877 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
20878
20879 2015-09-18 David Lamparter <equinox-gentoo@diac24.net>
20880
20881 * sysdeps/arm/setjmp.S: Change PIC to SHARED.
20882 * sysdeps/arm/__longjmp.S: Likewise.
20883
20884 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20885
20886 * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
20887 Use __builtin_signbit.
20888 * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
20889 Use __builtin_signbitf.
20890 * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
20891 Use __builtin_signbitl.
20892 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
20893 * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
20894
20895 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20896
20897 [BZ #15367]
20898 [BZ #17441]
20899
20900 * math/Makefile: Build test-snan.c with -fsignaling-nans.
20901 * math/math.h (fpclassify): Use __builtin_fpclassify when
20902 available. (signbit): Use __builtin_signbit(f/l).
20903 (isfinite): Use__builtin_isfinite. (isnormal): Use
20904 __builtin_isnormal. (isnan): Use __builtin_isnan.
20905 (isinf): Use __builtin_isinf_sign.
20906
20907 2015-09-18 Wilco Dijkstra <wdijkstr@arm.com>
20908
20909 * benchtests/Makefile: Add bench-math-inlines, link with libm.
20910 * benchtests/bench-math-inlines.c: New benchmark.
20911 * benchtests/bench-util.h: New file.
20912 * benchtests/bench-util.c: New file.
20913 * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
20914
20915 2015-09-18 Carlos O'Donell <carlos@redhat.com>
20916
20917 * elf/tst-dlmopen1.c: Define TEST_SO.
20918 (do_test): Use TEST_SO.
20919
20920 * elf/dl-load.c: Include libc-internal.h.
20921 (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
20922
20923 2015-09-18 Vincent Bernat <vincent@bernat.im>
20924
20925 [BZ #17887]
20926 * time/strptime_l.c (__strptime_internal): Make %z accept
20927 [+-]HH:MM time zones.
20928
20929 2015-09-18 Vincent Bernat <vincent@bernat.im>
20930
20931 [BZ #17886]
20932 * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
20933 valid time zone.
20934
20935 2015-09-17 Mike Frysinger <vapier@gentoo.org>
20936
20937 * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
20938 * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
20939 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20940 (__ASSUME_FDATASYNC): Delete.
20941
20942 2015-09-17 Joseph Myers <joseph@codesourcery.com>
20943
20944 * conform/linknamespace.pl: Require weak undefined symbols to be
20945 in the standard namespace.
20946 (%strong_syms): Rename to %seen_syms.
20947 (%strong_seen): Rename to %seen_where.
20948
20949 2015-09-17 H.J. Lu <hongjiu.lu@intel.com>
20950
20951 [BZ #18970]
20952 * misc/error.c (error): Replace pthread_setcancelstate with
20953 __pthread_setcancelstate.
20954 (error_at_line): Likewise.
20955 * posix/wordexp.c (parse_comm): Likewise.
20956 * stdlib/fmtmsg.c (fmtmsg): Likewise.
20957 * nptl/forward.c (pthread_setcancelstate): Renamed to ...
20958 (__pthread_setcancelstate): This.
20959 (pthread_setcancelstate): Add an alias.
20960 * nptl/nptl-init.c (pthread_functions): Replace
20961 ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
20962 * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
20963 * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
20964 hidden_proto.
20965 * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
20966 it with hidden_def.
20967 * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
20968 (pthread_setcancelstate): Renamed to ...
20969 (__pthread_setcancelstate): This.
20970 * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
20971 __libc_ptf_call with __pthread_setcancelstate.
20972
20973 2015-09-17 Joseph Myers <joseph@codesourcery.com>
20974 Andreas Schwab <schwab@suse.de>
20975
20976 [BZ #17118]
20977 * math/s_ctan.c (__ctan): Determine sign of zero real part of
20978 result when imaginary part of argument is infinite using sine and
20979 cosine.
20980 * math/s_ctanf.c (__ctanf): Likewise.
20981 * math/s_ctanl.c (__ctanl): Likewise.
20982 * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
20983 of result when real part of argument is infinite using sine and
20984 cosine.
20985 * math/s_ctanhf.c (__ctanhf): Likewise.
20986 * math/s_ctanhl.c (__ctanhl): Likewise.
20987 * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
20988 (ctanh_test_data): Add more tests of ctanh.
20989
20990 2015-09-17 Joseph Myers <joseph@codesourcery.com>
20991
20992 [BZ #15384]
20993 * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
20994 bit-mask as in subtraction.
20995 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
20996 Likewise.
20997 * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
20998 * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
20999 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
21000
21001 [BZ #18951]
21002 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
21003 underflow exception for small results.
21004 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
21005 Likewise.
21006 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
21007 Likewise.
21008 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
21009 Likewise.
21010 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
21011 Likewise.
21012 * math/auto-libm-test-in: Add more tests of tgamma.
21013 * math/auto-libm-test-out: Regenerated.
21014
21015 2015-09-17 Andreas Schwab <schwab@suse.de>
21016
21017 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
21018
21019 2015-09-16 Joseph Myers <joseph@codesourcery.com>
21020
21021 [BZ #18977]
21022 * math/bits/mathcalls.h
21023 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
21024 not declare.
21025 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
21026 Likewise.
21027 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
21028 Likewise.
21029 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
21030 Likewise.
21031 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
21032 Likewise.
21033 [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
21034 Likewise.
21035 * conform/data/math.h-data
21036 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
21037 function.
21038 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
21039 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
21040 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
21041 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
21042 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
21043 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
21044 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
21045 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
21046 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
21047 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
21048 [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
21049
21050 [BZ #6803]
21051 * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
21052 [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
21053 * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
21054 * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
21055 * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
21056 * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
21057 * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
21058 * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
21059 [NO_LONG_DOUBLE] (scalbnl): Likewise.
21060 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
21061 Likewise.
21062 [NO_LONG_DOUBLE] (scalbnl): Likewise.
21063 * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
21064 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
21065 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
21066 long_double_symbol calls.
21067 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
21068 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
21069 strong alias of __ldexpl.
21070 (scalbnl): Define using long_double_symbol.
21071 * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
21072 Remove alias.
21073 * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
21074 * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
21075 * math/libm-test.inc (scalbn_test_data): Add errno expectations.
21076 (scalbln_test_data): Add more errno expectations.
21077
21078 2015-09-16 Justus Winter <4winter@informatik.uni-hamburg.de>
21079
21080 Cache the host port like we cache the task port. This way we do not
21081 need to call the kernel just to get the port. Furthermore, we no
21082 longer increase the reference count on every invocation of
21083 `mach_host_self'.
21084
21085 * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
21086 Protect declarations against the macro expansion.
21087 * mach/mach_init.c (__mach_host_self_): New variable.
21088 (mach_init): Initialize `__mach_host_self_'.
21089 * mach/mach_init.h (__mach_host_self_): New declaration.
21090 (__mach_host_self, mach_host_self): New macros.
21091 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
21092 Release reference.
21093
21094 2015-09-16 Joseph Myers <joseph@codesourcery.com>
21095
21096 [BZ #4404]
21097 * po/de.po: Update from Translation Project.
21098
21099 [BZ #16415]
21100 * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
21101 (__expm1l): Remove code to handle positive infinity and overflow.
21102 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
21103 variable.
21104 (__expm1l): Remove code to handle positive infinity and overflow.
21105
21106 2015-09-16 Paul Eggert <eggert@cs.ucla.edu>
21107 Paul Pluzhnikov <ppluzhnikov@google.com>
21108
21109 [BZ #18872]
21110 * stdio-common/Makefile (tst-printf-bz18872): New test.
21111 (tst-printf-bz18872-mem.out): Likewise.
21112 * stdio-common/tst-printf-bz18872.sh: Generate new test.
21113 * stdio-common/vfprintf.c: Fix memory leaks.
21114
21115 2015-09-16 Andreas Schwab <schwab@suse.de>
21116
21117 [BZ #17244]
21118 * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
21119 Remove extra va_start/va_end calls.
21120
21121 [BZ #17243]
21122 * posix/execl.c (execl): Add missing va_end.
21123 * posix/execle.c (execle): Likewise.
21124 * posix/execlp.c (execlp): Likewise.
21125
21126 2015-09-15 Roland McGrath <roland@hack.frob.com>
21127
21128 * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
21129 (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
21130
21131 2015-09-15 Joseph Myers <joseph@codesourcery.com>
21132
21133 [BZ #18967]
21134 * math/math.h (__MATH_DECLARING_DOUBLE): New macro. Define and
21135 undefine around includes of <bits/mathcalls.h>.
21136 * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
21137 not declare function.
21138 [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
21139 [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
21140 (scalb): Likewise.
21141 * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
21142 not define macro.
21143 * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
21144 variable.
21145 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
21146 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
21147 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
21148
21149 [BZ #18857]
21150 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
21151 return non-finite argument without doing ordered comparisons on
21152 it.
21153
21154 [BZ #16296]
21155 * math/fenv.h (fegetround): Use __attribute_pure__.
21156 * include/fenv.h (__fegetround): Likewise.
21157
21158 [BZ #18595]
21159 * math/s_ctan.c (__ctan): Force underflow exception for results
21160 whose real or imaginary part has small absolute value.
21161 * math/s_ctanf.c (__ctanf): Likewise.
21162 * math/s_ctanh.c (__ctanh): Likewise.
21163 * math/s_ctanhf.c (__ctanhf): Likewise.
21164 * math/s_ctanhl.c (__ctanhl): Likewise.
21165 * math/s_ctanl.c (__ctanl): Likewise.
21166 * math/auto-libm-test-in: Do not allow missing underflow for ctan
21167 and ctanh. Add more tests of ctan and ctanh.
21168
21169 [BZ #15918]
21170 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
21171 handling of cases where one argument is an infinity.
21172
21173 [BZ #18875]
21174 [BZ #18966]
21175 * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
21176 (MO): New macro.
21177 (__ieee754_exp10): For small results, force underflow exception
21178 and remove excess range and precision from return value.
21179 * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
21180 (MO): New macro.
21181 (__ieee754_exp10f): For small results, force underflow exception
21182 and remove excess range and precision from return value.
21183 * math/auto-libm-test-in: Add more tests of exp10.
21184 * math/auto-libm-test-out: Regenerated.
21185
21186 2015-09-14 Joseph Myers <joseph@codesourcery.com>
21187
21188 [BZ #18875]
21189 [BZ #18961]
21190 * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
21191 (MO): New macro.
21192 (__ieee754_exp): For small results, force underflow exception and
21193 remove excess range and precision from return value.
21194 (__exp_finite): Likewise.
21195 * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
21196 (MO): New macro.
21197 (__ieee754_expf): For small results, force underflow exception and
21198 remove excess range and precision from return value.
21199 (__expf_finite): Likewise.
21200 * math/auto-libm-test-in: Add more tests of exp.
21201 * math/auto-libm-test-out: Regenerated.
21202
21203 [BZ #16521]
21204 [BZ #18875]
21205 * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
21206 small results.
21207 * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
21208 (MO): New macro.
21209 (__ieee754_exp2): For small results, force underflow exception and
21210 remove excess range and precision from return value.
21211 * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
21212 (MO): New macro.
21213 (__ieee754_exp2f): For small results, force underflow exception
21214 and remove excess range and precision from return value.
21215 * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
21216 (MO): New macro.
21217 (__ieee754_exp2l): Force underflow exception for small results.
21218 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
21219 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
21220 * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
21221 (MO): New macro.
21222 (__ieee754_exp2l): Force underflow exception for small results.
21223 * math/auto-libm-test-in: Add more tests or exp2.
21224 * math/auto-libm-test-out: Regenerated.
21225
21226 2015-09-14 Carlos O'Donell <carlos@redhat.com>
21227
21228 * malloc/malloc.c (systrim): Use ALIGN_DOWN.
21229
21230 * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
21231 /dev/null.
21232
21233 2015-09-13 Samuel Thibault <samuel.thibault@ens-lyon.org>
21234
21235 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21236 io fs process)): Drop spurious backslash.
21237
21238 2015-09-12 Rasmus Villemoes <rv@rasmusvillemoes.dk>
21239
21240 * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
21241 Use sysinfo system call instead of parsing /proc/meminfo.
21242 * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
21243 Likewise.
21244
21245 2015-09-11 Mike Frysinger <vapier@gentoo.org>
21246
21247 [BZ #16985]
21248 * programs/localedef.c (main): Display argv[remaining] when
21249 output_path is NULL.
21250
21251 2015-09-11 Joseph Myers <joseph@codesourcery.com>
21252
21253 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
21254 asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
21255 exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
21256 tanh.
21257 * math/auto-libm-test-out: Regenerated.
21258 * sysdeps/i386/fpu/libm-test-ulps: Update.
21259 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21260 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21261 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21262
21263 2015-09-11 Roland McGrath <roland@hack.frob.com>
21264
21265 * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
21266 Use 'override' keyword to freeze the value here, preventing
21267 the addition of sys/mtio.h by sysdeps/gnu/Makefile.
21268
21269 2015-09-11 Joseph Myers <joseph@codesourcery.com>
21270
21271 [BZ #14912]
21272 * sysdeps/aarch64/bits/atomic.h: Move to ...
21273 * sysdeps/aarch64/atomic-machine.h: ...here.
21274 (_AARCH64_BITS_ATOMIC_H): Rename macro to
21275 _AARCH64_ATOMIC_MACHINE_H.
21276 * sysdeps/alpha/bits/atomic.h: Move to ...
21277 * sysdeps/alpha/atomic-machine.h: ...here.
21278 * sysdeps/arm/bits/atomic.h: Move to ...
21279 * sysdeps/arm/atomic-machine.h: ...here. Update comments.
21280 * bits/atomic.h: Move to ...
21281 * sysdeps/generic/atomic-machine.h: ...here.
21282 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21283 * sysdeps/i386/bits/atomic.h: Move to ...
21284 * sysdeps/i386/atomic-machine.h: ...here.
21285 * sysdeps/ia64/bits/atomic.h: Move to ...
21286 * sysdeps/ia64/atomic-machine.h: ...here.
21287 * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
21288 * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
21289 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21290 * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
21291 * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
21292 * sysdeps/microblaze/bits/atomic.h: Move to ...
21293 * sysdeps/microblaze/atomic-machine.h: ...here.
21294 * sysdeps/mips/bits/atomic.h: Move to ...
21295 * sysdeps/mips/atomic-machine.h: ...here.
21296 (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
21297 * sysdeps/powerpc/bits/atomic.h: Move to ...
21298 * sysdeps/powerpc/atomic-machine.h: ...here. Update comments.
21299 * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
21300 * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here. Update
21301 comments. Include <atomic-machine.h> instead of <bits/atomic.h>.
21302 * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
21303 * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here. Include
21304 <atomic-machine.h> instead of <bits/atomic.h>.
21305 * sysdeps/s390/bits/atomic.h: Move to ...
21306 * sysdeps/s390/atomic-machine.h: ...here.
21307 * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
21308 * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
21309 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21310 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
21311 * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
21312 * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
21313 * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
21314 * sysdeps/tile/bits/atomic.h: Move to ...
21315 * sysdeps/tile/atomic-machine.h: ...here.
21316 * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
21317 * sysdeps/tile/tilegx/atomic-machine.h: ...here. Include
21318 <sysdeps/tile/atomic-machine.h> instead of
21319 <sysdeps/tile/bits/atomic.h>.
21320 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21321 * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
21322 * sysdeps/tile/tilepro/atomic-machine.h: ...here. Include
21323 <sysdeps/tile/atomic-machine.h> instead of
21324 <sysdeps/tile/bits/atomic.h>.
21325 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21326 * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
21327 * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here. Include
21328 <sysdeps/arm/atomic-machine.h> instead of
21329 <sysdeps/arm/bits/atomic.h>.
21330 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
21331 * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
21332 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21333 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
21334 * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
21335 (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
21336 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
21337 * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
21338 (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
21339 * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
21340 * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
21341 * sysdeps/x86_64/bits/atomic.h: Move to ...
21342 * sysdeps/x86_64/atomic-machine.h: ...here.
21343 * include/atomic.h: Include <atomic-machine.h> instead of
21344 <bits/atomic.h>.
21345
21346 * sysdeps/mips/mips32/libm-test-ulps: Update.
21347 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21348
21349 [BZ #18952]
21350 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
21351 not convert non-integer negative arguments to int to determine the
21352 value of signgam.
21353 * math/auto-libm-test-in: Add more tests of lgamma.
21354 * math/auto-libm-test-out: Regenerated.
21355
21356 * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
21357 cosh, csqrt, erfc, expm1 and lgamma.
21358 * math/auto-libm-test-out: Regenerated.
21359 * sysdeps/i386/fpu/libm-test-ulps: Update.
21360 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21361
21362 2015-09-10 Joseph Myers <joseph@codesourcery.com>
21363
21364 [BZ #2542]
21365 [BZ #2543]
21366 [BZ #2558]
21367 * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
21368 __lgamma_neg for arguments from -28.0 to -2.0.
21369 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
21370 __lgamma_negf for arguments from -15.0 to -2.0.
21371 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
21372 Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
21373 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
21374 Call __lgamma_negl for arguments from -33.0 to -2.0.
21375 * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
21376 * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
21377 * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
21378 * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
21379 * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
21380 * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
21381 * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
21382 * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
21383 * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
21384 * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
21385 * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
21386 * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
21387 (__lgamma_neg): Likewise.
21388 (__lgamma_negl): Likewise.
21389 (__lgamma_product): Likewise.
21390 (__lgamma_productl): Likewise.
21391 * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
21392 * math/auto-libm-test-in: Add more tests of lgamma.
21393 * math/auto-libm-test-out: Regenerated.
21394 * sysdeps/i386/fpu/libm-test-ulps: Update.
21395 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
21396
21397 2015-09-09 Justin Maggard <jmaggard@netgear.com>
21398
21399 [BZ #18675]
21400 * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
21401
21402 2015-09-08 Joseph Myers <joseph@codesourcery.com>
21403
21404 [BZ #14912]
21405 * bits/libc-lock.h: Move to ...
21406 * sysdeps/generic/libc-lock.h: ...here.
21407 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21408 * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
21409 * sysdeps/mach/hurd/libc-lock.h: ...here.
21410 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21411 [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
21412 * sysdeps/mach/bits/libc-lock.h: Move to ...
21413 * sysdeps/mach/libc-lock.h: ...here.
21414 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21415 * sysdeps/nptl/bits/libc-lock.h: Move to ...
21416 * sysdeps/nptl/libc-lock.h: ...here.
21417 (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
21418 * sysdeps/nptl/bits/libc-lockP.h: Move to ...
21419 * sysdeps/nptl/libc-lockP.h: ...here.
21420 (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
21421 * crypt/crypt_util.c: Include <libc-lock.h> instead of
21422 <bits/libc-lock.h>.
21423 * dirent/scandir-tail.c: Likewise.
21424 * dlfcn/dlerror.c: Likewise.
21425 * elf/dl-close.c: Likewise.
21426 * elf/dl-iteratephdr.c: Likewise.
21427 * elf/dl-lookup.c: Likewise.
21428 * elf/dl-open.c: Likewise.
21429 * elf/dl-support.c: Likewise.
21430 * elf/dl-writev.h: Likewise.
21431 * elf/rtld.c: Likewise.
21432 * grp/fgetgrent.c: Likewise.
21433 * gshadow/fgetsgent.c: Likewise.
21434 * gshadow/sgetsgent.c: Likewise.
21435 * iconv/gconv_conf.c: Likewise.
21436 * iconv/gconv_db.c: Likewise.
21437 * iconv/gconv_dl.c: Likewise.
21438 * iconv/gconv_int.h: Likewise.
21439 * iconv/gconv_trans.c: Likewise.
21440 * include/link.h: Likewise.
21441 * inet/getnameinfo.c: Likewise.
21442 * inet/getnetgrent.c: Likewise.
21443 * inet/getnetgrent_r.c: Likewise.
21444 * intl/bindtextdom.c: Likewise.
21445 * intl/dcigettext.c: Likewise.
21446 * intl/finddomain.c: Likewise.
21447 * intl/gettextP.h: Likewise.
21448 * intl/loadmsgcat.c: Likewise.
21449 * intl/localealias.c: Likewise.
21450 * intl/textdomain.c: Likewise.
21451 * libidn/idn-stub.c: Likewise.
21452 * libio/libioP.h: Likewise.
21453 * locale/duplocale.c: Likewise.
21454 * locale/freelocale.c: Likewise.
21455 * locale/newlocale.c: Likewise.
21456 * locale/setlocale.c: Likewise.
21457 * login/getutent_r.c: Likewise.
21458 * login/getutid_r.c: Likewise.
21459 * login/getutline_r.c: Likewise.
21460 * login/utmp-private.h: Likewise.
21461 * login/utmpname.c: Likewise.
21462 * malloc/mtrace.c: Likewise.
21463 * misc/efgcvt.c: Likewise.
21464 * misc/error.c: Likewise.
21465 * misc/fstab.c: Likewise.
21466 * misc/getpass.c: Likewise.
21467 * misc/mntent.c: Likewise.
21468 * misc/syslog.c: Likewise.
21469 * nis/nis_call.c: Likewise.
21470 * nis/nis_callback.c: Likewise.
21471 * nis/nss-default.c: Likewise.
21472 * nis/nss_compat/compat-grp.c: Likewise.
21473 * nis/nss_compat/compat-initgroups.c: Likewise.
21474 * nis/nss_compat/compat-pwd.c: Likewise.
21475 * nis/nss_compat/compat-spwd.c: Likewise.
21476 * nis/nss_nis/nis-alias.c: Likewise.
21477 * nis/nss_nis/nis-ethers.c: Likewise.
21478 * nis/nss_nis/nis-grp.c: Likewise.
21479 * nis/nss_nis/nis-hosts.c: Likewise.
21480 * nis/nss_nis/nis-network.c: Likewise.
21481 * nis/nss_nis/nis-proto.c: Likewise.
21482 * nis/nss_nis/nis-pwd.c: Likewise.
21483 * nis/nss_nis/nis-rpc.c: Likewise.
21484 * nis/nss_nis/nis-service.c: Likewise.
21485 * nis/nss_nis/nis-spwd.c: Likewise.
21486 * nis/nss_nisplus/nisplus-alias.c: Likewise.
21487 * nis/nss_nisplus/nisplus-ethers.c: Likewise.
21488 * nis/nss_nisplus/nisplus-grp.c: Likewise.
21489 * nis/nss_nisplus/nisplus-hosts.c: Likewise.
21490 * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
21491 * nis/nss_nisplus/nisplus-network.c: Likewise.
21492 * nis/nss_nisplus/nisplus-proto.c: Likewise.
21493 * nis/nss_nisplus/nisplus-pwd.c: Likewise.
21494 * nis/nss_nisplus/nisplus-rpc.c: Likewise.
21495 * nis/nss_nisplus/nisplus-service.c: Likewise.
21496 * nis/nss_nisplus/nisplus-spwd.c: Likewise.
21497 * nis/ypclnt.c: Likewise.
21498 * nptl/libc_pthread_init.c: Likewise.
21499 * nss/getXXbyYY.c: Likewise.
21500 * nss/getXXent.c: Likewise.
21501 * nss/getXXent_r.c: Likewise.
21502 * nss/nss_db/db-XXX.c: Likewise.
21503 * nss/nss_db/db-netgrp.c: Likewise.
21504 * nss/nss_db/nss_db.h: Likewise.
21505 * nss/nss_files/files-XXX.c: Likewise.
21506 * nss/nss_files/files-alias.c: Likewise.
21507 * nss/nsswitch.c: Likewise.
21508 * posix/regex_internal.h: Likewise.
21509 * posix/wordexp.c: Likewise.
21510 * pwd/fgetpwent.c: Likewise.
21511 * resolv/res_hconf.c: Likewise.
21512 * resolv/res_libc.c: Likewise.
21513 * shadow/fgetspent.c: Likewise.
21514 * shadow/lckpwdf.c: Likewise.
21515 * shadow/sgetspent.c: Likewise.
21516 * socket/opensock.c: Likewise.
21517 * stdio-common/reg-modifier.c: Likewise.
21518 * stdio-common/reg-printf.c: Likewise.
21519 * stdio-common/reg-type.c: Likewise.
21520 * stdio-common/vfprintf.c: Likewise.
21521 * stdio-common/vfscanf.c: Likewise.
21522 * stdlib/abort.c: Likewise.
21523 * stdlib/cxa_atexit.c: Likewise.
21524 * stdlib/fmtmsg.c: Likewise.
21525 * stdlib/random.c: Likewise.
21526 * stdlib/setenv.c: Likewise.
21527 * string/strsignal.c: Likewise.
21528 * sunrpc/auth_none.c: Likewise.
21529 * sunrpc/bindrsvprt.c: Likewise.
21530 * sunrpc/create_xid.c: Likewise.
21531 * sunrpc/key_call.c: Likewise.
21532 * sunrpc/rpc_thread.c: Likewise.
21533 * sysdeps/arm/backtrace.c: Likewise.
21534 * sysdeps/generic/ldsodefs.h: Likewise.
21535 * sysdeps/generic/stdio-lock.h: Likewise.
21536 * sysdeps/generic/unwind-dw2-fde.c: Likewise.
21537 * sysdeps/i386/backtrace.c: Likewise.
21538 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
21539 * sysdeps/m68k/backtrace.c: Likewise.
21540 * sysdeps/mach/hurd/cthreads.c: Likewise.
21541 * sysdeps/mach/hurd/dirstream.h: Likewise.
21542 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21543 * sysdeps/nptl/malloc-machine.h: Likewise.
21544 * sysdeps/nptl/stdio-lock.h: Likewise.
21545 * sysdeps/posix/dirstream.h: Likewise.
21546 * sysdeps/posix/getaddrinfo.c: Likewise.
21547 * sysdeps/posix/system.c: Likewise.
21548 * sysdeps/pthread/aio_suspend.c: Likewise.
21549 * sysdeps/s390/s390-32/backtrace.c: Likewise.
21550 * sysdeps/s390/s390-64/backtrace.c: Likewise.
21551 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
21552 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
21553 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
21554 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
21555 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
21556 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
21557 * sysdeps/unix/sysv/linux/system.c: Likewise.
21558 * sysdeps/x86_64/backtrace.c: Likewise.
21559 * time/alt_digit.c: Likewise.
21560 * time/era.c: Likewise.
21561 * time/tzset.c: Likewise.
21562 * wcsmbs/wcsmbsload.c: Likewise.
21563 * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
21564 instead of <bits/libc-lock.h> in comment.
21565
21566 2015-09-08 Andrew Bennett <andrew.bennett@imgtec.com>
21567
21568 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
21569 Only use .set mips2 if the current ISA is below mips2.
21570 * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
21571 Likewise.
21572 * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
21573 mips32r2 if the current ISA is below mips32r2.
21574 * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
21575 (TLS_IE): Updated to use the TLD_RDHWR macro.
21576 (TLS_LE): Likewise.
21577 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
21578 __ASSEMBLER__ condition.
21579
21580 2015-09-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
21581
21582 Fix parallel build of before-compile targets.
21583
21584 * sysdeps/mach/Makefile ($(patsubst
21585 mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
21586 mach-before-compile target.
21587 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21588 io fs process)): Move rule to dedicated hurd-before-compile target.
21589
21590 2015-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
21591
21592 Fix rules generating headers in hurd/ and mach/ when initial make call
21593 has subdir= explicitly set.
21594
21595 * sysdeps/mach/Makefile ($(patsubst
21596 mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
21597 calling $(MAKE).
21598 * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
21599 io fs process)): Force subdir to hurd when calling $(MAKE).
21600 ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
21601 subdir to mach when calling $(MAKE).
21602
21603 2015-09-06 Manolis Ragkousis <manolis837@gmail.com>
21604
21605 Check sysheaders when looking for Mach and Hurd headers
21606
21607 * sysdeps/mach/configure.ac: Add sysheaders check.
21608 * sysdeps/mach/configure: Regenerate.
21609 * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
21610 * sysdeps/mach/hurd/configure: Regenerate.
21611
21612 2015-09-04 Roland McGrath <roland@hack.frob.com>
21613
21614 [BZ #18921]
21615 * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
21616 Fix inverted sense of test of 'o_directory_works' value.
21617 Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
21618 Bernhard Voelker <mail@bernhard-voelker.de>.
21619
21620 2015-09-04 Joseph Myers <joseph@codesourcery.com>
21621
21622 [BZ #14912]
21623 * bits/linkmap.h: Move to ...
21624 * sysdeps/generic/linkmap.h: ...here.
21625 * sysdeps/aarch64/bits/linkmap.h: Move to ...
21626 * sysdeps/aarch64/linkmap.h: ...here.
21627 * sysdeps/arm/bits/linkmap.h: Move to ...
21628 * sysdeps/arm/linkmap.h: ...here.
21629 * sysdeps/hppa/bits/linkmap.h: Move to ...
21630 * sysdeps/hppa/linkmap.h: ...here.
21631 * sysdeps/ia64/bits/linkmap.h: Move to ...
21632 * sysdeps/ia64/linkmap.h: ...here.
21633 * sysdeps/mips/bits/linkmap.h: Move to ...
21634 * sysdeps/mips/linkmap.h: ...here.
21635 * sysdeps/s390/bits/linkmap.h: Move to ...
21636 * sysdeps/s390/linkmap.h: ...here.
21637 * sysdeps/sh/bits/linkmap.h: Move to ...
21638 * sysdeps/sh/linkmap.h: ...here.
21639 * sysdeps/x86/bits/linkmap.h: Move to ...
21640 * sysdeps/x86/linkmap.h: ...here.
21641 * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
21642
21643 2015-09-04 Andreas Schwab <schwab@suse.de>
21644
21645 [BZ #18635]
21646 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
21647 (__makecontext): Terminate FDE before return label.
21648 (__novec_makecontext): Likewise.
21649
21650 2015-09-04 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21651
21652 * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
21653 first member of struct sv in syscall macro.
21654
21655 2015-09-04 Joseph Myers <joseph@codesourcery.com>
21656
21657 [BZ #14912]
21658 * bits/stdio-lock.h: Move to ...
21659 * sysdeps/generic/stdio-lock.h: ...here.
21660 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21661 * sysdeps/nptl/bits/stdio-lock.h: Move to ...
21662 * sysdeps/nptl/stdio-lock.h: ...here.
21663 (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
21664 * include/libio.h: Include <stdio-lock.h> instead of
21665 <bits/stdio-lock.h>.
21666 * sysdeps/nptl/fork.c: Likewise.
21667 * sysdeps/pthread/flockfile.c: Likewise.
21668 * sysdeps/pthread/ftrylockfile.c: Likewise.
21669 * sysdeps/pthread/funlockfile.c: Likewise.
21670
21671 [BZ #14912]
21672 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
21673 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
21674 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
21675 <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
21676 * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
21677 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
21678 * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
21679
21680 2015-09-03 Roland McGrath <roland@hack.frob.com>
21681
21682 * elf/Makefile (test-xfail-tst-protected1a): New variable.
21683 (test-xfail-tst-protected1b): New variable.
21684
21685 2015-09-03 Joseph Myers <joseph@codesourcery.com>
21686
21687 [BZ #14912]
21688 * bits/libc-tsd.h: Move to ...
21689 * sysdeps/generic/libc-tsd.h: ...here.
21690 (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
21691 * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
21692 * sysdeps/mach/hurd/libc-tsd.h: ...here.
21693 (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
21694 * include/ctype.h: Include <libc-tsd.h> instead of
21695 <bits/libc-tsd.h>.
21696 * include/rpc/rpc.h: Likewise.
21697 * locale/localeinfo.h: Likewise.
21698 * sunrpc/rpc_thread.c: Likewise.
21699 * sysdeps/mach/hurd/malloc-machine.h: Likewise.
21700 * sysdeps/nptl/malloc-machine.h: Likewise.
21701
21702 * Makefile (headers): Remove bits/libc-lock.h.
21703 * libio/Makefile (headers): Remove bits/stdio-lock.h.
21704
21705 * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
21706 <bits/stdio-lock.h> and commented-out include of <comthread.h>.
21707 * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
21708 <bits/stdio-lock.h>.
21709 * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
21710 * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
21711
21712 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
21713
21714 [BZ #18757]
21715 * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
21716 * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
21717 BZ #18757.
21718
21719 2015-09-01 Paul Pluzhnikov <ppluzhnikov@google.com>
21720
21721 * malloc/mtrace.pl: Filter out NULL entries.
21722
21723 2015-09-01 Joseph Myers <joseph@codesourcery.com>
21724
21725 * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
21726 * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
21727 macro.
21728
21729 * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
21730 (TCP_CC_INFO): Likewise.
21731 (TCP_SAVE_SYN): Likewise.
21732 (TCP_SAVED_SYN): Likewise.
21733
21734 2015-08-31 Brett Neumeier <brett@neumeier.us>
21735
21736 [BZ #18870]
21737 * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
21738
21739 2015-08-31 Paul Eggert <eggert@cs.ucla.edu>
21740
21741 [BZ #18873]
21742 Fix broken overflow check in posix_fallocate
21743 * sysdeps/posix/posix_fallocate.c (posix_fallocate):
21744 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
21745 Fix parenthesization typo.
21746
21747 2015-08-28 Mike Frysinger <vapier@gentoo.org>
21748
21749 [BZ #18887]
21750 * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
21751 tst-mntent-blank-passno.
21752 * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
21753 * misc/tst-mntent-blank-corrupt.c: New test.
21754 * misc/tst-mntent-blank-passno.c: New test ripped from ...
21755 * misc/tst-mntent.c (do_test): ... here.
21756
21757 2015-08-29 Mike Frysinger <vapier@gentoo.org>
21758
21759 [BZ #4404]
21760 * po/de.po: Fix SIGALRM typo.
21761
21762 2015-08-28 James Perkins <james@loowit.net>
21763
21764 * time/tst-strptime2.c (tests): Replace short list of test
21765 strings for strptime %z specifier with code which exhaustively
21766 tests every combination of sign and 0 to 5 digits. Tests for
21767 rejection of invalid strings.
21768
21769 2015-08-28 James Perkins <james@loowit.net>
21770
21771 [BZ #16141]
21772 * time/strptime_l.c (__strptime_internal): Fix %z minutes
21773 calculation, removing incorrect decimal time rounding, so that
21774 all minute values result in a valid seconds value.
21775 * time/strptime_l.c (__strptime_internal): Extend %z time zone
21776 offset range limits to UTC-99:59 through UTC+99:59 to parse
21777 current and historical use cases.
21778 * time/tst-strptime2.c (tests): Modify and add tests for the
21779 strptime %z input field descriptor, specifically conversion of
21780 minutes to seconds and validating an offset range of -9959 to
21781 +9959.
21782
21783 2015-08-27 Adhemerval Zanella <adhemerval.zanella@linaro.org>
21784 Dmitry V. Levin <ldv@altlinux.org>
21785
21786 [BZ #18877]
21787 * posix/Makefile (tests): Add tst-mmap-offset.
21788 * posix/tst-mmap.c: New file.
21789 * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
21790 offset calculation for negative values.
21791
21792 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21793
21794 * sysdeps/i386/init-arch.h: New file.
21795 * sysdeps/i386/i586/init-arch.h: Likewise.
21796 * sysdeps/i386/i686/init-arch.h: Likewise.
21797 * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
21798 bit if CX8 is available. Set bit_I686 bit if CMOV is available.
21799 * sysdeps/x86/cpu-features.h (bit_I586): New.
21800 (bit_I686): Likewise.
21801 (bit_CX8): Likewise.
21802 (bit_CMOV): Likewise.
21803 (index_CX8): Likewise.
21804 (index_CMOV): Likewise.
21805 (index_I586): Likewise.
21806 (index_I686): Likewise.
21807 (reg_CX8): Likewise.
21808 (reg_CMOV): Likewise.
21809 (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
21810 available at compile-time.
21811 (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
21812 available at compile-time.
21813 * sysdeps/x86/init-arch.h (USE_I586): New macro.
21814 (USE_I686): Likewise.
21815
21816 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21817
21818 * sysdeps/i386/bcopy.S: New file.
21819 * sysdeps/i386/bzero.S: Likewise.
21820 * sysdeps/i386/memcpy.S: Likewise.
21821 * sysdeps/i386/memmove.S: Likewise.
21822 * sysdeps/i386/mempcpy.S: Likewise.
21823 * sysdeps/i386/memset.S: Likewise.
21824 * sysdeps/i386/bzero.c: Removed.
21825 * sysdeps/i386/memset.c: Likewise.
21826 * sysdeps/i386/i586/memcpy_chk.S: Likewise.
21827 * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
21828 * sysdeps/i386/i586/memset_chk.S: Likewise.
21829 * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
21830 * sysdeps/i386/memcpy_chk.S: Here.
21831 * sysdeps/i386/i686/memmove_chk.S: Moved to ...
21832 * sysdeps/i386/memmove_chk.S: Here.
21833 * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
21834 * sysdeps/i386/mempcpy_chk.S: Likewise.
21835 * sysdeps/i386/i686/memset_chk.S: Moved to ...
21836 * sysdeps/i386/memset_chk.S: Likewise.
21837
21838 2015-08-27 Steve Ellcey <sellcey@imgtec.com>
21839
21840 * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
21841 Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
21842 file, move DIAG_POP_NEEDS_COMMENT to end of file.
21843 * soft-fp/fmadf4.c: Ditto.
21844 * soft-fp/fmatf4.c: Ditto.
21845
21846 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21847
21848 * sysdeps/i386/i586/Implies: Removed.
21849 * sysdeps/i386/i686/Implies: Likewise.
21850
21851 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21852
21853 * sysdeps/i386/i486/strlen.S: Moved to ...
21854 * sysdeps/i386/strlen.S: Here.
21855
21856 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21857
21858 * sysdeps/i386/i486/strcat.S: Moved to ...
21859 * sysdeps/i386/strcat.S: Here.
21860
21861 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21862
21863 * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
21864 * sysdeps/i386/pthread_spin_trylock.S: Here.
21865 * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
21866 * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
21867
21868 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21869
21870 * sysdeps/i386/i486/string-inlines.c: Moved to ...
21871 * sysdeps/i386/string-inlines.c: Here.
21872
21873 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21874
21875 * sysdeps/i386/i486/htonl.S: Moved ...
21876 * sysdeps/i386/htonl.S: here.
21877
21878 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21879
21880 * sysdeps/i386/i486/bits/atomic.h: Moved to ...
21881 * sysdeps/i386/bits/atomic.h: Here.
21882
21883 2015-08-27 H.J. Lu <hongjiu.lu@intel.com>
21884
21885 * sysdeps/i386/i486/Versions: Removed.
21886
21887 2015-08-27 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
21888
21889 [BZ #2898]
21890 * misc/mktemp.c: Add mkdtemp to the link_warning message.
21891 Based on patch by Aurelien Jarno.
21892
21893 2015-08-26 Stan Shebs <stanshebs@google.com>
21894
21895 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
21896 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
21897
21898 2015-08-26 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
21899
21900 * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
21901 * sysdeps/powerpc/dl-procinfo.c:
21902 (_dl_powerpc_cap_flags): Added descriptor for this hwcap
21903 feature so it shows when LD_SHOW_AUXV=1.
21904
21905 2015-08-26 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
21906
21907 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
21908 (__arch_compare_and_exchange_val_32_acq): Remove and use common
21909 definition. ISA 2.07B no longer requires full sync.
21910
21911 2015-08-26 Mike Frysinger <vapier@gentoo.org>
21912
21913 [BZ #18863]
21914 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
21915 (si_call_addr): Define.
21916 (si_syscall): Define.
21917 (si_arch): Define.
21918
21919 2015-08-26 H.J. Lu <hongjiu.lu@intel.com>
21920
21921 * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
21922 * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
21923 * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
21924 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21925 (__memset_zero_constant_len_parameter): New.
21926 * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
21927 Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
21928 (__memset_zero_constant_len_parameter): Don't define if
21929 __memset_chk or USE_AS_BZERO are defined.
21930
21931 * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
21932 Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
21933 * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
21934
21935 * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
21936 tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
21937 * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
21938 tests-special, $(objpfx)tst-ld-sse-use.out): Here. Update
21939 comments.
21940 * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
21941 -mno-mmx for $(all-rtld-routines).
21942 * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
21943 * sysdeps/i386/tst-ld-sse-use.sh: Here. Replace x86-64 with
21944 i386.
21945
21946 2015-08-26 Stefan Liebler <stli@linux.vnet.ibm.com>
21947
21948 * sysdeps/generic/unwind.h
21949 (_Unwind_Word): Use __mode__(__unwind_word__)
21950 instead of __mode__(__word__).
21951 (_Unwind_Sword): Likewise.
21952
21953 * sysdeps/s390/s390-64/utf8-utf16-z9.c
21954 (MAX_NEEDED_INPUT): New define.
21955 (MAX_NEEDED_OUTPUT): New define.
21956
21957 * NEWS: New item for IBM z13 string optimizations.
21958
21959 * sysdeps/s390/multiarch/memrchr-c.c: New File.
21960 * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
21961 * sysdeps/s390/multiarch/memrchr.c: Likewise.
21962 * sysdeps/s390/multiarch/Makefile
21963 (sysdep_routines): Add memrchr functions.
21964 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21965 (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
21966
21967 * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
21968 * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
21969 * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
21970 * sysdeps/s390/multiarch/Makefile
21971 (sysdep_routines): Add wmemcmp functions.
21972 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21973 (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
21974 * benchtests/bench-wmemcmp.c: New File.
21975 * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
21976
21977 * sysdeps/s390/multiarch/wmemset-c.c: New File.
21978 * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
21979 * sysdeps/s390/multiarch/wmemset.c: Likewise.
21980 * sysdeps/s390/multiarch/Makefile
21981 (sysdep_routines): Add wmemset functions.
21982 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21983 (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
21984 * wcsmbs/wmemset.c: Use WMEMSET if defined.
21985 * string/test-memset.c: Add wmemset support.
21986 * wcsmbs/test-wmemset.c: New File.
21987 * wcsmbs/Makefile (strop-tests): Add wmemset.
21988 * benchtests/bench-memset.c: Add wmemset support.
21989 * benchtests/bench-wmemset.c: New File.
21990 * benchtests/Makefile (wcsmbs-bench): Add wmemset.
21991
21992 * sysdeps/s390/multiarch/memccpy-c.c: New File.
21993 * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
21994 * sysdeps/s390/multiarch/memccpy.c: Likewise.
21995 * sysdeps/s390/multiarch/Makefile
21996 (sysdep_routines): Add memccpy functions.
21997 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
21998 (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
21999 * string/memccpy.c: Use MEMCCPY if defined.
22000
22001 * sysdeps/s390/multiarch/memchr-vx.S: New File.
22002 * sysdeps/s390/multiarch/memchr.c: Likewise.
22003 * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
22004 * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
22005 * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
22006 * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
22007 * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
22008 * sysdeps/s390/multiarch/wmemchr.c: Likewise.
22009 * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
22010 * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
22011 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
22012 and rawmemchr functions.
22013 * sysdeps/s390/multiarch/ifunc-impl-list-common.c
22014 (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
22015 and wmemchr.
22016 * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
22017 * string/test-memchr.c: Add wmemchr support.
22018 * wcsmbs/test-wmemchr.c: New File.
22019 * wcsmbs/Makefile (strop-tests): Add wmemchr.
22020 * benchtests/bench-memchr.c: Add wmemchr support.
22021 * benchtests/bench-wmemchr.c: New File.
22022 * benchtests/Makefile (wcsmbs-bench): wmemchr.
22023
22024 * sysdeps/s390/multiarch/strcspn-c.c: New File.
22025 * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
22026 * sysdeps/s390/multiarch/strcspn.c: Likewise.
22027 * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
22028 * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
22029 * sysdeps/s390/multiarch/wcscspn.c: Likewise.
22030 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
22031 wcscspn functions.
22032 * sysdeps/s390/multiarch/ifunc-impl-list.c
22033 (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
22034 * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
22035 * string/test-strcspn.c: Add wcscspn support.
22036 * wcsmbs/test-wcscspn.c: New File.
22037 * wcsmbs/Makefile (strop-tests): Add wcscspn.
22038 * benchtests/bench-strcspn.c: Add wcscspn support.
22039 * benchtests/bench-wcscspn.c: New File.
22040 * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
22041
22042 * sysdeps/s390/multiarch/strpbrk-c.c: New File.
22043 * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
22044 * sysdeps/s390/multiarch/strpbrk.c: Likewise.
22045 * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
22046 * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
22047 * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
22048 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
22049 wcspbrk functions.
22050 * sysdeps/s390/multiarch/ifunc-impl-list.c
22051 (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
22052 * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
22053 * string/test-strpbrk.c: Add wcspbrk support.
22054 * wcsmbs/test-wcspbrk.c: New File.
22055 * wcsmbs/Makefile (strop-tests): Add wcspbrk.
22056 * benchtests/bench-strpbrk.c: Add wcspbrk support.
22057 * benchtests/bench-wcspbrk.c: New File.
22058 * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
22059
22060 * sysdeps/s390/multiarch/strspn-c.c: New File.
22061 * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
22062 * sysdeps/s390/multiarch/strspn.c: Likewise.
22063 * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
22064 * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
22065 * sysdeps/s390/multiarch/wcsspn.c: Likewise.
22066 * wcsmbs/wcsspn.c: Use WCSSPN if defined.
22067 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
22068 wcsspn functions.
22069 * sysdeps/s390/multiarch/ifunc-impl-list.c
22070 (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
22071 * string/test-strspn.c: Add wcsspn support.
22072 * wcsmbs/test-wcsspn.c: New File.
22073 * wcsmbs/Makefile (strop-tests): Add wcsspn.
22074 * benchtests/bench-strspn.c: Add wcsspn support.
22075 * benchtests/bench-wcsspn.c: New File.
22076 * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
22077
22078 * sysdeps/s390/multiarch/strrchr-c.c: New File.
22079 * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
22080 * sysdeps/s390/multiarch/strrchr.c: Likewise.
22081 * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
22082 * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
22083 * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
22084 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
22085 wcsrchr functions.
22086 * sysdeps/s390/multiarch/ifunc-impl-list.c
22087 (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
22088 * benchtests/bench-wcsrchr.c: New File.
22089 * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
22090
22091 * sysdeps/s390/multiarch/strchrnul-c.c: New File.
22092 * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
22093 * sysdeps/s390/multiarch/strchrnul.c: Likewise.
22094 * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
22095 * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
22096 * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
22097 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
22098 wcschrnul functions.
22099 * sysdeps/s390/multiarch/ifunc-impl-list.c
22100 (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
22101 * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
22102 * string/test-strchr.c: Add wcschrnul support.
22103 * wcsmbs/test-wcschrnul.c: New File.
22104 * wcsmbs/Makefile (strop-tests): Add wcschrnul.
22105 * benchtests/bench-strchr.c: Add wcschrnul support.
22106 * benchtests/bench-wcschrnul.c: New File.
22107 * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
22108
22109 * sysdeps/s390/multiarch/strchr-c.c: New File.
22110 * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
22111 * sysdeps/s390/multiarch/strchr.c: Likewise.
22112 * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
22113 * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
22114 * sysdeps/s390/multiarch/wcschr.c: Likewise.
22115 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
22116 wcschr functions.
22117 * sysdeps/s390/multiarch/ifunc-impl-list.c
22118 (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
22119 * string/strchr.c (STRCHR): Define and use macro.
22120 * benchtests/bench-wcschr.c: New File.
22121 * benchtests/Makefile (wcsmbs-bench): Add wcschr.
22122
22123 * sysdeps/s390/multiarch/strncmp-c.c: New File.
22124 * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
22125 * sysdeps/s390/multiarch/strncmp.c: Likewise.
22126 * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
22127 * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
22128 * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
22129 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
22130 wcsncmp functions.
22131 * sysdeps/s390/multiarch/ifunc-impl-list.c
22132 (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
22133 * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
22134 * benchtests/bench-strncmp.c: Add wcsncmp support.
22135 * benchtests/bench-wcsncmp.c: New File.
22136 * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
22137
22138 * sysdeps/s390/multiarch/strcmp-vx.S: New File.
22139 * sysdeps/s390/multiarch/strcmp.c: Likewise.
22140 * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
22141 * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
22142 * sysdeps/s390/multiarch/wcscmp.c: Likewise.
22143 * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
22144 * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
22145 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
22146 wcscmp functions.
22147 * sysdeps/s390/multiarch/ifunc-impl-list.c
22148 (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
22149 * string/strcmp.c (STRCMP): Define and use macro.
22150 * benchtests/bench-wcscmp.c: New File.
22151 * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
22152 * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
22153 instead of _HAVE_STRING_ARCH_memchr.
22154
22155 * sysdeps/s390/multiarch/strncat-c.c: New File.
22156 * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
22157 * sysdeps/s390/multiarch/strncat.c: Likewise.
22158 * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
22159 * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
22160 * sysdeps/s390/multiarch/wcsncat.c: Likewise.
22161 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
22162 wcsncat functions.
22163 * sysdeps/s390/multiarch/ifunc-impl-list.c
22164 (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
22165 * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
22166 * string/test-strncat.c: Add wcsncat support.
22167 * wcsmbs/test-wcsncat.c: New File.
22168 * wcsmbs/Makefile (strop-tests): Add wcsncat.
22169 * benchtests/bench-strncat.c: Add wcsncat support.
22170 * benchtests/bench-wcsncat.c: New File.
22171 * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
22172
22173 * sysdeps/s390/multiarch/strcat-c.c: New File.
22174 * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
22175 * sysdeps/s390/multiarch/strcat.c: Likewise.
22176 * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
22177 * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
22178 * sysdeps/s390/multiarch/wcscat.c: Likewise.
22179 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
22180 wcscat functions.
22181 * sysdeps/s390/multiarch/ifunc-impl-list.c
22182 (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
22183 * string/strcat.c (STRCAT): Define and use macro.
22184 * wcsmbs/wcscat.c: Use WCSCAT if defined.
22185 * string/test-strcat.c: Add wcscat support.
22186 * wcsmbs/test-wcscat.c: New File.
22187 * wcsmbs/Makefile (strop-tests): Add wcscat.
22188 * benchtests/bench-strcat.c: Add wcscat support.
22189 * benchtests/bench-wcscat.c: New File.
22190 * benchtests/Makefile (wcsmbs-bench): Add wcscat.
22191
22192 * sysdeps/s390/multiarch/stpncpy-c.c: New File.
22193 * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
22194 * sysdeps/s390/multiarch/stpncpy.c: Likewise.
22195 * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
22196 * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
22197 * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
22198 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
22199 wcpncpy functions.
22200 * sysdeps/s390/multiarch/ifunc-impl-list.c
22201 (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
22202 * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
22203 * string/test-stpncpy.c: Add wcpncpy support.
22204 * wcsmbs/test-wcpncpy.c: New File.
22205 * wcsmbs/Makefile (strop-tests): Add wcpncpy.
22206 * benchtests/bench-stpncpy.c: Add wcpncpy support.
22207 * benchtests/bench-wcpncpy.c: New File.
22208 * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
22209
22210 * sysdeps/s390/multiarch/strncpy-vx.S: New File.
22211 * sysdeps/s390/multiarch/strncpy.c: Likewise.
22212 * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
22213 * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
22214 * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
22215 * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
22216 * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
22217 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
22218 wcsncpy functions.
22219 * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
22220 * sysdeps/s390/multiarch/ifunc-impl-list.c
22221 (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
22222 * string/test-strncpy.c: Add wcsncpy support.
22223 * wcsmbs/test-wcsncpy.c: New File.
22224 * wcsmbs/Makefile (strop-tests): Add wcsncpy.
22225 * benchtests/bench-strncpy.c: Add wcsncpy support.
22226 * benchtests/bench-wcsncpy.c: New File.
22227 * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
22228
22229 * sysdeps/s390/multiarch/stpcpy-c.c: New File.
22230 * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
22231 * sysdeps/s390/multiarch/stpcpy.c: Likewise.
22232 * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
22233 * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
22234 * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
22235 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
22236 wcpcpy functions.
22237 * string/stpcpy.c: Use STPCPY if defined.
22238 * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
22239 * sysdeps/s390/multiarch/ifunc-impl-list.c
22240 (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
22241 * string/test-stpcpy.c: Add wcpcpy support.
22242 * wcsmbs/test-wcpcpy.c: New File.
22243 * wcsmbs/Makefile (strop-tests): Add wcpcpy.
22244 * benchtests/bench-stpcpy.c: Add wcpcpy support.
22245 * benchtests/bench-wcpcpy.c: New File.
22246 * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
22247
22248 * sysdeps/s390/multiarch/strcpy-vx.S: New File.
22249 * sysdeps/s390/multiarch/strcpy.c: Likewise.
22250 * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
22251 * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
22252 * sysdeps/s390/multiarch/wcscpy.c: Likewise.
22253 * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
22254 * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
22255 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
22256 wcscpy functions.
22257 * sysdeps/s390/multiarch/ifunc-impl-list.c
22258 (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
22259 * benchtests/bench-wcscpy.c: New File.
22260 * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
22261
22262 * sysdeps/s390/multiarch/strnlen-c.c: New File.
22263 * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
22264 * sysdeps/s390/multiarch/strnlen.c: Likewise.
22265 * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
22266 * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
22267 * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
22268 * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
22269 wcsnlen functions.
22270 * sysdeps/s390/multiarch/ifunc-impl-list.c
22271 (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
22272 * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
22273 * string/test-strnlen.c: Add wcsnlen support.
22274 * wcsmbs/test-wcsnlen.c: New File.
22275 * wcsmbs/Makefile (strop-tests): Add wcsnlen.
22276 * benchtests/bench-strnlen.c: Add wcsnlen support.
22277 * benchtests/bench-wcsnlen.c: New File.
22278 * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
22279
22280 * sysdeps/s390/multiarch/Makefile: New File.
22281 * sysdeps/s390/multiarch/strlen-c.c: Likewise.
22282 * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
22283 * sysdeps/s390/multiarch/strlen.c: Likewise.
22284 * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
22285 * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
22286 * sysdeps/s390/multiarch/wcslen.c: Likewise.
22287 * string/strlen.c (STRLEN): Define and use macro.
22288 * sysdeps/s390/multiarch/ifunc-impl-list.c
22289 (IFUNC_VX_IMPL): New macro function.
22290 (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
22291 * benchtests/Makefile (wcsmbs-bench): New variable.
22292 (string-bench-all): Added wcsmbs-bench.
22293 * benchtests/bench-wcslen.c: New File.
22294
22295 * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
22296 s390_vx_libc_ifunc2): New macro function.
22297
22298 * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
22299 * sysdeps/s390/configure.ac: Add test for S390 vector instruction
22300 assembler support.
22301 * sysdeps/s390/configure: Regenerated.
22302
22303 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
22304 * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
22305
22306 * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
22307 * sysdeps/s390/dl-procinfo.h: Add vector capability.
22308 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
22309
22310 * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
22311 Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
22312 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
22313 * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
22314 * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
22315 (memcmp, bcmp): Use __memcmp_default as alias source.
22316 * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
22317 * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
22318 Rename to __memcmp_default.
22319 * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
22320 * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
22321 (memcpy): Use __memcpy_default as alias source.
22322 * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
22323 * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
22324 Rename to __memcpy_default.
22325 * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
22326 * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
22327 (memset): Use __memset_default as alias source.
22328 * sysdeps/s390/s390-32/multiarch/memset.c: New File.
22329 * sysdeps/s390/s390-32/memset.S (__memset_g5):
22330 Rename to __memset_default.
22331 * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
22332 Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
22333 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
22334 * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
22335 * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
22336 (memcmp, bcmp): Use __memcmp_default as alias source.
22337 * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
22338 * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
22339 Rename to __memcmp_default.
22340 * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
22341 * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
22342 (memcpy): Use __memcpy_default as alias source.
22343 * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
22344 * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
22345 Rename to __memcpy_default.
22346 * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
22347 * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
22348 (memset): Use __memset_default as alias source.
22349 * sysdeps/s390/s390-64/multiarch/memset.c: New File.
22350 * sysdeps/s390/s390-64/memset.S (__memset_z900):
22351 Rename to __memset_default.
22352 * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
22353 * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
22354
22355 [BZ #18610]
22356 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
22357 __ieee_instruction_pointer to __unused.
22358 * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
22359 __ieee_instruction_pointer.
22360 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
22361 * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
22362 * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
22363 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
22364 * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
22365 Mark dxc-field as reserved.
22366
22367 2015-08-25 Roland McGrath <roland@hack.frob.com>
22368
22369 * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
22370 if the weak reference is not null.
22371
22372 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
22373
22374 * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
22375
22376 [BZ #11214]
22377 * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
22378
22379 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22380
22381 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
22382 * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
22383 * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
22384 * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
22385 * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
22386 * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
22387 * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
22388 * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
22389 * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
22390 * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
22391 * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
22392 * sysdeps/unix/sysv/linux/send.c: Call direct system call.
22393 * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
22394 * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
22395 * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
22396 * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
22397 * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
22398 * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
22399
22400 2015-08-25 Paul E. Murphy <murphyp@linux.vnet.ibm.com>
22401
22402 * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
22403 register other than r0 for tabort, it has special meaning.
22404 * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
22405 * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
22406 transaction before starting syscall.
22407
22408 2015-08-25 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
22409
22410 * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
22411
22412 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
22413
22414 * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
22415
22416 * sysdeps/x86_64/rtld-memcmp.c: Removed.
22417 * sysdeps/x86_64/rtld-memset.S: Likewise.
22418 * sysdeps/x86_64/rtld-strchr.S: Likewise.
22419 * sysdeps/x86_64/rtld-strlen.S: Likewise.
22420 * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
22421 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
22422
22423 * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
22424
22425 2015-08-25 Ondřej Bílka <neleai@seznam.cz>
22426
22427 * debug/strcpy_chk.c: Improve performance.
22428 * debug/stpcpy_chk.c: Likewise.
22429 * sysdeps/x86_64/strcpy_chk.S: Remove.
22430 * sysdeps/x86_64/stpcpy_chk.S: Remove.
22431
22432 [BZ #18240]
22433 * misc/hsearch_r.c (__hcreate_r): Handle overflow.
22434
22435 2015-08-25 H.J. Lu <hongjiu.lu@intel.com>
22436
22437 [BZ #15128]
22438 * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
22439 ifuncmain8.
22440 (modules-names): Add ifuncmod8.
22441 ($(objpfx)ifuncmain8): New rule.
22442 * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
22443 <cpuid.h>.
22444 (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
22445 _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
22446 _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
22447 _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
22448 * sysdeps/x86_64/dl-trampoline.S: Rewrite.
22449 * sysdeps/x86_64/dl-trampoline.h: Likewise.
22450 * sysdeps/x86_64/ifuncmain8.c: New file.
22451 * sysdeps/x86_64/ifuncmod8.c: Likewise.
22452 * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
22453 Removed.
22454 * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
22455 (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
22456 Change rtld_savespace_sse to __glibc_unused2.
22457 (RTLD_CHECK_FOREIGN_CALL): Removed.
22458 (RTLD_ENABLE_FOREIGN_CALL): Likewise.
22459 (RTLD_PREPARE_FOREIGN_CALL): Likewise.
22460 (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
22461
22462 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
22463
22464 * sysdeps/aarch64/bzero.S (__bzero): Remove.
22465
22466 2015-08-24 Wilco Dijkstra <wdijkstr@arm.com>
22467
22468 * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
22469 Unconditionally set __fpcr to avoid uninialized warning.
22470 (libc_feholdsetround_noex_aarch64_ctx): Likewise.
22471
22472 2015-08-24 Siddhesh Poyarekar <siddhesh@redhat.com>
22473
22474 * malloc/arena.c (arena_get_retry): Don't use main_arena if it
22475 is corrupt.
22476
22477 * malloc/arena.c (arena_get2): Drop unused argument.
22478 (arena_lock): Adjust.
22479 (arena_get_retry): Likewise.
22480
22481 2015-08-24 Andreas Schwab <schwab@suse.de>
22482
22483 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
22484 Don't define.
22485 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
22486 (__ASSUME_IPC64): Don't undef.
22487 * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
22488 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
22489 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
22490 * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
22491 * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
22492 * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
22493 * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
22494 * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
22495 * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
22496 * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
22497 * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
22498 * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
22499 * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
22500 * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
22501 * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
22502 * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
22503 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
22504 * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
22505 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
22506 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
22507 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
22508
22509 2015-08-21 Mike Frysinger <vapier@gentoo.org>
22510
22511 * manual/Makefile (install): Only build manual when perl is available.
22512
22513 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22514
22515 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
22516 '#undef memcpy' by '#undef memchr'.
22517
22518 2015-08-21 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22519
22520 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
22521 memchr not point to the internal __GI_memchr implementation.
22522
22523 2015-08-20 Joseph Myers <joseph@codesourcery.com>
22524
22525 * timezone/Makefile (CFLAGS-zdump.c): Remove
22526 -Wno-strict-prototypes.
22527 (CFLAGS-zic.c): Likewise.
22528 (CFLAGS-ialloc.c): Likewise.
22529 (CFLAGS-scheck.c): Likewise.
22530
22531 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
22532 -Wno-error=undef.
22533
22534 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
22535
22536 * i386/i686/multiarch/strcasestr-c.c: Removed.
22537 * x86_64/multiarch/strcasestr.c: Likewise.
22538 * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
22539 Remove strcasestr.
22540
22541 2015-08-20 Joseph Myers <joseph@codesourcery.com>
22542
22543 * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
22544
22545 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
22546 variables for high and low parts before possibly modifying them.
22547
22548 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
22549
22550 * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
22551 * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
22552 * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
22553 of "multiarch/init-arch.h".
22554 * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
22555 * sysdeps/x86/init-arch.h: This.
22556
22557 2015-08-20 H.J. Lu <hongjiu.lu@intel.com>
22558
22559 * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
22560 * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
22561
22562 2015-08-20 Ondřej Bílka <neleai@seznam.cz>
22563
22564 [BZ #17787]
22565 * manual/macros.texi: Add twoexp macro.
22566 * manual/filesys.texi: Fix exponents.
22567 * manual/llio.texi: Likewise.
22568 * manual/stdio.texi: Likewise.
22569
22570 2015-08-20 Florian Weimer <fweimer@redhat.com>
22571
22572 * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
22573 incorrect use.
22574
22575 2015-08-19 Joseph Myers <joseph@codesourcery.com>
22576
22577 [BZ #18370]
22578 * math/s_csqrt.c (__csqrt): Force underflow exception for results
22579 whose real or imaginary part has small absolute value.
22580 * math/s_csqrtf.c (__csqrtf): Likewise.
22581 * math/s_csqrtl.c (__csqrtl): Likewise.
22582 * math/auto-libm-test-in: Add more tests of csqrt.
22583 * math/auto-libm-test-out: Regenerated.
22584 * sysdeps/i386/fpu/libm-test-ulps: Update.
22585
22586 2015-08-19 Gabriel F. T. Gomes <gftg@linux.vnet.ibm.com>
22587
22588 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
22589 __ppc_set_ppr_very_low): New functions.
22590 * manual/platform.texi: Add documentation about
22591 __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
22592
22593 2015-08-19 Wilco Dijkstra <wdijkstr@arm.com>
22594
22595 * string/stpncpy.c (stpncpy): Improve performance using
22596 __strnlen/memcpy/memset.
22597
22598 2015-08-19 Andrew Senkevich <andrew.senkevich@intel.com>
22599
22600 [BZ #18796]
22601 * scripts/test-installation.pl: Don't add -lmvec to build options if
22602 libmvec wasn't built.
22603
22604 2015-08-19 Petar Jovanovic <petar.jovanovic@rt-rk.com>
22605
22606 [BZ #14341]
22607 * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
22608 case when there is a gap between DT_REL and DT_JMPREL sections.
22609 * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
22610 (LDFLAGS-tst-split-dynreloc): New.
22611 (tst-split-dynreloc-ENV): Likewise.
22612 * sysdeps/x86_64/tst-split-dynreloc.c: New file.
22613 * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
22614
22615 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22616
22617 [BZ #18822]
22618 * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
22619 attribute_hidden.
22620 (__xstat64_conv): Likewise.
22621 (__xstat32_conv): Likewise.
22622
22623 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22624
22625 [BZ #18822]
22626 * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
22627 Don't load %ebx when calling __setcontext. Call __setcontext
22628 with HIDDEN_JUMPTARGET.
22629 * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
22630 libc_hidden_def.
22631
22632 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22633
22634 * sysdeps/i386/i686/Makefile
22635 [$(subdir) == string] (sysdep_routines): Moved to ...
22636 * sysdeps/i386/Makefile: Here.
22637 * sysdeps/i386/i686/cacheinfo.c: Moved to ...
22638 * sysdeps/i386/cacheinfo.c: Here.
22639 * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
22640 * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
22641 * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
22642 * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
22643
22644 2015-08-19 H.J. Lu <hongjiu.lu@intel.com>
22645
22646 * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
22647 __i586__ is defined.
22648 (HAS_I686): Defined to 1 if __i686__ is defined.
22649
22650 2015-08-19 Joseph Myers <joseph@codesourcery.com>
22651
22652 * elf/Makefile [$(have-z-execstack) = yes]
22653 (CPPFLAGS-tst-execstack.c): New variable.
22654
22655 * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
22656 conditional to [defined UTMPX || _HAVE_UT_TYPE].
22657 [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
22658 UTMPX || _HAVE_UT_TV].
22659 [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
22660 UTMPX || _HAVE_UT_TV - 0].
22661
22662 2015-08-18 Joseph Myers <joseph@codesourcery.com>
22663
22664 * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
22665 conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
22666 * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
22667
22668 2015-08-18 Carlos Eduardo Seo <cseo@linux.vnet.ibm.com>
22669
22670 * sysdeps/powerpc/dl-procinfo.c:
22671 (_dl_powerpc_cap_flags): Added missing strings for some
22672 hwcap features.
22673 * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
22674
22675 2015-08-18 Paul Eggert <eggert@cs.ucla.edu>
22676
22677 Port the 0x7efe...feff pattern to GCC 6.
22678 See Steve Ellcey's bug report in:
22679 https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
22680 * string/memrchr.c (MEMRCHR):
22681 * string/rawmemchr.c (RAWMEMCHR):
22682 * string/strchr.c (strchr):
22683 * string/strchrnul.c (STRCHRNUL):
22684 Rewrite code to avoid issues with signed shift overflow.
22685
22686 2015-08-18 H.J. Lu <hongjiu.lu@intel.com>
22687
22688 * sysdeps/x86/cpu-features.c (init_cpu_features): Check
22689 whether cpuid is available only if HAS_CPUID is 0.
22690 * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
22691 (HAS_I586): Likewise.
22692 (HAS_I686): Likewise.
22693
22694 2015-08-18 Zack Weinberg <zackw@panix.com>
22695
22696 * misc/Versions (libc): Add GLIBC_2.23.
22697
22698 2015-08-18 Alan Modra <amodra@gmail.com>
22699
22700 [BZ #18421]
22701 * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
22702 .Lp__global.
22703 (_start): Load %dp via .Lp__global.
22704 [!SHARED]: Use .section .rodata.
22705
22706 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22707
22708 * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
22709 * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
22710
22711 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22712
22713 * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
22714 * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
22715
22716 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22717
22718 * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
22719 * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
22720
22721 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22722
22723 * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
22724 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
22725
22726 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22727
22728 * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
22729 * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
22730
22731 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22732
22733 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
22734 SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
22735
22736 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22737
22738 * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
22739
22740 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22741
22742 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
22743 kernel-features.h include. Delete __ASSUME_LWS_CAS checks.
22744 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
22745 (__ASSUME_LWS_CAS): Delete.
22746
22747 2015-08-18 Mike Frysinger <vapier@gentoo.org>
22748
22749 * sysdeps/hppa/configure.ac: Delete binutils tls checks.
22750 * sysdeps/hppa/configure: Regenerated.
22751 * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
22752 * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
22753 * sysdeps/hppa/nptl/tls.h: Likewise.
22754
22755 2015-08-17 Joseph Myers <joseph@codesourcery.com>
22756
22757 [BZ #18823]
22758 * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
22759 for scaling up small arguments.
22760 * math/s_csqrtf.c (__csqrtf): Likewise.
22761 * math/s_csqrtl.c (__csqrtl): Likewise.
22762 * math/auto-libm-test-in: Add more tests of csqrt.
22763 * math/auto-libm-test-out: Regenerated.
22764
22765 2015-08-17 Andreas Schwab <schwab@suse.de>
22766
22767 * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
22768 version set GLIBC_2.19.
22769
22770 2015-08-16 Zack Weinberg <zackw@panix.com>
22771
22772 [BZ #18681]
22773 * misc/regexp.h: This interface is no longer supported.
22774 Remove all contents, leaving only an #error directive.
22775 * misc/regexp.c (loc1, loc2, locs, step, advance):
22776 Demote to compatibility symbols.
22777
22778 2015-08-15 Paul Pluzhnikov <ppluzhnikov@google.com>
22779
22780 [BZ #18084]
22781 * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
22782 * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
22783 * sysdeps/i386/backtrace.c (__backtrace): Likewise.
22784 * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
22785 * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
22786 * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
22787 * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
22788 * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
22789 * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
22790
22791 2015-08-15 Zack Weinberg <zackw@panix.com>
22792
22793 [BZ #18795]
22794 * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
22795 buffer length is known to be too large, not if it's known to be
22796 small enough.
22797 * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
22798 overflow at runtime, involving a length parameter, twice: once
22799 with a compile-time constant length parameter, once without.
22800
22801 2015-08-14 Joseph Myers <joseph@codesourcery.com>
22802
22803 [BZ #18824]
22804 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
22805 scaling x * y up instead of down.
22806 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
22807 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
22808 * math/auto-libm-test-in: Add more tests of fma.
22809 * math/auto-libm-test-out: Regenerated.
22810
22811 2015-08-14 Paul Pluzhnikov <ppluzhnikov@google.com>
22812
22813 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
22814
22815 2015-08-14 Siddhesh Poyarekar <siddhesh@redhat.com>
22816
22817 * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
22818 unnecessary movq.
22819 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
22820 Likewise.
22821
22822 2015-08-13 Joseph Myers <joseph@codesourcery.com>
22823
22824 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
22825 asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
22826 exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
22827 and tgamma.
22828 * math/auto-libm-test-out: Regenerated.
22829 * sysdeps/i386/fpu/libm-test-ulps: Update.
22830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
22831
22832 [BZ #16520]
22833 * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
22834 (__tanh): Force underflow exception for arguments with small
22835 absolute value.
22836 * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
22837 (__tanhf): Force underflow exception for arguments with small
22838 absolute value.
22839 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
22840 (__tanhl): Force underflow exception for arguments with small
22841 absolute value.
22842 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
22843 (__tanhl): Force underflow exception for arguments with small
22844 absolute value.
22845 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
22846 (__tanhl): Force underflow exception for arguments with small
22847 absolute value.
22848 * math/auto-libm-test-in: Add more tests of tanh.
22849 * math/auto-libm-test-out: Regenerated.
22850 * sysdeps/i386/fpu/libm-test-ulps: Update.
22851
22852 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22853
22854 * sysdeps/x86/cpu-features.c (init_cpu_features): Call
22855 __get_cpuid_max if not compiling for i586, i686 nor x86-64.
22856
22857 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22858
22859 * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
22860 <cpuid.h>.
22861
22862 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22863
22864 * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
22865 Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
22866
22867 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22868
22869 * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
22870 Remove $(objpfx)init-arch.o.
22871 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
22872 init-arch.
22873 * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
22874 (INIT_ARCH_EXT): Defined as empty.
22875 (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
22876 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
22877 __init_cpu_features call. Replace HAS_XXX with
22878 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22879 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
22880 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
22881 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
22882 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
22883 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
22884 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
22885 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
22886 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
22887 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
22888 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
22889 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
22890 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
22891 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
22892 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
22893 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
22894 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
22895 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
22896 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
22897 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
22898 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
22899 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
22900 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
22901 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
22902 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
22903 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
22904 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
22905 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
22906 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
22907 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
22908 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
22909 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
22910 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
22911 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
22912 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
22913 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
22914
22915 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22916
22917 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
22918 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22919 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22920 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
22921 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
22922 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
22923 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
22924 * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
22925 * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
22926 * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
22927 call. Merge SHARED and !SHARED. Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
22928 Use LOAD_FUNC_GOT_EAX to load function address. Replace HAS_XXX
22929 with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22930 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
22931 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
22932 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
22933 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
22934 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
22935 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
22936 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
22937 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
22938 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
22939 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
22940 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
22941 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
22942 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
22943 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
22944 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
22945 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
22946 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
22947 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
22948 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
22949 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
22950 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
22951 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
22952 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
22953 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
22954 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
22955 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
22956 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
22957 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
22958 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
22959 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
22960
22961 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
22962
22963 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
22964 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22965 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
22966 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
22967 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
22968 * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
22969 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
22970 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
22971 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
22972 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
22973 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
22974 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
22975 LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
22976 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
22977 * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
22978 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
22979 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
22980 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
22981 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
22982 * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
22983 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
22984 * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
22985 * sysdeps/x86_64/multiarch/strstr.c: Likewise.
22986 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
22987 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
22988 * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
22989 * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
22990 call. Add LOAD_RTLD_GLOBAL_RO_RDX. Replace HAS_XXX with
22991 HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
22992 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
22993 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
22994 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
22995 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
22996 * sysdeps/x86_64/multiarch/memset.S: Likewise.
22997 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22998 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
22999 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
23000 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
23001 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
23002 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
23003 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
23004 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
23005 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
23006
23007 2015-08-13 H.J. Lu <hongjiu.lu@intel.com>
23008
23009 * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
23010 (dl_platform_init): Call init_cpu_features.
23011 * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
23012 * sysdeps/i386/i686/cacheinfo.c
23013 (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
23014 * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
23015 * sysdeps/i386/i686/multiarch/Versions: Removed.
23016 * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
23017 Removed.
23018 * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
23019 * sysdeps/unix/sysv/linux/x86/Makefile
23020 (libpthread-sysdep_routines): Remove init-arch.
23021 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
23022 <sysdeps/x86_64/dl-procinfo.c> instead of
23023 sysdeps/generic/dl-procinfo.c>.
23024 * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
23025 Add cpu-features-offsets.sym and rtld-global-offsets.sym.
23026 [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
23027 [$(subdir) == elf] (tests): Add tst-get-cpu-features.
23028 [$(subdir) == elf] (tests-static): Add
23029 tst-get-cpu-features-static.
23030 * sysdeps/x86/Versions: New file.
23031 * sysdeps/x86/cpu-features-offsets.sym: Likewise.
23032 * sysdeps/x86/cpu-features.c: Likewise.
23033 * sysdeps/x86/cpu-features.h: Likewise.
23034 * sysdeps/x86/dl-get-cpu-features.c: Likewise.
23035 * sysdeps/x86/libc-start.c: Likewise.
23036 * sysdeps/x86/rtld-global-offsets.sym: Likewise.
23037 * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
23038 * sysdeps/x86/tst-get-cpu-features.c: Likewise.
23039 * sysdeps/x86_64/dl-procinfo.c: Likewise.
23040 * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
23041 Assume USE_MULTIARCH is defined and don't check it.
23042 (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
23043 (is_amd): Likewise.
23044 (max_cpuid): Likewise.
23045 (intel_check_word): Likewise.
23046 (__cache_sysconf): Don't call __init_cpu_features.
23047 (__x86_preferred_memory_instruction): Removed.
23048 (init_cacheinfo): Don't call __init_cpu_features. Replace
23049 __cpu_features with GLRO(dl_x86_cpu_features).
23050 * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
23051 (dl_platform_init): Call init_cpu_features.
23052 * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
23053 * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
23054 * sysdeps/x86_64/multiarch/Versions: Removed.
23055 * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
23056 * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
23057 * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
23058 Removed.
23059 * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
23060
23061 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
23062
23063 [BZ #18820]
23064 * libio/Makefile (test-fmemopen-mem): New test.
23065 * libio/test-fmemopen.c (do_bz18820): New test.
23066 * libio/fmemopen.c (__fmemopen): Fix memory leak.
23067 * libio/oldfmemopen.c (__old_fmemopen): Likewise.
23068
23069 2015-08-12 Paul Pluzhnikov <ppluzhnikov@google.com>
23070
23071 [BZ #16734]
23072 * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
23073 (FREE_BUF): Delete.
23074 * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
23075 * libio/genops.c (_IO_setb): Use malloc and free directly.
23076 (_IO_default_doallocate, _IO_default_finish): Likewise.
23077 ( _IO_unbuffer_all): Likewise.
23078 ( libc_freeres_fn): Likewise.
23079 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
23080 * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
23081 * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
23082 (_IO_wdefault_doallocate): Likewise.
23083
23084 2015-08-11 Paul Pluzhnikov <ppluzhnikov@google.com>
23085
23086 [BZ #18086]
23087 * sysdeps/posix/nice.c (nice): Restore old errno.
23088 * posix/tst-nice.c (do_test): Add test for BZ #18086.
23089
23090 2015-08-10 Ondrej Bilka <neleai@seznam.cz>
23091
23092 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
23093
23094 2015-08-10 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23095
23096 * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
23097 __bcopy and add a weak_alias to bcopy.
23098 * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
23099 for static build.
23100
23101 * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
23102 cleanup macro usage.
23103 * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
23104 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
23105 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
23106 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
23107 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
23108 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
23109 * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
23110 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
23111 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
23112 * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
23113 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
23114 [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
23115 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
23116 [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
23117 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
23118 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
23119 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
23120 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
23121 * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
23122
23123 * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
23124 libc_hidden_def.
23125 (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
23126
23127 * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
23128 (sysdep_routines): Add strstr-ppc64.
23129 * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
23130
23131 2015-08-10 Maxim Ostapenko <m.ostapenko@partner.samsung.com>
23132
23133 [BZ #18778]
23134 * elf/Makefile (tests): Add Add tst-nodelete2.
23135 (modules-names): Add tst-nodelete2mod.
23136 (tst-nodelete2mod.so-no-z-defs): New.
23137 ($(objpfx)tst-nodelete2): Likewise.
23138 ($(objpfx)tst-nodelete2.out): Likewise.
23139 (LDFLAGS-tst-nodelete2): Likewise.
23140 * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
23141 out of loop through all loaded libraries.
23142 * elf/tst-nodelete2.c: New file.
23143 * elf/tst-nodelete2mod.c: Likewise.
23144 * elf/tst-znodelete-zlib.cc: Delete.
23145
23146 2015-08-11 Andreas Schwab <schwab@suse.de>
23147
23148 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
23149 * sysdeps/unix/sysv/linux/wordsize-64/openat.c
23150 (__openat64_nocancel): Likewise.
23151
23152 2015-08-11 Joseph Myers <joseph@codesourcery.com>
23153
23154 * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
23155 atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
23156 expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
23157 * math/auto-libm-test-out: Regenerated.
23158 * sysdeps/i386/fpu/libm-test-ulps: Update.
23159 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
23160
23161 2015-08-10 Joseph Myers <joseph@codesourcery.com>
23162
23163 [BZ #18790]
23164 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
23165 threshold for returning +/- 1.
23166 * math/auto-libm-test-in: Add more tests of tanh.
23167 * math/auto-libm-test-out: Regenerated.
23168 * sysdeps/i386/fpu/libm-test-ulps: Update.
23169
23170 2015-08-10 Andreas Schwab <schwab@suse.de>
23171
23172 [BZ #18781]
23173 * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
23174 MORE_OFLAGS to oflag.
23175 * io/test-lfs.c (do_test): Test openat64.
23176
23177 2015-08-10 Joseph Myers <joseph@codesourcery.com>
23178
23179 [BZ #18789]
23180 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
23181 smaller threshold for returning the argument.
23182 * math/auto-libm-test-in: Add more tests of sinh.
23183 * math/auto-libm-test-out: Regenerated.
23184 * sysdeps/i386/fpu/libm-test-ulps: Update.
23185
23186 2015-08-09 H.J. Lu <hongjiu.lu@intel.com>
23187
23188 [BZ #18674]
23189 * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
23190 break.
23191
23192 2015-08-09 Andreas Schwab <schwab@linux-m68k.org>
23193
23194 * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
23195 (generated): Don't add $(addprefix z.,$(tzfiles)).
23196
23197 2015-08-09 Mike Frysinger <vapier@gentoo.org>
23198
23199 * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
23200 * scripts/sysd-rules.awk: Likewise.
23201
23202 2015-08-09 Mike Frysinger <vapier@gentoo.org>
23203
23204 * iconvdata/tst-tables.sh: Change echo -n to printf.
23205 * nss/db-Makefile: Likewise.
23206 * posix/tst-getconf.sh: Likewise.
23207 * stdio-common/tst-unbputc.sh: Likewise.
23208
23209 2015-08-09 Mike Frysinger <vapier@gentoo.org>
23210
23211 * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
23212 MADV_*_PAGES defines behind this feature check.
23213
23214 2015-08-09 John David Anglin <danglin@gcc.gnu.org>
23215
23216 [BZ #18480]
23217 * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
23218 LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
23219 Define.
23220 (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
23221 LOAD_REGS_5, LOAD_REGS_6): Update.
23222 (INTERNAL_SYSCALL): Update using new LOAD defines.
23223 (INTERNAL_SYSCALL_NCS): Likewise.
23224 * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
23225
23226 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23227
23228 [BZ #16734]
23229 * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
23230
23231 2015-08-08 Paul Pluzhnikov <ppluzhnikov@google.com>
23232
23233 [BZ #17905]
23234 * catgets/Makefile (tst-catgets-mem): New test.
23235 * catgets/catgets.c (catopen): Don't use unbounded alloca.
23236 * catgets/open_catalog.c (__open_catalog): Likewise.
23237 * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
23238
23239 2015-08-08 John David Anglin <danglin@gcc.gnu.org>
23240
23241 [BZ #18787]
23242 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
23243 clobber registers.
23244 (atomic_compare_and_exchange_val_acq): Use register asms to assign
23245 operand registers. Use register %r20 for EAGAIN and EDEADLOCK checks.
23246 Cast return to __typeof (oldval).
23247
23248 2015-08-08 Mike Frysinger <vapier@gentoo.org>
23249
23250 * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
23251 in _LINUX_MICROBLAZE_SYSDEP_H defines. Include sysdeps/unix/sysdep.h
23252 and delete sys/syscall.h include.
23253
23254 2015-08-07 Joseph Myers <joseph@codesourcery.com>
23255
23256 [BZ #16517]
23257 * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
23258 (tan): Force underflow exception for arguments with small absolute
23259 value.
23260 * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
23261 (__kernel_tanf): Force underflow exception for arguments with
23262 small absolute value.
23263 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
23264 (__kernel_tanl): Force underflow exception for arguments with
23265 small absolute value.
23266 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
23267 (__kernel_tanl): Force underflow exception for arguments with
23268 small absolute value.
23269 * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
23270 (__kernel_tanl): Force underflow exception for arguments with
23271 small absolute value.
23272 * math/auto-libm-test-in: Add more tests of tan.
23273 * math/auto-libm-test-out: Regenerated.
23274
23275 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
23276
23277 Fix sysdeps/i386/fpu/s_scalbn.S build
23278
23279 * math/Versions (libc: GLIBC_2_22): New (empty) version set.
23280
23281 2015-08-07 Mike Frysinger <vapier@gentoo.org>
23282
23283 * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
23284
23285 2015-08-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
23286
23287 Fix gcrt0.o compilation
23288
23289 When static-start-installed-name is different from
23290 start-installed-name, we must not use the shared objects.
23291
23292 * csu/Makefile
23293 (extra-objs): Add gmon-start.o when building shared library and
23294 $(static-start-installed-name) is different from
23295 $(start-installed-name).
23296 $(objpfx)g$(static-start-installed-name): When building shared
23297 library and $(static-start-installed-name) is different from
23298 $(static-start-installed-name), revert to non-shared rule,
23299 i.e. using $(objpfx)% and gmon-start.o.
23300
23301 2015-08-06 Joseph Myers <joseph@codesourcery.com>
23302
23303 [BZ #16519]
23304 * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
23305 (__ieee754_sinh): Force underflow exception for arguments with
23306 small absolute value.
23307 * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
23308 (__ieee754_sinhf): Force underflow exception for arguments with
23309 small absolute value.
23310 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
23311 (__ieee754_sinhl): Force underflow exception for arguments with
23312 small absolute value.
23313 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
23314 (__ieee754_sinhl): Force underflow exception for arguments with
23315 small absolute value.
23316 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
23317 (__ieee754_sinhl): Force underflow exception for arguments with
23318 small absolute value.
23319 * math/auto-libm-test-in: Add more tests of sinh.
23320 * math/auto-libm-test-out: Regenerated.
23321 * sysdeps/i386/fpu/libm-test-ulps: Update.
23322
23323 2015-08-06 Paul Pluzhnikov <ppluzhnikov@google.com>
23324
23325 * libio/oldfileops.c: Include unistd.h.
23326
23327 2015-08-06 Mike Frysinger <vapier@gentoo.org>
23328
23329 * stdlib/isomac.c: Include ctype.h.
23330
23331 2015-08-06 Arjun Shankar <arjun.is@lostca.se>
23332
23333 * dirent/tst-seekdir.c (main): Converted to ...
23334 (do_test): ... this.
23335 (TEST_FUNCTION): New macro.
23336 Include test-skeleton.c.
23337 * elf/tst-dlmodcount.c (main): Converted to ...
23338 (do_test): ... this.
23339 (TEST_FUNCTION): New macro.
23340 Include test-skeleton.c.
23341 * elf/tst-order-main.c (main): Converted to ...
23342 (do_test): ... this.
23343 (TEST_FUNCTION): New macro.
23344 Include test-skeleton.c.
23345 * elf/tst-pie2.c (main): Converted to ...
23346 (do_test): ... this.
23347 (TEST_FUNCTION): New macro.
23348 Include test-skeleton.c.
23349 * inet/tst-ether_aton.c (main): Converted to ...
23350 (do_test): ... this.
23351 (TEST_FUNCTION): New macro.
23352 Include test-skeleton.c.
23353 * misc/tst-mntent.c (main): Converted to ...
23354 (do_test): ... this.
23355 (TEST_FUNCTION): New macro.
23356 Include test-skeleton.c.
23357 * misc/tst-tsearch.c (main): Converted to ...
23358 (do_test): ... this.
23359 (TEST_FUNCTION): New macro.
23360 Include test-skeleton.c.
23361 * posix/tst-regexloc.c (main): Converted to ...
23362 (do_test): ... this.
23363 (TEST_FUNCTION): New macro.
23364 Include test-skeleton.c.
23365 * resolv/tst-aton.c (main): Converted to ...
23366 (do_test): ... this.
23367 (TEST_FUNCTION): New macro.
23368 Include test-skeleton.c.
23369 * stdio-common/test-fwrite.c (main): Converted to ...
23370 (do_test): ... this.
23371 (TEST_FUNCTION): New macro.
23372 Include test-skeleton.c.
23373 * stdio-common/tst-ferror.c (main): Converted to ...
23374 (do_test): ... this.
23375 (TEST_FUNCTION): New macro.
23376 Include test-skeleton.c.
23377 * stdio-common/tst-printf.c (main): Converted to ...
23378 (do_test): ... this.
23379 (TEST_FUNCTION): New macro.
23380 Include test-skeleton.c.
23381 * stdio-common/tst-printfsz.c (main): Converted to ...
23382 (do_test): ... this.
23383 (TEST_FUNCTION): New macro.
23384 Include test-skeleton.c.
23385 * stdlib/tst-strtod.c (main): Converted to ...
23386 (do_test): ... this.
23387 (TEST_FUNCTION): New macro.
23388 Include test-skeleton.c.
23389 * string/tst-strlen.c (main): Converted to ...
23390 (do_test): ... this.
23391 (TEST_FUNCTION): New macro.
23392 Include test-skeleton.c.
23393 * string/tst-svc.c (main): Converted to ...
23394 (do_test): ... this.
23395 (TEST_FUNCTION): New macro.
23396 Include test-skeleton.c.
23397 * time/tst-strptime.c (main): Converted to ...
23398 (do_test): ... this.
23399 (TEST_FUNCTION): New macro.
23400 Include test-skeleton.c.
23401 * timezone/tst-timezone.c (main): Converted to ...
23402 (do_test): ... this.
23403 (TEST_FUNCTION): New macro.
23404 Include test-skeleton.c.
23405
23406 2015-08-05 Zack Weinberg <zackw@panix.com>
23407
23408 * misc/regexp.h: Update comments.
23409
23410 2015-08-05 Andreas Schwab <schwab@linux-m68k.org>
23411
23412 [BZ #18635]
23413 * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
23414 before return label.
23415
23416 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23417
23418 [BZ #18661]
23419 * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
23420 when calling __errno_location.
23421 * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
23422 * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
23423
23424 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23425
23426 [BZ #18661]
23427 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
23428 (__lll_timedwait_tid): Align stack to 16 bytes when calling
23429 __gettimeofday.
23430
23431 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23432
23433 [BZ #18661]
23434 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
23435 (__start_context): Don't use pop to restore %rdi so that stack
23436 is aligned to 16 bytes when calling __setcontext.
23437
23438 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23439
23440 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
23441 only for libc.
23442 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
23443
23444 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23445
23446 * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
23447 (__mempcpy): Likewise. (__mempcpy_inline): New inline function.
23448 * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
23449
23450 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23451
23452 * string/memccpy.c (memccpy):
23453 Improve performance by using memchr/memcpy/__mempcpy.
23454
23455 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23456
23457 * string/strncpy.c (strncpy):
23458 Improve performance by using __strnlen/memcpy.
23459
23460 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23461
23462 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
23463 Optimize to avoid an unnecessary FPCR read.
23464
23465 2015-08-05 Wilco Dijkstra <wdijkstr@arm.com>
23466
23467 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
23468 Optimize to reduce FPCR/FPSR accesses.
23469
23470 2015-08-05 H.J. Lu <hongjiu.lu@intel.com>
23471
23472 * locale/loadarchive.c (_nl_archive_subfreeres): Also check
23473 dead->data[category] != NULL.
23474
23475 2015-08-05 Joseph Myers <joseph@codesourcery.com>
23476
23477 [BZ #18647]
23478 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
23479 and |x| close to 1, use absolute value of x when computing log.
23480 * math/auto-libm-test-in: Add more tests of pow.
23481 * math/auto-libm-test-out: Regenerated.
23482
23483 2015-08-05 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23484
23485 * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
23486 * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
23487 * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
23488
23489 2015-08-05 Marko Myllynen <myllynen@redhat.com>
23490
23491 [BZ #18525]
23492 * locales/km_KH: Remove timezone definition.
23493 * locales/lo_LA: Likewise.
23494 * locales/my_MM: Likewise.
23495 * locales/nan_TW@latin: Likewise.
23496 * locales/th_TH: Likewise.
23497 * locales/uk_UA: Likewise.
23498
23499 2015-08-05 Daniel Marjamäki <daniel.marjamaki@evidente.se>
23500
23501 [BZ #18265]
23502 * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
23503 (wcsncat): Likewise.
23504 (wcscmp): Likewise.
23505 (wcsncmp): Likewise.
23506
23507 2015-08-05 Mike Frysinger <vapier@gentoo.org>
23508
23509 * test-skeleton.c (usage): New function.
23510 (main): Call usage when opt is '?'.
23511
23512 2015-08-05 Mike Frysinger <vapier@gentoo.org>
23513
23514 * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
23515 before first use.
23516
23517 2015-08-05 Mike Frysinger <vapier@gentoo.org>
23518
23519 * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
23520 bottom and under _STACK_GROWS_DOWN. Move the stacktop assignment
23521 in there too.
23522
23523 2015-08-05 Carlos O'Donell <carlos@systemhalted.org>
23524
23525 * version.h (RELEASE): Set to "development".
23526 (VERSION): Set to "2.22.90"
23527
23528 * version.h (RELEASE): Set to "stable".
23529 (VERSION): Set to "2.22"
23530 * include/features.h (__GLIBC_MINOR__): Set to 22.
23531
23532 2015-08-04 Chris Metcalf <cmetcalf@ezchip.com>
23533
23534 * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
23535 Restructure macro to avoid "value computed is not used" warning.
23536 (atomic_compare_and_exchange_val_acq): Likewise.
23537
23538 2015-08-04 Andreas Schwab <schwab@suse.de>
23539
23540 [BZ #18635]
23541 * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
23542 ret.
23543 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
23544
23545 2015-08-01 Carlos O'Donell <carlos@redhat.com>
23546
23547 * po/pl.po: Updated translation.
23548 * po/uk.po: Likewise.
23549 * po/fi.po: Likewise.
23550 * po/ko.po: Likewise.
23551 * po/ru.po: Likewise.
23552 * po/vi.po: Likewise.
23553
23554 2015-07-31 Zack Weinberg <zackw@panix.com>
23555
23556 [BZ #18681]
23557 * regexp.h: Add unconditional #warning stating that this header
23558 will be removed soon. Revise banner comment to match.
23559 (compile): Consistently use ERROR instead of RETURN to report
23560 errors (partial fix for bz#18681).
23561 * regexp.c: Don't include regexp.h. Remove some unnecessary
23562 declarations.
23563
23564 2015-07-31 Carlos O'Donell <carlos@redhat.com>
23565
23566 * po/libc.pot: Regenerated.
23567
23568 2015-07-30 Andrew Senkevich <andrew.senkevich@intel.com>
23569
23570 [BZ #18740]
23571 * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
23572 float-vlen4-arch-ext-cflags): Removed.
23573 * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
23574 CFLAGS-test-float-vlen4-wrappers.c): Likewise.
23575
23576 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23577
23578 [BZ #14113]
23579 * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
23580 aligned to __aligned__.
23581 (pthread_cond_t, pthread_rwlock_t): Likewise.
23582
23583 2015-07-30 Torvald Riegel <triegel@redhat.com>
23584
23585 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
23586
23587 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23588
23589 * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
23590 (struct sigaction): Change sa_flags from a long to an int, and add
23591 __glibc_reserved0 before it for padding when __WORDSIZE is 64.
23592
23593 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23594
23595 * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
23596 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
23597 sysdeps/generic/sysdep.h include.
23598 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
23599 _LINUX_HPPA_SYSDEP_H defines. Include sysdeps/unix/sysdep.h and
23600 sysdeps/hppa/sysdep.h.
23601 (ENTRY, PSEUDO): Undefine before defining.
23602
23603 2015-07-30 Mike Frysinger <vapier@gentoo.org>
23604
23605 * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
23606 from scratch to use INTERNAL_SYSCALL.
23607
23608 2015-07-29 H.J. Lu <hongjiu.lu@intel.com>
23609
23610 [BZ #18078]
23611 * scripts/check-localplt.awk: Support alternate relocations.
23612 * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
23613 sections.
23614 * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
23615 malloc entries with + REL R_386_GLOB_DAT.
23616 * sysdeps/x86_64/localplt.data: New file.
23617
23618 2015-07-29 Andrew Senkevich <andrew.senkevich@intel.com>
23619
23620 [BZ #18731]
23621 * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
23622 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
23623 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
23624
23625 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23626
23627 * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
23628
23629 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23630
23631 * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
23632 directly in terms of __sync_fetch_and_add and delete (int) cast.
23633
23634 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23635
23636 * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
23637 the -D_ASM_IA64_CURRENT_H flag.
23638
23639 2015-07-27 Mike Frysinger <vapier@gentoo.org>
23640
23641 [BZ #18641]
23642 * pwd/pwd.h (putpwent): Delete __nonnull markings.
23643
23644 2015-07-27 Andreas Schwab <schwab@suse.de>
23645
23646 * conform/conformtest.pl (checknamespace): Filter out string
23647 literals while tokenizing.
23648
23649 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
23650
23651 * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23652 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
23653 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23654
23655 2015-07-26 Chung-Lin Tang <cltang@codesourcery.com>
23656
23657 * nptl/tst-join7mod.c: Add #include <string.h>.
23658
23659 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
23660
23661 * sysdeps/nios2/libm-test-ulps: Update.
23662
23663 2015-07-25 Chung-Lin Tang <cltang@codesourcery.com>
23664
23665 * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
23666 Fix order of arguments to the rt_sigprocmask syscall.
23667 * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
23668 Likewise.
23669
23670 2015-07-24 Roland McGrath <roland@hack.frob.com>
23671
23672 * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
23673
23674 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23675
23676 [BZ #18457]
23677 * nptl/Makefile (tests): New test case tst-join7.
23678 (modules-names): New test case module tst-join7mod.
23679 * nptl/tst-join7.c: New file.
23680 * nptl/tst-join7mod.c: New file.
23681 * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
23682 all translation units in libc.so, libpthread.so and rtld.
23683
23684 2015-07-24 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23685
23686 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
23687
23688 2015-07-24 Andrew Senkevich <andrew.senkevich@intel.com>
23689
23690 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
23691 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
23692 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
23693 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
23694 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
23695 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
23696 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
23697 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
23698 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
23699 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
23700 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
23701 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
23702 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
23703 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
23704 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
23705 implementation.
23706
23707 2015-07-24 Szabolcs Nagy <szabolcs.nagy@arm.com>
23708
23709 [BZ #17711]
23710 * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23711 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
23712 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23713 * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
23714 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
23715 ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
23716
23717 2015-07-24 Siddhesh Poyarekar <siddhesh@redhat.com>
23718
23719 * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
23720 instead of just saying load lock in the comments.
23721
23722 2015-07-23 Roland McGrath <roland@hack.frob.com>
23723
23724 * sysdeps/unix/Subdirs: Moved ...
23725 * sysdeps/posix/Subdirs: ... here.
23726 * login/pty.h (struct termios, struct winsize): Add forward decls.
23727 * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
23728 * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
23729 * sysdeps/arm/nacl/libc.abilist: Updated.
23730 * sysdeps/nacl/libutil.abilist: New file.
23731
23732 * bits/signum.h: Update comments to mention 1003.1-2013 too.
23733 (SIGWINCH): New macro.
23734
23735 * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
23736 * sysdeps/arm/nacl/libc.abilist: Add it.
23737
23738 2015-07-23 Mike Frysinger <vapier@gentoo.org>
23739
23740 * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
23741
23742 2015-07-23 Mike Frysinger <vapier@gentoo.org>
23743
23744 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23745 Swap __glibc_reserved0 and sa_flags order.
23746
23747 2015-07-23 Siddhesh Poyarekar <siddhesh@redhat.com>
23748
23749 [BZ #18657]
23750 * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
23751 are pending TLS destructor calls.
23752 * include/link.h (struct link_map): Add concurrency note for
23753 L_TLS_DTOR_COUNT.
23754 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
23755 Don't touch the link map flag. Atomically increment
23756 l_tls_dtor_count.
23757 (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
23758 Avoid taking the load lock and don't touch the link map flag.
23759 * stdlib/tst-tls-atexit-nodelete.c: New test case.
23760 * stdlib/Makefile (tests): Use it.
23761 * stdlib/tst-tls-atexit.c (do_test): dlopen
23762 tst-tls-atexit-lib.so again before dlclose. Add conditionals
23763 to allow tst-tls-atexit-nodelete test case to use it.
23764
23765 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23766
23767 * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
23768 to bits/types.h.
23769 (msgqnum_t): New typedef.
23770 (msglen_t): Likewise.
23771 (struct msqid_ds): Update comment. Change msg_qnum type to msgqnum_t
23772 and msg_qbytes type to msglen_t.
23773
23774 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23775
23776 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
23777 pad0 to __glibc_reserved0.
23778 (struct stat64): Likewise.
23779
23780 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23781
23782 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
23783 Change sa_flags from a long to an int and add __glibc_reserved0 before
23784 it for padding.
23785
23786 2015-07-22 Mike Frysinger <vapier@gentoo.org>
23787
23788 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
23789 anonymous by deleting "siginfo" name.
23790
23791 2015-07-21 Roland McGrath <roland@hack.frob.com>
23792
23793 * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
23794 * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
23795 rather than __nacl_irt_filename.
23796 * sysdeps/nacl/xstat.c (__xstat): Likewise.
23797
23798 * NEWS: New item for arm-nacl port.
23799 * sysdeps/arm/nacl/libc.abilist: New file.
23800 * sysdeps/nacl/ld.abilist: New file.
23801 * sysdeps/nacl/libBrokenLocale.abilist: New file.
23802 * sysdeps/nacl/libanl.abilist: New file.
23803 * sysdeps/nacl/libcrypt.abilist: New file.
23804 * sysdeps/nacl/libdl.abilist: New file.
23805 * sysdeps/nacl/libm.abilist: New file.
23806 * sysdeps/nacl/libpthread.abilist: New file.
23807 * sysdeps/nacl/libresolv.abilist: New file.
23808 * sysdeps/nacl/librt.abilist: New file.
23809
23810 2015-07-21 Chris Metcalf <cmetcalf@ezchip.com>
23811
23812 * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
23813 __startcontext to initialize the new context.
23814 * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
23815 up CFI directive to forbid further backtracing.
23816
23817 2015-07-21 Marko Myllynen <myllynen@redhat.com>
23818
23819 * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
23820 reference.
23821 * charmaps/ANSI_X3.4-1968: Likewise.
23822 * charmaps/BS_4730: Likewise.
23823 * charmaps/BS_VIEWDATA: Likewise.
23824 * charmaps/CP1250: Likewise.
23825 * charmaps/CP1251: Likewise.
23826 * charmaps/CP1252: Likewise.
23827 * charmaps/CP1253: Likewise.
23828 * charmaps/CP1254: Likewise.
23829 * charmaps/CP1255: Likewise.
23830 * charmaps/CP1256: Likewise.
23831 * charmaps/CSN_369103: Likewise.
23832 * charmaps/EBCDIC-DK-NO: Likewise.
23833 * charmaps/GB_1988-80: Likewise.
23834 * charmaps/GREEK-CCITT: Likewise.
23835 * charmaps/GREEK7: Likewise.
23836 * charmaps/INIS-8: Likewise.
23837 * charmaps/ISIRI-3342: Likewise.
23838 * charmaps/ISO_2033-1983: Likewise.
23839 * charmaps/ISO_5427-EXT: Likewise.
23840 * locales/POSIX: Likewise.
23841 * locales/ar_SA: Likewise.
23842 * locales/be_BY: Likewise.
23843 * locales/be_BY@latin: Likewise.
23844 * locales/ca_ES: Likewise.
23845 * locales/cs_CZ: Likewise.
23846 * locales/da_DK: Likewise.
23847 * locales/de_BE: Likewise.
23848 * locales/de_CH: Likewise.
23849 * locales/de_LU: Likewise.
23850 * locales/en_AU: Likewise.
23851 * locales/en_BW: Likewise.
23852 * locales/en_CA: Likewise.
23853 * locales/en_DK: Likewise.
23854 * locales/en_GB: Likewise.
23855 * locales/en_IE: Likewise.
23856 * locales/en_NZ: Likewise.
23857 * locales/en_ZA: Likewise.
23858 * locales/en_ZW: Likewise.
23859 * locales/es_AR: Likewise.
23860 * locales/es_BO: Likewise.
23861 * locales/es_CL: Likewise.
23862 * locales/es_CO: Likewise.
23863 * locales/es_DO: Likewise.
23864 * locales/es_EC: Likewise.
23865 * locales/es_ES: Likewise.
23866 * locales/es_HN: Likewise.
23867 * locales/es_MX: Likewise.
23868 * locales/es_PA: Likewise.
23869 * locales/es_PE: Likewise.
23870 * locales/es_PY: Likewise.
23871 * locales/es_SV: Likewise.
23872 * locales/es_US: Likewise.
23873 * locales/es_UY: Likewise.
23874 * locales/es_VE: Likewise.
23875 * locales/et_EE: Likewise.
23876 * locales/fa_IR: Likewise.
23877 * locales/fo_FO: Likewise.
23878 * locales/fr_CA: Likewise.
23879 * locales/fr_CH: Likewise.
23880 * locales/gv_GB: Likewise.
23881 * locales/he_IL: Likewise.
23882 * locales/hr_HR: Likewise.
23883 * locales/id_ID: Likewise.
23884 * locales/is_IS: Likewise.
23885 * locales/it_CH: Likewise.
23886 * locales/iw_IL: Likewise.
23887 * locales/kl_GL: Likewise.
23888 * locales/ko_KR: Likewise.
23889 * locales/kw_GB: Likewise.
23890 * locales/lg_UG: Likewise.
23891 * locales/lt_LT: Likewise.
23892 * locales/lv_LV: Likewise.
23893 * locales/mi_NZ: Likewise.
23894 * locales/nhn_MX: Likewise.
23895 * locales/nl_BE: Likewise.
23896 * locales/pl_PL: Likewise.
23897 * locales/sk_SK: Likewise.
23898 * locales/sl_SI: Likewise.
23899 * locales/sv_FI: Likewise.
23900 * locales/tl_PH: Likewise.
23901 * locales/tr_TR: Likewise.
23902 * locales/vi_VN: Likewise.
23903
23904 2015-07-21 Khem Raj <raj.khem@gmail.com>
23905
23906 [BZ #17475]
23907 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
23908 of tu_IN and bh_IN.
23909
23910 2015-07-21 Mike Frysinger <vapier@gentoo.org>
23911
23912 [BZ #18694]
23913 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
23914 bits/wordsize.h.
23915 (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
23916
23917 2015-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
23918
23919 * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
23920 * stdlib/tst-tls-atexit.c: (is_loaded): New function.
23921 (spawn_thread): New function.
23922 (load): Rename to reg_dtor_and_close. Move dlopen to...
23923 (do_test): ... here. Use IS_LOADED to test for its
23924 availability.
23925
23926 2015-07-21 Andreas Schwab <schwab@linux-m68k.org>
23927
23928 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
23929
23930 2015-07-20 H.J. Lu <hongjiu.lu@intel.com>
23931
23932 [BZ #18696]
23933 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
23934 si_addr_bnd.
23935 (si_lower): New.
23936 (si_upper): Likewise.
23937
23938 2015-07-16 David S. Miller <davem@davemloft.net>
23939
23940 * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
23941
23942 2015-07-16 Adhemerval Zanella <adhemerval.zanella@linaro.org>
23943
23944 * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
23945 buffer.
23946 * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
23947 fail output information.
23948
23949 2015-07-16 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
23950
23951 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
23952 and strstr-ppc64..
23953 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
23954 * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
23955 * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
23956 * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
23957 * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
23958
23959 2015-07-16 Mike Frysinger <vapier@gentoo.org>
23960
23961 * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23962 * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23963 * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
23964 * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
23965
23966 2015-07-16 Mike Frysinger <vapier@gentoo.org>
23967
23968 * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
23969 * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
23970 rtld_hidden_proto.
23971 * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
23972
23973 2015-07-16 Siddhesh Poyarekar <siddhesh@redhat.com>
23974
23975 * tst-nodelete-opened.c (do_test): Add comment to clarify how
23976 the test can fail.
23977
23978 * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
23979
23980 [BZ #18676]
23981 * elf/tst-nodelete-opened.c: New test case.
23982 * elf/tst-nodelete-opened-lib.c: New test case module.
23983 * elf/Makefile (tests, modules-names): Use them.
23984 * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
23985 early.
23986
23987 2015-07-15 David S. Miller <davem@davemloft.net>
23988
23989 * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
23990 futex-intenal.h
23991 * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
23992 * sysdeps/sparc/sparc64/Makefile: Likewise.
23993 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
23994 Remove space from macro define.
23995 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
23996
23997 2015-07-15 Pravin Satpute <psatpute@redhat.com>
23998
23999 [BZ #17475]
24000 * locale/iso-639.def: Update Bhili and Tulu language codes as
24001 per iso639-3.
24002
24003 2015-07-15 Arjun Shankar <arjun.is@lostca.se>
24004
24005 * elf/tst-leaks1.c (main): Converted to ...
24006 (do_test): ... this.
24007 (TEST_FUNCTION): New macro.
24008 Include test-skeleton.c.
24009 * localedata/tst-langinfo.c (main): Converted to ...
24010 (do_test): ... this.
24011 (TEST_FUNCTION): New macro.
24012 Include test-skeleton.c.
24013 * math/test-fpucw.c (main): Converted to ...
24014 (do_test): ... this.
24015 (TEST_FUNCTION): New macro.
24016 Include test-skeleton.c.
24017 * math/test-tgmath.c (main): Converted to ...
24018 (do_test): ... this.
24019 (TEST_FUNCTION): New macro.
24020 Include test-skeleton.c.
24021 * math/test-tgmath2.c (main): Converted to ...
24022 (do_test): ... this.
24023 (TEST_FUNCTION): New macro.
24024 Include test-skeleton.c.
24025 * setjmp/tst-setjmp.c (main): Converted to ...
24026 (do_test): ... this.
24027 (TEST_FUNCTION): New macro.
24028 Include test-skeleton.c.
24029 * stdio-common/tst-sscanf.c (main): Converted to ...
24030 (do_test): ... this.
24031 (TEST_FUNCTION): New macro.
24032 Include test-skeleton.c.
24033 * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
24034 (do_test): ... this.
24035 (TEST_FUNCTION): New macro.
24036 Include test-skeleton.c.
24037
24038 * elf/tst-audit9.c (main): Converted to ...
24039 (do_test): ... this.
24040 (TEST_FUNCTION): New macro.
24041 Include test-skeleton.c.
24042
24043 2015-07-15 Mike Frysinger <vapier@gentoo.org>
24044
24045 * timezone/tst-tzset.c (TIMEOUT): Define to 5.
24046
24047 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
24048
24049 * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
24050 New variable.
24051
24052 2015-07-15 Stefan Liebler <stli@linux.vnet.ibm.com>
24053
24054 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24055
24056 2015-07-14 Roland McGrath <roland@hack.frob.com>
24057
24058 * sysdeps/generic/dl-fileid.h: New file.
24059 * sysdeps/posix/dl-fileid.h: New file.
24060 * sysdeps/nacl/dl-fileid.h: New file.
24061 * include/link.h: Include <dl-fileid.h>.
24062 (struct link_map): Replace l_dev and l_ino with l_file_id.
24063 * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
24064 than __fxstat64. Use _dl_file_id_match_p rather than comparing l_dev
24065 and l_ino directly. Initialize l_file_id rather than l_dev and l_ino.
24066
24067 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24068
24069 * stdlib/tst-tls-atexit.c (do_test): Fix typo.
24070
24071 2015-07-14 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24072
24073 * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
24074 Add iff $CXX is set.
24075 [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
24076 Likewise.
24077 (tst-nodelete-zmodiff): Likewise.
24078 * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
24079
24080 2015-07-14 Siddhesh Poyarekar <siddhesh@redhat.com>
24081
24082 * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
24083
24084 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
24085
24086 * sysdeps/aarch64/fpu/math_private.h
24087 (define math_opt_barrier): Add AArch64 version.
24088 (math_force_eval): Likewise.
24089
24090 2015-07-13 Wilco Dijkstra <wdijkstr@arm.com>
24091
24092 * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
24093
24094 2015-07-11 H.J. Lu <hongjiu.lu@intel.com>
24095
24096 * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
24097 %ld with %jd and cast to intmax_t.
24098 (do_test_length_zero): Likewise.
24099
24100 2015-07-10 Roland McGrath <roland@hack.frob.com>
24101
24102 * sysdeps/nacl/pthread_condattr_setclock.c: New file.
24103
24104 2015-07-10 Chris Metcalf <cmetcalf@ezchip.com>
24105
24106 * sysdeps/tile/libm-test-ulps: Regenerated.
24107
24108 * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
24109 Comment out the whole function, not just its body.
24110
24111 2015-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
24112
24113 * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
24114 locks.
24115
24116 * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
24117
24118 2015-07-10 Torvald Riegel <triegel@redhat.com>
24119
24120 * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
24121 (sem_assume_only_signals_cause_futex_EINTR): Remove.
24122
24123 2015-07-10 Torvald Riegel <triegel@redhat.com>
24124
24125 * sysdeps/nptl/futex-internal.h: New file.
24126 * sysdeps/nacl/futex-internal.h: New file.
24127 * sysdeps/unix/sysv/linux/futex-internal.h: New file.
24128 * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
24129 error checking.
24130 (setxid_unmark_thread): Likewise.
24131 (__nptl_setxid): Likewise.
24132 (__wait_lookup_done): Likewise.
24133 * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
24134 * nptl/nptl-init.c (sighandler_setxid): Likewise.
24135 * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
24136 * nptl/pthread_once.c (clear_once_control): Likewise.
24137 (__pthread_once_slow): Likewise.
24138 * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
24139 * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
24140 * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
24141 * sysdeps/nptl/fork.c (__libc_fork): Likewise.
24142 * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
24143 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
24144 Likewise.
24145 (__pthread_rwlock_rdlock): Likewise.
24146 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24147 Likewise.
24148 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24149 Likewise.
24150 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
24151 Likewise.
24152 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
24153 * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
24154 Likewise.
24155 * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
24156 __ASSUME_PRIVATE_FUTEX check.
24157 * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
24158 Check that shared futexes are supported.
24159 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
24160 wrappers with error checking.
24161 * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
24162 remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
24163 * nptl/pthread_barrierattr_setpshared.c
24164 (pthread_barrierattr_setpshared): Check that shared futexes are
24165 supported.
24166 * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
24167 Likewise.
24168 * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
24169 Likewise.
24170 * nptl/sem_init.c (futex_private_if_supported): Remove.
24171 (__new_sem_init): Adapt and check that shared futexes are supported.
24172 * nptl/sem_open.c (sem_open): Likewise.
24173 * nptl/sem_post.c (futex_wake): Remove.
24174 * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
24175 (do_futex_wait): Use futex wrappers with error checking.
24176 * nptl/sem_wait.c: Include lowlevellock.h.
24177 * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
24178 Use futex_supports_pshared.
24179 * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
24180 Use futex wrappers with error checking.
24181 * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
24182 Likewise.
24183 * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
24184 * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
24185 * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
24186 * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
24187 (futex_wake): Likewise.
24188 (sem_assume_only_signals_cause_futex_EINTR): Likewise.
24189 (do_futex_wait): Use futex wrappers with error checking.
24190 (__new_sem_wait_slow): Update EINTR handling.
24191 * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
24192
24193 2015-07-09 Martin Sebor <msebor@redhat.com>
24194
24195 [BZ #18435]
24196 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
24197 Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
24198 * nptl/Makefile (test-xfail-tst-once5): Define.
24199
24200 2015-07-09 Roland McGrath <roland@hack.frob.com>
24201
24202 * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
24203 * elf/dl-minimal.c: For readability, reorder some definitions and
24204 introduce more page breaks. Include <stdio.h>.
24205 (__libc_fatal): New function.
24206
24207 * include/unistd.h: Add rtld_hidden_proto for _exit.
24208 * posix/_exit.c: Add rtld_hidden_def.
24209 * sysdeps/mach/hurd/_exit.c: Likewise.
24210 * sysdeps/nacl/_exit.c: Likewise.
24211 * sysdeps/unix/sysv/linux/_exit.c: Likewise.
24212 * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
24213
24214 2015-07-09 H.J. Lu <hongjiu.lu@intel.com>
24215
24216 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
24217 bndmov encoding with zero displacement.
24218
24219 2015-07-09 Igor Zamyatin <igor.zamyatin@intel.com>
24220 H.J. Lu <hongjiu.lu@intel.com>
24221
24222 [BZ #18134]
24223 * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
24224 * sysdeps/i386/configure: Regenerated.
24225 * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
24226 (_dl_runtime_profile): Save and restore Intel MPX return bound
24227 registers when calling _dl_call_pltexit. Add
24228 PRESERVE_BND_REGS_PREFIX before return.
24229 * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
24230 (LRV_BND1_OFFSET): Likewise.
24231 * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
24232 lrv_bnd1.
24233 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
24234 typo in bndmov encoding.
24235 * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
24236 Intel MPX bound registers. Add PRESERVE_BND_REGS_PREFIX before
24237 branch instructions to preserve bounds.
24238
24239 2015-07-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24240
24241 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
24242 [GLIBC_2.22]: Add fmemopen.
24243
24244 2015-07-09 Samuel Thibault <samuel.thibault@ens-lyon.org>
24245
24246 * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
24247 returns an error, also try to use host port from __mach_host_self for
24248 the __vm_wire call.
24249 * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
24250
24251 2015-07-09 Szabolcs Nagy <szabolcs.nagy@arm.com>
24252
24253 [BZ #18400]
24254 [BZ #18648]
24255 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
24256 Fix pr_uid and pr_gid members.
24257 * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
24258 definition to elf_greg_t.
24259
24260 2015-07-08 Roland McGrath <roland@hack.frob.com>
24261
24262 [BZ #18383]
24263 * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
24264 Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
24265 * sysdeps/arm/configure: Regenerated.
24266 * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
24267 (test-xfail-tst-tlsalign-static): Variable removed.
24268
24269 * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
24270 * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
24271 rather than explicit 'ln -s'.
24272
24273 * resolv/rpc/netdb.h: New file.
24274 * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
24275
24276 2015-07-08 Adhemerval Zanella <adhemerval.zanella@linaro.org>
24277
24278 * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
24279 length buffers.
24280 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
24281 test-skeleton.c.
24282
24283 [BZ #6544]
24284 [BZ #11216]
24285 [BZ #12836]
24286 [BZ #13151]
24287 [BZ #13152]
24288 [BZ #14292]
24289 * include/stdio.h (fmemopen): Remove hidden prototype.
24290 (__fmemopen): Add new hidden prototype.
24291 * libio/Makefile: Add oldfmemopen object.
24292 * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
24293 * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
24294 compliance.
24295 * libio/oldfmemopen.c: New file: old fmemopen implementation for
24296 symbol compatibility.
24297 * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
24298 * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
24299 fmemopen.
24300 * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
24301 on append and read mode.
24302 * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
24303 fmemopen.
24304 * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
24305 * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
24306 * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
24307 * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
24308 Likewise.
24309 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
24310 [GLIBC_2.22]: Likewise.
24311 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
24312 Likewise.
24313 * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
24314 Likewise.
24315 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
24316 [GLIBC_2.22]: Likewise.
24317 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
24318 [GLIBC_2.22]: Likewise.
24319 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
24320 [GLIBC_2.22]: Likewise.
24321 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
24322 [GLIBC_2.22]: Likewise.
24323 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
24324 [GLIBC_2.22]: Likewise.
24325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
24326 [GLIBC_2.22]: Likewise.
24327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
24328 [GLIBC_2.22]: Likewise.
24329 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
24330 Likewise.
24331 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
24332 Likewise.
24333 * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
24334 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
24335 [GLIBC_2.22]: Likewise.
24336 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
24337 [GLIBC_2.22]: Likewise.
24338 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
24339 [GLIBC_2.22]: Likewise.
24340 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
24341 [GLIBC_2.22]: Likewise.
24342 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
24343 Likewise.
24344 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
24345 Likewise.
24346 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
24347 Likewise.
24348 * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
24349 * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
24350
24351 2015-07-08 Carlos O'Donell <carlos@redhat.com>
24352
24353 [BZ #18643]
24354 * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
24355 IPV6_PATHMTU, and IPV6_DONTFRAG.
24356
24357 2015-07-08 Feng Gao <gfree.wind@gmail.com>
24358
24359 * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
24360 and _IO_UNBUFFERED.
24361 * libio/oldfileops.c: Likewise.
24362 * libio/wfileops.c: Likewise.
24363
24364 2015-07-08 Mike Frysinger <vapier@gentoo.org>
24365
24366 * nscd/selinux.c: Delete selinux/flask.h include.
24367
24368 2015-07-08 Mike Frysinger <vapier@gentoo.org>
24369
24370 [BZ #18641]
24371 * pwd/pwd.h (fgetpwent): Add __nonnull markings.
24372 (putpwent): Likewise.
24373 (getpwnam): Likewise.
24374 (getpwent_r): Likewise.
24375 (getpwuid_r): Likewise.
24376 (getpwnam_r): Likewise.
24377 (fgetpwent_r): Likewise.
24378
24379 2015-07-08 Carlos O'Donell <carlos@redhat.com>
24380
24381 [BZ #18557]
24382 * inet/rcmd.c (__validuser2_sa): Check user first to
24383 short-circuit host check.
24384
24385 2015-07-07 Pavel Kopyl <p.kopyl@samsung.com>
24386 Mikhail Ilin <m.ilin@samsung.com>
24387
24388 [BZ #17833]
24389 * elf/Makefile (tests): Add tst-nodelete.
24390 (modules-names): Add tst-nodelete-uniquemod.
24391 (tst-nodelete-uniquemod.so-no-z-defs): New.
24392 (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
24393 (tst-nodelete-zmod.so-no-z-defs): Likewise.
24394 ($(objpfx)tst-nodelete): Likewise.
24395 ($(objpfx)tst-nodelete.out): Likewise.
24396 (LDFLAGS-tst-nodelete): Likewise.
24397 (LDFLAGS-tst-nodelete-zmod.so): Likewise.
24398 * elf/dl-close.c (_dl_close_worker): Add a parameter to
24399 implement forced object deletion.
24400 (_dl_close): Pass false to _dl_close_worker.
24401 * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
24402 * elf/tst-nodelete.cc: New file.
24403 * elf/tst-nodeletelib.cc: Likewise.
24404 * elf/tst-znodeletelib.cc: Likewise.
24405 * include/dlfcn.h (_dl_close_worker): Add a new parameter.
24406
24407 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
24408
24409 [BZ #18508]
24410 * stdlib/Makefile ($(objpfx)tst-makecontext3):
24411 Depend on $(libdl).
24412 * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
24413 is not called infinitely times.
24414 (backtrace_helper): New function.
24415 (trace_arg): New struct.
24416 (st1): Enlarge stack size.
24417 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
24418 (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
24419 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
24420 Likewise.
24421
24422 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
24423
24424 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
24425
24426 2015-07-07 Stefan Liebler <stli@linux.vnet.ibm.com>
24427
24428 * sysdeps/unix/sysv/linux/s390/bits/sem.h:
24429 Include sys/types.h instead of bits/types.h.
24430 Remove inclusion of bits/wordsize.h.
24431
24432 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
24433
24434 * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
24435 * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
24436 * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
24437 * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
24438 * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
24439 * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
24440
24441 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
24442
24443 * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
24444 link-defines.sym.
24445 * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
24446 (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
24447 LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
24448 and LR_SIZE.
24449 * sysdeps/i386/link-defines.sym: New file.
24450
24451 2015-07-07 H.J. Lu <hongjiu.lu@intel.com>
24452
24453 * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
24454 (modules-names): Add tst-auditmod3a tst-auditmod3b.
24455 ($(objpfx)tst-audit3): New rule.
24456 ($(objpfx)tst-audit3.out): Likewise.
24457 * sysdeps/i386/tst-audit3.c: New file.
24458 * sysdeps/i386/tst-audit3.h: Likewise.
24459 * sysdeps/i386/tst-auditmod3a.c: Likewise.
24460 * sysdeps/i386/tst-auditmod3b.c: Likewise.
24461
24462 2015-07-07 Torvald Riegel <triegel@redhat.com>
24463
24464 [BZ #18633]
24465 * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
24466 pointer in C code.
24467 (__strcat_c): Likewise.
24468 (__strcat_g): Likewise.
24469
24470 2015-07-07 Cyril Hrubis <chrubis@suse.cz>
24471
24472 [BZ #18592]
24473 * misc/sbrk.c: Set errno to ENOMEM on overflow.
24474
24475 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
24476
24477 * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
24478 New function. (__ieee754_sqrtf): New function.
24479 * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
24480 New function.
24481 * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
24482 New function.
24483
24484 2015-07-06 Wilco Dijkstra <wdijkstr@arm.com>
24485
24486 * sysdeps/ieee754/support.c: Remove unused file.
24487
24488 2015-07-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
24489
24490 * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
24491 registers instead of d ones so the layout is kernel abi compatible.
24492 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
24493 * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
24494 Likewise.
24495
24496 2015-07-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
24497
24498 * sysdeps/aarch64/libm-test-ulps: Regenerated.
24499
24500 2015-07-01 Joseph Myers <joseph@codesourcery.com>
24501
24502 [BZ #18619]
24503 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
24504 and return argument in case of subnormal argument.
24505
24506 2015-07-01 Martin Sebor <msebor@redhat.com>
24507
24508 [BZ #18435]
24509 * nptl/Makefile: Add tst-once5.cc.
24510 * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
24511 Remove macro redefinitions.
24512 * nptl/tst-once5.cc: New test.
24513
24514 2015-07-01 Joseph Myers <joseph@codesourcery.com>
24515
24516 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
24517
24518 * sysdeps/arm/libm-test-ulps: Regenerated.
24519
24520 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
24521 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
24522
24523 2015-06-30 Torvald Riegel <triegel@redhat.com>
24524
24525 * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
24526 lll_lock_wait_private and lll_futex_wake probes.
24527
24528 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24529 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
24530 Likewise.
24531 * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
24532 atomic_spin_nop.
24533 * sysdeps/x86_64/bits/atomic.h: Likewise.
24534 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
24535 to atomic_spin_nop and move ...
24536 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
24537 ... here and ...
24538 * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
24539 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
24540 atomic_spin_nop instead of BUSY_WAIT_NOP.
24541 * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
24542 Likewise.
24543 * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
24544 * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
24545 (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
24546 * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
24547 instead of atomic_delay.
24548
24549 2015-06-29 Joseph Myers <joseph@codesourcery.com>
24550
24551 [BZ #18613]
24552 * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
24553 X_ADJ not X when adjusting exponent.
24554 (__ieee754_gamma_r): Do intermediate computations in
24555 round-to-nearest then adjust overflowing and underflowing results
24556 as needed.
24557 * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
24558 of X_ADJ not X when adjusting exponent.
24559 (__ieee754_gammaf_r): Do intermediate computations in
24560 round-to-nearest then adjust overflowing and underflowing results
24561 as needed.
24562 * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
24563 log of X_ADJ not X when adjusting exponent.
24564 (__ieee754_gammal_r): Do intermediate computations in
24565 round-to-nearest then adjust overflowing and underflowing results
24566 as needed. Use 1.0L not 1.0f as numerator of division.
24567 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
24568 log of X_ADJ not X when adjusting exponent.
24569 (__ieee754_gammal_r): Do intermediate computations in
24570 round-to-nearest then adjust overflowing and underflowing results
24571 as needed. Use 1.0L not 1.0f as numerator of division.
24572 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
24573 of X_ADJ not X when adjusting exponent.
24574 (__ieee754_gammal_r): Do intermediate computations in
24575 round-to-nearest then adjust overflowing and underflowing results
24576 as needed. Use 1.0L not 1.0f as numerator of division.
24577 * math/libm-test.inc (tgamma_test_data): Remove one test. Moved
24578 to auto-libm-test-in.
24579 (tgamma_test): Use ALL_RM_TEST.
24580 * math/auto-libm-test-in: Add one test of tgamma. Mark some other
24581 tests of tgamma with spurious-overflow.
24582 * math/auto-libm-test-out: Regenerated.
24583 * math/gen-libm-have-vector-test.sh: Do not check for START.
24584 * sysdeps/i386/fpu/libm-test-ulps: Update.
24585 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24586
24587 [BZ #18612]
24588 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
24589 arguments, just return 0.5 times the argument, with underflow
24590 forced as needed.
24591 * math/auto-libm-test-in: Add more tests of j1.
24592 * math/auto-libm-test-out: Regenerated.
24593
24594 [BZ #16559]
24595 * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
24596 (__ieee754_j1): Force underflow exception for small results.
24597 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24598 * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
24599 (__ieee754_j1f): Force underflow exception for small results.
24600 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24601 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24602 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24603 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
24604 (__ieee754_j1l): Force underflow exception for small results.
24605 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24606 * math/auto-libm-test-in: Add more tests of j1 and jn.
24607 * math/auto-libm-test-out: Regenerated.
24608
24609 * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
24610 * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
24611 (PF_MPLS): Likewise.
24612 (AF_IB): Likewise.
24613 (AF_MPLS): Likewise.
24614 * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
24615 value and macro.
24616 (MS_RMT_MASK): Include MS_LAZYTIME.
24617
24618 2015-06-26 Mel Gorman <mgorman@suse.de>
24619
24620 [BZ #18502]
24621 * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
24622 already minimal.
24623
24624 2015-06-26 Matthew Fortune <matthew.fortune@imgtec.com>
24625
24626 * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
24627 (DT_MIPS_NUM): Update.
24628 * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
24629 DT_MIPS_RLD_MAP_REL.
24630
24631 2015-06-25 Joseph Myers <joseph@codesourcery.com>
24632
24633 [BZ #16559]
24634 [BZ #18602]
24635 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
24636 round-to-nearest internally then recompute results that
24637 underflowed to zero in the original rounding mode.
24638 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24639 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24640 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24641 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24642 * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
24643 * sysdeps/i386/fpu/libm-test-ulps: Update.
24644 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24645
24646 2015-06-25 Andrew Senkevich <andrew.senkevich@intel.com>
24647
24648 * NEWS: Fixed description of link with vector math library.
24649
24650 2015-06-25 Andreas Schwab <schwab@suse.de>
24651
24652 [BZ #18549]
24653 * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
24654 * libio/test-fmemopen.c (do_test): Add test for it.
24655
24656 2015-06-25 H.J. Lu <hongjiu.lu@intel.com>
24657
24658 [BZ #17841]
24659 * Makeconfig (no-pie-ldflag): New.
24660 (+link): Set to $(+link-pie) if default to PIE.
24661 (+link-tests): Set to $(+link-pie-tests) if default to PIE.
24662 * config.make.in (build-pie-default): New.
24663 * configure.ac (libc_cv_pie_default): New. Set to yes if -fPIE
24664 is default. AC_SUBST.
24665 * configure: Regenerated.
24666 * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
24667
24668 2015-06-24 Roland McGrath <roland@hack.frob.com>
24669
24670 * nptl/descr.h (struct pthread): Change type of field setxid_futex
24671 to 'unsigned int'.
24672
24673 * resolv/gai_misc.h (struct waitlist): Change type of field
24674 counterp to 'volatile unsigned int *'.
24675 * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
24676 FUTEXADDR and OLDVAL.
24677 * resolv/getaddrinfo_a.c (getaddrinfo_a):
24678 Give local variable TOTAL type 'volatile unsigned int'.
24679 (struct async_waitlist): Change type of field counter to 'unsigned int'.
24680 * resolv/gai_suspend.c (gai_suspend):
24681 Give local variable CNTR type 'unsigned int'.
24682
24683 * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
24684 counterp to 'volatile unsigned int *'.
24685 * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
24686 (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
24687 (aio_suspend): Give local variable CNTR type 'unsigned int'.
24688 * sysdeps/pthread/lio_listio.c (lio_listio_internal):
24689 Give local variable TOTAL type 'volatile unsigned int'.
24690 (struct async_waitlist): Change type of field counter to 'unsigned int'.
24691
24692 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
24693
24694 [BZ #18383]
24695 * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
24696 TCB_OFFSET to MAX_ALIGN, not just TCBALIGN. Add comment.
24697 * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
24698 comment for i386/x86-64.
24699 (test-xfail-tst-tlsalign-extern-static): Removed.
24700
24701 2015-06-24 Joseph Myers <joseph@codesourcery.com>
24702
24703 * math/test-double.h: New file.
24704 * math/test-float.h: Likewise.
24705 * math/test-ldouble.h: Likewise.
24706 * math/test-math-inline.h: Likewise.
24707 * math/test-math-no-inline.h: Likewise.
24708 * math/test-math-scalar.h: Likewise.
24709 * math/test-math-vector.h: Likewise.
24710 * math/test-vec-loop.h: Remove file. Contents moved into
24711 test-math-vector.h.
24712 * math/libm-test.inc (MATHCONST): Do not document macro.
24713 * math/test-double.c: Include test-double.h, test-math-no-inline.h
24714 and test-math-scalar.h.
24715 (FUNC): Remove macro.
24716 (FUNC_TEST): Likewise.
24717 (FLOAT): Likewise.
24718 (MATHCONST): Likewise.
24719 (PRINTF_EXPR): Likewise.
24720 (PRINTF_XEXPR): Likewise.
24721 (PRINTF_NEXPR): Likewise.
24722 (TEST_DOUBLE): Likewise.
24723 (TEST_MATHVEC): Likewise.
24724 (__NO_MATH_INLINES): Likewise.
24725 * math/test-float.c: Include test-float.h, test-math-no-inline.h
24726 and test-math-scalar.h.
24727 (FUNC): Remove macro.
24728 (FUNC_TEST): Likewise.
24729 (FLOAT): Likewise.
24730 (MATHCONST): Likewise.
24731 (PRINTF_EXPR): Likewise.
24732 (PRINTF_XEXPR): Likewise.
24733 (PRINTF_NEXPR): Likewise.
24734 (TEST_FLOAT): Likewise.
24735 (TEST_MATHVEC): Likewise.
24736 (__NO_MATH_INLINES): Likewise.
24737 * math/test-idouble.c: Include test-double.h, test-math-inline.h
24738 and test-math-scalar.h.
24739 (FUNC): Remove macro.
24740 (FUNC_TEST): Likewise.
24741 (FLOAT): Likewise.
24742 (MATHCONST): Likewise.
24743 (PRINTF_EXPR): Likewise.
24744 (PRINTF_XEXPR): Likewise.
24745 (PRINTF_NEXPR): Likewise.
24746 (TEST_DOUBLE): Likewise.
24747 (TEST_MATHVEC): Likewise.
24748 (TEST_INLINE): Likewise.
24749 (__NO_MATH_INLINES): Likewise.
24750 * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
24751 test-math-scalar.h.
24752 (FUNC): Remove macro.
24753 (FUNC_TEST): Likewise.
24754 (FLOAT): Likewise.
24755 (MATHCONST): Likewise.
24756 (PRINTF_EXPR): Likewise.
24757 (PRINTF_XEXPR): Likewise.
24758 (PRINTF_NEXPR): Likewise.
24759 (TEST_FLOAT): Likewise.
24760 (TEST_MATHVEC): Likewise.
24761 (TEST_INLINE): Likewise.
24762 (__NO_MATH_INLINES): Likewise.
24763 * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
24764 and test-math-scalar.h.
24765 (FUNC): Remove macro.
24766 (FUNC_TEST): Likewise.
24767 (FLOAT): Likewise.
24768 (MATHCONST): Likewise.
24769 (PRINTF_EXPR): Likewise.
24770 (PRINTF_XEXPR): Likewise.
24771 (PRINTF_NEXPR): Likewise.
24772 (TEST_LDOUBLE): Likewise.
24773 (TEST_MATHVEC): Likewise.
24774 (TEST_INLINE): Likewise.
24775 (__NO_MATH_INLINES): Likewise.
24776 * math/test-ldouble.c: Include test-ldouble.h,
24777 test-math-no-inline.h and test-math-scalar.h.
24778 (FUNC): Remove macro.
24779 (FUNC_TEST): Likewise.
24780 (FLOAT): Likewise.
24781 (MATHCONST): Likewise.
24782 (PRINTF_EXPR): Likewise.
24783 (PRINTF_XEXPR): Likewise.
24784 (PRINTF_NEXPR): Likewise.
24785 (TEST_LDOUBLE): Likewise.
24786 (TEST_MATHVEC): Likewise.
24787 (__NO_MATH_INLINES): Likewise.
24788 * math/test-double-vlen2.h: Include test-double.h,
24789 test-math-no-inline.h and test-math-vector.h.
24790 (FLOAT): Remove macro.
24791 (FUNC): Likewise.
24792 (MATHCONST): Likewise.
24793 (PRINTF_EXPR): Likewise.
24794 (PRINTF_XEXPR): Likewise.
24795 (PRINTF_NEXPR): Likewise.
24796 (TEST_DOUBLE): Likewise.
24797 (TEST_MATHVEC): Likewise.
24798 (__NO_MATH_INLINES): Likewise.
24799 (CNCT): Likewise.
24800 (CONCAT): Likewise.
24801 (WRAPPER_NAME): Likewise.
24802 (WRAPPER_DECL): Likewise.
24803 (WRAPPER_DECL_ff): Likewise.
24804 (WRAPPER_DECL_fFF): Likewise.
24805 (VECTOR_WRAPPER): Likewise.
24806 (VECTOR_WRAPPER_ff): Likewise.
24807 (VECTOR_WRAPPER_fFF): Likewise.
24808 (VEC_LEN): New macro.
24809 * math/test-double-vlen4.h: Include test-double.h,
24810 test-math-no-inline.h and test-math-vector.h.
24811 (FLOAT): Remove macro.
24812 (FUNC): Likewise.
24813 (MATHCONST): Likewise.
24814 (PRINTF_EXPR): Likewise.
24815 (PRINTF_XEXPR): Likewise.
24816 (PRINTF_NEXPR): Likewise.
24817 (TEST_DOUBLE): Likewise.
24818 (TEST_MATHVEC): Likewise.
24819 (__NO_MATH_INLINES): Likewise.
24820 (CNCT): Likewise.
24821 (CONCAT): Likewise.
24822 (WRAPPER_NAME): Likewise.
24823 (WRAPPER_DECL): Likewise.
24824 (WRAPPER_DECL_ff): Likewise.
24825 (WRAPPER_DECL_fFF): Likewise.
24826 (VECTOR_WRAPPER): Likewise.
24827 (VECTOR_WRAPPER_ff): Likewise.
24828 (VECTOR_WRAPPER_fFF): Likewise.
24829 (VEC_LEN): New macro.
24830 * math/test-double-vlen8.h: Include test-double.h,
24831 test-math-no-inline.h and test-math-vector.h.
24832 (FLOAT): Remove macro.
24833 (FUNC): Likewise.
24834 (MATHCONST): Likewise.
24835 (PRINTF_EXPR): Likewise.
24836 (PRINTF_XEXPR): Likewise.
24837 (PRINTF_NEXPR): Likewise.
24838 (TEST_DOUBLE): Likewise.
24839 (TEST_MATHVEC): Likewise.
24840 (__NO_MATH_INLINES): Likewise.
24841 (CNCT): Likewise.
24842 (CONCAT): Likewise.
24843 (WRAPPER_NAME): Likewise.
24844 (WRAPPER_DECL): Likewise.
24845 (WRAPPER_DECL_ff): Likewise.
24846 (WRAPPER_DECL_fFF): Likewise.
24847 (VECTOR_WRAPPER): Likewise.
24848 (VECTOR_WRAPPER_ff): Likewise.
24849 (VECTOR_WRAPPER_fFF): Likewise.
24850 (VEC_LEN): New macro.
24851 * math/test-float-vlen4.h: Include test-float.h,
24852 test-math-no-inline.h and test-math-vector.h.
24853 (FLOAT): Remove macro.
24854 (FUNC): Likewise.
24855 (MATHCONST): Likewise.
24856 (PRINTF_EXPR): Likewise.
24857 (PRINTF_XEXPR): Likewise.
24858 (PRINTF_NEXPR): Likewise.
24859 (TEST_FLOAT): Likewise.
24860 (TEST_MATHVEC): Likewise.
24861 (__NO_MATH_INLINES): Likewise.
24862 (CNCT): Likewise.
24863 (CONCAT): Likewise.
24864 (WRAPPER_NAME): Likewise.
24865 (WRAPPER_DECL): Likewise.
24866 (WRAPPER_DECL_ff): Likewise.
24867 (WRAPPER_DECL_fFF): Likewise.
24868 (VECTOR_WRAPPER): Likewise.
24869 (VECTOR_WRAPPER_ff): Likewise.
24870 (VECTOR_WRAPPER_fFF): Likewise.
24871 (VEC_LEN): New macro.
24872 * math/test-float-vlen8.h: Include test-float.h,
24873 test-math-no-inline.h and test-math-vector.h.
24874 (FLOAT): Remove macro.
24875 (FUNC): Likewise.
24876 (MATHCONST): Likewise.
24877 (PRINTF_EXPR): Likewise.
24878 (PRINTF_XEXPR): Likewise.
24879 (PRINTF_NEXPR): Likewise.
24880 (TEST_FLOAT): Likewise.
24881 (TEST_MATHVEC): Likewise.
24882 (__NO_MATH_INLINES): Likewise.
24883 (CNCT): Likewise.
24884 (CONCAT): Likewise.
24885 (WRAPPER_NAME): Likewise.
24886 (WRAPPER_DECL): Likewise.
24887 (WRAPPER_DECL_ff): Likewise.
24888 (WRAPPER_DECL_fFF): Likewise.
24889 (VECTOR_WRAPPER): Likewise.
24890 (VECTOR_WRAPPER_ff): Likewise.
24891 (VECTOR_WRAPPER_fFF): Likewise.
24892 (VEC_LEN): New macro.
24893 * math/test-float-vlen16.h: Include test-float.h,
24894 test-math-no-inline.h and test-math-vector.h.
24895 (FLOAT): Remove macro.
24896 (FUNC): Likewise.
24897 (MATHCONST): Likewise.
24898 (PRINTF_EXPR): Likewise.
24899 (PRINTF_XEXPR): Likewise.
24900 (PRINTF_NEXPR): Likewise.
24901 (TEST_FLOAT): Likewise.
24902 (TEST_MATHVEC): Likewise.
24903 (__NO_MATH_INLINES): Likewise.
24904 (CNCT): Likewise.
24905 (CONCAT): Likewise.
24906 (WRAPPER_NAME): Likewise.
24907 (WRAPPER_DECL): Likewise.
24908 (WRAPPER_DECL_ff): Likewise.
24909 (WRAPPER_DECL_fFF): Likewise.
24910 (VECTOR_WRAPPER): Likewise.
24911 (VECTOR_WRAPPER_ff): Likewise.
24912 (VECTOR_WRAPPER_fFF): Likewise.
24913 (VEC_LEN): New macro.
24914 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
24915 test-vec-loop.h.
24916 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
24917 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
24918 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
24919 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
24920 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
24921 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
24922 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
24923
24924 2015-06-24 Roland McGrath <roland@hack.frob.com>
24925
24926 * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
24927 (__getlogin_r): ... this.
24928
24929 2015-06-24 Joseph Myers <joseph@codesourcery.com>
24930
24931 [BZ #18594]
24932 * math/s_ccosh.c (__ccosh): Compare with least normal value
24933 instead of comparing class with FP_SUBNORMAL.
24934 * math/s_ccoshf.c (__ccoshf): Likewise.
24935 * math/s_ccoshl.c (__ccoshl): Likewise.
24936 * math/s_cexp.c (__cexp): Likewise.
24937 * math/s_cexpf.c (__cexpf): Likewise.
24938 * math/s_cexpl.c (__cexpl): Likewise.
24939 * math/s_csin.c (__csin): Likewise.
24940 * math/s_csinf.c (__csinf): Likewise.
24941 * math/s_csinh.c (__csinh): Likewise.
24942 * math/s_csinhf.c (__csinhf): Likewise.
24943 * math/s_csinhl.c (__csinhl): Likewise.
24944 * math/s_csinl.c (__csinl): Likewise.
24945 * math/s_ctan.c (__ctan): Likewise.
24946 * math/s_ctanf.c (__ctanf): Likewise.
24947 * math/s_ctanh.c (__ctanh): Likewise.
24948 * math/s_ctanhf.c (__ctanhf): Likewise.
24949 * math/s_ctanhl.c (__ctanhl): Likewise.
24950 * math/s_ctanl.c (__ctanl): Likewise.
24951 * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
24952 csin, csinh, ctan and ctanh.
24953 * math/auto-libm-test-out: Regenerated.
24954 * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
24955 * sysdeps/i386/fpu/libm-test-ulps: Update.
24956 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
24957
24958 2015-06-24 Roland McGrath <roland@hack.frob.com>
24959
24960 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
24961 return value is wrong, print the expected value too.
24962
24963 2015-06-24 H.J. Lu <hongjiu.lu@intel.com>
24964
24965 [BZ #18585]
24966 * elf/readlib.c (is_gdb_python_file): New.
24967 (process_file): Don't issue errors on filenames with -gdb.py
24968 suffix.
24969
24970 2015-06-24 Joseph Myers <joseph@codesourcery.com>
24971
24972 * math/auto-libm-test-in: Add more tests of csin and csinh.
24973 * math/auto-libm-test-out: Regenerated.
24974 * math/libm-test.inc (csin_test_data): Remove tests moved to
24975 auto-libm-test-in.
24976 (csinh_test_data): Likewise.
24977
24978 [BZ #18593]
24979 * math/s_csin.c (__csin): Negate before rather than after possibly
24980 overflowing multiplication.
24981 * math/s_csinf.c (__csinf): Likewise.
24982 * math/s_csinh.c (__csinh): Likewise.
24983 * math/s_csinhf.c (__csinhf): Likewise.
24984 * math/s_csinhl.c (__csinhl): Likewise.
24985 * math/s_csinl.c (__csinl): Likewise.
24986 * math/auto-libm-test-in: Add some tests of csin and csinh.
24987 * math/auto-libm-test-out: Regenerated.
24988 * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
24989 (csinh_test_data): Likewise.
24990 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24991
24992 [BZ #18586]
24993 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
24994 underflow exception for small results.
24995
24996 2015-06-24 Andrew Senkevich <andrew.senkevich@intel.com>
24997
24998 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
24999 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
25000 variable and included header.
25001 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
25002 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
25003 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
25004 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
25005 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
25006 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
25007 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
25008 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
25009 * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
25010 * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
25011 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
25012 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
25013 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
25014 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
25015 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
25016 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
25017
25018 2015-06-23 Joseph Myers <joseph@codesourcery.com>
25019
25020 [BZ #16526]
25021 [BZ #16538]
25022 * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
25023 (__sin): Force underflow exception for arguments with small
25024 absolute value.
25025 * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
25026 (__kernel_sinf): Force underflow exception for arguments with
25027 small absolute value.
25028 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
25029 (__kernel_sincosl): Force underflow exception for arguments with
25030 small absolute value.
25031 * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
25032 (__kernel_sinl): Force underflow exception for arguments with
25033 small absolute value.
25034 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
25035 (__kernel_sincosl): Force underflow exception for arguments with
25036 small absolute value.
25037 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
25038 (__kernel_sinl): Force underflow exception for arguments with
25039 small absolute value.
25040 * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
25041 (__kernel_sinl): Force underflow exception for arguments with
25042 small absolute value.
25043 * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
25044 (__kernel_sinf): Force underflow exception for arguments with
25045 small absolute value.
25046 * math/auto-libm-test-in: Add more tests of sin and sincos.
25047 * math/auto-libm-test-out: Regenerated.
25048
25049 [BZ #18245]
25050 [BZ #18583]
25051 * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
25052 (__kernel_standard_l): Use feholdexcept and fesetenv around
25053 conversion to double instead of special-casing overflow and
25054 underflow.
25055 * math/libm-test.inc (fmod_test_data): Add more tests.
25056 (remainder_test_data): Likewise.
25057 (sqrt_test_data): Likewise.
25058
25059 2015-06-23 Torvald Riegel <triegel@redhat.com>
25060
25061 [BZ #17403]
25062 * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
25063 atomic_read_barrier, atomic_write_barrier): Define.
25064 * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
25065 atomic_read_barrier, atomic_write_barrier): Define.
25066
25067 2015-06-23 Joseph Myers <joseph@codesourcery.com>
25068
25069 * math/Makefile [$(PERL) != no]
25070 ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
25071 dependency on libm-test.stmp below the inclusion of Rules.
25072
25073 2015-06-23 Andrew Senkevich <andrew.senkevich@intel.com>
25074
25075 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
25076 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
25077 and included header.
25078 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
25079 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
25080 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
25081 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
25082 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
25083 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
25084 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
25085 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
25086 * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
25087 * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
25088 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
25089 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
25090 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
25091 * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
25092 * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
25093 * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
25094 * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
25095 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
25096 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
25097
25098 2015-06-23 Joseph Myers <joseph@codesourcery.com>
25099
25100 [BZ #18371]
25101 * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
25102 intermediate but not final result might underflow.
25103 * math/s_csqrtf.c (__csqrtf): Likewise.
25104 * math/s_csqrtl.c (__csqrtl): Likewise.
25105 * math/auto-libm-test-in: Add more tests of csqrt.
25106 * math/auto-libm-test-out: Regenerated.
25107 * sysdeps/i386/fpu/libm-test-ulps: Update.
25108
25109 [BZ #18219]
25110 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
25111 threshold on absolute value of exponent for which scaling is used.
25112 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
25113 * math/auto-libm-test-in: Add more tests of exp2.
25114 * math/auto-libm-test-out: Regenerated.
25115
25116 2015-06-23 Dmitry V. Levin <ldv@altlinux.org>
25117
25118 [BZ #17977]
25119 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
25120 when initializing interface list, based on the bug analysis
25121 and the patch proposed by Eric Newton.
25122 * resolv/tst-res_hconf_reorder.c: New test.
25123 * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
25124 tst-res_hconf_reorder.
25125 ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
25126 and $(shared-thread-library).
25127 (tst-res_hconf_reorder-ENV): New variable.
25128
25129 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
25130 in comment.
25131
25132 2015-06-22 Joseph Myers <joseph@codesourcery.com>
25133
25134 [BZ #16353]
25135 * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
25136 (__expm1): Force underflow exception for arguments with small
25137 absolute value.
25138 * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
25139 (__expm1f): Force underflow exception for arguments with small
25140 absolute value.
25141 * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
25142 (__expm1): Force underflow exception for arguments with small
25143 absolute value.
25144 * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
25145 (__expm1f): Force underflow exception for arguments with small
25146 absolute value.
25147 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
25148 Check for small arguments before calling __expm1.
25149 * math/auto-libm-test-in: Do not mark underflow exceptions as
25150 possibly missing for bug 16353.
25151 * math/auto-libm-test-out: Regenerated.
25152
25153 2015-06-22 Andreas Schwab <schwab@suse.de>
25154
25155 [BZ #18513]
25156 * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
25157 PTR queries.
25158
25159 2015-06-22 Leonhard Holz <leonhard.holz@web.de>
25160
25161 * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
25162
25163 * string/strcoll_l.c: Remove unused struct element idxnow.
25164
25165 2015-06-21 Joseph Myers <joseph@codesourcery.com>
25166
25167 [BZ #18569]
25168 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
25169 underflow and return argument in case of subnormal argument.
25170 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
25171 Likewise.
25172 * math/auto-libm-test-in: Add more tests of expm1.
25173 * math/auto-libm-test-out: Regenerated.
25174
25175 [BZ #16361]
25176 * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
25177 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
25178 tiny results.
25179 * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
25180 (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
25181 tiny results.
25182 * math/auto-libm-test-in: Add more tests of exp and exp10. Do not
25183 mark underflow exceptions as possibly missing for bug 16361.
25184 * math/auto-libm-test-out: Regenerated.
25185
25186 2015-06-19 Joseph Myers <joseph@codesourcery.com>
25187
25188 * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
25189 * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
25190 Remove variable.
25191 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
25192 (test-xfail-XOPEN2K8/utmpx.h/conform).
25193
25194 * conform/conformtest.pl ($xerrors): New variable.
25195 (note_error): New function.
25196 (compiletest): New argument $xfail. Use not_error.
25197 (runtest): Likewise.
25198 (top level): Handle xfail- lines. Update calls to compiletest and
25199 runtest. Handle xfail- and optional- in headers listed with
25200 allow-header.
25201 * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
25202 (O_EXEC): Likewise.
25203 (O_SEARCH): Likewise.
25204 * conform/data/stropts.h-data (ioctl): Likewise.
25205 * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
25206 * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
25207 * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
25208 (msghdr.msg_controllen): Likewise.
25209 (cmsghdr.cmsg_len): Likewise.
25210 * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
25211 * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
25212 variable.
25213 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
25214 (test-xfail-XPG4/stropts.h/conform): Likewise.
25215 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
25216 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
25217 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
25218 (test-xfail-UNIX98/stropts.h/conform): Likewise.
25219 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
25220 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
25221 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
25222 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
25223 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
25224 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
25225 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
25226 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
25227 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
25228 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
25229 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
25230 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
25231 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
25232 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
25233 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
25234
25235 2015-06-19 Andrew Senkevich <andrew.senkevich@intel.com>
25236
25237 * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
25238 __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
25239 definitions for proper unfolding of __MATHDECL_VEC.
25240
25241 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
25242
25243 * benchtests/bench-strcoll.c:
25244 Include string.h.
25245 (main): Remove unused variable res.
25246
25247 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
25248
25249 * timezone/Makefile (%/UTC %/Universal):
25250 Generate test-result files for UTC and Universal.
25251
25252 2015-06-19 Stefan Liebler <stli@linux.vnet.ibm.com>
25253
25254 * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
25255
25256 2015-06-18 Joseph Myers <joseph@codesourcery.com>
25257
25258 [BZ #16350]
25259 * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
25260 for arguments with small absolute value.
25261 * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
25262 * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
25263 * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
25264 (__asinh): Force underflow exception for arguments with small
25265 absolute value.
25266 * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
25267 (__asinhf): Force underflow exception for arguments with small
25268 absolute value.
25269 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
25270 (__asinhl): Force underflow exception for arguments with small
25271 absolute value.
25272 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
25273 (__asinhl): Force underflow exception for arguments with small
25274 absolute value.
25275 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
25276 (__asinhl): Force underflow exception for arguments with small
25277 absolute value.
25278 * math/auto-libm-test-in: Do not mark underflow exceptions as
25279 possibly missing for bug 16350.
25280 * math/auto-libm-test-out: Regenerated.
25281
25282 * include/bits/ipc.h: Remove file.
25283 * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
25284 variable.
25285 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
25286 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
25287 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
25288 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
25289 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
25290 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
25291 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
25292 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
25293 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
25294
25295 * math/auto-libm-test-in: Remove spurious underflow allowance for
25296 tests of cexp.
25297 * math/auto-libm-test-out: Regenerated.
25298
25299 [BZ #18558]
25300 * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
25301 unconditional definition.
25302 (MCAST_BLOCK_SOURCE): Likewise.
25303 (MCAST_UNBLOCK_SOURCE): Likewise.
25304 (MCAST_LEAVE_GROUP): Likewise.
25305 (MCAST_JOIN_SOURCE_GROUP): Likewise.
25306 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
25307 (MCAST_MSFILTER): Likewise.
25308 * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
25309 Remove variable.
25310 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
25311 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
25312 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
25313 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
25314 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
25315
25316 2015-06-18 Andrew Senkevich <andrew.senkevich@intel.com>
25317
25318 * NEWS: Mention addition of x86_64 vector sincosf.
25319 * math/test-float-vlen16.h: Added wrapper for sincosf tests.
25320 * math/test-float-vlen4.h: Likewise.
25321 * math/test-float-vlen8.h: Likewise.
25322 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25323 * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
25324 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25325 * sysdeps/x86_64/fpu/Versions: New versions added.
25326 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25327 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25328 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25329 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
25330 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
25331 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
25332 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
25333 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
25334 * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
25335 * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
25336 * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
25337 * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
25338 * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
25339 * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
25340 * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
25341 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
25342 * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
25343 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
25344 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25345 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25346 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25347 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25348 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25349 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25350
25351 * NEWS: Mention addition of x86_64 vector sincos.
25352 * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
25353 * math/math.h (__MATHDECL_VEC): New macro.
25354 * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
25355 * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
25356 declaration under condition.
25357 * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
25358 * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
25359 TEST_VEC_LOOP change.
25360 * math/test-double-vlen4.h: Likewise.
25361 * math/test-double-vlen8.h: Likewise.
25362 * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
25363 * math/test-float-vlen4.h: Likewise.
25364 * math/test-float-vlen8.h: Likewise.
25365 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25366 * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
25367 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25368 * sysdeps/x86_64/fpu/Versions: New versions added.
25369 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25370 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25371 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25372 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
25373 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
25374 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
25375 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
25376 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
25377 * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
25378 * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
25379 * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
25380 * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
25381 * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
25382 * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
25383 * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
25384 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
25385 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
25386 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25387 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25388 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25389 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25390 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25391 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25392 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25393
25394 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25395 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25396 redirections for powf.
25397 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25398 * sysdeps/x86_64/fpu/Versions: New versions added.
25399 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25400 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25401 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25402 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
25403 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
25404 * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
25405 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
25406 * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
25407 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
25408 * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
25409 * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
25410 * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
25411 * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
25412 * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
25413 * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
25414 * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
25415 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
25416 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25417 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25418 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25419 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25420 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25421 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25422 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25423 * math/test-float-vlen16.h: Fixed 2 argument macro.
25424 * math/test-float-vlen4.h: Likewise.
25425 * math/test-float-vlen8.h: Likewise.
25426 * NEWS: Mention addition of x86_64 vector powf.
25427
25428 2015-06-17 Joseph Myers <joseph@codesourcery.com>
25429
25430 * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25431 and redefine.
25432 * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
25433 and redefine.
25434 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
25435 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
25436 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
25437
25438 [BZ #18553]
25439 * resource/getpriority.c (getpriority): Rename to __getpriority
25440 and define as weak alias of __getpriority.
25441 * resource/setpriority.c (setpriority): Rename to __setpriority
25442 and define as weak alias of __setpriority.
25443 * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
25444 __getpriority and define as weak alias of __getpriority.
25445 * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
25446 __setpriority and define as weak alias of __setpriority.
25447 * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
25448 strong name.
25449 (setpriority): Use __setpriority as strong name.
25450 * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
25451 __getpriority and define as weak alias of __getpriority.
25452 * include/sys/resource.h (__getpriority): Declare. Use
25453 libc_hidden_proto.
25454 (__setpriority): Likewise.
25455 (getpriority): Don't use libc_hidden_proto.
25456 (setpriority): Likewise.
25457 * sysdeps/posix/nice.c (nice): Call __getpriority instead of
25458 getpriority. Call __setpriority instead of setpriority.
25459 * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
25460 Remove variable.
25461
25462 [BZ #18547]
25463 * misc/getttyent.c (getttynam): Rename to __getttynam and define
25464 as weak alias of __getttynam. Use prototype function definition.
25465 Call __setttyent, __getttyent and __endttyent instead of
25466 setttyent, getttyent and endttyent.
25467 (getttyent): Rename to __getttyent and define as weak alias of
25468 __getttyent. Call __setttyent instead of setttyent. Call
25469 __fgets_unlocked instead of fgets_unlocked.
25470 (setttyent): Rename to __setttyent and define as weak alias of
25471 __setttyent.
25472 (endttyent): Rename to __endttyent and define as weak alias of
25473 __endttyent.
25474 * include/ttyent.h (__getttyent): Declare. Use libc_hidden_proto.
25475 (__setttyent): Likewise.
25476 (__endttyent): Likewise.
25477 (getttyent): Don't use libc_hidden_proto.
25478 (setttyent): Likewise.
25479 (endttyent): Likewise.
25480 * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
25481 __endttyent instead of setttyent, getttyent and endttyent.
25482 * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
25483 Remove variable.
25484
25485 [BZ #18546]
25486 * socket/recv.c (__recv): Use libc_hidden_def.
25487 * socket/socket.c (__socket): Likewise.
25488 * sysdeps/mach/hurd/recv.c (__recv): Likewise.
25489 * sysdeps/mach/hurd/socket.c (__socket): Likewise.
25490 * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
25491 * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
25492 * sysdeps/unix/sysv/linux/socket.c (__socket): Use
25493 libc_hidden_def.
25494 * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
25495 libc_hidden_weak.
25496 * include/sys/socket.h (__socket): Do not use attribute_hidden.
25497 Use libc_hidden_proto.
25498 (__recv): Likewise.
25499 * socket/Versions (libc): Export __recv and __socket at version
25500 GLIBC_PRIVATE.
25501 * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
25502 instead of recv.
25503 (init_mq_netlink): Call __socket instead of socket.
25504 * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
25505 Remove variable.
25506
25507 [BZ #18545]
25508 * rt/mq_timedreceive.c (mq_timedreceive): Rename to
25509 __mq_timedreceive and define as alias of __mq_timedreceive. Use
25510 hidden_weak.
25511 * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
25512 define as alias of __mq_timedsend. Use hidden_weak.
25513 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
25514 __mq_timedsend as strong name.
25515 (mq_timedreceive): Use __mq_timedreceive as strong name.
25516 * include/mqueue.h (__mq_timedsend): Declare. Use hidden_proto.
25517 (__mq_timedreceive): Likewise.
25518 * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
25519 __mq_timedreceive instead of mq_timedreceive.
25520 * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
25521 instead of mq_timedsend.
25522 * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
25523 Remove variable.
25524
25525 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
25526 hidden_def and hidden_weak instead of libc_hidden_def and
25527 libc_hidden_weak.
25528 (top level): Refer to hidden_def in comment.
25529 * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
25530 macro. Use it instead of libc_hidden_def.
25531 * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
25532 specify __GI_* name explicitly.
25533 (mq_timedreceive): Likewise.
25534 (mq_setattr): Likewise.
25535
25536 [BZ #18544]
25537 * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
25538 __pthread_barrier_init and define as weak alias of
25539 __pthread_barrier_init.
25540 * sysdeps/sparc/nptl/pthread_barrier_init.c
25541 (pthread_barrier_init): Likewise.
25542 * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
25543 __pthread_barrier_wait and define as weak alias of
25544 __pthread_barrier_wait.
25545 * sysdeps/sparc/nptl/pthread_barrier_wait.c
25546 (pthread_barrier_wait): Likewise.
25547 * sysdeps/sparc/sparc32/pthread_barrier_wait.c
25548 (pthread_barrier_wait): Likewise.
25549 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
25550 (pthread_barrier_wait): Likewise.
25551 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
25552 (pthread_barrier_wait): Likewise.
25553 * nptl/Versions (libpthread): Export __pthread_barrier_init and
25554 __pthread_barrier_wait at version GLIBC_PRIVATE.
25555 * include/pthread.h (__pthread_barrier_init): Declare.
25556 (__pthread_barrier_wait): Likewise.
25557 * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
25558 Call __pthread_barrier_wait instead of pthread_barrier_wait.
25559 (helper_thread): Likewise.
25560 (init_mq_netlink): Call __pthread_barrier_init instead of
25561 pthread_barrier_init.
25562
25563 [BZ #18542]
25564 * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
25565 (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
25566 * include/wchar.h (__vswscanf): Declare. Use libc_hidden_proto.
25567 * libio/swscanf.c (__swscanf): Call __vswscanf instead of
25568 vswscanf.
25569 * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
25570 Remove variable.
25571
25572 [BZ #18540]
25573 * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
25574 strong alias of _IO_fflush. Use libc_hidden_def.
25575 * libio/iofflush_u.c (fflush_unlocked): Rename to
25576 __fflush_unlocked and define as weak alias of __fflush_unlocked.
25577 Use libc_hidden_weak.
25578 * include/stdio.h (__fflush_unlocked): Declare. Use
25579 libc_hidden_proto.
25580 * misc/getpass.c (getpass): Call __fflush_unlocked instead of
25581 fflush_unlocked.
25582 * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
25583 Remove variable.
25584
25585 [BZ #18539]
25586 * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
25587 define as weak alias of __addseverity.
25588 * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
25589 Remove variable.
25590 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
25591 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
25592 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
25593
25594 [BZ #18536]
25595 * misc/tsearch.c (__tsearch): Use libc_hidden_def.
25596 (__tfind): Likewise.
25597 (__tdelete): Likewise.
25598 (__twalk): Likewise.
25599 * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
25600 __twalk to GLIBC_PRIVATE.
25601 * include/search.h (__tsearch): Use libc_hidden_proto.
25602 (__tfind): Likewise.
25603 (__tdelete): Likewise.
25604 (__twalk): Likewise.
25605 * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
25606 Call __tdelete instead of tdelete.
25607 * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
25608 tfind. Call __tsearch instead of tsearch.
25609 * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
25610 * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
25611 Remove variable.
25612 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
25613
25614 [BZ #18534]
25615 * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
25616 (dprintf): Define as a weak alias of __dprintf, not a strong
25617 alias.
25618 * include/stdio.h (__dprintf): Declare. Use libc_hidden_proto.
25619 * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
25620 dprintf.
25621 * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
25622 Remove variable.
25623 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
25624 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
25625
25626 [BZ #18533]
25627 * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
25628 not a strong alias.
25629 * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
25630 Remove variable.
25631
25632 [BZ #18532]
25633 * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
25634 define as weak alias of __in6addr_any. Use libc_hidden_data_weak.
25635 (in6addr_loopback): Rename to __in6addr_loopback and define as
25636 weak alias of __in6addr_loopback. Use libc_hidden_data_weak.
25637 * include/netinet/in.h (__in6addr_loopback): Declare. Use
25638 libc_hidden_proto.
25639 (__in6addr_any): Likewise.
25640 * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
25641 in6addr_any.
25642 * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
25643 variable.
25644 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
25645
25646 2015-06-17 Andrew Senkevich <andrew.senkevich@intel.com>
25647
25648 * bits/libm-simd-decl-stubs.h: Added stubs for pow.
25649 * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
25650 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25651 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25652 redirections for pow.
25653 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25654 * sysdeps/x86_64/fpu/Versions: New versions added.
25655 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25656 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25657 build of SSE, AVX2 and AVX512 IFUNC versions.
25658 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
25659 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
25660 * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
25661 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
25662 * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
25663 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
25664 * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
25665 * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
25666 * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
25667 * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
25668 * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
25669 * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
25670 * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
25671 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
25672 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25673 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25674 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25675 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25676 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25677 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25678 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25679 * NEWS: Mention addition of x86_64 vector pow.
25680
25681 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25682 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25683 redirections for expf.
25684 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25685 * sysdeps/x86_64/fpu/Versions: New versions added.
25686 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25687 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25688 build of SSE, AVX2 and AVX512 IFUNC versions.
25689 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
25690 * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
25691 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
25692 * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
25693 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
25694 * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
25695 * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
25696 * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
25697 * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
25698 * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
25699 * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
25700 * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
25701 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
25702 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25703 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25704 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25705 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25706 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25707 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25708 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25709 * NEWS: Mention addition of x86_64 vector expf.
25710
25711 * bits/libm-simd-decl-stubs.h: Added stubs for exp.
25712 * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
25713 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25714 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25715 redirections for exp.
25716 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25717 * sysdeps/x86_64/fpu/Versions: New versions added.
25718 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25719 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25720 build of SSE, AVX2 and AVX512 IFUNC versions.
25721 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
25722 * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
25723 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
25724 * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
25725 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
25726 * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
25727 * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
25728 * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
25729 * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
25730 * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
25731 * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
25732 * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
25733 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
25734 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25735 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25736 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25737 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25738 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25739 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25740 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25741 * NEWS: Mention addition of x86_64 vector exp.
25742
25743 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25744 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25745 redirections for logf.
25746 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25747 * sysdeps/x86_64/fpu/Versions: New versions added.
25748 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25749 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25750 build of SSE, AVX2 and AVX512 IFUNC versions.
25751 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
25752 * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
25753 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
25754 * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
25755 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
25756 * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
25757 * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
25758 * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
25759 * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
25760 * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
25761 * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
25762 * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
25763 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
25764 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25765 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25766 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25767 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25768 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25769 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25770 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25771 * NEWS: Mention addition of x86_64 vector logf.
25772
25773 * bits/libm-simd-decl-stubs.h: Added stubs for log.
25774 * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
25775 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25776 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
25777 redirections for log.
25778 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25779 * sysdeps/x86_64/fpu/Versions: New versions added.
25780 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25781 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25782 build of SSE, AVX2 and AVX512 IFUNC versions.
25783 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
25784 * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
25785 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
25786 * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
25787 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
25788 * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
25789 * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
25790 * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
25791 * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
25792 * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
25793 * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
25794 * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
25795 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
25796 test.
25797 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
25798 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
25799 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
25800 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
25801 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
25802 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
25803 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
25804 * NEWS: Mention addition of x86_64 vector log.
25805
25806 2015-06-17 Szabolcs Nagy <szabolcs.nagy@arm.com>
25807
25808 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
25809 cfi_adjust_cfa_offset argument.
25810 (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
25811 (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
25812
25813 [BZ #18034]
25814 * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
25815 * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
25816 (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
25817 ordering using ldar.
25818 (_dl_tlsdesc_dynamic): Likewise.
25819 (_dl_tlsdesc_return_lazy): Likewise.
25820 * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
25821 relaxed atomics instead of volatile and synchronize with release store.
25822 (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
25823 volatile.
25824 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
25825
25826 2015-06-15 Andrew Senkevich <andrew.senkevich@intel.com>
25827
25828 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
25829 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
25830 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25831 * sysdeps/x86_64/fpu/Versions: New versions added.
25832 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25833 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
25834 build of SSE, AVX2 and AVX512 IFUNC versions.
25835 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
25836 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
25837 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
25838 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
25839 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
25840 * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
25841 * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
25842 * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
25843 * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
25844 * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
25845 * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
25846 * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
25847 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
25848 * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
25849 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
25850 * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
25851 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
25852 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
25853 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
25854 * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
25855 * NEWS: Mention addition of x86_64 vector sinf.
25856
25857 2015-06-14 Joseph Myers <joseph@codesourcery.com>
25858
25859 * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
25860 and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
25861 * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
25862 Remove variable.
25863 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
25864 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
25865
25866 2015-06-12 Joseph Myers <joseph@codesourcery.com>
25867
25868 [BZ #18530]
25869 * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
25870 strong alias of _IO_fputs. Use libc_hidden_def.
25871 * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
25872 and define as weak alias of __fputs_unlocked. Use
25873 libc_hidden_weak.
25874 * include/stdio.h (__fputs_unlocked): Declare. Use
25875 libc_hidden_proto.
25876 * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
25877 fputs_unlocked.
25878
25879 [BZ #18529]
25880 * resolv/netdb.h [__USE_POSIX]: Change condition to
25881 [__USE_XOPEN2K].
25882 * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
25883 not expect.
25884 [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
25885 [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
25886 [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
25887 [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
25888 [XPG4 || UNIX98] (AI_ALL): Likewise.
25889 [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
25890 [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
25891 [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
25892 [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
25893 [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
25894 [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
25895 [XPG4 || UNIX98] (NI_DGRAM): Likewise.
25896 [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
25897 [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
25898 [XPG4 || UNIX98] (EAI_FAIL): Likewise.
25899 [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
25900 [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
25901 [XPG4 || UNIX98] (EAI_NONAME): Likewise.
25902 [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
25903 [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
25904 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25905 [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
25906 [XPG4 || UNIX98] (freeaddrinfo): Likewise.
25907 [XPG4 || UNIX98] (gai_strerror): Likewise.
25908 [XPG4 || UNIX98] (getaddrinfo): Likewise.
25909 [XPG4 || UNIX98] (getnameinfo): Likewise.
25910
25911 [BZ #18528]
25912 * grp/grp.h (endgrent): Condition on [__USE_MISC ||
25913 __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
25914 __USE_XOPEN2K8].
25915 (getgrent): Likewise.
25916 * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
25917 expect.
25918 [XPG3 || POSIX2008] (endgrent): Likewise.
25919 [XPG3] (setgrent): Likewise.
25920 * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
25921 variable.
25922 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
25923
25924 [BZ #18527]
25925 * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
25926 define as weak alias of __getlogin_r. Use libc_hidden_weak.
25927 * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
25928 * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
25929 * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
25930 * include/unistd.h (__getlogin_r): Declare. Use
25931 libc_hidden_proto.
25932 * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
25933 * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
25934 variable.
25935 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
25936 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
25937 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
25938
25939 2015-06-12 Martin Sebor <msebor@redhat.com>
25940
25941 [BZ #18512]
25942 * Makerules (check-install-supported): New target.
25943 (install): Add check-install-supported as a dependency.
25944 * manual/install.texi (Installing the C Library): Document
25945 that overriding prefix and exec_prefix is not supported.
25946 Mention DESTDIR.
25947 * INSTALL: Regenerate from the above.
25948
25949 2015-06-12 Joseph Myers <joseph@codesourcery.com>
25950
25951 [BZ #18519]
25952 * posix/Versions (libc): Export __libc_pread at version
25953 GLIBC_PRIVATE.
25954 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
25955 instead of pread.
25956 * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
25957 variable.
25958
25959 [BZ #18522]
25960 * misc/efgcvt_r.c
25961 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
25962 (cvt_symbol): Use weak_alias instead of strong_alias.
25963 [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
25964 * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
25965 Remove variable.
25966 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
25967 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
25968
25969 [BZ #18520]
25970 * inet/herrno.c (h_errno): Rename to __h_errno.
25971 (__libc_h_errno): Define as alias of __h_errno not h_errno.
25972 * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
25973 to __h_errno instead of h_errno.
25974 * nptl/herrno.c (h_errno): Rename to __h_errno.
25975 (__h_errno_location): Refer to __h_errno not h_errno.
25976 * resolv/Versions (h_errno): Rename to __h_errno.
25977 * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
25978 Remove variable.
25979 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
25980
25981 2015-06-11 Andrew Senkevich <andrew.senkevich@intel.com>
25982
25983 * configure.ac: More strict check for AVX512 assembler support.
25984 * configure: Regenerated.
25985
25986 * bits/libm-simd-decl-stubs.h: Added stubs for sin.
25987 * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
25988 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
25989 * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
25990 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
25991 * sysdeps/x86_64/fpu/Versions: New versions added.
25992 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
25993 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
25994 Added build of SSE, AVX2 and AVX512 IFUNC versions.
25995 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
25996 * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
25997 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
25998 * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
25999 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
26000 * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
26001 * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
26002 * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
26003 * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
26004 * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
26005 * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
26006 * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
26007 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
26008 test.
26009 * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
26010 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
26011 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
26012 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
26013 * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
26014 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
26015 * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
26016 * NEWS: Mention addition of x86_64 vector sin.
26017
26018 2015-06-11 Florian Weimer <fweimer@redhat.com>
26019
26020 * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
26021 comment.
26022
26023 2015-06-10 Gleb Fotengauer-Malinovskiy <glebfm@altlinux.org>
26024
26025 [BZ #18479]
26026 * nptl/pt-interp.c: New file.
26027 * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
26028 Add pt-interp.
26029 [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
26030 $(common-objpfx)runtime-linker.h.
26031
26032 2015-06-10 Dmitry V. Levin <ldv@altlinux.org>
26033
26034 * Makeconfig (+interp): Remove unused variable.
26035 * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
26036 only. Depend on $(common-objpfx)runtime-linker.h instead of
26037 $(elf-objpfx)runtime-linker.h.
26038 ($(elf-objpfx)runtime-linker.h): Rename to
26039 $(common-objpfx)runtime-linker.h and move ...
26040 * Makerules [$(build-shared) = yes]: ... here.
26041 * elf/interp.c: Include <runtime-linker.h> instead of
26042 <elf/runtime-linker.h>.
26043
26044 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26045
26046 * sysdeps/unix/sysv/linux/i386/gettimeofday.c
26047 (__gettimeofday_syscall): Remove vsyscall fallback.
26048 * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
26049 * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
26050 Add syscall fallback function.
26051 (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
26052 if vDSO is not present.
26053 * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
26054 fallback function.
26055 (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
26056 present.
26057 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
26058 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
26059
26060 2015-06-09 Joseph Myers <joseph@codesourcery.com>
26061
26062 [BZ #18497]
26063 * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
26064 of wcscmp.
26065 (wcscmp): Define as weak alias of WCSCMP.
26066 * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
26067 wcscoll.
26068 (USE_HIDDEN_DEF): Define.
26069 [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
26070 __wcscoll. Don't use libc_hidden_weak.
26071 * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
26072 wcscmp.
26073 * sysdeps/i386/i686/multiarch/wcscmp-c.c
26074 [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
26075 __GI_wcscmp.
26076 (weak_alias): Undefine and redefine.
26077 * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
26078 __wcscmp and define as weak alias of __wcscmp.
26079 * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
26080 * include/wchar.h (__wcscmp): Declare. Use libc_hidden_proto.
26081 (__wcscoll): Likewise.
26082 (wcscmp): Don't use libc_hidden_proto.
26083 (wcscoll): Likewise.
26084 * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
26085 wcscoll.
26086 * posix/regexec.c (check_node_accept_bytes): Likewise.
26087 * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
26088 variable.
26089 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
26090 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
26091
26092 [BZ #18507]
26093 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
26094 __fstatvfs and define as weak alias of __fstatvfs. Use
26095 libc_hidden_weak.
26096 * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
26097 and define as weak alias of __statvfs. Use libc_hidden_weak.
26098 * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
26099 Define as alias of __fstatvfs, not fstatvfs.
26100 (fstatvfs64): Likewise.
26101 * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
26102 Define as alias of __statvfs, not statvfs.
26103 (statvfs64): Likewise.
26104 * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
26105 Remove variable.
26106
26107 2015-06-09 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26108
26109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26110 (HAVE_GETCPU_VSYSCALL): Define.
26111 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26112 (HAVE_GETCPU_VSYSCALL): Likewise.
26113 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
26114 * sysdeps/unix/sysv/linux/sched_getcpu.c
26115 (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
26116 (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
26117 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
26118 prototype.
26119 * sysdeps/unix/sysv/linux/x86_64/init-first.c
26120 (__vdso_platform_setup): Remove vsyscall getcpu fallback.
26121 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
26122 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
26123 Define.
26124 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
26125 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
26126 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
26127 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
26128
26129 2015-06-09 Andrew Senkevich <andrew.senkevich@intel.com>
26130
26131 * sysdeps/x86_64/fpu/Makefile: New file.
26132 * sysdeps/x86_64/fpu/Versions: New file.
26133 * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
26134 * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
26135 * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
26136 * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
26137 * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
26138 * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
26139 * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
26140 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
26141 * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
26142 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
26143 * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
26144 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
26145 * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
26146 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26147 Added build of SSE, AVX2 and AVX512 IFUNC versions.
26148 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
26149 * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
26150 * sysdeps/x86_64/configure.ac: Options for libmvec build.
26151 * sysdeps/x86_64/configure: Regenerated.
26152 * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
26153 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
26154 * manual/install.texi (Configuring and compiling): Document
26155 --disable-mathvec.
26156 * INSTALL: Regenerated.
26157 * NEWS: Mention addition of libmvec and x86_64 vector cos.
26158
26159 * math/Makefile: Added rules for vector tests.
26160 * math/gen-libm-have-vector-test.sh: Added generation of wrapper
26161 declaration under condition.
26162 * math/test-double-vlen2.h: New file.
26163 * math/test-double-vlen4.h: New file.
26164 * math/test-double-vlen8.h: New file.
26165 * math/test-vec-loop.h: Added initialization macro.
26166 * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
26167 * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
26168 * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
26169 * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
26170 * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
26171 * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
26172 * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
26173 * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
26174 * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
26175 * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
26176 * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
26177
26178 * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
26179 * sysdeps/x86_64/fpu/Versions: New versions added.
26180 * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
26181 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
26182 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
26183 * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
26184 * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
26185 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
26186 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
26187 * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
26188 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
26189 * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
26190 * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
26191 * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
26192 * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
26193 * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
26194 Added build of SSE, AVX2 and AVX512 IFUNC versions.
26195 * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
26196 * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
26197 * NEWS: Mention addition of x86_64 vector cosf.
26198
26199 * math/Makefile: Added CFLAGS for new tests.
26200 * math/test-float-vlen16.h: New file.
26201 * math/test-float-vlen4.h: New file.
26202 * math/test-float-vlen8.h: New file.
26203 * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
26204 * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
26205 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
26206 * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
26207 * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
26208 * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
26209 * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
26210 * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
26211 * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
26212 * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
26213 * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
26214
26215 2015-06-09 Marko Myllynen <myllynen@redhat.com>
26216
26217 * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
26218 * locale/programs/ld-ctype.c: Likewise.
26219
26220 2015-06-08 Andrew Senkevich <andrew.senkevich@intel.com>
26221
26222 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
26223 bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
26224 bit_ZMM16_31_state): New macro.
26225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
26226 Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
26227
26228 2015-06-08 Joseph Myers <joseph@codesourcery.com>
26229
26230 * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
26231
26232 2015-06-06 Justus Winter <4winter@informatik.uni-hamburg.de>
26233
26234 * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
26235
26236 2015-06-05 Joseph Myers <joseph@codesourcery.com>
26237
26238 [BZ #18498]
26239 * libio/memstream.c (open_memstream): Rename to __open_memstream
26240 and define as weak alias of __open_memstream.
26241 * include/stdio.h (__open_memstream): Declare. Use
26242 libc_hidden_proto.
26243 (open_memstream): Don't use libc_hidden_proto.
26244 * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
26245 open_memstream.
26246 * posix/getopt.c (_getopt_internal_r): Likewise.
26247 * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
26248 variable.
26249 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
26250 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
26251 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
26252
26253 [BZ #18496]
26254 * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
26255 instead of wcrtomb.
26256
26257 [BZ #18483]
26258 * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
26259 [__USE_XOPEN2K8]. Remove redundant #endif.
26260 [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
26261 Remove redundant #if.
26262 * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
26263 Remove variable.
26264 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
26265 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
26266
26267 [BZ #18495]
26268 * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
26269 (__iswlower): Likewise.
26270 * include/wctype.h (__iswalnum): Declare. Use libc_hidden_proto.
26271 (__iswlower): Likewise.
26272 * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
26273 instead of towlower.
26274 * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
26275 instead of iswlower. Call __towupper instead of towupper.
26276 * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
26277 instead of iswalnum.
26278
26279 2015-06-05 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
26280
26281 * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
26282 errors to stderr.
26283
26284 2015-06-05 Florian Weimer <fweimer@redhat.com>
26285
26286 [BZ #15661]
26287 [BZ #17322]
26288 * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
26289 Check for overflow properly. Check for O_APPEND. Ignore large
26290 file system block sizes. Add comments about problems.
26291 * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
26292 * manual/filesys.texi (Storage Allocation): New node.
26293
26294 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26295
26296 * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
26297 cancellable syscalls.
26298 (SYS_ify): Add guard to no redefine it.
26299 (INLINE_SYSCALL): Likewise.
26300 * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
26301 LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
26302 SYSCALL_CANCEL instead.
26303 * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
26304 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
26305 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
26306 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
26307 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
26308 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
26309 * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
26310 * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
26311 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
26312 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
26313 * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
26314 * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
26315 * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
26316 * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
26317 * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
26318 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
26319 Likewise.
26320 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
26321 (__libc_pread64): Likewise.
26322 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
26323 (__libc_preadv): Likewise.
26324 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
26325 (__libc_readv64): Likewise.
26326 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
26327 (__libc_pwrite): Likewise.
26328 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
26329 (__libc_pwrite64): Likewise.
26330 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
26331 (__libc_pwritev): Likewise.
26332 * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
26333 (__libc_pwritev64): Likewise.
26334 * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
26335 * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
26336 (sync_file_range): Likewise.
26337 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
26338 Likewise.
26339 * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
26340 Likewise.
26341 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
26342 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
26343 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
26344 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
26345 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
26346 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
26347 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
26348 * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
26349 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
26350 Likewise.
26351 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
26352 (__libc_read64): Likewise.
26353 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
26354 Likewise.
26355 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
26356 Likewise.
26357 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
26358 Likewise.
26359 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
26360 Likewise.
26361 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
26362 (__libc_pread64): Likewise.
26363 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
26364 Likewise.
26365 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
26366 (__libc_pwrite64): Likewise.
26367 * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
26368 (sync_file_range): Likewise.
26369 * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
26370 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
26371 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
26372 * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
26373 * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
26374 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
26375 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
26376 * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
26377 * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
26378 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
26379 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
26380 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
26381 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
26382 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
26383 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
26384 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
26385 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
26386 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
26387 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
26388 Likewise.
26389 * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
26390 Likewise.
26391 * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
26392 * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
26393 Likewise.
26394 * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
26395 * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
26396 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
26397 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
26398 Likewise.
26399 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
26400 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
26401 * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
26402 * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
26403 * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
26404
26405 2015-06-04 Nathan Lynch <nathan_lynch@codesourcery.com>
26406
26407 * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
26408 Include dl-vdso.
26409 * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
26410 Use VDSO routines for gettimeofday, clock_gettime if
26411 available.
26412 * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
26413 Declare VDSO symbols.
26414 * sysdeps/unix/sysv/linux/arm/sysdep.h:
26415 [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
26416 [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26417 * sysdeps/unix/sysv/linux/arm/Versions: Add
26418 __vdso_clock_gettime.
26419
26420 2015-06-04 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26421
26422 * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
26423 be an inline implementation regardless of library is built within.
26424 (open_not_cancel_2): Likewise.
26425 (__read_nocancel): Likewise.
26426 (__write_nocancel): Likewise.
26427 (openat_not_cancel): Likewise.
26428 (openat_not_cancel_3): Likewise.
26429 (openat64_not_cancel): Likewise.
26430 (openat64_not_cancel_3): Likewise.
26431 (__close_nocancel): Likewise.
26432 (pause_not_cancel): Likewise.
26433 (nanosleep_not_cancel): Likewise.
26434 (sigsuspend_not_cancel): Likewise.
26435
26436 2015-06-04 Torvald Riegel <triegel@redhat.com>
26437
26438 [BZ #14958]
26439 * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
26440 wake-up.
26441 (__pthread_rwlock_rdlock_slow): Likewise.
26442 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
26443 Likewise.
26444 * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
26445 Likewise.
26446 * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
26447 * nptl/tst-rwlock16.c: New file.
26448 * nptl/Makefile (tests): Add new test.
26449
26450 2015-06-04 Torvald Riegel <triegel@redhat.com>
26451
26452 [BZ #18324]
26453 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
26454 missing wake-up of readers.
26455 * nptl/tst-rwlock15.c: New file.
26456 * nptl/Makefile (tests): Add new test.
26457
26458 2015-06-03 Roland McGrath <roland@hack.frob.com>
26459
26460 * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
26461 (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
26462 * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
26463 and __nacl_supply_interface_rtld.
26464 * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
26465 * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
26466 * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
26467 Add __nacl_supply_interface_rtld.
26468 (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
26469
26470 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
26471
26472 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
26473 isfinite.
26474 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
26475 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
26476
26477 2015-06-03 Wilco Dijkstra <wdijkstr@arm.com>
26478
26479 * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
26480 __signbit* with standard C99 macros.
26481 * math/e_exp10l.c: Likewise.
26482 * math/e_exp2l.c: Likewise.
26483 * math/e_scalb.c: Likewise.
26484 * math/e_scalbf.c: Likewise.
26485 * math/e_scalbl.c: Likewise.
26486 * math/s_ldexp.c: Likewise.
26487 * math/s_ldexpf.c: Likewise.
26488 * math/s_ldexpl.c: Likewise.
26489 * math/w_atan2.c: Likewise.
26490 * math/w_atan2f.c: Likewise.
26491 * math/w_atan2l.c: Likewise.
26492 * math/w_cosh.c: Likewise.
26493 * math/w_coshf.c: Likewise.
26494 * math/w_coshl.c: Likewise.
26495 * math/w_exp10.c: Likewise.
26496 * math/w_exp10f.c: Likewise.
26497 * math/w_exp10l.c: Likewise.
26498 * math/w_exp2.c: Likewise.
26499 * math/w_exp2f.c: Likewise.
26500 * math/w_exp2l.c: Likewise.
26501 * math/w_fmod.c: Likewise.
26502 * math/w_fmodf.c: Likewise.
26503 * math/w_fmodl.c: Likewise.
26504 * math/w_hypot.c: Likewise.
26505 * math/w_hypotf.c: Likewise.
26506 * math/w_hypotl.c: Likewise.
26507 * math/w_jnl.c: Likewise.
26508 * math/w_lgamma.c: Likewise.
26509 * math/w_lgamma_r.c: Likewise.
26510 * math/w_lgammaf.c: Likewise.
26511 * math/w_lgammaf_r.c: Likewise.
26512 * math/w_lgammal.c: Likewise.
26513 * math/w_lgammal_r.c: Likewise.
26514 * math/w_pow.c: Likewise.
26515 * math/w_powf.c: Likewise.
26516 * math/w_powl.c: Likewise.
26517 * math/w_remainder.c: Likewise.
26518 * math/w_remainderf.c: Likewise.
26519 * math/w_remainderl.c: Likewise.
26520 * math/w_scalb.c: Likewise.
26521 * math/w_scalbf.c: Likewise.
26522 * math/w_scalbl.c: Likewise.
26523 * math/w_scalbln.c: Likewise.
26524 * math/w_scalblnf.c: Likewise.
26525 * math/w_scalblnl.c: Likewise.
26526 * math/w_sinh.c: Likewise.
26527 * math/w_sinhf.c: Likewise.
26528 * math/w_sinhl.c: Likewise.
26529 * math/w_tgamma.c: Likewise.
26530 * math/w_tgammaf.c: Likewise.
26531 * math/w_tgammal.c: Likewise.
26532 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
26533 * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
26534 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
26535 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
26536 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
26537 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
26538 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
26539 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
26540 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
26541 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
26542 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
26543 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
26544 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
26545 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
26546 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
26547 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
26548 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
26549 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
26550 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
26551 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
26552 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
26553 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
26554 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
26555 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
26556 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
26557 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
26558 * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
26559 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
26560 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
26561 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
26562 * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
26563 * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
26564 * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
26565 * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
26566 * stdio-common/printf_fp.c: Likewise.
26567 * stdio-common/printf_fphex.c: Likewise.
26568 * stdio-common/printf_size.c: Likewise.
26569
26570 2015-06-03 Joseph Myers <joseph@codesourcery.com>
26571
26572 [BZ #18470]
26573 * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
26574 strnlen.
26575 * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
26576 Remove variable.
26577 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
26578 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
26579 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
26580 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
26581 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
26582 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
26583 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
26584 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
26585 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
26586 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
26587
26588 [BZ #18468]
26589 * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
26590 weak alias of __wmemchr. Use libc_hidden_weak.
26591 * include/wchar.h (__wmemchr): Declare. Use libc_hidden_proto.
26592 * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
26593 instead of wmemchr.
26594
26595 2015-06-02 Roland McGrath <roland@hack.frob.com>
26596
26597 [BZ #18383]
26598 * elf/tst-tlsalign-extern.c: New file.
26599 * elf/tst-tlsalign-extern-static.c: New file.
26600 * elf/tst-tlsalign-vars.c: New file.
26601 * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
26602 [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
26603 ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
26604 ($(objpfx)tst-tlsalign-extern-static): Likewise.
26605 (test-xfail-tst-tlsalign-extern-static): New variable.
26606
26607 2015-06-02 Joseph Myers <joseph@codesourcery.com>
26608
26609 * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
26610 Use variable name _sc_err instead of err.
26611 [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
26612 instead of ret.
26613 * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
26614 (INLINE_SYSCALL): Use variable name _sc_err instead of err.
26615 * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
26616 (INLINE_SYSCALL): Likewise.
26617
26618 * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
26619 * include/string.h (__strnlen): Use libc_hidden_proto.
26620 * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
26621 * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
26622 (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
26623 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
26624 (libc_hidden_def): Undefine and redefine.
26625 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
26626 [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
26627 __GI_strnlen.
26628 * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
26629 libc_hidden_def.
26630 * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
26631
26632 [BZ #18469]
26633 * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
26634 weak alias of __towlower. Use libc_hidden_weak.
26635 (towupper): Rename to __towupper and define as weak alias of
26636 __towupper. Use libc_hidden_weak.
26637 * include/wctype.h (__towlower): Declare. Use libc_hidden_proto.
26638 (__towupper): Likewise.
26639 * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
26640 __towlower instead of towlower.
26641
26642 2015-06-02 Roland McGrath <roland@hack.frob.com>
26643
26644 * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
26645 "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
26646
26647 2015-06-02 Szabolcs Nagy <szabolcs.nagy@arm.com>
26648
26649 * sysdeps/aarch64/libm-test-ulps: Update.
26650
26651 2015-06-01 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26652
26653 * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
26654 Define.
26655 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26656 * sysdeps/unix/sysv/linux/x86_64/sysdep.h
26657 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26658 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26659 * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
26660 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
26661 * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
26662
26663 2015-06-01 Martin Sebor <msebor@redhat.com>
26664
26665 [BZ #18116]
26666 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
26667 (__setcontext): Use extended four-operand version of mtsf whenever
26668 possible.
26669 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
26670 (__novec_swapcontext): Likewise.
26671
26672 2015-06-01 Siddhesh Poyarekar <siddhesh@redhat.com>
26673
26674 * benchtests/scripts/compare_bench.py: New file.
26675 * benchtests/scripts/import_bench.py (mean): New function.
26676 (split_list): Likewise.
26677 (do_for_all_timings): Likewise.
26678 (compress_timings): Likewise.
26679
26680 * benchtests/scripts/import_bench.py: New file.
26681 * benchtests/scripts/validate_benchout.py: Import import_bench
26682 instead of jsonschema.
26683 (validate_bench): Remove function.
26684 (main): Use import_bench.
26685
26686 2015-06-01 Steve Ellcey <sellcey@imgtec.com>
26687
26688 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
26689 copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
26690
26691 2015-05-29 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26692
26693 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
26694
26695 2015-05-28 Roland McGrath <roland@hack.frob.com>
26696
26697 * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
26698 set THREAD_SELF->tid to a magic value and futex-wake it.
26699 Pass its address to the thread_exit system call.
26700 * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
26701 bit is clear.
26702 * sysdeps/nacl/lowlevellock.h: New file.
26703 * sysdeps/nacl/lll_timedwait_tid.c: New file.
26704
26705 * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
26706 Add TIMEOUT to current time, don't subtract it.
26707
26708 2015-05-28 H.J. Lu <hongjiu.lu@intel.com>
26709
26710 [BZ #2981]
26711 [BZ #18422]
26712 * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
26713 ($(objpfx)tst-audit2.out): Also depend on
26714 $(objpfx)tst-auditmod9b.so.
26715 * elf/tst-audit2.c: Include <dlfcn.h>.
26716 (calloc_called): New.
26717 (calloc): Allow to be called more than once.
26718 (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
26719
26720 2015-05-28 Wilco Dijkstra <wdijkstr@arm.com>
26721
26722 * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
26723 * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
26724
26725 2015-05-27 Marko Myllynen <myllynen@redhat.com>
26726
26727 * stdlib/monetary.h: Fix comment.
26728
26729 2015-05-26 Chris Metcalf <cmetcalf@ezchip.com>
26730
26731 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
26732 Avoid using variables in #defines that might cause shadowing.
26733 (INTERNAL_VSYSCALL_CALL): Likewise.
26734
26735 2015-05-26 Roland McGrath <roland@hack.frob.com>
26736
26737 * sysdeps/nacl/lll_timedlock_wait.c: New file.
26738
26739 * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
26740 * nptl/lll_timedlock_wait.c: ... to this new file.
26741 * nptl/Makefile (libpthread-routines): Add it.
26742 * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
26743 * nptl/lll_timedwait_tid.c: ... to this new file.
26744 * nptl/Makefile (libpthread-routines): Add it.
26745 * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
26746 * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
26747 * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
26748 * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
26749 * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
26750 * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
26751 * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
26752 * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
26753 * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
26754 * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
26755
26756 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26757
26758 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
26759 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
26760 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
26761 * sysdeps/unix/sysv/linux/aarch64/sysdep.h
26762 (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
26763 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
26764 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26765 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
26766 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26767 * sysdeps/unix/sysv/linux/tile/sysdep.h
26768 (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
26769 * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
26770 using vDSO syscall macro.
26771
26772 2015-05-26 Andriy Rysin <arysin@gmail.com>
26773
26774 [BZ #17293]
26775 * uk_UA: Fix sorting order for Ukrainian locale
26776
26777 2015-05-26 Marko Myllynen <myllynen@redhat.com>
26778
26779 * stdlib/monetary.h: Fix comment.
26780
26781 2015-05-26 Szabolcs Nagy <szabolcs.nagy@arm.com>
26782
26783 [BZ #18234]
26784 * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
26785 st_mtim and st_ctim members.
26786 * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
26787 st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
26788 * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
26789 (struct stat64): Likewise.
26790 * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
26791 (struct stat64): Likewise.
26792 * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
26793 (struct stat64): Likewise.
26794
26795 2015-05-26 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26796
26797 * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
26798 Define and include sysdep-vdso.h.
26799 * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
26800 Likewise.
26801 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
26802 Likewise.
26803 * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
26804 Define with VDSO_SYMBOL and use PTR_MANGLE.
26805 (__vdso_clock_gettime): Likewise.
26806 (__vdso_clock_getres): Likewise.
26807 (_libc_vdso_platform_setup): Likewise.
26808 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
26809 Likewise.
26810 (_libc_vdso_platform_setup): Likewise.
26811 * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
26812 Likewise.
26813 (__vdso_clock_gettime): Likewise.
26814 (__vdso_clock_getres): Likewise.
26815 (__vdso_get_tbfreq): Likewise.
26816 (__vdso_getcpu): Likewise.
26817 (__vdso_time): Likewise.
26818 (__vdso_sigtramp_rt64): Likewise.
26819 (__vdso_signtramp32): Likewise.
26820 (__vdso_sigtramp_rt32): Likewise.
26821 (_libc_vdso_platform_setup): Likewise.
26822 * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
26823 Likewise.
26824 (__vdso_clock_gettime): Likewise.
26825 (__vdso_clock_getres): Likewise.
26826 (_libc_vdso_platform_setup): Likewise.
26827 * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
26828 Likewise.
26829 (__vdso_clock_gettime): Likewise.
26830 (_libc_vdso_platform_setup): Likewise.
26831 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
26832 Likewise.
26833 (__vdso_getcpu): Likewise.
26834 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
26835 Use VDSO_SYMBOL macro to define.
26836 (__vdso_clock_gettime): Likewise.
26837 (__vdso_clock_getres): Likewise.
26838 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
26839 Likewise.
26840 (__vdso_clock_gettime): Likewise.
26841 (__vdso_clock_getres): Likewise.
26842 (__vdso_get_tbfreq): Likewise.
26843 (__vdso_getcpu): Likewise.
26844 (__vdso_time): Likewise.
26845 (__vdso_sigtramp_rt64): Likewise.
26846 (__vdso_signtramp32): Likewise.
26847 (__vdso_sigtramp_rt32): Likewise.
26848 * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
26849 Likewise.
26850 (__vdso_clock_gettime): Likewise.
26851 (__vdso_clock_getres): Likewise.
26852 * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
26853 Likewise.
26854 (__vdso_clock_gettime): Likewise.
26855 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
26856 Likewise.
26857 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL): Remove
26858 macro.
26859 (INTERNAL_VSYSCALL): Likewise.
26860 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
26861 Remove macro.
26862 (INTERNAL_VSYSCALL): Likewise.
26863 (INTERNAL_VSYSCALL_NCS): Likewise.
26864 (INTERNAL_VSYSCALL_CALL): New macro.
26865 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26866 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
26867 Likewise.
26868 (INTERNAL_VSYSCALL): Likewise.
26869 (INTERNAL_VSYSCALL_NCS): Likewise.
26870 (INTERNAL_VSYSCALL_CALL): New macro.
26871 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
26872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
26873 (INLINE_VSYSCALL): Remove macro.
26874 (INTERNAL_VSYSCALL): Remove macro.
26875 (INTERNAL_VSYSCALL_NCS): Remove macro.
26876 (INTERNAL_VSYSCALL_CALL): New macro.
26877 (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
26878 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
26879 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26880 (HAVE_CLOCK_GETRES_VSYSCALL): New define.
26881 (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
26882 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
26883 (INLINE_VSYSCALL): Remove macro.
26884 (INTERNAL_VSYSCALL): Likewise.
26885 (INTERNAL_VSYSCALL_NCS): Likewise.
26886 (INTERNAL_VSYSCALL_CALL): New macro.
26887 (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
26888 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
26889 PTR_DEMANGLE on vDSO pointer.
26890 (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
26891 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
26892 macro.
26893 (INTERNAL_SYSCALL): Likewise.
26894 (INTERNAL_VSYSCALL_NCS): Remove macro.
26895 (INTERNAL_VSYSCALL_CALL): New macro.
26896 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
26897 Remove macro.
26898 (INTERNAL_VSYSCALL): Likewise.
26899 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
26900 sysdep-vdso.h instead of libc-vdso.h.
26901 * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
26902 definition.
26903 (INLINE_VSYSCALL): Likewise.
26904 (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
26905 * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
26906 definition.
26907 (INLINE_VSYSCALL): Likewise.
26908 (INTERNAL_VSYSCALL): Likewise.
26909 (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26910 * sysdeps/unix/sysv/linux/timespec_get.c
26911 (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
26912 (timespec_get): Use ANSI prototype.
26913 * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
26914 and definition for Linux.
26915
26916 2015-05-25 Andrew Senkevich <andrew.senkevich@intel.com>
26917
26918 * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
26919 * include/libc-symbols.h: libmvec_hidden_* macro series added.
26920
26921 2015-05-22 H.J. Lu <hongjiu.lu@intel.com>
26922
26923 [BZ #2981]
26924 [BZ #18410]
26925 * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
26926 for missing DT_PLTRELSZ.
26927
26928 2015-05-22 Paul Eggert <eggert@cs.ucla.edu>
26929
26930 Remove obsolete aliases that broke 'locale -a'
26931 [BZ #18412]
26932 * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
26933 which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
26934 breaking some applications that use 'locale -a' output.
26935 Change the encoding of this file from Latin-1 to ASCII to avoid
26936 other potential problems with people grepping this file.
26937
26938 2015-05-22 Adhemerval Zanella <adhemerval.zanella@linaro.org>
26939
26940 * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
26941 -fasynchronous-unwind-tables.
26942 (CFLAGS-sendto.c): Likewise.
26943 (CFLAGS-sendmsg.c): Likewise.
26944 (CFLAGS-connect.c): Likewise.
26945 (CFLAGS-recvmsg.c): Likewise.
26946 (CFLAGS-recvfrom.c): Likewise.
26947 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
26948 (SOCKETCALL): New macro: non-cancellable socketcall.
26949 (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
26950 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
26951 internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
26952 * sysdeps/unix/sysv/linux/accept.c: New file.
26953 * sysdeps/unix/sysv/linux/bind.c: Likewise.
26954 * sysdeps/unix/sysv/linux/connect.c: Likewise.
26955 * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
26956 * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
26957 * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
26958 * sysdeps/unix/sysv/linux/listen.c: Likewise.
26959 * sysdeps/unix/sysv/linux/recv.c: Likewise.
26960 * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
26961 * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
26962 * sysdeps/unix/sysv/linux/send.c: Likewise.
26963 * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
26964 * sysdeps/unix/sysv/linux/sendto.c: Likewise.
26965 * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
26966 * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
26967 * sysdeps/unix/sysv/linux/socket.c: Likewise.
26968 * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
26969 * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
26970 prototype.
26971 (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
26972 (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26973 instead of __internal_xxx function.
26974 * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
26975 prototype.
26976 (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
26977 (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26978 instead of __internal_xxx function.
26979 * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
26980 prototype.
26981 (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
26982 (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
26983 instead of __internal_xxx function.
26984 * sysdeps/unix/sysv/linux/accept.S: Remove file.
26985 * sysdeps/unix/sysv/linux/bind.S: Likewise.
26986 * sysdeps/unix/sysv/linux/connect.S: Likewise.
26987 * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
26988 * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
26989 * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
26990 * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
26991 * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
26992 * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
26993 * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
26994 * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
26995 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
26996 * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
26997 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
26998 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
26999 * sysdeps/unix/sysv/linux/listen.S: Likewise.
27000 * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
27001 * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
27002 * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
27003 * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
27004 * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
27005 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
27006 * sysdeps/unix/sysv/linux/recv.S: Likewise.
27007 * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
27008 * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
27009 * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
27010 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
27011 * sysdeps/unix/sysv/linux/send.S: Likewise.
27012 * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
27013 * sysdeps/unix/sysv/linux/sendto.S: Likewise.
27014 * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
27015 * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
27016 * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
27017 * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
27018 * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
27019 * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
27020 * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
27021 * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
27022 * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
27023 socketcall is implemented in GLIBC.
27024
27025 2015-05-22 Joseph Myers <joseph@codesourcery.com>
27026
27027 * soft-fp/fmadf4.c: Include <libc-internal.h>.
27028 (__fma): Ignore uninitialized warnings around packing.
27029 * soft-fp/fmasf4.c: Include <libc-internal.h>.
27030 (__fmaf): Ignore uninitialized warnings around packing.
27031 * soft-fp/fmatf4.c: Include <libc-internal.h>.
27032 (__fmal): Ignore uninitialized warnings around packing.
27033
27034 * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
27035 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
27036 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
27037 (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
27038
27039 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
27040 switch statement into default case.
27041 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
27042
27043 * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
27044 a conditional in forcing "inexact".
27045 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
27046 Likewise.
27047
27048 2015-05-22 Roland McGrath <roland@hack.frob.com>
27049
27050 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
27051 Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
27052 for each INTERNAL_SYSCALL use.
27053
27054 2015-05-22 Joseph Myers <joseph@codesourcery.com>
27055
27056 [BZ #438]
27057 * posix/unistd.h (_POSIX2_C_VERSION): New macro.
27058 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
27059 variable.
27060
27061 [BZ #18444]
27062 * string/basename.c (basename): Rename to __basename and define as
27063 weak alias of __basename. Use libc_hidden_weak.
27064 * include/string.h (__basename): Declare. Use libc_hidden_proto.
27065 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
27066 __basename instead of basename.
27067 * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
27068 Remove variable.
27069 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
27070
27071 2015-05-18 Florian Weimer <fweimer@redhat.com>
27072
27073 * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
27074 (_IO_JUMPS_FILE_plus): New.
27075 (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
27076 _IO_CAST_FIELD_ACCESS.
27077 * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
27078 mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
27079 * libio/freopen.c (freopen): Likewise.
27080 * libio/freopen64.c (freopen64): Likewise.
27081 * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
27082 * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
27083 * libio/iofwide.c (_IO_fwide): Likewise.
27084 * libio/memstream.c (open_memstream): Likewise.
27085 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
27086 * libio/oldiofopen.c (_IO_old_fopen): Likewise.
27087 * libio/oldiopopen.c (_IO_old_popen): Likewise.
27088
27089 2015-05-21 Joseph Myers <joseph@codesourcery.com>
27090
27091 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
27092 (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
27093 NADJ.
27094 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
27095 (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
27096 NADJ.
27097 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
27098 (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
27099 NADJ.
27100
27101 * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
27102 (p == 4) case.
27103
27104 * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
27105 * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
27106 Remove variable.
27107 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
27108 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
27109 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
27110
27111 2015-05-21 Florian Weimer <fweimer@redhat.com>
27112
27113 * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
27114 Adjust jump table label generation macros.
27115
27116 2015-05-21 Florian Weimer <fweimer@redhat.com>
27117
27118 * stdio-common/vfprintf.c (vfprintf): Move local variables
27119 args_malloced, specs, specs_malloced, and the code after
27120 do_positional to the printf_positional function.
27121 (printf_positional): New function.
27122
27123 2015-05-21 Florian Weimer <fweimer@redhat.com>
27124
27125 * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
27126 function.
27127 (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
27128 STEP4_TABLE, process_arg): Move macro definitions
27129 out of the vfprintf function. (Cosmetic change only.)
27130
27131 2015-05-21 Carlos O'Donell <carlos@redhat.com>
27132
27133 * benchtests/Makefile (stdio-common-bench): Define.
27134 (benchset): Add stdio-common-bench.
27135 * sprintf-inputs: New file.
27136 * sprintf-source.c: New file.
27137
27138 2015-05-21 Andreas Schwab <schwab@suse.de>
27139
27140 [BZ #13028]
27141 [BZ #17053]
27142 * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
27143 of struct __res_state.
27144 * resolv/res_send.c (__libc_res_nsend): Likewise.
27145 (get_nsaddr): New function.
27146 (res_ourserver_p, send_vc, reopen): Use it instead of accessing
27147 statp directly.
27148
27149 2015-05-20 Joseph Myers <joseph@codesourcery.com>
27150
27151 * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
27152 -D_POSIX_C_SOURCE=199506L.
27153
27154 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
27155
27156 * conform/data/unistd.h-data (_POSIX_VERSION): Require.
27157 (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
27158 Do not mention otherwise.
27159 [POSIX] (_XOPEN_VERSION): Do not expect.
27160 [POSIX] (_XOPEN_XCU_VERSION): Likewise.
27161 [POSIX] (_POSIX2_C_BIND): Likewise.
27162 [POSIX] (_POSIX2_VERSION): Likewise.
27163 [POSIX] (_XOPEN_XPG2): Likewise.
27164 [POSIX] (_XOPEN_XPG3): Likewise.
27165 [POSIX] (_XOPEN_XPG4): Likewise.
27166 [POSIX] (_XOPEN_UNIX): Likewise.
27167 [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
27168 [POSIX] (_POSIX_BARRIERS): Likewise.
27169 [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
27170 [POSIX] (_POSIX_CPUTIME): Likewise.
27171 [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
27172 [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
27173 [POSIX] (_POSIX_SHELL): Likewise.
27174 [POSIX] (_POSIX_SPAWN): Likewise.
27175 [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
27176 [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
27177 [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
27178 [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
27179 [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
27180 [POSIX] (_XBS5_ILP32_OFF32): Likewise.
27181 [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
27182 [POSIX] (_XBS5_LP64_OFF64): Likewise.
27183 [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
27184 [POSIX] (_POSIX_TIMEOUTS): Likewise.
27185 [POSIX] (_POSIX2_PBS): Likewise.
27186 [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
27187 [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
27188 [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
27189 [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
27190 [POSIX] (_POSIX2_PBS_TRACK): Likewise.
27191 [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
27192 [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
27193 [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
27194 [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
27195 [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
27196 [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
27197 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
27198 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
27199 [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
27200 [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
27201 [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
27202 [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
27203 [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
27204 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
27205 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
27206 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
27207 [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
27208 [POSIX] (_SC_2_C_BIND): Likewise.
27209 [POSIX] (_SC_2_C_VERSION): Likewise.
27210 [POSIX] (_SC_2_PBS): Likewise.
27211 [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
27212 [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
27213 [POSIX] (_SC_2_PBS_LOCATE): Likewise.
27214 [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
27215 [POSIX] (_SC_2_PBS_TRACK): Likewise.
27216 [POSIX] (_SC_ATEXIT_MAX): Likewise.
27217 [POSIX] (_SC_BARRIERS): Likewise.
27218 [POSIX] (_SC_BASE): Likewise.
27219 [POSIX] (_SC_CLOCK_SELECTION): Likewise.
27220 [POSIX] (_SC_DEVICE_IO): Likewise.
27221 [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
27222 [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
27223 [POSIX] (_SC_FD_MGMT): Likewise.
27224 [POSIX] (_SC_FIFO): Likewise.
27225 [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
27226 [POSIX] (_SC_FILE_LOCKING): Likewise.
27227 [POSIX] (_SC_FILE_SYSTEM): Likewise.
27228 [POSIX] (_SC_IOV_MAX): Likewise.
27229 [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
27230 [POSIX] (_SC_NETWORKING): Likewise.
27231 [POSIX] (_SC_PAGE_SIZE): Likewise.
27232 [POSIX] (_SC_PASS_MAX): Likewise.
27233 [POSIX] (_SC_PIPE): Likewise.
27234 [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
27235 [POSIX] (_SC_REGEXP): Likewise.
27236 [POSIX] (_SC_SHELL): Likewise.
27237 [POSIX] (_SC_SIGNALS): Likewise.
27238 [POSIX] (_SC_SINGLE_PROCESS): Likewise.
27239 [POSIX] (_SC_SPIN_LOCKS): Likewise.
27240 [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
27241 [POSIX] (_SC_USER_GROUPS): Likewise.
27242 [POSIX] (_SC_USER_GROUPS_R): Likewise.
27243 [POSIX] (_SC_STREAMS): Likewise.
27244 [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
27245 [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
27246 [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
27247 [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
27248 [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
27249 [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
27250 [POSIX] (_PC_FILESIZEBITS): Likewise.
27251 [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
27252 [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
27253 [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
27254 [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
27255 [POSIX] (uid_t): Likewise.
27256 [POSIX] (gid_t): Likewise.
27257 [POSIX] (off_t): Likewise.
27258 [POSIX] (pid_t): Likewise.
27259 [POSIX] (cuserid): Allow.
27260 (_SC_2_CHAR_TERM): Require constant.
27261 (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
27262 * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
27263 variable.
27264
27265 2015-05-20 Roland McGrath <roland@hack.frob.com>
27266
27267 * sysdeps/nacl/pthread-pids.h: New file.
27268 * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
27269 (create_thread): Use __nacl_get_tid to initialize PD->tid.
27270
27271 * nptl/pthread-pids.h: New file.
27272 * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
27273 * nptl/nptl-init.c: Include <pthread-pids.h>.
27274 (__pthread_initialize_minimal_internal):
27275 Call __pthread_initialize_pids instead of set_tid_address syscall.
27276
27277 * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
27278 * sysdeps/posix/usleep.c: ... here.
27279
27280 2015-05-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27281
27282 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
27283 call_pselect6 object.
27284 [$(subdir) = io]: Remove call_sync_file_range object.
27285 * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
27286 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
27287 * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
27288 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
27289
27290 2015-05-20 Wilco Dijkstra <wdijkstr@arm.com>
27291
27292 * math/s_cproj.c: Add include "math_private.h".
27293 * math/s_cprojf.c: Likewise.
27294 * math/s_cprojl.c: Likewise.
27295
27296 2015-05-19 Joseph Myers <joseph@codesourcery.com>
27297
27298 [BZ #18244]
27299 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
27300 high mantissa bit when testing whether P is a NaN.
27301 * math/libm-test.inc (remainder_test_data): Add more tests.
27302 (remquo_test_data): Likewise.
27303
27304 [BZ #18049]
27305 * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
27306 below -32, return the argument, with underflow if subnormal.
27307 * math/auto-libm-test-in: Add more tests of atanh.
27308 * math/auto-libm-test-out: Regenerated.
27309
27310 2015-05-19 Roland McGrath <roland@hack.frob.com>
27311
27312 [BZ #18434]
27313 * nptl/tst-sem15.c: New file.
27314 * nptl/Makefile (tests): Add it.
27315 * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
27316 s/<</>>/ to fix typo in EOVERFLOW check.
27317 * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
27318
27319 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27320
27321 * manual/strings.texi (envz_remove): Fix typo in safety
27322 annotations.
27323
27324 2015-05-19 Paul Eggert <eggert@cs.ucla.edu>
27325 Steve Ellcey <sellcey@imgtec.com>
27326
27327 * inet/rcmd.c (rresvport_af): Change ss to anonymous union
27328 in order to avoid strict alias warnings.
27329 (iruserok_af): Ditto for ra.
27330
27331 2015-05-19 James Lemke <jwlemke@codesourcery.com>
27332
27333 [BZ #17581]
27334 * malloc/hooks.c
27335 (magicbyte): Convert to a function and avoid returning 0x01.
27336 (mem2mem_check): Avoid using a length byte equal to the magic byte.
27337 (mem2chunk_check): Fix unsigned comparisons to zero.
27338 Hoist defs of sz and magic.
27339
27340 2015-05-19 Richard Henderson <rth@redhat.com>
27341
27342 * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
27343
27344 * sysdeps/alpha/fpu/libm-test-ulps: Update.
27345
27346 2015-05-19 Siddhesh Poyarekar <siddhesh@redhat.com>
27347
27348 [BZ #16159]
27349 * malloc/Makefile (tests): New test case tst-malloc-backtrace.
27350 * malloc/arena.c (arena_lock): Check if arena is corrupt.
27351 (reused_arena): Find a non-corrupt arena.
27352 (heap_trim): Pass arena to unlink.
27353 * malloc/hooks.c (malloc_check_get_size): Pass arena to
27354 malloc_printerr.
27355 (top_check): Likewise.
27356 (free_check): Likewise.
27357 (realloc_check): Likewise.
27358 * malloc/malloc.c (malloc_printerr): Add arena argument.
27359 (unlink): Likewise.
27360 (munmap_chunk): Adjust.
27361 (ARENA_CORRUPTION_BIT): New macro.
27362 (arena_is_corrupt): Likewise.
27363 (set_arena_corrupt): Likewise.
27364 (sysmalloc): Use mmap if there are no usable arenas.
27365 (_int_malloc): Likewise.
27366 (__libc_malloc): Don't fail if arena_get returns NULL.
27367 (_mid_memalign): Likewise.
27368 (__libc_calloc): Likewise.
27369 (__libc_realloc): Adjust for additional argument to
27370 malloc_printerr.
27371 (_int_free): Likewise.
27372 (malloc_consolidate): Likewise.
27373 (_int_realloc): Likewise.
27374 (_int_memalign): Don't touch corrupt arenas.
27375 * malloc/tst-malloc-backtrace.c: New test case.
27376
27377 * Makefile (summarize-tests): Fix return value on success.
27378
27379 * manual/string.texi (Envz Functions): Add envz_remove.
27380
27381 2015-05-18 Roland McGrath <roland@hack.frob.com>
27382
27383 * sysdeps/posix/opendir.c: Include <stdbool.h>.
27384 (invalid_name): New function, broken out of ...
27385 (__opendirat): ... here. Call it.
27386 (need_isdir_precheck): New function, broken out of ...
27387 (__opendirat): ... here. Call it.
27388 Use __fxstatat64, not __xstatat64.
27389 (opendir_oflags): New function, broken out of ...
27390 (__opendirat): ... here. Call it.
27391 (opendir_tail): New function, broken out of ...
27392 (__opendirat): ... here. Call it.
27393 (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
27394 opendir_tail, rather than punting to __opendirat.
27395 (__opendirat): Conditionalize function definition on [IS_IN (libc)].
27396
27397 2015-05-18 Siddhesh Poyarekar <siddhesh@redhat.com>
27398
27399 * .gitignore: Ignore generated *.pyc.
27400
27401 2015-05-18 Arjun Shankar <arjun.is@lostca.se>
27402
27403 * include/stdio.h: Define __need_wint_t.
27404 * test-skeleton.c: Avoid `for' loop initial declaration.
27405 * nptl/tst-initializers1.c: Use test-skeleton.c.
27406
27407 2015-05-17 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27408
27409 [BZ #18418]
27410 * stdlib/tst-setcontext3.sh: Remove non-portable array use.
27411
27412 2015-05-15 Joseph Myers <joseph@codesourcery.com>
27413
27414 [BZ #16352]
27415 * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
27416 (__ieee754_atanh): Force underflow exception for results with
27417 small absolute value.
27418 * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
27419 (__ieee754_atanhf): Force underflow exception for results with
27420 small absolute value.
27421 * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
27422 (__ieee754_atanh): Force underflow exception for results with
27423 small absolute value.
27424 * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
27425 (__ieee754_atanhf): Force underflow exception for results with
27426 small absolute value.
27427 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
27428 (__ieee754_atanhl): Force underflow exception for results with
27429 small absolute value.
27430 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
27431 (__ieee754_atanhl): Force underflow exception for results with
27432 small absolute value.
27433 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
27434 (__ieee754_atanhl): Force underflow exception for results with
27435 small absolute value.
27436 * math/auto-libm-test-in: Do not allow missing underflow
27437 exceptions from atanh.
27438 * math/auto-libm-test-out: Regenerated.
27439
27440 [BZ #18221]
27441 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
27442 2**-28 as threshold for returning x or +/- 1/x.
27443 * math/auto-libm-test-in: Add more tests of tan.
27444 * math/auto-libm-test-out: Regenerated.
27445
27446 [BZ #18220]
27447 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
27448 2**26 not 2**58 as threshold for returning x * (log (x) - 1).
27449 * math/auto-libm-test-in: Add another test of lgamma.
27450 * math/auto-libm-test-out: Regenerated.
27451
27452 2015-05-15 Wilco Dijkstra <wdijkstr@arm.com>
27453
27454 * stdio-common/printf_fp.c (___printf_fp): Use abs.
27455 * stdlib/gmp-impl.h (ABS): Remove define. (ABSIZ): Remove.
27456 * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
27457 * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
27458 (ESUB): Use fabs. (ADD2): Use fabs. (SUB2): Use fabs.
27459 (ADD2A): Use fabs. (SUB2A): Use fabs.
27460 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
27461 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
27462 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
27463 (log1): Use fabs. (my_log2): Use fabs.
27464 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
27465 * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
27466 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
27467 * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
27468 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
27469 (__cos): Use fabs. (slow): Use fabs. (slow2): Use fabs.
27470 (sloww): Use fabs. (sloww1): Use fabs. (sloww2): Use fabs.
27471 (bslow1): Use fabs. (bslow2): Use fabs. (cslow2): Use fabs.
27472 (csloww): Use fabs. (csloww1): Use fabs. (csloww2): Use fabs.
27473 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
27474 * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
27475
27476 2015-05-15 Joseph Myers <joseph@codesourcery.com>
27477
27478 [BZ #18217]
27479 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
27480 as threshold for returning 1 - x.
27481 * math/auto-libm-test-in: Add more tests of erfc.
27482 * math/auto-libm-test-out: Regenerated.
27483
27484 2015-05-14 Joseph Myers <joseph@codesourcery.com>
27485
27486 [BZ #18196]
27487 * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
27488 threshold for large arguments.
27489 * math/auto-libm-test-in: Add another test of atan.
27490 * math/auto-libm-test-out: Regenerated.
27491
27492 [BZ #16339]
27493 * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
27494 (__log1p): Force underflow exception for results with small
27495 absolute value.
27496 * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
27497 (__log1pf): Force underflow exception for results with small
27498 absolute value.
27499 * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
27500 (__log1p): Force underflow exception for results with small
27501 absolute value.
27502 * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
27503 (__log1pf): Force underflow exception for results with small
27504 absolute value.
27505 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
27506 (__log1pl): Force underflow exception for results with small
27507 absolute value.
27508 * math/auto-libm-test-in: Do not allow missing underflow
27509 exceptions from log1p.
27510 * math/auto-libm-test-out: Regenerated.
27511
27512 2015-05-14 Jakub Bogusz <qboosh@pld-linux.org>
27513 Adhemerval Zanella <adhemerval.zanella@linaro.org>
27514
27515 [BZ #16704]
27516 * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
27517
27518 2015-05-14 Andrew Senkevich <andrew.senkevich@intel.com>
27519
27520 * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
27521 (libmvec): New variable.
27522 * configure.ac: Added option for mathvec build.
27523 * configure: Regenerated.
27524 * mathvec/Depend: New file.
27525 * mathvec/Makefile: New file.
27526 * shlib-versions: Added libmvec.
27527 * math/Makefile: Added rule for libm.so installation.
27528
27529 * bits/math-vector.h: New file.
27530 * bits/libm-simd-decl-stubs.h: New header.
27531 * math/Makefile (headers): Added new header
27532 libm-simd-decl-stubs.h.
27533 * math/math.h (__MATHCALL_VEC): New macro.
27534
27535 * math/gen-libm-have-vector-test.sh: Script generates series of macros
27536 for conditions in testing functions.
27537 * math/Makefile: Added call of libm-have-vector-test.sh.
27538 * math/libm-test.inc (HAVE_VECTOR): New macros.
27539
27540 * math/libm-test.inc: START refactored.
27541 * math/test-double.c (TEST_MATHVEC): Add define.
27542 * math/test-float.c: Likewise.
27543 * math/test-idouble.c: Likewise.
27544 * math/test-ifloat.c: Likewise.
27545 * math/test-ildoubl.c: Likewise.
27546 * math/test-ldouble.c: Likewise.
27547 * sysdeps/generic/math-tests-arch.h
27548 (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
27549 architecture check.
27550
27551 * math/test-double.c (FUNC_TEST): New macro.
27552 * math/test-float.c: Likewise.
27553 * math/test-idouble.c: Likewise.
27554 * math/test-ifloat.c: Likewise.
27555 * math/test-ildoubl.c: Likewise.
27556 * math/test-ldouble.c: Likewise.
27557 * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
27558
27559 2015-05-13 Roland McGrath <roland@hack.frob.com>
27560
27561 * sysdeps/nacl/fdopendir.c: New file.
27562
27563 * dirent/scandir-tail.c: New file.
27564 * dirent/scandir64-tail.c: New file.
27565 * dirent/Makefile (routines): Add them.
27566 (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
27567 * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
27568 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
27569 [!SCANDIR] (SCANDIR_TAIL): New macro.
27570 (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
27571 * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
27572 (SCANDIRAT): Macro removed.
27573 (SCANDIR_TAIL): New macro.
27574 * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
27575 [!SCANDIRAT] (SCANDIR_TAIL): New macro.
27576 (SCANDIRAT): Just call __opendirat and __scandir_tail.
27577 * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
27578 (READDIR): Macro removed.
27579 (SCANDIR_TAIL): New macro.
27580 * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
27581 (SCANDIR_TAIL): New macro.
27582
27583 * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
27584 * dirent/scandir-cancel.c: ... to this new file.
27585 * dirent/Makefile (routines): Add it.
27586 * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
27587 * sysdeps/unix/sysv/linux/i386/scandir64.c
27588 (SKIP_SCANDIR_CANCEL): Macro removed.
27589 * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
27590
27591 * dirent/tst-scandir.c: New file.
27592 * dirent/tst-scandir64.c: New file.
27593 * dirent/Makefile (tests): Add them.
27594
27595 2015-05-13 H.J. Lu <hongjiu.lu@intel.com>
27596
27597 [BZ #18409]
27598 * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
27599
27600 2015-05-13 Szabolcs Nagy <szabolcs.nagy@arm.com>
27601
27602 * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
27603 list.
27604
27605 2015-05-13 Leonhard Holz <leonhard.holz@web.de>
27606
27607 * benchtests/bench-strcoll.c: New benchmark.
27608 * benchtests/Makefile: Generate locales and run benchmark.
27609 * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
27610 * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
27611 * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
27612 * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
27613 * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
27614 * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
27615 * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
27616 * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
27617 * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
27618 * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
27619 * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
27620 * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
27621 * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
27622 * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
27623 * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
27624 * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
27625 * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
27626 * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
27627 * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
27628 * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
27629 * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
27630 * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
27631 * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
27632 * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
27633
27634 2015-05-12 Ondřej Bílka <neleai@seznam.cz>
27635
27636 * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
27637 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
27638
27639 2015-05-12 Roland McGrath <roland@hack.frob.com>
27640
27641 * posix/uname-values.h: New file.
27642 * posix/uname.c: Include that instead of <config-name.h>.
27643 * sysdeps/nacl/uname-values.h: New file.
27644 * sysdeps/arm/nacl/uname-values.h: New file.
27645
27646 2015-05-12 Joseph Myers <joseph@codesourcery.com>
27647
27648 * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
27649 splitting into fields.
27650
27651 2015-05-12 Leonhard Holz <leonhard.holz@web.de>
27652
27653 * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
27654 * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
27655 * locale/localeinfo.h: Add enum collation_encoding_type.
27656 * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
27657 * programs/ld-collate.c (collate_output): Add encoding type info.
27658 * string/strcoll_l.c (STRDIFF): New function.
27659 * (STRCOLL): Use STRDIFF to skip over equal prefix.
27660 * wcsmbs/wcscoll_l.c: Define STRDIFF.
27661
27662 2015-05-11 Joseph Myers <joseph@codesourcery.com>
27663
27664 [BZ #18397]
27665 * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
27666 * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here. Include
27667 <fpu_control.h> instead of <math/fpu_control.c>.
27668 * sysdeps/mips/mips32/fpu/Makefile: New file.
27669
27670 2015-05-11 Andreas Schwab <schwab@suse.de>
27671
27672 [BZ #18007]
27673 * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
27674 nss_endgrent.
27675 (_nss_compat_endgrent): Call nss_endgrent.
27676 * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
27677 nss_endpwent.
27678 (_nss_compat_endpwent): Call nss_endpwent.
27679 * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
27680 needent, call nss_setspent only if non-zero.
27681 (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
27682 (internal_endspent): Don't call nss_endspent.
27683 (_nss_compat_endspent): Call nss_endspent.
27684 * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
27685 Remove. All uses removed.
27686 (internal_setent): Remove parameter stayopen, add parameter
27687 stream. Use it instead of global variable.
27688 (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
27689 (internal_endent, internal_getent): Add parameter stream. Use it
27690 instead of global variable.
27691 (CONCAT(_nss_files_end,ENTNAME))
27692 (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
27693 (_nss_files_get##name##_r): Pass local stream. Remove locking.
27694 * nss/nss_files/files-alias.c (position, last_use): Remove. All
27695 uses removed.
27696 (internal_setent, internal_endent): Add parameter stream. Use it
27697 instead of global variable.
27698 (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
27699 stream.
27700 (get_next_alias): Add parameter stream.
27701 (_nss_files_getaliasent_r): Pass global stream.
27702 (_nss_files_getaliasbyname_r): Pass local stream. Remove locking.
27703 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
27704 (_nss_files_gethostbyname4_r): Pass local stream to
27705 internal_setent, internal_getent and internal_endent. Remove
27706 locking.
27707
27708 2015-05-11 Stefan Liebler <stli@linux.vnet.ibm.com>
27709
27710 * tst-strfmon1.c (tests): Update expected currency symbol.
27711
27712 2015-05-08 Roland McGrath <roland@hack.frob.com>
27713
27714 * sysdeps/nacl/gethostname.c: New file.
27715
27716 2015-05-08 Joseph Myers <joseph@codesourcery.com>
27717
27718 * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
27719 and sinh.
27720 * math/auto-libm-test-out: Regenerated.
27721 * sysdeps/i386/fpu/libm-test-ulps: Update.
27722 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27723
27724 2015-05-08 Carlos O'Donell <carlos@redhat.com>
27725
27726 [BZ #18125]
27727 * stdlib/tst-setcontext3.c: New file.
27728 * stdlib/tst-setcontext3.sh: New file.
27729 * stdlib/Makefile (tests): Add tst-setcontext3.
27730 (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
27731 to verify test program created output file.
27732 * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
27733 * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
27734 * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
27735 * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
27736
27737 2015-05-06 Roland McGrath <roland@hack.frob.com>
27738
27739 [BZ #18383]
27740 * elf/tst-tlsalign.c: New file.
27741 * elf/tst-tlsalign-static.c: New file.
27742 * elf/tst-tlsalign-lib.c: New file.
27743 * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
27744 (tests-static): Add tst-tlsalign-static.
27745 (modules-names): Add tst-tlsalign-lib.
27746 (test-xfail-tst-tlsalign): New variable.
27747 (test-xfail-tst-tlsalign-static): New variable.
27748
27749 * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
27750 Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
27751
27752 2015-05-06 Joseph Myers <joseph@codesourcery.com>
27753
27754 * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
27755 csqrt, erfc, sin and sincos.
27756 * math/auto-libm-test-out: Regenerated.
27757 * sysdeps/i386/fpu/libm-test-ulps: Update.
27758 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27759
27760 2015-05-06 Szabolcs Nagy <szabolcs.nagy@arm.com>
27761
27762 * sysdeps/aarch64/libm-test-ulps: Update.
27763
27764 2015-05-05 Joseph Myers <joseph@codesourcery.com>
27765
27766 * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
27767 clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
27768 * math/auto-libm-test-out: Regenerated.
27769 * sysdeps/i386/fpu/libm-test-ulps: Update.
27770 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27771
27772 2015-04-30 Daniel Marjamäki <daniel.marjamaki@evidente.se>
27773
27774 [BZ #18265]
27775 * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
27776 (wcsncpy): Likewise.
27777
27778 2015-05-05 Florian Weimer <fweimer@redhat.com>
27779
27780 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
27781 Assume __ASSUME_FALLOCATE is always true.
27782 * sysdeps/unix/sysv/linux/posix_fallocate64.c
27783 (__posix_fallocate64_l64): Likewise.
27784 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
27785 (posix_fallocate): Likewise.
27786 * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
27787 (__posix_fallocate64_l64): Likewise.
27788 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
27789 [!__ASSUME_FALLOCATE]: Add comment.
27790
27791 2015-05-05 Florian Weimer <fweimer@redhat.com>
27792
27793 * sysdeps/unix/sysv/linux/i386/Makefile
27794 (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
27795 (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
27796 * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
27797 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
27798 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
27799 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
27800 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
27801
27802 2015-05-02 Joseph Myers <joseph@codesourcery.com>
27803
27804 * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
27805 cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
27806 tgamma.
27807 * math/auto-libm-test-out: Regenerated.
27808 * sysdeps/i386/fpu/libm-test-ulps: Update.
27809 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27810
27811 2015-05-01 Joseph Myers <joseph@codesourcery.com>
27812
27813 * math/auto-libm-test-in: Add more tests of tgamma.
27814 * math/auto-libm-test-out: Regenerated.
27815 * sysdeps/i386/fpu/libm-test-ulps: Update.
27816 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27817
27818 * math/auto-libm-test-in: Add more tests of tanh.
27819 * math/auto-libm-test-out: Regenerated.
27820 * sysdeps/i386/fpu/libm-test-ulps: Update.
27821 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27822
27823 * math/auto-libm-test-in: Add more tests of tan.
27824 * math/auto-libm-test-out: Regenerated.
27825 * sysdeps/i386/fpu/libm-test-ulps: Update.
27826 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27827
27828 * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
27829 * math/auto-libm-test-out: Regenerated.
27830 * sysdeps/i386/fpu/libm-test-ulps: Update.
27831 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27832
27833 * math/auto-libm-test-in: Add another test of pow.
27834 * math/auto-libm-test-out: Regenerated.
27835 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27836
27837 * math/auto-libm-test-in: Add more tests of lgamma.
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 more tests of log, log10, log2 and
27843 log1p.
27844 * math/auto-libm-test-out: Regenerated.
27845 * sysdeps/i386/fpu/libm-test-ulps: Update.
27846 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27847
27848 2015-05-01 Mark Wielaard <mjw@redhat.com>
27849
27850 * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
27851 Elf64_Chdr structs and ELFCOMPRESS constants.
27852
27853 2015-05-01 Joseph Myers <joseph@codesourcery.com>
27854
27855 * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
27856 expm1.
27857 * math/auto-libm-test-out: Regenerated.
27858 * sysdeps/i386/fpu/libm-test-ulps: Update.
27859 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27860
27861 * math/auto-libm-test-in: Add more tests of erf and erfc.
27862 * math/auto-libm-test-out: Regenerated.
27863 * sysdeps/i386/fpu/libm-test-ulps: Update.
27864 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27865
27866 2015-05-01 Szabolcs Nagy <szabolcs.nagy@arm.com>
27867
27868 * config.h.in (HAVE_AARCH64_BE): Add.
27869
27870 2015-04-30 Joseph Myers <joseph@codesourcery.com>
27871
27872 * math/auto-libm-test-in: Add more tests of csqrt.
27873 * math/auto-libm-test-out: Regenerated.
27874 * sysdeps/i386/fpu/libm-test-ulps: Update.
27875 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27876
27877 * math/auto-libm-test-in: Add more tests of cosh and sinh.
27878 * math/auto-libm-test-out: Regenerated.
27879 * sysdeps/i386/fpu/libm-test-ulps: Update.
27880 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27881
27882 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
27883
27884 2015-04-29 Roland McGrath <roland@hack.frob.com>
27885
27886 * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
27887 * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
27888
27889 * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
27890 (euidaccess, eaccess): Define as weak aliases.
27891
27892 * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
27893 __SLONGWORD_TYPE rather than __S32_TYPE. They are the same size,
27894 but __suseconds_t is often 'long int' so some sources assume that
27895 type is being used (e.g. they use %ld to print tv_usec).
27896
27897 2015-04-29 Florian Weimer <fweimer@redhat.com>
27898
27899 [BZ #18007]
27900 * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
27901 (CVE-2014-8121)
27902 * nss/tst-nss-getpwent.c: New file.
27903 * nss/Makefile (tests): Add new test.
27904
27905 2015-04-28 Joseph Myers <joseph@codesourcery.com>
27906
27907 [BZ #18346]
27908 * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
27909 exponents less than 48 as cases where high part of mantissa needs
27910 examining to determine whether argument is integral.
27911 * math/libm-test.inc (round_test_data): Add more tests.
27912
27913 2015-04-28 Mark Wielaard <mjw@redhat.com>
27914
27915 * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
27916
27917 2015-04-27 David S. Miller <davem@davemloft.net>
27918
27919 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
27920 __tls_get_addr.
27921 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
27922
27923 2015-04-27 H.J. Lu <hongjiu.lu@intel.com>
27924
27925 [BZ#18333]
27926 * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
27927
27928 2015-04-27 Florian Weimer <fweimer@redhat.com>
27929
27930 [BZ#18333]
27931 * time/tzset.c (parse_tzname): Return error on memory allocation
27932 failure.
27933 * test-skeleton.c (struct temp_name_list): Change type of name
27934 member to non-const.
27935 (add_temp_file): Create a copy of the file name.
27936 (delete_temp_files): Deallocate memory.
27937 (create_temp_file): Add comment.
27938
27939 2015-04-24 Florian Weimer <fweimer@redhat.com>
27940
27941 * io/posix_fallocate.c (posix_fallocate): Do not set errno.
27942 * io/posix_fallocate64.c (posix_fallocate64): Likewise.
27943
27944 2015-04-24 Roland McGrath <roland@hack.frob.com>
27945
27946 * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
27947 * sysdeps/arm/configure: Regenerated.
27948
27949 2015-04-24 Florian Weimer <fweimer@redhat.com>
27950
27951 [BZ #17715]
27952 * time/tzfile.c (__tzfile_read): Check for large values of
27953 tzh_ttisstdcnt and tzh_ttisgmtcnt. Use malloc instead of alloca.
27954 * time/tzset.c (__tzstring_len): New function, based on the old
27955 __tzstring function.
27956 (__tzstring): Call __tzstring_len.
27957 (parse_tzname): New helper function extracted from
27958 __tzset_parse_tz. Call __tzstring_len, without making a copy of
27959 the input string.
27960 (parse_offset): New helper function extracted from
27961 __tzset_parse_tz. Replace switch with fallthrough with
27962 initialization before sscanf.
27963 (parse_rule): Likewise.
27964 (__tzset_parse_tz): Rewrite using the new helper functions. Use
27965 new-style function definition.
27966 * timezone/Makefile (tests): Add tst-tzset.
27967 (tst-tzset.out): Dependencies on time zone files.
27968 (tst-tzset-ENV): Set TZDIR.
27969 (testdata/XT%): Copy crafted time zone files.
27970 * timezone/README: Mention crafted time zone files.
27971 * timezone/testdata/XT1, timezone/testdata/XT2,
27972 timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
27973 files.
27974 * timezone/tst-tzset.c: New test.
27975
27976 2015-04-24 Florian Weimer <fweimer@redhat.com>
27977
27978 * Makeconfig (+gccwarn): Remove -Winline.
27979
27980 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
27981
27982 * sysdeps/s390/fpu/libm-test-upls: Regenerate.
27983
27984 2015-04-24 Stefan Liebler <stli@linux.vnet.ibm.com>
27985
27986 * NEWS: Mention sysconf() cache information support for s390.
27987 * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
27988
27989 2015-04-22 Wilco Dijkstra <wdijkstr@arm.com>
27990
27991 * math/k_casinh.c (__kernel_casinh): Use __copysign.
27992 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
27993 (__nearbyint): Likewise.
27994 * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
27995 (copysignl): Likewise.
27996
27997 2015-04-21 Arjun Shankar <arjun.is@lostca.se>
27998
27999 [BZ #18287]
28000 * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
28001 based on padding. (CVE-2015-1781)
28002
28003 2015-04-20 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28004
28005 * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
28006 libc-vdso.h.
28007 * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
28008 * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
28009 * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
28010 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
28011 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
28012 * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
28013 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
28014 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
28015 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
28016 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
28017 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
28018 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
28019 * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
28020 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
28021 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
28022 * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
28023 * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
28024 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
28025 * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
28026 * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
28027 * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
28028 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
28029 * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
28030
28031 2015-04-19 Paul Eggert <eggert@cs.ucla.edu>
28032
28033 * stdlib/setenv.c (__add_to_environ):
28034 Dump core quickly if setenv (..., NULL, ...) is called.
28035 This time, do it the right way, and pacify GCC with a pragma.
28036
28037 2015-04-17 Roland McGrath <roland@hack.frob.com>
28038
28039 * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
28040 IMAP->l_prev cannot be null, and #if out the code for the contrary
28041 case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
28042 believe that NS (&_dl_ns[NSID]) could point outside the array.
28043
28044 * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
28045 check. Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
28046 before using NSID as an index.
28047
28048 2015-04-17 Il'ya Malakhov <ilmalakhov@yandex.ru>
28049
28050 [BZ #17825]
28051 * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
28052 * sysdeps/sparc/sparc64/memcmp.S: Likewise.
28053 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
28054
28055 2015-04-17 Roland McGrath <roland@hack.frob.com>
28056
28057 Add preliminary port to Google Native Client on ARM.
28058 * abi-tags (.*-.*-nacl.*): New entry.
28059 * sysdeps/arm/nacl: New directory.
28060 * sysdeps/nacl: New directory.
28061
28062 2015-04-16 David S. Miller <davem@davemloft.net>
28063
28064 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
28065 lowlevellock-futex.h
28066
28067 2015-04-16 Chris Metcalf <cmetcalf@ezchip.com>
28068
28069 * sysdeps/tile/configure.ac: New file.
28070 * sysdeps/tile/configure: Regenerated.
28071
28072 2015-04-15 Adhemerval Zanella <adhemerval.zanella@linaro.org>
28073
28074 * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr. Remove
28075 conditionals for weak_alias and libc_hidden_weak.
28076 * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
28077 libc_hidden_weak and weak_alias.
28078 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
28079 Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
28080 and weak_alias for static one.
28081
28082 2015-04-15 David S. Miller <davem@davemloft.net>
28083
28084 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
28085
28086 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
28087
28088 [BZ #18206]
28089 * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
28090 Use signed comparision instead of substraction to avoid
28091 overflow bug.
28092 * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
28093 Take the sign of ret.
28094 * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
28095 Do not expect precise return values. Only the sign matters.
28096 * wcsmbs/Makefile (strop-tests): Add wcsncmp.
28097 * wcsmbs/test-wcsncmp.c: New File.
28098 * string/test-strncmp.c: Add wcsncmp support.
28099
28100 2015-04-13 Stefan Liebler <stli@linux.vnet.ibm.com>
28101
28102 [BZ #6792]
28103 * math/w_log1p.c: New file.
28104 * math/w_log1pf.c: Likewise.
28105 * math/w_log1pl.c: Likewise.
28106 * math/Makefile (libm-calls): Add w_log1p.
28107 * math/s_log1pl.c (log1pl): Remove weak_alias.
28108 * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
28109 * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
28110 * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
28111 * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
28112 * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
28113 [NO_LONG_DOUBLE] (log1pl): Likewise.
28114 * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
28115 * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
28116 * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
28117 (log1p): Remove long_double_symbol.
28118 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
28119 * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
28120 * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
28121 * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
28122 remove weak_alias for corresponding log1p function.
28123 * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
28124 * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
28125 * sysdeps/ia64/fpu/w_log1p.c: New file.
28126 * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
28127 * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
28128 * math/libm-test.inc (log1p_test_data): Add errno expectations.
28129
28130 2015-04-10 Joseph Myers <joseph@codesourcery.com>
28131
28132 [BZ #18247]
28133 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
28134 decimal exponent by 1.
28135 * stdlib/tst-strtod-round-data: Add more tests.
28136 * stdlib/tst-strtod-round.c (tests): Regenerated.
28137
28138 2015-04-09 Joseph Myers <joseph@codesourcery.com>
28139
28140 * math/auto-libm-test-in: Add more tests of clog and clog10.
28141 * math/auto-libm-test-out: Regenerated.
28142 * sysdeps/i386/fpu/libm-test-ulps: Update.
28143 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28144
28145 2015-04-09 Roland McGrath <roland@hack.frob.com>
28146
28147 * Makeconfig (module-cppflags): Exclude all .v.i files.
28148 (skip-module-cppflags): Variable removed.
28149
28150 * configure.ac (libc_config_ok): Initialize before reading
28151 preconfigure scripts, not after.
28152 * configure: Regenerated.
28153
28154 * test-skeleton.c (TIMEOUT): Move #define to top level.
28155 (main): Grok environment variable TEST_DIRECT. If set, print
28156 test expectation details into that file and then behave as if
28157 given --direct.
28158
28159 2015-04-09 Florian Weimer <fweimer@redhat.com>
28160
28161 * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
28162 warning on 32-bit.
28163
28164 2015-04-08 David S. Miller <davem@davemloft.net>
28165
28166 * sysdeps/sparc/fpu/libm-test-ulps: Update.
28167
28168 2015-04-08 Joseph Myers <joseph@codesourcery.com>
28169
28170 * math/auto-libm-test-in: Add more tests of atanh.
28171 * math/auto-libm-test-out: Regenerated.
28172 * sysdeps/i386/fpu/libm-test-ulps: Update.
28173 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28174
28175 * math/auto-libm-test-in: Add more tests of atan.
28176 * math/auto-libm-test-out: Regenerated.
28177 * sysdeps/i386/fpu/libm-test-ulps: Update.
28178 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28179
28180 2015-04-08 Florian Weimer <fweimer@redhat.com>
28181
28182 * elf/pldd.c (main): Rewrite to use struct
28183 scratch_buffer instead of extend_alloca.
28184 * elf/pldd-xx.c (find_maps): Likewise.
28185 * grp/initgroups.c: Include <scratch_buffer.h> instead of
28186 <alloca.h>.
28187 * grp/compat-initgroups.c (compat_call): Rewrite to use struct
28188 scratch_buffer instead of extend_alloca.
28189 * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
28190 grp/compat-initgroups.c.
28191 * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
28192 Rewrite to use struct scratch_buffer instead of extend_alloca.
28193 * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
28194 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
28195
28196 2015-04-08 Joseph Myers <joseph@codesourcery.com>
28197
28198 * math/auto-libm-test-in: Add more tests of cbrt.
28199 * math/auto-libm-test-out: Regenerated.
28200 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
28201
28202 * math/auto-libm-test-in: Add more tests of cabs.
28203 * math/auto-libm-test-out: Regenerated.
28204 * sysdeps/i386/fpu/libm-test-ulps: Update.
28205 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28206
28207 [BZ #18210]
28208 [BZ #18211]
28209 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
28210 (__ieee754_atan2): Set FE_TONEAREST mode for internal
28211 computations.
28212 * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
28213 clog10.
28214 * math/auto-libm-test-out: Regenerated.
28215 * sysdeps/i386/fpu/libm-test-ulps: Update.
28216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28217
28218 [BZ #18197]
28219 * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
28220 (atan): Set FE_TONEAREST mode for internal computations.
28221 * math/auto-libm-test-in: Add more tests of atan.
28222 * math/auto-libm-test-out: Regenerated.
28223
28224 2015-04-07 James Cowgill <james410@cowgill.org.uk>
28225
28226 [BZ #17930]
28227 * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
28228
28229 2015-04-07 Florian Weimer <fweimer@redhat.com>
28230
28231 * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
28232
28233 2015-04-07 Florian Weimer <fweimer@redhat.com>
28234
28235 * include/scratch_buffer.h: New file.
28236 * malloc/scratch_buffer_grow.c: Likewise.
28237 * malloc/scratch_buffer_grow_preserve.c: Likewise.
28238 * malloc/scratch_buffer_set_array_size.c: Likewise.
28239 * malloc/tst-scratch_buffer.c: Likewise.
28240 * malloc/Makefile (routines): Add scratch_buffer_grow.
28241 (tests): Add test case.
28242 * malloc/Versions (GLIBC_PRIVATE): Export
28243 __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
28244 __libc_scratch_buffer_set_array_size.
28245
28246 2015-04-06 Richard Henderson <rth@redhat.com>
28247
28248 * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
28249 * sysdeps/alpha/fpu/libm-test-ulps: Update.
28250
28251 * math/test-fenvinline.c (feenable_test): Cast fe_exc to
28252 unsigned int before printing.
28253
28254 2015-04-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
28255
28256 [BZ #17596]
28257 * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
28258 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
28259
28260 2015-04-02 Florian Weimer <fweimer@redhat.com>
28261
28262 * include/libc-internal.h (libc_max_align_t): Define.
28263
28264 2015-04-02 Andreas Schwab <schwab@suse.de>
28265
28266 [BZ #16850]
28267 * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
28268
28269 2015-04-02 Mel Gorman <mgorman@suse.de>
28270
28271 [BZ #17195]
28272 * malloc/arena.c (free): Apply trim threshold to per-thread heaps
28273 as well as the main arena.
28274
28275 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
28276
28277 [BZ #18185]
28278 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
28279 sharing L2 cache to 2 for Silvermont/Knights Landing.
28280
28281 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
28282
28283 [BZ #17711]
28284 * config.make.in (have-protected-data): New.
28285 * configure.ac: Check linker support for protected data symbol.
28286 * configure: Regenerated.
28287 * elf/Makefile (modules-names): Add tst-protected1moda and
28288 tst-protected1modb if $(have-protected-data) is yes.
28289 (tests): Add tst-protected1a and tst-protected1b if
28290 $(have-protected-data) is yes.
28291 ($(objpfx)tst-protected1a): New.
28292 ($(objpfx)tst-protected1b): Likewise.
28293 (tst-protected1modb.so-no-z-defs): Likewise.
28294 * elf/tst-protected1a.c: New file.
28295 * elf/tst-protected1b.c: Likewise.
28296 * elf/tst-protected1mod.h: Likewise.
28297 * elf/tst-protected1moda.c: Likewise.
28298 * elf/tst-protected1modb.c: Likewise.
28299
28300 2015-03-31 H.J. Lu <hongjiu.lu@intel.com>
28301
28302 [BZ #17711]
28303 * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
28304 indicates it is called from do_lookup_x on relocation against
28305 protected data, skip the data definion in the executable from
28306 copy reloc.
28307 (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
28308 instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
28309 EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
28310 * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
28311 New. Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
28312 otherwise to 0.
28313 * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
28314 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
28315 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
28316 * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
28317 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
28318 to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
28319
28320 2015-03-28 Martin Galvan <martin.galvan@tallertechnologies.com>
28321
28322 * sysdeps/nptl/pthread.h: Remove duplicate definition of
28323 PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
28324
28325 2015-03-27 Martin Galvan <martin.galvan@tallertechnologies.com>
28326
28327 * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
28328 THREAD_SETMEM_NC.
28329 * sysdeps/x86_64/nptl/tls.h: Ditto.
28330
28331 2015-03-27 Roland McGrath <roland@hack.frob.com>
28332
28333 * dlfcn/tststatic.c (main): Converted to ...
28334 (do_test): ... this.
28335 (TEST_FUNCTION): New macro.
28336 Include test-skeleton.c.
28337
28338 2015-03-26 Alan Modra <amodra@gmail.com>
28339
28340 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
28341 Don't segfault if ifunc resolver returns a NULL. Do set plt to
28342 zero for undefined weak.
28343 (elf_machine_plt_conflict): Similarly.
28344
28345 2015-03-25 Joseph Myers <joseph@codesourcery.com>
28346
28347 * math/auto-libm-test-in: Add more tests of acosh, asinh and
28348 atanh.
28349 * math/auto-libm-test-out: Regenerated.
28350 * sysdeps/i386/fpu/libm-test-ulps: Update.
28351 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28352
28353 * math/auto-libm-test-in: Add another test of asin.
28354 * math/auto-libm-test-out: Regenerated.
28355 * sysdeps/i386/fpu/libm-test-ulps: Update.
28356 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28357
28358 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
28359 Remove macro.
28360 (LLL_EBX_REG): Likewise.
28361 (LLL_ENTER_KERNEL): Likewise.
28362
28363 * math/auto-libm-test-in: Add more tests of asin.
28364 * math/auto-libm-test-out: Regenerated.
28365 * sysdeps/i386/fpu/libm-test-ulps: Update.
28366 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28367
28368 [BZ #18138]
28369 * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
28370 libc_do_syscall_args): New structure.
28371 (INTERNAL_SYSCALL_MAIN_0): New macro.
28372 (INTERNAL_SYSCALL_MAIN_1): Likewise.
28373 (INTERNAL_SYSCALL_MAIN_2): Likewise.
28374 (INTERNAL_SYSCALL_MAIN_3): Likewise.
28375 (INTERNAL_SYSCALL_MAIN_4): Likewise.
28376 (INTERNAL_SYSCALL_MAIN_5): Likewise.
28377 (INTERNAL_SYSCALL_MAIN_6): Likewise. Call __libc_do_syscall.
28378 (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
28379 Replace conditional definitions by conditional definitions of ....
28380 (INTERNAL_SYSCALL_MAIN_INLINE): ... this. New macro.
28381 * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
28382 * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
28383 (libpthread-sysdep_routines): Add libc-do-syscall.
28384 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
28385 * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
28386 to __NR_futex not 240.
28387
28388 2015-03-25 Alan Modra <amodra@gmail.com>
28389
28390 * NEWS: Advertise TLS optimization.
28391 * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
28392 (DT_PPC_NUM): Increment.
28393 * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
28394 (CHECK_STATIC_TLS): Use here.
28395 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
28396 TLS descriptors.
28397 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
28398 * sysdeps/powerpc/dl-tls.c: New file.
28399 * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
28400 * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
28401 * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
28402 Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
28403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
28404 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
28405 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
28406
28407 2015-03-25 Alan Modra <amodra@gmail.com>
28408
28409 * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
28410 for overlapping .opd entries" to "support...".
28411 * sysdeps/powerpc/powerpc64/configure: Regenerate
28412
28413 2015-03-25 Joseph Myers <joseph@codesourcery.com>
28414
28415 * math/auto-libm-test-in: Add more tests of acos.
28416 * math/auto-libm-test-out: Regenerated.
28417 * sysdeps/i386/fpu/libm-test-ulps: Update.
28418 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28419
28420 * math/auto-libm-test-in: Add more tests of expm1.
28421 * math/auto-libm-test-out: Regenerated.
28422 * sysdeps/i386/fpu/libm-test-ulps: Update.
28423 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28424
28425 2015-03-24 Joseph Myers <joseph@codesourcery.com>
28426
28427 * math/auto-libm-test-in: Add more tests of cosh and sinh.
28428 * math/auto-libm-test-out: Regenerated.
28429 * sysdeps/i386/fpu/libm-test-ulps: Update.
28430 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28431
28432 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
28433 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28434
28435 * math/auto-libm-test-in: Add more tests of log2.
28436 * math/auto-libm-test-out: Regenerated.
28437 * sysdeps/i386/fpu/libm-test-ulps: Update.
28438 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28439
28440 2015-03-23 Roland McGrath <roland@hack.frob.com>
28441
28442 * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
28443 inside [F_GETFL]. Remove POSIX_MODE local variable, just test the
28444 _IO_IS_APPENDING bit in READ_WRITE instead.
28445
28446 2015-03-23 Florian Weimer <fweimer@redhat.com>
28447
28448 * sysdeps/unix/sysv/linux/pthread_setaffinity.c
28449 (__determine_cpumask_size): Replace extend_alloca with a
28450 variable-length array. Do not treat res == 0 as an error.
28451
28452 2015-03-23 Florian Weimer <fweimer@redhat.com>
28453
28454 [BZ #18100]
28455 * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
28456 and integer overflow.
28457 * posix/wordexp-test.c (test_case): Add divide-by-zero test.
28458 (main): Add integer overflow tests.
28459 * manual/pattern.texi (Calling Wordexp): Document additional use
28460 for WRDE_SYNTAX.
28461
28462 2015-03-23 Alan Modra <amodra@gmail.com>
28463
28464 * config.h.in: Remove HAVE_ASM_PPC_REL16.
28465 * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
28466 and false branch of conditional.
28467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
28468 Likewise.
28469
28470 2015-03-21 Samuel Thibault <samuel.thibault@ens-lyon.org
28471
28472 * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
28473 libc-modules.h
28474 * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
28475 unused declaration of _hurd_intr_rpc_msg_in_trap.
28476 * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
28477 defined instead of whether it is non-zero.
28478 * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
28479 input constraint instead of both input and output constraint. Use ecx
28480 clobber instead of %ecx.
28481 * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
28482 mutex_unlock): Use a statement expression instead of an expression list.
28483 * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
28484 type to vm_size_t instead of vm_address_t.
28485 * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
28486 defined instead of whether it is non-zero.
28487 * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
28488 * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
28489 * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
28490 comparisons with mapaddr.
28491 * nscd/nscd-client.h: Include <time.h>.
28492 * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
28493 9th parameter to __vm_region instead of int.
28494 * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
28495 * scripts/check-local-headers.sh (exclude): Add device/,
28496 hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
28497 cthreads.h.
28498
28499 2015-03-19 Roland McGrath <roland@hack.frob.com>
28500
28501 * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
28502 to account for alignment padding.
28503 * sysdeps/arm/memmove.S: Likewise.
28504
28505 2015-03-19 Chris Metcalf <cmetcalf@ezchip.com>
28506
28507 * sysdeps/unix/sysv/linux/generic/README: New file.
28508
28509 2015-03-18 Joseph Myers <joseph@codesourcery.com>
28510
28511 [BZ #18138]
28512 * nptl/sem_waitcommon.c: Include <kernel-features.h>.
28513 (futex_abstimed_wait)
28514 [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
28515 Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
28516 of lll_futex_timed_wait.
28517
28518 2015-03-18 Brad Hubbard <bhubbard@redhat.com>
28519
28520 [BZ #17542]
28521 * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
28522
28523 2015-03-17 Alexandre Oliva <aoliva@redhat.com>
28524
28525 [BZ #17090]
28526 [BZ #17620]
28527 [BZ #17621]
28528 [BZ #17628]
28529 * NEWS: Update.
28530 * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
28531 entries with Static TLS too. Skip entries past the end of the
28532 allocated DTV, from Alan Modra.
28533 (tls_get_addr_tail): Update to glibc_likely/unlikely. Move
28534 Static TLS DTV entry set up from...
28535 (_dl_allocate_tls_init): ... here (fix modid assertion), ...
28536 * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
28537 * nptl/allocatestack.c (init_one_static_tls): ... and here...
28538 * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
28539 for Static TLS.
28540 * elf/tlsdeschtab.h (map_generation): Return size_t. Check
28541 that the slot we find is associated with the given map before
28542 using its generation count.
28543 * nptl_db/db_info.c: Include ldsodefs.h.
28544 (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
28545 * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
28546 (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
28547 (link_map::l_tls_offset): New struct field.
28548 (dtv_t::counter): Likewise.
28549 (rtld_global): New struct.
28550 (_rtld_global): New rtld variable.
28551 (dl_tls_dtv_slotinfo_list): New rtld global field.
28552 (dtv_slotinfo_list): New struct.
28553 (dtv_slotinfo): Likewise.
28554 * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
28555 (td_lookup): Rename to...
28556 (td_mod_lookup): ... this. Use new mod parameter instead of
28557 LIBPTHREAD_SO.
28558 * nptl_db/td_thr_tlsbase.c: Include link.h.
28559 (dtv_slotinfo_list, dtv_slotinfo): New functions.
28560 (td_thr_tlsbase): Check DTV generation. Compute Static TLS
28561 addresses even if the DTV is out of date or missing them.
28562 * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
28563 index zero-length arrays.
28564 * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
28565 (td_lookup): Make it a macro implemented in terms of...
28566 (td_mod_lookup): ... this declaration.
28567 * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
28568 (DB_MAIN_VARIABLE): Likewise.
28569
28570 2015-03-16 H.J. Lu <hongjiu.lu@intel.com>
28571
28572 [BZ #18134]
28573 * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
28574
28575 2015-03-15 Paul Eggert <eggert@cs.ucla.edu>
28576
28577 * stdlib/setenv.c (__add_to_environ): Revert previous change.
28578
28579 2015-03-14 Andreas Schwab <schwab@linux-m68k.org>
28580
28581 [BZ #18128]
28582 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
28583 (atomic_add, atomic_increment_and_test)
28584 (atomic_decrement_and_test): Fix 64-bit arithmetic.
28585
28586 2015-03-13 Paul Eggert <eggert@cs.ucla.edu>
28587
28588 * stdlib/setenv.c (__add_to_environ):
28589 Dump core quickly if setenv (..., NULL, ...) is called.
28590
28591 2015-03-13 Roland McGrath <roland@hack.frob.com>
28592
28593 * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
28594 (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
28595 all the necessary asm magic in one place.
28596 (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
28597 using those.
28598
28599 2015-03-13 Carlos O'Donell <carlos@redhat.com>
28600
28601 [BZ #14906]
28602 * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
28603 traced file mtime. Use consistent log message.
28604 * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
28605 (register_traced_file): Call install_watches. Always set mtime.
28606 (invalidate_cache): Iterate over all trace files. Call install_watches.
28607 (inotify_check_files): Don't inline. Handle watching parent
28608 directories and configuration file movement in and out.
28609 (handle_inotify_events): New function.
28610 (main_loop_poll): Call handle_inotify_events.
28611 (main_loop_epoll): Likewise.
28612 * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
28613 (struct traced_file): Use array of inotify fds. Add parent directory,
28614 and basename.
28615 (struct database_dyn): Remove unused file_mtime.
28616 (init_traced_file): New inline function.
28617 (define_traced_file): New macro.
28618 * nss/nss_db/db-init.c: Use define_traced_file.
28619 (_nss_db_init): Use init_traced_file.
28620 * nss/nss_files/files-init.c: Use define_traced_file.
28621 (_nss_files_init): Use init_traced_file.
28622
28623 2015-03-12 Joseph Myers <joseph@codesourcery.com>
28624
28625 * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
28626 [_LIBC]: Do not include <stdlib.h>.
28627 [!_LIBC] (abort): Remove declaration.
28628 * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
28629 _FP_STATIC_ASSERT instead of conditionally calling abort.
28630 * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
28631 (_FP_EXTEND_CNAN): Likewise.
28632 (FP_TRUNC): Likewise.
28633 (__FP_CLZ): Likewise.
28634 * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
28635
28636 2015-03-12 Yaakov Selkowitz <yselkowi@redhat.com>
28637
28638 * manual/string.texi (XPG basename): Fix prototype.
28639
28640 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
28641
28642 [BZ #18080]
28643 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
28644 (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28645 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
28646 (__setcontext): Likewise.
28647 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
28648 (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
28649 Call rt_sigprocmask syscall one time to set new signal mask
28650 and retrieve the current signal mask instead of two calls.
28651 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
28652 (__swapcontext): Likewise.
28653 * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
28654 * stdlib/tst-setcontext2.c: New file.
28655
28656 2015-03-12 Stefan Liebler <stli@linux.vnet.ibm.com>
28657
28658 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
28659
28660 2015-03-11 Aurelien Jarno <aurelien@aurel32.net>
28661
28662 [BZ #18093]
28663 * elf/cache.c (load_aux_cache): Regenerate the cache if it has
28664 the wrong size.
28665
28666 2015-03-11 Paul Pluzhnikov <ppluzhnikov@google.com>
28667
28668 [BZ #18043]
28669 * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
28670
28671 2015-03-11 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
28672
28673 * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
28674 * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
28675 Remove define.
28676 [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
28677 [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
28678 [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
28679 [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
28680 [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
28681 * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
28682 define.
28683 * nptl_db/td_symbol_list.c (td_lookup): Remove
28684 HAVE_ASM_GLOBAL_DOT_NAME code.
28685 * sysdeps/powerpc/powerpc64/configure.ac: Remove
28686 HAVE_ASM_GLOBAL_DOT_NAME check.
28687 * sysdeps/powerpc/powerpc64/configure: Regenerate.
28688 * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
28689 (DOT_LABEL): Remove define.
28690 [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
28691 [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
28692 [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
28693 * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
28694 (__TLS_GET_ADDR): Likewise.
28695 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
28696 [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
28697
28698 2015-03-11 Carlos O'Donell <carlos@redhat.com>
28699
28700 [BZ #18111]
28701 * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
28702 (_FPU_SETCW): Initialize cw from fpsr before storing.
28703 * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
28704 (fesetexceptflag): Rewrite using fpu_control.h.
28705 * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
28706
28707 2015-03-11 John David Anglin <danglin@gcc.gnu.org>
28708
28709 [BZ #18110]
28710 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
28711 asms.
28712 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
28713
28714 2015-03-11 Joseph Myers <joseph@codesourcery.com>
28715
28716 * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
28717 * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
28718 abort.
28719 (_FP_FMA): Likewise.
28720 (_FP_DIV): Likewise.
28721
28722 2015-03-10 Roland McGrath <roland@hack.frob.com>
28723
28724 * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
28725 with 0 in that case.
28726 * Makefile (summarize-tests): New canned sequence, factored out of
28727 commands for targets tests and xtests. Display summary lines that
28728 don't start with PASS: or XFAIL: rather than ones that do start with
28729 ERROR: or FAIL:. Make the commands fail if any summary lines fail
28730 to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
28731 do start with ERROR: or FAIL:.
28732 * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
28733 (except for [$(build-shared) = yes]).
28734 (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
28735 (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
28736 ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
28737 * nptl/Makefile: Revert 2015-03-04 changes.
28738 [$(CXX) empty] (tests-unsupported): New variable.
28739 * debug/Makefile: Likewise.
28740
28741 * posix/regcomp.c: Fix comment typos and formatting to harmonize with
28742 gnulib file. Replace __attribute with __attribute__ throughout.
28743
28744 2015-03-10 Carlos O'Donell <carlos@redhat.com>
28745
28746 * sysdeps/hppa/fpu/libm-test-ulps: Update.
28747
28748 2015-03-10 Joseph Myers <joseph@codesourcery.com>
28749
28750 [BZ #18104]
28751 * math/auto-libm-test-in: Add another test of pow.
28752 * math/auto-libm-test-out: Regenerated.
28753
28754 2015-03-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28755
28756 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
28757 $(config-cflags-nofma).
28758
28759 2015-03-10 Joseph Myers <joseph@codesourcery.com>
28760
28761 * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
28762 * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
28763 * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
28764 * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
28765 * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
28766 * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
28767 * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
28768 * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
28769 * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
28770 * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
28771 Add comment on closing #endif.
28772
28773 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28774
28775 * posix/wordexp.c (CHAR_IN_SET): New macro.
28776 (parse_param): Use it.
28777
28778 2015-03-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
28779
28780 * sysdeps/powerpc/fpu/libm-test-ulps: update.
28781
28782 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28783
28784 [BZ #18043]
28785 * posix/wordexp.c (parse_param): Fix buffer overflow.
28786 * posix/wordexp-test.c (test_case): Add test case.
28787
28788 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28789
28790 [BZ #18042]
28791 * posix/wordexp.c (parse_backtick): Fix off-by-one.
28792 * posix/wordexp-test.c (test_case): Add test for BZ #18042.
28793
28794 2015-03-09 Paul Pluzhnikov <ppluzhnikov@google.com>
28795
28796 [BZ #18043]
28797 * posix/wordexp-test.c (test_case): Add test for BZ #18043
28798 (do_bz18043): Delete.
28799 (at_page_end): New.
28800 (testit): Refactor to have words at the edge of unreadable page.
28801
28802 2015-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
28803
28804 [BZ #16734]
28805 * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
28806 Cleanup read-only streams as well.
28807 (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
28808
28809 2015-03-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
28810
28811 * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
28812 <bits/libc-lockP.h>
28813
28814 2015-03-07 Joseph Myers <joseph@codesourcery.com>
28815
28816 * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro. Define depending
28817 on [__KERNEL__].
28818 * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
28819 * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
28820 * soft-fp/op-common.h (_FP_DECL): Likewise.
28821
28822 2015-03-06 H.J. Lu <hongjiu.lu@intel.com>
28823
28824 * elf/ifuncdep2.c (global): Replace
28825 __attribute__((visibility("protected"))) with
28826 asm (".protected global").
28827 * elf/ifuncmod1.c (global): Likewise.
28828 * elf/ifuncmod5.c (global): Likewise.
28829
28830 2015-03-06 Joseph Myers <joseph@codesourcery.com>
28831
28832 * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
28833 <asm/sfp-machine.h> instead of <sfp-machine.h>.
28834
28835 2015-03-06 Roland McGrath <roland@hack.frob.com>
28836
28837 * manual/install.texi (Configuring and compiling):
28838 Document test-wrapper-env-only.
28839 * INSTALL: Regenerated.
28840
28841 2015-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
28842
28843 [BZ #18043]
28844 * posix/wordexp.c (parse_param): Fix buffer overflow.
28845 * posix/wordexp-test.c (do_bz18043): Add test case.
28846
28847 2015-03-06 Vincent Bernat <vincent@bernat.im>
28848
28849 * time/tst-strptime2.c (do_test): Ensure failing tests are
28850 reported correctly.
28851 * time/tst-strptime3.c (do_test): Likewise.
28852
28853 2015-03-06 Samuel Thibault <samuel.thibault@inria.fr>
28854
28855 Fix aio_error thread-safety.
28856 * sysdeps/pthread/aio_error.c: New file
28857 * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
28858 synchronization.
28859
28860 2015-03-06 Florian Weimer <fweimer@redhat.com>
28861
28862 * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
28863 (group_number, vfprintf): Use it.
28864 (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
28865 (JUMP, REF): Use it.
28866 (WORK_BUFFER_SIZE): New enum constant.
28867 (process_arg, vfprintf): Use it.
28868
28869 2015-03-06 Rical Jasan <ricaljasan@pacific.net>
28870
28871 * manual/errno.texi (Error Messages): Complete example function
28872 by adding missing #define.
28873 (program_invocation_name): Add statement indicating GNU
28874 extension and reference which header file declares the variable.
28875 (program_invocation_short_name): Likewise.
28876
28877 2015-03-06 Mike Frysinger <vapier@gentoo.org>
28878
28879 * manual/errno.texi (Error Messages): Delete strerror ISO C89
28880 compatibility note.
28881
28882 2015-03-05 Roland McGrath <roland@hack.frob.com>
28883
28884 * Makeconfig (test-wrapper-env-only): New variable.
28885 * Rules (make-test-out): If variable $*-ENV-only is nonempty,
28886 then use that with $(test-wrapper-env-only) rather than using
28887 $(test-wrapper-env) $(run-program-env) $($*-ENV).
28888
28889 2015-03-05 H.J. Lu <hongjiu.lu@intel.com>
28890
28891 [BZ #18082]
28892 * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
28893 ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
28894 * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
28895 * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
28896 * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
28897 * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
28898 * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
28899 * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
28900 Likewise.
28901 * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
28902 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
28903 Likewise.
28904 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
28905 Likewise.
28906 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
28907 Likewise.
28908 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
28909 Likewise.
28910 * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
28911 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
28912 Likewise.
28913 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
28914 Likewise.
28915 * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
28916 * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
28917
28918 2015-03-04 Roland McGrath <roland@hack.frob.com>
28919
28920 * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
28921 (ETH_ALEN): New macro.
28922 (struct ether_addr): Use it for length of ether_addr_octet.
28923
28924 * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
28925 (setdb): Don't call __nss_configure_lookup for "rpc".
28926 (do_test): Don't call test_rpc.
28927 (output_rpcent, test_rpc): Functions moved ...
28928 * sunrpc/test-rpcent.c: ... to this new file.
28929 * sunrpc/Makefile (tests): Add it.
28930
28931 * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
28932 __xpg_sigpause.
28933 * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
28934 * nptl/tst-signal6.c: Likewise.
28935 * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
28936 * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
28937
28938 * configure.ac (libc_cv_cxx_link_ok): New check.
28939 Reset CXX to empty if it fails to link.
28940 * configure: Regenerated.
28941 * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
28942 bug-atexit3-lib only if $(CXX) is nonempty.
28943 * nptl/Makefile (tests): Likewise for tst-cancel24.
28944 (tests, tests-static): Likewise for tst-cancel24-static.
28945 * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
28946 tst-lfschk4, tst-lfschk5, and tst-lfschk6.
28947 * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
28948 tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
28949
28950 2015-03-04 Andreas Schwab <schwab@suse.de>
28951
28952 [BZ #17631]
28953 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
28954 for non-GCC compilers.
28955 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
28956 Likewise.
28957
28958 2015-03-03 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
28959
28960 [BZ #17776]
28961 * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
28962 integer before bitwise and assembly operations.
28963 (feclearexcept): Likewise.
28964 * math/test-fenvinline.c: New file.
28965 * math/Makefile: Add test-fenvinline test.
28966
28967 2015-03-03 Alan Modra <amodra@gmail.com>
28968
28969 [BZ #16512]
28970 * scripts/localplt.awk: Strip off symbol version.
28971 * NEWS: Mention bug fix.
28972
28973 2015-03-02 Roland McGrath <roland@hack.frob.com>
28974
28975 * sysdeps/pthread/timer_routines.c
28976 (timer_free_list, thread_free_list, thread_active_list): Make static.
28977
28978 2015-03-02 Joseph Myers <joseph@codesourcery.com>
28979
28980 [BZ #17779]
28981 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
28982 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28983 Undefine.
28984 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
28985 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28986 Likewise.
28987 * sysdeps/unix/sysv/linux/sh/kernel-features.h
28988 [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
28989 Likewise.
28990
28991 2015-03-02 Paul Pluzhnikov <ppluzhnikov@google.com>
28992
28993 [BZ #18036]
28994 * posix/fnmatch_loop.c (END): Detect invalid pattern.
28995 * posix/tst-fnmatch3.c (do_bz18036): Add test case.
28996
28997 2015-03-02 Andreas Schwab <schwab@suse.de>
28998
28999 * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
29000 variable name.
29001
29002 2015-03-02 Florian Weimer <fweimer@redhat.com>
29003
29004 * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
29005 Return error status.
29006
29007 2015-02-27 Alexandre Oliva <aoliva@redhat.com>
29008
29009 [BZ #15969]
29010 * locale/findlocale.c (_nl_find_locale): Introduce const
29011 version of loc_name and drop unsafe type casts.
29012
29013 2015-02-27 Roland McGrath <roland@hack.frob.com>
29014
29015 * dlfcn/tststatic2.c (main): Converted to ...
29016 (do_test): ... this.
29017 (TEST_FUNCTION): New macro.
29018 Include test-skeleton.c.
29019
29020 2015-02-27 H.J. Lu <hongjiu.lu@intel.com>
29021
29022 [BZ #17711]
29023 * elf/Makefile (tests): Add vismain only if PIE is enabled.
29024 (tests-pie): Add vismain.
29025 (CFLAGS-vismain.c): New.
29026 * elf/vismain.c: Add comments for PIE requirement.
29027
29028 2015-02-27 Joseph Myers <joseph@codesourcery.com>
29029
29030 [BZ #18046]
29031 [BZ #18047]
29032 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
29033 0x1p-56L as threshold for just returning the argument.
29034 * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
29035 0x1p-32L as threshold for just returning the argument.
29036 * math/auto-libm-test-in: Add more tests of atanh.
29037 * math/auto-libm-test-out: Regenerated.
29038 * sysdeps/i386/fpu/libm-test-ulps: Update.
29039 * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
29040
29041 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
29042
29043 * string/bcopy.c (bcopy): Call memmove for performance.
29044
29045 2015-02-27 Wilco Dijkstra wdijkstr@arm.com
29046
29047 * string/bzero.c (__bzero): Call memset for performance.
29048
29049 2015-02-27 John David Anglin <dave.anglin@bell.net>
29050
29051 [BZ #18068]
29052 * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
29053 to 00100000.
29054
29055 2015-02-27 Joseph Myers <joseph@codesourcery.com>
29056
29057 * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
29058
29059 2015-02-26 Joseph Myers <joseph@codesourcery.com>
29060
29061 * sysdeps/ieee754/k_standard.c (CSTR): New macro.
29062 (__kernel_standard): Use CSTR macro when setting exc.name.
29063 * sysdeps/ieee754/Makefile [$(subdir) = math]
29064 (CFLAGS-k_standard.c): Remove variable.
29065
29066 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
29067 setting p and q from "else if" to "else".
29068 (qzero): Likewise.
29069 * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
29070 (qone): Likewise.
29071 * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
29072 (qzerof): Likewise.
29073 * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
29074 (qonef): Likewise.
29075 * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
29076 (qzero): Likewise.
29077 * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
29078 (qone): Likewise.
29079
29080 [BZ #18038]
29081 [BZ #18039]
29082 * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
29083 return pi/2 for arguments below 0x1p-113L.
29084 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
29085 return pi/2 for arguments below 0x1p-106L.
29086 * math/auto-libm-test-in: Add more tests of acos.
29087 * math/auto-libm-test-out: Regenerated.
29088
29089 [BZ #16351]
29090 * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
29091 (MO): New macro.
29092 (__ieee754_asin): Force underflow exception for results with small
29093 absolute value.
29094 * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
29095 (MO): New macro.
29096 (__ieee754_asinf): Force underflow exception for results with
29097 small absolute value.
29098 * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
29099 (__ieee754_asin): Force underflow exception for results with small
29100 absolute value.
29101 * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
29102 (__ieee754_asinf): Force underflow exception for results with
29103 small absolute value.
29104 * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
29105 (__ieee754_asinl): Force underflow exception for results with
29106 small absolute value.
29107 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
29108 (__ieee754_asinl): Force underflow exception for results with
29109 small absolute value.
29110 * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
29111 (__ieee754_asinl): Force underflow exception for results with
29112 small absolute value.
29113 * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
29114 Include <math.h>.
29115 * math/auto-libm-test-in: Do not mark underflow exceptions as
29116 possibly missing for bug 16351.
29117 * math/auto-libm-test-out: Regenerated.
29118
29119 [BZ #18030]
29120 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
29121 of power of 2 down when low part has opposite sign.
29122 * math/libm-test.inc (logb_test_data): Add more tests.
29123
29124 2015-02-26 Andreas Schwab <schwab@suse.de>
29125
29126 [BZ #18032]
29127 * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
29128 over collating symbol inside a bracket expression. Minor cleanup.
29129 * posix/tst-fnmatch3.c (do_test): Add test case.
29130
29131 2015-02-26 Joseph Myers <joseph@codesourcery.com>
29132
29133 [BZ #18029]
29134 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
29135 Adjust exponent of power of 2 down when low part has opposite
29136 sign.
29137 * math/libm-test.inc (ilogb_test_data): Add more tests.
29138
29139 2015-02-26 Alexandre Oliva <aoliva@redhat.com>
29140
29141 [BZ #15969]
29142 * locale/findlocale.c (_nl_find_locale): Fix constness error in
29143 the previous change.
29144
29145 [BZ #15969]
29146 * locale/findlocale.c (_nl_find_locale): Retry archive search
29147 after alias expansion.
29148
29149 2015-02-25 Roland McGrath <roland@hack.frob.com>
29150
29151 * iconv/tst-iconv3.c (main): Converted to ...
29152 (do_test): ... this.
29153 (TEST_FUNCTION): New macro.
29154 Include test-skeleton.c.
29155
29156 * iconv/tst-iconv5.c (testcode, number): Make variables static const.
29157 (convert): Make function static.
29158 (test_unalign): Likewise. Add const to argument pointee types.
29159 (main): Replace with static function do_test.
29160 Print "Succeeded." only if RET is zero.
29161 (TEST_FUNCTION): New macro.
29162 Include test-skeleton.c.
29163
29164 * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
29165 returns a null pointer.
29166
29167 2015-02-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29168
29169 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
29170 to __memcpy_ppc only for static builds.
29171
29172 2015-02-25 Joseph Myers <joseph@codesourcery.com>
29173
29174 [BZ #18020]
29175 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
29176 2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
29177 * math/auto-libm-test-in: Add more tests of asinh.
29178 * math/auto-libm-test-out: Regenerated.
29179 * sysdeps/i386/fpu/libm-test-ulps: Update.
29180 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29181
29182 2015-02-25 Cong Wang <xiyou.wangcong@gmail.com>
29183
29184 [BZ #15850]
29185 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
29186 and ip6_mtuinfo definitions here.
29187 * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
29188 in this define too. Update comment.
29189
29190 2015-02-24 Benno Schulenberg <bensberg@justemail.net>
29191
29192 * elf/sprof.c (load_shobj): Tweak error message to match others.
29193
29194 2015-02-24 Kevin Easton <kevin@guarana.org>
29195
29196 [BZ #16145] (partial fix)
29197 * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
29198 to reduce lock contention.
29199
29200 2015-02-24 Miroslav Lichvar <mlichvar@redhat.com>
29201
29202 * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
29203 (struct timex): Update time comment.
29204 (ADJ_SETOFFSET): Define.
29205
29206 2015-02-24 Joseph Myers <joseph@codesourcery.com>
29207
29208 [BZ #18019]
29209 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
29210 2**56 not 2**28 as threshold for log (2x) formula.
29211 * math/auto-libm-test-in: Add more tests of acosh.
29212 * math/auto-libm-test-out: Regenerated.
29213 * sysdeps/i386/fpu/libm-test-ulps: Update.
29214 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
29215
29216 2015-02-24 Mike Frysinger <vapier@gentoo.org>
29217
29218 * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
29219 parenthesis around the buf assignment.
29220 [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
29221
29222 2015-02-24 Joseph Myers <joseph@codesourcery.com>
29223
29224 [BZ #16783]
29225 * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
29226 arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
29227 * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
29228 * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
29229 * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
29230 * math/libm-test.inc (scalb_test_data): Add more tests.
29231
29232 2015-02-24 Paul Pluzhnikov <ppluzhnikov@google.com>
29233
29234 [BZ #17916]
29235 * libio/fileops.c (_IO_new_file_fopen): Limit stack use
29236 * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
29237
29238 2015-02-24 Eric Rannaud <e@nanocritical.com>
29239
29240 [BZ #17523]
29241 * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
29242 * io/bits/fcntl2.h (open): Use it.
29243 (openat): Likewise.
29244 * io/open.c (__libc_open): Likewise.
29245 * io/open64.c (__libc_open64): Likewise.
29246 * io/open64_2.c (__open64_2): Likewise.
29247 * io/open_2.c (__open_2): Likewise.
29248 * io/openat.c (__openat): Likewise.
29249 * io/openat64.c (__openat64): Likewise.
29250 * io/openat64_2.c (__openat64_2): Likewise.
29251 * io/openat_2.c (__openat_2): Likewise.
29252 * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
29253 * sysdeps/mach/hurd/openat.c (__openat): Likewise.
29254 * sysdeps/posix/open64.c (__libc_open64): Likewise.
29255 * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
29256 * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
29257 (__open_nocancel): Likewise.
29258 * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
29259 * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
29260 * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
29261
29262 2015-02-24 Siddhesh Poyarekar <siddhesh@redhat.com>
29263
29264 [BZ #14841]
29265 * resolv/gethnamaddr.c (getanswer): Skip logging if
29266 RES_USE_DNSSEC is set.
29267 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
29268
29269 2015-02-24 Mike Frysinger <vapier@gentoo.org>
29270
29271 * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
29272
29273 2015-02-23 Alexandre Oliva <aoliva@redhat.com>
29274
29275 * include/stdc-predef.h (__STDC_ISO_10646__): Update to
29276 201304L, for Unicode 7.
29277
29278 2015-02-23 H.J. Lu <hongjiu.lu@intel.com>
29279
29280 [BZ #17836]
29281 * csu/Makefile (extra-objs): Add gmon-start.o if not builing
29282 shared library. Add gmon-start.os otherwise.
29283 ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
29284 $(objpfx)gmon-start.os if builing shared library.
29285 ($(objpfx)g$(static-start-installed-name)): Likewise.
29286
29287 2015-02-23 Andreas Schwab <schwab@suse.de>
29288
29289 * elf/Makefile (CFLAGS-tst-audit2.c): Define.
29290
29291 2015-02-22 Paul Pluzhnikov <ppluzhnikov@google.com>
29292
29293 [BZ #17269]
29294 * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
29295 (enlarge_userbuf): Likewise.
29296
29297 2015-02-22 Chung-Lin Tang <cltang@codesourcery.com>
29298
29299 * libio/tst-memstream2.c (TIMEOUT): Define as 100.
29300 * math/atest-exp.c (TIMEOUT): Adjust to 200.
29301 * math/atest-exp2.c (TIMEOUT): Adjust to 300.
29302 * math/atest-sincos.c (TIMEOUT): Adjust to 600.
29303
29304 2015-02-20 Joseph Myers <joseph@codesourcery.com>
29305
29306 * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
29307 expression inside statement expression.
29308
29309 2015-02-20 Stefan Liebler <stli@linux.vnet.ibm.com>
29310
29311 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
29312 <sysdeps/nptl/lowlevellock.h> and remove macros and
29313 functions that are now defined there.
29314 (SYS_futex): Remove.
29315 (lll_compare_and_swap): Remove.
29316 * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
29317
29318 2015-02-19 Joseph Myers <joseph@codesourcery.com>
29319
29320 [BZ #17999]
29321 * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
29322 instead of scandirat.
29323 * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
29324 [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
29325 [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
29326 __scandirat.
29327 * include/dirent.h (scandirat): Do not use libc_hidden_proto.
29328 (__scandirat): Declare. Use libc_hidden_proto.
29329 * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
29330 Remove variable.
29331 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
29332
29333 2015-02-18 Joseph Myers <joseph@codesourcery.com>
29334
29335 [BZ #15319]
29336 * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
29337 (MO): New macro.
29338 (__ieee754_atan2): For results with small absolute value, force
29339 underflow exception and remove excess range and precision from
29340 return value.
29341 * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
29342 (MO): New macro.
29343 (__ieee754_atan2f): For results with small absolute value, force
29344 underflow exception and remove excess range and precision from
29345 return value.
29346 * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
29347 (MO): New macro.
29348 (__atan): For results with small absolute value, force underflow
29349 exception and remove excess range and precision from return value.
29350 * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
29351 (MO): New macro.
29352 (__atanf): For results with small absolute value, force underflow
29353 exception and remove excess range and precision from return value.
29354 * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
29355 <math.h>.
29356 (__ieee754_atan2): Force underflow exception for results with
29357 small absolute value.
29358 * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
29359 <math_private.h>.
29360 (atan): Force underflow exception for results with small absolute
29361 value.
29362 * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
29363 (__atanf): Force underflow exception for results with small
29364 absolute value.
29365 * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
29366 <math.h>.
29367 (__atanl): Force underflow exception for results with small
29368 absolute value.
29369 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
29370 (__atanl): Force underflow exception for results with small
29371 absolute value.
29372 * sysdeps/x86/fpu/bits/mathinline.h
29373 [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
29374 (__ieee754_atan2): Only define inline for long double.
29375 * sysdeps/x86_64/fpu/multiarch/e_atan2.c
29376 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
29377 * math/auto-libm-test-in: Do not mark underflow exceptions as
29378 possibly missing for bug 15319. Add more tests of atan2.
29379 * math/auto-libm-test-out: Regenerated.
29380 * math/libm-test.inc (casin_test_data): Do not mark underflow
29381 exceptions as possibly missing for bug 15319.
29382 (casinh_test_data): Likewise.
29383 * sysdeps/i386/fpu/libm-test-ulps: Update.
29384
29385 2015-02-18 Steve Ellcey <sellcey@imgtec.com>
29386
29387 * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
29388 * sysdeps/mips/bits/endian.h: Fix comments.
29389
29390 2015-02-18 Joseph Myers <joseph@codesourcery.com>
29391
29392 [BZ #17996]
29393 * include/search.h (hcreate_r): Don't use libc_hidden_proto.
29394 (hdestroy_r): Likewise.
29395 (hsearch_r): Likewise.
29396 (__hcreate_r): Declare and use libc_hidden_proto.
29397 (__hdestroy_r): Likewise.
29398 (__hsearch_r): Likewise.
29399 * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
29400 (hcreate): Call __hcreate_r instead of hcreate_r.
29401 (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
29402 * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
29403 as weak alias of __hcreate_r.
29404 (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
29405 __hdestroy_r.
29406 (hsearch_r): Rename to __hsearch_r and define as weak alias of
29407 __hsearch_r.
29408 * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
29409 Remove variable.
29410 (test-xfail-XPG4/search.h/linknamespace): Likewise.
29411 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
29412 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
29413 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
29414
29415 2015-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
29416
29417 * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
29418 arena_lock into a single arena_get.
29419
29420 2015-02-17 Carlos O'Donell <carlos@redhat.com>
29421
29422 * dl-reloc.c: Inlucde libc-internal.h.
29423 (_dl_try_allocate_static_tls): Call ALIGN_UP.
29424 (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
29425 (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
29426 * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
29427 (grow_heap): Likewise.
29428 * malloc/malloc.c: Include libc-internal.h.
29429 (do_check_malloc): Call powerof2.
29430 (sysmalloc): Use pagesize. Call ALIGN_UP.
29431 (systrim): Use pagesize.
29432 (mremap_chunk): Use pagesize. Call ALIGN_UP.
29433 (__libc_valloc): Use pagesize.
29434 (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
29435
29436 2015-02-17 Joseph Myers <joseph@codesourcery.com>
29437
29438 [BZ #17991]
29439 * include/sys/resource.h (__getrlimit64): Declare. Use
29440 libc_hidden_proto.
29441 * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
29442 and define as weak alias of __getrlimit64. Use libc_hidden_weak.
29443 * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
29444 getrlimit64.
29445 * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
29446 __getrlimit64.
29447 [!getrlimit64] (getrlimit64): Define as weak alias of
29448 __getrlimit64. Use libc_hidden_weak.
29449 * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
29450 using __getrlimit64 not __new_getrlimit64.
29451 (__GI_getrlimit64): Likewise.
29452 * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
29453 Likewise.
29454 (__GI_getrlimit64): Likewise.
29455 (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
29456 * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
29457 (getrlimit): Add __getrlimit64 alias.
29458 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
29459 Likewise.
29460 * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
29461 Remove variable.
29462 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
29463 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
29464
29465 2015-02-17 Paul Pluzhnikov <ppluzhnikov@google.com>
29466
29467 * libio/fileops.c: Add missing sys/mman.h
29468 * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
29469
29470 2015-02-17 Joseph Myers <joseph@codesourcery.com>
29471
29472 * manual/math.texi (Errors in Math Functions): Clarify goals
29473 regarding inexact and underflow exceptions.
29474
29475 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
29476
29477 * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
29478 * sysdeps/mips/memset.S: Ditto.
29479
29480 2015-02-17 Steve Ellcey <sellcey@imgtec.com>
29481
29482 * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
29483
29484 2015-02-17 Stefan Liebler <stli@linux.vnet.ibm.com>
29485
29486 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
29487 (__v1longjmp): Remove versioned symbol.
29488 (__v1siglongjmp): Remove alias and versioned symbol.
29489 (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
29490 (__v2siglongjmp): Likewise.
29491
29492 2015-02-16 Torvald Riegel <triegel@redhat.com>
29493
29494 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
29495
29496 2015-02-16 Mike Frysinger <vapier@gentoo.org>
29497
29498 * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
29499
29500 2015-02-16 Joseph Myers <joseph@codesourcery.com>
29501
29502 [BZ #17987]
29503 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
29504 zero result does not depend on the sign resulting from
29505 subtraction.
29506 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29507 Likewise.
29508 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29509 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29510 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29511 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29512 * math/libm-test.inc (remquo_test_data): Add more tests.
29513
29514 2015-02-16 Paul Eggert <eggert@cs.ucla.edu>
29515
29516 * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
29517 Problem reported by J William Piggott.
29518
29519 2015-02-16 Joseph Myers <joseph@codesourcery.com>
29520
29521 [BZ #17978]
29522 * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
29523 products 4 * y and 2 * y where those would overflow.
29524 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29525 Likewise.
29526 * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
29527 * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
29528 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
29529 * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
29530 * math/libm-test.inc (remquo_test_data): Add more tests.
29531
29532 * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
29533
29534 * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
29535 [defined _COMPILING_NEWLIB].
29536 * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
29537 * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
29538
29539 * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
29540 [!defined __mips_isa_rev || __mips_isa_rev < 6].
29541
29542 2015-02-16 Torvald Riegel <triegel@redhat.com>
29543
29544 * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
29545 acquired.
29546
29547 2015-02-15 Matthew Fortune <Matthew.Fortune@imgtec.com>
29548
29549 [BZ #17792]
29550 * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
29551 (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
29552 HOST_STACK_END_ADDR): Likewise.
29553
29554 2015-02-13 Steve Ellcey <sellcey@imgtec.com>
29555
29556 * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
29557 * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
29558 * sysdeps/mips/memset.S (__MIPSEB): Ditto.
29559
29560 2015-02-13 Roland McGrath <roland@hack.frob.com>
29561
29562 * sysdeps/generic/c++-types.data: New file.
29563 * sysdeps/generic/ld.abilist: New file.
29564 * sysdeps/generic/libBrokenLocale.abilist: New file.
29565 * sysdeps/generic/libanl.abilist: New file.
29566 * sysdeps/generic/libc.abilist: New file.
29567 * sysdeps/generic/libcrypt.abilist: New file.
29568 * sysdeps/generic/libdl.abilist: New file.
29569 * sysdeps/generic/libm.abilist: New file.
29570 * sysdeps/generic/libpthread.abilist: New file.
29571 * sysdeps/generic/libresolv.abilist: New file.
29572 * sysdeps/generic/librt.abilist: New file.
29573
29574 2015-02-13 Joseph Myers <joseph@codesourcery.com>
29575
29576 [BZ #17569]
29577 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
29578 Compute absolute value of x as modified by fmod, not original
29579 value of x.
29580 * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
29581 RUN_TEST_ffI_f1_mod8. Check extra return value mod 8.
29582 (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8. Call
29583 RUN_TEST_ffI_f1_mod8.
29584 (remquo_test_data): Add more tests.
29585
29586 2015-02-13 Roland McGrath <roland@hack.frob.com>
29587
29588 * sysdeps/init_array/pt-crti.S: New file.
29589
29590 2015-02-13 Joseph Myers <joseph@codesourcery.com>
29591
29592 [BZ #17967]
29593 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
29594 __builtin_fmaf instead of relying on contraction of a * b + c.
29595
29596 2015-02-12 J William Piggott <elseifthen@gmx.com>
29597
29598 [BZ #17969]
29599 * manual/time.texi: correct the zoneinfo path in the TZ Variable
29600 node.
29601
29602 2015-02-12 Joseph Myers <joseph@codesourcery.com>
29603
29604 [BZ #17964]
29605 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
29606 __builtin_fma instead of relying on contraction of a * b + c.
29607
29608 2015-02-12 Roland McGrath <roland@hack.frob.com>
29609
29610 * Makeconfig (ASFLAGS): Add -Werror=undef.
29611 * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
29612 * sysdeps/unix/make-syscalls.sh: Always emit #define's for
29613 SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
29614
29615 * Makeconfig (after-link): New variable.
29616 (+link-pie, +link-pie-tests): Use it.
29617 (+link-static, +link-static-tests): Likewise.
29618 (+link, +link-tests): Likewise.
29619 * Makerules (build-module, build-module-asneeded): Likewise.
29620 (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
29621 Likewise.
29622 * elf/Makefile ($(objpfx)ld.so): Likewise.
29623
29624 2015-02-12 Rüdiger Sonderfeld <ruediger@c-plusplus.net>
29625
29626 [BZ #17965]
29627 * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
29628 both struct timeval and struct timespec.
29629
29630 2015-02-12 Joseph Myers <joseph@codesourcery.com>
29631
29632 [BZ #16560]
29633 * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
29634 and redefine.
29635 (__ieee754_exp2l): Do not multiply small fractional parts by
29636 M_LN2l.
29637 * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
29638 small argument.
29639 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
29640 * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
29641 * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
29642 * math/auto-libm-test-in: Add more tests of exp2.
29643 * math/auto-libm-test-out: Regenerated.
29644
29645 2015-02-12 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
29646
29647 * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
29648 unaligned path.
29649
29650 2015-02-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
29651
29652 * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
29653 little endian.
29654
29655 2015-02-12 Andreas Schwab <schwab@suse.de>
29656
29657 [BZ #15790]
29658 * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
29659 Filter out elision flags from value returned in kind.
29660 * nptl/Makefile (tests): Add tst-pthread-mutexattr.
29661 * nptl/tst-pthread-mutexattr.c: New file.
29662
29663 2015-02-11 Samuel Thibault <samuel.thibault@ens-lyon.org>
29664
29665 * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
29666 * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
29667 into gnu-gnu, and update comment to refer to abi-tags.
29668
29669 2015-02-11 Joseph Myers <joseph@codesourcery.com>
29670
29671 [BZ #15467]
29672 * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
29673 (__sincos): Set errno to EDOM for infinite argument.
29674 * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
29675 (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
29676 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
29677 (__sincosl): Set errno to EDOM for infinite argument.
29678 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
29679 (__sincosl): Set errno to EDOM for infinite argument.
29680 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
29681 (__sincosl): Set errno to EDOM for infinite argument.
29682 * math/libm-test.inc (sincos_test_data): Test errno setting.
29683
29684 2015-02-11 Leonhard Holz <leonhard.holz@web.de>
29685
29686 * string/strxfrm_l.c: Remove #define STRCMP.
29687 * string/strcoll_l.c: Remove #define STRLEN.
29688 * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
29689 * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
29690
29691 2015-02-10 Joseph Myers <joseph@codesourcery.com>
29692
29693 * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
29694 * sysdeps/mips/mips32/sfp-machine.h: ... here.
29695 * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
29696 * sysdeps/mips/mips64/Makefile: ... here.
29697 * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
29698 * sysdeps/mips/mips64/e_sqrtl.c: ... here.
29699 * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
29700 * sysdeps/mips/mips64/sfp-machine.h: ... here.
29701 * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
29702 * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
29703 * sysdeps/mips/mips64/n64/Implies: Likewise.
29704
29705 2015-02-10 Roland McGrath <roland@hack.frob.com>
29706
29707 * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
29708 <sys/time.h>, <string.h>, and <errno.h>.
29709 (dest_offset, dest_address, value, zero): Remove unused variables.
29710 (ldouble): Remove typedef.
29711 (myFPsighandler): Use simple handler signature, not SA_SIGINFO
29712 signature. Pass 1 to siglongjmp rather than 0 (which is converted to
29713 1). Fix code style.
29714 (set_sigaction_FP, remove_sigaction_FP): Functions removed.
29715 (check): Function removed.
29716 (CHECK): New macro.
29717 (TEST_FUNC): Fix code style. Use CHECK macro rather than repeating
29718 boilerplate feclearexcept + feenableexcept + sigsetjmp code.
29719 Don't call set_sigaction_FP and remove_sigaction_FP here.
29720 (ldouble_test): Just use 'long double' as macro argument, no need for
29721 the 'ldouble' typedef.
29722 (do_test): Set up SIGFPE handler at start, using plain signal rather
29723 than sigaction. Fix code style.
29724
29725 2015-02-10 Evangelos Foutras <evangelos@foutrelis.com>
29726
29727 [BZ #17949]
29728 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
29729 jump label.
29730
29731 2015-02-09 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
29732
29733 * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
29734 * sysdeps/powerpc/powerpc32/configure: Regenerated.
29735
29736 * sysdeps/powerpc/configure.ac: Remove file.
29737 * sysdeps/powerpc/configure: Likewise.
29738
29739 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29740 [sysdep_routines]: Remove wordcopy-power6 object.
29741 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
29742 (__memmove_power7): Use local call for wordcopy and memcpy symbols.
29743 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
29744 (__memmove_ppc32): Likewise.
29745 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
29746 file.
29747 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
29748 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
29749 Remove preprocessor.
29750
29751 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
29752 [sysdep_routines]: Remove wide chars objects.
29753 [wcsmbs]: New rule for wide char objects.
29754
29755 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29756 Remove wordcopy-power6 obejct.
29757 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
29758 Use local call for wordcopy and memcpy symbols.
29759 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
29760 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
29761 implementation for loader.
29762 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
29763
29764 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29765 Remove wordcopy-power7 object.
29766 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
29767 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
29768 (_wordcopy_fwd_aligned): Remove POWER7 specialization.
29769 (_wordcopy_fwd_dest_aligned): Likewise.
29770 (_wordcopy_bwd_aligned): Likewise.
29771 (_wordcopy_bwd_dest_aligned): Likewise.
29772
29773 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
29774 Rewrite to call __memmove_ppc instead of include default
29775 implementation.
29776
29777 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
29778 Remove wide chars objects.
29779 [wcsmbs]: New rule for wide char objects.
29780
29781 2015-02-09 Andreas Schwab <schwab@suse.de>
29782
29783 [BZ #17912]
29784 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
29785 in terms of __O_DIRECTORY.
29786
29787 2015-02-08 Samuel Thibault <samuel.thibault@ens-lyon.org>
29788
29789 * time/getdate.c: Include <stdbool.h>.
29790 * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
29791 call PTR_MANGLE.
29792 [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
29793 PTR_DEMANGLE.
29794
29795 2015-02-07 Paul Eggert <eggert@cs.ucla.edu>
29796
29797 Add ersatz _Static_assert on older C hosts
29798 * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
29799 pre-C11 C platform that is not known to support _Static_assert.
29800
29801 2015-02-07 Richard Braun <rbraun@sceen.net>
29802
29803 * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
29804 sigstate.
29805 * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
29806
29807 2015-02-07 Samuel Thibault <samuel.thibault@ens-lyon.org>
29808
29809 * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
29810 priority against unexistent AIO_PRIO_DELTA_MAX.
29811 * misc/chflags.c (chflags): Set flags parameter type to unsigned long
29812 instead of int.
29813 * misc/fchflags.c (fchflags): Likewise.
29814 * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
29815 * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
29816 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
29817 UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
29818 SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
29819 Declare macros.
29820 [__USE_MISC] (chflags, fchflags): Declare functions.
29821 * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
29822 EINVAL when nfds is greater than FD_SETSIZE.
29823 * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
29824 NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
29825 45.
29826 * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
29827 __mach_msg. If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
29828 * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
29829 MACH_RCV_TIMED_OUT.
29830 * hurd/hurd/signal.h (_hurd_self_sigstate,
29831 _hurd_critical_section_lock, _hurd_critical_section_unlock):
29832 Explicit casts from void *.
29833 * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
29834 * abi-tags: Rename gnu-gnu os into gnu.
29835
29836 [BZ #4719]
29837 * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
29838 _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
29839 _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
29840 _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
29841 _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
29842 _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
29843
29844 [BZ #17944]
29845 * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
29846 duplicates ADDR->sun_path with sockaddr LEN limitation.
29847 * sysdeps/mach/hurd/connect.c: Include <string.h>
29848 (__connect): Give result of _hurd_sun_path_dupa to name lookup.
29849 * sysdeps/mach/hurd/sendmsg.c: Likewise.
29850 * sysdeps/mach/hurd/sendto.c: Likewise.
29851 * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
29852 implementing it by hand.
29853
29854 2015-02-06 Roland McGrath <roland@hack.frob.com>
29855
29856 * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
29857 Use sfi_breg on ldr.
29858 [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
29859 Likewise.
29860
29861 * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
29862 it's defined.
29863 * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
29864 Test SIGSETXID only if it's defined.
29865
29866 * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
29867
29868 * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
29869 will not be used. Use NULL rather than 0 for .sigev_notify_attributes.
29870
29871 * nptl/tst-align2.c: Moved ...
29872 * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
29873 * nptl/Makefile (tests): Remove tst-align2.
29874 * sysdeps/unix/sysv/linux/Makefile
29875 [$(subdir) = nptl] (tests): Add tst-align-clone.
29876 * nptl/tst-getpid1.c: Moved ...
29877 * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
29878 * nptl/tst-getpid2.c: Moved ...
29879 * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
29880 * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
29881 * sysdeps/unix/sysv/linux/Makefile
29882 [$(subdir) = nptl] (tests): ... here.
29883 * nptl/Makefile (tst-getpid2-ENV): Move variable ...
29884 * sysdeps/unix/sysv/linux/Makefile
29885 [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
29886
29887 * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
29888 Drop trailing \n from perror argument. Use return rather than exit.
29889
29890 * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
29891 on [SA_SIGINFO].
29892 * nptl/tst-cancel21.c (do_test): Likewise.
29893 * debug/tst-backtrace6.c: Include <signal.h> first thing.
29894 Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
29895 [!SA_SIGINFO]: Make it a stub test.
29896
29897 * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
29898 SIGCHLD; it's redundant with SIG_IGN as sa_handler.
29899
29900 * posix/tst-getlogin.c: Move to ...
29901 * login/tst-getlogin.c: ... here.
29902 * posix/Makefile (tests): Move tst-getlogin to ...
29903 * login/Makefile (tests): ... here.
29904
29905 * libio/tst-atime.c (do_test): Move local variables SV and E
29906 inside [ST_NOATIME] conditional.
29907
29908 * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
29909
29910 * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
29911
29912 * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
29913 (wait_code): New function replaces macro.
29914 Call nanosleep rather than syscall.
29915
29916 * nptl/pt-system.c: Rewritten. Put everything under
29917 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29918 Use IFUNC to redirect when possible.
29919
29920 * nptl/pt-longjmp.c: Rewritten. Put everything under
29921 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29922 Use IFUNC to redirect when possible.
29923
29924 * nptl/pt-fork.c: Rewritten. Put everything under
29925 [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
29926 Use IFUNC to redirect when possible.
29927 * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
29928
29929 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
29930 code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
29931 unconditionally nowadays. This included the only reference to
29932 __vdso_clock_gettime that appears outside libc proper.
29933 * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
29934 Remove version set (containing only __vdso_clock_gettime).
29935 * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
29936 Add attribute_hidden.
29937 * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
29938 Likewise. Drop __attribute__ ((nocommon)), libc_hidden_proto, and
29939 libc_hidden_data_def.
29940 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
29941 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
29942
29943 * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
29944 getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
29945 setrpcent, and getrpcport to ...
29946 * sunrpc/Versions (libc: GLIBC_2.0): ... here.
29947 * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
29948 getrpcbynumber_r, and getrpcent_r to ...
29949 * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
29950 * inet/getrpcbyname.c: Moved ...
29951 * sunrpc/getrpcbyname.c: ... here.
29952 * inet/getrpcbyname_r.c: Moved ...
29953 * sunrpc/getrpcbyname_r.c: ... here.
29954 * inet/getrpcbynumber.c: Moved ...
29955 * sunrpc/getrpcbynumber.c: ... here.
29956 * inet/getrpcbynumber_r.c: Moved ...
29957 * sunrpc/getrpcbynumber_r.c: ... here.
29958 * inet/getrpcent.c: Moved ...
29959 * sunrpc/getrpcent.c: ... here.
29960 * inet/getrpcent_r.c: Moved ...
29961 * sunrpc/getrpcent_r.c: ... here.
29962 * inet/Makefile (routines): Move those to ...
29963 * sunrpc/Makefile (routines): ... here.
29964 * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
29965 the $(subdirs) list.
29966 (CPPFLAGS-getent.c): New variable. Pass -D option to set HAVE_SUNRPC
29967 to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
29968 * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
29969 (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
29970
29971 * elf/Makefile (routines): Include $(all-dl-routines), not just
29972 $(dl-routines).
29973 (rtld-routines): Likewise. Use = rather than :=.
29974 * sysdeps/aarch64/Makefile [$(subdir) = elf]
29975 (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
29976 dl-tlsdesc to these; sysdep-dl-routines alone is enough.
29977 * sysdeps/arm/Makefile: Likewise.
29978 * sysdeps/i386/Makefile: Likewise.
29979 * sysdeps/x86_64/Makefile: Likewise.
29980 * sysdeps/hppa/Makefile [$(subdir) = elf]
29981 (sysdep_routines, sysdep-rtld-routines): Don't add
29982 $(sysdep-dl-routines) to these.
29983 * sysdeps/ia64/Makefile: Likewise.
29984 * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
29985 * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
29986 [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
29987 Don't add dl-static to these; sysdep-dl-routines alone is enough.
29988 * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
29989 * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
29990 * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
29991 * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
29992 * sysdeps/powerpc/Makefile [$(subdir) = elf]
29993 (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
29994 these; sysdep-dl-routines alone is enough.
29995
29996 2015-02-06 Joseph Myers <joseph@codesourcery.com>
29997
29998 [BZ #17932]
29999 * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
30000 where multiplication results in zero and third argument is finite
30001 and nonzero.
30002 * math/auto-libm-test-in: Add more tests of fma.
30003 * math/auto-libm-test-out: Regenerated.
30004
30005 * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
30006 (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
30007 (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
30008 (_FP_CMP_EQ): Likewise.
30009 (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
30010
30011 * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
30012 extra argument CHECK_NAN. Redefine as wrapper around
30013 _FP_EXTEND_CNAN.
30014
30015 2015-02-06 Carlos O'Donell <carlos@systemhalted.org>
30016
30017 * version.h (RELEASE): Set to "stable".
30018 (VERSION): Set to "2.21"
30019 * include/features.h (__GLIBC_MINOR__): Set to 21.
30020
30021 * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
30022
30023 2015-02-05 Paul Pluzhnikov <ppluzhnikov@google.com>
30024 Paul Eggert <eggert@cs.ucla.edu>
30025
30026 [BZ #16618]
30027 * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
30028 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
30029 size in bytes. Store needed elements in wpmax. Use needed size
30030 in bytes for extend_alloca.
30031
30032 2015-02-05 Carlos O'Donell <carlos@systemhalted.org>
30033
30034 * manual/install.texi: Latest tested versions are GCC 4.9.2,
30035 binutls 2.25, and texinfo 5.2.
30036 * INSTALL: Regenerate.
30037 * sysdeps/nios2/configure: Regenerate.
30038 * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
30039 * manual/contrib.texi: Update.
30040 * po/be.po: Update.
30041 * po/bg.po: Update.
30042 * po/ca.po: Update.
30043 * po/cs.po: Update.
30044 * po/da.po: Update.
30045 * po/de.po: Update.
30046 * po/el.po: Update.
30047 * po/eo.po: Update.
30048 * po/es.po: Update.
30049 * po/fi.po: Update.
30050 * po/fr.po: Update.
30051 * po/gl.po: Update.
30052 * po/hr.po: Update.
30053 * po/hu.po: Update.
30054 * po/ia.po: Update.
30055 * po/id.po: Update.
30056 * po/it.po: Update.
30057 * po/ja.po: Update.
30058 * po/ko.po: Update.
30059 * po/lt.po: Update.
30060 * po/nb.po: Update.
30061 * po/nl.po: Update.
30062 * po/pl.po: Update.
30063 * po/pt_BR.po: Update.
30064 * po/ru.po: Update.
30065 * po/rw.po: Update.
30066 * po/sk.po: Update.
30067 * po/sl.po: Update.
30068 * po/sv.po: Update.
30069 * po/tr.po: Update.
30070 * po/uk.po: Update.
30071 * po/vi.po: Update.
30072 * po/zh_CN.po: Update.
30073 * po/zh_TW.po: Update.
30074
30075 * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
30076 * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
30077 * sysdeps/hppa/dl-irel.h: Remove #warning.
30078 * sysdeps/hppa/entry.h: Provide prototype for
30079 __canonicalize_funcptr_for_compare and cast argument.
30080 * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
30081 * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
30082 * sysdeps/hppa/sotruss-lib.c: New file.
30083 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
30084 (atomic_compare_and_exchange_val_acq): Use __typeof__.
30085 (atomic_compare_and_exchange_bool_acq): Likewise.
30086 * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
30087 * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
30088
30089 * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
30090 * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
30091 * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
30092
30093 2015-02-05 Chung-Lin Tang <cltang@codesourcery.com>
30094
30095 * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
30096 called function in non-PIC case.
30097
30098 2015-01-31 David S. Miller <davem@davemloft.net>
30099
30100 * sysdeps/sparc/sparc32/bits/atomic.h
30101 (__sparc32_atomic_do_unlock24): Put the memory barrier before the
30102 unlock not after it.
30103 (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
30104 volatile register usage warnings from the compiler.
30105
30106 * sysdeps/sparc/nptl/sem_init.c: Delete.
30107 * sysdeps/sparc/nptl/sem_post.c: Delete.
30108 * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
30109 * sysdeps/sparc/nptl/sem_wait.c: Delete.
30110 * sysdeps/sparc/sparc32/sem_init.c: New file.
30111 * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
30112 * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
30113 padding explicitly initialized.
30114 * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
30115 padding for in-semaphore spinlock.
30116 * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
30117 * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
30118 * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
30119 * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
30120 * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
30121 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
30122 * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
30123 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
30124 version.
30125 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
30126 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
30127
30128 2015-01-30 H.J. Lu <hongjiu.lu@intel.com>
30129
30130 [BZ #17801]
30131 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30132 Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
30133 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
30134 New.
30135 (index_AVX_Fast_Unaligned_Load): Likewise.
30136 (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
30137 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
30138 bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
30139 * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
30140 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
30141 * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
30142 * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
30143 HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
30144 * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
30145
30146 2015-01-29 Andreas Schwab <schwab@suse.de>
30147
30148 * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
30149
30150 2015-01-29 Siddhesh Poyarekar <siddhesh@redhat.com>
30151
30152 [BZ #17892]
30153 * nscd/nscd_stat.c (send_stats): Initialize DATA.
30154
30155 2015-01-28 Martin Sebor <msebor@redhat.com>
30156
30157 * math/README.libm-test: Clarify. Add "How to read the test output."
30158
30159 2015-01-28 Chris Metcalf <cmetcalf@ezchip.com>
30160
30161 * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
30162 Define to 0.
30163
30164 2015-01-28 Joseph Myers <joseph@codesourcery.com>
30165
30166 * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
30167 (__HAVE_64B_ATOMICS): Define to 0.
30168
30169 2015-01-28 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
30170
30171 [BZ #17885]
30172 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
30173 value to set as new flag.
30174
30175 [BZ #16576]
30176 * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
30177 and use _ARCH_PPCSQ instead.
30178 (__ieee754_sqrt): Likewise.
30179 (__ieee754_sqrtf): Likewise.
30180 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
30181 _ARCH_PPCSQ is defined.
30182 (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
30183 fsqrt instruction.
30184 * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
30185 _ARCH_PPCSQ is defined.
30186 (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
30187 fsqrts instruction.
30188 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
30189
30190 2015-01-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
30191
30192 * iconv/loop.c: Suppress array out of bound warning caused by GCC
30193 bug (GCC BZ #64739).
30194
30195 2015-01-25 Andreas Schwab <schwab@linux-m68k.org>
30196
30197 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
30198 Mark _retval as used.
30199 (lll_futex_wake_unlock): Likewise.
30200 (lll_futex_timed_wait_requeue_pi): Likewise.
30201
30202 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
30203 (atomic_compare_and_exchange_val_acq): Use uint32_t for the
30204 register variables.
30205
30206 * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
30207 libm_hidden_def.
30208
30209 * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
30210 (__bswap_64): Mark as __always_inline.
30211
30212 2015-01-25 Bram <bug_rh@spam.wizbit.be>
30213
30214 [BZ #15378]
30215 * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
30216 when none of the search directories exist.
30217
30218 2015-01-24 Adhemerval Zanellla <azanella@linux.vnet.ibm.com>
30219
30220 [BZ #17869]
30221 * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
30222 power8 in .machine directive.
30223
30224 [BZ #17868]
30225 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
30226 set dependency from opd value.
30227
30228 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
30229
30230 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
30231 Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
30232 architecture.
30233
30234 2015-01-23 H.J. Lu <hongjiu.lu@intel.com>
30235
30236 [BZ #17870]
30237 * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
30238 with uint64_t.
30239 * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
30240 (uint64_t) 1.
30241 (__new_sem_wait_fast): Replace unsigned long with uint64_t.
30242 (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
30243 Replace 1UL with (uint64_t) 1.
30244 * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
30245 int with uint64_t.
30246
30247 2015-01-23 Roland McGrath <roland@hack.frob.com>
30248
30249 * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
30250 (if_freenameindex): Likewise.
30251
30252 * resource/getrlimit64.c: Add missing libc_hidden_def.
30253
30254 2015-01-22 Joseph Myers <joseph@codesourcery.com>
30255
30256 * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
30257 __label__.
30258 (_FP_FMA): Likewise.
30259 (_FP_TO_INT_ROUND): Likewise.
30260 (_FP_FROM_INT): Likewise.
30261
30262 2015-01-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30263
30264 [BZ #16418]
30265 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
30266 Make code racy and cancel safe.
30267
30268 2015-01-21 Carlos O'Donell <carlos@redhat.com>
30269
30270 * sysdeps/arm/unwind-resume.h: Fix copyright year.
30271 * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
30272 attribution.
30273
30274 * pwd/tst-getpw.c: Rewrite.
30275
30276 [BZ #17702]
30277 * dlfcn/Makefile (tests): Add tst-rec-dlopen.
30278 (modules-names): Add moddummy1 and moddummy2.
30279 ($(objpfx)tst-rec-dlopen): Define.
30280 * dlfcn/moddummy1.c: New file.
30281 * dlfcn/moddummy2.c: New file.
30282 * dlfcn/tst-rec-dlopen.c: New file.
30283 * elf/dl-cache.c (_dl_load_cache_lookup):
30284 Return char*. Copy result with alloca/strcpy/strdup.
30285 * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
30286 returns char*. Free cached. If not saving realname
30287 free cached.
30288 * elf/dl-open.c (dl_open_worker): Do not assert that
30289 _r_debug->r_state is RT_CONSISTENT.
30290 * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
30291 returns char*.
30292
30293 2015-01-21 Torvald Riegel <triegel@redhat.com>
30294 Carlos O'Donell <carlos@redhat.com>
30295
30296 [BZ #12674]
30297 * nptl/sem_waitcommon.c: New file.
30298 * nptl/sem_wait.c: Include sem_waitcommon.c.
30299 (__sem_wait_cleanup, do_futex_wait): Remove.
30300 (__new_sem_wait): Adapt.
30301 (__new_sem_trywait): New function.
30302 (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
30303 * nptl/sem_timedwait.c: Include sem_waitcommon.c.
30304 (__sem_wait_cleanup, do_futex_timed_wait): Remove.
30305 (sem_timedwait): Adapt.
30306 * nptl/sem_post.c (__new_sem_post): Adapt.
30307 (futex_wake): New function.
30308 (__old_sem_post): Add release MO fence.
30309 * nptl/sem_open.c (sem_open): Adapt.
30310 * nptl/sem_init.c (__new_sem_init): Adapt.
30311 (futex_private_if_supported): New function.
30312 * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
30313 (__old_sem_getvalue): Add using previous code.
30314 * sysdeps/nptl/internaltypes.h: Adapt.
30315 * nptl/tst-sem13.c (do_test): Adapt.
30316 * nptl/tst-sem11.c (main): Adapt.
30317 * nptl/sem_trywait.c: Remove.
30318 * nptl/DESIGN-sem.txt: Remove.
30319 * nptl/Makefile (libpthread-routines): Remove sem_trywait.
30320 (gen-as-const-headers): Remove structsem.sym.
30321 * nptl/structsem.sym: Remove.
30322 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
30323 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
30324 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
30325 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
30326 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
30327 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
30328 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
30329 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
30330 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
30331 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
30332 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
30333 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
30334 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
30335 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
30336 * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
30337 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
30338 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
30339 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
30340 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
30341 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
30342 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
30343 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
30344
30345 2015-01-20 Carlos O'Donell <carlos@redhat.com>
30346
30347 * INSTALL: Regenerated.
30348
30349 * po/libc.pot: Regenerated.
30350
30351 2015-01-18 Chung-Lin Tang <cltang@codesourcery.com>
30352 Sandra Loosemore <sandra@codesourcery.com>
30353 Andrew Jenner <andrew@codesourcery.com>
30354 Joseph Myers <joseph@codesourcery.com>
30355 Nathan Sidwell <nathan@codesourcery.com>
30356
30357 * NEWS: Mention new Nios II port.
30358 * sysdeps/nios2/Implies: New file.
30359 * sysdeps/nios2/Makefile: New file.
30360 * sysdeps/nios2/Subdirs: New file.
30361 * sysdeps/nios2/Versions: New file.
30362 * sysdeps/nios2/__longjmp.S: New file.
30363 * sysdeps/nios2/abort-instr.h: New file.
30364 * sysdeps/nios2/backtrace.c: New file.
30365 * sysdeps/nios2/bits/endian.h: New file.
30366 * sysdeps/nios2/bits/fenv.h: New file.
30367 * sysdeps/nios2/bits/link.h: New file.
30368 * sysdeps/nios2/bits/setjmp.h: New file.
30369 * sysdeps/nios2/bsd-_setjmp.S: New file.
30370 * sysdeps/nios2/bsd-setjmp.S: New file.
30371 * sysdeps/nios2/configure: New generated file.
30372 * sysdeps/nios2/configure.ac: New file.
30373 * sysdeps/nios2/crti.S: New file.
30374 * sysdeps/nios2/crtn.S: New file.
30375 * sysdeps/nios2/dl-init.c: New file.
30376 * sysdeps/nios2/dl-machine.h: New file.
30377 * sysdeps/nios2/dl-sysdep.h: New file.
30378 * sysdeps/nios2/dl-tls.h: New file.
30379 * sysdeps/nios2/dl-trampoline.S: New file.
30380 * sysdeps/nios2/gccframe.h: New file.
30381 * sysdeps/nios2/gmp-mparam.h: New file.
30382 * sysdeps/nios2/jmpbuf-offsets.h: New file.
30383 * sysdeps/nios2/jmpbuf-unwind.h: New file.
30384 * sysdeps/nios2/ldsodefs.h: New file.
30385 * sysdeps/nios2/libc-tls.c: New file.
30386 * sysdeps/nios2/libm-test-ulps: New file.
30387 * sysdeps/nios2/machine-gmon.h: New file.
30388 * sysdeps/nios2/math-tests.h: New file.
30389 * sysdeps/nios2/math_private.h: New file.
30390 * sysdeps/nios2/memusage.h: New file.
30391 * sysdeps/nios2/nptl/Makefile: New file.
30392 * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
30393 * sysdeps/nios2/nptl/bits/semaphore.h: New file.
30394 * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
30395 * sysdeps/nios2/nptl/pthreaddef.h: New file.
30396 * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
30397 * sysdeps/nios2/nptl/tls.h: New file.
30398 * sysdeps/nios2/preconfigure: New file.
30399 * sysdeps/nios2/s_fma.c: New file.
30400 * sysdeps/nios2/s_fmaf.c: New file.
30401 * sysdeps/nios2/setjmp.S: New file.
30402 * sysdeps/nios2/sfp-machine.h: New file.
30403 * sysdeps/nios2/sotruss-lib.c: New file.
30404 * sysdeps/nios2/stackguard-macros.h: New file.
30405 * sysdeps/nios2/stackinfo.h: New file.
30406 * sysdeps/nios2/start.S: New file.
30407 * sysdeps/nios2/sysdep.h: New file.
30408 * sysdeps/nios2/tls-macros.h: New file.
30409 * sysdeps/nios2/tst-audit.h: New file.
30410 * sysdeps/unix/sysv/linux/nios2/Implies: New file.
30411 * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
30412 * sysdeps/unix/sysv/linux/nios2/Versions: New file.
30413 * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
30414 * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
30415 * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
30416 * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
30417 * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
30418 * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
30419 * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
30420 * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
30421 * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
30422 * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
30423 * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
30424 * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
30425 * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
30426 * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
30427 * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
30428 * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
30429 * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
30430 * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
30431 * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
30432 * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
30433 * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
30434 * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
30435 * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
30436 * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
30437 * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
30438 * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
30439 * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
30440 * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
30441 * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
30442 * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
30443 * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
30444 * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
30445 * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
30446 * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
30447 * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
30448 * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
30449 * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
30450 * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
30451 * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
30452 * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
30453 * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
30454
30455 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
30456
30457 [BZ #17844]
30458 * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
30459 (getutent): Use weak_alias in non SHARED case
30460 and default_symbol_version in SHARED case.
30461 * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
30462 (getutent_r, pututline): Likewise.
30463 * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
30464 (getutid): Likewise.
30465 * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
30466 (getutid_r): Likewise.
30467 * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
30468 (getutline): Likewise.
30469 * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
30470 (getutline_r): Likewise.
30471 * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
30472 (updwtmp): Likewise.
30473
30474 2015-01-16 Stefan Liebler <stli@linux.vnet.ibm.com>
30475
30476 [BZ #17848]
30477 * sysdeps/s390/s390-32/memcmp.S
30478 (memcmp_g5): Rename to __memcmp_g5.
30479 * sysdeps/s390/s390-32/memcpy.S
30480 (memcpy_g5): Rename to __memcpy_g5.
30481 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30482 (memcpy_mvcle) Rename to __memcpy_mvcle.
30483 * sysdeps/s390/s390-32/memset.S
30484 (memset_g5): Rename to __memset_g5.
30485 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
30486 (IFUNC_RESOLVE): Prefix ifunc-resolve function
30487 and use prefixed functions.
30488 * sysdeps/s390/s390-32/multiarch/memcmp.S
30489 (memcmp_z196): Rename to __memcmp_z196.
30490 (memcmp_z10): Rename to __memcmp_z10.
30491 (memcmp): Set alias to __memcmp_g5.
30492 (bcmp): Set alias to __memcmp_g5.
30493 * sysdeps/s390/s390-32/multiarch/memcpy.S
30494 (memcpy_z196): Rename to __memcpy_z196.
30495 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30496 (memcpy_z10): Rename to __memcpy_z10.
30497 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30498 (memcpy): Set alias to __memcpy_g5.
30499 * sysdeps/s390/s390-32/multiarch/memset.S
30500 (memset_z196): Rename to __memset_z196.
30501 Jump to __memset_mvcle instead of memset_mvcle.
30502 (memset_z10): Rename to __memset_z10.
30503 Jump to __memset_mvcle instead of memset_mvcle.
30504 (memset_mvcle) Rename to __memset_mvcle.
30505 (memset): Set alias to __memset_g5.
30506 * sysdeps/s390/s390-64/memcmp.S
30507 (memcmp_z900): Rename to __memcmp_z900.
30508 * sysdeps/s390/s390-64/memcpy.S
30509 (memcpy_z900): Rename to __memcpy_z900.
30510 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30511 (memcpy_mvcle) Rename to __memcpy_mvcle.
30512 * sysdeps/s390/s390-64/memset.S
30513 (memset_z900): Rename to __memset_z900.
30514 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
30515 (IFUNC_RESOLVE): Prefix ifunc-resolve function
30516 and use prefixed functions.
30517 * sysdeps/s390/s390-64/multiarch/memcmp.S
30518 (memcmp_z196): Rename to __memcmp_z196.
30519 (memcmp_z10): Rename to __memcmp_z10.
30520 (memcmp): Set alias to __memcmp_z900.
30521 (bcmp): Set alias to __memcmp_z900.
30522 * sysdeps/s390/s390-64/multiarch/memcpy.S
30523 (memcpy_z196): Rename to __memcpy_z196.
30524 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30525 (memcpy_z10): Rename to __memcpy_z10.
30526 Jump to __memcpy_mvcle instead of memcpy_mvcle.
30527 (memcpy): Set alias to __memcpy_z900.
30528 * sysdeps/s390/s390-64/multiarch/memset.S
30529 (memset_z196): Rename to __memset_z196.
30530 Jump to __memset_mvcle instead of memset_mvcle.
30531 (memset_z10): Rename to __memset_z10.
30532 Jump to __memset_mvcle instead of memset_mvcle.
30533 (memset_mvcle) Rename to __memset_mvcle.
30534 (memset): Set alias to __memset_z900.
30535
30536 2015-01-14 Joseph Myers <joseph@codesourcery.com>
30537
30538 [BZ #17748]
30539 * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
30540 __fesetenv instead of fesetenv.
30541
30542 2015-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
30543
30544 * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
30545 macro.
30546
30547 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30548
30549 * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
30550 regression on LE.
30551
30552 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
30553 * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
30554 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30555 strncmp-power8 object.
30556 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30557 (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
30558 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
30559 * NEWS: Update.
30560
30561 2015-01-13 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
30562 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30563
30564 * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
30565 trailing byte check.
30566
30567 2015-01-13 David S. Miller <davem@davemloft.net>
30568
30569 * include/signal.h (__sigreturn): Guard with __USE_MISC.
30570
30571 2015-01-13 Roland McGrath <roland@hack.frob.com>
30572
30573 * login/logout.c (logout): Use memset rather than bzero.
30574 * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
30575 * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
30576 * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
30577 (_gethtbyaddr): Likewise.
30578 * locale/programs/simple-hash.c (bcopy): Macro removed.
30579
30580 2015-01-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30581
30582 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30583 Add strcmp-power8 object.
30584 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30585 (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
30586 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
30587 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
30588 __strcmp_power8 implementation.
30589 * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
30590 * NEWS: Update.
30591
30592 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
30593 Add strncpy-power8 and stpncpy-power8 objects.
30594 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30595 (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
30596 implementations.
30597 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
30598 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
30599 __stpncpy_power8 implementation.
30600 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
30601 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
30602 __strncpy_power8 implementation.
30603 * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
30604 * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
30605 * NEWS: Update.
30606
30607 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
30608 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
30609 * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
30610
30611 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30612 strncat-power8 object.
30613 * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
30614 __strcat_power8 implementation.
30615 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30616 (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
30617 * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
30618 optimized strcat for power8.
30619
30620 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
30621 strcpy-power8 and stpcpy-power8 objects.
30622 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
30623 (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
30624 implementations.
30625 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
30626 multiarch stpcpy implementation for POWER8.
30627 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
30628 multiarch strcpy implementation for POWER8.
30629 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
30630 __strcpy_power8 function.
30631 * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
30632 stpcpy for POWER8.
30633 * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
30634 strcpy for POWER8.
30635 * NEWS: Update.
30636
30637 2015-01-13 Leonhard Holz <leonhard.holz@web.de>
30638
30639 [BZ #16009]
30640 * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
30641 weights and rules. Use do_xfrm_cached if data fits in cache,
30642 do_xfrm otherwise. Moved former main loop to...
30643 * (do_xfrm_cached): New function.
30644 * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
30645 find_idx, find_position and stack_push.
30646 * (find_idx): New function.
30647 * (find_position): Likewise.
30648 * localedata/sort-test.sh: Added test run for do_xfrm.
30649 * localedata/xfrm-test.c (main): Added command line option
30650 -nocache to run the test with strings that are too large for
30651 the STRXFRM cache.
30652
30653 2015-01-13 Torvald Riegel <triegel@redhat.com>
30654
30655 * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
30656 variable to lll_futex_wake call, not the value itself.
30657
30658 2015-01-12 Joseph Myers <joseph@codesourcery.com>
30659
30660 [BZ #17803]
30661 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
30662 twom64. Adjust value to 0x1p-64L.
30663 (__scalblnl): Only return standard underflowing result for K <=
30664 -64 not K <= -63; adjust exponent for underflowing result by 64
30665 not 63.
30666 * math/libm-test.inc (scalbn_test_data): Add more tests.
30667 (scalbln_test_data): Likewise.
30668
30669 [BZ #17834]
30670 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
30671 0x1p63L.
30672 (__scalblnl): Get new exponent of adjusted subnormal value from ES
30673 not HX.
30674 * math/libm-test.inc (scalbn_test_data): Add more tests.
30675 (scalbln_test_data): Likewise.
30676
30677 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30678 Stefani Seibold <stefani@seibold.net>
30679
30680 * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
30681 (sysdep_routines): Add dl-vdso here, ...
30682 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
30683 (sysdep_routines): ... not here.
30684 * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
30685 fallback when vDSO is not presented.
30686 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
30687 Define with libc_hidden_proto/libc_hidden_data_def definitions.
30688 (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
30689 * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
30690 * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
30691 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
30692 * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
30693 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
30694 * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
30695 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
30696 * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here. Also added
30697 fallback configurable symbol when vDSO is not available.
30698 * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
30699 * sysdeps/unix/sysv/linux/x86/time.c: ... here. Also refactored to
30700 be able to redefine fallback symbol when vDSO is not available.
30701 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
30702 * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
30703
30704 2015-01-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30705
30706 * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
30707 (TLS_INIT_TP): Add tm_capable initialization.
30708 (TLS_DEFINE_INIT_TP): Likewise.
30709 (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
30710 TCB.
30711 (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
30712 * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
30713 calculation.
30714 * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
30715 transactoion is lock elision is built and TCB tm_capable is set.
30716 * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
30717 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
30718 (INTERNAL_SYSCALL_NCS): Likewise.
30719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
30720 (INTERNAL_SYSCALL_NCS): Likewise.
30721 * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
30722
30723 * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
30724 for powerpc.
30725 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30726 [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
30727 and remove it for 32 bits case.
30728 [pthread_rwlock_t] (__rwelision): New field for lock elision.
30729 (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
30730 initialization.
30731 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
30732 Disable lock elision with rdlocks if elision is not available.
30733
30734 * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
30735 (sysdep_routines): Add lock elision objects.
30736 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
30737 [pthread_mutex_t] (__spins): Rework to add lock elision field.
30738 [pthread_mutex_t] (__elision): Add field.
30739 [__PTHREAD_SPINS]: Adjust to init lock elision field.
30740 * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
30741 elision definitions for powerpc.
30742 * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
30743 implementation of lock elision for powerpc.
30744 * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
30745 implementation of timed lock elision for powerpc.
30746 * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
30747 implementation of trylock with lock elision for powerpc.
30748 * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
30749 implementaion of unlock for lock elision for powerpc.
30750 * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
30751 automatic enable lock elision for mutexes.
30752 * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
30753 transaction execution definitions for powerpc.
30754 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
30755 definitions.
30756 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
30757 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
30758 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
30759 * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
30760 * NEWS: Update.
30761
30762 2015-01-09 Roland McGrath <roland@hack.frob.com>
30763
30764 * sysdeps/posix/shm-directory.c: Use <> rather than ""
30765 for #include of <shm-directory.h>.
30766
30767 2015-01-09 Chung-Lin Tang <cltang@codesourcery.com>
30768
30769 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
30770 assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
30771
30772 2015-01-09 Matthew Fortune <matthew.fortune@imgtec.com>
30773
30774 [BZ #17791]
30775 * NEWS: Mention bug fix.
30776 * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
30777 (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
30778 (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
30779
30780 2015-01-09 Torvald Riegel <triegel@redhat.com>
30781
30782 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
30783
30784 2015-01-09 Torvald Riegel <triegel@redhat.com>
30785
30786 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
30787
30788 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
30789
30790 * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
30791 pointer and cast to uintptr_t.
30792
30793 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
30794
30795 * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
30796 removed.
30797 (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
30798
30799 2015-01-09 David Holsgrove <david.holsgrove@xilinx.com>
30800
30801 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
30802 of 0.
30803
30804 2015-01-08 Roland McGrath <roland@hack.frob.com>
30805
30806 * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
30807 <nptl/pthreadP.h> instead.
30808 * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
30809
30810 * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
30811 already defined.
30812 [__SIGRTMIN] (init): Function removed.
30813 [__SIGRTMIN] (initialized): Variable removed.
30814 [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
30815 [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
30816 __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
30817 (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
30818 (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
30819 (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
30820 (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
30821 (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
30822 (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
30823 (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
30824 (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
30825 * sysdeps/nptl/allocrtsig.c: New file.
30826 * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
30827 * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
30828 * sysdeps/generic/testrtsig.h: File removed.
30829
30830 * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
30831 (pthread_sigmask): Call sigprocmask, not __sigprocmask.
30832
30833 * nptl/nptl-init.c (pthread_functions): Conditionalize
30834 .ptr__nptl_setxid initialization on [SIGSETXID].
30835
30836 * sysdeps/nptl/sys/procfs.h: New file.
30837 * nptl_db/Makefile (headers): Add it.
30838 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
30839
30840 * nptl/pthreadP.h (check_cpuset_attr): Moved ...
30841 * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
30842 * nptl/pthread_attr_setaffinity.c: Include it.
30843 * nptl/pthread_setattr_default_np.c: Likewise.
30844 * nptl/check-cpuset.h: New file.
30845
30846 2015-01-08 Richard Henderson <rth@redhat.com>
30847
30848 * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
30849 (CFLAGS-tst-execstack-prog.c): Likewise.
30850 * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
30851
30852 2015-01-08 Chung-Lin Tang <cltang@codesourcery.com>
30853 Sandra Loosemore <sandra@codesourcery.com>
30854 Andrew Jenner <andrew@codesourcery.com>
30855 Joseph Myers <joseph@codesourcery.com>
30856 Nathan Sidwell <nathan@codesourcery.com>
30857
30858 * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
30859 (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
30860 (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
30861 (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
30862 (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
30863 (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
30864 (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
30865 (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
30866 (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
30867 (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
30868 (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
30869 (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
30870 (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
30871 (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
30872 (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
30873 (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
30874 (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
30875
30876 2015-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30877
30878 * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
30879 timespec struct member in syscall macro.
30880 * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
30881 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
30882 first timeval struct member in syscall macro.
30883 * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
30884
30885 2015-01-07 Joseph Myers <joseph@codesourcery.com>
30886
30887 [BZ #17748]
30888 * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
30889 * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
30890 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
30891 __feupdateenv and define as weak alias of __feupdateenv. Use
30892 libm_hidden_weak.
30893 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
30894 libm_hidden_def.
30895 * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
30896 and define as weak alias of __feupdateenv. Use libm_hidden_weak.
30897 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
30898 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
30899 libm_hidden_def.
30900 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
30901 __feupdateenv and define as weak alias of __feupdateenv. Use
30902 libm_hidden_weak.
30903 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
30904 libm_hidden_def.
30905 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
30906 __feupdateenv and define as weak alias of __feupdateenv. Use
30907 libm_hidden_weak.
30908 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
30909 libm_hidden_def.
30910 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
30911 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
30912 (__feupdateenv): Likewise.
30913 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
30914 __feupdateenv and define as weak alias of __feupdateenv. Use
30915 libm_hidden_weak.
30916 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
30917 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
30918 libm_hidden_def.
30919 * sysdeps/tile/math_private.h (__feupdateenv): New inline
30920 function.
30921 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
30922 libm_hidden_def.
30923 * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
30924 __feupdateenv instead of feupdateenv.
30925 (default_libc_feupdateenv_test): Likewise.
30926 (libc_feresetround_ctx): Likewise.
30927
30928 2015-01-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
30929
30930 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
30931 prototype.
30932
30933 2015-01-07 Chris Metcalf <cmetcalf@ezchip.com>
30934
30935 * posix/regcomp.c (parse_bracket_exp): Initialize type to
30936 COLL_SYM in a couple of places to avoid uninitialized variable
30937 wanings on tilegx gcc 4.8.2.
30938
30939 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
30940
30941 * sysdeps/aarch64/strcpy.S: New file.
30942 * sysdeps/aarch64/stpcpy.S: New file.
30943 * NEWS: Updated.
30944
30945 2015-01-07 Richard Earnshaw <rearnsha@arm.com>
30946
30947 * sysdeps/aarch64/strrchr.S: New file.
30948 * NEWS: Updated.
30949
30950 2015-01-07 Eric Biggers <ebiggers3@gmail.com>
30951
30952 [BZ #17658]
30953 * stdlib/setenv.c: Fix memory leak when setting large,
30954 duplicate string.
30955
30956 2015-01-06 Vladimir A. Nazarenko <naszar@ya.ru>
30957
30958 [BZ #17273]
30959 * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
30960 and tabs from buffer before parsing fstab entry.
30961 * misc/tst-mntent.c (main): Add test for mount entry with
30962 trailing spaces and tabs.
30963
30964 2015-01-06 Joseph Myers <joseph@codesourcery.com>
30965
30966 [BZ #17748]
30967 * include/fenv.h (__fesetround): Declare. Use libm_hidden_proto.
30968 * math/fesetround.c (fesetround): Rename to __fesetround and
30969 define as weak alias of __fesetround. Use libm_hidden_weak.
30970 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
30971 * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
30972 * sysdeps/arm/fesetround.c (fesetround): Likewise.
30973 * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
30974 * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
30975 * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
30976 * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
30977 * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
30978 * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
30979 __fesetround_inline.
30980 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
30981 __fesetround_inline instead of __fesetround.
30982 * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
30983 __fesetround and define as weak alias of __fesetround. Use
30984 libm_hidden_weak. Call __fesetround_inline instead of
30985 __fesetround.
30986 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
30987 __fesetround and define as weak alias of __fesetround. Use
30988 libm_hidden_weak.
30989 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
30990 Likewise.
30991 * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
30992 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
30993 * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
30994 * sysdeps/tile/math_private.h (__fesetround): New inline function.
30995 * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
30996 __fesetround and define as weak alias of __fesetround. Use
30997 libm_hidden_weak.
30998 * sysdeps/generic/math_private.h (default_libc_fesetround): Call
30999 __fesetround instead of fesetround.
31000 (default_libc_feholdexcept_setround): Likewise.
31001 (libc_feholdsetround_ctx): Likewise.
31002 (libc_feholdsetround_noex_ctx): Likewise.
31003
31004 [BZ #17748]
31005 * include/fenv.h (__fesetenv): Use libm_hidden_proto.
31006 * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
31007 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
31008 and define as weak alias of __fesetenv. Use libm_hidden_weak.
31009 * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
31010 * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
31011 define as weak alias of __fesetenv. Use libm_hidden_weak.
31012 * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
31013 * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
31014 * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
31015 define as weak alias of __fesetenv. Use libm_hidden_weak.
31016 * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
31017 * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
31018 define as weak alias of __fesetenv. Use libm_hidden_weak.
31019 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
31020 libm_hidden_def.
31021 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
31022 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
31023 Likewise.
31024 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
31025 define as weak alias of __fesetenv. Use libm_hidden_weak.
31026 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
31027 * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
31028 * sysdeps/tile/math_private.h (__fesetenv): New inline function.
31029 * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
31030 and define as weak alias of __fesetenv. Use libm_hidden_weak.
31031 * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
31032 __fesetenv instead of fesetenv.
31033 (libc_feresetround_noex_ctx): Likewise.
31034 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
31035 * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
31036 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
31037 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
31038 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
31039 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
31040 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
31041 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
31042 (__feupdateenv): Likewise.
31043 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31044 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31045 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31046 * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
31047
31048 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
31049
31050 [BZ #17806]
31051 * resolv/res_init.c (__res_iclose): Only clear nsinit if the
31052 addresses have been freed.
31053
31054 2015-01-06 Aurelien Jarno <aurelien@aurel32.net>
31055
31056 * resolv/res_init.c (__res_vinit): Improve comments about nserv
31057 and nservall.
31058
31059 2015-01-06 Ondřej Bílka <neleai@seznam.cz>
31060
31061 * sysdeps/unix/sysv/linux/check_pf.c (make_request):
31062 Clean up check_pf allocation pattern. addresses
31063
31064 2015-01-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31065
31066 * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
31067 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
31068 * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
31069 * nptl/pthread_exit.c (__pthread_exit): Likewise.
31070 * nptl/pthread_join.c (pthread_join): Likewise.
31071 * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
31072 * sysdeps/posix/waitid.c (__waitid): Likewise.
31073 * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
31074 * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
31075 * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
31076 * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
31077 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
31078 Likewise.
31079 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
31080 (__libc_pread64): Likewise.
31081 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
31082 (__libc_pwrite): Likewise.
31083 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
31084 (__libc_pwrite64): Likewsie.
31085 * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
31086 * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
31087 * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
31088 * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
31089 * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
31090 * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
31091 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
31092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
31093 Likewise.
31094 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
31095 (__libc_pread64): Likewise.
31096 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
31097 Likewise.
31098 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
31099 (__libc_pwrite64): Likewise.
31100 * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
31101 * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
31102 * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
31103 * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
31104 * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
31105 * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
31106 * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
31107 * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
31108 * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
31109 * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
31110 * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
31111 * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
31112 * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
31113 * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
31114 * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
31115 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
31116 Likewise.
31117
31118 2015-01-06 Andrew Senkevich <andrew.n.senkevich@gmail.com>
31119
31120 * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
31121 (CFLAGS-test-double.c): Likewise.
31122 (CFLAGS-test-ldouble.c): Likewise.
31123 (CPPFLAGS-test-ifloat.c): Likewise.
31124 (CPPFLAGS-test-idouble.c): Likewise.
31125 (CPPFLAGS-test-ildoubl.c): Likewise.
31126 (CFLAGS-test-test-fenv.c): Remove variable.
31127 (CFLAGS-test-misc.c): Likewise.
31128
31129 2015-01-06 H.J. Lu <hongjiu.lu@intel.com>
31130
31131 [BZ #17797]
31132 * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
31133 * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
31134 * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
31135 CLOCKS_PER_SEC == 1000000.
31136 * time/clocktest.c (main): Replace %ld with %jd and cast to
31137 intmax_t.
31138
31139 2015-01-05 Roland McGrath <roland@hack.frob.com>
31140
31141 * sysdeps/generic/unwind-resume.h: New file.
31142 * sysdeps/gnu/unwind-resume.c: Include it.
31143 (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
31144 (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
31145 argument list.
31146 (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
31147 global rather than static.
31148 (_Unwind_Resume): Update user.
31149 Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
31150 (init): Likewise. Renamed to __libgcc_s_init, made hidden global
31151 rather than static. Add __attribute__ ((cold)).
31152 (_Unwind_Resume, __gcc_personality_v0): Update callers.
31153 * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
31154 * sysdeps/arm/arm-unwind-resume.S: New file.
31155 * sysdeps/arm/rt-arm-unwind-resume.S: New file.
31156 * sysdeps/arm/pt-arm-unwind-resume.S: New file.
31157 * sysdeps/arm/Makefile [$(subdir) = csu]
31158 (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
31159 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
31160 Add rt-arm-unwind-resume.
31161 [$(subdir) = nptl]
31162 (libpthread-sysdep_routines, libpthread-shared-only-routines):
31163 Add pt-arm-unwind-resume.
31164 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
31165 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
31166
31167 2015-01-05 Joseph Myers <joseph@codesourcery.com>
31168
31169 [BZ #17748]
31170 * include/fenv.h (__feholdexcept): Declare. Use
31171 libm_hidden_proto.
31172 * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
31173 define as weak alias of __feholdexcept. Use libm_hidden_weak.
31174 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31175 * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
31176 * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
31177 * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
31178 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
31179 * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31180 * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
31181 * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
31182 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
31183 * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
31184 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
31185 (feholdexcept): Likewise.
31186 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
31187 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
31188 * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
31189 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
31190 * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
31191 __feholdexcept instead of feholdexcept.
31192 (default_libc_feholdexcept_setround): Likewise.
31193
31194 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
31195
31196 * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
31197 to avoid using stl/str to align destination.
31198
31199 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
31200
31201 * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
31202
31203 2015-01-05 Joseph Myers <joseph@codesourcery.com>
31204
31205 [BZ #17796]
31206 * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
31207 [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
31208 Define as weak alias not strong alias.
31209
31210 2015-01-05 Steve Ellcey <sellcey@imgtec.com>
31211
31212 * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
31213 bltzal with addiupc.
31214 (RTLD_START): Ditto.
31215
31216 2015-01-05 Chris Metcalf <cmetcalf@ezchip.com>
31217
31218 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
31219 for __vdso_* functions in declarations.
31220 * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
31221 definitions.
31222 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
31223 INTERNAL_VSYSCALL): Use struct return types to check for error.
31224
31225 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
31226 && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
31227 function with cast from llround().
31228 * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
31229 * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
31230 Define.
31231
31232 2015-01-05 Joseph Myers <joseph@codesourcery.com>
31233
31234 [BZ #17793]
31235 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
31236 Define as weak alias not strong alias.
31237
31238 [BZ #17635]
31239 * ctype/ctype-c99.c: New file. isblank implementation moved from
31240 ...
31241 * ctype/ctype-extn.c: ... here.
31242 (__isblank_l): Move to ...
31243 * ctype/ctype-c99_l.c: ... here. New file.
31244 * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
31245 * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
31246 Remove variable.
31247 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
31248 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
31249 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
31250 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
31251 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
31252
31253 [BZ #17777]
31254 * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
31255 (posix_fadvise64): Define as weak alias not strong alias.
31256 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
31257 (posix_fallocate64): Likewise.
31258 * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
31259 Remove variable.
31260 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
31261 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
31262 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
31263 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
31264 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
31265
31266 2015-01-05 Matthew Fortune <matthew.fortune@imgtec.com>
31267
31268 [BZ #16191]
31269 * NEWS: Mention bug fix.
31270 * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
31271 (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
31272 (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
31273 (HOST_STACK_END_ADDR): Likewise.
31274
31275 2015-01-02 Joseph Myers <joseph@codesourcery.com>
31276
31277 [BZ #17748]
31278 * include/fenv.h (__fegetround): Declare. Use libm_hidden_proto.
31279 * math/fegetround.c (fegetround): Rename to __fegetround and
31280 define as weak alias of __fegetround. Use libm_hidden_weak.
31281 * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
31282 * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
31283 * sysdeps/arm/fegetround.c (fegetround): Likewise.
31284 * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
31285 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
31286 * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
31287 * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
31288 * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
31289 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
31290 Undefine after rather than before function definition; use
31291 parentheses around function name in definition.
31292 (__fegetround): Also undefine macro after function definition.
31293 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
31294 __fegetround and define as weak alias of __fegetround. Use
31295 libm_hidden_weak. Do not undefine as macro.
31296 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
31297 Likewise.
31298 * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
31299 __fegetround and define as weak alias of __fegetround. Use
31300 libm_hidden_weak.
31301 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
31302 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
31303 * sysdeps/tile/math_private.h (__fegetround): New inline function.
31304 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
31305 __fegetround and define as weak alias of __fegetround. Use
31306 libm_hidden_weak.
31307 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
31308 __fegetround instead of fegetround.
31309
31310 [BZ #17782]
31311 * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
31312 Condition macro definition on [__USE_MISC].
31313
31314 [BZ #17781]
31315 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
31316 (struct sigaction): Change type of sa_flags field to int.
31317
31318 [BZ #17780]
31319 * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
31320 [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
31321 __glibc_reserved0.
31322
31323 * nptl/version.c (banner): Use single year in copyright notice.
31324
31325 * NEWS: Update copyright dates.
31326 * catgets/gencat.c (print_version): Likewise.
31327 * csu/version.c (banner): Likewise.
31328 * debug/catchsegv.sh: Likewise.
31329 * debug/pcprofiledump.c (print_version): Likewise.
31330 * debug/xtrace.sh (do_version): Likewise.
31331 * elf/ldconfig.c (print_version): Likewise.
31332 * elf/ldd.bash.in: Likewise.
31333 * elf/pldd.c (print_version): Likewise.
31334 * elf/sotruss.sh: Likewise.
31335 * elf/sprof.c (print_version): Likewise.
31336 * iconv/iconv_prog.c (print_version): Likewise.
31337 * iconv/iconvconfig.c (print_version): Likewise.
31338 * locale/programs/locale.c (print_version): Likewise.
31339 * locale/programs/localedef.c (print_version): Likewise.
31340 * login/programs/pt_chown.c (print_version): Likewise.
31341 * malloc/memusage.sh (do_version): Likewise.
31342 * malloc/memusagestat.c (print_version): Likewise.
31343 * malloc/mtrace.pl: Likewise.
31344 * manual/libc.texinfo: Likewise.
31345 * nptl/version.c (banner): Likewise.
31346 * nscd/nscd.c (print_version): Likewise.
31347 * nss/getent.c (print_version): Likewise.
31348 * nss/makedb.c (print_version): Likewise.
31349 * posix/getconf.c (main): Likewise.
31350 * scripts/test-installation.pl: Likewise.
31351 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
31352
31353 2015-01-02 Will Newton <will.newton@linaro.org>
31354
31355 * sysdeps/arm/armv7/configure: Removed.
31356 * sysdeps/arm/armv7/configure.ac: Likewise.
31357
31358 2015-01-02 Joseph Myers <joseph@codesourcery.com>
31359
31360 * All files with FSF copyright notices: Update copyright dates
31361 using scripts/update-copyrights.
31362 * intl/plural.c: Regenerated.
31363 * locale/programs/charmap-kw.h: Likewise.
31364 * locale/programs/locfile-kw.h: Likewise.
31365
31366 2015-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
31367
31368 * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
31369
31370 2014-12-31 Joseph Myers <joseph@codesourcery.com>
31371
31372 [BZ #17748]
31373 * include/fenv.h (__fegetenv): Use libm_hidden_proto.
31374 * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
31375 * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
31376 and define as weak alias of __fegetenv. Use libm_hidden_weak.
31377 * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31378 * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
31379 define as weak alias of __fegetenv. Use libm_hidden_weak.
31380 * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
31381 * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31382 * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31383 define as weak alias of __fegetenv. Use libm_hidden_weak.
31384 * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31385 * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31386 define as weak alias of __fegetenv. Use libm_hidden_weak.
31387 * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
31388 libm_hidden_def.
31389 * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
31390 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
31391 Likewise.
31392 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
31393 define as weak alias of __fegetenv. Use libm_hidden_weak.
31394 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
31395 * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
31396 * sysdeps/tile/math_private.h (__fegetenv): New inline function.
31397 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
31398 and define as weak alias of __fegetenv. Use libm_hidden_weak.
31399 * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
31400 __fegetenv instead of fegetenv.
31401 (libc_feholdsetround_noex_ctx): Likewise.
31402
31403 2014-12-31 Matthew Fortune <matthew.fortune@imgtec.com>
31404
31405 * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
31406 (Elf_MIPS_ABIFlags_v0): New structure.
31407 (EF_MIPS_FP64): Define.
31408 (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
31409 (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
31410 (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
31411 (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
31412 (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
31413 (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
31414 (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
31415 (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
31416 (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
31417 (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
31418 (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
31419 (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
31420 (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
31421 (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
31422 (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
31423 (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
31424 (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
31425 (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
31426 (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
31427 * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
31428 tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
31429 * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
31430 field.
31431 * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
31432 EF_MIPS_FP64.
31433 * sysdeps/mips/dl-machine-reject-phdr.h: New file.
31434 * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
31435 * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
31436 * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
31437 * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
31438 * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
31439 * sysdeps/mips/tst-abi-interlink.c: Likewise.
31440 * sysdeps/mips/tst-mode-switch-1.c: Likewise.
31441 * sysdeps/mips/tst-mode-switch-2.c: Likewise.
31442 * sysdeps/mips/tst-mode-switch-3.c: Likewise.
31443 * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
31444 record the current FP ABI extension.
31445 (mips-mode-switch): Define to show if kernel headers support mode
31446 switching.
31447 * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
31448 * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
31449 supported SYSV ABI version to 3.
31450 * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
31451 feature.
31452
31453 2014-12-31 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
31454 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
31455
31456 * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
31457 path.
31458 * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
31459
31460 2014-12-31 Joseph Myers <joseph@codesourcery.com>
31461
31462 * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
31463 __fegetround and redefine to call __fegetround. Remove condition
31464 on [!__NO_MATH_INLINES].
31465 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
31466 function.
31467 * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
31468 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
31469 Remove macro.
31470 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
31471 instead of <fenv_libc.h>.
31472 (__llrintl): Call fegetround instead of __fegetround.
31473 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
31474 instead of <fenv_libc.h>.
31475 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
31476 (__lrintl): Call fegetround instead of __fegetround.
31477 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
31478 instead of <fenv_libc.h>.
31479 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
31480 (__rintl): Call fegetround instead of __fegetround.
31481
31482 2014-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
31483
31484 * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
31485 arrays.
31486
31487 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
31488
31489 [BZ #17775]
31490 * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
31491 (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
31492 (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
31493
31494 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
31495
31496 * sysdeps/i386/tls-macros.h: Include <features.h>.
31497 (TLS_LE): Use non-PIC version for GCC >= 5.0.
31498 (TLS_IE): Likewise.
31499 (TLS_LD): Likewise.
31500 (TLS_GD): Likewise.
31501 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
31502 define for GCC >= 5.0.
31503
31504 2014-12-30 Chris Metcalf <cmetcalf@ezchip.com>
31505
31506 * math/test-fenv.c (test_single_exception, set_single_exc,
31507 feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
31508 feexcp_mask_test, feenable_test, fe_single_test): Add
31509 [!FE_ALL_EXCEPT] test so these routines are not compiled in the
31510 case where they are not used.
31511 * math/libm-test.inc: Likewise.
31512 * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
31513 unused in the absence of FP rounding/exception support.
31514 * stdio-common/tst-printf-round.c: Likewise.
31515 * stdlib/tst-strtod-round.c: Likewise.
31516 * stdlib/tst-strtod-underflow.c: Likewise.
31517
31518 2014-12-30 Joseph Myers <joseph@codesourcery.com>
31519
31520 [BZ #17723]
31521 * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
31522 * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
31523 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31524 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31525 libm_hidden_weak.
31526 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
31527 * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31528 * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
31529 libm_hidden_def.
31530 * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31531 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31532 libm_hidden_weak.
31533 * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
31534 Likewise.
31535 * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
31536 * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31537 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31538 libm_hidden_weak.
31539 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31540 libm_hidden_def.
31541 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
31542 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
31543 (__feraiseexcept): Likewise.
31544 * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
31545 __feraiseexcept and define as weak alias of __feraiseexcept. Use
31546 libm_hidden_weak.
31547 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
31548 * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
31549 libm_hidden_def.
31550 * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
31551 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
31552 Use libm_hidden_def.
31553 * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
31554 libm_hidden_def.
31555 (feraiseexcept): Define as weak not strong alias. Use
31556 libm_hidden_weak.
31557 * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
31558 New inline function. Factored out of ...
31559 (feraiseexcept): ... here. Use __feraiseexcept_invalid_divbyzero.
31560 * sysdeps/x86/fpu/include/bits/fenv.h: New file.
31561 * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
31562 feraiseexcept.
31563 * math/w_acos.c (__acos): Likewise.
31564 * math/w_asin.c (__asin): Likewise.
31565 * math/w_ilogb.c (__ilogb): Likewise.
31566 * math/w_j0.c (y0): Likewise.
31567 * math/w_j1.c (y1): Likewise.
31568 * math/w_jn.c (yn): Likewise.
31569 * math/w_log.c (__log): Likewise.
31570 * math/w_log10.c (__log10): Likewise.
31571 * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
31572 * sysdeps/aarch64/fpu/math_private.h
31573 (libc_feupdateenv_test_aarch64): Likewise.
31574 * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
31575 * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
31576 * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
31577 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
31578 * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
31579 * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
31580 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
31581 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
31582 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
31583 * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
31584
31585 2014-12-30 H.J. Lu <hongjiu.lu@intel.com>
31586
31587 [BZ #17732]
31588 * io/test-utime.c (main): Replace %ld with %jd and cast to
31589 intmax_t.
31590 * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
31591 * nptl/tst-mutex5.c: Include <stdint.h>.
31592 (do_test): Replace %ld with %jd and cast to intmax_t.
31593 * posix/tst-regex.c (run_test): Likewise.
31594 (run_test_backwards): Likewise.
31595 * rt/tst-clock.c: Include <stdint.h>.
31596 (clock_test): Replace %ld with %jd and cast to intmax_t.
31597 * rt/tst-cpuclock1.c: Include <stdint.h>.
31598 (do_test): Replace %lu with %ju and cast to uintmax_t.
31599 * rt/tst-cpuclock2.c: Include <stdint.h>.
31600 (do_test): Replace %lu with %ju and cast to uintmax_t.
31601 * rt/tst-mqueue1.c: Include <stdint.h>.
31602 (check_attrs): Replace %ld with %jd and cast to intmax_t.
31603 * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
31604 intmax_t.
31605 * rt/tst-mqueue4.c (do_test): Likewise.
31606 * rt/tst-timer4.c: Include <stdint.h>.
31607 (check_ts): Replace %ld with %jd and cast to intmax_t.
31608 (do_test): Likewise.
31609 * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
31610 and cast to intmax_t.
31611 * sysdeps/pthread/tst-timer.c (main): Likewise.
31612 * time/clocktest.c (main): Likewise.
31613 * time/tst-posixtz.c (do_test): Likewise.
31614 * timezone/tst-timezone.c (main): Likewise.
31615
31616 2014-12-30 Andrew Senkevich <andrew.senkevich@intel.com>
31617 H.J. Lu <hongjiu.lu@intel.com>
31618
31619 * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
31620 * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
31621 * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
31622 * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
31623 * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
31624 version if bit_Fast_Unaligned_Load is set.
31625 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
31626 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
31627 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
31628 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
31629 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
31630 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
31631 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
31632 bcopy-sse2-unaligned, memcpy-sse2-unaligned,
31633 memmove-sse2-unaligned and mempcpy-sse2-unaligned.
31634 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
31635 to 4.
31636 (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
31637 __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
31638 __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
31639 __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
31640
31641 2014-12-29 Chris Metcalf <cmetcalf@ezchip.com>
31642
31643 * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
31644 instead of #if to avoid a Wundef warning.
31645 * stdlib/tst-limits.c (do_test): Likewise.
31646
31647 * sysdeps/tile/math_private.h (fetestexcept): Add macro to
31648 parallel other exception macros.
31649 (fegetenv): Convert from macro to extern inline so that it applies
31650 retroactively to inline functions already seen by the compiler.
31651 (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
31652
31653 * posix/Makefile (before-compile): Use $(objpfx) for
31654 posix-conf-vars-def.h.
31655
31656 2014-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
31657
31658 * posix/getconf.c (main): Use size_t for type of I.
31659 * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
31660 NSPEC.
31661
31662 * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
31663 * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
31664 * posix/posix-envs.def: Likewise.
31665 * sysdeps/posix/sysconf.c: Likewise.
31666 * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
31667 (specs): Remove array.
31668 * scripts/gen-posix-conf-vars.awk: Support generation of specs
31669 array.
31670
31671 * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
31672 * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
31673 (__sysconf): Use CONF_IS_* macros.
31674
31675 * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
31676 ($(objpfx)posix-conf-vars-def.h): New target.
31677 * posix/posix-conf-vars.list: New file.
31678 * posix/posix-conf-vars.h: New file.
31679 * posix/confstr.c: Include posix-conf-vars.h.
31680 (confstr): Use CONF_IS_* macros.
31681 * posix/posix-envs.def: Include posix-conf-vars.h. Use
31682 CONF_IS_* macros.
31683 * scripts/gen-posix-conf-vars.awk: New file.
31684
31685 2014-12-26 Chris Metcalf <cmetcalf@ezchip.com>
31686
31687 * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
31688 fegetround): Add no-op macros to avoid linknamespace issues.
31689
31690 * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
31691 definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
31692
31693 * sysdeps/unix/sysv/linux/tile/sysdep.h
31694 (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
31695 assembly-specific section to avoid a redefinition warning.
31696
31697 * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
31698 long before casting to pointer to avoid a cast warning.
31699
31700 2014-12-23 Chris Metcalf <cmetcalf@ezchip.com>
31701
31702 * sysdeps/tile/tilegx/Implies: New file.
31703
31704 2014-12-23 Richard Earnshaw <rearnsha@arm.com>
31705
31706 * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
31707
31708 2014-12-23 Florian Weimer <fweimer@redhat.com>
31709
31710 * iconvdata/run-iconv-test.sh: Actually test iconv modules.
31711
31712 2014-12-22 Joseph Myers <joseph@codesourcery.com>
31713
31714 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
31715 not define.
31716 * sysdeps/unix/sysv/linux/utimes.c: Do not include
31717 <kernel-features.h>.
31718 (__utimes) [__NR_utimes]: Make code unconditional.
31719 (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
31720 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
31721 (__ASSUME_UTIMES): Do not undefine.
31722 * sysdeps/unix/sysv/linux/tile/kernel-features.h
31723 (__ASSUME_UTIMES): Likewise.
31724 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
31725 (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
31726 instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
31727 * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
31728
31729 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
31730
31731 * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
31732
31733 2014-12-22 Chris Metcalf <cmetcalf@ezchip.com>
31734
31735 [BZ #17747]
31736 * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
31737 alias to weak alias for j0l, y0l.
31738 * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
31739 * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
31740
31741 [BZ #17746]
31742 * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
31743 conversion.
31744
31745 2014-12-22 Steve Ellcey <sellcey@imgtec.com>
31746
31747 * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
31748 to zero if not already defined.
31749
31750 2014-12-22 Joseph Myers <joseph@codesourcery.com>
31751
31752 [BZ #17724]
31753 * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
31754 (__kernel_standard_f): Remove. Moved to k_standardf.c.
31755 (__kernel_standard_l): Remove. Moved to k_standardl.c with
31756 (char *) casts added.
31757 * sysdeps/ieee754/k_standardf.c: New file.
31758 * sysdeps/ieee754/k_standardl.c: Likewise.
31759 * math/Makefile (libm-support): Remove k_standard.
31760 (libm-calls): Add k_standard.
31761
31762 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31763
31764 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
31765 Optimize to avoid an unnecessary FPCR read.
31766
31767 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31768
31769 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
31770 Optimize to reduce FPCR/FPSR accesses.
31771
31772 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31773
31774 * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
31775 Call libc_fetestexcept_aarch64.
31776
31777 2014-12-22 Wilco Dijkstra <wdijkstr@arm.com>
31778
31779 * sysdeps/aarch64/fpu/fesetround.c (fesetround):
31780 Call libc_fesetround_aarch64.
31781
31782 2014-12-22 Joseph Myers <joseph@codesourcery.com>
31783
31784 [BZ #17733]
31785 * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
31786 (__bind): Do not define as weak alias.
31787 * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
31788 define.
31789 (__getsockname): Do not define as weak alias.
31790
31791 2014-12-22 Will Newton <will.newton@linaro.org>
31792
31793 * manual/install.texi: Document that we require bison 2.7
31794 or above.
31795 * INSTALL: Regenerate.
31796 * configure.ac: Use AC_CHECK_PROG_VER instead of
31797 AC_PATH_PROG when checking for bison and check for
31798 version 2.7 or above.
31799 * configure: Regenerate.
31800
31801 2014-12-21 Chris Metcalf <cmetcalf@ezchip.com>
31802
31803 [BZ #17745]
31804 * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
31805 * sysdeps/tile/ffsll.c (ffsll): To here.
31806
31807 * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
31808
31809 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
31810
31811 * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
31812 if not defined.
31813 * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
31814 definition.
31815 * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31816 hidden ___tls_get_addr.
31817 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
31818 hidden __tls_get_addr.
31819 * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
31820 * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
31821 Likewise.
31822
31823 2014-12-21 Andreas Schwab <schwab@linux-m68k.org>
31824
31825 * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
31826 _dl_init call.
31827
31828 2014-12-21 H.J. Lu <hongjiu.lu@intel.com>
31829
31830 * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
31831 from "call _dl_init@PLT".
31832 * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
31833
31834 2014-12-21 Anders Kaseorg <andersk@mit.edu>
31835
31836 * manual/search.texi: (Array Sort Function): Clarify stable sorting
31837 guarantees.
31838
31839 2014-12-20 Chris Metcalf <cmetcalf@ezchip.com>
31840
31841 * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
31842
31843 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
31844
31845 [BZ #17744]
31846 * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
31847 strnlen.
31848
31849 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
31850
31851 * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
31852 of multu on MIPSr6.
31853 * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
31854 * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
31855 * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
31856 * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
31857 * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
31858
31859 2014-12-19 Steve Ellcey <sellcey@imgtec.com>
31860
31861 * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
31862 (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
31863 (PTR_SUBU): Use subu for mips32r6/mips64r6.
31864 (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
31865 * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
31866 mips32r6/mips64r6.
31867 (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
31868
31869 2014-12-19 Ondřej Bílka <neleai@seznam.cz>
31870
31871 * string/strncat.c (STRNCAT): Simplify implementation.
31872
31873 2014-12-19 David S. Miller <davem@davemloft.net>
31874
31875 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
31876 access the quad as both a long double and as a series of 4 words.
31877
31878 * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
31879 link_map->l_info array access.
31880
31881 2014-12-19 Chris Metcalf <cmetcalf@ezchip.com>
31882
31883 * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
31884
31885 * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
31886 * math/atest-exp2.c (TIMEOUT): Likewise.
31887 * math/atest-sincos.c (TIMEOUT): Likewise.
31888
31889 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
31890
31891 * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
31892 -Wno-error with -fno-builtin-lround.
31893
31894 2014-12-19 Torvald Riegel <triegel@redhat.com>
31895
31896 * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
31897 Contains futex constants and functions moved over from ...
31898 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here. Include
31899 <lowlevellock-futex.h>.
31900 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31901 (lll_timedwait_tid): Add comments and parentheses around macro
31902 arguments.
31903
31904 2014-12-19 Torvald Riegel <triegel@redhat.com>
31905
31906 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
31907 <lowlevellock-futex.h>. Remove FUTEX_* constants defined there.
31908 (__lll_private_flag): Remove.
31909 (lll_futex_wait): Likewise.
31910 (lll_futex_timed_wait): Likewise.
31911 (lll_futex_wake): Likewise.
31912 (lll_futex_requeue): Likewise.
31913 (lll_wait_tid): Use lll_futex_wait instead of assembly code.
31914 (__lll_timedwait_tid): Spell out argument names.
31915 (lll_timedwait_tid): Add comments and parentheses around macro
31916 arguments.
31917 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
31918 LLL_SHARED and LLL_PRIVATE usable from assembly code.
31919
31920 2014-12-19 Torvald Riegel <triegel@redhat.com>
31921
31922 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
31923 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
31924 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
31925 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
31926 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
31927 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
31928 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
31929 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
31930 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
31931 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
31932 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
31933 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
31934 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
31935 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
31936 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
31937 * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
31938 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
31939 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
31940 * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
31941
31942 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
31943
31944 * sysdeps/x86_64/x32/Makefile: New file.
31945
31946 2014-12-19 H.J. Lu <hongjiu.lu@intel.com>
31947
31948 * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
31949 1L with (mp_limb_t) 1.
31950
31951 2014-12-17 Roland McGrath <roland@hack.frob.com>
31952
31953 * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
31954 * nptl/libc_pthread_init.c: ... here.
31955 * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
31956 * nptl/register-atfork.c: ... here.
31957
31958 * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
31959 Use pthread_sigmask rather than INTERNAL_SYSCALL.
31960 Use assert_perror to check its return value.
31961 (__gai_create_helper_thread): Likewise.
31962
31963 * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
31964
31965 * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
31966
31967 2014-12-17 Joseph Myers <joseph@codesourcery.com>
31968
31969 [BZ #17725]
31970 * sysdeps/generic/profil-counter.h (profil_counter): Rename to
31971 __profil_counter.
31972 * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
31973 Likewise.
31974 * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
31975 Likewise.
31976 * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
31977 Likewise.
31978 * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
31979 (profil_counter): Likewise.
31980 * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
31981 (profil_counter): Likewise.
31982 * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
31983 Likewise.
31984 * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
31985 Likewise.
31986 * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
31987 (profil_counter): Likewise.
31988 * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
31989 Likewise.
31990 [!__profil_counter] (profil_counter): Define as weak alias of
31991 __profil_counter.
31992 * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
31993 (profil_counter): Rename to __profil_counter.
31994 [!__profil_counter] (profil_counter): Define as weak alias of
31995 __profil_counter.
31996 * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
31997 (profil_counter): Rename to __profil_counter.
31998 [!__profil_counter] (profil_counter): Define as weak alias of
31999 __profil_counter.
32000 * sysdeps/posix/profil.c: Update comment referring to
32001 profil_counter.
32002 (__profil): Use __profil_counter instead of profil_counter.
32003 * sysdeps/posix/sprofil.c (profil_counter): Rename to
32004 __profil_counter. Use __profil_counter_ushort and
32005 __profil_counter_uint in definitions.
32006 (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
32007 instead of profil_counter_uint and profil_counter_ushort.
32008
32009 [BZ #17722]
32010 * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
32011 define as weak alias of __inet_makeaddr.
32012 * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
32013 as weak alias of __inet_addr.
32014 * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
32015 as weak alias of __inet_pton. Use libc_hidden_weak.
32016 * include/arpa/inet.h (__inet_pton): Declare. Use
32017 libc_hidden_proto.
32018 (inet_makeaddr): Don't use libc_hidden_proto.
32019 (__inet_makeaddr): Declare. Use libc_hidden_proto.
32020 * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
32021 inet_pton. Use __inet_makeaddr instead of inet_makeaddr.
32022 * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
32023 Remove variable.
32024 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
32025 (test-xfail-POSIX/time.h/linknamespace): Likewise.
32026
32027 2014-12-17 Steve Ellcey <sellcey@imgtec.com>
32028
32029 * inet/getnetgrent_r.c: Move while loop to be inside if statement.
32030
32031 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
32032
32033 * stdio-common/bug-vfprintf-nargs.c (do_test):
32034 Cast value to intptr_t to avoid format warning
32035 for usage with PRIdPTR printing macro.
32036
32037 2014-12-17 Stefan Liebler <stli@linux.vnet.ibm.com>
32038
32039 * libio/tst-widetext.c (do_test):
32040 Use format type %td instead of %Zd for ptrdiff_t
32041 in order to avoid format warning.
32042
32043 2014-12-17 Andreas Schwab <schwab@suse.de>
32044
32045 * nscd/mem.c (gc): Add size_t cast to match printf format.
32046
32047 2014-12-16 Roland McGrath <roland@hack.frob.com>
32048
32049 * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
32050 (init): Apply PTR_MANGLE to pointers before storing them.
32051 (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
32052 before using them.
32053
32054 2014-12-16 Joseph Myers <joseph@codesourcery.com>
32055
32056 [BZ #17719]
32057 * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
32058 define as weak alias of __memrchr.
32059 (__memrchr): Do not define as strong alias of memrchr.
32060 * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
32061 Remove variable.
32062 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
32063 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
32064 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
32065
32066 [BZ #17717]
32067 * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
32068 define as weak alias of __if_nametoindex. Use libc_hidden_weak.
32069 (if_indextoname): Rename to __if_indextoname and define as weak
32070 alias of __if_indextoname. Use libc_hidden_weak.
32071 (if_freenameindex): Rename to __if_freenameindex and define as
32072 weak alias of __if_freenameindex.
32073 (if_nameindex): Rename to __if_nameindex and define as weak alias
32074 of __if_nameindex.
32075 * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
32076 __if_nametoindex and define as weak alias of __if_nametoindex.
32077 Use libc_hidden_weak.
32078 (if_freenameindex): Rename to __if_freenameindex and define as
32079 weak alias of __if_freenameindex.
32080 (if_nameindex): Rename to __if_nameindex and define as weak alias
32081 of __if_nameindex.
32082 (if_indextoname): Rename to __if_indextoname and define as weak
32083 alias of __if_indextoname. Use libc_hidden_weak.
32084 * sysdeps/unix/sysv/linux/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. Use libc_hidden_weak.
32089 (if_nameindex_netlink): Use __if_freenameindex instead of
32090 if_freenameindex.
32091 (if_nameindex): Rename to __if_nameindex and define as weak alias
32092 of __if_nameindex. Use libc_hidden_weak.
32093 (if_indextoname): Rename to __if_indextoname and define as weak
32094 alias of __if_indextoname. Use libc_hidden_weak.
32095 * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
32096 libc_hidden_proto.
32097 [!_ISOMAC] (__if_freenameindex): Likewise.
32098 * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
32099 if_nametoindex.
32100 * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
32101 variable.
32102 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
32103 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
32104 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
32105 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
32106 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
32107 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
32108 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
32109
32110 * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
32111 Remove variable.
32112 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
32113 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
32114
32115 2014-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
32116
32117 * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
32118 subscript above bounds'
32119
32120 * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
32121 bounds.
32122
32123 2014-12-16 Arjun Shankar <arjun.is@lostca.se>
32124
32125 * libio/tst-fopenloc.c: Use test-skeleton.c.
32126
32127 * stdlib/tst-bsearch.c: Use test-skeleton.c.
32128 (entry): Rename to ITEM.
32129 (do_test, comp): Adjust.
32130
32131 * stdio-common/tst-fseek.c: Use test-skeleton.c.
32132
32133 2014-12-16 Torvald Riegel <triegel@redhat.com>
32134
32135 * string/tester.c: Include <libc-internal.h>.
32136 (test_memset): Ignore -Wmemset-transposed-args.
32137
32138 2014-12-16 Torvald Riegel <triegel@redhat.com>
32139
32140 * misc/tst-mntent2.c (do_test): Fix warning.
32141
32142 2014-12-16 Torvald Riegel <triegel@redhat.com>
32143
32144 * elf/tst-unique4lib.cc(a): Mark as used.
32145
32146 2014-12-16 Florian Weimer <fweimer@redhat.com>
32147
32148 [BZ #17630]
32149 * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
32150 names.
32151
32152 2014-12-16 Allan McRae <allan@archlinux.org>
32153
32154 * stdio-common/Makefile (tests): Re-add bug26.
32155
32156 2014-12-15 Ondřej Bílka <neleai@seznam.cz>
32157
32158 [BZ #17657]
32159 * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
32160 static array.
32161
32162 2014-12-15 Bernard Ogden <bernie.ogden@linaro.org>
32163
32164 * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
32165 (__lll_lock_wait): Likewise.
32166 (__lll_timedlock_wait): Likewise.
32167 (__lll_timedwait_tid): Likewise.
32168 * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
32169 (__lll_robust_timedlock_wait): Likewise.
32170 * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
32171 (lll_cond_trylock): Likewise.
32172 (__lll_lock): Likewise.
32173 (__lll_robust_lock): Likewise.
32174 (__lll_cond_lock): Likewise.
32175 (lll_robust_cond_lock): Likewise.
32176 (__lll_timedlock): Likewise.
32177 (__lll_robust_timedlock): Likewise.
32178 (__lll_unlock): Likewise.
32179 (__lll_robust_unlock): Likewise.
32180 (lll_wait_tid): Likewise.
32181 (lll_timedwait_tid): Likewise.
32182
32183 2014-12-15 Torvald Riegel <triegel@redhat.com>
32184
32185 * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
32186
32187 2014-12-15 Torvald Riegel <triegel@redhat.com>
32188
32189 * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
32190
32191 2014-12-15 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
32192
32193 * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
32194 * stdio-common/tst-sprintf.c: Likewise.
32195
32196 2014-12-15 Torvald Riegel <triegel@redhat.com>
32197
32198 * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
32199
32200 2014-12-15 Jeff Law <law@redhat.com>
32201
32202 [BZ #16617]
32203 * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
32204 on the heap. (CVE-2012-3406)
32205 * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
32206 * stdio-common/bug23-4.c: New file. Test case by Joseph Myers.
32207 * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
32208
32209 2014-12-15 Will Newton <will.newton@linaro.org>
32210
32211 * manual/install.texi: Bump required version of texinfo
32212 to 4.7 from 4.5.
32213 * INSTALL: Regenerated.
32214 * configure.ac: Check for makeinfo version 4.7 and above.
32215 * configure: Regenerated.
32216
32217 2014-12-12 Roland McGrath <roland@hack.frob.com>
32218
32219 * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
32220 PREFIX, string constant to insert between directory and name.
32221 * sysdeps/posix/shm_open.c: Update caller.
32222 * sysdeps/posix/shm_unlink.c: Likewise.
32223 * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
32224 (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
32225 (SEM_SHM_PREFIX): New macro.
32226 * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
32227 [$(have-thread-library) = no].
32228 * nptl/Makefile (libpthread-routines): Add shm-directory.
32229 * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
32230 * sysdeps/nptl/shm-directory.h: New file.
32231 * sysdeps/posix/shm-directory.c
32232 [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
32233 * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
32234 * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
32235 INTERNAL_SYSCALL.
32236 (__where_is_shmfs): Function removed.
32237 (mountpoint, defaultmount, defaultdir, __namedsem_once):
32238 Variables removed.
32239 (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
32240 Use SHM_GET_NAME.
32241 * nptl/sem_unlink.c: Prototypify. Use SHM_GET_NAME.
32242
32243 * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
32244 (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
32245 unconditional for use inside libpthread.
32246 [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
32247
32248 2014-12-12 Roland McGrath <roland@hack.frob.com>
32249
32250 * nptl/pthread_getaffinity.c: New file.
32251 * nptl/pthread_setaffinity.c: New file.
32252 * nptl/pthread_getname.c: New file.
32253 * nptl/pthread_setname.c: New file.
32254
32255 * nptl/pthread_create.c (START_THREAD_DEFN)
32256 [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
32257
32258 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
32259 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32260
32261 * resolv/res_send.c (send_vc): Disable warning resplen may
32262 be used uninitialized.
32263
32264 2014-12-12 Stefan Liebler <stli@linux.vnet.ibm.com>
32265
32266 * nptl/tst-mutex6.c
32267 (ATTR_NULL): New define checks ATTR against NULL.
32268 (do_test): Use !ATTR_NULL instead of ATTR != NULL.
32269 * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
32270
32271 2014-12-11 James Lemke <jwlemke@codesourcery.com>
32272
32273 [BZ #17581]
32274 * malloc/hooks.c
32275 (mem2mem_check): Revert my previous change.
32276 (malloc_check_get_size): Revert my previous change.
32277 (mem2chunk_check): Revert my previous change.
32278
32279 2014-12-11 Roland McGrath <roland@hack.frob.com>
32280
32281 * sysdeps/posix/shm-directory.c: New file.
32282 * sysdeps/posix/shm-directory.h: New file.
32283 * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
32284 * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
32285 Use O_NOFOLLOW and O_CLOEXEC if available. Transmute EISDIR to EINVAL.
32286 * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
32287 Transmute EPERM to EACCES.
32288 * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
32289 from ...
32290 * sysdeps/unix/sysv/linux/shm_open.c: ... here. File removed.
32291 * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
32292
32293 2014-12-11 Kaz Kojima <kkojima@rr.iij4u.or.jp>
32294
32295 * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
32296 pointer and cast to uintptr_t.
32297 * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
32298 * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
32299 Add cast to avoid warning.
32300 * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
32301
32302 2014-12-11 Joseph Myers <joseph@codesourcery.com>
32303
32304 * nptl/semaphore.h: Move to ...
32305 * sysdeps/pthread/semaphore.h: ... here.
32306 * Makefile (installed-headers): Change nptl/semaphore.h to
32307 sysdeps/pthread/semaphore.h.
32308
32309 2014-12-11 Roland McGrath <roland@hack.frob.com>
32310
32311 * misc/tst-error1.c (do_test): Ignore -Wformat-security for
32312 generated error format strings.
32313
32314 * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
32315 -Wformat-extra-args warnings for scanf formats.
32316 * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
32317 test of zero-length format (duh).
32318 * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
32319 corner-case scanf format test.
32320 * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
32321 generated fprintf format string.
32322 * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
32323 corner-case sprintf format tests.
32324 * stdio-common/tst-printf.c: Ignore -Wformat throughout.
32325 * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
32326 -Wformat-extra-args warnings throughout.
32327 * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
32328 (CFLAGS-scanf4.c): Likewise.
32329 (CFLAGS-scanf7.c): Likewise.
32330 (CFLAGS-tst-sprintf.c): Likewise.
32331 (CFLAGS-tst-printf.c): Likewise.
32332 (CFLAGS-tst-printfsz.c): Likewise.
32333
32334 2014-12-11 Joseph Myers <joseph@codesourcery.com>
32335
32336 * include/cpio.h: New file.
32337 * include/fmtmsg.h: Likewise.
32338
32339 * tst-mbswcs1.c (show): Use %zu format instead of %Zd. Cast
32340 corresponding format argument to size_t.
32341 * tst-mbswcs2.c (show): Likewise. Use %td format for ptrdiff_t
32342 arguments.
32343 * tst-mbswcs3.c (show): Use %zu format instead of %Zd. Cast
32344 corresponding format argument to size_t.
32345 * tst-mbswcs4.c (show): Likewise. Use %td format for ptrdiff_t
32346 arguments.
32347 * tst-mbswcs5.c (show): Use %zu format instead of %Zd. Cast
32348 corresponding format argument to size_t.
32349 * tst-trans.c (do_test): Use %lc format for wint_t arguments.
32350 * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
32351 (CFLAGS-tst-mbswcs2.c): Likewise.
32352 (CFLAGS-tst-mbswcs3.c): Likewise.
32353 (CFLAGS-tst-mbswcs4.c): Likewise.
32354 (CFLAGS-tst-mbswcs5.c): Likewise.
32355 (CFLAGS-tst-trans.c): Likewise.
32356
32357 2014-12-11 Roland McGrath <roland@hack.frob.com>
32358
32359 * posix/regexbug1.c (main): Use "%s" format with regerror results,
32360 rather than assuming they won't contain any '%'s.
32361
32362 2014-12-11 Chris Metcalf <cmetcalf@ezchip.com>
32363
32364 * sysdeps/tile/tilegx/memset.c (__memcpy): Add
32365 inhibit_loop_to_libcall to avoid recursive calls.
32366 * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
32367 * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
32368
32369 2014-12-11 Adhemerval Zanella <Azanella@linux.vnet.ibm.com>
32370
32371 * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
32372 prototype.
32373
32374 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
32375
32376 * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
32377 integer value instead of boolean.
32378
32379 2014-12-11 Steve Ellcey <sellcey@imgtec.com>
32380
32381 * malloc/malloc.c: Fix powerof2 check.
32382
32383 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
32384
32385 * locale/programs/locfile.h (maybe_swap_uint32):
32386 Remove inline and add unused attribute.
32387
32388 2014-12-11 Stefan Liebler <stli@linux.vnet.ibm.com>
32389
32390 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
32391 Truncating assembler expression to a .long expression.
32392
32393 2014-12-11 Andreas Schwab <schwab@suse.de>
32394
32395 * elf/rtld.c (struct map_args): Constify str member.
32396 (do_preload): Constify fname argument.
32397
32398 2014-12-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32399
32400 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
32401 constants definition.
32402
32403 2014-12-11 Andreas Schwab <schwab@suse.de>
32404
32405 [BZ #16657]
32406 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
32407 FORCE_ELISION instead of DO_ELISION.
32408 * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
32409 Remove.
32410 * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
32411 Likewise.
32412
32413 * iconvdata/gconv-modules: Remove duplicate entry.
32414
32415 2014-12-11 Will Newton <will.newton@linaro.org>
32416
32417 Merge gettext 0.19.3 into intl/.
32418
32419 This involves a number of cosmetic changes to comments
32420 and ANSI function definitions and prototypes throughout
32421 all the files. The gettext copyright header is used but
32422 with the date ranges taken from the glibc copy.
32423
32424 * NEWS: Add gettext merge to 2.21.
32425 * intl/bindtextdom.c: Switch to gettext copyright.
32426 Use ANSI definitions and prototypes.
32427 Use gl_* locking primitives rather than __libc_* ones.
32428 Use __builtin_expect rather than __glibc_likely/unlikely.
32429 * intl/dcgettext.c: Switch to gettext copyright.
32430 Use ANSI definitions and prototypes.
32431 * intl/dcigettext.c: Switch to gettext copyright.
32432 Use ANSI definitions and prototypes.
32433 (INTDIV0_RAISES_SIGFPE): New define.
32434 Use gl_* locking primitives rather than __libc_* ones.
32435 Include eval-plural.h instead of plural-eval.c.
32436 Use __builtin_expect rather than __glibc_likely/unlikely.
32437 * intl/dcngettext.c: Switch to gettext copyright.
32438 Use ANSI definitions and prototypes.
32439 * intl/dgettext.c: Likewise.
32440 * intl/dngettext.c: Likewise.
32441 * intl/plural-eval.c: Renamed to...
32442 * intl/eval-plural.h: ...this.
32443 * intl/explodename.c: Switch to gettext copyright.
32444 Use ANSI definitions and prototypes.
32445 (_nl_explode_name): Use strchr instead of __rawmemchr.
32446 * intl/finddomain.c: Switch to gettext copyright.
32447 Use ANSI definitions and prototypes.
32448 Use gl_* locking primitives rather than __libc_* ones.
32449 (_nl_find_domain): Use malloc rather than alloca for
32450 allocation of temporary locale name.
32451 * intl/gettext.c: Switch to gettext copyright.
32452 Use ANSI definitions and prototypes.
32453 * intl/gettextP.h: Switch to gettext copyright.
32454 Use ANSI definitions and prototypes.
32455 Use gl_* locking primitives rather than __libc_* ones.
32456 * intl/gmo.h: Switch to gettext copyright.
32457 (struct sysdep_string): Move struct segment_pair outside of
32458 struct definition.
32459 * intl/hash-string.c: Use ANSI definitions and prototypes.
32460 * intl/hash-string.h: Switch to gettext copyright.
32461 Use ANSI definitions and prototypes.
32462 * intl/l10nflist.c: Switch to gettext copyright.
32463 Use ANSI definitions and prototypes.
32464 (_nl_normalize_codeset): Avoid integer overflow.
32465 * intl/loadinfo.h: Switch to gettext copyright.
32466 Use ANSI definitions and prototypes.
32467 (LIBINTL_DLL_EXPORTED): New define.
32468 (PATH_SEPARATOR): New define.
32469 * intl/loadmsgcat.c: Switch to gettext copyright.
32470 * intl/localealias.c: Switch to gettext copyright.
32471 Use ANSI definitions and prototypes.
32472 (_nl_expand_alias): Use PATH_SEPARATOR.
32473 * intl/ngettext.c: Switch to gettext copyright.
32474 Use ANSI definitions and prototypes.
32475 * intl/plural-exp.c: Likewise.
32476 * intl/plural-exp.h: Switch to gettext copyright.
32477 Use ANSI definitions and prototypes.
32478 (struct expression): Move definition of enum operator outside
32479 of struct definition.
32480 * intl/plural.c: Regenerate.
32481 * intl/plural.y: Switch to gettext copyright.
32482 Use ANSI definitions and prototypes.
32483 Port to bison 3.0.
32484 * intl/textdomain.c: Switch to gettext copyright.
32485 Use ANSI definitions and prototypes.
32486 Use gl_* locking primitives rather than __libc_* ones.
32487
32488 2014-12-10 Steve Ellcey <sellcey@imgtec.com>
32489
32490 * debug/warning-nop.c: Add used atrribute.
32491
32492 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32493
32494 * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
32495
32496 * sysdeps/unix/sysv/linux/mips/mips64/Makefile
32497 [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
32498 [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
32499
32500 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32501 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32502
32503 [BZ #17634]
32504 * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
32505 Undefine after defining function. Define as weak alias of
32506 __wcschr. Use libc_hidden_weak.
32507 * include/wchar.h (__wcschr): Declare. Use libc_hidden_proto.
32508 * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
32509 (libc_hidden_def): Also define __GI___wcschr alias.
32510 * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
32511 __wcschr and define as weak alias of __wcschr.
32512 * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
32513 __wcschr.
32514 [!WCSCHR] (DEFAULT_WCSCHR): Define.
32515 [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
32516 [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr. Use
32517 libc_hidden_weak. Do not use libc_hidden_def.
32518 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
32519 [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
32520 __GI___wcschr alias.
32521 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
32522 [IS_IN (libc)] (wcschr): Define as macro expanding to
32523 __redirect_wcschr.
32524 [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
32525 [IS_IN (libc)] (__wcschr_power6): Likewise.
32526 [IS_IN (libc)] (__wcschr_power7): Likewise.
32527 [IS_IN (libc)] (__libc_wcschr): New. Define with libc_ifunc
32528 instead of wcschr.
32529 [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
32530 __libc_wcschr.
32531 [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
32532 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
32533 __wcschr and define as weak alias of __wcschr. Use
32534 libc_hidden_builtin_def.
32535 * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
32536 as weak alias of __wcschr. Use libc_hidden_weak.
32537 * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
32538 wcschr.
32539 * time/era.c (_nl_init_era_entries): Likewise.
32540 * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
32541 variable.
32542 (test-xfail-XPG3/time.h/linknamespace): Likewise.
32543 (test-xfail-XPG4/time.h/linknamespace): Likewise.
32544
32545 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32546
32547 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
32548 format for long int variable.
32549
32550 2014-12-10 Anders Kaseorg <andersk@MIT.EDU>
32551
32552 [BZ #10672]
32553 * manual/search.texi: (Array Sort Function): Remove claim how to make
32554 qsort stable.
32555
32556 2014-12-10 Andreas Schwab <schwab@suse.de>
32557
32558 [BZ #12847]
32559 * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
32560 user-controlled locks.
32561
32562 2014-12-10 Richard Earnshaw <rearnsha@arm.com>
32563
32564 * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
32565 register.
32566
32567 2014-12-10 Joseph Myers <joseph@codesourcery.com>
32568
32569 * configure.ac (--disable-werror): New configure option.
32570 (enable_werror): New AC_SUBST.
32571 * configure: Regenerated.
32572 * config.make.in (enable-werror): New variable.
32573 * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
32574 -Wno-error=undef.
32575 (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
32576 * manual/install.texi (Configuring and compiling): Document
32577 --disable-werror.
32578 * INSTALL: Regenerated.
32579 * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
32580 (CFLAGS-tst-chk2.c): Likewise.
32581 (CFLAGS-tst-chk3.c): Likewise.
32582 (CFLAGS-tst-chk4.cc): Likewise.
32583 (CFLAGS-tst-chk5.cc): Likewise.
32584 (CFLAGS-tst-chk6.cc): Likewise.
32585 (CFLAGS-tst-lfschk1.c): Likewise.
32586 (CFLAGS-tst-lfschk2.c): Likewise.
32587 (CFLAGS-tst-lfschk3.c): Likewise.
32588 (CFLAGS-tst-lfschk4.cc): Likewise.
32589 (CFLAGS-tst-lfschk5.cc): Likewise.
32590 (CFLAGS-tst-lfschk6.cc): Likewise.
32591
32592 * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
32593 (main): Disable -Wdeprecated-declarations around calls to
32594 register_printf_function.
32595
32596 * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
32597 (do_test): Disable -Wdiv-by-zero around some calls to
32598 fwrite_unlocked and fread_unlocked.
32599
32600 * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
32601 (DIAG_POP_NEEDS_COMMENT): Likewise.
32602 (_DIAG_STR1): Likewise.
32603 (_DIAG_STR): Likewise.
32604 (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
32605 * stdio-common/bug21.c: Include <libc-internal.h>.
32606 (do_test): Disable -Wformat around call to sscanf.
32607 * stdio-common/scanf14.c: Include <libc-internal.h>.
32608 (main): Disable -Wformat around some calls to scanf functions.
32609
32610 2014-12-09 Torvald Riegel <triegel@redhat.com>
32611
32612 * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
32613
32614 2014-12-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32615
32616 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
32617 stack variable alignment.
32618
32619 2014-12-06 Joseph Myers <joseph@codesourcery.com>
32620
32621 [BZ #17682]
32622 * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
32623 * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
32624 * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
32625 * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
32626 * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
32627 __getrlimit instead of getrlimit.
32628 * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
32629 __gettimeofday instead of gettimeofday.
32630 * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
32631 Likewise.
32632 * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
32633 Likewise.
32634 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
32635 * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
32636 Remove variable.
32637 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
32638 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
32639
32640 2014-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32641
32642 * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
32643 for wide-character tests.
32644
32645 2014-12-04 Roland McGrath <roland@hack.frob.com>
32646
32647 * io/openat64.c: #include <libc-internal.h>
32648 (__openat64): Prototypify. Use ignore_value on MODE.
32649 * io/openat.c: Likewise.
32650 * misc/reboot.c: #include <libc-internal.h>
32651 (reboot): Prototypify. Use ignore_value on HOWTO.
32652 * misc/ptrace.c: #include <libc-internal.h>
32653 (ptrace): Prototypify. Use ignore_value for va_arg'd parameters.
32654
32655 2014-12-04 Joseph Myers <joseph@codesourcery.com>
32656
32657 * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
32658 XPG4, UNIX98 and XOPEN2K.
32659 * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
32660 Remove variable.
32661 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
32662
32663 2014-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
32664
32665 * libio/fileops.c: Use ISO C style for function definitions.
32666 * libio/iofopen.c: Likewise.
32667 * libio/wfileops.c: Likewise.
32668
32669 [BZ #17653]
32670 * libio/fileops.c (_IO_new_file_underflow): Unset cached
32671 offset on EOF.
32672 * libio/wfileops.c (_IO_wfile_underflow): Likewise.
32673 * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
32674 (fgets_func): Function pointer to fgets and fgetws.
32675 (do_ftell_test): Add test to verify ftell value after read
32676 EOF.
32677 (do_test): Set fgets_func.
32678
32679 * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
32680 O_TRUNC flag for w and w+ modes.
32681 (do_rewind_test): Likewise.
32682 (do_ftell_test): Likewise.
32683 (do_write_test): Likewise.
32684
32685 [BZ #17647]
32686 * libio/fileops.c (do_ftell): Seek only when there are
32687 unflushed writes.
32688 * libio/wfileops.c (do_ftell_wide): Likewise.
32689 * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
32690 test case.
32691 (do_one_test): Call it.
32692
32693 2014-12-03 Joseph Myers <joseph@codesourcery.com>
32694
32695 * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
32696 for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
32697 * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
32698 Remove variable.
32699 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
32700 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
32701 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
32702
32703 2014-12-02 Joseph Myers <joseph@codesourcery.com>
32704
32705 * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
32706 Remove variable.
32707 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
32708
32709 [BZ #17668]
32710 * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
32711 as weak alias of __getifaddrs. Use libc_hidden_weak.
32712 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32713 __freeifaddrs. Use libc_hidden_weak.
32714 * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
32715 define as weak alias of __getifaddrs. Use libc_hidden_weak.
32716 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32717 __freeifaddrs. Use libc_hidden_weak.
32718 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
32719 __getifaddrs and define as weak alias of __getifaddrs. Use
32720 libc_hidden_weak.
32721 (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
32722 __freeifaddrs. Use libc_hidden_weak.
32723 * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
32724 Remove variable.
32725 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
32726 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
32727
32728 2014-12-02 Petar Jovanovic <petar.jovanovic@rt-rk.com>
32729
32730 [BZ #17601]
32731 * sysdeps/mips/start.S (__start): Use indirect jump to call
32732 __libc_start_main.
32733
32734 2014-12-02 Joseph Myers <joseph@codesourcery.com>
32735
32736 * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
32737
32738 * nptl/tst-mutex1.c: Include <stdbool.h>.
32739 [!ATTR] (ATTR_NULL): New macro.
32740 (do_test): Test !ATTR_NULL instead of ATTR != NULL.
32741 * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
32742 * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
32743
32744 * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
32745 to char *.
32746
32747 [BZ #17665]
32748 * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
32749 Change conditional to [__USE_MISC].
32750
32751 [BZ #17664]
32752 * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
32753 fgets_unlocked.
32754 * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
32755 __fgets_unlocked.
32756 * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
32757 fgets_unlocked.
32758 * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
32759 Remove variable.
32760 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
32761 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
32762 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
32763 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
32764 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
32765 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
32766 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
32767 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
32768 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
32769
32770 * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
32771
32772 2014-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
32773
32774 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32775 Remove strpbrk objects.
32776 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32777 (__libc_ifunc_impl_list): Remove strpbrk implementation.
32778 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
32779 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
32780 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
32781 * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
32782
32783 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32784 Remove strcspn objects.
32785 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32786 (__libc_ifunc_impl_list): Remove strcspn implementation.
32787 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
32788 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
32789 * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
32790 * sysdeps/powerpc/powerpc64/strcspn.S: New file.
32791
32792 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
32793 Remove strspn objetcs.
32794 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
32795 (__libc_ifunc_impl_list): Remove strspn implementation.
32796 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
32797 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
32798 * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
32799 * sysdeps/powerpc/powerpc64/strspn.S: New file.
32800
32801 2014-12-01 James Lemke <jwlemke@codesourcery.com>
32802
32803 [BZ #17581]
32804 * malloc/hooks.c
32805 (mem2mem_check): Add a terminator to the chain of checking blocks.
32806 (malloc_check_get_size): Use it here.
32807 (mem2chunk_check): Ditto.
32808
32809 2014-12-01 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
32810
32811 * sysdeps/powerpc/powerpc64/strtok.S: New file.
32812 * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
32813
32814 2014-11-29 Carlos O'Donell <carlos@redhat.com>
32815
32816 * bits/ioctl-types.h: Indent preprocessor directives correctly.
32817
32818 * nptl/nptl-init.c: Include libc-internal.h.
32819 (__pthread_initialize_minimal_internal): Use ROUND_UP.
32820
32821 * elf/ldconfig.c (search_dir): Expand comment.
32822
32823 2014-11-29 Joseph Myers <joseph@codesourcery.com>
32824
32825 * conform/Makefile (linknamespace-symlist-stdlibs-base): New
32826 variable.
32827 (linknamespace-symlist-stdlibs-tests): Likewise.
32828 (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
32829 instead of $(objpfx)symlist-stdlibs.
32830 (linknamespace-libs-isoc): New variable.
32831 (linknamespace-libs): Use $(linknamespace-libs-isoc).
32832 (linknamespace-libs-ISO): New variable.
32833 (linknamespace-libs-ISO99): Likewise.
32834 (linknamespace-libs-ISO11): Likewise.
32835 (linknamespace-libs-XPG3): Likewise.
32836 (linknamespace-libs-XPG4): Likewise.
32837 (linknamespace-libs-POSIX): Likewise.
32838 (linknamespace-libs-UNIX98): Likewise.
32839 (linknamespace-libs-XOPEN2K): Likewise.
32840 (linknamespace-libs-POSIX2008): Likewise.
32841 (linknamespace-libs-XOPEN2K8): Likewise.
32842 ($(objpfx)symlist-stdlibs): Replace by
32843 $(linknamespace-symlist-stdlibs-tests). Use
32844 $(linknamespace-libs-$*) as set of libraries.
32845 ($(linknamespace-header-tests)): Update dependencies. Use
32846 $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
32847 (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
32848 * conform/linknamespace.pl: Remove comment about considering
32849 definitions of symbols from irrelevant libraries.
32850
32851 2014-11-28 H.J. Lu <hongjiu.lu@intel.com>
32852
32853 [BZ #13862]
32854 * elf/dl-tls.c: Include <atomic.h>.
32855 (oom): Remove #ifdef SHARED/#endif.
32856 (_dl_static_dtv, _dl_initial_dtv): Moved before ...
32857 (_dl_resize_dtv): This. Extracted from _dl_update_slotinfo.
32858 (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
32859 big enough.
32860 (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
32861 * nptl/Makefile (tests): Add tst-stack4.
32862 (modules-names): Add tst-stack4mod.
32863 ($(objpfx)tst-stack4): New.
32864 (tst-stack4mod.sos): Likewise.
32865 ($(objpfx)tst-stack4.out): Likewise.
32866 ($(tst-stack4mod.sos)): Likewise.
32867 (clean): Likewise.
32868 * nptl/tst-stack4.c: New file.
32869 * nptl/tst-stack4mod.c: Likewise.
32870
32871 2014-11-27 J. Brown <jb999@gmx.de>
32872
32873 * sysdeps/x86/bits/string.h: Add recent CPUs.
32874
32875 2014-11-27 Joseph Myers <joseph@codesourcery.com>
32876
32877 * misc/tst-pselect.c (do_test): Use sigprocmask instead of
32878 sigblock.
32879
32880 * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
32881 feof.
32882
32883 * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
32884 variable.
32885
32886 2014-11-27 Stefan Liebler <stli@linux.vnet.ibm.com>
32887
32888 * nscd/connections.c: Include libc-internal.h because of macro
32889 usage ignore_value.
32890
32891 2014-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
32892
32893 * string/bits/string3.h (__warn_memset_zero_len): Don't
32894 declare for gcc newer than 5.0.
32895 (memset): Don't test for zero-length __LEN for gcc newer than
32896 5.0.
32897
32898 2014-11-27 Joseph Myers <joseph@codesourcery.com>
32899
32900 * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
32901 size_t for %zu format.
32902
32903 * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
32904 difference, not %ju.
32905
32906 2014-11-26 Joseph Myers <joseph@codesourcery.com>
32907
32908 * include/libc-internal.h (ignore_value): New macro.
32909 * nscd/connections.c (restart): Wrap calls to setuid and setgid
32910 with ignore_value.
32911
32912 * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
32913 definition.
32914
32915 * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
32916 pthread_cleanup_push to void *.
32917
32918 * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
32919 Undefine.
32920
32921 [BZ #16619]
32922 [BZ #16740]
32923 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
32924 instead of 1L << 52.
32925
32926 * libio/bug-rewind.c (do_test): Check fwscanf return values.
32927 * libio/bug-rewind2.c (do_test): Likewise.
32928
32929 * debug/test-stpcpy_chk-ifunc.c: Remove file.
32930 * debug/test-strcpy_chk-ifunc.c: Likewise.
32931 * wcsmbs/test-wcschr-ifunc.c: Likewise.
32932 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
32933 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
32934 * wcsmbs/test-wcslen-ifunc.c: Likewise.
32935 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
32936 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
32937 * Rules [$(multi-arch) = no] (tests): Do not filter out
32938 $(tests-ifunc).
32939 [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
32940 * debug/Makefile (tests-ifunc): Remove variable.
32941 (tests): Do not add $(tests-ifunc).
32942 * wcsmbs/Makefile (tests-ifunc): Remove variable.
32943 (tests): Do not add $(tests-ifunc).
32944 * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
32945 [TEST_IFUNC]: Remove conditionals.
32946 * string/test-string.h (TEST_IFUNC): Remove macro.
32947 [TEST_IFUNC]: Remove conditionals.
32948
32949 * string/test-strchr.c [!WIDE] (L): New macro.
32950 [WIDE] (L): Likewise.
32951 (check1): Use CHAR instead of char. Use L on string and character
32952 constants.
32953
32954 2014-11-26 Adhemerval Zanella <azanella@linux.ibm.com>
32955
32956 * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
32957 tests.
32958 * sysdeps/powerpc/bits/atomic.h
32959 (__arch_atomic_exchange_and_add_32_acq): Add definition.
32960 (__arch_atomic_exchange_and_add_32_rel): Likewise.
32961 (atomic_exchange_and_add_acq): Likewise.
32962 (atomic_exchange_and_add_rel): Likewise.
32963 * sysdeps/powerpc/powerpc32/bits/atomic.h
32964 (__arch_atomic_exchange_and_add_64_acq): Add definition.
32965 (__arch_atomic_exchange_and_add_64_rel): Likewise.
32966 * sysdeps/powerpc/powerpc64/bits/atomic.h
32967 (__arch_atomic_exchange_and_add_64_acq): Add definition.
32968 (__arch_atomic_exchange_and_add_64_rel): Likewise.
32969
32970 2014-11-26 Torvald Riegel <triegel@redhat.com>
32971
32972 * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
32973 Change synchronization of __sched_fifo_min_prio and
32974 __sched_fifo_max_prio.
32975 * nptl/pthread_mutexattr_getprioceiling.c
32976 (pthread_mutexattr_getprioceiling): Likewise.
32977 * nptl/pthread_mutexattr_setprioceiling.c
32978 (pthread_mutexattr_setprioceiling): Likewise.
32979 * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
32980 * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
32981 Likewise.
32982
32983 2014-11-26 Joseph Myers <joseph@codesourcery.com>
32984
32985 * setjmp/jmpbug.c (test): Make foo volatile and cast it to
32986 void.
32987
32988 2014-11-25 Joseph Myers <joseph@codesourcery.com>
32989
32990 * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
32991 third argument const.
32992
32993 2014-11-25 Paul Eggert <eggert@cs.ucla.edu>
32994
32995 fnmatch: work around GCC compiler warning bug with uninit var
32996 * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
32997 This works around a bug with x86-64 GCC 4.9.2 and earlier
32998 where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
32999 "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
33000 used uninitialized in this function [-Wmaybe-uninitialized]".
33001
33002 2014-11-25 Joseph Myers <joseph@codesourcery.com>
33003
33004 * posix/bug-regex31.c (main): Return RES not 0.
33005
33006 2014-11-25 Anton Blanchard <anton@samba.org>
33007
33008 * sysdeps/powerpc/bits/atomic.h
33009 (__arch_compare_and_exchange_bool_64_rel): Load from mem.
33010
33011 2014-11-24 Sterling Augustine <saugustine@google.com>
33012
33013 * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
33014
33015 2014-11-24 Ryan Cumming <etaoins@gmail.com>
33016
33017 [BZ #17608]
33018 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
33019
33020 2014-11-24 Joseph Myers <joseph@codesourcery.com>
33021
33022 [BZ #17633]
33023 * stdio-common/perror.c (perror): Call __fileno instead of fileno.
33024 * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
33025 variable.
33026 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
33027 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
33028
33029 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
33030
33031 * string/strncpy.c (strncpy): Improve performance by using memset.
33032
33033 2014-11-24 Wilco Dijkstra <wdijkstr@arm.com>
33034
33035 * string/strcpy.c (strcpy):
33036 Improve performance by using strlen and memcpy.
33037
33038 2014-11-24 Leonhard Holz <leonhard.holz@web.de>
33039
33040 * string/strcoll_l.c (get_next_seq): __always_inline.
33041 * string/strcoll_l.c (do_compare): __always_inline.
33042
33043 2014-11-24 Siddhesh Poyarekar <siddhesh@redhat.com>
33044
33045 * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
33046 defined.
33047 * include/mqueue.h: Likewise.
33048 * include/stdlib.h: Likewise.
33049
33050 * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
33051 (get_null_defines): Adjust.
33052 * sunrpc/Makefile: Adjust comment.
33053 * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
33054 * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
33055 (CFLAGS-interp.c): Likewise.
33056 (CFLAGS-ldconfig.c): Likewise.
33057 (CPPFLAGS-.os): Likewise.
33058 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33059 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
33060 * extra-modules.mk (extra-modules.mk): Likewise.
33061 * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
33062 * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
33063 * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
33064 * nscd/Makefile (CPPFLAGS-nscd): Likewise.
33065 * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
33066 * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
33067 * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
33068 * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
33069 * iconvdata/Makefile (CPPFLAGS): Likewise.
33070 (cpp-srcs-left): Add libof for all iconvdata routines.
33071 * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
33072 * include/assert.h: Likewise.
33073 * include/ctype.h: Likewise.
33074 * include/errno.h: Likewise.
33075 * include/libc-symbols.h: Likewise.
33076 * include/math.h: Likewise.
33077 * include/netdb.h: Likewise.
33078 * include/resolv.h: Likewise.
33079 * include/stdio.h: Likewise.
33080 * include/stdlib.h: Likewise.
33081 * include/string.h: Likewise.
33082 * include/sys/stat.h: Likewise.
33083 * include/wctype.h: Likewise.
33084 * intl/l10nflist.c: Likewise.
33085 * libidn/idn-stub.c: Likewise.
33086 * libio/libioP.h: Likewise.
33087 * nptl/libc_multiple_threads.c: Likewise.
33088 * nptl/pthreadP.h: Likewise.
33089 * posix/regex_internal.h: Likewise.
33090 * resolv/res_hconf.c: Likewise.
33091 * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
33092 * sysdeps/arm/memmove.S: Likewise.
33093 * sysdeps/arm/sysdep.h: Likewise.
33094 * sysdeps/generic/_itoa.h: Likewise.
33095 * sysdeps/generic/symbol-hacks.h: Likewise.
33096 * sysdeps/gnu/errlist.awk: Likewise.
33097 * sysdeps/gnu/errlist.c: Likewise.
33098 * sysdeps/i386/i586/memcpy.S: Likewise.
33099 * sysdeps/i386/i586/memset.S: Likewise.
33100 * sysdeps/i386/i686/memcpy.S: Likewise.
33101 * sysdeps/i386/i686/memmove.S: Likewise.
33102 * sysdeps/i386/i686/mempcpy.S: Likewise.
33103 * sysdeps/i386/i686/memset.S: Likewise.
33104 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
33105 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
33106 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
33107 * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
33108 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
33109 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
33110 * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
33111 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
33112 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
33113 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
33114 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
33115 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
33116 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
33117 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
33118 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
33119 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
33120 * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
33121 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
33122 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
33123 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
33124 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
33125 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
33126 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
33127 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
33128 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
33129 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
33130 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
33131 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
33132 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
33133 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
33134 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
33135 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
33136 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
33137 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
33138 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
33139 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
33140 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
33141 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
33142 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
33143 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
33144 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
33145 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
33146 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
33147 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
33148 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
33149 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
33150 * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
33151 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
33152 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
33153 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
33154 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
33155 * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
33156 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
33157 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
33158 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
33159 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
33160 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
33161 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
33162 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
33163 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
33164 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
33165 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
33166 * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
33167 * sysdeps/nptl/bits/libc-lock.h: Likewise.
33168 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
33169 * sysdeps/nptl/bits/stdio-lock.h: Likewise.
33170 * sysdeps/posix/closedir.c: Likewise.
33171 * sysdeps/posix/opendir.c: Likewise.
33172 * sysdeps/posix/readdir.c: Likewise.
33173 * sysdeps/posix/rewinddir.c: Likewise.
33174 * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
33175 * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
33176 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
33177 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
33178 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
33179 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
33180 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
33181 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
33182 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
33183 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
33184 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
33185 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
33186 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
33187 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
33188 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
33189 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
33190 * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
33191 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
33192 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
33193 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
33194 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
33195 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
33196 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
33197 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
33198 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
33199 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
33200 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
33201 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
33202 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
33203 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
33204 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
33205 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
33206 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
33207 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
33208 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
33209 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
33210 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
33211 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
33212 * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
33213 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
33214 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
33215 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
33216 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
33217 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
33218 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
33219 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
33220 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
33221 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
33222 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
33223 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
33224 * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
33225 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
33226 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
33227 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
33228 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
33229 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
33230 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
33231 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
33232 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
33233 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
33234 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
33235 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
33236 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
33237 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
33238 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
33239 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
33240 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
33241 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
33242 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
33243 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
33244 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
33245 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
33246 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
33247 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
33248 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
33249 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
33250 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
33251 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
33252 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
33253 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
33254 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
33255 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
33256 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
33257 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
33258 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
33259 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
33260 * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
33261 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
33262 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
33263 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
33264 * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
33265 * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
33266 * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
33267 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
33268 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
33269 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
33270 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
33271 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
33272 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
33273 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
33274 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
33275 * sysdeps/unix/alpha/sysdep.S: Likewise.
33276 * sysdeps/unix/alpha/sysdep.h: Likewise.
33277 * sysdeps/unix/make-syscalls.sh: Likewise.
33278 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33279 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33280 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33281 * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
33282 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33283 * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
33284 * sysdeps/unix/sysv/linux/getpid.c: Likewise.
33285 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33286 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33287 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
33288 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33289 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33290 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33291 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
33292 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33293 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
33294 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33295 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
33296 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
33297 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33298 * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
33299 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33300 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33301 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33302 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33303 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33304 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33305 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
33306 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33307 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
33308 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33309 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33310 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
33311 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33312 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
33313 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33314 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
33315 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33316 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
33317 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
33318 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33319 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33320 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33321 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
33322 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33323 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33324 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33325 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
33326 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33327 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33328 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33329 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33330 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33331 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33332 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
33333 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33334 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33335 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33336 * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
33337 * sysdeps/x86_64/memcpy.S: Likewise.
33338 * sysdeps/x86_64/memmove.c: Likewise.
33339 * sysdeps/x86_64/memset.S: Likewise.
33340 * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
33341 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
33342 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
33343 * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
33344 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
33345 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
33346 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
33347 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
33348 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
33349 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
33350 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
33351 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
33352 * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
33353 * sysdeps/x86_64/multiarch/memset.S: Likewise.
33354 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
33355 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
33356 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
33357 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
33358 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
33359 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
33360 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
33361 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
33362 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
33363 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
33364 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
33365 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
33366 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
33367 * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
33368 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
33369 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
33370 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
33371 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
33372 * sysdeps/x86_64/strcmp.S: Likewise.
33373
33374 * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
33375
33376 * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
33377 * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
33378 * elf/rtld-Rules: Likewise.
33379 * elf/setup-vdso.h: Likewise.
33380 * include/assert.h: Likewise.
33381 * include/bits/stdlib-float.h: Likewise.
33382 * include/errno.h: Likewise.
33383 * include/sys/stat.h: Likewise.
33384 * include/unistd.h: Likewise.
33385 * sysdeps/aarch64/setjmp.S: Likewise.
33386 * sysdeps/alpha/setjmp.S: Likewise.
33387 * sysdeps/arm/__longjmp.S: Likewise.
33388 * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
33389 * sysdeps/arm/setjmp.S: Likewise.
33390 * sysdeps/arm/sysdep.h: Likewise.
33391 * sysdeps/generic/_itoa.h: Likewise.
33392 * sysdeps/generic/dl-sysdep.h: Likewise.
33393 * sysdeps/generic/ldsodefs.h: Likewise.
33394 * sysdeps/i386/dl-tls.h: Likewise.
33395 * sysdeps/i386/setjmp.S: Likewise.
33396 * sysdeps/m68k/setjmp.c: Likewise.
33397 * sysdeps/mach/hurd/dl-execstack.c: Likewise.
33398 * sysdeps/mach/hurd/opendir.c: Likewise.
33399 * sysdeps/posix/getcwd.c: Likewise.
33400 * sysdeps/posix/opendir.c: Likewise.
33401 * sysdeps/posix/profil.c: Likewise.
33402 * sysdeps/powerpc/dl-procinfo.h: Likewise.
33403 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
33404 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
33405 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
33406 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
33407 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
33408 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
33409 * sysdeps/s390/dl-tls.h: Likewise.
33410 * sysdeps/s390/s390-32/setjmp.S: Likewise.
33411 * sysdeps/s390/s390-64/setjmp.S: Likewise.
33412 * sysdeps/sh/sh3/setjmp.S: Likewise.
33413 * sysdeps/sh/sh4/setjmp.S: Likewise.
33414 * sysdeps/unix/alpha/sysdep.h: Likewise.
33415 * sysdeps/unix/arm/sysdep.S: Likewise.
33416 * sysdeps/unix/i386/sysdep.S: Likewise.
33417 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33418 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
33419 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
33420 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
33421 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33422 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
33423 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
33424 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33425 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
33426 * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
33427 * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
33428 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
33429 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
33430 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
33431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
33432 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
33433 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
33434 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
33435 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
33436 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
33437 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
33438 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
33439 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
33440 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
33441 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33442 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
33443 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
33444 * sysdeps/unix/x86_64/sysdep.S: Likewise.
33445 * sysdeps/x86_64/setjmp.S: Likewise.
33446
33447 * include/math.h: Use IS_IN instead of IS_IN_libm.
33448 * sysdeps/alpha/fpu/s_copysign.c: Likewise.
33449 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
33450 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
33451 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
33452 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
33453 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
33454 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
33455 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
33456 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
33457 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
33458 * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
33459 * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
33460 * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
33461 * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
33462 * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
33463 * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
33464 * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
33465 * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
33466 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
33467 * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
33468 * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
33469 * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
33470 * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
33471 * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
33472 * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
33473 * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
33474 * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
33475 * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
33476 * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
33477 * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
33478 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
33479 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
33480 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
33481 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
33482 Likewise.
33483 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
33484 Likewise.
33485 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
33486 Likewise.
33487 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
33488 Likewise.
33489 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
33490 Likewise.
33491 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
33492 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
33493 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
33494 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
33495 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
33496 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
33497 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
33498 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
33499 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
33500 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
33501 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
33502 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
33503 * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
33504 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
33505 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
33506 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
33507 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
33508 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
33509 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
33510 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
33511 * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
33512 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
33513 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
33514 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
33515 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
33516 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
33517 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
33518
33519 * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
33520 * nptl/pthreadP.h: Likewise.
33521 * nptl_db/structs.def: Likewise.
33522 * sysdeps/arm/sysdep.h: Likewise.
33523 * sysdeps/nptl/bits/libc-lock.h: Likewise.
33524 * sysdeps/nptl/bits/libc-lockP.h: Likewise.
33525 * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
33526 * sysdeps/unix/alpha/sysdep.h: Likewise.
33527 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33528 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
33529 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33530 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33531 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33532 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33533 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
33534 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33535 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33536 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33537 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33538 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33539 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33540 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33541 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
33542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
33543 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33544 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33545 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33546 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33547 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33548 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33549 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
33550 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33551 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
33552 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33553
33554 * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
33555 * nptl/pthreadP.h: Likewise.
33556 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
33557 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
33558 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
33559 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
33560 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
33561 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
33562 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
33563 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
33564 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
33565 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
33566 * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
33567 * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
33568 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
33569 Likewise.
33570 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
33571 Likewise.
33572 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
33573 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
33574 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
33575 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
33576 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
33577 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
33578 * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
33579 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
33580
33581 * dlfcn/dladdr.c: Use IS_IN.
33582 * dlfcn/dladdr1.c: Likewise.
33583 * dlfcn/dlclose.c: Likewise.
33584 * dlfcn/dlerror.c: Likewise.
33585 * dlfcn/dlinfo.c: Likewise.
33586 * dlfcn/dlmopen.c: Likewise.
33587 * dlfcn/dlopen.c: Likewise.
33588 * dlfcn/dlsym.c: Likewise.
33589 * dlfcn/dlvsym.c: Likewise.
33590
33591 * include/ifaddrs.h: Use IS_IN.
33592 * inet/check_pf.c: Likewise.
33593 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
33594 * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
33595
33596 * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
33597 IS_IN_ldconfig.
33598 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
33599 * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
33600
33601 * include/shlib-compat.h [!NOT_IN_libc]: Remove.
33602 * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
33603 IS_IN (libc).
33604
33605 * elf/Makefile (libof-sotruss-lib): Set as extramodules.
33606
33607 * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
33608 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
33609 * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
33610 * include/libc-symbols.h (IS_IN_LIB): New macro.
33611 * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
33612 * include/netdb.h: Likewise.
33613 * include/stap-probe.h: Remove all uses of IN_LIB.
33614
33615 * Makeconfig (module-cppflags-real): Define MODULE_NAME
33616 instead of IN_MODULE.
33617 * include/libc-symbols.h (IN_MODULE): Define using
33618 MODULE_NAME.
33619 (PASTE_NAME, PASTE_NAME1): New macros.
33620 * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
33621 of IN_LIB.
33622 (STAP_PROBE_ASM): Likewise.
33623
33624 2014-11-23 Samuel Thibault <samuel.thibault@ens-lyon.org>
33625
33626 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
33627 __mach_init in dlopened libc.
33628
33629 2014-11-22 Mike Frysinger <vapier@gentoo.org>
33630
33631 * sysdeps/arm/preconfigure.ac: Delete EABI check.
33632 * sysdeps/arm/preconfigure: Regenerate.
33633
33634 2014-11-21 Roland McGrath <roland@hack.frob.com>
33635
33636 * nptl/pthread_create.c (__pthread_create_2_1): Set
33637 ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
33638 when copying values from IATTR into PD.
33639
33640 2014-11-21 Will Newton <will.newton@linaro.org>
33641 Andrew Pinski <andrew.pinski@caviumnetworks.com>
33642
33643 * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
33644 Refactor inline-asm. Also add comment.
33645
33646 * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
33647 ElfW macro instead of hardcoded Elf64 types.
33648 (la_aarch64_gnu_pltenter): Likewise.
33649 * sysdeps/aarch64/dl-machine.h
33650 (elf_machine_runtime_setup): Use ElfW(Addr).
33651
33652 * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
33653 R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
33654 R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
33655 R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
33656 R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
33657 (R_AARCH64_TLS_DTPMOD64): Rename to ..
33658 (R_AARCH64_TLS_DTPMOD): This.
33659 (R_AARCH64_TLS_DTPREL64): Rename to ...
33660 (R_AARCH64_TLS_DTPREL): This.
33661 (R_AARCH64_TLS_TPREL64): Rename to ...
33662 (R_AARCH64_TLS_TPREL): This.
33663 * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
33664 R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
33665 R_AARCH64_TLS_TPREL64.
33666 (elf_machine_rela): Likewise.
33667
33668 2014-11-21 Torvald Riegel <triegel@redhat.com>
33669
33670 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
33671 by setting it to 0. 64b atomics are not supported currently.
33672
33673 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33674
33675 [BZ #16469]
33676 * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
33677 search domain names.
33678
33679 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33680
33681 [BZ #16469]
33682 * NEWS: Update.
33683 * resolv/res_query.c (__libc_res_nquerydomain): Retain
33684 trailing dot.
33685 * posix/tst-getaddrinfo5.c: New.
33686 * posix/Makefile (tests): Add it.
33687
33688 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33689
33690 [BZ #14498]
33691 * NEWS: Fixed.
33692 * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
33693 after parsing line but before break_if_match.
33694 * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
33695 if there is a protocol mismatch.
33696
33697 2014-11-21 Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
33698
33699 * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
33700 because the potential race is on the user-supplied stream.
33701
33702 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33703
33704 * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
33705 string literal if not passed a buffer.
33706 * manual/job.texi (ctermid): Update reasoning, note deviation
33707 from posix, suggest mtasurace when not passed a buffer, for
33708 future non-preliminary safety notes.
33709
33710 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33711
33712 * manual/users.texi (cuserid): Fix MT-Safety note for the case
33713 of not passing it a buffer.
33714 Reported by Peng Haitao.
33715
33716 2014-11-21 Alexandre Oliva <aoliva@redhat.com>
33717
33718 * manual/Makefile ($(objpfx)stamp-summary): Require
33719 check-safety.sh to pass.
33720 * manual/check-safety.sh: Wish for verification that every
33721 @deftypefn and @deftypefun is followed by a @safety remark.
33722
33723 2014-11-20 Roland McGrath <roland@hack.frob.com>
33724
33725 * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
33726
33727 * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
33728 PTHREAD_CANCEL_ASYNCHRONOUS.
33729 * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
33730 send SIGCANCEL.
33731
33732 * nptl/default-sched.h: New file.
33733 * sysdeps/unix/sysv/linux/default-sched.h: New file.
33734 * nptl/pthread_create.c: Include it.
33735 (__pthread_create_2_1): Use collect_default_sched instead of making
33736 Linux syscalls here directly.
33737
33738 2014-11-20 Torvald Riegel <triegel@redhat.com>
33739
33740 * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
33741 __pthread_once): Use C11 atomics.
33742
33743 2014-11-20 Torvald Riegel <triegel@redhat.com>
33744
33745 * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
33746
33747 2014-11-20 Torvald Riegel <triegel@redhat.com>
33748
33749 * include/atomic.h (__atomic_link_error, __atomic_check_size,
33750 atomic_thread_fence_acquire, atomic_thread_fence_release,
33751 atomic_thread_fence_seq_cst, atomic_load_relaxed,
33752 atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
33753 atomic_compare_exchange_weak_relaxed,
33754 atomic_compare_exchange_weak_acquire,
33755 atomic_compare_exchange_weak_release,
33756 atomic_exchange_acquire, atomic_exchange_release,
33757 atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
33758 atomic_fetch_add_release, atomic_fetch_add_acq_rel,
33759 atomic_fetch_and_acquire,
33760 atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
33761
33762 2014-11-20 Torvald Riegel <triegel@redhat.com>
33763
33764 * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
33765 USE_ATOMIC_COMPILER_BUILTINS): Define.
33766 * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
33767 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33768 * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
33769 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33770 * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
33771 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33772 * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
33773 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33774 * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
33775 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33776 * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
33777 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33778 * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
33779 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33780 * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
33781 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33782 * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33783 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33784 * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33785 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33786 * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
33787 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33788 * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
33789 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33790 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
33791 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33792 * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
33793 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33794 * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
33795 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33796 * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
33797 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33798 * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
33799 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33800 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
33801 (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33802 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
33803 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33804 * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
33805 USE_ATOMIC_COMPILER_BUILTINS): Likewise.
33806
33807 2014-11-19 Roland McGrath <roland@hack.frob.com>
33808
33809 * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
33810 the sched_priority value here. It was already checked when the user
33811 called pthread_attr_setschedparam.
33812
33813 * nptl/tst-bad-schedattr.c: New file.
33814 * nptl/Makefile (tests): Add it.
33815
33816 2014-11-19 Carlos O'Donell <carlos@redhat.com>
33817 Florian Weimer <fweimer@redhat.com>
33818 Joseph Myers <joseph@codesourcery.com>
33819 Adam Conrad <adconrad@0c3.net>
33820 Andreas Schwab <schwab@suse.de>
33821 Brooks <bmoses@google.com>
33822
33823 [BZ #17625]
33824 * wordexp-test.c (__dso_handle): Add prototype.
33825 (__register_atfork): Likewise.
33826 (__app_register_atfork): New function.
33827 (registered_forks): New global.
33828 (register_fork): New function.
33829 (test_case): Add 3 new tests for WRDE_CMDSUB.
33830 (main): Call __app_register_atfork.
33831 (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
33832 fork count is non-zero fail the test.
33833 * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
33834 is set.
33835 (parse_dollars): Remove check for WRDE_NOCMD.
33836 (parse_dquote): Likewise.
33837
33838 2014-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
33839
33840 * Makeconfig (built-modules): List non-library modules to be
33841 built.
33842 (module-cppflags): Include libc-modules.h for
33843 everything except shlib-versions.v.i.
33844 (CPPFLAGS): Use it.
33845 (before-compile): Add libc-modules.h.
33846 ($(common-objpfx)libc-modules.h,
33847 $(common-objpfx)libc-modules.stmp): New targets.
33848 (common-generated): Add libc-modules.h and libc-modules.stmp.
33849 ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
33850 * include/libc-symbols.h: Don't include libc-modules.h.
33851 * include/libc-modules.h: Remove file.
33852 * scripts/gen-libc-modules.awk: New script to generate
33853 libc-modules.h.
33854 * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
33855 Depend on libc-modules.stmp.
33856
33857 * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
33858
33859 * Makeconfig (in-module): Get value of libof set for the
33860 translation unit.
33861 (CPPFLAGS): Use $(in-module).
33862 * Makerules: Don't suffix routine names for nonlib.
33863 * include/libc-modules.h: New file.
33864 * include/libc-symbols.h: Include libc-modules.h
33865 (IS_IN): New macro to replace IS_IN_* macros.
33866 * elf/Makefile: Set libof-* for each routine.
33867 * elf/rtld-Rules: Likewise.
33868 * extra-modules.mk: Likewise.
33869 * iconv/Makefile: Likewise.
33870 * iconvdata/Makefile: Likewise.
33871 * locale/Makefile: Likewise.
33872 * malloc/Makefile: Likewise.
33873 * nss/Makefile: Likewise.
33874 * sysdeps/gnu/Makefile: Likewise.
33875 * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
33876 * sysdeps/unix/sysv/linux/Makefile: Likewise.
33877 * sysdeps/s390/s390-64/Makefile: Likewise.
33878 * nscd/Makefile: Set libof-* for each routine. Set CFLAGS and
33879 CPPFLAGS for nscd instead of nonlib.
33880
33881 2014-11-18 Roland McGrath <roland@hack.frob.com>
33882
33883 * nptl/createthread.c: New file.
33884
33885 * nptl/createthread.c: Moved ...
33886 * sysdeps/unix/sysv/linux/createthread.c: ... here.
33887
33888 * nptl/createthread.c: Add proper top-line comment.
33889 (do_clone): Folded into ...
33890 (create_thread): ... here. Take new arguments STOPPED_START and
33891 THREAD_RAN. Always set PD->stopped_start to something here. Don't
33892 increment __nptl_threads, do event-reporting logic, do
33893 CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
33894 here. Set *THREAD_RAN after ARCH_CLONE call succeeds. Don't do any
33895 resource cleanup if sched_setaffinity or sched_setscheduler fails,
33896 just send SIGCANCEL.
33897 * nptl/pthread_create.c: Forward-declare create_thread before
33898 including createthread.c.
33899 (start_thread): Use new macro START_THREAD_DEFN to replace defining
33900 declaration, and new macro START_THREAD_SELF to replace argument.
33901 Remove return statement.
33902 (report_thread_creation): New function.
33903 (__pthread_create_2_1): Use it. Do TD_CREATE reporting,
33904 synchronization logic, and __nptl_nthreads increment here, around
33905 calling create_thread. Do CHECK_THREAD_SYSINFO and initialize
33906 PD->parent_cancelhandling here, before create_thread. When
33907 create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
33908 __deallocate_stack, and ENOMEM translation here.
33909
33910 2014-11-18 Joseph Myers <joseph@codesourcery.com>
33911
33912 [BZ #17616]
33913 * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
33914 (mptwo): Rename to __mptwo.
33915 (__inv): Use __mptwo instead of mptwo.
33916 * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
33917 (mptwo): Rename to __mptwo.
33918 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
33919 of mpone and __mptwo instead of mptwo.
33920 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
33921 instead of mpone.
33922 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
33923 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
33924 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
33925 of mpone and __mptwo instead of mptwo.
33926 (__mpranred): Use __mpone instead of mpone.
33927 * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
33928 variable.
33929 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
33930 (test-xfail-ISO99/math.h/linknamespace): Likewise.
33931 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
33932 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
33933 (test-xfail-ISO11/math.h/linknamespace): Likewise.
33934 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
33935 (test-xfail-XPG3/math.h/linknamespace): Likewise.
33936 (test-xfail-XPG4/math.h/linknamespace): Likewise.
33937 (test-xfail-POSIX/math.h/linknamespace): Likewise.
33938 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
33939 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
33940 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
33941 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
33942 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
33943 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
33944 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
33945 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
33946 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
33947 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
33948
33949 2014-11-18 Tom de Vries <tom@codesoucery.com>
33950
33951 * manual/signal.texi (Primitives Interrupted by Signals): In section,
33952 replace BSD Handler xref with BSD Signal Handling.
33953
33954 2014-11-17 Richard Henderson <rth@redhat.com>
33955
33956 * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
33957 (_FP_PACK_RAW_2): Remove.
33958 (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
33959 (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
33960 (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
33961 (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
33962 * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
33963 * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
33964 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
33965 * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
33966 * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
33967 * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
33968 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
33969 * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
33970 * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
33971 * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
33972 * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
33973 * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
33974
33975 2014-11-14 Roland McGrath <roland@hack.frob.com>
33976
33977 * signal/signal.h [__USE_MISC]
33978 (struct sigvec): Remove type.
33979 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
33980 (sigvec): Remove declaration.
33981 * sysdeps/posix/sigvec.c: Moved ...
33982 * signal/sigvec.c: ... here, replacing old file.
33983 (struct sigvec): New type, copied from old signal.h definition.
33984 (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
33985 (__sigvec): Convert definition to prototype.
33986 (sigvec): Replace weak_alias with compat_symbol.
33987 * signal/Versions (libc: GLIBC_2.21): New version set.
33988 * include/signal.h: Remove __sigvec declaration.
33989 * sysdeps/unix/bsd/sigvec.c: Remove file.
33990 * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
33991 * manual/signal.texi (BSD Handler): Remove subsection.
33992 Move siginterrupt up to ...
33993 (BSD Signal Handling): ... here. Mark it as XPG rather than BSD.
33994 (Blocking in BSD): Fold subsection into its parent.
33995 * NEWS: Mention sigvec removal.
33996
33997 2014-11-14 Joseph Myers <joseph@codesourcery.com>
33998
33999 * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
34000 (DLA_FMS): Make definition conditional only on [__FMA4__].
34001 [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
34002 definition.
34003
34004 * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
34005 Make definition conditional only on [PROF].
34006 [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
34007 definition.
34008 [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
34009 [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
34010
34011 * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
34012 !__GNUC__].
34013 * include/signal.h (__sigpause): Move declaration above call to
34014 libc_hidden_proto.
34015 * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
34016 variable.
34017 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
34018 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
34019
34020 2014-11-14 David S. Miller <davem@davemloft.net>
34021
34022 * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
34023 Define before including <string/memcpy.c> and <string/mempcpy.c>.
34024
34025 2014-11-14 Joseph Myers <joseph@codesourcery.com>
34026
34027 * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
34028 * configure: Regenerated.
34029 * manual/install.texi (Tools for Compilation): Document a
34030 requirement of GCC 4.6 or later and that GCC 4.9 is the newest
34031 compiler verified to work.
34032 * INSTALL: Regenerated.
34033
34034 * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
34035 redeclare with asm name.
34036 [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
34037 * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
34038 including <string.h>.
34039 * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34040 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
34041 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34042 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
34043 [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34044 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
34045 [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
34046
34047 2014-11-13 Joseph Myers <joseph@codesourcery.com>
34048
34049 * stdlib/strtol.c (__strtol): Use prototype definition.
34050
34051 [BZ #17594]
34052 * stdlib/strtol.c (SYM__): New macro.
34053 (SYM__1): Likewise.
34054 (__strtol): Likewise.
34055 (strtol): Rename to __strtol and define as weak alias of
34056 __strtol. Use libc_hidden_weak.
34057
34058 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
34059
34060 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
34061 Use numbered labels in inline assembly.
34062
34063 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
34064
34065 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
34066 Add setjmp LIBC_PROBE.
34067 * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
34068 Likewise.
34069 * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
34070 Add longjmp, longjmp_target LIBC_PROBE.
34071 * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
34072 Likewise.
34073
34074 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
34075
34076 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
34077 Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
34078 to get rid of unused variable warning.
34079
34080 2014-11-13 Stefan Liebler <stli@linux.vnet.ibm.com>
34081
34082 * sysdeps/s390/s390-32/backtrace.c (__backtrace):
34083 Check for unwind_backtrace == NULL only in SHARED case.
34084 (__backchain_backtrace): Compile only in SHARED case.
34085 * sysdeps/s390/s390-64/backtrace.c (__backtrace):
34086 Likewise.
34087 (__backchain_backtrace): Declare as static.
34088
34089 2014-11-12 Roland McGrath <roland@hack.frob.com>
34090
34091 * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
34092 (__libc_multiple_threads_ptr): Variable moved ...
34093 * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
34094
34095 2014-11-12 Joseph Myers <joseph@codesourcery.com>
34096
34097 * conform/GlibcConform.pm: New file.
34098 * conform/conformtest.pl: Use GlibcConform module.
34099 * conform/linknamespace.pl: New file.
34100 * conform/list-header-symbols.pl: Likewise.
34101 * conform/Makefile (linknamespace-symlists-base): New variable.
34102 (linknamespace-symlists-tests): Likewise.
34103 (linknamespace-header-base): Likewise.
34104 (linknamespace-header-tests): Likewise.
34105 (tests-special): Add new tests.
34106 ($(linknamespace-symlists-tests)): New rule.
34107 (linknamespace-libs): New variable.
34108 ($(objpfx)symlist-stdlibs): New rule.
34109 ($(linknamespace-header-tests)): Likewise.
34110 (test-xfail-XPG3/varargs.h/linknamespace): New variable.
34111 (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
34112 (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
34113 (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
34114 (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
34115 (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
34116 (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
34117 (test-xfail-ISO/math.h/linknamespace): Likewise.
34118 (test-xfail-ISO/signal.h/linknamespace): Likewise.
34119 (test-xfail-ISO/stdio.h/linknamespace): Likewise.
34120 (test-xfail-ISO/time.h/linknamespace): Likewise.
34121 (test-xfail-ISO99/complex.h/linknamespace): Likewise.
34122 (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
34123 (test-xfail-ISO99/math.h/linknamespace): Likewise.
34124 (test-xfail-ISO99/signal.h/linknamespace): Likewise.
34125 (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
34126 (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
34127 (test-xfail-ISO11/complex.h/linknamespace): Likewise.
34128 (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
34129 (test-xfail-ISO11/math.h/linknamespace): Likewise.
34130 (test-xfail-ISO11/signal.h/linknamespace): Likewise.
34131 (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
34132 (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
34133 (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
34134 (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
34135 (test-xfail-XPG3/glob.h/linknamespace): Likewise.
34136 (test-xfail-XPG3/math.h/linknamespace): Likewise.
34137 (test-xfail-XPG3/regex.h/linknamespace): Likewise.
34138 (test-xfail-XPG3/search.h/linknamespace): Likewise.
34139 (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
34140 (test-xfail-XPG3/time.h/linknamespace): Likewise.
34141 (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
34142 (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
34143 (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
34144 (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
34145 (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
34146 (test-xfail-XPG4/glob.h/linknamespace): Likewise.
34147 (test-xfail-XPG4/grp.h/linknamespace): Likewise.
34148 (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
34149 (test-xfail-XPG4/math.h/linknamespace): Likewise.
34150 (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
34151 (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
34152 (test-xfail-XPG4/regex.h/linknamespace): Likewise.
34153 (test-xfail-XPG4/search.h/linknamespace): Likewise.
34154 (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
34155 (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
34156 (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
34157 (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
34158 (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
34159 (test-xfail-XPG4/time.h/linknamespace): Likewise.
34160 (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
34161 (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
34162 (test-xfail-POSIX/aio.h/linknamespace): Likewise.
34163 (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
34164 (test-xfail-POSIX/glob.h/linknamespace): Likewise.
34165 (test-xfail-POSIX/math.h/linknamespace): Likewise.
34166 (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
34167 (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
34168 (test-xfail-POSIX/regex.h/linknamespace): Likewise.
34169 (test-xfail-POSIX/sched.h/linknamespace): Likewise.
34170 (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
34171 (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
34172 (test-xfail-POSIX/time.h/linknamespace): Likewise.
34173 (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
34174 (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
34175 (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
34176 (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
34177 (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
34178 (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
34179 (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
34180 (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
34181 (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
34182 (test-xfail-UNIX98/math.h/linknamespace): Likewise.
34183 (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
34184 (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
34185 (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
34186 (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
34187 (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
34188 (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
34189 (test-xfail-UNIX98/search.h/linknamespace): Likewise.
34190 (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
34191 (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
34192 (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
34193 (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
34194 (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
34195 (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
34196 (test-xfail-UNIX98/time.h/linknamespace): Likewise.
34197 (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
34198 (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
34199 (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
34200 (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
34201 (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
34202 (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
34203 (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
34204 (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
34205 (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
34206 (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
34207 (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
34208 (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
34209 (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
34210 (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
34211 (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
34212 (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
34213 (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
34214 (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
34215 (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
34216 (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
34217 (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
34218 (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
34219 (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
34220 (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
34221 (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
34222 (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
34223 (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
34224 (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
34225 (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
34226 (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
34227 (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
34228 (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
34229 (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
34230 (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
34231 (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
34232 (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
34233 (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
34234 (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
34235 (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
34236 (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
34237 (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
34238 (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
34239 (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
34240 (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
34241 (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
34242 (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
34243 (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
34244 (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
34245 (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
34246 (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
34247 (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
34248 (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
34249 (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
34250 (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
34251 (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
34252 (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
34253 (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
34254 (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
34255 (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
34256 (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
34257 (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
34258 (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
34259 (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
34260 (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
34261 (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
34262 (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
34263 (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
34264 (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
34265 (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
34266 (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
34267 (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
34268 (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
34269 (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
34270 (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
34271
34272 [BZ #17589]
34273 * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
34274 of fgets_unlocked.
34275
34276 [BZ #17585]
34277 * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
34278 (memmem): Rename to __memmem and define as weak alias of
34279 __memmem. Use libc_hidden_weak.
34280 (__memmem): Use libc_hidden_def.
34281 * include/string.h (__memmem): Declare. Use libc_hidden_proto.
34282 * locale/findlocale.c (valid_locale_name): Use __memmem instead of
34283 memmem.
34284
34285 [BZ #17582]
34286 * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
34287 (__fgets_unlocked): Add alias of _IO_fgets. Use libc_hidden_def.
34288 * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
34289 and define as weak alias of __fgets_unlocked. Use
34290 libc_hidden_weak.
34291 (__fgets_unlocked): Use libc_hidden_def.
34292 * include/stdio.h (__fgets_unlocked): Declare. Use
34293 libc_hidden_proto.
34294 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
34295 __fgets_unlocked instead of fgets_unlocked.
34296 * sysdeps/unix/sysv/linux/alpha/getsysstats.c
34297 (GET_NPROCS_CONF_PARSER): Likewise.
34298 * sysdeps/unix/sysv/linux/sparc/getsysstats.c
34299 (GET_NPROCS_CONF_PARSER): Likewise.
34300
34301 [BZ #17574]
34302 * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
34303 weak alias of __wmemset. Use libc_hidden_weak.
34304 (__wmemset): Use libc_hidden_def.
34305 * include/wchar.h (__wmemset): Declare. Use libc_hidden_proto.
34306 * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
34307 of wmemset.
34308
34309 [BZ #17573]
34310 * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
34311 with asm name __mempcpy.
34312 [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
34313
34314 [BZ #17572]
34315 * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
34316 and define as weak alias of __rawmemchr.
34317 (__rawmemchr): Do not define as strong alias of rawmemchr.
34318
34319 [BZ #17571]
34320 * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
34321 alias of __qsort_r.
34322 (qsort): Call __qsort_r instead of qsort_r.
34323 * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
34324 (__qsort_r): Declare. Call libc_hidden_proto.
34325 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
34326 instead of qsort_r.
34327 * nscd/gai.c (__qsort_r): Define to qsort_r.
34328 * posix/tst-rfc3484.c (__qsort_r): Likewise.
34329 * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
34330 * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
34331
34332 [BZ #17570]
34333 * malloc/malloc.c (malloc_info): Rename to __malloc_info and
34334 define as weak alias of __malloc_info.
34335
34336 [BZ #17584]
34337 * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
34338 as weak alias of __rewinddir. Don't use libc_hidden_def.
34339 (__rewinddir): Use libc_hidden_def.
34340 * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
34341 as weak alias of __rewinddir. Don't use libc_hidden_def.
34342 (__rewinddir): Use libc_hidden_def.
34343 * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
34344 weak alias of __rewinddir. Don't use libc_hidden_def.
34345 (__rewinddir): Use libc_hidden_def.
34346 * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
34347 (__rewinddir): Use libc_hidden_proto.
34348 * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
34349 rewinddir.
34350 (__getcwd): Use __rewinddir instead of rewinddir.
34351
34352 [BZ #17583]
34353 * libio/fileno.c (fileno): Rename to __fileno and define as weak
34354 alias of __fileno. Use libc_hidden_weak.
34355 (__fileno): Use libc_hidden_def.
34356 [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
34357 * libio/ftello.c (ftello): Rename to __ftello and define as weak
34358 alias of __ftello.
34359 [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
34360 __ftello.
34361 * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
34362 (__fread_unlocked): Define as strong alias of _IO_fread. Use
34363 libc_hidden_def.
34364 (fread_unlocked): Don't use libc_hidden_ver.
34365 * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
34366 and define as weak alias of __fread_unlocked. Don't use
34367 libc_hidden_def.
34368 (__fread_unlocked): Use libc_hidden_def.
34369 * include/stdio.h (__fileno): Declare. Use libc_hidden_proto.
34370 (ftello): Don't use libc_hidden_proto.
34371 (__ftello): Declare. Use libc_hidden_proto.
34372 (fread_unlocked): Don't use libc_hidden_proto.
34373 (__fread_unlocked): Declare. Use libc_hidden_proto.
34374 * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
34375 and __ftello instead of fileno, fread_unlocked and ftello.
34376
34377 2012-11-12 Siddhesh Poyarekar <siddhesh@redhat.com>
34378
34379 * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
34380 GOT12.
34381 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
34382 Likewise.
34383 (_dl_start_user): Likewise.
34384 * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
34385
34386 2014-11-12 Carlos O'Donell <carlos@redhat.com>
34387 Siddhesh Poyarekar <siddhesh@redhat.com>
34388
34389 * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
34390 Move argv and envp down instead of moving argc up.
34391 * sysdeps/s390/s390-32/dl-sysdep.h: New file.
34392
34393 2014-11-12 Leonhard Holz <leonhard.holz@web.de>
34394
34395 [BZ #17506]
34396 * test-skeleton.c (main): Return successful if one of
34397 EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
34398 * string/tst-strcoll-overflow.c: Define expected status.
34399
34400 2014-11-12 Tatiana Udalova <t.udalova@samsung.com>
34401
34402 [BZ #17475]
34403 * locale/iso-639.def: Define Bhili and Tulu language codes.
34404
34405 2014-11-11 Alan Hayward <alan.hayward@arm.com>
34406
34407 * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
34408
34409 2014-11-10 Renlin Li <Renlin.Li@arm.com>
34410
34411 [BZ #17555]
34412 * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
34413
34414 2014-11-10 Andrew Senkevich <andrew.n.senkevich@gmail.com>
34415
34416 * configure.ac: Updated check of minimal required version to
34417 2.22.
34418 * manual/install.texi (Tools for Compilation): Updated version
34419 number.
34420 * configure: Regenerated.
34421 * INSTALL: Likewise.
34422
34423 2014-11-07 Andreas Schwab <schwab@linux-m68k.org>
34424
34425 * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
34426 __tls_get_addr.
34427
34428 2014-11-07 Joseph Myers <joseph@codesourcery.com>
34429
34430 * include/sys/wait.h (__libc_waitpid): Remove declaration.
34431 * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
34432 (__waitpid): Don't define as alias. Use libc_hidden_def not
34433 libc_hidden_weak.
34434 (waitpid): Define as alias of __waitpid.
34435 * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
34436 __waitpid.
34437 (__waitpid): Don't define as alias. Use libc_hidden_def not
34438 libc_hidden_weak.
34439 (waitpid): Define as alias of __waitpid.
34440 * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
34441 __libc_waitpid alias.
34442 * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
34443 * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
34444 Likewise.
34445 * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
34446 * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
34447 * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
34448 alias.
34449 * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
34450 __waitpid.
34451 (__waitpid): Don't define as alias. Use libc_hidden_def not
34452 libc_hidden_weak.
34453 (waitpid): Define as alias of __waitpid.
34454
34455 2014-11-06 Carlos O'Donell <carlos@redhat.com>
34456
34457 * manual/llio.texi: Add comment that write safety has been
34458 fixed in Linux.
34459
34460 * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
34461 (localplt-build-dso): Add elf/ld.so.
34462 * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
34463 i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
34464 and free for ld.so.
34465 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
34466 __libc_memalign, malloc, calloc, realloc, and free for ld.so.
34467 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
34468 Likewise.
34469 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
34470 Likewise.
34471 * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
34472 * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
34473 version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
34474 * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
34475 * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
34476 * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
34477 * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
34478 * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
34479 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
34480 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
34481 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
34482
34483 2014-11-05 Joseph Myers <joseph@codesourcery.com>
34484
34485 [BZ #14132]
34486 * include/libc-symbols.h (INTUSE): Remove macro.
34487 (INTDEF): Likewise.
34488 (INTVARDEF): Likewise.
34489 (_INTVARDEF): Likewise.
34490 (INTDEF2): Likewise.
34491 (INTVARDEF2): Likewise.
34492 * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
34493 rtld_hidden_def instead of INTVARDEF.
34494 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
34495 (_dl_starting_up_internal): Remove declaration.
34496 (_dl_starting_up): Use rtld_hidden_proto.
34497 * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
34498 declaration.
34499 [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
34500 (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
34501 _dl_starting_up.
34502 * elf/dl-writev.h (_dl_writev): Likewise.
34503 * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
34504 (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
34505 _dl_starting_up_internal.
34506
34507 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34508
34509 * stdio-common/tst-fmemopen.c (do_test): Refactor to use
34510 test-skeleton.c.
34511
34512 2014-11-05 Will Newton <will.newton@linaro.org>
34513
34514 * benchtests/Makefile: (bench-malloc): Add malloc thread
34515 scalability benchmark.
34516 * benchtests/bench-malloc-threads.c: New file.
34517
34518 2014-11-05 Richard Earnshaw <rearnsha@arm.com>
34519
34520 * sysdeps/aarch64/strchrnul.S: New file.
34521
34522 2014-11-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34523
34524 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
34525 definition.
34526 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
34527 Likewise.
34528 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
34529 Likewise.
34530 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
34531 Likewise.
34532 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
34533 Likewise.
34534 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
34535 Likewise.
34536
34537 2014-11-05 Arjun Shankar <arjun.is@lostca.se>
34538
34539 * catgets/test-gencat.c: Use test-skeleton.c.
34540 * catgets/tst-catgets.c: Likewise.
34541 * csu/tst-empty.c: Likewise.
34542 * elf/tst-audit2.c: Likewise.
34543 * elf/tst-global1.c: Likewise.
34544 * elf/tst-pathopt.c: Likewise.
34545 * elf/tst-piemod1.c: Likewise.
34546 * elf/tst-tls10.c: Likewise.
34547 * elf/tst-tls11.c: Likewise.
34548 * elf/tst-tls12.c: Likewise.
34549 * gnulib/tst-gcc.c: Likewise.
34550 * iconvdata/tst-e2big.c: Likewise.
34551 * iconvdata/tst-loading.c: Likewise.
34552 * iconv/tst-iconv1.c: Likewise.
34553 * iconv/tst-iconv2.c: Likewise.
34554 * inet/test-inet6_opt.c: Likewise.
34555 * inet/tst-gethnm.c: Likewise.
34556 * inet/tst-network.c: Likewise.
34557 * inet/tst-ntoa.c: Likewise.
34558 * intl/tst-codeset.c: Likewise.
34559 * intl/tst-gettext2.c: Likewise.
34560 * intl/tst-gettext3.c: Likewise.
34561 * intl/tst-ngettext.c: Likewise.
34562 * intl/tst-translit.c: Likewise.
34563 * io/test-stat.c: Likewise.
34564 * libio/test-fmemopen.c: Likewise.
34565 * libio/tst-freopen.c: Likewise.
34566 * libio/tst-sscanf.c: Likewise.
34567 * libio/tst-ungetwc1.c: Likewise.
34568 * libio/tst-ungetwc2.c: Likewise.
34569 * libio/tst-widetext.c: Likewise.
34570 * localedata/tst-ctype.c: Likewise.
34571 * localedata/tst-digits.c: Likewise.
34572 * localedata/tst-leaks.c: Likewise.
34573 * localedata/tst-mbswcs1.c: Likewise.
34574 * localedata/tst-mbswcs2.c: Likewise.
34575 * localedata/tst-mbswcs3.c: Likewise.
34576 * localedata/tst-mbswcs4.c: Likewise.
34577 * localedata/tst-mbswcs5.c: Likewise.
34578 * localedata/tst-setlocale.c: Likewise.
34579 * localedata/tst-trans.c: Likewise.
34580 * localedata/tst-wctype.c: Likewise.
34581 * localedata/tst-xlocale1.c: Likewise.
34582 * login/tst-grantpt.c: Likewise.
34583 * malloc/tst-calloc.c: Likewise.
34584 * malloc/tst-malloc.c: Likewise.
34585 * malloc/tst-mallocstate.c: Likewise.
34586 * malloc/tst-mcheck.c: Likewise.
34587 * malloc/tst-mtrace.c: Likewise.
34588 * malloc/tst-obstack.c: Likewise.
34589 * math/atest-exp2.c: Likewise.
34590 * math/atest-exp.c: Likewise.
34591 * math/atest-sincos.c: Likewise.
34592 * math/test-matherr.c: Likewise.
34593 * math/test-misc.c: Likewise.
34594 * math/test-powl.c: Likewise.
34595 * math/tst-definitions.c: Likewise.
34596 * misc/tst-dirname.c: Likewise.
34597 * misc/tst-efgcvt.c: Likewise.
34598 * misc/tst-fdset.c: Likewise.
34599 * misc/tst-hsearch.c: Likewise.
34600 * misc/tst-mntent2.c: Likewise.
34601 * nptl/tst-sem7.c: Likewise.
34602 * nptl/tst-sem8.c: Likewise.
34603 * nptl/tst-sem9.c: Likewise.
34604 * nss/test-netdb.c: Likewise.
34605 * posix/tst-fnmatch.c: Likewise.
34606 * posix/tst-getlogin.c: Likewise.
34607 * posix/tst-gnuglob.c: Likewise.
34608 * posix/tst-mmap.c: Likewise.
34609 * pwd/tst-getpw.c: Likewise.
34610 * resolv/tst-inet_ntop.c: Likewise.
34611 * rt/tst-timer.c: Likewise.
34612 * stdio-common/test-fseek.c: Likewise.
34613 * stdio-common/test-popen.c: Likewise.
34614 * stdio-common/test-vfprintf.c: Likewise.
34615 * stdio-common/tst-cookie.c: Likewise.
34616 * stdio-common/tst-fileno.c: Likewise.
34617 * stdio-common/tst-gets.c: Likewise.
34618 * stdio-common/tst-obprintf.c: Likewise.
34619 * stdio-common/tst-perror.c: Likewise.
34620 * stdio-common/tst-sprintf2.c: Likewise.
34621 * stdio-common/tst-sprintf3.c: Likewise.
34622 * stdio-common/tst-sprintf.c: Likewise.
34623 * stdio-common/tst-swprintf.c: Likewise.
34624 * stdio-common/tst-tmpnam.c: Likewise.
34625 * stdio-common/tst-unbputc.c: Likewise.
34626 * stdio-common/tst-wc-printf.c: Likewise.
34627 * stdlib/tst-environ.c: Likewise.
34628 * stdlib/tst-fmtmsg.c: Likewise.
34629 * stdlib/tst-limits.c: Likewise.
34630 * stdlib/tst-rand48-2.c: Likewise.
34631 * stdlib/tst-rand48.c: Likewise.
34632 * stdlib/tst-random2.c: Likewise.
34633 * stdlib/tst-random.c: Likewise.
34634 * stdlib/tst-strtol.c: Likewise.
34635 * stdlib/tst-strtoll.c: Likewise.
34636 * stdlib/tst-tls-atexit.c: Likewise.
34637 * stdlib/tst-xpg-basename.c: Likewise.
34638 * string/test-ffs.c: Likewise.
34639 * string/tst-bswap.c: Likewise.
34640 * string/tst-inlcall.c: Likewise.
34641 * string/tst-strtok.c: Likewise.
34642 * string/tst-strxfrm.c: Likewise.
34643 * sysdeps/x86_64/tst-audit10.c: Likewise.
34644 * sysdeps/x86_64/tst-audit3.c: Likewise.
34645 * sysdeps/x86_64/tst-audit4.c: Likewise.
34646 * sysdeps/x86_64/tst-audit5.c: Likewise.
34647 * time/tst-ftime_l.c: Likewise.
34648 * time/tst-getdate.c: Likewise.
34649 * time/tst-mktime3.c: Likewise.
34650 * time/tst-mktime.c: Likewise.
34651 * time/tst-posixtz.c: Likewise.
34652 * time/tst-strptime2.c: Likewise.
34653 * time/tst-strptime3.c: Likewise.
34654 * wcsmbs/tst-btowc.c: Likewise.
34655 * wcsmbs/tst-mbrtowc.c: Likewise.
34656 * wcsmbs/tst-mbsrtowcs.c: Likewise.
34657 * wcsmbs/tst-wchar-h.c: Likewise.
34658 * wcsmbs/tst-wcpncpy.c: Likewise.
34659 * wcsmbs/tst-wcrtomb.c: Likewise.
34660 * wcsmbs/tst-wcsnlen.c: Likewise.
34661 * wcsmbs/tst-wcstof.c: Likewise.
34662
34663 2014-11-04 Joseph Myers <joseph@codesourcery.com>
34664
34665 [BZ #14132]
34666 * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
34667 INTDEF.
34668 * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
34669 declaration.
34670 (_dl_mcount): Use rtld_hidden_proto.
34671 * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
34672 _dl_mcount.
34673 * elf/rtld.c (_rtld_global_ro): Likewise.
34674
34675 [BZ #14132]
34676 * elf/dl-init.c (_dl_init): Don't use INTDEF.
34677 * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
34678 of _dl_init_internal.
34679 * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
34680 * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
34681 * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
34682 * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
34683 * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
34684 * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
34685 * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
34686 * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
34687 * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
34688 * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
34689 * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
34690 * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
34691 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
34692 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
34693 * sysdeps/tile/dl-start.S (_start): Likewise.
34694 * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
34695 * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
34696
34697 [BZ #14132]
34698 * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
34699 [IS_IN_rtld] (_dl_argv_internal): Do not declare.
34700 (rtld_progname): Make macro definition unconditional.
34701 * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
34702 INTDEF.
34703 (dlmopen_doit): Do not use INTUSE with _dl_argv.
34704 (dl_main): Likewise.
34705 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
34706 * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
34707 instead of _dl_argv_internal.
34708 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
34709 __GI__dl_argv instead of INTUSE(_dl_argv).
34710 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
34711 __GI__dl_argv instead of _dl_argv_internal.
34712
34713 * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
34714 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
34715 macro.
34716 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
34717 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
34718 New macro.
34719 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
34720 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
34721 macro.
34722 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
34723 * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
34724
34725 2014-11-04 Andreas Schwab <schwab@suse.de>
34726
34727 * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
34728
34729 2014-11-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
34730
34731 * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
34732 mtvsrd instruction in binary form.
34733
34734 2014-11-03 Andreas Schwab <schwab@suse.de>
34735
34736 [BZ #17522]
34737 * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
34738 for less than MB_LEN_MAX use a local buffer of that size.
34739 * libio/tst-fputws.c: New file.
34740 * libio/Makefile (tests): Add tst-fputws.
34741
34742 2014-11-01 Jose E. Marchesi <jose.marchesi@oracle.com>
34743
34744 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
34745 the size of the fpu_fr.fpu_dregs[] array.
34746
34747 2014-11-01 Joseph Myers <joseph@codesourcery.com>
34748
34749 * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
34750 (__nanosleep): Do not define as alias.
34751 (nanosleep): Define as alias of __nanosleep.
34752 * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
34753 __libc_nanosleep name.
34754
34755 2014-10-31 Joseph Myers <joseph@codesourcery.com>
34756
34757 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
34758 install.texi in comment.
34759
34760 2014-10-31 Torvald Riegel <triegel@redhat.com>
34761
34762 * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
34763 * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
34764 ... add here and use lwsync or sync ...
34765 * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
34766 ... and add here using lwsync.
34767
34768 2014-10-31 Matthew Fortune <matthew.fortune@imgtec.com>
34769
34770 * elf/dl-machine-reject-phdr.h: New file.
34771 * elf/dl-load.c: #include that.
34772 (open_verify): Call elf_machine_reject_phdr_p and ignore the file
34773 if that returned true.
34774
34775 2014-10-31 Roland McGrath <roland@hack.frob.com>
34776
34777 [BZ #17496]
34778 * Makerules: Move gnu/lib-names.h generation chunk up, to right after
34779 gen-as-const-headers chunk. Add a big scare comment after the last
34780 safe place to touch before-compile.
34781
34782 2014-10-31 Joseph Myers <joseph@codesourcery.com>
34783
34784 * manual/install.texi (Tools for Compilation): Update autoconf
34785 version requirements.
34786 * INSTALL: Regenerated.
34787
34788 * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
34789 * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
34790 (__libc_pselect): Likewise.
34791
34792 [BZ #14138]
34793 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
34794 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
34795 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
34796 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
34797
34798 2014-10-31 Torvald Riegel <triegel@redhat.com>
34799
34800 * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
34801 correct barrier instruction.
34802 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
34803 Likewise.
34804 * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
34805 Likewise.
34806
34807 2014-10-30 Roland McGrath <roland@hack.frob.com>
34808
34809 * include/ctype.h: Include <ctype/ctype.h> first thing rather than
34810 after defining inlines. Instead, just use parens to defeat macro
34811 expansion of __isctype in its declaration.
34812
34813 2014-10-30 Joseph Myers <joseph@codesourcery.com>
34814
34815 * include/sys/uio.h (__libc_readv): Remove declaration.
34816 (__libc_writev): Likewise.
34817 * misc/readv.c (__libc_readv): Rename to __readv.
34818 (__readv): Do not define as alias.
34819 (readv): Define as alias of __readv.
34820 * misc/writev.c (__libc_writev): Rename to __writev.
34821 (__writev): Do not define as alias.
34822 (writev): Define as alias of __writev.
34823 * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
34824 (__readv): Do not define as alias.
34825 (readv): Define unconditionally as alias of __readv.
34826 * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
34827 (__writev): Do not define as alias.
34828 (writev): Define unconditionally as alias of __writev.
34829 * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
34830 name.
34831 (writev): Do not define __libc_writev name.
34832
34833 2014-10-30 Roland McGrath <roland@hack.frob.com>
34834
34835 * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
34836 (convert_charseq): New function, broken out of ...
34837 (use_from_charmap): ... here. Call it.
34838 (use_to_charmap): Use convert_charseq and free instead of duplicating
34839 its code with a variable-length stack struct.
34840
34841 2014-10-30 Joseph Myers <joseph@codesourcery.com>
34842
34843 * include/fcntl.h (__libc_creat): Remove declaration.
34844 * io/creat.c (__libc_creat): Rename to creat.
34845 (creat): Do not define as alias.
34846 * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
34847 of creat instead of __libc_creat.
34848 * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
34849 to creat.
34850 (creat): Do not define as alias.
34851 [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
34852 __libc_creat.
34853 * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
34854 __libc_creat name.
34855 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
34856 Likewise.
34857
34858 2014-10-29 Carlos O'Donell <carlos@redhat.com>
34859
34860 * manual/llio.texi: Add comments discussing why write() may be
34861 considered MT-unsafe on Linux.
34862
34863 2014-10-28 Carlos O'Donell <carlos@redhat.com>
34864
34865 * dl-load.c (local_strdup): Remove.
34866 (expand_dynamic_string_token): Use __strdup.
34867 (decompose_rpath): Likewise.
34868 (_dl_map_object): Likewise.
34869
34870 2014-10-28 Joseph Myers <joseph@codesourcery.com>
34871
34872 [BZ #14132]
34873 * sysdeps/generic/unwind-dw2-fde.c
34874 (__register_frame_info_bases_internal): Do not declare.
34875 (__register_frame_info_table_bases_internal): Likewise.
34876 (__deregister_frame_info_bases_internal): Likewise.
34877 (__register_frame_info_bases): Declare and use hidden_proto before
34878 definition. Use hidden_def instead of INTDEF.
34879 (__register_frame_info_table_bases): Likewise.
34880 (__deregister_frame_info_bases): Likewise.
34881 (__register_frame_info): Do not use INTUSE.
34882 (__register_frame): Likewise.
34883 (__register_frame_info_table): Likewise.
34884 (__register_frame_table): Likewise.
34885 (__deregister_frame_info): Likewise.
34886 (__deregister_frame): Likewise.
34887
34888 2014-10-27 Gratian Crisan <gratian.crisan@ni.com>
34889
34890 * sysdeps/unix/sysv/linux/arm/kernel-features.h
34891 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
34892 not undefine.
34893 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
34894 Likewise.
34895 [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
34896 Likewise.
34897
34898 2014-10-27 Joseph Myers <joseph@codesourcery.com>
34899
34900 [BZ #14138]
34901 * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
34902 * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
34903 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
34904 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
34905 * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
34906 * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
34907 * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
34908 * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
34909 * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
34910 * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
34911 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
34912 * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
34913 * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
34914 syscall.
34915 (setfsuid): Likewise.
34916 * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
34917 (setfsuid): Likewise.
34918 * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
34919 (setfsuid): Likewise.
34920 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
34921 Likewise.
34922 (setfsuid): Likewise.
34923 * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
34924 (setfsuid): Likewise.
34925 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
34926 Likewise.
34927 (setfsuid): Likewise.
34928
34929 2014-10-27 Andreas Schwab <schwab@suse.de>
34930
34931 [BZ #17501]
34932 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
34933 check for Slow_SSE4_2 feature bit.
34934 * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
34935 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
34936 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
34937 Likewise. Fix check for Fast_Unaligned_Load feature bit.
34938
34939 2014-10-24 Roland McGrath <roland@hack.frob.com>
34940
34941 * configure.ac: Validate compiler version with a empirical test of
34942 __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
34943 $CC -v output.
34944 * configure: Regenerated.
34945
34946 * inet/htons.c (htons): Prototypify.
34947 * inet/htonl.c (htonl): Likewise.
34948
34949 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34950
34951 * string/strncat.c (strncat): Improve performance by using strlen.
34952
34953 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34954
34955 * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
34956
34957 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34958
34959 * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
34960 Call libc_fetestexcept_aarch64.
34961
34962 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34963
34964 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
34965 Call libc_feholdexcept_aarch64.
34966
34967 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34968
34969 * sysdeps/aarch64/fpu/fegetround.c (fegetround):
34970 Call get_rounding_mode.
34971
34972 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34973
34974 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
34975 Simplify logic.
34976
34977 2014-10-24 Wilco Dijkstra <wdijkstr@arm.com>
34978
34979 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
34980 Simplify logic.
34981
34982 2014-10-24 Joseph Myers <joseph@codesourcery.com>
34983
34984 [BZ #14138]
34985 * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
34986 * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
34987 * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
34988 * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
34989 * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
34990 * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
34991 * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
34992 * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
34993 * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
34994 * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
34995 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
34996 * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
34997 * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
34998 * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
34999 * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
35000 * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
35001 * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
35002 * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
35003 * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
35004 * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
35005 * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
35006 * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
35007 * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
35008 * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
35009 * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
35010 * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
35011 * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
35012 * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
35013 * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
35014 * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
35015 * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
35016 * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
35017 * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
35018 * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
35019 * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
35020 * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
35021 * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
35022 * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
35023 * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
35024 * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
35025 * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
35026 syscall.
35027 (geteuid): Likewise.
35028 (getgid): Likewise.
35029 (getuid): Likewise.
35030 (getresgid): Likewise.
35031 (getresuid): Likewise.
35032 (getgroups): Likewise.
35033 * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
35034 (geteuid): Likewise.
35035 (getgid): Likewise.
35036 (getuid): Likewise.
35037 (getresgid): Likewise.
35038 (getresuid): Likewise.
35039 (getgroups): Likewise.
35040 * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
35041 (geteuid): Likewise.
35042 (getgid): Likewise.
35043 (getuid): Likewise.
35044 (getresgid): Likewise.
35045 (getresuid): Likewise.
35046 (getgroups): Likewise.
35047 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
35048 Likewise.
35049 (geteuid): Likewise.
35050 (getgid): Likewise.
35051 (getuid): Likewise.
35052 (getresgid): Likewise.
35053 (getresuid): Likewise.
35054 (getgroups): Likewise.
35055 * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
35056 (geteuid): Likewise.
35057 (getgid): Likewise.
35058 (getuid): Likewise.
35059 (getresgid): Likewise.
35060 (getresuid): Likewise.
35061 (getgroups): Likewise.
35062 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
35063 Likewise.
35064 (geteuid): Likewise.
35065 (getgid): Likewise.
35066 (getuid): Likewise.
35067 (getgroups): Likewise.
35068
35069 [BZ #14138]
35070 * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
35071 * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
35072 * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
35073 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
35074 * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
35075 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
35076 * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
35077 * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
35078 * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
35079 * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
35080 * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
35081 * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
35082 * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
35083 __chown.
35084 * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
35085 (lchown): Likewise.
35086 (fchown): Likewise.
35087 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
35088 Likewise.
35089 (lchown): Likewise.
35090 (fchown): Likewise.
35091 * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
35092 (lchown): Likewise.
35093 (fchown): Likewise.
35094 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
35095 Likewise.
35096 (lchown): Likewise.
35097 (fchown): Likewise.
35098
35099 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
35100
35101 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
35102 Simplify logic.
35103
35104 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
35105
35106 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
35107 Cleanup logic.
35108
35109 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
35110
35111 * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
35112 Remove unused include.
35113
35114 2014-10-23 Wilco Dijkstra <wdijkstr@arm.com>
35115
35116 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
35117 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
35118 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
35119 * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
35120
35121 2014-10-23 Carlos O'Donell <carlos@systemhalted.org>
35122 Helge Deller <deller@gmx.de>
35123
35124 [BZ #17508]
35125 * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
35126 Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
35127 Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
35128
35129 2014-10-23 Joseph Myers <joseph@codesourcery.com>
35130
35131 [BZ #14132]
35132 * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
35133 Remove macro definition.
35134 (__ashrdi3_v_glibc20): Likewise.
35135 (__lshrdi3_v_glibc20): Likewise.
35136 (__cmpdi2_v_glibc20): Likewise.
35137 (__ucmpdi2_v_glibc20): Likewise.
35138 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
35139 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
35140 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
35141 [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
35142 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
35143 [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
35144
35145 2014-10-22 Roland McGrath <roland@hack.frob.com>
35146
35147 * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
35148 old GNU extension [0] syntax.
35149 * nscd/nscd_helper.c (open_socket): Use a flexible array member and
35150 alloca rather than an array member with variable length.
35151 * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
35152 * nscd/nscd.c (invalidate_db): New function, broken out of ...
35153 (parse_opt): ... here. Likewise use alloca there.
35154 Validate the -i argument before checking for rootness.
35155 (send_shutdown): New function, broken out of ...
35156 (parse_opt): ... here.
35157
35158 2014-10-22 Roland McGrath <roland@hack.frob.com>
35159
35160 * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
35161 macro to get at the _rt_local_ro field.
35162 [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
35163 ([PIC] case) or _dl_hwcap ([!PIC] case).
35164 * sysdeps/arm/setjmp.S: Likewise.
35165
35166 * config.h.in (ARM_PCREL_MOVW_OK): New macro.
35167 * sysdeps/arm/configure.ac: New check to define it.
35168 * sysdeps/arm/configure: Regenerated.
35169 * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
35170 (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
35171 (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
35172 depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
35173 (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
35174 Use move/movt pair instead of a load.
35175 (LDST_GLOBAL): Macro removed.
35176 (LDR_GLOBAL): New macro replaces it.
35177 (LDR_HIDDEN): New macro.
35178 (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
35179 Use LDR_HIDDEN instead for __pointer_chk_guard_local.
35180
35181 * setjmp/tst-setjmp-static.c: New file.
35182 * setjmp/Makefile (tests): Add it.
35183 (tests-static): New variable.
35184
35185 2014-10-22 Maciej W. Rozycki <macro@codesourcery.com>
35186
35187 [BZ #17485]
35188 * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
35189
35190 2014-10-21 Joseph Myers <joseph@codesourcery.com>
35191
35192 [BZ #14132]
35193 * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
35194
35195 2014-10-21 Roland McGrath <roland@hack.frob.com>
35196
35197 * nptl/version.c (__nptl_main): Call __libc_write, not __write.
35198
35199 2014-10-20 Roland McGrath <roland@hack.frob.com>
35200
35201 * io/fts.c (dirent_not_directory): New function.
35202 (fts_build): Call it.
35203
35204 2014-10-20 Roland McGrath <roland@hack.frob.com>
35205
35206 * nptl/version.c (__nptl_main): Use normal __write rather than
35207 INTERNAL_SYSCALL.
35208 (banner): Update copyright years.
35209
35210 * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
35211 gettimeofday.
35212 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
35213 * nptl/pthread_cond_timedwait.c: Likewise.
35214 * nptl/pthread_mutex_timedlock.c: Likewise.
35215 * nptl/sem_timedwait.c: Likewise.
35216
35217 * sysdeps/nptl/bits/libc-lock.h
35218 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
35219 (__libc_lock_init_recursive): Return void, not 0.
35220 * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
35221 (__libc_rwlock_init): Likewise.
35222 * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
35223
35224 2014-10-20 Torvald Riegel <triegel@redhat.com>
35225
35226 [BZ #15215]
35227 * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
35228 (__pthread_once_slow): ... here.
35229 * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
35230 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
35231
35232 2014-10-20 Torvald Riegel <triegel@redhat.com>
35233
35234 [BZ #15215]
35235 * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
35236 __PTHREAD_ONCE_FORK_GEN_INCR): New.
35237 * sysdeps/nptl/fork.c (__libc_fork): Use them.
35238 * nptl/pthread_once.c (__pthread_once): Likewise.
35239 Update comments.
35240
35241 2014-10-20 Joseph Myers <joseph@codesourcery.com>
35242
35243 [BZ #14138]
35244 * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
35245 name.
35246 (writev): Use __libc_writev as strong name.
35247 * sysdeps/unix/sysv/linux/readv.c: Remove file.
35248 * sysdeps/unix/sysv/linux/writev.c: Likewise.
35249
35250 2014-10-17 Roland McGrath <roland@hack.frob.com>
35251
35252 * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
35253
35254 * sysdeps/i386/nptl/tls.h
35255 (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
35256 [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
35257 New macros.
35258 * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
35259 (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
35260 * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
35261 Call SETUP_THREAD_SYSINFO instead of doing an assignment.
35262 * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
35263 Call CHECK_THREAD_SYSINFO instead of doing an assert.
35264
35265 * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
35266 Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
35267 on [__NR_futex].
35268 * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
35269 broken out of ...
35270 (__pthread_mutex_init): ... here. Call it.
35271 * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
35272 Conditionalize PI cases on [__NR_futex].
35273 * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
35274 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
35275 * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
35276
35277 * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
35278 conditional on [SIGSETXID].
35279 (sigcancel_handler): Make definition conditional on [SIGCANCEL].
35280 (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
35281 is defined. Likewise for SIGSETXID.
35282 * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
35283 Conditionalize definitions on [SIGSETXID].
35284 (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
35285 * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
35286 unblocking on [SIGCANCEL].
35287
35288 * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
35289 [__NR_set_robust_list].
35290
35291 2014-10-17 Siddhesh Poyarekar <siddhesh@redhat.com>
35292
35293 * string/strcoll_l.c (get_next_seq): Fix up formatting.
35294 (do_compare): Likewise.
35295
35296 2014-10-17 Leonhard Holz <leonhard.holz@web.de>
35297
35298 [BZ #15884]
35299 * string/strcoll_l.c: Don't include stdio.h.
35300 (coll_seq): Remove members idxarr and rulearr.
35301 (get_next_seq_cached): Remove function.
35302 (get_next_seq): Likewise.
35303 (get_next_seq_nocache): Rename to get_next_seq.
35304 (do_compare): Remove function.
35305 (do_compare_nocache): Rename to do_compare.
35306 (STRCOLL): Remove weight and rules cache.
35307
35308 2014-10-16 Roland McGrath <roland@hack.frob.com>
35309
35310 * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
35311 * sysdeps/arm/sfp-machine.h: ... to here.
35312 * sysdeps/arm/Implies: Remove arm/soft-fp.
35313
35314 2014-10-14 Joseph Myers <joseph@codesourcery.com>
35315
35316 * conform/data/sys/utsname.h-data (*_t): Allow.
35317 * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
35318 [POSIX] (WEXITED): Do not expect constant.
35319 [POSIX] (WSTOPPED): Likewise.
35320 [POSIX] (WNOHANG): Likewise.
35321 [POSIX] (WNOWAIT): Likewise.
35322 [POSIX] (siginfo_t): Do not expect type or elements.
35323 [POSIX] (pid_t): Do not expect type.
35324 [POSIX] (signal.h): Do not allow header.
35325 [POSIX] (sys/resource.h): Likewise.
35326 [POSIX] (si_*): Do not allow pattern.
35327 [POSIX] (W*): Likewise.
35328 [POSIX] (P_*): Likewise.
35329 [POSIX] (BUS_*): Likewise.
35330 [POSIX] (CLD_*): Likewise.
35331 [POSIX] (FPE_*): Likewise.
35332 [POSIX] (ILL_*): Likewise.
35333 [POSIX] (POLL_*): Likewise.
35334 [POSIX] (SEGV_*): Likewise.
35335 [POSIX] (SI_*): Likewise.
35336 [POSIX] (TRAP_*): Likewise.
35337 * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
35338 variable.
35339
35340 2014-10-14 Paul Pluzhnikov <ppluzhnikov@google.com>
35341
35342 [BZ #12926]
35343 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
35344 infinite loop when __recvmsg returns 0.
35345
35346 2014-10-10 Joseph Myers <joseph@codesourcery.com>
35347
35348 * CANCEL-FCT-WAIVE: Remove file.
35349 * CANCEL-FILE-WAIVE: Likewise.
35350
35351 [BZ #14132]
35352 * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
35353 instead of INTVARDEF.
35354 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
35355 * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
35356 rtld_hidden_data_def instead of INTVARDEF.
35357 (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
35358 * elf/dl-deps.c (expand_dst): Likewise.
35359 * elf/dl-load.c (_dl_dst_count): Likewise.
35360 (_dl_dst_substitute): Likewise.
35361 (decompose_rpath): Likewise.
35362 (_dl_init_paths): Likewise.
35363 (open_path): Likewise.
35364 (_dl_map_object): Likewise.
35365 * elf/rtld.c (dl_main): Likewise.
35366 (process_dl_audit): Likewise.
35367 (process_envvars): Likewise.
35368 * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
35369 Remove declaration.
35370 (__libc_enable_secure): Use rtld_hidden_proto.
35371
35372 2014-10-09 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35373
35374 * elf/dl-load.c
35375 (add_path): New function broken out of _dl_rtld_di_serinfo.
35376 (_dl_rtld_di_serinfo): Remove that nested function. Update call sites.
35377
35378 2014-10-09 Joseph Myers <joseph@codesourcery.com>
35379
35380 * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
35381 parentheses around macro arguments.
35382 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
35383 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
35384 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
35385 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
35386 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
35387 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
35388 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
35389 [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
35390 [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
35391 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
35392 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
35393 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
35394 [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
35395 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
35396 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
35397 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
35398 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
35399 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
35400 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
35401 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
35402 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
35403 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
35404 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
35405 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
35406 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
35407 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
35408 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
35409 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
35410 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
35411 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
35412 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
35413 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
35414 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
35415 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
35416 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
35417 * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
35418 Likewise.
35419 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
35420 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
35421 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
35422 [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
35423 [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
35424 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
35425 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
35426 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
35427 [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
35428 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
35429 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
35430 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
35431 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
35432 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
35433 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
35434 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
35435 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
35436 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
35437 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
35438 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
35439 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
35440 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
35441 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
35442 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
35443 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
35444 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
35445 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
35446 * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
35447 (_FP_FRAC_SRS_1): Likewise.
35448 (_FP_FRAC_CLZ_1): Likewise.
35449 (_FP_MUL_MEAT_1_imm): Likewise.
35450 (_FP_MUL_MEAT_1_wide): Likewise.
35451 (_FP_MUL_MEAT_1_hard): Likewise.
35452 (_FP_SQRT_MEAT_1): Likewise.
35453 (_FP_FRAC_ASSEMBLE_1): Likewise.
35454 (_FP_FRAC_DISASSEMBLE_1): Likewise.
35455 * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
35456 (__FP_CLZ_2): Likewise.
35457 (_FP_MUL_MEAT_2_wide): Likewise.
35458 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
35459 (_FP_MUL_MEAT_2_gmp): Likewise.
35460 (_FP_MUL_MEAT_2_120_240_double): Likewise.
35461 (_FP_SQRT_MEAT_2): Likewise.
35462 (_FP_FRAC_ASSEMBLE_2): Likewise.
35463 (_FP_FRAC_DISASSEMBLE_2): Likewise.
35464 * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
35465 (_FP_FRAC_CLZ_4): Likewise.
35466 (_FP_MUL_MEAT_4_wide): Likewise.
35467 (_FP_MUL_MEAT_4_gmp): Likewise.
35468 (_FP_SQRT_MEAT_4): Likewise.
35469 (_FP_FRAC_ASSEMBLE_4): Likewise.
35470 (_FP_FRAC_DISASSEMBLE_4): Likewise.
35471 * soft-fp/op-common.h (_FP_CMP): Likewise.
35472 (_FP_CMP_EQ): Likewise.
35473 (_FP_CMP_UNORD): Likewise.
35474 (_FP_TO_INT): Likewise.
35475 (_FP_FROM_INT): Likewise.
35476 [!__FP_CLZ] (__FP_CLZ): Likewise.
35477 (_FP_DIV_HELP_imm): Likewise.
35478 * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
35479 Likewise.
35480 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
35481 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
35482 [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
35483 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
35484 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
35485 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35486 [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35487 [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
35488 [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
35489 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
35490 [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
35491 [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
35492 [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
35493 [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
35494 [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
35495 [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
35496 [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
35497 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
35498 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
35499 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
35500 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
35501 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
35502 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
35503 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
35504 [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
35505 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
35506 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
35507 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
35508 [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
35509 [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
35510 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
35511 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
35512 [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
35513 [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
35514 [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
35515 * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
35516 (FP_UNPACK_RAW_SP): Likewise.
35517 (FP_PACK_RAW_S): Likewise.
35518 (FP_PACK_RAW_SP): Likewise.
35519 (FP_UNPACK_S): Likewise.
35520 (FP_UNPACK_SP): Likewise.
35521 (FP_UNPACK_SEMIRAW_S): Likewise.
35522 (FP_UNPACK_SEMIRAW_SP): Likewise.
35523 (FP_PACK_S): Likewise.
35524 (FP_PACK_SP): Likewise.
35525 (FP_PACK_SEMIRAW_S): Likewise.
35526 (FP_PACK_SEMIRAW_SP): Likewise.
35527 (_FP_SQRT_MEAT_S): Likewise.
35528 (FP_CMP_S): Likewise.
35529 (FP_CMP_EQ_S): Likewise.
35530 (FP_CMP_UNORD_S): Likewise.
35531 (FP_TO_INT_S): Likewise.
35532 (FP_FROM_INT_S): Likewise.
35533
35534 * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
35535
35536 * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
35537 (FP_EX_INVALID_IMZ): Likewise.
35538 (FP_EX_INVALID_IMZ_FMA): Likewise.
35539 (FP_EX_INVALID_ISI): Likewise.
35540 (FP_EX_INVALID_ZDZ): Likewise.
35541 (FP_EX_INVALID_IDI): Likewise.
35542 (FP_EX_INVALID_SQRT): Likewise.
35543 (FP_EX_INVALID_CVI): Likewise.
35544 (FP_EX_INVALID_VC): Likewise.
35545 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
35546 "invalid" exceptions.
35547 (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
35548 (_FP_ADD_INTERNAL): Likewise.
35549 (_FP_MUL): Likewise.
35550 (_FP_FMA): Likewise.
35551 (_FP_DIV): Likewise.
35552 (_FP_CMP_CHECK_NAN): Likewise.
35553 (_FP_SQRT): Likewise.
35554 (_FP_TO_INT): Likewise.
35555 (FP_EXTEND): Likewise.
35556
35557 2014-10-09 Allan McRae <allan@archlinux.org>
35558
35559 * po/fr.po: Update French translation from translation project.
35560
35561 2014-10-09 Joseph Myers <joseph@codesourcery.com>
35562
35563 [BZ #14132]
35564 * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
35565 of INTDEF.
35566 * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
35567 (__cxa_atexit): Use libc_hidden_proto.
35568 [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
35569
35570 [BZ #14132]
35571 * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
35572 declaration.
35573 [!_ISOMAC] (__iswdigit_l_internal): Likewise.
35574 [!_ISOMAC] (__iswspace_l_internal): Likewise.
35575 [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
35576 [!_ISOMAC] (__iswctype_internal): Likewise.
35577 * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
35578 * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
35579 alias.
35580 (fcntl): Remove __fcntl_internal alias.
35581 * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
35582 __connect_internal alias.
35583 * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
35584 Likewise.
35585
35586 * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
35587 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
35588 FP_DENORM_ZERO.
35589 (_FP_CHECK_FLUSH_ZERO): New macro.
35590 (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
35591 (_FP_CMP): Likewise.
35592 (_FP_CMP_EQ): Likewise.
35593 (_FP_TO_INT): Do not set inexact for subnormal arguments if
35594 FP_DENORM_ZERO.
35595 (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
35596 (FP_TRUNC): Likewise.
35597
35598 * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
35599 treated as invalid conversion, not as normal exponent.
35600
35601 * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
35602 (_FP_CMP): Add extra argument EX. Call _FP_CMP_CHECK_NAN.
35603 (_FP_CMP_EQ): Likewise.
35604 (_FP_CMP_UNORD): Likewise.
35605 * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
35606 (FP_CMP_EQ_D): Likewise.
35607 (FP_CMP_UNORD_D): Likewise.
35608 * soft-fp/extended.h (FP_CMP_E): Likewise.
35609 (FP_CMP_EQ_E): Likewise.
35610 (FP_CMP_UNORD_E): Likewise.
35611 * soft-fp/quad.h (FP_CMP_Q): Likewise.
35612 (FP_CMP_EQ_Q): Likewise.
35613 (FP_CMP_UNORD_Q): Likewise.
35614 * soft-fp/single.h (FP_CMP_S): Likewise.
35615 (FP_CMP_EQ_S): Likewise.
35616 (FP_CMP_UNORD_S): Likewise.
35617 * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
35618 * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
35619 * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
35620 * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
35621 * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
35622 * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
35623 * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
35624 * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
35625 * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
35626 * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
35627 * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
35628 * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
35629 * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
35630 to FP_CMP_Q.
35631 * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
35632 FP_CMP_Q.
35633 * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
35634 * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
35635 FP_CMP_EQ_Q.
35636 * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
35637 FP_CMP_Q.
35638 * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
35639 * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
35640 * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
35641 * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
35642 FP_CMP_EQ_Q.
35643 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
35644 FP_CMP_Q.
35645 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
35646 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
35647 FP_CMP_EQ_Q.
35648 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
35649 FP_CMP_Q.
35650 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
35651 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
35652 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
35653 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
35654 FP_CMP_EQ_Q.
35655
35656 * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
35657 a subnormal result, set the underflow exception if trapping on
35658 underflow is enabled.
35659 * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
35660 (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
35661 [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
35662 redefine to 0.
35663 * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
35664 * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35665 * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
35666 * soft-fp/extendxftf2.c (__extendxftf2): Use
35667 FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
35668
35669 * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
35670 * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
35671 (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35672 FP_HANDLE_EXCEPTIONS.
35673 * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
35674 (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35675 FP_HANDLE_EXCEPTIONS.
35676 * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
35677 (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35678 FP_HANDLE_EXCEPTIONS.
35679 * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
35680 (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
35681 FP_HANDLE_EXCEPTIONS.
35682
35683 2014-10-08 Joseph Myers <joseph@codesourcery.com>
35684
35685 [BZ #14132]
35686 * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
35687 * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
35688 use INTUSE.
35689 [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
35690 * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
35691 Remove alias.
35692 (__adjtimex): Define using libc_hidden_ver.
35693 * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
35694 Remove declaration.
35695 (ntp_gettime): Call __adjtimex directly.
35696 * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
35697 Remove declaration.
35698 (ntp_gettimex): Call __adjtimex directly.
35699 * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
35700 __adjtimex_internal alias.
35701
35702 2014-10-08 Roland McGrath <roland@hack.frob.com>
35703
35704 [BZ #17460]
35705 * nscd/nscd.c (more_help): Rewrite list of tables collection
35706 using xstrdup and asprintf.
35707
35708 * nscd/nscd_conf.c: Remove local xstrdup declaration.
35709
35710 2014-10-08 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35711 Roland McGrath <roland@hack.frob.com>
35712
35713 * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
35714 (do_lookup_unique): ... local function 'enter' here; update callers.
35715
35716 2014-10-06 Joseph Myers <joseph@codesourcery.com>
35717
35718 * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
35719 compat_symbol calls on [SHARED].
35720 * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
35721 * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
35722 Remove.
35723 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35724 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
35725 (oldsetrlimit): Remove.
35726 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35727 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35728 (lchown): New syscall entry.
35729 (oldsetrlimit): Remove.
35730 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35731 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
35732 (oldsetrlimit): Remove.
35733 (setrlimit): Add setrlimit@GLIBC_2.0 alias.
35734
35735 [BZ #14138]
35736 * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
35737 * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
35738 * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
35739 * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
35740 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
35741 * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
35742 (fchown): Likewise.
35743 * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
35744 (fchown): Likewise.
35745 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
35746 Likewise.
35747
35748 2014-10-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
35749
35750 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
35751 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
35752 (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
35753 __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
35754 * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
35755 Likewise.
35756 (__old_sem_post): Likewise.
35757
35758 2014-10-06 Chris Metcalf <cmetcalf@tilera.com>
35759
35760 * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
35761 INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
35762 HAVE_CLOCK_GETTIME_VSYSCALL macros.
35763 * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
35764 Use INLINE_VSYSCALL macro.
35765 * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
35766 __vdso_clock_gettime.
35767 * sysdeps/unix/sysv/linux/tile/init-first.c
35768 (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
35769 * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
35770 __vdso_clock_gettime.
35771
35772 * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
35773 to set up frame more cleanly.
35774
35775 * sysdeps/tile/memcmp.c: New file.
35776
35777 * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
35778
35779 * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
35780 * sysdeps/tile/tilegx/strcasestr.c: New file.
35781 * sysdeps/tile/tilegx/strnlen.c: New file.
35782 * sysdeps/tile/tilegx/strstr.c: New file.
35783
35784 * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
35785
35786 2014-10-06 Arjun Shankar <arjun.is@lostca.se>
35787
35788 * nptl/tst-setuid3.c: Write errors to stdout.
35789
35790 2014-10-01 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35791
35792 * elf/dl-deps.c
35793 (preload): New functions broken out of _dl_map_object_deps.
35794 (_dl_map_object_deps): Remove a nested function. Update call sites.
35795
35796 2014-10-01 Joseph Myers <joseph@codesourcery.com>
35797
35798 [BZ #14138]
35799 * sysdeps/unix/sysv/linux/execve.c: Remove file.
35800 * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
35801
35802 2014-10-01 Steve Ellcey <sellcey@mips.com>
35803
35804 * sysdeps/mips/strcmp.S: New.
35805
35806 2014-09-30 Joseph Myers <joseph@codesourcery.com>
35807
35808 [BZ #14138]
35809 * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
35810 (linkat): Likewise.
35811 (mkdirat): Likewise.
35812 (readlinkat): Likewise.
35813 (renameat): Likewise.
35814 (symlinkat): Likewise.
35815 (unlinkat): Likewise.
35816 * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
35817 * sysdeps/unix/sysv/linux/linkat.c: Likewise.
35818 * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
35819 * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
35820 * sysdeps/unix/sysv/linux/renameat.c: Likewise.
35821 * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
35822 * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
35823
35824 2014-09-30 Will Newton <will.newton@linaro.org>
35825
35826 * math/math.h: Define long double math functions if
35827 _LIBC_TEST is defined.
35828 * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
35829
35830 * localedata/Makefile: Move assignment to tests-special
35831 into an ifdef testing run-built-tests.
35832 * timezone/Makefile: Likewise.
35833
35834 2014-09-29 Joseph Myers <joseph@codesourcery.com>
35835
35836 * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
35837 with $(BASH) not $(SHELL).
35838
35839 2014-09-29 Carlos O'Donell <carlos@redhat.com>
35840 Matthew LeGendre <legendre1@llnl.gov>
35841
35842 [BZ #17411]
35843 * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
35844 l_reloc_result.
35845
35846 2014-09-29 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
35847
35848 * stdio-common/printf_fp.c
35849 (hack_digit): New function, broken out of ...
35850 (__printf_fp): ... local function here. Update call sites.
35851 hack_digit now takes an additional parameter that is a pointer
35852 to a struct of the referenced locals. Those locals moved inside
35853 the struct and references updated.
35854
35855 2014-09-29 H.J. Lu <hongjiu.lu@intel.com>
35856
35857 * aclocal.m4: Require autoconf 2.69.
35858 * configure: Regenerated.
35859 * sysdeps/aarch64/configure: Likewise.
35860 * sysdeps/alpha/configure: Likewise.
35861 * sysdeps/arm/armv7/configure: Likewise.
35862 * sysdeps/arm/configure: Likewise.
35863 * sysdeps/ia64/configure: Likewise.
35864 * sysdeps/mach/configure: Likewise.
35865 * sysdeps/mips/configure: Likewise.
35866 * sysdeps/s390/configure: Likewise.
35867 * sysdeps/unix/sysv/linux/mips/configure: Likewise.
35868 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
35869
35870 * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
35871 file.
35872 * sysdeps/ia64/configure.ac: Likewise.
35873
35874 2014-09-26 Joseph Myers <joseph@codesourcery.com>
35875
35876 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
35877 specify symbol version for ld.so. Do not include entry for
35878 libpthread.
35879 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
35880 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
35881 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35882
35883 [BZ #14171]
35884 * Makeconfig [$(build-shared) = yes]
35885 ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
35886 makefiles.
35887 [$(build-shared) = yes && $(soversions.mk-done) = t]
35888 ($(common-objpfx)gnu/lib-names.h): Remove rule.
35889 [$(build-shared) = yes && $(soversions.mk-done) = t]
35890 ($(common-objpfx)gnu/lib-names.stmp): Likewise. Split and moved
35891 to Makerules.
35892 [$(build-shared) = yes && $(soversions.mk-done) = t]
35893 (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
35894 here.
35895 [$(build-shared) = yes && $(soversions.mk-done) = t]
35896 (common-generated): Don't append gnu/lib-names.h and
35897 gnu/lib-names.stmp here.
35898 * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
35899 (lib-names-h-abi): New variable.
35900 [$(build-shared) = yes && $(soversions.mk-done) = t]
35901 (lib-names-stmp-abi): Likewise.
35902 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35903 abi-variants] (before-compile): Append
35904 $(common-objpfx)$(lib-names-h-abi).
35905 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35906 abi-variants] (common-generated): Append gnu/lib-names.h.
35907 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35908 abi-variants] (install-others-nosubdir): Depend on
35909 $(inst_includedir)/$(lib-names-h-abi).
35910 [$(build-shared) = yes && $(soversions.mk-done) = t &&
35911 abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
35912 [$(build-shared) = yes && $(soversions.mk-done) = t]
35913 ($(common-objpfx)$(lib-names-h-abi)): New rule.
35914 [$(build-shared) = yes && $(soversions.mk-done) = t]
35915 ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
35916 [$(build-shared) = yes && $(soversions.mk-done) = t]
35917 (common-generated): Append $(lib-names-h-abi) and
35918 $(lib-names-stmp-abi).
35919 * scripts/lib-names.awk: Do not handle multi being set.
35920 * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
35921 Remove variable.
35922 (abi-lp64_be-ld-soname): Likewise.
35923 * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
35924 Likewise.
35925 (abi-hard-ld-soname): Likewise.
35926 * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
35927 * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
35928 Remove variable.
35929 (abi-o32_hard-ld-soname): Likewise.
35930 (abi-o32_soft_2008-ld-soname): Likewise.
35931 (abi-o32_hard_2008-ld-soname): Likewise.
35932 (abi-n32_soft-ld-soname): Likewise.
35933 (abi-n32_hard-ld-soname): Likewise.
35934 (abi-n32_soft_2008-ld-soname): Likewise.
35935 (abi-n32_hard_2008-ld-soname): Likewise.
35936 (abi-n64_soft-ld-soname): Likewise.
35937 (abi-n64_hard-ld-soname): Likewise.
35938 (abi-n64_soft_2008-ld-soname): Likewise.
35939 (abi-n64_hard_2008-ld-soname): Likewise.
35940 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
35941 Likewise.
35942 (abi-64-v2-ld-soname): Likewise.
35943 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
35944 ld.so entries.
35945 * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
35946 variable.
35947 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
35948 entry.
35949 * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
35950 variable.
35951 (abi-64-ld-soname): Likewise.
35952 (abi-x32-ld-soname): Likewise.
35953 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
35954 entry.
35955 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
35956
35957 2014-09-23 Joseph Myers <joseph@codesourcery.com>
35958
35959 [BZ #14138]
35960 * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
35961 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
35962 * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
35963 * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
35964 * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
35965 * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
35966 * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
35967 syscall entry for GLIBC_2.2 symbol version.
35968 * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
35969 Likewise.
35970 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
35971 (setrlimit): Likewise.
35972 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
35973 Likewise.
35974
35975 2014-09-23 Will Newton <will.newton@linaro.org>
35976
35977 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
35978 _LINUX_ARM_SYSDEP_H include guard too.
35979 * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
35980 define.
35981
35982 2014-09-20 Rasmus Villemoes <rv@rasmusvillemoes.dk>
35983
35984 * sysdeps/unix/sysv/linux/eventfd.c:
35985 Make first argument unsigned.
35986 * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
35987 * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
35988
35989 2014-09-20 Ondřej Bílka <neleai@seznam.cz>
35990
35991 [BZ #16852]
35992 * socket/recvmmsg.c (recvmmsg): Drop const argument.
35993 * socket/sys/socket.h: Likewise.
35994 * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
35995
35996 2014-09-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
35997
35998 * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
35999
36000 2014-09-17 Arjun Shankar <arjun.is@lostca.se>
36001
36002 * time/tst-ftime.c: New test.
36003 * time/Makefile (tests): Add tst-ftime.
36004
36005 2014-09-17 Joseph Myers <joseph@codesourcery.com>
36006
36007 * soft-fp/extended.h: Fix comment formatting.
36008 * soft-fp/op-1.h: Likewise.
36009 * soft-fp/op-2.h: Likewise.
36010 * soft-fp/op-4.h: Likewise.
36011 * soft-fp/op-8.h: Likewise.
36012 * soft-fp/op-common.h: Likewise.
36013 * soft-fp/soft-fp.h: Likewise.
36014
36015 * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
36016
36017 2014-09-16 Joseph Myers <joseph@codesourcery.com>
36018
36019 [BZ #6652]
36020 * Makeconfig (soversions-default-setname): Remove variable.
36021 ($(common-objpfx)soversions.i): Don't pass default_setname to
36022 soversions.awk.
36023 * Makerules ($(common-objpfx)abi-versions.h): Don't pass
36024 oldest_abi to abi-versions.awk.
36025 * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
36026 * config.make.in (oldest-abi): Remove variable.
36027 * configure.ac (--enable-oldest-abi): Remove configure option.
36028 * configure: Regenerated.
36029 * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
36030 text.
36031 * scripts/abi-versions.awk: Do not handle oldest_abi variable.
36032 * scripts/soversions.awk: Do not handle default_setname variable.
36033 * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
36034 variable.
36035 * sysdeps/mach/hurd/configure: Regenerated.
36036 * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
36037 variable.
36038 * sysdeps/unix/sysv/linux/configure: Regenerated.
36039
36040 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36041
36042 * elf/Makefile (CFLAGS-interp.c): Remove.
36043 ($(elf-objpfx)runtime-linker.h): Generate header with linker
36044 path string.
36045 * elf/interp.c: Include generated runtime-linker.h
36046
36047 * Makerules (lib%.so): Don't include $(+interp) in
36048 prerequisites.
36049 * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
36050 * dlfcn/eval.c: Remove file.
36051
36052 * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
36053 macros.
36054
36055 [BZ #17266]
36056 * misc/sys/cdefs.h: Define __extern_always_inline for clang
36057 4.2 and newer.
36058
36059 [BZ #17370]
36060 * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
36061
36062 2014-09-16 Siddhesh Poyarekar <siddhesh@redhat.com>
36063 Jakub Jelinek <jakub@redhat.com>
36064
36065 [BZ #17266]
36066 * libio/stdio.h: Check definition of __fortify_function
36067 instead of __extern_always_inline to include bits/stdio2.h.
36068 * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
36069 check if __extern_always_inline is defined.
36070 [__USE_MISC || __USE_XOPEN]: Likewise.
36071 [__USE_ISOC99] Likewise.
36072 * misc/sys/cdefs.h (__fortify_function): Define only if
36073 __extern_always_inline is defined.
36074 [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
36075 __extern_always_inline and __extern_inline only for g++-4.3
36076 and newer or a compatible gcc.
36077
36078 2014-09-15 Andreas Schwab <schwab@linux-m68k.org>
36079
36080 [BZ #17371]
36081 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
36082 last change to handle zero prefix length.
36083
36084 2014-09-15 Siddhesh Poyarekar <siddhesh@redhat.com>
36085
36086 * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
36087 _SC_REGEX_VERSION.
36088
36089 * posix/getconf.c (vars): Add _POSIX_IPV6 and
36090 _POSIX_RAW_SOCKETS.
36091
36092 2014-09-13 Allan McRae <allan@archlinux.org>
36093
36094 * po/ru.po: Update Russian translation from translation project.
36095
36096 2014-09-12 Roland McGrath <roland@hack.frob.com>
36097
36098 * locale/programs/locale.c (show_locale_vars): Inline local function
36099 into its sole call site. Clean up some style nits.
36100 (print_item): New function, broken out of ...
36101 (show_info): ... local function here. Clean up style nits.
36102
36103 * locale/programs/ld-ctype.c (set_one_default): New function, broken
36104 out of ...
36105 (set_class_defaults): ... local function set_default here.
36106 Define set_default as a macro locally to pass constant parameters.
36107 (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
36108 rather than a shared local.
36109
36110 * stdlib/rpmatch.c (try): New function, broken out of ...
36111 (rpmatch): ... local function here. Also, prototypify definition.
36112
36113 2014-09-12 Joseph Myers <joseph@codesourcery.com>
36114
36115 * scripts/soversions.awk: Do not handle configuration names.
36116 * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
36117 vendor and os variables to soversions.awk.
36118 * configure.ac: Do not modify gnu-* host_os.
36119 * configure: Regenerated
36120 * shlib-versions: Remove first column with configuration names.
36121 * nptl/shlib-versions: Likewise.
36122 * nptl_db/shlib-versions: Likewise.
36123 * sysdeps/hppa/shlib-versions: Likewise.
36124 * sysdeps/m68k/shlib-versions: Likewise.
36125 * sysdeps/mach/hurd/shlib-versions: Likewise.
36126 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
36127 * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
36128 * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
36129 * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
36130 * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
36131 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
36132 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
36133 * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
36134 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
36135 Likewise.
36136 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
36137 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
36138 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
36139 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
36140 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
36141 * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
36142 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
36143 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
36144
36145 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
36146 (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
36147 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
36148 Regenerated.
36149 * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
36150 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
36151 Condition symbol version definitions on [HAVE_ELFV2_ABI].
36152
36153 * shlib-versions: Remove OS-specific entries. Moved to files in
36154 sysdeps.
36155 * sysdeps/mach/hurd/shlib-versions: New file.
36156 * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
36157
36158 * nptl/shlib-versions: Remove architecture-specific entries.
36159 Moved to files in sysdeps.
36160 * shlib-versions: Likewise.
36161 * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
36162 file.
36163 * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
36164 * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
36165 * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
36166 * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
36167
36168 * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
36169 (UDP_NO_CHECK6_RX): Likewise.
36170
36171 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
36172
36173 * sysdeps/posix/sysconf.c (__sysconf): Spell
36174 _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
36175
36176 2014-08-12 Florian Weimer <fweimer@redhat.com>
36177
36178 * iconv/gconv_open.c (__gconv_open): Remove transliteration module
36179 loading.
36180 * iconv/Versions (__gconv_transliterate): Export for use from
36181 gconv modules.
36182 * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
36183 (struct __gconv_trans_data, __gconv_trans_fct,
36184 __gconv_trans_context_fct, __gconv_trans_query_fct,
36185 __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
36186 definitions.
36187 (struct __gconv_step_data): Remove __trans member.
36188 (__gconv_transliterate): Declaration moved from gconv_int.h. No
36189 longer hidden. Remove unused trans_data argument.
36190 * iconv/gconv_int.h (struct trans_struct): Remove definition.
36191 (__gconv_translit_find): Remove declaration.
36192 (__gconv_transliterate): Declaration moved to gconv.h. Add hidden
36193 prototype.
36194 * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
36195 * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
36196 trans_data argument. Add hidden definition.
36197 (__gconv_translit_find): Remove.
36198 * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
36199 __gconv_transliterate directly if __GCONV_TRANSLIT is set.
36200 * iconv/skeleton.c: Remove transliteration initialization.
36201 * libio/fileops.c (_IO_new_file_fopen): Adjust struct
36202 __gconv_step_data initialization.
36203 * libio/iofwide.c (__libio_translit_): Remove.
36204 (_IO_fwide): Adjust struct __gconv_step_data initialization.
36205 * wcsmbs/btowc.c (__btowc): Likewise.
36206 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
36207 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
36208 * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
36209 * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
36210 * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
36211 * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
36212 * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
36213 * wcsmbs/wctob.c (wctob): Likewise.
36214
36215 2014-09-12 Siddhesh Poyarekar <siddhesh@redhat.com>
36216
36217 [BZ #16194]
36218 * sysdeps/x86/tst-xmmymm.sh: Rename file to...
36219 * sysdeps/x86/tst-ld-sse-use.sh: ... this. Check for zmm
36220 register usage.
36221 * sysdeps/x86/Makefile: Adjust.
36222
36223 2014-09-11 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
36224 Roland McGrath <roland@hack.frob.com>
36225
36226 * locale/weight.h: Add include guard.
36227 (findidx): Make static rather than auto; take new parameters
36228 TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
36229 * locale/weightwc.h: Likewise.
36230 * posix/fnmatch_loop.c
36231 (FCT): Change type of EXTRA from int32_t to wint_t.
36232 Don't include either header inside the function.
36233 Call FINDIDX rather than findidx, and pass new arguments.
36234 #undef FINDIDX at the end of the file.
36235 * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
36236 FINDIDX before including fnmatch_loop.c for the non-wide version.
36237 [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
36238 #include <locale/weightwc.h>, and define FINDIDX to findidxwc
36239 for the wide version.
36240 * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
36241 (build_equiv_class) [_LIBC]: Don't #include it inside the function.
36242 Pass new arguments to findidx.
36243 * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
36244 [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
36245 Don't #include it inside the function. Pass new arguments to findidx.
36246 * posix/regex_internal.h
36247 [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
36248 (re_string_elem_size_at): Don't #include it inside the function.
36249 Pass new arguments to findidx.
36250 * string/strcoll_l.c: #include WEIGHT_H at top level.
36251 (get_next_seq): Don't #include it inside the function.
36252 Pass new arguments to findidx.
36253 (get_next_seq_nocache): Likewise.
36254 * string/strxfrm_l.c: #include WEIGHT_H at top level.
36255 (STRXFRM): Don't #include it inside the function.
36256 Pass new arguments to findidx.
36257
36258 2014-09-11 Florian Weimer <fweimer@redhat.com>
36259
36260 [BZ #17344]
36261 * malloc/malloc.c (unlink): Turn asserts into a call to
36262 malloc_printerr.
36263
36264 2014-09-11 Tim Lammens <tim.lammens@gmail.com>
36265
36266 [BZ #17370]
36267 * libio/wfileops (do_ftell_wide): Free OUT.
36268
36269 2014-09-10 Chris Metcalf <cmetcalf@tilera.com>
36270
36271 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
36272
36273 2014-09-10 Siddhesh Poyarekar <siddhesh@redhat.com>
36274
36275 [BZ #17363]
36276 * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
36277 group if the current group is empty.
36278
36279 2014-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36280
36281 * benchtests/bench-memset.c (test_main): Add more test from size
36282 from 32 to 512 bytes.
36283 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36284 Add POWER8 memset object.
36285 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
36286 (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
36287 * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
36288 implementation.
36289 * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
36290 Likewise.
36291 * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
36292 multiarch POWER8 memset optimization.
36293 * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
36294 POWER8 memset optimization.
36295
36296 * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36297 Remove bzero multiarch objects.
36298 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
36299 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
36300 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
36301 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
36302 Remove define.
36303 [__bzero]: Redefine to specific name.
36304 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
36305 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
36306 * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
36307 define.
36308 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
36309 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
36310
36311 2014-09-10 Florian Weimer <fweimer@redhat.com>
36312
36313 * Makeconfig (gccwarn-c): Turn implicit-function-declaration
36314 warnings into errors.
36315
36316 * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
36317 __cxa_thread_atexit_impl prototype.
36318
36319 2014-09-09 Steve Ellcey <sellcey@mips.com>
36320
36321 * sysdeps/mips/preconfigure: Put code inside mips* case statement.
36322 Fix capitalization of error message.
36323
36324 2014-09-09 Steve Ellcey <sellcey@mips.com>
36325
36326 * sysdeps/mips/preconfigure: Modify ABI tests.
36327
36328 2014-09-07 Carlos O'Donell <carlos@systemhalted.org>
36329
36330 * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
36331
36332 2014-09-07 Roland McGrath <roland@hack.frob.com>
36333 Carlos O'Donell <carlos@systemhalted.org>
36334
36335 * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
36336 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
36337 * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
36338 * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
36339 * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
36340 * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
36341 * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
36342 * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
36343 * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
36344 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
36345 * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
36346 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
36347 * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
36348 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
36349 * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
36350 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
36351 * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
36352 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
36353 * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
36354 * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
36355 * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
36356 * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
36357 * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
36358 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
36359 * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
36360 * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
36361 * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
36362 * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
36363 Deconditionalize the code that was previously under [RESET_PID].
36364 * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
36365 * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
36366 * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
36367 * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
36368 include sysdep.h.
36369
36370 2014-09-08 Allan McRae <allan@archlinux.org>
36371
36372 * version.h (RELEASE): Set to "development".
36373 (VERSION): Set to "2.20.90"
36374
36375 2014-09-07 Allan McRae <allan@archlinux.org
36376
36377 * version.h (RELEASE): Set to "stable".
36378 (VERSION): Set to "2.20"
36379 * include/features.h (__GLIBC_MINOR__): Set to 20.
36380
36381 * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
36382 Liebler.
36383
36384 * po/ko.po: Update Korean translation from translation project.
36385
36386 2014-09-06 Chris Metcalf <cmetcalf@tilera.com>
36387
36388 [BZ #17354]
36389 * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
36390 macro for handling signed relocations.
36391
36392 2014-09-03 Florian Weimer <fweimer@redhat.com>
36393
36394 [BZ #17325]
36395 * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
36396 * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
36397 assert.
36398 * iconvdata/ibm933.c (BODY): Fix check for sentinel.
36399 * iconvdata/ibm935.c (BODY): Likewise.
36400 * iconvdata/ibm937.c (BODY): Likewise.
36401 * iconvdata/ibm939.c (BODY): Likewise.
36402 * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
36403 assert.
36404 * iconvdata/Makefile (iconv-test.out): Pass module list to test
36405 script.
36406 * iconvdata/run-iconv-test.sh: New test loop for checking for
36407 decoder crashers.
36408
36409 2014-09-02 Khem Raj <raj.khem@gmail.com>
36410
36411 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
36412 libm_hidden_ver.
36413
36414 2014-09-01 Allan McRae <allan@archlinux.org>
36415
36416 * po/eo.po: Update Esperanto translation from translation project.
36417
36418 * po/ca.po: Update Catalan translation from translation project.
36419
36420 2014-08-28 Samuel Thibault <samuel.thibault@ens-lyon.org>
36421
36422 * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
36423 __proc_dostop call.
36424
36425 2014-08-27 Mark Wielaard <mjw@redhat.com>
36426
36427 [BZ #17319]
36428 * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
36429 to call set_thread_area instead of hand written asm.
36430 (__NR_set_thread_area): Removed define.
36431 (TLS_FLAG_WRITABLE): Likewise.
36432 (__ASSUME_SET_THREAD_AREA): Remove check.
36433 (TLS_EBX_ARG): Remove define.
36434 (TLS_LOAD_EBX): Likewise.
36435
36436 2014-08-27 Samuel Thibault <samuel.thibault@ens-lyon.org>
36437
36438 Simplify atomicity of socket creation in bind.
36439
36440 * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
36441 looking up the name after linking the file.
36442
36443 2014-08-27 Allan McRae <allan@archlinux.org>
36444
36445 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
36446
36447 2014-08-26 Florian Weimer <fweimer@redhat.com>
36448
36449 [BZ #17187]
36450 * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
36451 trans_compare, open_translit, __gconv_translit_find):
36452 Remove module loading code.
36453
36454 2014-08-26 Allan McRae <allan@archlinux.org>
36455
36456 * po/vi.po: Update Vietnamese translation from translation project.
36457
36458 * po/uk.po: Update Ukrainian translation from translation project.
36459
36460 * po/fr.po: Update French translation from translation project.
36461
36462 * po/ru.po: Update Russian translation from translation project.
36463
36464 * po/pl.po: Update Polish translation from translation project.
36465
36466 * po/cs.po: Update Czech translation from translation project.
36467
36468 * po/de.po: Update German translation from translation project.
36469
36470 * po/bg.po: Update Bulgarian translation from translation project.
36471
36472 * po/sv.po: Update Sweedish translation from translation project.
36473
36474 * po/nl.po: Update Dutch translation from translation project.
36475
36476 * po/es.po: Update Spanish translation from translation project.
36477
36478 2014-08-21 Siddhesh Poyarekar <siddhesh@redhat.com>
36479
36480 * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
36481
36482 * catgets/Makefile (CPPFLAGS-gencat): Remove.
36483 * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
36484 (CPPFLAGS-iconvconfig): Likewise.
36485 * timezone/Makefile (CPPFLAGS-zic): Likewise.
36486
36487 * include/libc-symbols.h: Remove unnecessary check for
36488 NOT_IN_libc.
36489 * nptl/pthreadP.h: Likewise.
36490 * sysdeps/aarch64/setjmp.S: Likewise.
36491 * sysdeps/alpha/setjmp.S: Likewise.
36492 * sysdeps/arm/sysdep.h: Likewise.
36493 * sysdeps/i386/setjmp.S: Likewise.
36494 * sysdeps/m68k/setjmp.c: Likewise.
36495 * sysdeps/posix/getcwd.c: Likewise.
36496 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
36497 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
36498 * sysdeps/s390/s390-32/setjmp.S: Likewise.
36499 * sysdeps/s390/s390-64/setjmp.S: Likewise.
36500 * sysdeps/sh/sh3/setjmp.S: Likewise.
36501 * sysdeps/sh/sh4/setjmp.S: Likewise.
36502 * sysdeps/unix/alpha/sysdep.h: Likewise.
36503 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
36504 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
36505 * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
36506 * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
36507 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
36508 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
36509 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
36510 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
36511 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
36512 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
36513 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
36514 * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
36515 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
36516 * sysdeps/x86_64/setjmp.S: Likewise.
36517
36518 2014-08-13 Joseph Myers <joseph@codesourcery.com>
36519
36520 [BZ #17263]
36521 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
36522 <stdint.h>.
36523 (__get_clockfreq): Use uint64_t instead of hp_timing_t in
36524 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
36525
36526 2014-08-13 Siddhesh Poyarekar <siddhesh@redhat.com>
36527
36528 * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
36529
36530 [BZ #17262]
36531 * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
36532 and __x86_64__ when disabling x87 inline functions.
36533
36534 2014-08-12 H.J. Lu <hongjiu.lu@intel.com>
36535
36536 [BZ #17259]
36537 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
36538 asm statement with __cpuid_count.
36539
36540 2014-08-12 Mike Frysinger <vapier@gentoo.org>
36541
36542 * configure.ac: Change __ehdr_start code to dereference the struct.
36543 Run readelf on the output to look for relocations.
36544 * configure: Regenerated.
36545
36546 2014-08-12 Joseph Myers <joseph@codesourcery.com>
36547
36548 [BZ #17261]
36549 * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
36550 value to 0.
36551 (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
36552
36553 2014-08-12 Roland McGrath <roland@hack.frob.com>
36554
36555 * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
36556
36557 2014-08-12 Bernard Ogden <bernie.ogden@linaro.org>
36558
36559 [BZ #16892]
36560 * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
36561 atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
36562
36563 2014-08-12 Sean Anderson <seanga2@gmail.com>
36564
36565 * malloc/malloc.c: Fix typo in comment.
36566
36567 2014-08-09 Allan McRae <allan@archlinux.org>
36568
36569 * Regenerate libc.po.
36570
36571 2014-08-08 Mike Frysinger <vapier@gentoo.org>
36572
36573 * intl/tst-gettext2.sh: Check every lang file for creation.
36574
36575 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
36576
36577 * sysdeps/aarch64/fpu/math_private.h
36578 (libc_feholdsetround_noex_aarch64_ctx): New function.
36579
36580 2014-08-07 Wilco Dijkstra <wdijkstr@arm.com>
36581
36582 * sysdeps/arm/armv6/strcpy.S (strcpy):
36583 Fix performance issue in misaligned cases.
36584
36585 2014-08-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36586
36587 * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
36588 Move definition from termios.h.
36589 (struct termio): Likewise.
36590 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36591 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36592 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36593 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36594 Likewise.
36595 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
36596 Move definition to ioctl-types.h
36597 (struct termio): Likewise.
36598 (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
36599 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
36600 N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
36601 N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
36602 Likewise.
36603
36604 2014-08-05 Richard Henderson <rth@redhat.com>
36605
36606 * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
36607 exceptions.
36608 * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
36609 Add fraiseexcpt.
36610 * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
36611 Use __feraiseexcept.
36612 * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
36613 Protect libm symbols with IS_IN_libm.
36614
36615 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
36616
36617 2014-08-04 Bernard Ogden <bernie.ogden@linaro.org>
36618
36619 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
36620
36621 2014-08-04 Will Newton <will.newton@linaro.org>
36622
36623 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
36624 file.
36625
36626 2014-08-04 Mike Frysinger <vapier@gentoo.org>
36627
36628 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
36629 variants for each function.
36630
36631 2014-08-04 Roland McGrath <roland@hack.frob.com>
36632
36633 * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
36634 appended ...
36635 * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
36636 * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
36637 appended ...
36638 * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
36639 * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
36640 * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
36641 * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
36642 * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
36643 * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
36644 * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
36645 * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
36646 * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
36647 * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
36648 * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
36649 * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
36650 * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
36651 * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
36652 * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
36653 * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
36654 * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
36655 * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
36656 * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
36657 * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
36658 * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
36659 * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
36660 * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
36661 * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
36662 * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
36663 * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
36664 * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
36665 * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
36666 * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
36667 * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
36668 * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
36669 * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
36670 * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
36671 * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
36672 * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
36673 * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
36674 * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
36675 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
36676 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
36677 * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
36678 * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
36679 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
36680 * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
36681 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
36682 * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
36683 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
36684 * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
36685 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
36686 * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
36687 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
36688 * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
36689 * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
36690 * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
36691 Update #include.
36692 * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
36693 * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
36694
36695 2014-08-04 Roland McGrath <roland@hack.frob.com>
36696
36697 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
36698 * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
36699 * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
36700 * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
36701 * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
36702 * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
36703
36704 2014-08-04 Roland McGrath <roland@hack.frob.com>
36705
36706 * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
36707 * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
36708 * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
36709 * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
36710
36711 2014-08-04 Roland McGrath <roland@hack.frob.com>
36712
36713 * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
36714 * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
36715 (__libc_vfork): Define function under this name.
36716 (__vfork): Define as an alias.
36717 * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
36718 * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
36719
36720 2014-08-04 Roland McGrath <roland@hack.frob.com>
36721
36722 * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
36723 that was previously under [RESET_PID].
36724 * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
36725
36726 2014-08-04 Andreas Schwab <schwab@suse.de>
36727
36728 * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
36729
36730 2014-08-03 Mike Frysinger <vapier@gentoo.org>
36731
36732 * stdlib/tst-setcontext.c (test_stack): Fix coding style.
36733 (main): Likewise.
36734
36735 2014-08-01 Roland McGrath <roland@hack.frob.com>
36736
36737 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
36738
36739 2014-08-01 Richard Henderon <rth@redhat.com>
36740
36741 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
36742 feclearexcept; use math_opt_barrier instead of open-coded asm; fix
36743 typo in exact zero test.
36744 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
36745 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
36746 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
36747
36748 2014-08-01 Roland McGrath <roland@hack.frob.com>
36749
36750 * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
36751 (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
36752 * sysdeps/arm/sysdep.h: ... here.
36753 [!__ASSEMBLER__]: Include <stdint.h>.
36754
36755 2014-08-01 Siddhesh Poyarekar <siddhesh@redhat.com>
36756
36757 * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
36758 (HAVE_WCTYPE_H): Likewise.
36759 (HAVE_ISWCTYPE): Likewise.
36760 (ENABLE_NLS): Likewise.
36761 * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
36762 && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
36763
36764 * posix/regex_internal.c: Check if DEBUG is defined and is
36765 set.
36766
36767 * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
36768 (HAVE_MBSRTOWCS): Likewise.
36769 * posix/fnmatch.c: Include string.h unconditionally.
36770
36771 2014-08-01 Stefan Liebler <stli@linux.vnet.ibm.com>
36772
36773 * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
36774 reversal.
36775
36776 2014-07-31 Roland McGrath <roland@hack.frob.com>
36777
36778 * sysdeps/generic/safe-fatal.h: New file.
36779 * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
36780 * nptl/forward.c: Include it.
36781 (__pthread_unwind): Use __safe_fatal as default action, rather
36782 than a bogus use of INTERNAL_SYSCALL that could never work.
36783
36784 * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
36785 * configure.ac (libc_cv_builtin_trap): New test.
36786 * configure: Regenerated.
36787 * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
36788 (ABORT_INSTRUCTION): Define using __builtin_trap.
36789
36790 * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
36791 * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
36792 * sysdeps/nptl/nptl-signals.h: New file.
36793 * nptl/pthreadP.h: Include <nptl-signals.h>.
36794
36795 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
36796
36797 * sysdeps/s390/s390-64/utf16-utf32-z9.c
36798 (ONE_DIRECTION): Define.
36799 * sysdeps/s390/s390-64/utf8-utf16-z9.c
36800 (ONE_DIRECTION): Define.
36801 * sysdeps/s390/s390-64/utf8-utf32-z9.c
36802 (ONE_DIRECTION): Define.
36803
36804 2014-07-31 Stefan Liebler <stli@linux.vnet.ibm.com>
36805
36806 * sysdeps/s390/Makefile: Delete file.
36807 * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
36808 * sysdeps/s390/__longjmp.c: Delete file.
36809 * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
36810 Remove fields __flags and __reserved.
36811 * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
36812 and add versioning.
36813 * sysdeps/s390/rtld-__longjmp.c: Delete file.
36814 * sysdeps/s390/rtld-global-offsets.sym: Likewise.
36815 * sysdeps/s390/rtld-setjmp.S: Likewise.
36816 * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
36817 * sysdeps/s390/s390-32/__longjmp.c: ... here.
36818 * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
36819 * sysdeps/s390/s390-32/setjmp.S: ... here.
36820 Add versioning.
36821 (__sigsetjmp): Remove setting __flags field.
36822 * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
36823 * sysdeps/s390/s390-64/__longjmp.c: ... here.
36824 * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
36825 * sysdeps/s390/s390-64/setjmp.S: ... here.
36826 Add versioning.
36827 (__sigsetjmp): Remove setting __flags field.
36828 * sysdeps/s390/setjmp.S: Delete file.
36829 * sysdeps/s390/sigjmp.c: Likewise.
36830 * sysdeps/s390/v1-longjmp.c: Likewise.
36831 * sysdeps/s390/v1-setjmp.h: Likewise.
36832 * sysdeps/s390/v1-sigjmp.c: Likewise.
36833 * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
36834 Remove v1-longjmp_chk.
36835 * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
36836 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
36837 Include debug/longjmp_chk.c and add versioning.
36838 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
36839 Include nptl/pt-longjmp.c and add versioning.
36840 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
36841 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
36842 Include __longjmp.c.
36843 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
36844 Move to ...
36845 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
36846 (__getcontext): Remove setting __flags field.
36847 Add versioning.
36848 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
36849 Don't restore upper high grps.
36850 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
36851 Likewise.
36852 (__swapcontext): Remove setting uc_flags field.
36853 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
36854 Delete file.
36855 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
36856 Include __longjmp.c.
36857 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
36858 Move to ...
36859 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
36860 (__getcontext): Remove setting __flags field.
36861 Add versioning.
36862 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
36863 (__swapcontext): Remove setting uc_flags field.
36864 * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
36865 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
36866 Remove fields uc_high_gprs and __reserved.
36867 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
36868 New file with reverted content.
36869 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
36870 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
36871 Regenerated.
36872 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
36873 Regenerated.
36874
36875 2014-07-31 Andreas Schwab <schwab@suse.de>
36876
36877 * config.h.in (HAVE_IFUNC): Define to 0.
36878 * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
36879 definedness.
36880
36881 2014-07-30 Ling Ma <ling.ml@alibaba-inc.com>
36882
36883 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
36884 memmove-avx-unaligned, memcpy-avx-unaligned and
36885 mempcpy-avx-unaligned.
36886 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
36887 Add tests for AVX memcpy functions.
36888 * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
36889 * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
36890 memcpy_chk.
36891 * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
36892 * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
36893 memmove_chk.
36894 * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
36895 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
36896 mempcpy_chk.
36897 * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
36898 * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
36899 * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
36900
36901 2013-07-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
36902
36903 [BZ #17213]
36904 * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
36905 powerpc64le.
36906
36907 2014-07-29 Jeff Layton <jlayton@poochiereds.net>
36908
36909 [BZ #16839]
36910 * manual/llio.texi: Add section about open file description locks.
36911 * manual/examples/ofdlocks.c: Example of open file description
36912 lock usage.
36913 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
36914 F_OFD_SETLK, and F_OFD_SETLKW.
36915
36916 2014-07-23 Allan McRae <allan@archlinux.org>
36917
36918 * po/es.po: Update Spanish translation from translation project.
36919
36920 2014-07-18 Andreas Schwab <schwab@linux-m68k.org>
36921
36922 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
36923
36924 2014-07-17 Maciej W. Rozycki <macro@codesourcery.com>
36925
36926 [BZ #17078]
36927 * sysdeps/arm/dl-machine.h (elf_machine_rela)
36928 [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
36929 (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
36930
36931 2014-07-17 Joseph Myers <joseph@codesourcery.com>
36932
36933 [BZ #17088]
36934 * math/fesetenv.c (__fesetenv)
36935 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
36936 * math/feupdateenv.c (__feupdateenv)
36937 [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
36938
36939 * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
36940 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
36941 (__ASSUME_SOCKETCALL): Do not define.
36942
36943 * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
36944 * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
36945 (__ASSUME_SOCKETCALL): Do not define.
36946 (__ASSUME_ST_INO_64_BIT): Define unconditionally.
36947 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36948 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36949 [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
36950 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36951 [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
36952 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36953 [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36954
36955 * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
36956 * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
36957 (__ASSUME_SOCKETCALL): Do not define.
36958 (__ASSUME_IPC64): Define unconditionally.
36959 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36960 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36961 [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
36962 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36963 [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
36964 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36965 [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
36966 Likewise.
36967
36968 * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
36969 * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
36970 (__ASSUME_SOCKETCALL): Do not define.
36971 (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
36972 (__ASSUME_FUTEX_LOCK_PI): Likewise.
36973 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36974 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
36975 (__ASSUME_REQUEUE_PI): Define unconditionally.
36976 [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
36977 (__ASSUME_RECVMMSG_SYSCALL): Do not define.
36978 [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36979 [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
36980 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36981 [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36982
36983 * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
36984 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
36985 (__ASSUME_SOCKETCALL): Do not define.
36986 [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
36987 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36988 [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36989 [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
36990 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
36991 [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
36992
36993 * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
36994 * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
36995 (__ASSUME_ACCEPT4_SYSCALL): Do not define.
36996 [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
36997 (__ASSUME_RECVMMSG_SYSCALL): Likewise.
36998 [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
36999 (__ASSUME_SENDMMSG_SYSCALL): Likewise.
37000 [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
37001 (__ASSUME_GETCPU_SYSCALL): Likewise.
37002
37003 * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
37004 * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR. Remove
37005 cases for individual architectures.
37006 * sysdeps/gnu/configure: Regenerated.
37007 * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
37008 LIBC_SLIBDIR_RTLDDIR.
37009 * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
37010 * sysdeps/unix/sysv/linux/mips/configure.ac: Use
37011 LIBC_SLIBDIR_RTLDDIR.
37012 * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
37013 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
37014 LIBC_SLIBDIR_RTLDDIR.
37015 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
37016 Regenerated.
37017 * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
37018 * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
37019 file.
37020 * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
37021 * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
37022 file.
37023 * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
37024 * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
37025 * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
37026 * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
37027
37028 * sysdeps/aarch64/shlib-versions: Move to ...
37029 * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
37030 * sysdeps/alpha/shlib-versions: Move to ...
37031 * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
37032 * sysdeps/arm/shlib-versions: Move to ...
37033 * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
37034 * sysdeps/hppa/shlib-versions: Move all contents except for
37035 libgcc_s entry to ...
37036 * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here. Merge in
37037 entry from ...
37038 * sysdeps/hppa/nptl/shlib-versions: ... here. Remove file.
37039 * sysdeps/ia64/shlib-versions: Move to ...
37040 * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here. Merge in
37041 entry from ...
37042 * sysdeps/ia64/nptl/shlib-versions: ... here. Remove file.
37043 * sysdeps/m68k/coldfire/shlib-versions: Move to ...
37044 * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
37045 * sysdeps/microblaze/shlib-versions: Move to ...
37046 * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
37047 * sysdeps/mips/shlib-versions: Move to ...
37048 * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here. Merge in
37049 entry from ...
37050 * sysdeps/mips/nptl/shlib-versions: ... here. Remove file.
37051 * sysdeps/tile/shlib-versions: Move to ...
37052 * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
37053 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
37054 from ...
37055 * sysdeps/x86_64/64/shlib-versions: ... here. Remove file.
37056 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
37057 entry from ...
37058 * sysdeps/x86_64/x32/shlib-versions: ... here. Remove file.
37059
37060 2014-07-17 Will Newton <will.newton@linaro.org>
37061
37062 * sysdeps/arm/bits/atomic.h
37063 (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
37064 (__arch_compare_and_exchange_bool_16_int): Likewise.
37065 (__arch_compare_and_exchange_bool_64_int): Likewise.
37066
37067 * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
37068 into an #else block.
37069
37070 2014-07-16 Roland McGrath <roland@hack.frob.com>
37071
37072 * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
37073 just Linux configurations. Test empirically that the compiler sets
37074 __ARM_EABI__, rather than using the tuple to decide.
37075 * sysdeps/arm/preconfigure: Regenerated.
37076 * sysdeps/unix/sysv/linux/arm/configure: File removed.
37077 * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
37078 contents appended ...
37079 * sysdeps/arm/configure.ac: ... here.
37080 * sysdeps/arm/configure: Regenerated.
37081
37082 2014-07-15 Roland McGrath <roland@hack.frob.com>
37083
37084 * nptl/pthread_kill.c: New file.
37085 * nptl/pthread_sigmask.c: New file.
37086 * nptl/pthread_sigqueue.c: New file.
37087
37088 * sysdeps/nptl/lowlevellock.h: New file.
37089 * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
37090 * sysdeps/nptl/lowlevellock-futex.h: New file.
37091
37092 * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
37093 Remove dead declarations.
37094
37095 2014-07-14 H.J. Lu <hongjiu.lu@intel.com>
37096
37097 * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
37098 * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
37099 config-cflags-avx2.
37100 * sysdeps/x86_64/configure.ac: Likewise.
37101 * sysdeps/i386/configure: Regenerated.
37102 * sysdeps/x86_64/configure: Likewise.
37103 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
37104 memset-avx2 only if config-cflags-avx2 is yes.
37105 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
37106 Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
37107 defined.
37108 * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
37109 only if HAVE_AVX2_SUPPORT is defined.
37110 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
37111
37112 2014-07-14 Alan Modra <amodra@gmail.com>
37113
37114 [BZ #17153]
37115 * elf/elf.h (DT_PPC64_NUM): Correct value.
37116 * NEWS: Add to fixed bug list.
37117
37118 2014-07-13 Jim Meyering <meyering@fb.com>
37119
37120 [BZ 17150]
37121 regex: don't deref NULL upon heap allocation failure
37122 * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
37123 failure in one more place.
37124 To trigger the segfault, configure grep -with-included-regex,
37125 build it, and run these commands:
37126 ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
37127
37128 2014-07-13 Andreas Schwab <schwab@linux-m68k.org>
37129
37130 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
37131
37132 2014-07-11 Richard Henderson <rth@redhat.com>
37133
37134 * sysdeps/aarch64/libm-test-ulps: Update.
37135
37136 2014-07-10 Florian Weimer <fweimer@redhat.com>
37137
37138 [BZ #17135]
37139 * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
37140 * nptl/allocatestack.c (__nptl_setxid_error): New function.
37141 (__nptl_setxid): Initialize error member. Call
37142 __nptl_setxid_error.
37143 * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
37144 * nptl/descr.h (struct xid_command): Add error member.
37145 * nptl/tst-setuid3.c: New file.
37146 * nptl/Makefile (tests): Add it.
37147
37148 2014-07-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37149
37150 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
37151 New define.
37152 (__lll_trylock): Use __lll_base_trylock.
37153 (__lll_cond_trylock): Likewise.
37154
37155 2014-07-10 Roland McGrath <roland@hack.frob.com>
37156
37157 * nptl/pthread_create.c (start_thread): Use atomic_or and
37158 lll_futex_wake directly rather than lll_robust_dead.
37159 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
37160 (lll_robust_dead): Macro removed.
37161 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
37162 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
37163 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
37164 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37165 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37166 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
37167 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
37168 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37169 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
37170 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37171 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37172 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37173 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37174 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37175 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37176
37177 * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
37178 Use atomic_compare_and_exchange_val_acq directly rather than
37179 lll_robust_trylock.
37180 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
37181 (__lll_robust_trylock, lll_robust_trylock): Removed.
37182 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
37183 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
37184 * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
37185 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
37186 * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
37187 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
37188 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
37189 * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
37190 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
37191 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
37192 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
37193 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
37194 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
37195 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
37196
37197 2014-07-02 Florian Weimer <fweimer@redhat.com>
37198
37199 * manual/locale.texi (Locale Names): New section documenting
37200 locale name syntax. Adjust menu and node chaining accordingly.
37201 (Choosing Locale): Reference Locale Names, Locale Categories.
37202 Mention setting LC_ALL=C. Reflect that name syntax is now
37203 documented.
37204 (Locale Categories): New section title. Reference Locale Names.
37205 LC_ALL is an environment variable, but not a category.
37206 (Setting the Locale): Remove "locale -a" invocation and LOCPATH
37207 description, now in Locale Name. Reference that section. Locale
37208 name syntax is now documented.
37209
37210 2014-07-02 Florian Weimer <fweimer@redhat.com>
37211
37212 [BZ #17137]
37213 * locale/findlocale.c (name_present, valid_locale_name): New
37214 functions.
37215 (_nl_find_locale): Use the loc_name variable to store name
37216 candidates. Call name_present and valid_locale_name to check and
37217 validate locale names. Return an error if the locale is invalid.
37218
37219 2014-07-02 Florian Weimer <fweimer@redhat.com>
37220
37221 * locale/setlocale.c (setlocale): Use strdup for allocating
37222 composite name copy.
37223
37224 2014-07-10 Siddhesh Poyarekar <siddhesh@redhat.com>
37225
37226 Sync up with gnulib.
37227 * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
37228 [!_LIBC && ENABLE_NLS]: Include gettext.h.
37229 [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
37230 and _GL_ARG_NONNULL.
37231 [USE_UNLOCKED_IO]: Include unlocked-io.h.
37232 [!_LIBC]: Include code for Windows and Cygwin.
37233 [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
37234 Include prototype for int strerror_r.
37235 [!_LIBC] (is_open): New function.
37236 (flush_stdout): New function.
37237 (print_errno_message): Use it.
37238 (error): Likewise.
37239 (error_at_line): Likewise.
37240 (error_tail) Add function attribute macros. Use
37241 __builtin_expect.
37242
37243 * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
37244
37245 * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
37246
37247 * io/ftw.c: Include sys/param.h unconditionally.
37248
37249 * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
37250
37251 [BZ #17125]
37252 * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
37253 libc_freeres_ptr.
37254 (freecache): New function to free CACHE on exit.
37255
37256 * sunrpc/xdr.c (xdr_string): Add comment about SIZE
37257 initialization.
37258
37259 2014-07-09 David S. Miller <davem@davemloft.net>
37260
37261 * sysdeps/sparc/fpu/libm-test-ulps: Update.
37262
37263 * sysdeps/sparc/nptl/internaltypes.h: Delete.
37264 * sysdeps/sparc/nptl/sparc-nptl.h: New file.
37265 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
37266 * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
37267 * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
37268 * sysdeps/sparc/nptl/sem_init.c: Likewise.
37269 * sysdeps/sparc/nptl/sem_post.c: Likewise.
37270 * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
37271 * sysdeps/sparc/nptl/sem_wait.c: Likewise.
37272 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
37273 * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
37274 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
37275 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
37276
37277 2014-07-09 Andreas Schwab <schwab@suse.de>
37278
37279 * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
37280 output.
37281 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
37282 (do_test): Likewise.
37283
37284 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
37285
37286 2014-07-09 Will Newton <will.newton@linaro.org>
37287
37288 * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
37289 * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
37290 * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
37291 * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
37292 * sysdeps/hppa/start.S (_start): Likewise.
37293
37294 2014-07-09 Siddhesh Poyarekar <siddhesh@redhat.com>
37295
37296 * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
37297
37298 * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
37299 defined.
37300
37301 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
37302
37303 * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
37304 after checking that it is non-NULL.
37305
37306 * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
37307
37308 2014-07-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37309
37310 * sysdeps/powerpc/memmove.c: Remove file.
37311 * sysdeps/powerpc/powerpc32/power4/memcopy.h
37312 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
37313 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
37314 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
37315 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
37316 [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
37317 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
37318 string memmove instead of removed powerpc one.
37319
37320 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
37321 [weak_alias]: Fix compiler warning due trailing data.
37322 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
37323 [weak_alias]: Likewise.
37324 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
37325 warnigs due missing definition of __strcpy_power7 and __strlen_power7.
37326
37327 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
37328 (__libc_ifunc_impl_list): Add memmove functions.
37329
37330 2014-07-08 Siddhesh Poyarekar <siddhesh@redhat.com>
37331
37332 * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
37333 Remove code.
37334 * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
37335 Likewise.
37336 * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
37337 Likewise.
37338 * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
37339 Likewise.
37340 * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
37341 Likewise.
37342 * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
37343 Likewise.
37344 * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
37345 Likewise.
37346 * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
37347 Likewise.
37348 * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
37349 Likewise.
37350 * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
37351 Likewise.
37352 * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
37353 Likewise.
37354 * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
37355 Likewise.
37356 * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
37357 Likewise.
37358 * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
37359 Likewise.
37360 * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
37361 Likewise.
37362 * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
37363 Likewise.
37364 * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
37365 Likewise.
37366
37367 2014-07-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37368
37369 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
37370 to avoid alignment traps in non-cacheable memory.
37371 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
37372
37373 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
37374 multiarch objects.
37375 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
37376 file: multiarch power7 memmove.
37377 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
37378 multiarch default memmove.
37379 * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
37380 multiarch memove for powerpc32/power4.
37381
37382 * string/bcopy.c: Use full path to include memmove.c.
37383 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
37384 multiarch objects.
37385 * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
37386 bcopy for powerpc64.
37387 * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
37388 bcopy for powerpc64.
37389 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
37390 and memmove implementations.
37391 * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
37392 optimized multiarch memmove for POWER7/powerpc64.
37393 * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
37394 default multiarch memmove for powerpc64.
37395 * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
37396 multiarch for powerpc64.
37397 * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
37398 for POWER7/powerpc64.
37399 * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
37400 memmove for POWER7/powerpc64.
37401
37402 * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
37403 glibc default one.
37404
37405 * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
37406 __ELF_NATIVE_CLASS equal to 64.
37407
37408 2014-07-07 Roland McGrath <roland@hack.frob.com>
37409
37410 * sysdeps/nptl/lowlevellock.h: File removed.
37411
37412 * NEWS: NPTL is no longer an add-on!
37413 * nptl/internaltypes.h: Moved ...
37414 * sysdeps/nptl/internaltypes.h: ... here.
37415 * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
37416 * sysdeps/nptl/fork.c: Likewise.
37417 * sysdeps/nptl/gai_misc.h: Likewise.
37418 * sysdeps/nptl/librt-cancellation.c: Likewise.
37419 * sysdeps/nptl/jmp-unwind.c: Likewise.
37420 * sysdeps/nptl/setxid.h: Likewise.
37421 * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
37422 * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
37423 * sysdeps/unix/sysv/linux/arm/Implies: New file.
37424 * sysdeps/unix/sysv/linux/hppa/Implies: New file.
37425 * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
37426 * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
37427 * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
37428 * sysdeps/unix/sysv/linux/m68k/Implies: New file.
37429 * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
37430 * sysdeps/unix/sysv/linux/mips/Implies: New file.
37431 * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
37432 * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
37433 * sysdeps/unix/sysv/linux/sh/Implies: New file.
37434 * sysdeps/unix/sysv/linux/sparc/Implies: New file.
37435 * sysdeps/unix/sysv/linux/tile/Implies: New file.
37436 * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
37437 * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
37438 * nptl/Makeconfig: Moved ...
37439 * sysdeps/nptl/Makeconfig: ... here.
37440 * nptl/configure: File removed.
37441 * nptl/ANNOUNCE: File removed.
37442 * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
37443 * sysdeps/unix/sysv/linux/configure: Regenerated.
37444
37445 * nptl/Makefile (routines): Add libc_pthread_init,
37446 libc_multiple_threads, register-atfork and unregister-atfork.
37447 (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
37448 (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
37449 lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
37450 pthread-pi-defines.sym, structsem.sym.
37451 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
37452 (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
37453 [$(subdir) = nptl] (tests): Add tst-setgetname.
37454 * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
37455 * sysdeps/unix/sysv/linux/sigaction.c: Just include
37456 <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
37457 [!LIBC_SIGACTION]: Remove aliases.
37458 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
37459 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
37460 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
37461 * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
37462 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
37463 * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
37464 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
37465 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
37466 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
37467 * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
37468 (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
37469 __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
37470 __libc_allocate_rtsig_private.
37471 * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
37472 * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
37473 * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
37474 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
37475 * sysdeps/unix/sysv/linux/sleep.c: Likewise.
37476 * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
37477 * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
37478 * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
37479 * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
37480 * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
37481 * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
37482 * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
37483 * nptl/internaltypes.h: ... here.
37484 * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
37485 * sysdeps/nptl/jmp-unwind.c: ... here.
37486 * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
37487 * nptl/libc-lowlevellock.c: ... here.
37488 * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
37489 * nptl/libc_multiple_threads.c: ... here.
37490 * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
37491 * nptl/libc_pthread_init.c: ... here.
37492 * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
37493 * nptl/lowlevelbarrier.sym: ... here.
37494 * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
37495 * nptl/lowlevelcond.sym: ... here.
37496 * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
37497 * nptl/lowlevellock.c: ... here.
37498 * nptl/lowlevellock.h: Moved ...
37499 * sysdeps/nptl/lowlevellock.h: ... here.
37500 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
37501 * nptl/lowlevelrobustlock.c: ... here.
37502 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
37503 * nptl/lowlevelrobustlock.sym: ... here.
37504 * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
37505 * nptl/lowlevelrwlock.sym: ... here.
37506 * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
37507 * nptl/pt-fork.c: ... here.
37508 * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
37509 * nptl/pthread-pi-defines.sym: ... here.
37510 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
37511 * nptl/pthread_attr_getaffinity.c: ... here.
37512 * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
37513 * nptl/pthread_attr_setaffinity.c: ... here.
37514 * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
37515 * nptl/pthread_mutex_cond_lock.c: ... here.
37516 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
37517 Update #include.
37518 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
37519 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
37520 * nptl/pthread_once.c: ... here, replacing old file.
37521 * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
37522 * nptl/pthread_yield.c: ... here.
37523 * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
37524 * nptl/register-atfork.c: ... here.
37525 * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
37526 * nptl/sem_post.c: ... here.
37527 * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
37528 * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
37529 * nptl/sem_timedwait.c: ... here.
37530 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
37531 * nptl/sem_trywait.c: ... here.
37532 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
37533 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
37534 * nptl/sem_wait.c: ... here.
37535 * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
37536 * nptl/structsem.sym: ... here.
37537 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
37538 * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
37539 * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
37540 * nptl/unregister-atfork.c: ... here.
37541 * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
37542 * nptl/unwindbuf.sym: ... here.
37543 * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
37544 * sysdeps/nptl/fork.c: ... here.
37545 * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
37546 * sysdeps/nptl/fork.h: ... here.
37547 * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
37548 * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
37549 * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
37550 * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
37551 * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
37552 * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
37553 * sysdeps/unix/sysv/linux/getpid.c: ... here.
37554 * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
37555 * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
37556 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
37557 * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
37558 * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
37559 * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
37560 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
37561 * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
37562 * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
37563 * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
37564 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
37565 * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
37566 * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
37567 * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
37568 * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
37569 * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
37570 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
37571 * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
37572 * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
37573 * sysdeps/unix/sysv/linux/raise.c: ... here.
37574 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
37575 * sysdeps/unix/sysv/linux/timer_create.c: ... here.
37576 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
37577 * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
37578 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
37579 * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
37580 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
37581 * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
37582 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
37583 * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
37584 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
37585 * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
37586 * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
37587 * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
37588 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
37589
37590 2014-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
37591
37592 * sysdeps/generic/memcopy.h: Add comment for
37593 MEMCPY_OK_FOR_FWD_MEMMOVE.
37594
37595 2014-07-04 Will Newton <will.newton@linaro.org>
37596
37597 * string/memchr.c: Merge from gnulib.
37598 [_LIBC]: Remove conditionals.
37599 (__ptr_t): Remove define.
37600 (LONG_MAX_32_BITS): Likewise.
37601 (LONG_MAX): Likewise.
37602 (MEMCHR): Use ANSI prototype and optimize algorithm.
37603
37604 * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
37605
37606 2014-07-03 Roland McGrath <roland@hack.frob.com>
37607
37608 * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
37609 (lll_futex_timed_wait_bitset): Fix syscall argument count.
37610
37611 * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
37612 Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
37613 in a bare environment with no <stdlib.h> installed.
37614 * sysdeps/nptl/configure: Regenerated.
37615
37616 * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
37617
37618 * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
37619 AC_EGREP_CPP for kernel header checks, so they only succeed if
37620 including <linux/version.h> actually works right.
37621 * sysdeps/unix/sysv/linux/configure: Regenerated.
37622
37623 * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
37624 value so it's not diagnosed as unused.
37625
37626 * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
37627 thing) with "ifeq ($(subdir),rt)".
37628
37629 2014-07-03 Richard Henderson <rth@redhat.com>
37630
37631 * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
37632 * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
37633 include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
37634
37635 * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
37636 (math_force_eval): New.
37637
37638 * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
37639 * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
37640
37641 * sysdeps/alpha/fpu/s_round.c: Remove file.
37642 * sysdeps/alpha/fpu/s_roundf.c: Remove file.
37643
37644 * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
37645 (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
37646 * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
37647 (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
37648 (_dl_start, print_statistics): Likewise.
37649 * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
37650 HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
37651
37652 * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37653 * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37654 * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37655 * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37656 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37657 (HP_SMALL_TIMING_AVAIL): Define.
37658 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37659 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37660 (HP_SMALL_TIMING_AVAIL): Define.
37661 * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37662 * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
37663
37664 * sysdeps/aarch64/hp-timing.h: New file.
37665
37666 * sysdeps/generic/hp-timing.h: Remove dead comment.
37667 * sysdeps/generic/hp-timing-common.h: New file.
37668 * sysdeps/alpha/hp-timing.h: Include it.
37669 (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
37670 * sysdeps/i386/i686/hp-timing.h: Likewise.
37671 * sysdeps/ia64/hp-timing.h: Likewise.
37672 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
37673 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
37674 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
37675 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
37676 * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
37677 (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
37678 (hp_timing_t): New.
37679
37680 * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
37681 * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
37682 (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
37683 * elf/rtld.c (_dl_start_final): Likewise.
37684 * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
37685 * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37686 * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37687 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37688 * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37689 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37690 (HP_TIMING_DIFF_INIT): Remove.
37691 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37692 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
37693 (HP_TIMING_DIFF_INIT): Remove.
37694 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
37695 * sysdeps/i386/i686/hp-timing.c: Remove file.
37696 * sysdeps/x86_64/hp-timing.c: Remove file.
37697 * sysdeps/ia64/hp-timing.c: Remove file.
37698 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
37699 * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
37700 * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
37701 * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
37702
37703 * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
37704 * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
37705 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
37706 * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37707 * sysdeps/powerpc/powerpc32/power4/hp-timing.h
37708 (HP_TIMING_ACCUM): Remove.
37709 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37710 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
37711 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
37712
37713 * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
37714 * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
37715 * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
37716 * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
37717 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
37718 * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37719 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
37720 * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
37721
37722 * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
37723
37724 2014-07-03 Maciej W. Rozycki <macro@codesourcery.com>
37725
37726 * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
37727
37728 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37729
37730 Sync up with gettext.
37731 * intl/loadmsgcat.c: Define O_BINARY if not defined.
37732 [_MSC_VER]: Include malloc.h
37733 [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
37734 (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
37735 (_nl_load_domain): Open DOMAIN_FILE in binary mode. Don't use
37736 TEMP_FAILURE_RETRY. Cast return of alloca.
37737 [!_LIBC] Call gl_rwlock_init.
37738 [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
37739
37740 2014-07-02 Roland McGrath <roland@hack.frob.com>
37741
37742 * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
37743 before checking its value.
37744
37745 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37746
37747 * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
37748
37749 * debug/memcpy_chk.c: Don't include pagecopy.h.
37750 * debug/mempcpy_chk.c: Likewise.
37751 * string/memcpy.c: Likewise.
37752 * string/memmove.c: Likewise.
37753 * sysdeps/powerpc/memmove.c: Likewise.
37754 * sysdeps/generic/memcopy.h: Include pagecopy.h. Move
37755 definition of PAGE_COPY_FWD_MAYBE here...
37756 * sysdeps/generic/pagecopy.h: ... from here.
37757 * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
37758
37759 2014-07-02 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
37760 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37761
37762 * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
37763 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
37764 optimizations.
37765 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
37766 (__libc_ifunc_impl_list): Likewise.
37767 * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
37768 multiarch strcat for PPC64.
37769 * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
37770 * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
37771
37772 2014-07-02 Roland McGrath <roland@hack.frob.com>
37773
37774 * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
37775
37776 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37777
37778 * intl/loadmsgcat.c: Remove declaration of
37779 get_sysdep_segment_value.
37780 (get_sysdep_segment_value): Use ISO C style.
37781 (_nl_load_domain): Use ISO C style. Get rid of redundant
37782 semicolon. Fix typo and formatting in comment.
37783 (_nl_unload_domain): Use ISO C style.
37784
37785 * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
37786
37787 2014-07-02 Will Newton <will.newton@linaro.org>
37788
37789 * malloc/obstack.c: Merge from gnulib master.
37790 [HAVE_CONFIG_H]: Remove conditional code.
37791 [!_LIBC]: Include config.h.
37792 [!ELIDE_CODE]: Don't include inttypes.h, include
37793 stdint.h unconditionally.
37794 (print_and_abort): Mark as _Noreturn.
37795 (_obstack_allocated_p): Mark as __attribute_pure__.
37796 (obstack_free): Rename to __obstack_free.
37797 [!__attribute__]: Remove conditional code.
37798 * malloc/obstack.h: Merge from gnulib master.
37799 [__cplusplus]: Move conditional down.
37800 [!__attribute_pure__]: Define __attribute_pure__ here
37801 if it is not already defined.
37802 (_obstack_memory_used): Mark as __attribute_pure__.
37803 [!__obstack_free]: Define as obstack_free.
37804 [__GNUC__]: Remove check for ancient NeXT gcc.
37805
37806 2014-07-02 Will Newton <will.newton@linaro.org>
37807 Paul Eggert <eggert@cs.ucla.edu>
37808
37809 * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
37810
37811 2014-07-02 Siddhesh Poyarekar <siddhesh@redhat.com>
37812
37813 * resolv/gethnamaddr.c: Add comment warning that the file is
37814 not maintained.
37815
37816 2014-07-01 Carlos O'Donell <carlos@redhat.com>
37817
37818 * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
37819 entries.
37820
37821 * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
37822 entry for aio_cancel and aio_cancel64.
37823 * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
37824 * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
37825 * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
37826 * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
37827 * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
37828 * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
37829 * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
37830 * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
37831 * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
37832 * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
37833 * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
37834 * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
37835 * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
37836
37837 2014-07-01 Roland McGrath <roland@hack.frob.com>
37838
37839 * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
37840 * nptl/pthread_mutex_lock.c: Likewise.
37841 * nptl/pthread_mutex_timedlock.c: Likewise.
37842 * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
37843
37844 2014-07-01 Richard henderson <rth@redhat.com>
37845
37846 * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
37847 (__isnan, __isnanl): Remove.
37848 * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
37849
37850 * sysdeps/alpha/fpu/libm-test-ulps: Update.
37851
37852 2014-07-01 Stefan Liebler <stli@linux.vnet.ibm.com>
37853
37854 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
37855
37856 2014-07-01 Siddhesh Poyarekar <siddhesh@redhat.com>
37857
37858 * resolv/nss_dns/dns-host.c (getanswer_r)
37859 [MULTI_PTRS_ARE_ALIASES]: Remove code.
37860
37861 2014-07-01 Joseph Myers <joseph@codesourcery.com>
37862
37863 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
37864 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
37865 undefine.
37866 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
37867 [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
37868
37869 2014-07-01 Roland McGrath <roland@hack.frob.com>
37870
37871 * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
37872 * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
37873
37874 * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
37875 * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
37876
37877 * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
37878 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
37879 ... here.
37880 * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
37881 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
37882
37883 * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
37884 * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
37885 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
37886 * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
37887
37888 * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
37889 * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
37890 * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
37891 * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
37892 * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
37893 Moved ...
37894 * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
37895 ... here.
37896 * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
37897 * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
37898 * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
37899 * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
37900 * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
37901 * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
37902 * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
37903 * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
37904 * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
37905 * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
37906 * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
37907 * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
37908 * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
37909 * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
37910 * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
37911 * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
37912 * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
37913 * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
37914 * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
37915 * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
37916 ... here.
37917 * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
37918 * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
37919 * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
37920 * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
37921 * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
37922 * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
37923 * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
37924 * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
37925
37926 2014-07-01 David Holsgrove <david.holsgrove@xilinx.com>
37927
37928 * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
37929 * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
37930 * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
37931 Add sysdep.
37932
37933 2014-06-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
37934
37935 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
37936
37937 2014-06-30 Joseph Myers <joseph@codesourcery.com>
37938
37939 * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
37940 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
37941
37942 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
37943
37944 * sysdeps/arm/libm-test-ulps: Regenerated.
37945
37946 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
37947 Roland McGrath <roland@hack.frob.com>
37948
37949 * test-skeleton.c (signal_handler): Kill the whole process group
37950 before killing the child individually.
37951 (main): Report any failure on `setpgid'.
37952
37953 2014-06-30 Roland McGrath <roland@hack.frob.com>
37954
37955 * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
37956 from _TLS_H to _ARM_NPTL_TLS_H.
37957 (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
37958 * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
37959
37960 2014-06-30 Joseph Myers <joseph@codesourcery.com>
37961
37962 [BZ #16539]
37963 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
37964 (__expm1l): Return argument unchanged when small but not
37965 subnormal.
37966
37967 * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
37968 include macro name.
37969 (_FP_UNPACK_RAW_1_P): Likewise.
37970 (_FP_PACK_RAW_1): Likewise.
37971 (_FP_PACK_RAW_1_P): Likewise.
37972 (_FP_MUL_MEAT_1_wide): Likewise.
37973 (_FP_MUL_MEAT_DW_1_hard): Likewise.
37974 (_FP_MUL_MEAT_1_hard): Likewise.
37975 (_FP_DIV_MEAT_1_imm): Likewise.
37976 (_FP_DIV_MEAT_1_udiv_norm): Likewise.
37977 (_FP_DIV_MEAT_1_udiv): Likewise.
37978 * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
37979 (_FP_UNPACK_RAW_2): Likewise.
37980 (_FP_UNPACK_RAW_2_P): Likewise.
37981 (_FP_PACK_RAW_2): Likewise.
37982 (_FP_PACK_RAW_2_P): Likewise.
37983 (_FP_MUL_MEAT_DW_2_wide): Likewise.
37984 (_FP_MUL_MEAT_2_wide): Likewise.
37985 (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
37986 (_FP_MUL_MEAT_2_wide_3mul): Likewise.
37987 (_FP_MUL_MEAT_DW_2_gmp): Likewise.
37988 (_FP_MUL_MEAT_2_gmp): Likewise.
37989 (_FP_DIV_MEAT_2_udiv): Likewise.
37990 * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
37991 (_FP_FRAC_SRL_4): Likewise.
37992 (_FP_FRAC_SRST_4): Likewise.
37993 (_FP_FRAC_SRS_4): Likewise.
37994 (_FP_UNPACK_RAW_4): Likewise.
37995 (_FP_UNPACK_RAW_4_P): Likewise.
37996 (_FP_PACK_RAW_4): Likewise.
37997 (_FP_PACK_RAW_4_P): Likewise.
37998 (_FP_MUL_MEAT_DW_4_wide): Likewise.
37999 (_FP_MUL_MEAT_4_wide): Likewise.
38000 (_FP_MUL_MEAT_4_gmp): Likewise.
38001 (umul_ppppmnnn): Likewise.
38002 (_FP_DIV_MEAT_4_udiv): Likewise.
38003 (__FP_FRAC_ADD_4): Likewise.
38004 (__FP_FRAC_SUB_3): Likewise.
38005 (__FP_FRAC_SUB_4): Likewise.
38006 (__FP_FRAC_DEC_3): Likewise.
38007 (__FP_FRAC_DEC_4): Likewise.
38008 (__FP_FRAC_ADDI_4): Likewise.
38009 * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
38010 (_FP_FRAC_SRL_8): Likewise.
38011 (_FP_FRAC_SRS_8): Likewise.
38012
38013 * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
38014 include macro name.
38015 (FP_UNPACK_RAW_EP): Likewise.
38016 (FP_PACK_RAW_E): Likewise.
38017 (FP_PACK_RAW_EP): Likewise.
38018 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
38019 (_FP_ISSIGNAN): Likewise.
38020 (_FP_ADD_INTERNAL): Likewise.
38021 (_FP_FMA): Likewise.
38022 (_FP_CMP): Likewise.
38023 (_FP_SQRT): Likewise.
38024 (_FP_TO_INT): Likewise.
38025 (_FP_FROM_INT): Likewise.
38026 (FP_EXTEND): Likewise.
38027 (_FP_DIV_MEAT_N_loop): Likewise.
38028
38029 2014-06-30 Maciej W. Rozycki <macro@codesourcery.com>
38030
38031 * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
38032 throughout.
38033
38034 2014-06-29 Joseph Myers <joseph@codesourcery.com>
38035
38036 [BZ #17097]
38037 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
38038 result with correct sign in case of exponents that produce
38039 overflow except for X very close to 1.
38040
38041 2014-06-28 Paul Eggert <eggert@cs.ucla.edu>
38042
38043 mktime: merge #if/#ifdef usage from glibc
38044 * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
38045 as that works with both Glibc's and Gnulib's style.
38046 See thread starting at Siddhesh Poyarekar's bug report at:
38047 http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
38048
38049 2014-06-28 Siddhesh Poyarekar <siddhesh@redhat.com>
38050
38051 * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
38052 * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
38053 * sysdeps/tile/tilegx/memmove.c: Remove file.
38054
38055 2014-06-27 Joseph Myers <joseph@codesourcery.com>
38056
38057 * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
38058 abi-name definition.
38059 * scripts/soversions.awk: Do not handle or generate ABI lines.
38060 * shlib-versions: Remove ABI entries.
38061 * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
38062 * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
38063
38064 2014-06-27 Roland McGrath <roland@hack.frob.com>
38065
38066 * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
38067 * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
38068 * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
38069 * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
38070 * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
38071 * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
38072 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
38073 Moved ...
38074 * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
38075 ... here.
38076 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
38077 * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
38078 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
38079 * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
38080 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
38081 * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
38082 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
38083 * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
38084 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
38085 * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
38086 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
38087 * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
38088 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
38089 Moved ...
38090 * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
38091 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
38092 * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
38093 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
38094 * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
38095 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
38096 Moved ...
38097 * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
38098 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
38099 Moved ...
38100 * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
38101 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
38102 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
38103 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
38104 Moved ...
38105 * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
38106 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
38107 * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
38108 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
38109 * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
38110 * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
38111 * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
38112 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
38113 Moved ...
38114 * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
38115 * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
38116 * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
38117 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
38118 Moved ...
38119 * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
38120 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
38121 Moved ...
38122 * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
38123 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
38124 * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
38125 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
38126 Moved ...
38127 * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
38128 ... here.
38129 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
38130 Identical file removed.
38131 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
38132 Moved ...
38133 * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
38134 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
38135 Identical file removed.
38136 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
38137 * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
38138 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
38139 Moved ...
38140 * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
38141 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
38142 Identical file removed.
38143 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
38144 * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
38145 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
38146 Identical file removed.
38147 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
38148 * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
38149 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
38150 Identical file removed.
38151 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
38152 * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
38153 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
38154 Identical file removed.
38155 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
38156 Moved ...
38157 * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
38158 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
38159 Identical file removed.
38160 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
38161 Moved ...
38162 * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
38163 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
38164 * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
38165 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
38166 Identical file removed.
38167 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
38168 Moved ...
38169 * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
38170 ... here.
38171 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
38172 Identical file removed.
38173 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
38174 Moved ...
38175 * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
38176 * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
38177 Identical file removed.
38178 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
38179 Moved ...
38180 * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
38181 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
38182 * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
38183 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
38184 * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
38185 * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
38186 Moved ...
38187 * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
38188 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
38189 * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
38190
38191 * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
38192 SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
38193 * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
38194 * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
38195 * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
38196
38197 2014-06-27 Arjun Shankar <arjun.is@lostca.se>
38198
38199 [BZ #17092]
38200 * nscd/nscd.c (monitor_child): Return exit status of child
38201 instead of return value from wait syscall.
38202
38203 2014-06-27 Joseph Myers <joseph@codesourcery.com>
38204
38205 * configure.ac (libc_commonpagesize): Remove variable.
38206 (libc_relro_required): Likewise.
38207 (libc_cv_z_relro): Remove configure test.
38208 * configure: Regenerated.
38209 * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
38210 variable.
38211 (libc_relro_required): Likewise.
38212 * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
38213 (libc_relro_required): Likewise.
38214 * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
38215 (libc_relro_required): Likewise.
38216 * sysdeps/arm/preconfigure: Regenerated.
38217 * sysdeps/ia64/preconfigure: Remove file.
38218 * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
38219 variable.
38220 (libc_relro_required): Likewise.
38221
38222 [BZ #16561]
38223 [BZ #16562]
38224 * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
38225 (__ieee754_yn): Set FE_TONEAREST mode internally and then
38226 recompute overflowing results in original rounding mode.
38227 * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
38228 (__ieee754_ynf): Set FE_TONEAREST mode internally and then
38229 recompute overflowing results in original rounding mode.
38230 * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
38231 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
38232 recompute overflowing results in original rounding mode.
38233 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
38234 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
38235 recompute overflowing results in original rounding mode.
38236 * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
38237 (__ieee754_ynl): Set FE_TONEAREST mode internally and then
38238 recompute overflowing results in original rounding mode.
38239 * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
38240 (libc_feholdsetround_ctx): New macro.
38241 * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
38242 * sysdeps/i386/fpu/libm-test-ulps: Update.
38243 * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
38244
38245 2014-06-26 Joseph Myers <joseph@codesourcery.com>
38246
38247 * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
38248 [__PIC__] (PSEUDO): Use name of _nocancel entry point in
38249 corresponding .cpsetup call.
38250
38251 2014-06-26 Roland McGrath <roland@hack.frob.com>
38252
38253 * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
38254 * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
38255 * sysdeps/arm/Makefile [$(subdir) = csu]
38256 (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
38257 (static-only-routines): Add aeabi_read_tp here.
38258 (shared-only-routines): Add libc-aeabi_read_tp here.
38259 (CFLAGS-libc-start.c): Add -fexceptions here.
38260 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
38261 (sysdep_routines, static-only-routines, shared-only-routines):
38262 Don't add to these here.
38263 (CFLAGS-libc-start.c): Likewise.
38264
38265 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
38266 * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
38267 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
38268 * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
38269 * sysdeps/arm/Makefile [$(subdir) = rt]
38270 (librt-sysdep_routines, librt-shared-only-routines):
38271 Append rt-aeabi_unwind_cpp_pr1 here.
38272 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
38273 (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
38274 * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
38275 (libpthread-sysdep_routines, libpthread-shared-only-routines):
38276 Append nptl-aeabi_unwind_cpp_pr1 here.
38277 (tests): Filter out tst-cleanupx4 here.
38278 * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
38279 (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
38280 Don't do those here.
38281
38282 2014-06-26 Joseph Myers <joseph@codesourcery.com>
38283
38284 * scripts/list-sources.sh: Do not handle ports specially.
38285
38286 2014-06-26 Roland McGrath <roland@hack.frob.com>
38287
38288 * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
38289 * sysdeps/arm/feupdateenv.c: Likewise.
38290
38291 * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
38292
38293 2014-06-26 Joseph Myers <joseph@codesourcery.com>
38294
38295 * manual/texinfo.tex: Update to version 2014-05-05.10 with
38296 trailing whitespace removed.
38297 * scripts/config.guess: Update to version 2014-03-23.
38298 * scripts/config.sub: Update to version 2014-05-01
38299 * scripts/install-sh: Update to version 2013-12-25.23.
38300 * scripts/move-if-change: Update from gnulib.
38301
38302 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38303
38304 * debug/memmove_chk.c: Remove pagecopy.h include.
38305
38306 2014-06-26 Paul Eggert <eggert@cs.ucla.edu>
38307
38308 * time/mktime.c (leapyear): Remove inline keyword. The code is now
38309 identical to gnulib mktime.
38310
38311 2014-06-26 Joseph Myers <joseph@codesourcery.com>
38312
38313 * configure.ac: Do not test for machine being rs6000. Do not test
38314 for powerpc*-*soft.
38315 * configure: Regenerated.
38316
38317 [BZ #11505]
38318 * configure.ac (libc_cv_asm_cfi_directives): Remove configure
38319 test.
38320 * configure: Regenerated.
38321 * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
38322 * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
38323 Remove configure test.
38324 * sysdeps/arm/configure: Regenerated.
38325 * sysdeps/nptl/configure.ac: Do not check
38326 libc_cv_asm_cfi_directives.
38327 * sysdeps/nptl/configure: Regenerated.
38328 * sysdeps/x86_64/nptl/configure.ac: Remove file.
38329 * sysdeps/x86_64/nptl/configure: Remove generated file.
38330 * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
38331 unconditional.
38332 [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
38333
38334 2014-06-26 Siddhesh Poyarekar <siddhesh@redhat.com>
38335
38336 * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
38337 * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
38338 (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
38339 it is defined.
38340
38341 * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
38342 instead of whether it is defined.
38343 * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
38344 * sysdeps/hppa/dl-machine.h: Likewise.
38345 * sysdeps/ia64/dl-machine.h: Likewise.
38346 * sysdeps/m68k/dl-machine.h: Likewise.
38347 * sysdeps/microblaze/dl-machine.h: Likewise.
38348 * sysdeps/mips/dl-machine.: Likewise.
38349 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
38350 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
38351 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
38352 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
38353 * sysdeps/sh/dl-machine.h: Likewise.
38354 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
38355 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
38356 * sysdeps/tile/dl-machine.h: Likewise.
38357 * sysdeps/x86_64/dl-machine.h: Likewise.
38358
38359 * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
38360 code.
38361 (verify_persistent_db): Likewise.
38362
38363 2014-06-26 Roland McGrath <roland@hack.frob.com>
38364
38365 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
38366 * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
38367 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
38368 * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
38369 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
38370 Moved ...
38371 * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
38372 ... here.
38373 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
38374 * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
38375 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
38376 Identical file removed.
38377 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
38378 * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
38379 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
38380 * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
38381 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
38382 * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
38383 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
38384 * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
38385 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
38386 * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
38387 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
38388 Moved ...
38389 * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
38390 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
38391 * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
38392 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
38393 * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
38394 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
38395 Moved ...
38396 * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
38397 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
38398 * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
38399 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
38400 * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
38401 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
38402 Identical file removed.
38403 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
38404 * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
38405 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
38406 * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
38407 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
38408 Moved ...
38409 * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
38410 ... here.
38411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
38412 * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
38413 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
38414 * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
38415 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
38416 * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
38417 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
38418 * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
38419 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
38420 * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
38421 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
38422 Moved ...
38423 * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
38424 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
38425 Moved ...
38426 * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
38427 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
38428 * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
38429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
38430 Moved ...
38431 * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
38432 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
38433 * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
38434
38435 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
38436 folded into ...
38437 * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
38438 * sysdeps/unix/sysv/linux/s390/Versions
38439 (libpthread: GLIBC_2.19): New version set.
38440 * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
38441 * sysdeps/unix/sysv/linux/s390/s390-64/Versions
38442 (librt: GLIBC_2.3.3): New version set.
38443 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
38444 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
38445 * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
38446 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
38447 * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
38448 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
38449 * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
38450 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
38451 * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
38452 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
38453 * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
38454 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
38455 * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
38456 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
38457 * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
38458 * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
38459 * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
38460 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
38461 * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
38462 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
38463 * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
38464 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
38465 * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
38466 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
38467 * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
38468 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
38469 * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
38470 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
38471 * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
38472 * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
38473 * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
38474 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
38475 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
38476 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
38477 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
38478 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
38479 * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
38480 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
38481 * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
38482 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
38483 * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
38484 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
38485 * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
38486 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
38487 * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
38488
38489 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
38490 * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
38491 (__libc_vfork): Define the function under this name.
38492 [!NOT_IN_libc] (__vfork): Make this an alias.
38493 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38494 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
38495 * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
38496 (__libc_vfork): Define the function under this name.
38497 [!NOT_IN_libc] (__vfork): Make this an alias.
38498 [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
38499 * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
38500 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
38501 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
38502 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
38503 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
38504
38505 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
38506 code that was previously under [RESET_PID].
38507 * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
38508 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
38509 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
38510
38511 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
38512 * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
38513 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
38514 * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
38515 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
38516 * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
38517 * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
38518 * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
38519 * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
38520 * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
38521 * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
38522 Moved ...
38523 * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
38524 * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
38525 * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
38526 * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
38527 * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
38528 * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
38529 * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
38530 * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
38531 * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
38532 * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
38533 * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
38534 * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
38535 * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
38536 * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
38537 * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
38538 * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
38539 * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
38540 * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
38541 * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
38542 * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
38543 * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
38544 * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
38545 * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
38546 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
38547 * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
38548 * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
38549 * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
38550 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
38551 * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
38552
38553 2014-06-25 Roland McGrath <roland@hack.frob.com>
38554
38555 * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
38556 that was previously under [RESET_PID].
38557 * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
38558
38559 2014-06-25 Joseph Myers <joseph@codesourcery.com>
38560
38561 * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
38562 not undefine and redefine.
38563 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
38564 [O_CLOEXEC]: Make code unconditional.
38565 (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
38566 * sysdeps/unix/sysv/linux/shm_open.c: Do not include
38567 <kernel-features.h>.
38568 [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
38569 conditional variable definition.
38570 (shm_open) [O_CLOEXEC]: Make code unconditional.
38571 (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
38572 code.
38573
38574 * configure.ac (USE_REGPARMS): Don't define here.
38575 * configure: Regenerated.
38576 * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
38577 * sysdeps/i386/configure: Regenerated.
38578
38579 * nptl/createthread.c: Don't include kernel-features.h.
38580 * nptl/pthread_cancel.c: Likewise.
38581 * nptl/pthread_condattr_setclock.c: Likewise.
38582 * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
38583 * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
38584 * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
38585 * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
38586 * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
38587 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
38588 * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
38589 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
38590 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
38591 * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
38592 * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
38593 * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
38594 * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
38595 * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
38596 * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
38597 * nscd/gai.c: Likewise.
38598 * nss/nss_db/db-open.c: Likewise.
38599 * sysdeps/generic/ldsodefs.h: Likewise.
38600 * sysdeps/sh/nptl/tls.h: Likewise.
38601 * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
38602 * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
38603 * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
38604 * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
38605 * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
38606 * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
38607 * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
38608 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
38609 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
38610 * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
38611 * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
38612 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
38613 * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
38614 * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
38615 * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
38616 * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
38617 * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
38618 * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
38619 * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
38620 * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
38621 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
38622 * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
38623 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
38624 * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
38625 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
38626 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
38627 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
38628 * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
38629 * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
38630 * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
38631 * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
38632 * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
38633 * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
38634 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
38635 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
38636 * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
38637 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
38638 * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
38639 * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
38640 * sysdeps/unix/sysv/linux/if_index.c: Likewise.
38641 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
38642 * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
38643 * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
38644 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
38645 * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
38646 * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
38647 * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
38648 * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
38649 * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
38650 * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
38651 * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
38652 * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
38653 * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
38654 * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
38655 * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
38656 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
38657 * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
38658 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
38659 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
38660 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
38661 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
38662 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
38663 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
38664 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
38665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
38666 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
38667 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
38668 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
38669 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
38670 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
38671 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
38672 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
38673 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
38674 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
38675 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
38676 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
38677 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
38678 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
38679 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
38680 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
38681 * sysdeps/unix/sysv/linux/pread.c: Likewise.
38682 * sysdeps/unix/sysv/linux/pread64.c: Likewise.
38683 * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
38684 * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
38685 * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
38686 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
38687 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
38688 * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
38689 * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
38690 * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
38691 * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
38692 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
38693 * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
38694 * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
38695 * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
38696 * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
38697 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
38698 * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
38699 * sysdeps/unix/sysv/linux/syslog.c: Likewise.
38700 * sysdeps/unix/sysv/linux/system.c: Likewise.
38701 * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
38702 * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
38703 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
38704 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
38705 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
38706 * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
38707 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
38708
38709 * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
38710 * configure: Regenerated.
38711 * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
38712
38713 * configure.ac (base_machine): Do not set specially for particular
38714 machines here.
38715 * configure: Regenerated.
38716 * sysdeps/powerpc/preconfigure: Move machine and base_machine
38717 settings from configure.ac.
38718 * sysdeps/i386/preconfigure: New file.
38719 * sysdeps/s390/preconfigure: Likewise.
38720 * sysdeps/sh/preconfigure: Likewise.
38721 * sysdeps/sparc/preconfigure: Likewise.
38722
38723 2014-06-25 Roland McGrath <roland@hack.frob.com>
38724
38725 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
38726 * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
38727 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
38728 * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
38729 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
38730 * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
38731 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
38732 * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
38733 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
38734 * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
38735 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
38736 * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
38737 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
38738 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
38739 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
38740 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
38741 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
38742 * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
38743 * sysdeps/sparc/sparc64/Makefile: ... appended here.
38744
38745 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
38746 * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
38747 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
38748 * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
38749 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
38750 * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
38751 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
38752 * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
38753 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
38754 * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
38755 * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
38756 * sysdeps/sparc/sparc32/sem_post.c: ... here.
38757 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
38758 * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
38759 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
38760 * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
38761 * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
38762 * sysdeps/sparc/sparc32/sem_wait.c: ... here.
38763 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
38764 * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
38765 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
38766 * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
38767 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
38768 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
38769 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
38770 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
38771 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
38772 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
38773 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
38774 * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
38775 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
38776 * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
38777 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
38778 * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
38779 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
38780 * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
38781 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
38782 * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
38783
38784 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
38785 * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
38786 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
38787 * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
38788 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
38789 Moved ...
38790 * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
38791 ... here.
38792 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
38793 * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
38794 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
38795 * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
38796 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
38797 Moved ...
38798 * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
38799 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
38800 * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
38801 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
38802 * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
38803 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
38804 * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
38805 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
38806 Moved ...
38807 * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
38808 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
38809 Moved ...
38810 * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
38811 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
38812 * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
38813 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
38814 Moved ...
38815 * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
38816 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
38817 * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
38818 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
38819 * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
38820 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
38821 * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
38822 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
38823 * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
38824 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
38825 Moved ...
38826 * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
38827 ... here.
38828 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
38829 * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
38830 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
38831 * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
38832 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
38833 Moved ...
38834 * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
38835 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
38836 * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
38837 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
38838 * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
38839 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
38840 * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
38841 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
38842 Moved ...
38843 * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
38844 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
38845 Moved ...
38846 * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
38847 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
38848 * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
38849 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
38850 Moved ...
38851 * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
38852 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
38853 * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
38854 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
38855 * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
38856
38857 2014-06-25 Joseph Myers <joseph@codesourcery.com>
38858
38859 * timezone/checktab.awk: Update from tzcode 2014e.
38860 * timezone/private.h: Likewise.
38861 * timezone/tzfile.h: Likewise.
38862 * timezone/zdump.c: Likewise.
38863 * timezone/zic.c: Likewise.
38864
38865 * sysdeps/unix/sysv/linux/kernel-features.h
38866 (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
38867 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
38868 [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
38869 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
38870 Remove conditional code.
38871
38872 2014-06-25 Will Newton <will.newton@linaro.org>
38873
38874 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
38875 (_dl_arm_cap_flags): Add HWCAP2 values.
38876 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
38877 (_DL_HWCAP_COUNT): Increase to 37.
38878 (_DL_HWCAP_LAST): New define.
38879 (_DL_HWCAP2_LAST): New define.
38880 (_dl_procinfo): Add support for printing
38881 AT_HWCAP2 entries.
38882 (_dl_string_hwcap): Use _dl_hwcap_string.
38883
38884 2014-06-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
38885
38886 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
38887
38888 2014-06-25 Joseph Myers <joseph@codesourcery.com>
38889
38890 * README: Do not mention ports directory.
38891
38892 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
38893 Remove macro.
38894 * sysdeps/unix/sysv/linux/futimes.c: Do not include
38895 <kernel-features.h>.
38896 [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
38897 conditional variable definition.
38898 (__futimes): Update comment.
38899 (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
38900 (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
38901
38902 [BZ #16560]
38903 * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
38904 arguments close to 0.
38905 * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
38906 Likewise.
38907 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
38908 Likewise.
38909 * math/auto-libm-test-in: Add more tests of exp10.
38910 * math/auto-libm-test-out: Regenerated.
38911 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
38912
38913 * sysdeps/unix/sysv/linux/kernel-features.h
38914 (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
38915 * sysdeps/unix/sysv/linux/readv.c: Do not include
38916 <kernel-features.h>.
38917 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38918 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38919 (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38920 unconditional.
38921 (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38922 conditional code.
38923 * sysdeps/unix/sysv/linux/writev.c: Do not include
38924 <kernel-features.h>.
38925 [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
38926 [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
38927 (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
38928 unconditional.
38929 (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
38930 conditional code.
38931
38932 2014-06-25 Will Newton <will.newton@linaro.org>
38933
38934 * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
38935 comment changes throughout the file. Remove checks
38936 for HAVE_*_H definitions that are not required.
38937 (__gen_tempname): Call abort if an unknown kind value is
38938 passed.
38939
38940 2014-06-25 Andreas Schwab <schwab@suse.de>
38941
38942 [BZ #17086]
38943 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
38944 scalbln, scalblnf, scalblnl in libc.
38945
38946 2014-06-25 Siddhesh Poyarekar <siddhesh@redhat.com>
38947
38948 [BZ #17086]
38949 * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
38950 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
38951 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
38952
38953 2014-06-24 Roland McGrath <roland@hack.frob.com>
38954
38955 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
38956 * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
38957 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
38958 * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
38959 Update #include.
38960 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
38961 * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
38962 Update #include.
38963 * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
38964 * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
38965 * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
38966 * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
38967 * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
38968 * sysdeps/x86/bits/pthreadtypes.h: ... here.
38969 * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
38970 * sysdeps/x86/bits/semaphore.h: ... here.
38971 * sysdeps/x86/nptl/elide.h: Moved ...
38972 * sysdeps/x86/elide.h: ... here.
38973 * sysdeps/x86_64/nptl/Implies: File removed.
38974 * sysdeps/i386/nptl/Implies: File removed.
38975
38976 2014-06-24 Joseph Myers <joseph@codesourcery.com>
38977
38978 [BZ #16539]
38979 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
38980 return the argument for normal arguments with exponent below -64.
38981 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
38982 Likewise.
38983 * math/auto-libm-test-in: Add another test of expm1.
38984 * math/auto-libm-test-out: Regenerated.
38985
38986 [BZ #16287]
38987 * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
38988 calling __erfcl for arguments at least 16.
38989 * math/auto-libm-test-in: Add more tests of erf.
38990 * math/auto-libm-test-out: Regenerated.
38991
38992 * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
38993 individual architectures.
38994 * sysdeps/unix/sysv/linux/configure: Regenerated.
38995 * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
38996 * sysdeps/unix/sysv/linux/i386/configure: New generated file.
38997 * sysdeps/unix/sysv/linux/powerpc/configure.ac
38998 (ldd_rewrite_script): Define variable.
38999 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
39000 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
39001 file.
39002 * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
39003 generated file.
39004 * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
39005 * sysdeps/unix/sysv/linux/s390/configure: New generated file.
39006 * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
39007 * sysdeps/unix/sysv/linux/sh/configure: New generated file.
39008 * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
39009 * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
39010 * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
39011 * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
39012
39013 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39014
39015 [BZ #17084]
39016 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
39017 Rename member __data.d to __data.__elision_data.
39018
39019 2014-06-24 Wilco <wdijkstr@arm.com>
39020
39021 * NEWS: Add 16918 to fixed bug list.
39022
39023 2014-06-24 Wilco <wdijkstr@arm.com>
39024
39025 * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
39026
39027 2014-06-24 Wilco <wdijkstr@arm.com>
39028
39029 * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
39030 * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
39031 (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
39032 (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
39033 (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
39034 * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
39035 * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
39036 Use _FPU_MASK_RM.
39037
39038 2014-06-24 Wilco <wdijkstr@arm.com>
39039
39040 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
39041
39042 2014-06-24 Wilco <wdijkstr@arm.com>
39043
39044 * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
39045 * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
39046 * sysdeps/arm/fesetround.c (fesetround): Remove space.
39047 * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
39048
39049 2014-06-24 Wilco <wdijkstr@arm.com>
39050
39051 [BZ #16918]
39052 * sysdeps/arm/feupdateenv.c (feupdateenv):
39053 Rewrite to reduce FPSCR accesses and fix return value.
39054
39055 2014-06-24 Wilco <wdijkstr@arm.com>
39056
39057 * sysdeps/arm/fclrexcpt.c (feclearexcept):
39058 Optimize to avoid unnecessary FPSCR writes.
39059 * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
39060 * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
39061 * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
39062 * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
39063
39064 2014-06-24 Wilco <wdijkstr@arm.com>
39065
39066 * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
39067 * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
39068 * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
39069 * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
39070 Call libc_fetestexcept_vfp.
39071 * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
39072 * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
39073 __SOFTFP__ ifdef so that they can be built for softfp.
39074
39075 2014-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
39076
39077 * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
39078 argument type signed char.
39079
39080 * Makerules (check-abi): Dump diff of symlist if the test
39081 fails.
39082
39083 2014-06-23 Roland McGrath <roland@hack.frob.com>
39084
39085 * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
39086 using abort.
39087
39088 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
39089 Remove unused variable ST.
39090
39091 2014-06-23 Joseph Myers <joseph@codesourcery.com>
39092
39093 [BZ #16354]
39094 [BZ #17061]
39095 * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
39096 small arguments before calling __expm1.
39097 * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
39098 small arguments before calling __expm1f.
39099 * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
39100 small arguments before calling __expm1l.
39101 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
39102 Likewise.
39103 * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
39104 * math/auto-libm-test-in: Add more cosh tests. Do not allow
39105 spurious underflow for some cosh tests.
39106 * math/auto-libm-test-out: Regenerated.
39107 * sysdeps/i386/fpu/libm-test-ulps: Update.
39108
39109 [BZ #17050]
39110 * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
39111 (__ieee754_y1): Set errno if return value overflows.
39112 * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
39113 (__ieee754_y1f): Set errno if return value overflows.
39114 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
39115 (__ieee754_y1l): Set errno if return value overflows.
39116 * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
39117 (__ieee754_y1l): Set errno if return value overflows.
39118 * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
39119 * math/auto-libm-test-out: Regenerated.
39120
39121 * math/gen-auto-libm-tests.c: Document use of
39122 ignore-zero-inf-sign.
39123 (input_flag_type): Add value flag_ignore_zero_inf_sign.
39124 (input_flags): Add ignore-zero-inf-sign.
39125 (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
39126 * math/gen-libm-test.pl (generate_testfile): Handle
39127 ignore-zero-inf-sign.
39128 * math/auto-libm-test-in: Mark some cpow tests with
39129 ignore-zero-inf-sign and some with xfail-rounding.
39130 * math/auto-libm-test-out: Regenerated.
39131 * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
39132 * sysdeps/i386/fpu/libm-test-ulps: Update.
39133 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39134
39135 [BZ #16315]
39136 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
39137 overflowing or underflowing operations take place with sign of
39138 result.
39139 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
39140 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
39141 * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
39142 (__ieee754_pow): Recompute overflowing and underflowing results in
39143 original rounding mode.
39144 * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
39145 (__powl_helper): Allow negative argument X and scale negated value
39146 as needed. Avoid passing value outside [-1, 1] to f2xm1.
39147 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
39148 overflowing or underflowing operations take place with sign of
39149 result.
39150 * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
39151 Include <math.h>.
39152 * math/auto-libm-test-in: Add more tests of pow.
39153 * math/auto-libm-test-out: Regenerated.
39154 * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
39155 (pow_tonearest_test_data): Remove.
39156 (pow_test_tonearest): Likewise.
39157 (pow_towardzero_test_data): Likewise.
39158 (pow_test_towardzero): Likewise.
39159 (pow_downward_test_data): Likewise.
39160 (pow_test_downward): Likewise.
39161 (pow_upward_test_data): Likewise.
39162 (pow_test_upward): Likewise.
39163 (main): Don't call removed functions.
39164 * sysdeps/i386/fpu/libm-test-ulps: Update.
39165 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
39166
39167 2014-06-23 Roland McGrath <roland@hack.frob.com>
39168
39169 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
39170 Moved ...
39171 * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
39172 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
39173 Moved ...
39174 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
39175 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
39176 Moved ...
39177 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
39178 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
39179 Moved ...
39180 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
39181 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
39182 File removed.
39183 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
39184 File removed.
39185 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
39186 File removed.
39187 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
39188 File removed.
39189 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
39190 File removed.
39191 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
39192 File removed.
39193 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
39194 File removed.
39195 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
39196 File removed.
39197 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
39198 File removed.
39199 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
39200 File removed.
39201 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
39202 File removed.
39203 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
39204 File removed.
39205 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
39206 Moved ...
39207 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
39208 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
39209 Moved ...
39210 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
39211 ... here.
39212 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
39213 Moved ...
39214 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
39215 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
39216 Moved ...
39217 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
39218 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
39219 Moved ...
39220 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
39221 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
39222 Moved ...
39223 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
39224 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
39225 Moved ...
39226 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
39227 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
39228 Moved ...
39229 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
39230 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
39231 Moved ...
39232 * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
39233 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
39234 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
39235 ... here.
39236 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
39237 Moved ...
39238 * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
39239 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
39240 Moved ...
39241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
39242 ... here.
39243 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
39244 Moved ...
39245 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
39246 ... here.
39247 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
39248 Moved ...
39249 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
39250 ... here.
39251 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
39252 Moved ...
39253 * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
39254 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
39255 Moved ...
39256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
39257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
39258 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
39259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
39260 Moved ...
39261 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
39262 ... here.
39263 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
39264 Moved ...
39265 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
39266 ... here.
39267 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
39268 Moved ...
39269 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
39270 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
39271 Moved ...
39272 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
39273 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
39274 Moved ...
39275 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
39276 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
39277 Moved ...
39278 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
39279 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
39280 Moved ...
39281 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
39282 ... here.
39283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
39284 Moved ...
39285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
39286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
39287 Moved ...
39288 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
39289 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
39290 Moved ...
39291 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
39292 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
39293 Moved ...
39294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
39295 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
39296 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
39297 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
39298 Moved ...
39299 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
39300 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
39301 Moved ...
39302 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
39303 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
39304 Moved ...
39305 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
39306 ... here.
39307 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
39308 Moved ...
39309 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
39310 ... here.
39311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
39312 Moved ...
39313 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
39314 ... here.
39315 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
39316 Moved ...
39317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
39318 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
39319 Moved ...
39320 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
39321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
39322 Moved ...
39323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
39324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
39325 Moved ...
39326 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
39327 ... here.
39328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
39329 Moved ...
39330 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
39331 ... here.
39332 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
39333 Moved ...
39334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
39335 ... here.
39336 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
39337 Moved ...
39338 * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
39339 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
39340 Moved ...
39341 * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
39342
39343 2014-06-23 Will Newton <will.newton@linaro.org>
39344 Wilco <wdijkstr@arm.com>
39345
39346 * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
39347 implementation. Include get-rounding-mode.h.
39348 [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
39349 [!libc_feholdsetround_noex_ctx]: Define
39350 libc_feholdsetround_noex_ctx.
39351 [!libc_feholdsetround_noexf_ctx]: Define
39352 libc_feholdsetround_noexf_ctx.
39353 [!libc_feholdsetround_noexl_ctx]: Define
39354 libc_feholdsetround_noexl_ctx.
39355 (libc_feholdsetround_ctx): New function.
39356 (libc_feresetround_ctx): New function.
39357 (libc_feholdsetround_noex_ctx): New function.
39358 (libc_feresetround_noex_ctx): New function.
39359
39360 2014-06-23 Roland McGrath <roland@hack.frob.com>
39361
39362 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
39363 * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
39364 * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
39365 * sysdeps/mips/nptl/bits/semaphore.h: ... here.
39366 * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
39367 * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
39368
39369 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
39370 * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
39371 * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
39372 * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
39373 * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
39374 * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
39375 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
39376 * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
39377 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
39378 * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
39379 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
39380 Moved ...
39381 * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
39382 ... here.
39383 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
39384 * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
39385 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
39386 * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
39387 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
39388 Moved ...
39389 * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
39390 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
39391 * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
39392 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
39393 * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
39394 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
39395 * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
39396 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
39397 Moved ...
39398 * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
39399 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
39400 Moved ...
39401 * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
39402 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
39403 * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
39404 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
39405 Moved ...
39406 * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
39407 * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
39408 * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
39409 * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
39410 * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
39411 * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
39412 * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
39413 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
39414 * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
39415 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
39416 Moved ...
39417 * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
39418 ... here.
39419 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
39420 * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
39421 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
39422 * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
39423 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
39424 * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
39425 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
39426 * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
39427 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
39428 * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
39429 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
39430 * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
39431 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
39432 Moved ...
39433 * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
39434 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
39435 * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
39436 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
39437 * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
39438 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
39439 Moved ...
39440 * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
39441 * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
39442 * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
39443 * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
39444 * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
39445
39446 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
39447 * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
39448 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
39449 * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
39450 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
39451 * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
39452 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
39453 * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
39454 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
39455 * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
39456 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
39457 * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
39458 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
39459 * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
39460 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
39461 * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
39462 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
39463 * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
39464 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
39465 * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
39466 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
39467 * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
39468 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
39469 * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
39470 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
39471 * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
39472 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
39473 * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
39474
39475 2014-06-23 Joseph Myers <joseph@codesourcery.com>
39476
39477 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
39478 (FALLOC_FL_COLLAPSE_RANGE): New macro.
39479 [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
39480 * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
39481 (IPV6_PMTUDISC_INTERFACE): Likewise.
39482 (IPV6_PMTUDISC_OMIT): Likewise.
39483
39484 2014-06-23 Andreas Schwab <schwab@suse.de>
39485
39486 * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
39487 Remove unused errout label.
39488
39489 2014-06-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39490
39491 * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
39492 macro: hardware supports Vector Crypto instructions.
39493
39494 2014-06-23 Will Newton <will.newton@linaro.org>
39495
39496 * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
39497 rather than __builtin_expect.
39498
39499 * elf/dl-lookup.c (undefined_msg): Remove variable.
39500 (_dl_lookup_symbol_x): Replace undefined_msg with string
39501 literal.
39502
39503 * elf/dl-lookup.c (do_lookup_unique): New function.
39504 (do_lookup_x): Move STB_GNU_UNIQUE handling code
39505 to a separate function.
39506
39507 2014-06-23 Andreas Schwab <schwab@suse.de>
39508
39509 [BZ #17079]
39510 * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
39511 before reading the next line.
39512
39513 2014-06-23 Will Newton <will.newton@linaro.org>
39514
39515 * test-skeleton.c (signal_handler): Use printf and %m
39516 rather than perror. Use printf rather than fprintf to
39517 stderr. Use puts rather than fputs to stderr.
39518 (main): Likewise.
39519
39520 2014-06-22 Ludovic Courtès <ludo@gnu.org>
39521
39522 * nscd/nscd.c (thread_info_t): Remove typedef.
39523 (thread_info): Remove variable.
39524
39525 2014-06-21 Allan McRae <allan@archlinux.org>
39526
39527 * NEWS: Mention CVE-2014-4043.
39528
39529 2014-06-20 Roland McGrath <roland@hack.frob.com>
39530
39531 * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
39532 * nptl/smp.h: ... here.
39533
39534 * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
39535
39536 * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
39537 * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
39538 * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
39539 * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
39540
39541 * nptl/allocatestack.c: Include <stack-aliasing.h>.
39542 * nptl/stack-aliasing.h: New file.
39543 * sysdeps/i386/i686/stack-aliasing.h: New file.
39544 * sysdeps/i386/i686/nptl/Makefile: File removed.
39545 * sysdeps/x86_64/stack-aliasing.h: New file.
39546 * sysdeps/x86_64/nptl/Makefile
39547 (CFLAGS-pthread_create.c): Variable removed.
39548
39549 * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
39550 * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
39551 old file.
39552 * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
39553 * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
39554 old file.
39555
39556 2014-06-21 Joseph Myers <joseph@codesourcery.com>
39557
39558 * sysdeps/unix/sysv/linux/arm/kernel-features.h
39559 (__ASSUME_SIGFRAME_V2): Remove macro.
39560 * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
39561 [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
39562 (__default_sa_restorer_v2): Rename to __default_sa_restorer.
39563 (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
39564 * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
39565 Declare as function. Remove conditional macro definitions.
39566 (__default_rt_sa_restorer): Likewise.
39567 (__default_sa_restorer_v1): Remove declaration.
39568 (__default_sa_restorer_v2): Likewise.
39569 (__default_rt_sa_restorer_v1): Likewise.
39570 (__default_rt_sa_restorer_v2): Likewise.
39571 * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
39572 __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
39573 __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
39574
39575 2014-06-20 Roland McGrath <roland@hack.frob.com>
39576
39577 * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
39578 (libpthread-routines): Add sysdep.
39579 * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
39580 * sysdeps/unix/sysv/linux/sparc/Versions
39581 (libpthread: GLIBC_2.3.3): New version set.
39582 * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
39583 * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
39584 * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
39585 * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
39586 * sysdeps/sparc/nptl/internaltypes.h: ... here. Use #include_next.
39587 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
39588 Moved ...
39589 * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
39590 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
39591 * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
39592 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
39593 * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
39594 * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
39595 * sysdeps/sparc/nptl/sem_init.c: ... here.
39596 * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
39597 * sysdeps/sparc/nptl/sem_post.c: ... here.
39598 * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
39599 * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
39600 * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
39601 * sysdeps/sparc/nptl/sem_wait.c: ... here.
39602 * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
39603 * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
39604 * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
39605 (libpthread-routines): Add cpu_relax.
39606 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
39607 File removed.
39608 * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
39609 (librt: GLIBC_2.3.3): New version set.
39610 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
39611 * sysdeps/sparc/sparc64/nptl/Makefile: New file.
39612 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
39613 (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
39614 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
39615 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
39616 * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
39617 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
39618 Moved ...
39619 * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
39620 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
39621 * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
39622 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
39623 * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
39624 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
39625 * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
39626 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
39627 * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
39628 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
39629 Moved ...
39630 * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
39631 Update #include.
39632 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
39633 Moved ...
39634 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
39635 Update #include.
39636 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
39637 Moved ...
39638 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
39639 Update #include.
39640 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
39641 Moved ...
39642 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
39643 Update #include.
39644 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
39645 Moved ...
39646 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
39647 Update #include.
39648 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
39649 Moved ...
39650 * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
39651 Update #include.
39652 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
39653 * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
39654 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
39655 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
39656 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
39657 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
39658 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
39659 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
39660 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
39661 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
39662 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
39663 Moved ...
39664 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
39665 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
39666 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
39667 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
39668 * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
39669
39670 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39671
39672 * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
39673 * nptl/pthread_rwlock_timedrdlock.c: Likewise.
39674 * nptl/pthread_rwlock_timedwrlock.c: Likewise.
39675 * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
39676 * nscd/nscd.c: Likewise.
39677 * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
39678 * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
39679 * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
39680 * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
39681
39682 * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
39683 <kernel-features.h>.
39684 (init_mq_netlink): Remove conditional have_sock_cloexec
39685 definitions. Remove code conditional on have_sock_cloexec < 0.
39686 (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
39687 (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
39688 * sysdeps/unix/sysv/linux/opensock.c: Do not include
39689 <kernel-features.h>.
39690 (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
39691 (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
39692
39693 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
39694
39695 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
39696 Add tests for memset_chk and memset.
39697
39698 * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
39699 with AVX2_Usable.
39700
39701 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
39702
39703 [BZ #16046]
39704 * elf/tst-dl-iter-static.c: New file.
39705 * elf/Makefile (tests-static): Add tst-dl-iter-static.
39706
39707 * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
39708 error.
39709
39710 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39711
39712 * sysdeps/unix/sysv/linux/kernel-features.h
39713 (__ASSUME_F_GETOWN_EX): Remove macro.
39714 * sysdeps/unix/sysv/linux/fcntl.c: Do not include
39715 <kernel-features.h>.
39716 (miss_F_GETOWN_EX): Remove variable or macro.
39717 (do_fcntl): Do not check miss_F_GETOWN_EX.
39718 (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
39719
39720 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
39721 Remove macro.
39722 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
39723 [!__ASSUME_AT_RANDOM]: Remove conditional code.
39724 (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
39725
39726 * sysdeps/unix/sysv/linux/kernel-features.h
39727 (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
39728 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
39729 [ADJ_OFFSET_SS_READ]: Make code unconditional.
39730 (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
39731
39732 2014-06-20 Maciej W. Rozycki <macro@codesourcery.com>
39733
39734 [BZ #17075]
39735 * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
39736 Fix calculation of the symbol's value.
39737 * sysdeps/arm/tst-armtlsdescloc.c: New file.
39738 * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
39739 * sysdeps/arm/tst-armtlsdescextnow.c: New file.
39740 * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
39741 * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
39742 * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
39743 * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
39744 `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
39745 (modules-names): Add `tst-armtlsdescmod',
39746 `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
39747 (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
39748 (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39749 (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
39750 (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
39751 (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
39752 (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
39753 ($(objpfx)tst-armtlsdescloc): New dependency.
39754 ($(objpfx)tst-armtlsdescextnow): Likewise.
39755 ($(objpfx)tst-armtlsdescextlazy): Likewise.
39756 * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
39757 TLS scheme support.
39758 * sysdeps/arm/configure: Regenerate.
39759
39760 2014-06-20 Joseph Myers <joseph@codesourcery.com>
39761
39762 * include/fcntl.h (__atfct_seterrno): Remove prototype.
39763 (__atfct_seterrno_2): Likewise.
39764 * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
39765 <kernel-features.h>.
39766 (__ASSUME_ATFCTS): Do not undefine and redefine.
39767 * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
39768 (__have_atfcts): Remove conditional definition.
39769 (__fxstatat([__NR_fstatat64]: Make code unconditional.
39770 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
39771 unreachable if [__ASSUME_ATFCTS].
39772 * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
39773 not undefine and redefine.
39774 * sysdeps/unix/sysv/linux/faccessat.c: Do not include
39775 <kernel-features.h>.
39776 (faccessat) [__NR_faccessat]: Make code unconditional.
39777 (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
39778 * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
39779 <kernel-features.h>.
39780 (fchmodat) [__NR_fchmodat]: Make code unconditional.
39781 (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39782 * sysdeps/unix/sysv/linux/fchownat.c: Do not include
39783 <kernel-features.h>.
39784 (fchownat) [__NR_fchownat]: Make code unconditional.
39785 (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
39786 * sysdeps/unix/sysv/linux/futimesat.c: Do not include
39787 <kernel-features.h>.
39788 (futimesat) [__NR_futimesat]: Make code unconditional.
39789 (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
39790 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
39791 <kernel-features.h>.
39792 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39793 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39794 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
39795 <kernel-features.h>.
39796 (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
39797 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39798 * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
39799 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
39800 <kernel-features.h>.
39801 (__fxstatat) [__NR_fstatat64]: Make code unconditional.
39802 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39803 * sysdeps/unix/sysv/linux/linkat.c: Do not include
39804 <kernel-features.h>.
39805 (linkat) [__NR_linkat]: Make code unconditional.
39806 (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39807 * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
39808 * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
39809 <kernel-features.h>.
39810 (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
39811 (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
39812 * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
39813 <kernel-features.h>.
39814 (mkdirat) [__NR_mkdirat]: Make code unconditional.
39815 (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
39816 * sysdeps/unix/sysv/linux/openat.c: Do not include
39817 <kernel-features.h>.
39818 [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
39819 [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
39820 (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
39821 (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
39822 * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
39823 * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
39824 <kernel-features.h>.
39825 (readlinkat) [__NR_readlinkat]: Make code unconditional.
39826 (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code. Return
39827 result of INLINE_SYSCALL directly, not via int variable.
39828 * sysdeps/unix/sysv/linux/renameat.c: Do not include
39829 <kernel-features.h>.
39830 [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
39831 (renameat) [__NR_renameat]: Make code unconditional.
39832 (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
39833 * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
39834 * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
39835 * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
39836 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
39837 (__ASSUME_ATFCTS): Do not undefine and redefine.
39838 * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
39839 <kernel-features.h>.
39840 (symlinkat) [__NR_symlinkat]: Make code unconditional.
39841 (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39842 * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
39843 <kernel-features.h>.
39844 (unlinkat) [__NR_unlinkat]: Make code unconditional.
39845 (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
39846 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
39847 (__ASSUME_ATFCTS): Do not undefine and redefine.
39848 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
39849 <kernel-features.h>.
39850 (__fxstatat) [__NR_newfstatat]: Make code unconditional.
39851 (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
39852 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
39853 <kernel-features.h>.
39854 (__xmknodat) [__NR_mknodat]: Make code unconditional.
39855 (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
39856
39857 2014-06-20 H.J. Lu <hongjiu.lu@intel.com>
39858
39859 * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
39860
39861 2014-06-20 Andreas Schwab <schwab@linux-m68k.org>
39862
39863 [BZ #17069]
39864 * posix/regcomp.c (parse_reg_exp): Deallocate partially
39865 constructed tree before returning error.
39866 * posix/bug-regexp36.c: Expand test case.
39867
39868 2014-06-20 Stefan Liebler <stli@linux.vnet.ibm.com>
39869
39870 [BZ #6803]
39871 * math/libm-test.inc (scalbln_test_date):
39872 Add errno expectations.
39873 * math/w_scalblnf.c: New File.
39874 Add wrapper which checks for setting errno to ERANGE.
39875 Add weak_alias for corresponding scalbln function.
39876 * math/w_scalbln.c: Likewise.
39877 * math/w_scalblnl.c: Likewise.
39878 * math/Makefile (libm-calls): Add w_scalbln.
39879 * sysdeps/ieee754/flt-32/s_scalblnf.c:
39880 Remove weak_alias for corresponding scalbln function.
39881 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
39882 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
39883 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
39884 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
39885 * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
39886 * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
39887 * sysdeps/i386/fpu/s_scalbn.S: Likewise.
39888 * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
39889 * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
39890 * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
39891 Remove long_double_symbol for scalblnl function in libm, libc.
39892 * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
39893 Add wrapper which checks for setting errno to ERANGE.
39894 Add long_double_symbol for scalblnl function in libm, libc.
39895 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
39896 Remove long_double_symbol for scalblnl in libm.
39897 * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
39898 Add wrapper which checks for setting errno to ERANGE.
39899 Add long_double_symbol for scalblnl function in libm.
39900 * sysdeps/ia64/fpu/w_scalblnf.c: New File.
39901 Do not use wrapper because of own implementation.
39902
39903 2014-06-19 H.J. Lu <hongjiu.lu@intel.com>
39904
39905 * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
39906 3 bytes for __pad1 for x32.
39907 (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
39908
39909 2014-06-19 Ling Ma <ling.ml@alibaba-inc.com>
39910 H.J. Lu <hongjiu.lu@intel.com>
39911
39912 * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
39913 * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
39914 * sysdeps/x86_64/multiarch/memset.S: Likewise.
39915 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
39916 * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
39917
39918 2014-06-19 Andreas Schwab <schwab@linux-m68k.org>
39919
39920 [BZ #17069]
39921 * posix/regcomp.c (parse_expression): Deallocate partially
39922 constructed tree before returning error.
39923 * posix/Makefile.c (tests): Add bug-regex36.
39924 (generated): Add bug-regex36.mtrace.
39925 (tests-special): Add $(objpfx)bug-regex36-mem.out
39926 (bug-regex36-ENV): New variable.
39927 ($(objpfx)bug-regex36-mem.out): New rule.
39928 * posix/bug-regex36.c: New file.
39929
39930 2014-06-19 Will Newton <will.newton@linaro.org>
39931
39932 * malloc/malloc.c (systrim): If extra is zero then return
39933 early.
39934
39935 2014-06-19 Siddhesh Poyarekar <siddhesh@redhat.com>
39936
39937 * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
39938
39939 2014-06-19 Richard Earnshaw <rearnsha@arm.com>
39940
39941 * sysdeps/aarch64/strchr.S: New file.
39942
39943 2014-06-18 Joseph Myers <joseph@codesourcery.com>
39944
39945 [BZ #17022]
39946 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
39947 from arguments -2 or below.
39948 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
39949 * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
39950
39951 2014-06-18 Andreas Schwab <schwab@suse.de>
39952
39953 [BZ #17062]
39954 * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
39955 of a bracket expr not to run off the end of the string.
39956 * posix/Makefile (tests): Add tst-fnmatch3.
39957 * posix/tst-fnmatch3.c: New file.
39958
39959 2014-06-18 Joseph Myers <joseph@codesourcery.com>
39960
39961 * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
39962 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
39963 [$(cross-compiling) = no]: Likewise.
39964 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
39965 [$(cross-compiling) = no]: Likewise.
39966
39967 2014-16-17 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39968
39969 [BZ #17031]
39970 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
39971 double, adjusted for any remainder from the high double.
39972 * math/libm-test.inc (nearbyint): Add tests.
39973 (rint): Likewise.
39974
39975 2014-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
39976
39977 * nptl/sysdeps/powerpc/Makefile: Moved ...
39978 * sysdeps/powerpc/nptl/Makefile: ... here.
39979 * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
39980 * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
39981 * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
39982 * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
39983 * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
39984 * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
39985 * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
39986 * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
39987 * nptl/sysdeps/powerpc/tls.h: Moved ...
39988 * sysdeps/powerpc/nptl/tls.h: ... here.
39989
39990 2014-06-16 Joseph Myers <joseph@codesourcery.com>
39991
39992 [BZ #16681]
39993 * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
39994 * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
39995 * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
39996 * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
39997 * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
39998 * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
39999 * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
40000 * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
40001 * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
40002
40003 2014-06-17 Andreas Schwab <schwab@linux-m68k.org>
40004
40005 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
40006
40007 2014-06-16 Andreas Schwab <schwab@linux-m68k.org>
40008
40009 * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
40010 defined operator.
40011
40012 * scripts/cross-test-ssh.sh (timeoutfactor): Default to
40013 $TIMEOUTFACTOR.
40014
40015 2014-06-16 Florian Weimer <fweimer@redhat.com>
40016
40017 [BZ #17058]
40018 * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
40019 non-executed part of the test.
40020
40021 2014-06-16 Andreas Schwab <schwab@suse.de>
40022
40023 * string/bits/string2.h (strdup, strndup): Update feature guard.
40024
40025 2014-06-14 David S. Miller <davem@davemloft.net>
40026
40027 * sysdeps/sparc/fpu/libm-test-ulps: Update.
40028
40029 2014-06-14 Andreas Schwab <schwab@linux-m68k.org>
40030
40031 * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
40032 that was previously under [RESET_PID].
40033 * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
40034
40035 * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
40036 * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
40037 * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
40038 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
40039 (__libc_vfork): New strong alias.
40040 * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
40041
40042 2014-06-14 Andi Kleen <ak@linux.intel.com>
40043
40044 * sysdeps/generic/elide.h: New file.
40045
40046 2014-06-13 Stefan Liebler <stli@linux.vnet.ibm.com>
40047
40048 * Makefile (installed-headers): Adjust path of pthread.h header.
40049
40050 2014-06-13 Roland McGrath <roland@hack.frob.com>
40051
40052 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
40053 * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
40054 * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
40055 * sysdeps/s390/nptl/bits/semaphore.h: ... here.
40056
40057 * nptl/sysdeps/s390/Makefile: Moved ...
40058 * sysdeps/s390/nptl/Makefile: ... here.
40059 * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
40060 * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
40061 * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
40062 * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
40063 * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
40064 * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
40065 * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
40066 * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
40067 * nptl/sysdeps/s390/pthreaddef.h: Moved ...
40068 * sysdeps/s390/nptl/pthreaddef.h: ... here.
40069 * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
40070 * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
40071 * nptl/sysdeps/s390/tls.h: Moved ...
40072 * sysdeps/s390/nptl/tls.h: ... here.
40073
40074 * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
40075 * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
40076
40077 2014-06-13 David S. Miller <davem@davemloft.net>
40078
40079 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
40080 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
40081 * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
40082 * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
40083 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
40084 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
40085 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
40086 * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
40087 * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
40088 * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
40089 * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
40090 Remove RESET_PID cpp guards.
40091 * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
40092 Remove RESET_PID cpp guards.
40093 * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
40094
40095 2014-06-13 Andreas Schwab <schwab@linux-m68k.org>
40096
40097 * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
40098 __sp to uintptr_t.
40099
40100 2014-06-13 Andi Kleen <ak@linux.intel.com>
40101
40102 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
40103 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
40104 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
40105 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
40106 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
40107 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
40108 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
40109 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
40110 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
40111 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
40112 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
40113 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
40114 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
40115 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
40116 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
40117 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
40118 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
40119 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
40120 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
40121 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
40122
40123 * nptl/pthread_rwlock_rdlock.c: Include elide.h.
40124 (pthread_rwlock_rdlock): Add elision.
40125 * nptl/pthread_rwlock_wrlock.c: Include elide.h.
40126 (pthread_rwlock_wrlock): Add elision.
40127 * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
40128 (pthread_rwlock_trywrlock): Add elision.
40129 * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
40130 (pthread_rwlock_tryrdlock): Add elision.
40131 * nptl/pthread_rwlock_unlock.c: Include elide.h.
40132 (pthread_rwlock_tryrdlock): Add elision unlock.
40133 * nptl/sysdeps/pthread/pthread.h:
40134 (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
40135 (PTHREAD_RWLOCK_INITIALIZER,
40136 PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
40137 Handle new elision field.
40138 * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
40139 * sysdeps/arm/nptl/bits/pthreadtypes.h
40140 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40141 * sysdeps/sh/nptl/bits/pthreadtypes.h
40142 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40143 * sysdeps/tile/nptl/bits/pthreadtypes.h
40144 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40145 * sysdeps/a/nptl/bits/pthreadtypes.h
40146 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40147 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
40148 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40149 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
40150 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40151 * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
40152 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40153 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
40154 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40155 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
40156 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40157 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
40158 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40159 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
40160 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40161 * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
40162 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40163 * sysdeps/unix/sysv/linux/x86/elision-conf.c:
40164 (elision_init): Set try_xbegin to zero when no RTM.
40165 * sysdeps/x86/nptl/bits/pthreadtypes.h
40166 (pthread_rwlock_t): Change __pad1 to __rwelision.
40167 (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
40168
40169 2014-06-13 Andi Kleen <ak@linux.intel.com>
40170
40171 * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
40172 Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
40173 * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
40174 Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
40175
40176 2014-06-13 Meador Inge <meadori@codesourcery.com>
40177
40178 [BZ #16996]
40179 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
40180 that the cached result has been set before returning it.
40181
40182 2014-06-12 Roland McGrath <roland@hack.frob.com>
40183
40184 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
40185 * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
40186 * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
40187 * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
40188 * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
40189 * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
40190
40191 * nptl/sysdeps/sparc/Makefile: Moved ...
40192 * sysdeps/sparc/nptl/Makefile: ... here.
40193 * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
40194 * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
40195 * nptl/sysdeps/sparc/tls.h: Moved ...
40196 * sysdeps/sparc/nptl/tls.h: ... here.
40197 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
40198 * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
40199 * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
40200 * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
40201 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
40202 * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
40203 * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
40204 * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
40205 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
40206 * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
40207 * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
40208 * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
40209 * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
40210 * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
40211 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
40212 * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
40213 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
40214 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
40215 Update #include.
40216 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
40217 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
40218 Update #include.
40219 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
40220 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
40221 Update #include.
40222 * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
40223 * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
40224 Update #include.
40225
40226 * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
40227
40228 * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
40229 * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
40230
40231 * sysdeps/pthread/posix-timer.h: Include <list.h>.
40232 (struct list_links): Type removed.
40233 (struct thread_node, struct timer_node): Replace struct list_links
40234 with struct list_head.
40235 (list_unlink_ip): Likewise.
40236 * sysdeps/pthread/timer_routines.c
40237 (timer_free_list, thread_free_list, thread_active_list): Likewise.
40238 (list_append, list_insbefore): Likewise.
40239 (list_init): Function removed.
40240 (thread_init, init_module): Use INIT_LIST_HEAD instead.
40241 * sysdeps/nptl/Makefile: Move tst-timer bits to ...
40242 * sysdeps/pthread/Makefile: ... here, new file.
40243
40244 * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
40245 * sysdeps/nptl/Implies: ... here.
40246 * sysdeps/unix/sysv/linux/Implies: Add nptl.
40247 * nptl/sysdeps/pthread/list.h: Moved ...
40248 * include/list.h: ... here.
40249 * nptl/sysdeps/pthread/createthread.c: Moved ...
40250 * nptl/createthread.c: ... here.
40251 * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
40252 * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
40253 * nptl/pt-longjmp.c: ... here.
40254 * nptl/sysdeps/pthread/Makefile: Moved ...
40255 * sysdeps/nptl/Makefile: ... here.
40256 * nptl/sysdeps/pthread/Subdirs: Moved ...
40257 * sysdeps/nptl/Subdirs: ... here.
40258 * nptl/sysdeps/pthread/aio_misc.h: Moved ...
40259 * sysdeps/nptl/aio_misc.h: ... here.
40260 * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
40261 * sysdeps/nptl/bits/libc-lock.h: ... here.
40262 * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
40263 * sysdeps/nptl/bits/libc-lockP.h: ... here.
40264 * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
40265 * sysdeps/nptl/bits/stdio-lock.h: ... here.
40266 * nptl/sysdeps/pthread/configure: Moved ...
40267 * sysdeps/nptl/configure: ... here.
40268 * nptl/sysdeps/pthread/configure.ac: Moved ...
40269 * sysdeps/nptl/configure.ac: ... here.
40270 * nptl/sysdeps/pthread/gai_misc.h: Moved ...
40271 * sysdeps/nptl/gai_misc.h: ... here.
40272 * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
40273 * sysdeps/nptl/librt-cancellation.c: ... here.
40274 * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
40275 * sysdeps/nptl/malloc-machine.h: ... here.
40276 * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
40277 * sysdeps/nptl/pthread-functions.h: ... here.
40278 * nptl/sysdeps/pthread/pthread.h: Moved ...
40279 * sysdeps/nptl/pthread.h: ... here.
40280 * nptl/sysdeps/pthread/setxid.h: Moved ...
40281 * sysdeps/nptl/setxid.h: ... here.
40282 * nptl/sysdeps/pthread/sigfillset.c: Moved ...
40283 * sysdeps/nptl/sigfillset.c: ... here.
40284 * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
40285 * sysdeps/nptl/tcb-offsets.h: ... here.
40286 * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
40287 * sysdeps/nptl/tst-mqueue8x.c: ... here.
40288 * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
40289 * sysdeps/nptl/unwind-forcedunwind.c: ... here.
40290 * nptl/sysdeps/pthread/allocalim.h: Moved ...
40291 * sysdeps/pthread/allocalim.h: ... here.
40292 * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
40293 * sysdeps/pthread/bits/sigthread.h: ... here.
40294 * nptl/sysdeps/pthread/flockfile.c: Moved ...
40295 * sysdeps/pthread/flockfile.c: ... here.
40296 * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
40297 * sysdeps/pthread/ftrylockfile.c: ... here.
40298 * nptl/sysdeps/pthread/funlockfile.c: Moved ...
40299 * sysdeps/pthread/funlockfile.c: ... here.
40300 * nptl/sysdeps/pthread/posix-timer.h: Moved ...
40301 * sysdeps/pthread/posix-timer.h: ... here.
40302 * nptl/sysdeps/pthread/timer_create.c: Moved ...
40303 * sysdeps/pthread/timer_create.c: ... here.
40304 * nptl/sysdeps/pthread/timer_delete.c: Moved ...
40305 * sysdeps/pthread/timer_delete.c: ... here.
40306 * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
40307 * sysdeps/pthread/timer_getoverr.c: ... here.
40308 * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
40309 * sysdeps/pthread/timer_gettime.c: ... here.
40310 * nptl/sysdeps/pthread/timer_routines.c: Moved ...
40311 * sysdeps/pthread/timer_routines.c: ... here.
40312 * nptl/sysdeps/pthread/timer_settime.c: Moved ...
40313 * sysdeps/pthread/timer_settime.c: ... here.
40314 * nptl/sysdeps/pthread/tst-timer.c: Moved ...
40315 * sysdeps/pthread/tst-timer.c: ... here.
40316 * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
40317 * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
40318
40319 * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
40320 * nptl/sysdeps/pthread/sigprocmask.c: File removed.
40321
40322 * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
40323 * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
40324 * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
40325 * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
40326 Update #include target.
40327 * nptl/sysdeps/i386/i686/Makefile: Moved ...
40328 * sysdeps/i386/i686/nptl/Makefile: ... here.
40329 * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
40330 * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
40331 Update #include target.
40332 * nptl/sysdeps/i386/i686/tls.h: Moved ...
40333 * sysdeps/i386/i686/nptl/tls.h: ... here. Use #include_next.
40334 * nptl/sysdeps/i386/Makefile: Moved ...
40335 * sysdeps/i386/nptl/Makefile: ... here.
40336 * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
40337 * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
40338 * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
40339 * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
40340 * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
40341 * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
40342 * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
40343 * nptl/sysdeps/i386/pthreaddef.h: Moved ...
40344 * sysdeps/i386/nptl/pthreaddef.h: ... here.
40345 * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
40346 * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
40347 * nptl/sysdeps/i386/tls.h: Moved ...
40348 * sysdeps/i386/nptl/tls.h: ... here.
40349
40350 * sysdeps/sh/Makefile [$(subdir) = csu]
40351 (gen-as-const-headers): Add tcb-offsets.sym.
40352 * nptl/sysdeps/sh/Makefile: File removed.
40353 * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
40354 * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
40355 * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
40356 * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
40357 * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
40358 * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
40359 * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
40360 * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
40361 * nptl/sysdeps/sh/pthreaddef.h: Moved ...
40362 * sysdeps/sh/nptl/pthreaddef.h: ... here.
40363 * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
40364 * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
40365 * nptl/sysdeps/sh/tls.h: Moved ...
40366 * sysdeps/sh/nptl/tls.h: ... here.
40367 * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
40368 * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
40369 * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
40370 * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
40371 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
40372 * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
40373 * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
40374 * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
40375 * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
40376 * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
40377 * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
40378 * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
40379 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
40380 * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
40381 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
40382 * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
40383 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
40384 * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
40385 * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
40386 * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
40387 * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
40388 * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
40389 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
40390 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
40391 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
40392 Moved ...
40393 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
40394 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
40395 Moved ...
40396 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
40397 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
40398 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
40399 * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
40400 * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
40401 * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
40402 * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
40403 * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
40404 * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
40405 * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
40406 * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
40407 * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
40408 * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
40409 * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
40410 * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
40411 * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
40412 * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
40413 * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
40414 * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
40415
40416 2014-06-12 Stefan Liebler <stli@linux.vnet.ibm.com>
40417
40418 * posix/spawn_faction_addopen.c: Include string.h.
40419
40420 2014-06-11 Roland McGrath <roland@hack.frob.com>
40421
40422 * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
40423 * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
40424 * nptl/sysdeps/x86_64/Makefile: Moved ...
40425 * sysdeps/x86_64/nptl/Makefile: ... here.
40426 * nptl/sysdeps/x86_64/configure: Moved ...
40427 * sysdeps/x86_64/nptl/configure: ... here.
40428 * nptl/sysdeps/x86_64/configure.ac: Moved ...
40429 * sysdeps/x86_64/nptl/configure.ac: ... here.
40430 * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
40431 * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
40432 * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
40433 * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
40434 * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
40435 * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
40436 * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
40437 * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
40438 * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
40439 * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
40440 * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
40441 * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
40442 * nptl/sysdeps/x86_64/tls.h: Moved ...
40443 * sysdeps/x86_64/nptl/tls.h: ... here.
40444 * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
40445 * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
40446 * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
40447 * sysdeps/x86_64/x32/nptl/tls.h: ... here.
40448
40449 * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
40450
40451 2014-06-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40452
40453 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
40454
40455 2014-06-11 Joseph Myers <joseph@codesourcery.com>
40456
40457 * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
40458 type.
40459 [POSIX] (off_t): Likewise.
40460 * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
40461 [POSIX] (S_ISBLK): Require macro.
40462 [POSIX] (S_ISCHR): Likewise.
40463 [POSIX] (S_ISDIR): Likewise.
40464 [POSIX] (S_ISFIFO): Likewise.
40465 [POSIX] (S_ISREG): Likewise.
40466 [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
40467 optional-macro.
40468 * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
40469 type.
40470 [POSIX] (time_t): Likewise.
40471 [POSIX] (timer_t): Likewise.
40472
40473 2014-06-11 Florian Weimer <fweimer@redhat.com>
40474
40475 [BZ #17048]
40476 * posix/spawn_int.h (struct __spawn_action): Make the path string
40477 non-const to support deallocation.
40478 * posix/spawn_faction_addopen.c
40479 (posix_spawn_file_actions_addopen): Make a copy of the pathname.
40480 * posix/spawn_faction_destroy.c
40481 (posix_spawn_file_actions_destroy): Adjust comment. Deallocate
40482 path in all spawn_do_open actions.
40483 * posix/tst-spawn.c (do_test): Exercise the copy operation in
40484 posix_spawn_file_actions_addopen.
40485
40486 2014-06-11 Chris Metcalf <cmetcalf@tilera.com>
40487
40488 * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
40489 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
40490 * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
40491 conditional code always true.
40492 (__libc_vfork): New alias.
40493
40494 2014-06-11 Roland McGrath <roland@hack.frob.com>
40495
40496 * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40497 * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
40498
40499 * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
40500
40501 * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40502 * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
40503
40504 * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
40505 * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
40506
40507 * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40508 * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
40509
40510 2014-06-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
40511
40512 * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
40513 * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
40514 multiarch strcmp for PPC64.
40515 * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
40516 * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
40517 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
40518 multiarch optimizations.
40519 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
40520 (__libc_ifunc_impl_list): Likewise.
40521
40522 2014-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
40523
40524 * benchtests/scripts/validate_benchout.py: New script.
40525 * benchtests/Makefile (bench-func): Call it.
40526 * benchtests/scripts/benchout.schema.json: New file.
40527
40528 2014-06-10 Chris Metcalf <cmetcalf@tilera.com>
40529
40530 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
40531 * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
40532 * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
40533 * sysdeps/tile/nptl/bits/semaphore.h: ... here.
40534 * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
40535 * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
40536 * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
40537 * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
40538 * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
40539 * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
40540 * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
40541 * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
40542 * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
40543 * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
40544 * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
40545 * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
40546 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
40547 Moved ...
40548 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
40549 ... here.
40550 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
40551 Moved ...
40552 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
40553 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
40554 Moved ...
40555 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
40556 ... here.
40557 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
40558 Moved ...
40559 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
40560 ... here.
40561 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
40562 Moved ...
40563 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
40564 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
40565 Moved ...
40566 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
40567 ... here.
40568 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
40569 Moved ...
40570 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
40571 ... here.
40572 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
40573 Moved ...
40574 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
40575 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
40576 Moved ...
40577 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
40578 ... here.
40579 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
40580 Moved ...
40581 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
40582 ... here.
40583 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
40584 Moved ...
40585 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
40586 ... here.
40587 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
40588 Moved ...
40589 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
40590 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
40591 Moved ...
40592 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
40593 ... here.
40594 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
40595 Moved ...
40596 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
40597 ... here.
40598 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
40599 Moved ...
40600 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
40601 ... here.
40602 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
40603 Moved ...
40604 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
40605 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
40606 Moved ...
40607 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
40608 ... here.
40609 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
40610 Moved ...
40611 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
40612 ... here.
40613 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
40614 Moved ...
40615 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
40616 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
40617 Moved ...
40618 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
40619 ... here.
40620 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
40621 Moved ...
40622 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
40623 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
40624 Moved ...
40625 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
40626 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
40627 Moved ...
40628 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
40629 ... here.
40630 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
40631 Moved ...
40632 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
40633 ... here.
40634 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
40635 Moved ...
40636 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
40637 ... here.
40638 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
40639 Moved ...
40640 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
40641 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
40642 Moved ...
40643 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
40644 ... here.
40645 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
40646 Moved ...
40647 * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
40648 ... here.
40649 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
40650 * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
40651 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
40652 * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
40653 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
40654 Moved ...
40655 * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
40656 ... here.
40657 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
40658 * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
40659 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
40660 * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
40661 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
40662 * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
40663 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
40664 * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
40665 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
40666 * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
40667 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
40668 * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
40669 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
40670 Moved ...
40671 * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
40672 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
40673 Moved ...
40674 * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
40675 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
40676 * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
40677 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
40678 Moved ...
40679 * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
40680 * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
40681 * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
40682 * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
40683 * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
40684 * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
40685 * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
40686
40687 2014-06-10 Wilco <wdijkstr@arm.com>
40688
40689 * math/test-fenv-return.c: New file.
40690 * math/Makefile: Add new test test-fenv-return.
40691
40692 2014-06-10 Joseph Myers <joseph@codesourcery.com>
40693
40694 [BZ #17042]
40695 * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
40696 when x - 1 is zero.
40697 * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
40698 * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
40699 * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
40700 0.0L for an argument of 1.0L.
40701 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
40702 Likewise.
40703 * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
40704 value when x - 1 is zero.
40705 * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
40706 * sysdeps/i386/fpu/libm-test-ulps: Update.
40707 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
40708
40709 2014-06-09 Bernard Ogden <bernie.ogden@linaro.org>
40710
40711 [BZ #15119]
40712 * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
40713
40714 2014-06-09 Roland McGrath <roland@hack.frob.com>
40715
40716 * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
40717 * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
40718
40719 2014-06-09 Roland McGrath <roland@hack.frob.com>
40720
40721 * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40722 * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
40723
40724 * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40725 * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
40726
40727 * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40728 * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
40729
40730 * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
40731 * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
40732
40733 * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
40734 if not already defined.
40735 (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
40736 * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
40737 * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
40738 (TLS_INIT_TP): Use it.
40739 (TLS_DEFINE_INIT_TP): New macro.
40740 * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
40741
40742 2014-06-09 Joseph Myers <joseph@codesourcery.com>
40743
40744 * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
40745 constant.
40746 [POSIX] (IXANY): Likewise.
40747 [POSIX] (OLCUC): Likewise.
40748 [POSIX || POSIX2008] (CBAUD): Do not allow.
40749 [POSIX || POSIX2008] (DEFECHO): Likewise.
40750 [POSIX || POSIX2008] (ECHOCTL): Likewise.
40751 [POSIX || POSIX2008] (ECHOKE): Likewise.
40752 [POSIX || POSIX2008] (ECHOPRT): Likewise.
40753 [POSIX || POSIX2008] (EXTA): Likewise.
40754 [POSIX || POSIX2008] (EXTB): Likewise.
40755 [POSIX || POSIX2008] (FLUSHO): Likewise.
40756 [POSIX || POSIX2008] (LOBLK): Likewise.
40757 [POSIX || POSIX2008] (PENDIN): Likewise.
40758 [POSIX || POSIX2008] (SWTCH): Likewise.
40759 [POSIX || POSIX2008] (VDISCARD): Likewise.
40760 [POSIX || POSIX2008] (VDSUSP): Likewise.
40761 [POSIX || POSIX2008] (VLNEXT): Likewise.
40762 [POSIX || POSIX2008] (VREPRINT): Likewise.
40763 [POSIX || POSIX2008] (VSTATUS): Likewise.
40764 [POSIX || POSIX2008] (VWERASE): Likewise.
40765 (B*): Change to B[0123456789]*.
40766 * conform/data/time.h-data [POSIX || UNIX98]
40767 (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
40768 [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
40769 [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
40770 [POSIX] (tm_*): Do not allow.
40771
40772 2014-06-07 Joseph Myers <joseph@codesourcery.com>
40773
40774 * Makefile (install): Don't set LANGUAGE.
40775 * Makefile.in (install): Likewise.
40776 * assert/Makefile (test-assert-ENV): Remove variable.
40777 (test-assert-perr-ENV): Likewise.
40778 * elf/Makefile (neededtest4-ENV): Likewise.
40779 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
40780 [$(cross-compiling) = no]: Don't set LANGUAGE.
40781 * io/ftwtest-sh (LANG): Remove variable.
40782 * libio/Makefile (tst-widetext-ENV): Likewise.
40783 * manual/install.texi (Running make install): Don't refer to
40784 environment settings for make install.
40785 * INSTALL: Regenerated.
40786 * nptl/tst-tls6.sh: Don't set LANG.
40787 * posix/globtest.sh (LANG): Remove variable.
40788 * string/Makefile (tester-ENV): Likewise.
40789 (inl-tester-ENV): Likewise.
40790 (noinl-tester-ENV): Likewise.
40791 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
40792 [$(cross-compiling) = no]: Don't set LANGUAGE.
40793 * timezone/Makefile (build-testdata): Use $(built-program-cmd)
40794 without explicit environment settings.
40795
40796 2014-06-06 Roland McGrath <roland@hack.frob.com>
40797
40798 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
40799 * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
40800 * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
40801 * sysdeps/sh/nptl/bits/semaphore.h: ... here.
40802
40803 2014-06-06 Chris Metcalf <cmetcalf@tilera.com>
40804
40805 * crypt/crypt-private.h [DOS]: Add some includes taken from the
40806 other files in the crypt directory.
40807 * crypt/crypt.c: Remove duplicate includes.
40808 * crypt/crypt-entry.c: Likewise.
40809 * crypt/crypt_util.c: Likewise.
40810
40811 2014-06-06 Joseph Myers <joseph@codesourcery.com>
40812
40813 * Makeconfig (run-program-env): New variable.
40814 (run-program-prefix-before-env): Likewise.
40815 (run-program-prefix-after-env): Likewise.
40816 (run-program-prefix): Define in terms of new variables.
40817 (built-program-cmd-before-env): New variable.
40818 (built-program-cmd-after-env): Likewise.
40819 (built-program-cmd): Define in terms of new variables.
40820 (test-program-prefix-before-env): New variable.
40821 (test-program-prefix-after-env): Likewise.
40822 (test-program-prefix): Define in terms of new variables.
40823 (test-program-cmd-before-env): New variable.
40824 (test-program-cmd-after-env): Likewise.
40825 (test-program-cmd): Define in terms of new variables.
40826 * Rules (make-test-out): Use $(run-program-env).
40827 * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
40828 (help): Do not mention environment variables. Mention
40829 --timeoutfactor option.
40830 (timeoutfactor): New variable.
40831 (blacklist_exports): Remove function.
40832 (exports): Remove variable.
40833 (command): Do not include ${exports}.
40834 * manual/install.texi (Configuring and compiling): Do not mention
40835 test wrappers preserving environment variables. Mention that last
40836 assignment to a variable must take precedence.
40837 * INSTALL: Regenerated.
40838 * benchtests/Makefile (run-bench): Use $(run-program-env).
40839 * catgets/Makefile ($(objpfx)test1.cat): Use
40840 $(built-program-cmd-before-env), $(run-program-env) and
40841 $(built-program-cmd-after-env).
40842 ($(objpfx)test2.cat): Do not specify environment variables
40843 explicitly.
40844 ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
40845 $(run-program-env) and $(built-program-cmd-after-env).
40846 ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
40847 $(run-program-env) and $(test-program-cmd-after-env).
40848 ($(objpfx)sample.SJIS.cat): Do not specify environment variables
40849 explicitly.
40850 * catgets/test-gencat.sh: Use test_program_cmd_before_env,
40851 run_program_env and test_program_cmd_after_env arguments.
40852 * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
40853 * elf/tst-pathopt.sh: Use run_program_env argument.
40854 * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
40855 $(test-wrapper-env) and $(run-program-env).
40856 * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
40857 run_program_env arguments.
40858 * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
40859 * intl/Makefile ($(objpfx)tst-gettext.out): Use
40860 $(test-program-prefix-before-env), $(run-program-env) and
40861 $(test-program-prefix-after-env).
40862 ($(objpfx)tst-gettext2.out): Likewise.
40863 * intl/tst-gettext.sh: Use test_program_prefix_before_env,
40864 run_program_env and test_program_prefix_after_env arguments.
40865 * intl/tst-gettext2.sh: Likewise.
40866 * intl/tst-gettext4.sh: Do not set environment variables
40867 explicitly.
40868 * intl/tst-gettext6.sh: Likewise.
40869 * intl/tst-translit.sh: Likewise.
40870 * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
40871 $(test-program-prefix-before-env), $(run-program-env) and
40872 $(test-program-prefix-after-env).
40873 * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
40874 run_program_env and test_program_prefix_after_env arguments.
40875 * math/Makefile (run-regen-ulps): Use $(run-program-env).
40876 * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
40877 * nptl/tst-tls6.sh: Use run_program_env argument. Set LANG=C
40878 explicitly with each use of ${test_wrapper_env}.
40879 * posix/Makefile ($(objpfx)wordexp-tst.out): Use
40880 $(test-program-prefix-before-env), $(run-program-env) and
40881 $(test-program-prefix-after-env).
40882 * posix/tst-getconf.sh: Do not set environment variables
40883 explicitly.
40884 * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
40885 run_program_env and test_program_prefix_after_env arguments.
40886 * stdio-common/tst-printf.sh: Do not set environment variables
40887 explicitly.
40888 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
40889 $(test-program-prefix-before-env), $(run-program-env) and
40890 $(test-program-prefix-after-env).
40891 * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
40892 run_program_env and test_program_prefix_after_env arguments.
40893 Split $test calls into $test_pre and $test.
40894 * timezone/Makefile (build-testdata): Use
40895 $(built-program-cmd-before-env), $(run-program-env) and
40896 $(built-program-cmd-after-env).
40897
40898 2014-06-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
40899
40900 * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
40901 strlen for non SHARED builds.
40902
40903 2014-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
40904
40905 * nptl/allocatestack.c (check_list): Inlined function...
40906 (__reclaim_stacks): ... here.
40907
40908 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
40909
40910 [BZ #15698]
40911 * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
40912 memory overrun.
40913
40914 2014-06-05 Joseph Myers <joseph@codesourcery.com>
40915
40916 * Rules (make-test-out): Include
40917 LOCPATH=$(common-objpfx)localedata in default environment.
40918 * debug/Makefile (tst-chk1-ENV): Remove variable.
40919 (tst-chk2-ENV): Likewise.
40920 (tst-chk3-ENV): Likewise.
40921 (tst-chk4-ENV): Likewise.
40922 (tst-chk5-ENV): Likewise.
40923 (tst-chk6-ENV): Likewise.
40924 (tst-lfschk1-ENV): Likewise.
40925 (tst-lfschk2-ENV): Likewise.
40926 (tst-lfschk3-ENV): Likewise.
40927 (tst-lfschk4-ENV): Likewise.
40928 (tst-lfschk5-ENV): Likewise.
40929 (tst-lfschk6-ENV): Likewise.
40930 * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
40931 (tst-iconv7-ENV): Likewise.
40932 * intl/Makefile (LOCPATH-ENV): Likewise.
40933 (tst-codeset-ENV): Likewise.
40934 (tst-gettext3-ENV): Likewise.
40935 (tst-gettext5-ENV): Likewise.
40936 * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
40937 (tst-fopenloc-ENV): Likewise.
40938 (tst-fgetws-ENV): Remove variable.
40939 (tst-ungetwc1-ENV): Likewise.
40940 (tst-ungetwc2-ENV): Likewise.
40941 (bug-ungetwc2-ENV): Likewise.
40942 (tst-swscanf-ENV): Likewise.
40943 (bug-ftell-ENV): Likewise.
40944 (tst-fgetwc-ENV): Likewise.
40945 (tst-fseek-ENV): Likewise.
40946 (tst-ftell-partial-wide-ENV): Likewise.
40947 (tst-ftell-active-handler-ENV): Likewise.
40948 (tst-ftell-append-ENV): Likewise.
40949 * posix/Makefile (tst-fnmatch-ENV): Likewise.
40950 (tst-regexloc-ENV): Likewise.
40951 (bug-regex1-ENV): Likewise.
40952 (tst-regex-ENV): Likewise.
40953 (tst-regex2-ENV): Likewise.
40954 (bug-regex5-ENV): Likewise.
40955 (bug-regex6-ENV): Likewise.
40956 (bug-regex17-ENV): Likewise.
40957 (bug-regex18-ENV): Likewise.
40958 (bug-regex19-ENV): Likewise.
40959 (bug-regex20-ENV): Likewise.
40960 (bug-regex22-ENV): Likewise.
40961 (bug-regex23-ENV): Likewise.
40962 (bug-regex25-ENV): Likewise.
40963 (bug-regex26-ENV): Likewise.
40964 (bug-regex30-ENV): Likewise.
40965 (bug-regex32-ENV): Likewise.
40966 (bug-regex33-ENV): Likewise.
40967 (bug-regex34-ENV): Likewise.
40968 (bug-regex35-ENV): Likewise.
40969 (tst-rxspencer-ENV): Likewise.
40970 (tst-rxspencer-no-utf8-ENV): Likewise.
40971 * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
40972 (tst-sscanf-ENV): Likewise.
40973 (tst-swprintf-ENV): Likewise.
40974 (tst-swscanf-ENV): Likewise.
40975 (test-vfprintf-ENV): Likewise.
40976 (scanf13-ENV): Likewise.
40977 (bug14-ENV): Likewise.
40978 (tst-grouping-ENV): Likewise.
40979 * stdlib/Makefile (tst-strtod-ENV): Likewise.
40980 (tst-strtod3-ENV): Likewise.
40981 (tst-strtod4-ENV): Likewise.
40982 (tst-strtod5-ENV): Likewise.
40983 (testmb2-ENV): Likewise./
40984 * string/Makefile (tst-strxfrm-ENV): Likewise.
40985 (tst-strxfrm2-ENV): Likewise.
40986 (bug-strcoll1-ENV): Likewise.
40987 (test-strcasecmp-ENV): Likewise.
40988 (test-strncasecmp-ENV): Likewise.
40989 * time/Makefile (tst-strptime-ENV): Likewise.
40990 (tst-ftime_l-ENV): Likewise.
40991 * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
40992 (tst-mbrtowc-ENV): Likewise.
40993 (tst-wcrtomb-ENV): Likewise.
40994 (tst-mbrtowc2-ENV): Likewise.
40995 (tst-c16c32-1-ENV): Likewise.
40996 (tst-mbsnrtowcs-ENV): Likewise.
40997
40998 2014-06-05 Ondřej Bílka <neleai@seznam.cz>
40999
41000 * manual/resource.texi (How to get information about the memory
41001 subsystem?): Fix typo.
41002 Reported by Peon de la Parra Ivan <peon@keba.com>
41003
41004 2014-06-03 Guo Yixuan <culu.gyx@gmail.com>
41005
41006 [BZ #16882]
41007 * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
41008 (pthread_spin_lock): Branch out of spin loop to proper location.
41009 * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
41010 (pthread_spin_lock): Likewise.
41011
41012 * nptl/tst-spin4.c: New test.
41013 * nptl/Makefile (tests): Add tst-spin4.
41014
41015 2014-06-03 Andreas Schwab <schwab@suse.de>
41016
41017 [BZ #15946]
41018 * resolv/res_send.c (send_dg): Reload file descriptor after
41019 calling reopen.
41020
41021 2014-06-03 Stefan Liebler <stli@linux.vnet.ibm.com>
41022
41023 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
41024
41025 2014-06-03 Richard Henderson <rth@redhat.com>
41026
41027 * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
41028 * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
41029 * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
41030 SAVE_PID and RESTORE_PID blocks from pt-vfork.S. Map 0 to INT_MIN
41031 in the SAVE_PID block.
41032 (__libc_vfork): New alias.
41033 * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
41034
41035 * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
41036 child in registers, not on the stack. Remove RESET_PID conditionals.
41037 * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
41038
41039 2014-06-03 Marcus Shawcroft <marcus.shawcroft@arm.com>
41040
41041 * sysdeps/aarch64/libm-test-ulps: Regenerate.
41042
41043 2014-06-03 Wilco <wdijkstr@arm.com>
41044
41045 * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
41046 (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
41047 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
41048 Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
41049 * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
41050 Likewise.
41051
41052 2014-06-03 Wilco <wdijkstr@arm.com>
41053
41054 * sysdeps/aarch64/fpu/math_private.h
41055 (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
41056 (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
41057 (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
41058 (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
41059 Fix declarations.
41060
41061 2014-06-03 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
41062
41063 * crypt/crypt-private.h: Include ufc-crypt.h.
41064 (__b64_from_24bit): Declare extern.
41065 * crypt/crypt_util.c(__b64_from_24bit): New function.
41066 (b64t): New static const variable.
41067 * crypt/md5-crypt.c (b64_from_24bit): Remove function.
41068 (b64t): Remove variable.
41069 (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
41070 * crypt/sha256-crypt.c: Include crypt-private.h.
41071 (b64t): Remove variable.
41072 (__sha256_crypt_r): Remove b64_from_24bit and replace
41073 with __b64_from_24bit.
41074 * crypt/sha512-crypt.c: Likewise.
41075
41076 2014-06-02 Roland McGrath <roland@hack.frob.com>
41077
41078 * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
41079 * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
41080 Label the code __libc_vfork rather than __vfork.
41081 [!NOT_IN_libc] (vfork): Define as weak alias.
41082 [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
41083 * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
41084 * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
41085
41086 2014-06-02 Siddhesh Poyarekar <siddhesh@redhat.com>
41087
41088 * malloc/malloc.c (malloc_info): Fix format specifier for
41089 n_mmaps.
41090
41091 2014-06-02 Wilco <wdijkstr@arm.com>
41092
41093 * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
41094 FPCR write.
41095
41096 2014-06-02 Wilco <wdijkstr@arm.com>
41097
41098 [BZ #17009]
41099 * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
41100 Rewrite to reduce FPCR/FPSR accesses.
41101
41102 2014-06-01 David S. Miller <davem@davemloft.net>
41103
41104 * sysdeps/sparc/fpu/libm-test-ulps: Update.
41105
41106 2014-05-31 David S. Miller <davem@davemloft.net>
41107
41108 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
41109 to occur in round to nearest mode when |x| >= 2.0
41110
41111 2014-05-30 Richard Henderson <rth@twiddle.net>
41112
41113 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
41114 (PSEUDO_RET_NOERRNO): Remove.
41115 (ret): Don't redefine.
41116 (ret_NOERRNO): Define in terms of ret.
41117 (ret_ERRVAL): Likewise.
41118
41119 * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
41120 use of PSEUDO_RET; perform the error check directly.
41121
41122 2014-05-30 Marko Myllynen <myllynen@redhat.com>
41123
41124 * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
41125 with __int128_t.
41126
41127 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41128
41129 * malloc/malloc (malloc_info): Fix formatting.
41130
41131 2014-05-30 Siddhesh Poyarekar <siddhesh@redhat.com>
41132 Roland McGrath <roland@hack.frob.com>
41133
41134 * malloc/malloc (malloc_info): Also print mmapped statistics.
41135
41136 2014-05-30 Roland McGrath <roland@hack.frob.com>
41137
41138 * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
41139 * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
41140
41141 2014-05-30 Ondřej Bílka <neleai@seznam.cz>
41142
41143 * malloc/malloc.c (malloc_info): Inline mi_arena.
41144
41145 2014-05-29 Richard Henderson <rth@twiddle.net>
41146
41147 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
41148 Remove comma before expanding ASM_ARGS_##nr.
41149 (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
41150 Make _x0 a strict output; make _x8 a strict input; adjust expansion
41151 of ASM_ARGS_##nr.
41152 (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
41153 (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
41154 (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
41155 (ASM_ARGS_1): Add leading comma.
41156
41157 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
41158 (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
41159 to __errno_location.
41160 * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
41161 Remove the expected plt for __errno_location.
41162
41163 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41164 [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
41165 call to __read_tp.
41166
41167 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41168 Always allocate 64 bytes of stack frame. Use ldp/stp to create
41169 it and break it down.
41170 (DOCARGS_0, DOCARGS_1): Do nothing.
41171 (DOCARGS_2): Update to store into the new stack frame.
41172 (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
41173 (UNDOCARGS_1): Update to restore from the new stack frame.
41174 (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
41175 (UNDOCARGS_5, UNDOCARGS_6): Likewise.
41176
41177 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41178 (SINGLE_THREAD_P): New parameter for result regno.
41179 (PSEUDO): Update to match; use cbz instead of beq.
41180
41181 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41182 Use ENTRY to define the _nocancel entry point. Share the syscall
41183 and syscall error check paths with the cancel path.
41184 (PSEUDO_END): New.
41185
41186 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
41187 whitespace; tabs before and after asm mnemonics.
41188
41189 2014-05-29 Eric Wong <normalperson@yhbt.net>
41190
41191 [BZ #15132]
41192 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
41193 Call fstat64 or stat64 internally, depending on arguments passed.
41194 Replace stat buffer argument with file descriptor argument.
41195 (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
41196 * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
41197 Pass fd to __internal_statvfs instead of calling fstat64.
41198 * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
41199 Pass fd to __internal_statvfs64 instead of calling fstat64.
41200 * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
41201 Pass -1 to __internal_statvfs instead of calling stat64.
41202 * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
41203 Pass -1 to __internal_statvfs64 instead of calling stat64.
41204
41205 2014-05-28 Roland McGrath <roland@hack.frob.com>
41206
41207 * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
41208 that was previously under [RESET_PID].
41209 * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
41210
41211 * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
41212 * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
41213
41214 2014-05-27 Roland McGrath <roland@hack.frob.com>
41215
41216 * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
41217
41218 * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
41219 * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
41220
41221 2014-05-27 Ondřej Bílka <neleai@seznam.cz>
41222
41223 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
41224
41225 2014-05-27 Andreas Schwab <schwab@suse.de>
41226
41227 * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
41228 TLS_INIT_TP macro.
41229 * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
41230 * elf/rtld.c (init_tls, dl_main): Likewise.
41231 * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
41232 * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
41233 * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
41234 * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
41235 * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
41236 * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
41237 * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
41238 * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
41239 * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
41240 * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
41241 * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
41242 * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
41243 * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
41244 * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
41245 * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
41246 * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
41247 * sysdeps/generic/tls.h: Update description.
41248
41249 2014-05-27 Will Newton <will.newton@linaro.org>
41250
41251 [BZ #16990]
41252 * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
41253 and restore r2 rather than just restoring.
41254
41255 2014-05-27 Siddhesh Poyarekar <siddhesh@redhat.com>
41256
41257 [BZ #16724]
41258 * libio/tst-ftell-append.c: New test case.
41259 * libio/Makefile (tests): Add test case.
41260 * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
41261 append mode.
41262 * libio/wfileops.c (do_ftell_wide): Likewise.
41263
41264 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41265
41266 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41267
41268 * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
41269 ...
41270 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
41271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
41272 * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
41273 * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
41274 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
41275 * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
41276 * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
41277 * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
41278 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
41279 Moved ...
41280 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
41281 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
41282 Moved ...
41283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
41284 * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
41285 * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
41286 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
41287 * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
41288 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
41289 ...
41290 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
41291 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
41292 Moved ...
41293 * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
41294 here.
41295 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
41296 ...
41297 * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
41298 * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
41299 * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
41300
41301 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
41302 * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
41303 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
41304 * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
41305
41306 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
41307 merge into ...
41308 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
41309 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
41310 ...
41311 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
41312 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
41313 ...
41314 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
41315 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
41316 Moved ...
41317 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
41318 here.
41319 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
41320 Moved ...
41321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
41322 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
41323 Moved ...
41324 * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
41325
41326 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
41327 conditional [RESET_PID].
41328 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
41329 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
41330 removed.
41331 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
41332 removed.
41333
41334 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
41335 <tcb-offsets.h>.
41336 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
41337 (__libc_vfork): New strong alias.
41338 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
41339 removed.
41340 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
41341 Removed.
41342
41343 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
41344 <tcb-offsets.h>.
41345 (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
41346 (__libc_vfork): New strong alias.
41347 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
41348 removed.
41349 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
41350 removed.
41351
41352 2014-05-26 Carlos O'Donell <carlos@redhat.com>
41353
41354 * malloc/malloc.c (mi_arena): New function.
41355 (malloc_info): Remove nested function mi_arena. Call non-nosted
41356 function mi_arena.
41357
41358 2014-05-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41359
41360 * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
41361 by insrwi.
41362 * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
41363 * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
41364 * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
41365 * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
41366 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
41367 * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
41368 * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
41369
41370 2014-05-26 Andreas Schwab <schwab@suse.de>
41371
41372 [BZ #16984]
41373 * locale/programs/repertoire.c (repertoire_read): Add slash
41374 between I18NPATH element and file name.
41375 * locale/programs/locfile.c (locfile_read): Likewise.
41376
41377 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
41378
41379 * nptl/pthread_mutexattr_settype.c
41380 (__pthread_mutexattr_settype):
41381 Disable lock elision for PTHREAD_MUTEX_NORMAL.
41382
41383 2014-05-26 Stefan Liebler <stli@linux.vnet.ibm.com>
41384
41385 * nptl/tst-mutex5 (do_test):
41386 Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
41387
41388 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41389
41390 * benchtests/README: Document 'init' directive.
41391 * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
41392 BENCH_INIT.
41393 * scripts/bench.py (gen_source): Define BENCH_INIT macro.
41394 (parse_file): Recognize 'init' directive.
41395
41396 2014-05-26 Kyle McMartin <kyle@redhat.com>
41397
41398 [BZ #16796]
41399 * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
41400 alignment of struct pthread.
41401
41402 2014-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
41403
41404 [BZ #16878]
41405 * nscd/netgroupcache.c (addgetnetgrentX): Look for
41406 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
41407 * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
41408 NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
41409
41410 2014-05-25 Richard Henderson <rth@twiddle.net>
41411
41412 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41413 (SINGLE_THREAD_P_PIC): Remove.
41414 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
41415 (SINGLE_THREAD_P_PIC): Remove.
41416
41417 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
41418 branch to syscall error ...
41419 (PSEUDO): ... here.
41420 [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
41421 from __local_syscall_error to .Lsyscall_error.
41422 [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
41423 (SYSCALL_ERROR): Update label name.
41424
41425 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41426 Do not use DOARGS/UNDOARGS.
41427 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
41428 (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
41429 (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
41430 (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
41431 (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
41432
41433 * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
41434 block comment.
41435
41436 * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
41437 define if !NOT_IN_libc.
41438 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
41439 define with non-default symbol versions.
41440
41441 2014-05-23 Richard Henderson <rth@twiddle.net>
41442
41443 * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
41444 (vfork, __vfork): Define via compat_symbol.
41445
41446 * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
41447 [!HAVE_IFUNC] (vfork_compat): Remove.
41448 [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
41449
41450 2014-05-23 Joseph Myers <joseph@codesourcery.com>
41451
41452 [BZ #16978]
41453 * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
41454 * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
41455 variable.
41456
41457 2014-05-23 Richard Henderson <rth@twiddle.net>
41458
41459 * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
41460 * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
41461 * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
41462 * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
41463
41464 * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
41465 * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
41466 * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
41467 * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
41468 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
41469 * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
41470 * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
41471 * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
41472 * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
41473 * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
41474 * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
41475 * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
41476 * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
41477 * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
41478 * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
41479 * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
41480 * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
41481 * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
41482 * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
41483 * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
41484 * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
41485 * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
41486 * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
41487 * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
41488 * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
41489 * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
41490 * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
41491 * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
41492 * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
41493 * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
41494 * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
41495 * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
41496 * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
41497 * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
41498 * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
41499 * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
41500 * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
41501 * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
41502 * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
41503 * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
41504 * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
41505 * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
41506 * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
41507 * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
41508 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
41509 * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
41510 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
41511 * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
41512 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
41513 * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
41514 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
41515 * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
41516 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
41517 * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
41518 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
41519 * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
41520
41521 * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
41522 * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
41523 * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here. Restore PID
41524 before exiting on error.
41525 (__libc_vfork): New strong alias.
41526 * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
41527 * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
41528
41529 * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
41530 that was previously under [RESET_PID].
41531 * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
41532
41533 * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
41534
41535 2014-05-23 Joseph Myers <joseph@codesourcery.com>
41536
41537 [BZ #16977]
41538 * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
41539 value when x - 1 is zero.
41540 * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
41541 * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
41542 * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
41543 0.0L for an argument of 1.0L.
41544 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
41545 Likewise.
41546 * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
41547 value when x - 1 is zero.
41548 * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
41549 * sysdeps/i386/fpu/libm-test-ulps: Update.
41550 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
41551
41552 2014-05-23 Rasmus Villemoes <rv@rasmusvillemoes.dk>
41553
41554 * manual/filesys.texi (Scanning Directory Content): Fix prototype of
41555 alphasort and versionsort.
41556
41557 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41558
41559 * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
41560 macro.
41561 [copysignf]: Likewise.
41562
41563 2014-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
41564
41565 * crypt/md5-crypt.c: Fix formatting.
41566
41567 2014-05-22 Kostya Serebryany <konstantin.s.serebryany@gmail.com>
41568
41569 * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
41570 (b64_from_24bit): New function.
41571
41572 2014-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41573
41574 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
41575 libc_hidden_builtin_def to ifunc.
41576 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
41577 [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
41578
41579 2014-05-21 Roland McGrath <roland@hack.frob.com>
41580
41581 * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
41582 * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
41583
41584 2014-05-21 Joseph Myers <joseph@codesourcery.com>
41585
41586 * nscd/Depend (linuxthreads): Remove.
41587 (nptl): Add.
41588 * resolv/Depend (linuxthreads): Remove.
41589 * rt/Depend (linuxthreads): Remove.
41590
41591 * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
41592 (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
41593 $(common-objpfx)elf/.
41594 (link-libc-before-gnulib): Likewise.
41595 (elfobjdir): Remove variable.
41596 * Makefile (install): Use $(elf-objpfx) instead of
41597 $(common-objpfx)elf/.
41598 * Makerules (link-libc-args): Use $(elf-objpfx) instead of
41599 $(elfobjdir)/.
41600 (link-libc-deps): Likewise.
41601 ($(common-objpfx)libc.so): Likewise.
41602 ($(common-objpfx)linkobj/libc.so): Likewise.
41603 [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
41604 instead of $(common-objpfx)elf/.
41605 (symbolic-link-list): Likewise.
41606 * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
41607 [$(cross-compiling) = no]: Likewise.
41608 * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
41609 $(elfobjdir)/.
41610 (static-gnulib-arch): Likewise.
41611 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
41612 [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
41613 $(common-objpfx)elf/.
41614
41615 2014-05-21 Richard Henderson <rth@redhat.com>
41616
41617 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
41618 (SINGLE_THREAD_P): Use the correct width load. Fold
41619 into the ldr offset.
41620
41621 * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
41622 (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
41623
41624 2014-05-20 Joseph Myers <joseph@codesourcery.com>
41625
41626 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
41627 (libgcc_s_resume): Use __attribute_used__.
41628 * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
41629 Likewise.
41630
41631 2014-05-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41632
41633 * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
41634 optimization when used with float constants.
41635
41636 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
41637
41638 2014-05-20 Aurelien Jarno <aurelien@aurel32.net>
41639
41640 [BZ #16915]
41641 * locale/nl_langinfo_l.c: Make direct reference to every
41642 _nl_current_CATEGORY symbol.
41643 * localedata/Makefile (test-srcs): Add tst-langinfo-static.
41644 (tests-static): Add tst-langinfo-static.
41645 (tests-special): Add tst-langinfo-static.out.
41646 ($(objpfx)tst-langinfo.out): Redirect output.
41647 ($(objpfx)tst-langinfo-static.out): New.
41648 * localedata/tst-langinfo.sh: Send output to stdout.
41649 * localedata/tst-langinfo-static.c: New file.
41650
41651 [BZ #16965]
41652 * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
41653 when the shift amount is modulo the limb size.
41654
41655 2014-05-20 Richard Henderson <rth@redhat.com>
41656
41657 [BZ #16967]
41658 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
41659 Change type of sa_flags from unsigned int to int.
41660
41661 [BZ #16966]
41662 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
41663
41664 * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
41665
41666 2014-05-20 Will Newton <will.newton@linaro.org>
41667
41668 * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
41669 Test the return value of the system call in the nocancel case.
41670
41671 2014-05-20 Will Newton <will.newton@linaro.org>
41672 Yvan Roux <yvan.roux@linaro.org>
41673
41674 * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
41675 #include of asm/ptrace.h.
41676 (PTRACE_GET_THREAD_AREA): Remove #undef.
41677 (PTRACE_GETHBPREGS): Likewise.
41678 (PTRACE_SETHBPREGS): Likewise.
41679 (struct user_regs_struct): New structure.
41680 (struct user_fpsimd_struct): New structure.
41681 * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
41682 #include of asm/ptrace.h and second #include of sys/user.h.
41683 (PTRACE_GET_THREAD_AREA): Remove #undef.
41684 (PTRACE_GETHBPREGS): Likewise.
41685 (PTRACE_SETHBPREGS): Likewise.
41686 (ELF_NGREG): Use new struct user_regs_struct.
41687 (elf_fpregset_t): Use new struct user_fpsimd_struct.
41688
41689 2014-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41690
41691 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
41692 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
41693
41694 2014-05-17 Jose E. Marchesi <jose.marchesi@oracle.com>
41695
41696 [BZ #16958]
41697 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
41698 membar to avoid block loads/stores to overlap previous stores.
41699
41700 2014-05-17 Richard Henderson <rth@redhat.com>
41701
41702 * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
41703 Create the __##syscall_name##_nocancel entry point.
41704 * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
41705 Remove; let the sysdep-cancel.h code create it.
41706
41707 2014-05-17 David S. Miller <davem@davemloft.net>
41708
41709 * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
41710 Protect with __USE_GNU.
41711 (TIOCSET_TEMPT): Likewise.
41712 (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
41713 TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
41714 these are already provided in bits/ioctl-types.h
41715
41716 2014-05-16 Roland McGrath <roland@hack.frob.com>
41717
41718 * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
41719 * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
41720
41721 * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
41722 Use wait4 regardless of [__NR_waitpid].
41723
41724 2014-05-16 Maciej W. Rozycki <macro@codesourcery.com>
41725
41726 PR libgcc/60166
41727 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
41728 (_FP_NANSIGN_Q): Set the quiet bit.
41729
41730 2014-05-16 Joseph Myers <joseph@codesourcery.com>
41731
41732 * benchtests/Makefile
41733 ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
41734 not $(common-objpfx)math/libm.so.
41735 ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
41736 $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
41737 * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
41738 $(common-objpfx)dlfcn/libdl.so.
41739 ($(objpfx)tst-audit8): Depend on $(libm), not
41740 $(common-objpfx)math/libm.so.
41741 * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
41742 not $(common-objpfx)dlfcn/libdl.so.
41743 * math/Makefile
41744 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
41745 Depend on $(libm), not $(objpfx)libm.so. Do not condition on
41746 [$(build-shared) = yes].
41747 ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
41748 $(common-objpfx)nptl/libpthread.so.
41749 * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
41750 $(common-objpfx)math/libm.so$(libm.so-version) or
41751 $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
41752 * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
41753 $(common-objpfx)dlfcn/libdl.so.
41754 * setjmp/Makefile (link-libm): Remove variable.
41755 ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
41756 * stdio-common/Makefile (link-libm): Remove variable.
41757 ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
41758 * stdlib/Makefile (link-libm): Remove variable.
41759 ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
41760 ($(objpfx)tst-strtod-round): Likewise.
41761 ($(objpfx)tst-tininess): Likewise.
41762 ($(objpfx)tst-strtod-underflow): Likewise.
41763 ($(objpfx)tst-strtod6): Likewise.
41764 ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
41765 $(libdl), not $(common-objpfx)nptl/libpthread.so and
41766 $(common-objpfx)dlfcn/libdl.so.
41767
41768 2014-05-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
41769
41770 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
41771 BSD terminal modes definitions.
41772
41773 2014-05-16 Roland McGrath <roland@hack.frob.com>
41774
41775 * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
41776 * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
41777
41778 * sysdeps/unix/sysv/linux/arch-fork.h: New file.
41779 * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
41780 * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
41781 Don't do #include_next.
41782 * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
41783 * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
41784 Don't do #include_next.
41785 * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
41786 * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
41787 * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
41788 * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
41789
41790 2014-05-16 Allan McRae <allan@archlinux.org>
41791
41792 * po/sv.po: Update Swedish translation from translation project.
41793
41794 * timezone/Makefile ($(objpfx)tzselect): Use correct variable
41795 in sed expression.
41796
41797 2014-05-16 Aurelien Jarno <aurelien@aurel32.net>
41798
41799 [BZ #16917]
41800 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
41801 errno if the TIOCGPTN ioctl fails with an error different than
41802 EINVAL.
41803 * login/tst-ptsname.c: New file.
41804 * login/Makefile (tests): Add tst-ptsname.
41805
41806 [BZ #16943]
41807 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
41808 and prlimit64.
41809
41810 2014-05-15 Siddhesh Poyarekar <siddhesh@redhat.com>
41811
41812 [BZ #16849]
41813 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
41814 herrno to return EAI_AGAIN.
41815
41816 2014-05-14 Roland McGrath <roland@hack.frob.com>
41817
41818 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
41819 * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
41820 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
41821 * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
41822 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
41823 * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
41824 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
41825 * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
41826 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
41827 * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
41828 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
41829 * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
41830 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
41831 * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
41832 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
41833 * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
41834 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
41835 * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
41836 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
41837 * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
41838 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
41839 * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
41840 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
41841 * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
41842 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
41843 * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
41844 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
41845 * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
41846 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
41847 * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
41848 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
41849 * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
41850 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
41851 * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
41852 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
41853 Moved ...
41854 * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
41855 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
41856 * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
41857 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
41858 * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
41859 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
41860 * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
41861 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
41862 * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
41863 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
41864 * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
41865 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
41866 * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
41867 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
41868 * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
41869 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
41870 * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
41871 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
41872 * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
41873 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
41874 * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
41875 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
41876 * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
41877 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
41878 * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
41879 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
41880 * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
41881 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
41882 Moved ...
41883 * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
41884 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
41885 * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
41886 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
41887 * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
41888 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
41889 * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
41890 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
41891 * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
41892 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
41893 * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
41894 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
41895 * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
41896 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
41897 * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
41898 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
41899 * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
41900 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
41901 * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
41902 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
41903 Moved ...
41904 * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
41905 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
41906 * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
41907
41908 * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
41909 * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
41910 (libpthread-sysdep_routines): Add elision-related stuff here instead.
41911 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
41912 * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
41913 * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
41914 * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
41915 * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
41916 * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
41917 * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
41918 * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
41919 * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
41920 * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
41921 * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
41922 * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
41923 * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
41924 * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
41925 * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
41926 * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
41927 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
41928 * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
41929 * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
41930 * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
41931 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
41932 * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
41933 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
41934 * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
41935 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
41936 * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
41937 * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
41938 * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
41939
41940 * sysdeps/unix/sysv/linux/mips/fork.h: New file.
41941 * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
41942
41943 * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
41944 * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
41945 * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
41946 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
41947 * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
41948 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
41949 Moved ...
41950 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
41951 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
41952 Moved ...
41953 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
41954 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
41955 Moved ...
41956 * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
41957 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
41958 Moved ...
41959 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
41960 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
41961 * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
41962 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
41963 Moved ...
41964 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
41965 * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
41966 * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
41967 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
41968 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
41969 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
41970 * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
41971 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
41972 Moved ...
41973 * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
41974 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41975 Moved ...
41976 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
41977 ... here.
41978 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
41979 * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
41980 * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
41981 * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
41982 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41983 Moved ...
41984 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
41985 ... here.
41986 * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
41987 Moved ...
41988 * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
41989 * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
41990 * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
41991 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
41992 * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
41993 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
41994 Moved ...
41995 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
41996 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
41997 Moved ...
41998 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
41999 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
42000 Moved ...
42001 * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
42002 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
42003 Moved ...
42004 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
42005 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
42006 * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
42007 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
42008 Moved ...
42009 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
42010 * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
42011 * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
42012 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
42013 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
42014 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
42015 * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
42016 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
42017 Moved ...
42018 * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
42019 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
42020 Moved ...
42021 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
42022 ... here.
42023 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
42024 * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
42025 * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
42026 * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
42027 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
42028 Moved ...
42029 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
42030 ... here.
42031 * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
42032 Moved ...
42033 * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
42034 * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
42035 * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
42036 * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
42037 * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
42038 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
42039 * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
42040 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
42041 * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
42042 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
42043 Moved ...
42044 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
42045 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
42046 Moved ...
42047 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
42048 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
42049 Moved ...
42050 * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
42051 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
42052 Moved ...
42053 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
42054 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
42055 * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
42056 * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
42057 * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
42058 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
42059 Moved ...
42060 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
42061 * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
42062 * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
42063 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
42064 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
42065 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
42066 * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
42067 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
42068 Moved ...
42069 * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
42070 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
42071 Moved ...
42072 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
42073 ... here.
42074 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
42075 * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
42076 * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
42077 * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
42078 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
42079 Moved ...
42080 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
42081 ... here.
42082 * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
42083 Moved ...
42084 * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
42085 * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
42086 * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
42087 * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
42088 * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
42089 * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
42090 * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
42091 * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
42092 * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
42093 * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
42094 * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
42095
42096 * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
42097 * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
42098
42099 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
42100 * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
42101
42102 * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
42103 * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
42104 * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
42105 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
42106 * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
42107 * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
42108 * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
42109 * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
42110 * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
42111 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
42112 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
42113 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
42114 * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
42115 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
42116 * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
42117 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
42118 * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
42119 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
42120 Moved ...
42121 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
42122 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
42123 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
42124 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
42125 Moved ...
42126 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
42127 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
42128 * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
42129 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
42130 * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
42131 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
42132 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
42133 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
42134 Moved ...
42135 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
42136 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
42137 Moved ...
42138 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
42139 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
42140 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
42141 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
42142 * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
42143 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
42144 * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
42145 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
42146 * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
42147 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
42148 * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
42149 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
42150 * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
42151 * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
42152 * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
42153 * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
42154 * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
42155
42156 * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
42157 * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
42158 * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
42159 * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
42160 * sysdeps/unix/sysv/linux/i386/fork.h: New file.
42161
42162 * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
42163 * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
42164 * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
42165 * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
42166 * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
42167 * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
42168 * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
42169 * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
42170 * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
42171 * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
42172
42173 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
42174 * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
42175
42176 * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
42177 * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
42178 * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
42179 * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
42180 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
42181 * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
42182 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
42183 * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
42184 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
42185 * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
42186 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
42187 * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
42188 * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
42189 * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
42190 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
42191 Update #include.
42192 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
42193 Likewise.
42194 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
42195 Likewise.
42196 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
42197 Likewise.
42198 * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
42199 Likewise.
42200 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
42201 Likewise.
42202 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
42203 Likewise.
42204 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
42205 Likewise.
42206 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
42207 Likewise.
42208 * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
42209 Likewise.
42210 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
42211 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
42212 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
42213 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
42214 * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
42215 * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
42216 * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
42217 * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
42218 * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
42219 * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
42220 * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
42221 * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
42222 * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
42223 * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Likewise.
42224 * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Likewise.
42225
42226 * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
42227 that was previously under [RESET_PID].
42228 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
42229 * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
42230 * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
42231
42232 * sysdeps/i386/nptl/Implies: New file.
42233 * sysdeps/x86_64/nptl/Implies: New file.
42234 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
42235 * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
42236 * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
42237 * sysdeps/x86/nptl/bits/semaphore.h: ... here.
42238
42239 * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
42240 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42241 (__libc_vfork): New strong alias.
42242 * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
42243 * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
42244
42245 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
42246 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42247 (__libc_vfork): New strong alias.
42248 * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
42249 * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
42250
42251 * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
42252 (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
42253 (__libc_vfork): New strong alias.
42254 * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
42255 * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
42256 * nptl/pt-vfork.c: New file.
42257 * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
42258 (libpthread: GLIBC_2.20): New version set (empty).
42259
42260 2014-05-14 Will Newton <will.newton@linaro.org>
42261
42262 * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
42263 rather than #if.
42264
42265 2014-05-14 Joseph Myers <joseph@codesourcery.com>
42266
42267 [BZ #16564]
42268 * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
42269 arguments with exponent 65 or above.
42270 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
42271 arguments 0x1p113L or above.
42272 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
42273 to arguments 0x1p107L or above.
42274 * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
42275 positive arguments with exponent 65 or above.
42276 * math/auto-libm-test-in: Add more tests of log1p.
42277 * math/auto-libm-test-out: Regenerated.
42278
42279 [BZ #16928]
42280 * math/s_cacos.c (__cacos): Ensure zero real part of result from
42281 non-finite arguments is +0.
42282 * math/s_cacosf.c (__cacosf): Likewise.
42283 * math/s_cacosl.c (__cacosl): Likewise.
42284 * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
42285 * sysdeps/i386/fpu/libm-test-ulps: Update.
42286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42287
42288 [BZ #16927]
42289 * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
42290 value.
42291 * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
42292 * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
42293 * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
42294 for explicit high bit of mantissa when testing for argument equal
42295 to 1.
42296 * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
42297 * sysdeps/i386/fpu/libm-test-ulps: Update.
42298 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
42299
42300 [BZ #16516]
42301 * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
42302 (__erf): Scale by 16 instead of 8 in potentially underflowing
42303 case. Ensure exception if result actually underflows.
42304 * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
42305 (__erff): Scale by 16 instead of 8 in potentially underflowing
42306 case. Ensure exception if result actually underflows.
42307 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
42308 (efx8): Remove variable.
42309 (__erfl): Scale by 16 instead of 8 in potentially underflowing
42310 case. Ensure exception if result actually underflows.
42311 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
42312 (efx8): Remove variable.
42313 (__erfl): Scale by 16 instead of 8 in potentially underflowing
42314 case. Ensure exception if result actually underflows.
42315 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
42316 (efx8): Remove variable.
42317 (__erfl): Scale by 16 instead of 8 in potentially underflowing
42318 case. Ensure exception if result actually underflows.
42319 * math/auto-libm-test-in: Add more tests of erf.
42320 * math/auto-libm-test-out: Regenerated.
42321
42322 2014-05-14 Andreas Schwab <schwab@suse.de>
42323
42324 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
42325 Remove code conditionalized on USE___THREAD.
42326
42327 * config.h.in (HAVE_PT_CHOWN): Define as 0.
42328 * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
42329 not definedness.
42330
42331 2014-05-14 Joseph Myers <joseph@codesourcery.com>
42332
42333 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
42334 Define unconditionally.
42335 (__ASSUME_O_CLOEXEC): Likewise.
42336 (__ASSUME_SOCK_CLOEXEC): Likewise.
42337 (__ASSUME_IN_NONBLOCK): Likewise.
42338 (__ASSUME_PIPE2): Likewise.
42339 (__ASSUME_EVENTFD2): Likewise.
42340 (__ASSUME_SIGNALFD4): Likewise.
42341 (__ASSUME_DUP3): Likewise.
42342 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
42343 (__ASSUME_DUP3): Do not define.
42344 (__ASSUME_EVENTFD2): Likewise.
42345 (__ASSUME_IN_NONBLOCK): Likewise.
42346 (__ASSUME_O_CLOEXEC): Likewise.
42347 (__ASSUME_PIPE2): Likewise.
42348 (__ASSUME_SIGNALFD4): Likewise.
42349 (__ASSUME_SOCK_CLOEXEC): Likewise.
42350 (__ASSUME_UTIMES): Undefine.
42351 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42352 (__ASSUME_UTIMES): Do not define.
42353 (__ASSUME_O_CLOEXEC): Likewise.
42354 (__ASSUME_SOCK_CLOEXEC): Likewise.
42355 (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
42356 0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
42357 0x020621].
42358 (__ASSUME_PIPE2): Likewise.
42359 (__ASSUME_EVENTFD2): Likewise.
42360 (__ASSUME_SIGNALFD4): Likewise.
42361 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
42362 * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
42363 Do not define.
42364 (__ASSUME_EVENTFD2): Likewise.
42365 (__ASSUME_SIGNALFD4): Likewise.
42366 * sysdeps/unix/sysv/linux/hppa/kernel-features.h
42367 (__ASSUME_32BITUIDS): Likewise.
42368 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
42369 (__ASSUME_IPC64): Likewise.
42370 (__ASSUME_ST_INO_64_BIT): Likewise.
42371 (__ASSUME_GETDENTS64_SYSCALL): Likewise.
42372 [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
42373 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42374 (__ASSUME_UTIMES): Do not define.
42375 (__ASSUME_PSELECT): Likewise.
42376 (__ASSUME_PPOLL): Likewise.
42377 (__ASSUME_O_CLOEXEC): Likewise.
42378 (__ASSUME_SOCK_CLOEXEC): Likewise.
42379 (__ASSUME_IN_NONBLOCK): Likewise.
42380 (__ASSUME_PIPE2): Likewise.
42381 (__ASSUME_EVENTFD2): Likewise.
42382 (__ASSUME_SIGNALFD4): Likewise.
42383 (__ASSUME_DUP3): Likewise.
42384 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42385 (__ASSUME_UTIMES): 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/microblaze/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/mips/kernel-features.h (__ASSUME_IPC64):
42403 Likewise.
42404 (__ASSUME_UTIMES): Likewise.
42405 (__ASSUME_EVENTFD2): Likewise.
42406 (__ASSUME_SIGNALFD4): Likewise.
42407 * sysdeps/unix/sysv/linux/tile/kernel-features.h
42408 (__ASSUME_O_CLOEXEC): Likewise.
42409 (__ASSUME_SOCK_CLOEXEC): Likewise.
42410 (__ASSUME_IN_NONBLOCK): Likewise.
42411 (__ASSUME_PIPE2): Likewise.
42412 (__ASSUME_EVENTFD2): Likewise.
42413 (__ASSUME_SIGNALFD4): Likewise.
42414 (__ASSUME_DUP3): Likewise.
42415 (__ASSUME_UTIMES): Undefine.
42416
42417 * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
42418 feclearexcept. Remove symbol versioning code.
42419 * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv. Remove
42420 symbol versioning code.
42421 * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv. Remove
42422 symbol versioning code.
42423 * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
42424 feupdateenv. Remove symbol versioning code.
42425 * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
42426 fegetexceptflag. Remove symbol versioning code.
42427 * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
42428 fesetexceptflag. Remove symbol versioning code.
42429 * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
42430 GLIBC_2.2 and GLIBC_2.3.3 entries. Change GLIBC_2.1 to GLIBC_2.4.
42431 * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
42432 (__posix_fadvise64_l32): Remove prototype.
42433 [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
42434 code.
42435
42436 2014-05-13 Roland McGrath <roland@hack.frob.com>
42437
42438 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
42439 * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
42440 * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
42441 * sysdeps/arm/nptl/bits/semaphore.h: ... here.
42442
42443 2014-05-13 Sami Kerola <kerolasa@iki.fi>
42444
42445 * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
42446 current working directory
42447
42448 2014-05-13 Roland McGrath <roland@hack.frob.com>
42449
42450 * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
42451 * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
42452 * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
42453 * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
42454 * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
42455 * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
42456 * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
42457 * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
42458 * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
42459 * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
42460 * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
42461 * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
42462 * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
42463 * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
42464 * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
42465 * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
42466 * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
42467 * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
42468 * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
42469 * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
42470 * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
42471 * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
42472 * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
42473 * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
42474 * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
42475 * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
42476 * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
42477 * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
42478 * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
42479 * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
42480 * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
42481 * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
42482 * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
42483 * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
42484 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
42485 * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
42486 * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
42487 * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
42488 * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
42489 * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
42490 * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
42491 * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
42492
42493 * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
42494 * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
42495
42496 * sysdeps/unix/sysv/linux/arm/Makefile
42497 [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
42498 Add rt-aeabi_unwind_cpp_pr1.
42499 [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
42500 Add nptl-aeabi_unwind_cpp_pr1.
42501 [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
42502 * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
42503 * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
42504 * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
42505 * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
42506 * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
42507
42508 * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
42509 * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
42510 * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
42511 * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
42512
42513 * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
42514 Deconditionalize the code that was previously under [RESET_PID].
42515 * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
42516
42517 * sysdeps/generic/exit-thread.h: New file.
42518 * sysdeps/unix/sysv/linux/exit-thread.h: New file.
42519 * include/unistd.h (__exit_thread): Remove declaration.
42520 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
42521 * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
42522 * csu/libc-start.c: Include <exit-thread.h>.
42523 (LIBC_START_MAIN): Pass no argument to __exit_thread.
42524 * nptl/pthread_create.c: Include <exit-thread.h>.
42525 (start_thread): Call __exit_thread in place of __exit_thread_inline.
42526 * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
42527 * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
42528 * nptl/sysdeps/s390/pthreaddef.h: Likewise.
42529 * nptl/sysdeps/sh/pthreaddef.h: Likewise.
42530 * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
42531 * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
42532 * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
42533 * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
42534 * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
42535 * sysdeps/arm/nptl/pthreaddef.h: Likewise.
42536 * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
42537 * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
42538 * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
42539 * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
42540 * sysdeps/mips/nptl/pthreaddef.h: Likewise.
42541 * sysdeps/tile/nptl/pthreaddef.h: Likewise.
42542
42543 2014-05-13 Andreas Schwab <schwab@suse.de>
42544
42545 * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
42546
42547 2014-05-12 Joseph Myers <joseph@codesourcery.com>
42548
42549 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
42550 (__ASSUME_UTIMES): Do not condition on kernel version.
42551 (__ASSUME_PSELECT): Define unconditionally.
42552 (__ASSUME_PPOLL): Likewise.
42553 (__ASSUME_ATFCTS): Likewise.
42554 (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
42555 (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
42556 (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
42557 (__ASSUME_UTIMENSAT): Define unconditionally.
42558 (__ASSUME_PRIVATE_FUTEX): Likewise.
42559 (__ASSUME_FALLOCATE): Likewise.
42560 (__ASSUME_O_CLOEXEC): Likewise.
42561 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
42562 (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
42563 (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
42564 (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
42565 (__ASSUME_IN_NONBLOCK): Likewise.
42566 (__ASSUME_PIPE2): Likewise.
42567 (__ASSUME_EVENTFD2): Likewise.
42568 (__ASSUME_SIGNALFD4): Likewise.
42569 (__ASSUME_DUP3): Likewise.
42570 [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42571 (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
42572 (__ASSUME_AT_RANDOM): Likewise.
42573 (__ASSUME_PREADV): Likewise.
42574 (__ASSUME_PWRITEV): Likewise.
42575 (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
42576 (__ASSUME_F_GETOWN_EX): Define unconditionally.
42577 (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
42578 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
42579 [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
42580 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
42581 (__ASSUME_O_CLOEXEC): Define unconditionally.
42582 (__ASSUME_PSELECT): Do not undefine conditionally.
42583 (__ASSUME_PPOLL): Likewise.
42584 (__ASSUME_ATFCTS): Likewise.
42585 (__ASSUME_SET_ROBUST_LIST): Likewise.
42586 (__ASSUME_UTIMENSAT): Likewise.
42587 (__ASSUME_FDATASYNC): Define unconditionally.
42588 * sysdeps/unix/sysv/linux/arm/kernel-features.h
42589 (__ASSUME_SIGFRAME_V2): Likewise.
42590 )__ASSUME_EVENTFD2): Likewise.
42591 (__ASSUME_SIGNALFD4): Likewise.
42592 (__ASSUME_PSELECT): Do not undefine conditionally.
42593 (__ASSUME_PPOLL): Likewise.
42594 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
42595 (__ASSUME_PSELECT): Define unconditionally.
42596 (__ASSUME_PPOLL): Likewise.
42597 (__ASSUME_O_CLOEXEC): Likewise.
42598 (__ASSUME_SOCK_CLOEXEC): Likewise.
42599 (__ASSUME_IN_NONBLOCK): Likewise.
42600 (__ASSUME_PIPE2): Likewise.
42601 (__ASSUME_EVENTFD2): Likewise.
42602 (__ASSUME_SIGNALFD4): Likewise.
42603 (__ASSUME_DUP3): Likewise.
42604 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
42605 (__ASSUME_O_CLOEXEC): Likewise.
42606 (__ASSUME_SOCK_CLOEXEC): Likewise.
42607 (__ASSUME_IN_NONBLOCK): Likewise.
42608 (__ASSUME_PIPE2): Likewise.
42609 (__ASSUME_EVENTFD2): Likewise.
42610 (__ASSUME_SIGNALFD4): Likewise.
42611 (__ASSUME_DUP3): Likewise.
42612 * sysdeps/unix/sysv/linux/mips/kernel-features.h
42613 (__ASSUME_EVENTFD2): Likewise.
42614 (__ASSUME_SIGNALFD4): Likewise.
42615 (__ASSUME_ACCEPT4_SYSCALL): Likewise.
42616
42617 2014-05-12 Andreas Schwab <schwab@suse.de>
42618
42619 [BZ #16932]
42620 * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
42621 (_nss_nis_gethostbyname4_r): Return error if item length is larger
42622 than maximum RPC packet size.
42623 * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
42624 * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
42625 * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
42626 (_nss_nis_getservbyport_r): Likewise.
42627
42628 2014-05-12 Will Newton <will.newton@linaro.org>
42629
42630 * malloc/Makefile (tests): Add tst-mallopt.
42631 * malloc/tst-mallopt.c: New file.
42632
42633 2014-05-09 Roland McGrath <roland@hack.frob.com>
42634
42635 * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
42636 [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
42637
42638 2014-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42639
42640 * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
42641 (tst-tlsmod6.so): Likewise.
42642
42643 2014-05-09 Roland McGrath <roland@hack.frob.com>
42644
42645 * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
42646
42647 2014-05-09 Joseph Myers <joseph@codesourcery.com>
42648
42649 [BZ #16064]
42650 * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
42651 and <dl-procinfo.h>.
42652 (__fegetenv): Save SSE state in envp->__eip if supported.
42653 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
42654 envp->__eip if supported.
42655 * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
42656 and <dl-procinfo.h>.
42657 (__fesetenv): Always set __eip, __cs_selector, __opcode,
42658 __data_offset and __data_selector in environment to 0. Set SSE
42659 state if supported.
42660 * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
42661 test-fenv-sse.
42662 [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
42663 -mfpmath=sse.
42664 * sysdeps/x86/fpu/test-fenv-sse.c: New file.
42665
42666 2014-05-09 Will Newton <will.newton@linaro.org>
42667
42668 * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
42669 and libc_relro_required for ARM.
42670 * sysdeps/arm/preconfigure: Regenerate.
42671
42672 2014-05-09 Dominik Vogt <vogt@linux.vnet.ibm.com>
42673 Stefan Liebler <stli@linux.vnet.ibm.com>
42674
42675 * config.make.in (enable-lock-elision): New Makefile variable.
42676 * configure.ac: Likewise.
42677 * configure: Regenerate.
42678 * sysdeps/s390/configure.ac:
42679 Add check for gcc transactions support.
42680 * sysdeps/s390/configure: Regenerate.
42681 * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
42682 Build elision files if enabled.
42683 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
42684 Add lock elision support for s390.
42685 * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
42686 * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
42687 * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
42688 * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
42689 * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
42690 * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
42691 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
42692 Likewise.
42693 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
42694 Likewise.
42695 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
42696 Likewise.
42697 * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
42698 Likewise.
42699 * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
42700 (__lll_timedlock_elision, __lll_lock_elision)
42701 (__lll_unlock_elision, __lll_trylock_elision)
42702 (lll_timedlock_elision, lll_lock_elision)
42703 (lll_unlock_elision, lll_trylock_elision): Add.
42704 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
42705 (pthread_mutex_t): Add lock elision support for s390.
42706
42707 2014-05-14 Wilco <wdijkstr@arm.com>
42708
42709 * sysdeps/arm/fclrexcpt.c: Cleanup.
42710 * sysdeps/arm/fedisblxcpt.c: Cleanup.
42711 * sysdeps/arm/feenablxcpt.c: Cleanup.
42712 * sysdeps/arm/fegetenv.c: Cleanup.
42713 * sysdeps/arm/fegetexcept.c: Cleanup.
42714 * sysdeps/arm/fegetround.c: Cleanup.
42715 * sysdeps/arm/feholdexcpt.c: Cleanup.
42716 * sysdeps/arm/fesetenv.c: Cleanup.
42717 * sysdeps/arm/fesetround.c: Cleanup.
42718 * sysdeps/arm/feupdateenv.c: Cleanup.
42719 * sysdeps/arm/fgetexcptflg.c: Cleanup.
42720 * sysdeps/arm/fraiseexcpt.c: Cleanup.
42721 * sysdeps/arm/fsetexcptflg.c: Cleanup.
42722 * sysdeps/arm/ftestexcept.c: Cleanup.
42723 * sysdeps/arm/get-rounding-mode.h: Cleanup.
42724 * sysdeps/arm/setfpucw.c: Cleanup.
42725
42726 2014-05-09 Will Newton <will.newton@linaro.org>
42727
42728 * sysdeps/arm/armv7/strcmp.S: New file.
42729 * NEWS: Mention addition of ARMv7 optimized strcmp.
42730
42731 2014-05-08 Roland McGrath <roland@hack.frob.com>
42732
42733 * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
42734 look for %.ac rather than %.in.
42735
42736 * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
42737 * sysdeps/unix/sysv/linux/configure.ac: Likewise.
42738 * sysdeps/mach/hurd/configure: Regenerated.
42739 * sysdeps/unix/sysv/linux/configure: Regenerated.
42740
42741 * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
42742
42743 2014-05-07 Steve Ellcey <sellcey@mips.com>
42744
42745 [BZ# 16922]
42746 * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
42747 (LONG_SUB): Ditto.
42748 (PTR_SUB): Ditto.
42749
42750 2014-05-07 Andreas Schwab <schwab@suse.de>
42751
42752 * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
42753 when skipping over non-matching result from nscd.
42754
42755 2014-05-07 Ondřej Bílka <neleai@seznam.cz>
42756
42757 [BZ #16876]
42758 * nptl/sockperf.c (client): Check socket return value.
42759
42760 [BZ #16877]
42761 * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
42762 nscd security class.
42763
42764 2014-05-06 Roland McGrath <roland@hack.frob.com>
42765
42766 * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
42767 * sysdeps/arm/unwind.h: ... here.
42768
42769 2014-05-06 Aurelien Jarno <aurelien@aurel32.net>
42770
42771 [BZ# 16916]
42772 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
42773 Define.
42774
42775 2014-05-06 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
42776
42777 * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
42778 * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
42779 multiarch strncpy for PPC64.
42780 * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
42781 * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
42782 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
42783 multiarch optimizations.
42784 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
42785 (__libc_ifunc_impl_list): Likewise.
42786 * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
42787 * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
42788 multiarch stpncpy for PPC64.
42789 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
42790 * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
42791
42792 2014-05-06 Andreas Schwab <schwab@suse.de>
42793
42794 [BZ #16912]
42795 * gmon/mcount.c (_MCOUNT_DECL): Use
42796 atomic_compare_and_exchange_bool_acq instead of
42797 catomic_compare_and_exchange_bool_acq.
42798
42799 2014-05-05 Roland McGrath <roland@hack.frob.com>
42800
42801 * elf/Makefile (others, install-bin): Remove pldd.
42802 (pldd-modules): Variable removed.
42803 ($(objpfx)pldd): Target removed.
42804 * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
42805 (others, install-bin): Append pldd here.
42806 ($(objpfx)pldd): New target.
42807
42808 * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
42809 to 0, so the first #if test emitted later doesn't see it undefined.
42810 (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
42811 * sysdeps/gnu/errlist.c: Regenerated.
42812
42813 2014-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
42814
42815 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
42816 [libc_hidden_builtin_def]: Define to empty value.
42817 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
42818 [libc_hidden_builtin_def]: Likewise.
42819 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
42820 [libc_hidden_builtin_def]: Likewise.
42821 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
42822 [libc_hidden_builtin_def]: Likewise.
42823 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
42824 __redirect_memcpy and define ifunc as default hidden symbol.
42825 * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
42826 * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
42827
42828 2014-05-04 Adam Conrad <adconrad@0c3.net>
42829
42830 * locale/iso-4217.def: Reintroduce XDR currency.
42831
42832 2014-05-04 Allan McRae <allan@archlinux.org>
42833
42834 * po/eo.po: Update Esperanto translation from translation project.
42835
42836 2014-05-02 Carlos O'Donell <carlos@redhat.com>
42837
42838 * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
42839 and FEATURE_INDEX_MAX to 1.
42840 [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
42841
42842 2014-05-01 Steve Ellcey <sellcey@mips.com>
42843
42844 * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
42845 * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
42846 * iconvdata/big5.c (ONE_DIRECTION): Define.
42847 * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
42848 * iconvdata/cp1255.c (ONE_DIRECTION): Define.
42849 * iconvdata/cp1258.c (ONE_DIRECTION): Define.
42850 * iconvdata/cp932.c (ONE_DIRECTION): Define.
42851 * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
42852 * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
42853 * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
42854 * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
42855 * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
42856 * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
42857 * iconvdata/gb18030.c (ONE_DIRECTION): Define.
42858 * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
42859 * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
42860 * iconvdata/gbk.c (ONE_DIRECTION): Define.
42861 * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
42862 * iconvdata/ibm930.c (ONE_DIRECTION): Define.
42863 * iconvdata/ibm932.c (ONE_DIRECTION): Define.
42864 * iconvdata/ibm933.c (ONE_DIRECTION): Define.
42865 * iconvdata/ibm935.c (ONE_DIRECTION): Define.
42866 * iconvdata/ibm937.c (ONE_DIRECTION): Define.
42867 * iconvdata/ibm939.c (ONE_DIRECTION): Define.
42868 * iconvdata/ibm943.c (ONE_DIRECTION): Define.
42869 * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
42870 * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
42871 * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
42872 * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
42873 * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
42874 * iconvdata/iso646.c (ONE_DIRECTION): Define.
42875 * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
42876 * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
42877 * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
42878 * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
42879 * iconvdata/johab.c (ONE_DIRECTION): Define.
42880 * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
42881 * iconvdata/sjis.c (ONE_DIRECTION): Define.
42882 * iconvdata/t.61.c (ONE_DIRECTION): Define.
42883 * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
42884 * iconvdata/tscii.c (ONE_DIRECTION): Define.
42885 * iconvdata/uhc.c (ONE_DIRECTION): Define.
42886 * iconvdata/unicode.c (ONE_DIRECTION): Define.
42887 * iconvdata/utf-16.c (ONE_DIRECTION): Define.
42888 * iconvdata/utf-32.c (ONE_DIRECTION): Define.
42889 * iconvdata/utf-7.c (ONE_DIRECTION): Define.
42890
42891 2014-05-01 Roland McGrath <roland@hack.frob.com>
42892
42893 * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
42894 (_IO_JUMPS_OFFSET): Define to 0.
42895
42896 * nptl/sysdeps/pthread/bits/libc-lock.h
42897 [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
42898 (__libc_lock_define_initialized_recursive): Always define using
42899 initializer. Modern compilers treat uninitialized (implicit zero) and
42900 explicit zero initializers the same (i.e. put the datum in bss).
42901
42902 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
42903
42904 * nscd/nscd-client.h: Include <string.h>.
42905
42906 2014-05-01 David S. Miller <davem@davemloft.net>
42907
42908 [BZ #16885]
42909 * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
42910 multiple zero bytes exist at the end of a string.
42911 Reported by Aurelien Jarno <aurelien@aurel32.net>
42912
42913 * string/test-strcmp.c (check): Add explicit test for situations where
42914 there are multiple zero bytes after the first.
42915
42916 2014-05-01 Andreas Schwab <schwab@linux-m68k.org>
42917
42918 [BZ #16890]
42919 * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
42920 when compiling wprintf.
42921 * stdio-common/tstdiomisc.c (t3): New function.
42922 (main): Call it.
42923
42924 2014-05-01 Steve Ellcey <sellcey@mips.com>
42925
42926 * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
42927 * iconv/gconv_simple.c (ONE_DIRECTION): Define.
42928 * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
42929 * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
42930
42931 2014-05-01 Steve Ellcey <sellcey@mips.com>
42932
42933 * stdlib/longlong.h: Updated from GCC.
42934
42935 2014-05-01 Will Newton <will.newton@linaro.org>
42936 Bernard Ogden <bernie.ogden@linaro.org>
42937
42938 * NEWS: Update fixed bug list.
42939
42940 [BZ #15119]
42941 * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
42942
42943 2014-04-30 David S. Miller <davem@davemloft.net>
42944
42945 * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
42946 (libc_feholdexcept_setround_sparc_ctx): New function.
42947 (libc_fesetenv_sparc_ctx): Likewise.
42948 (libc_feupdateenv_sparc_ctx): Likewise.
42949 (libc_feholdsetround_sparc_ctx): Likewise.
42950 (libc_feholdexcept_setround_ctx): Define.
42951 (libc_feholdexcept_setroundf_ctx): Likewise.
42952 (libc_feholdexcept_setroundl_ctx): Likewise.
42953 (libc_fesetenv_ctx): Likewise.
42954 (libc_fesetenvf_ctx): Likewise.
42955 (libc_fesetenvl_ctx): Likewise.
42956 (libc_feupdateenv_ctx): Likewise.
42957 (libc_feupdateenvf_ctx): Likewise.
42958 (libc_feupdateenvl_ctx): Likewise.
42959 (libc_feresetround_ctx): Likewise.
42960 (libc_feresetroundf_ctx): Likewise.
42961 (libc_feresetroundl_ctx): Likewise.
42962 (libc_feholdsetround_ctx): Likewise.
42963 (libc_feholdsetroundf_ctx): Likewise.
42964 (libc_feholdsetroundl_ctx): Likewise.
42965
42966 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42967 with __USE_GNU instead of XOPEN cpp guards.
42968
42969 * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
42970 0.
42971
42972 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
42973 with XOPEN cpp guards.
42974
42975 2014-04-30 Julian Brown <julian@codesourcery.com>
42976
42977 [BZ #16888]
42978 * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
42979 handling.
42980
42981 2014-04-30 Joseph Myers <joseph@codesourcery.com>
42982
42983 [BZ #9894]
42984 * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
42985 Change to 2.6.32.
42986 (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
42987 * sysdeps/unix/sysv/linux/configure: Regenerated.
42988 * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
42989 * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
42990 * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
42991 * sysdeps/unix/sysv/linux/tile/configure: Likewise.
42992 * README: Update reference to required Linux kernel version.
42993 * manual/install.texi (Linux): Update reference to required Linux
42994 kernel headers version.
42995 * INSTALL: Regenerated.
42996
42997 * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
42998 header inclusion.
42999 [POSIX] (limits.h): Likewise.
43000 [POSIX] (math.h): Likewise.
43001 [POSIX] (sys/wait.h): Likewise.
43002 * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
43003 function.
43004 [POSIX] (stddef.h): Do not allow header inclusion.
43005
43006 2014-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43007
43008 * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
43009
43010 2014-04-30 Yang Yingliang <yangyingliang@huawei.com>
43011
43012 * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
43013 Return immediately after lll_futex_wake.
43014
43015 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43016
43017 [BZ #16791]
43018 * nscd/nscd-client.h (datahead_init_common): Initialize entire
43019 structure.
43020 (datahead_init_pos): Call datahead_init_common early.
43021 (datahead_init_neg): Likewise.
43022
43023 * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
43024 datahead_init_neg): New functions.
43025 * nscd/aicache.c (addhstaiX): Use them.
43026 * nscd/grpcache.c (cache_addgr): Likewise.
43027 * nscd/hstcache.c (cache_addhst): Likewise.
43028 * nscd/initgrcache.c (addinitgroupsX): Likewise.
43029 * nscd/netgroupcache.c (do_notfound): Likewise.
43030 (addgetnetgrentX): Likewise.
43031 (addinnetgrX): Likewise.
43032 * nscd/pwdcache.c (cache_addpw): Likewise.
43033 * nscd/servicescache.c (cache_addserv): Likewise.
43034
43035 2014-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
43036 Atsushi Onoe <atsushi@onoe.org>
43037
43038 [BZ #14308]
43039 [BZ #12994]
43040 [BZ #13651]
43041 * resolv/res_query.c (__libc_res_nsearch): Return if at least
43042 one response is valid.
43043 * resolv/res_send.c (send_dg): Check for validity of other
43044 response if the current response is a referral.
43045
43046 2014-04-29 Steve Ellcey <sellcey@mips.com>
43047
43048 * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
43049
43050 2014-04-29 Stefan Liebler <stli@linux.vnet.ibm.com>
43051
43052 [BZ #16823]
43053 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
43054 Always divide by positive zero when computing -Inf result.
43055 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
43056 * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
43057
43058 2014-04-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43059
43060 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
43061 FPSCR if value do not change.
43062 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
43063 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
43064 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
43065 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
43066 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
43067 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
43068 function.
43069
43070 2014-05-29 Carlos O'Donell <carlos@systemhalted.org>
43071
43072 * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
43073 * sysdeps/unix/sysv/linux/hppa: Move directory from
43074 ports/systeps/unix/sysv/linux/hppa.
43075 * README: Update listing for hppa-*-linux-gnu.
43076
43077 2014-04-28 Ondřej Bílka <neleai@seznam.cz>
43078
43079 [BZ #16754]
43080 * manual/stdio.texi (Hook functions): Fix types of stream hook
43081 functions.
43082 [BZ #16854]
43083 * socket/sys/socket.h: Fix typo in comment.
43084
43085 2014-04-28 Wilco <wdijkstr@arm.com>
43086
43087 * sysdeps/arm/fenv_private.h: New file.
43088 * sysdeps/arm/math_private.h: New file.
43089 * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
43090
43091 2014-04-25 H.J. Lu <hongjiu.lu@intel.com>
43092
43093 * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
43094 with __int128_t.
43095 (La_x86_64_retval): Likewise.
43096
43097 2014-04-24 Ian Bolton <ian.bolton@arm.com>
43098
43099 * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
43100 fpsr if value didn't change.
43101 * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
43102 to fpcr if value didn't change.
43103 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
43104 * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
43105 fpsr or fpcr if value didn't change.
43106 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
43107 * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
43108 fpcr if value didn't change.
43109 * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
43110 to fpsr if value didn't change.
43111
43112 2014-02-23 Siddhesh Poyarekar <siddhesh@redhat.com>
43113
43114 * nptl/tst-sem3.c: Use test-skeleton.c
43115 (main): Rename to do_test. Use return instead of
43116 exit.
43117 * nptl/tst-sem4.c: Use test-skeleton.c
43118 (main): Rename to do_test.
43119
43120 2014-04-22 David S. Miller <davem@davemloft.net>
43121
43122 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
43123 (struct sigaction): New struct member __glibc_reserved0, change
43124 type of sa_flags to int.
43125
43126 2014-04-22 Yufeng Zhang <yufeng.zhang@arm.com>
43127
43128 * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
43129 (COUNT_LEADING_ZEROS_0): Define for AArch64.
43130
43131 2014-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
43132
43133 * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
43134 * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
43135
43136 2014-04-22 Will Newton <will.newton@linaro.org>
43137 Venkataramanan Kumar <venkataramanan.kumar@linaro.org>
43138
43139 * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
43140 (__longjmp): Add longjmp and longjmp_target SystemTap
43141 probes.
43142 * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
43143 (__sigsetjmp): Add setjmp SystemTap probe.
43144
43145 2014-04-17 Carlos O'Donell <carlos@redhat.com>
43146
43147 * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
43148 match manual order.
43149
43150 2014-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43151
43152 * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
43153
43154 * sysdeps/powerpc/fpu/fenv_private.h
43155 (libc_feholdexcept_setroundl_ctx): Define to
43156 libc_feholdexcept_setround_ppc_ctx.
43157 (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
43158 (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
43159 (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
43160 (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
43161
43162 2014-04-17 Ian Bolton <ian.bolton@arm.com>
43163
43164 * sysdeps/aarch64/math-tests.h: New file.
43165
43166 2014-04-17 Sihai Yao <sihai.ysh@alibaba-inc.com>
43167
43168 * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
43169 New.
43170 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
43171 Check and set bit_AVX2_Usable.
43172 * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
43173 macro.
43174 (bit_AVX2): Likewise.
43175 (index_AVX2_Usable): Likewise.
43176 (CPUID_AVX2): Likewise.
43177 (HAS_AVX2): Likewise.
43178
43179 2014-04-17 Will Newton <will.newton@linaro.org>
43180
43181 * manual/setjmp.texi (System V contexts): Add note that
43182 calling setcontext on a context created by a call to a
43183 signal handler is undefined. Update text to note that
43184 setcontext from a signal handler is possible but not
43185 recommended.
43186
43187 [BZ #16629]
43188 * stdlib/tst-setcontext.c: Include signal.h.
43189 (main): Check that the signal stack before and
43190 after swapcontext is the same.
43191
43192 * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
43193 Re-implement to restore registers in user code and avoid
43194 rt_sigreturn system call.
43195
43196 2014-04-17 Wilco <wdijkstr@arm.com>
43197
43198 * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
43199 * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
43200 * math/test-fenv.c: Skip exception trap tests on targets which only
43201 support non-stop mode.
43202
43203 2014-04-17 Ian Bolton <ian.bolton@arm.com>
43204 Wilco Dijkstra <wilco.dijkstra@arm.com>
43205
43206 * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
43207 (libc_feholdsetround_aarch64_ctx)
43208 (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
43209 (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
43210 (libc_feresetround_ctx, libc_feresetroundf_ctx)
43211 (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
43212 (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
43213 (libc_feresetround_noexl_ctx): Define.
43214
43215 2014-04-16 Richard Henderson <rth@redhat.com>
43216
43217 * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
43218
43219 * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
43220 unwind tables.
43221
43222 * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
43223 const from the non-libc, non-ldso copy.
43224
43225 * sysdeps/alpha/libm-test-ulps: Regenerate.
43226
43227 2014-04-16 Ian Bolton <ian.bolton@arm.com>
43228 Wilco Dijkstra <wilco.dijkstra@arm.com>
43229
43230 * sysdeps/aarch64/fpu/math_private.h: New file.
43231
43232 2014-04-16 Marcus Shawcroft <marcus.shawcroft@arm.com>
43233
43234 * sysdeps/aarch64/libm-test-ulps: Regenerate.
43235
43236 2014-04-16 Igor Zamyatin <igor.zamyatin@intel.com>
43237
43238 [BZ #16275]
43239 * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
43240 (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
43241 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
43242 Intel MPX bound registers before _dl_profile_fixup.
43243 * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
43244 registers after _dl_profile_fixup. Save and restore bound
43245 registers bnd0/bnd1 when calling _dl_call_pltexit.
43246 * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
43247 (LR_BND_OFFSET): Likewise.
43248 (LRV_BND0_OFFSET): Likewise.
43249 (LRV_BND1_OFFSET): Likewise.
43250
43251 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43252
43253 * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
43254 to...
43255 * sysdeps/mach/hurd/i386/tls.h: ... here.
43256 (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
43257 pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
43258 fields.
43259
43260 2014-04-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
43261
43262 * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
43263
43264 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
43265
43266 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
43267
43268 2014-04-16 Stefan Liebler <stli@linux.vnet.ibm.com>
43269
43270 [BZ #14770]
43271 * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
43272 * sysdeps/s390/configure: Regenerate.
43273
43274 [BZ #16824]
43275 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
43276 Set round-to-nearest internally to reduce error accumulation.
43277
43278 2014-04-16 Alan Modra <amodra@gmail.com>
43279
43280 [BZ #16740]
43281 [BZ #16619]
43282 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
43283 * math/libm-test.inc (frexp_test_data): Add tests.
43284 * NEWS: Update fixed bug list.
43285
43286 2014-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
43287
43288 * benchtests/Makefile: Depend on libraries in build directory.
43289 (bench-math): Separate out math tests.
43290 (bench-pthread): Separate out pthread tests.
43291 (bench): Include math and pthread tests.
43292
43293 2014-04-14 Carlos O'Donell <carlos@redhat.com>
43294
43295 [BZ #16831]
43296 * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
43297 _dl_debug_initialize.
43298
43299 * configure.ac: Remove SELinux header check.
43300 * configure: Regenerate.
43301 * nscd/selinux.c (perms): Array of const char* to permission names.
43302 (nscd_request_avc_has_perm): Call security_deny_unknown to find
43303 default policy. Call string_to_security_class and string_to_av_perm to
43304 translate strings. Enforce default policy and call avs_has_perm with
43305 results of translated strings.
43306
43307 2014-04-13 David S. Miller <davem@davemloft.net>
43308
43309 * sysdeps/sparc/fpu/libm-test-ulps: Update.
43310
43311 2014-04-12 Allan McRae <allan@archlinux.org>
43312
43313 [BZ #16838]
43314 * manual/string.texi (Collation Functions): Fix qsort argument
43315 order in example.
43316 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
43317
43318 2014-04-11 Chris Metcalf <cmetcalf@tilera.com>
43319
43320 * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
43321 Make the test a no-op if there are no exceptions defined.
43322
43323 2014-04-11 Paul Pluzhnikov <ppluzhnikov@google.com>
43324
43325 * elf/Makefile (tests): make tst-dlopen-aout conditional on
43326 enable-hardcoded-path-in-tests
43327
43328 2014-04-11 Will Newton <will.newton@linaro.org>
43329
43330 * benchtests/Makefile (extra-objs): Add json-lib.o.
43331 (bench-func): Tidy up JSON output.
43332 * benchtests/bench-skeleton.c: Include json-lib.h.
43333 (main): Use JSON library functions to do output of
43334 benchmark results.
43335 * benchtests/bench-timing-type.c (main): Output the
43336 timing type simply, leaving formatting to the user.
43337 * benchtests/json-lib.c: New file.
43338 * benchtests/json-lib.h: Likewise.
43339
43340 2014-04-11 Torvald Riegel <triegel@redhat.com>
43341
43342 [BZ #15215]
43343 * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
43344 * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here. Add missing
43345 memory barriers. Add comments.
43346 * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
43347 * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
43348 * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
43349 * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
43350 * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
43351 * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
43352
43353 2014-04-11 Stefan Liebler <stli@linux.vnet.ibm.com>
43354
43355 * sysdeps/s390/s390-32/configure.ac: Unify file with ...
43356 * sysdeps/s390/s390-64/configure.ac: ... this ...
43357 * sysdeps/s390/configure.ac: ... to here.
43358 * sysdeps/s390/s390-32/configure: Delete file.
43359 * sysdeps/s390/s390-64/configure: Delete file.
43360 * sysdeps/s390/configure: Regenerate.
43361
43362 2014-04-11 Joseph Anthony Pasquale Holsten <joseph@josephholsten.com>
43363
43364 * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
43365
43366 2014-04-11 Will Newton <will.newton@linaro.org>
43367
43368 * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
43369 to zero if it is not defined elsewhere. (mtrim): Test
43370 the value of MALLOC_DEBUG with #if rather than #ifdef.
43371
43372 2014-04-10 Torvald Riegel <triegel@redhat.com>
43373
43374 * benchtests/pthread_once-inputs: New file.
43375 * benchtests/pthread_once-source.c: New file.
43376 * benchtests/README: Update documentation.
43377
43378 2014-04-09 Igor Zamyatin <igor.zamyatin@intel.com>
43379 H.J. Lu <hongjiu.lu@intel.com>
43380
43381 [BZ #16275]
43382 * config.h.in (HAVE_MPX_SUPPORT): New #undef.
43383 * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
43384 * sysdeps/x86_64/configure: Regenerated.
43385 * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
43386 macro.
43387 (REGISTER_SAVE_RAX): Likewise.
43388 (REGISTER_SAVE_RCX): Likewise.
43389 (REGISTER_SAVE_RDX): Likewise.
43390 (REGISTER_SAVE_RSI): Likewise.
43391 (REGISTER_SAVE_RDI): Likewise.
43392 (REGISTER_SAVE_R8): Likewise.
43393 (REGISTER_SAVE_R9): Likewise.
43394 (REGISTER_SAVE_BND0): Likewise.
43395 (REGISTER_SAVE_BND1): Likewise.
43396 (REGISTER_SAVE_BND2): Likewise.
43397 (_dl_runtime_resolve): Use them. Save and restore Intel MPX
43398 bound registers when calling _dl_fixup.
43399
43400 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43401
43402 * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
43403 * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
43404 of its definition.
43405 * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
43406 * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
43407 * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
43408 * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
43409 * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
43410 * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
43411 * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
43412
43413 2014-04-09 Peter Brett <peter@peter-b.co.uk>
43414
43415 [BZ #15514]
43416 * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
43417 pathconf(_PC_NAME_MAX).
43418
43419 2014-04-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43420
43421 * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
43422 Remove macro usage.
43423 (__PTHREAD_SPINS): Move definition to ...
43424 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43425 (__PTHREAD_SPINS): ... here.
43426 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43427 (__PTHREAD_SPIN): Likewise.
43428 * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
43429 (__PTHREAD_SPIN): Likewise.
43430 * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
43431 (__PTHREAD_SPIN): Likewise.
43432 * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
43433 (__PTHREAD_SPIN): Likewise.
43434 * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
43435 (__PTHREAD_SPIN): Likewise.
43436 * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
43437 (__PTHREAD_SPIN): Likewise.
43438 * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
43439 (__PTHREAD_SPIN): Likewise.
43440 * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
43441 (__PTHREAD_SPIN): Likewise.
43442 * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
43443 (__PTHREAD_SPIN): Likewise.
43444 * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
43445 (__PTHREAD_SPIN): Likewise.
43446 * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
43447 (__PTHREAD_SPIN): Likewise.
43448 * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
43449 (__PTHREAD_SPIN): Likewise.
43450
43451 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
43452 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
43453 * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
43454 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
43455 imply folder.
43456 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
43457 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
43458 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
43459 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
43460 correct imply path.
43461 * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
43462 strlen symbol for non multi-arch builds.
43463 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
43464 missing hidden_def and weak_alias.
43465
43466 2014-04-08 Carlos O'Donell <carlos@redhat.com>
43467
43468 * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
43469
43470 2014-04-07 Will Newton <will.newton@linaro.org>
43471
43472 * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
43473 and contents. [!_LIBC] Remove #ifndef and contents.
43474 (basename): Use ANSI prototype. [_LIBC] Remove #idef.
43475 * string/memccpy.c (__memccpy): Use ANSI prototype.
43476 * string/memfrob.c (memfrob): Likewise.
43477 * string/strcoll.c (STRCOLL): Likewise.
43478 * string/strlen.c (strlen): Likewise.
43479 * string/strtok.c (STRTOK): Likewise.
43480 * string/strcat.c: Remove unused #include of memcopy.h.
43481 (strcat): Use ANSI prototype.
43482 * string/strchr.c: Remove unused #include of memcopy.h.
43483 (strchr): Use ANSI prototype.
43484 * string/strcmp.c: Remove unused #include of memcopy.h.
43485 (strcmp): Use ANSI prototype.
43486 * string/strcpy.c: Remove unused #include of memcopy.h.
43487 (strcpy): Use ANSI prototype.
43488
43489 2014-04-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43490
43491 * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
43492 * config.make.in (config-extra-cppflags): Set it from
43493 libc_extra_cppflags.
43494 * configure.ac (libc_extra_cflags): Make it accumulate over
43495 configure fragments.
43496 (libc_extra_cppflags): New flag.
43497 * configure. Regenerate.
43498 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
43499 (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
43500 not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
43501 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
43502
43503 [BZ #16815]
43504 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
43505 result for FE_DOWNWARD rounding mode.
43506 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
43507 Likewise.
43508 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43509
43510 2014-04-04 Chris Metcalf <cmetcalf@tilera.com>
43511
43512 * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
43513 in function argument name.
43514
43515 2014-04-03 David Svoboda <svoboda@cert.org>
43516
43517 [BZ #5666]
43518 * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
43519 explicitly.
43520
43521 2014-04-03 Roland McGrath <roland@hack.frob.com>
43522
43523 * elf/dl-unmap-segments.h: New file.
43524 * sysdeps/generic/ldsodefs.h
43525 (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
43526 * elf/dl-close.c: Include <dl-unmap-segments.h>.
43527 * elf/dl-fptr.c: Likewise.
43528 (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
43529 * sysdeps/aarch64/tlsdesc.c: Likewise.
43530 * sysdeps/arm/tlsdesc.c: Likewise.
43531 * sysdeps/i386/tlsdesc.c: Likewise.
43532 * sysdeps/tile/dl-runtime.c: Likewise.
43533 * sysdeps/x86_64/tlsdesc.c: Likewise.
43534 * elf/dl-load.h: New file.
43535 * elf/dl-load.c: Include it.
43536 (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
43537 Macros moved to dl-load.h.
43538 (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
43539 (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
43540 Use _dl_unmap_segments in place of __munmap.
43541 Break out segment-mapping loop into ...
43542 * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
43543
43544 2014-04-03 Will Newton <will.newton@linaro.org>
43545
43546 * elf/dl-lookup.c (do_lookup_x): Remove comment
43547 referring to nested function and move variable
43548 declarations down to before first use.
43549
43550 2014-04-02 Joseph Myers <joseph@codesourcery.com>
43551
43552 [BZ #16799]
43553 [BZ #16800]
43554 * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
43555 with 0 numerator.
43556 * math/s_catanf.c (__catanf): Likewise.
43557 * math/s_catanh.c (__catanh): Likewise.
43558 * math/s_catanhf.c (__catanhf): Likewise.
43559 * math/s_catanhl.c (__catanhl): Likewise.
43560 * math/s_catanl.c (__catanl): Likewise.
43561 * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
43562 by positive zero when computing -Inf result.
43563 * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
43564 (catanh_test): Likewise.
43565 * sysdeps/i386/fpu/libm-test-ulps: Update.
43566 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43567
43568 [BZ #16789]
43569 * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
43570 instead of using underflowing value in computing result.
43571 * math/s_clog10.c (__clog10): Likewise.
43572 * math/s_clog10f.c (__clog10f): Likewise.
43573 * math/s_clog10l.c (__clog10l): Likewise.
43574 * math/s_clogf.c (__clogf): Likewise.
43575 * math/s_clogl.c (__clogl): Likewise.
43576 * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
43577 (clog10_test): Likewise.
43578 * sysdeps/i386/fpu/libm-test-ulps: Update.
43579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43580
43581 2014-04-02 Alan Modra <amodra@gmail.com>
43582
43583 [BZ #16739]
43584 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
43585 output when value is near a power of two. Use int64_t for lx and
43586 remove casts. Use decimal rather than hex exponent constants.
43587 Don't use long double multiplication when double will suffice.
43588 * math/libm-test.inc (nextafter_test_data): Add tests.
43589 * NEWS: Add 16739 and 16786 to bug list.
43590
43591 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
43592
43593 * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
43594
43595 2014-04-01 Will Newton <will.newton@linaro.org>
43596
43597 * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
43598 -fno-builtin. (CFLAGS-bench-ffsll.c): Likewise.
43599
43600 2014-04-01 Florian Weimer <fweimer@redhat.com>
43601
43602 [BZ #13347]
43603 * nptl/nptl-init.c (sighandler_setxid): Check system call result.
43604 * nptl/tst-setuid2.c: New file.
43605 * nptl/Makefile (xtests): Add tst-setuid2.
43606
43607 2014-04-01 Alan Modra <amodra@gmail.com>
43608
43609 [BZ #16786]
43610 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
43611
43612 2014-03-31 Joseph Myers <joseph@codesourcery.com>
43613
43614 [BZ #6803]
43615 [BZ #6804]
43616 * math/w_scalb.c (__scalb): For non-SVID mode, check result and
43617 set errno as appropriate.
43618 * math/w_scalbf.c (__scalbf): Likewise.
43619 * math/w_scalbl.c (__scalbl): Likewise.
43620 * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
43621 ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
43622 * math/libm-test.inc (scalb_test_data): Add errno expectations.
43623 Add more NaN tests.
43624
43625 [BZ #16349]
43626 * math/w_atan2.c: Include <errno.h>.
43627 (__atan2): Set errno for result underflowing to zero.
43628 * math/w_atan2f.c: Include <errno.h>.
43629 (__atan2f): Set errno for result underflowing to zero.
43630 * math/w_atan2l.c: Include <errno.h>.
43631 (__atan2l): Set errno for result underflowing to zero.
43632 * math/auto-libm-test-in: Don't allow missing errno for some atan2
43633 tests.
43634 * math/auto-libm-test-out: Regenerated.
43635
43636 2014-03-31 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43637
43638 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
43639 Encode instruction correctly in little endian.
43640 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
43641 Likewise.
43642 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
43643 Likewise.
43644 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
43645 Likewise.
43646 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
43647 Likewise.
43648
43649 2014-03-31 Joseph Myers <joseph@codesourcery.com>
43650
43651 [BZ #9894]
43652 * sysdeps/unix/sysv/linux/kernel-features.h
43653 [__sparc__ && !__arch64__ && !__sparc_v9__]
43654 (__ASSUME_SET_ROBUST_LIST): Do not define.
43655 [__sparc__ && !__arch64__ && !__sparc_v9__]
43656 (__ASSUME_FUTEX_LOCK_PI): Likewise.
43657 [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
43658 Likewise.
43659 * sysdeps/unix/sysv/linux/arm/kernel-features.h
43660 (__ASSUME_FUTEX_LOCK_PI): Undefine.
43661 (__ASSUME_REQUEUE_PI): Likewise.
43662 (__ASSUME_SET_ROBUST_LIST): Likewise.
43663 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
43664 [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
43665 Undefine.
43666 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43667 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
43668 Likewise.
43669 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
43670 Likewise.
43671 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
43672 Likewise.
43673 * sysdeps/unix/sysv/linux/mips/kernel-features.h
43674 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
43675 Undefine.
43676 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
43677 [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
43678 Likewise.
43679
43680 [BZ #16648]
43681 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
43682 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
43683 * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
43684
43685 2014-03-31 Will Newton <will.newton@linaro.org>
43686
43687 * benchtests/Makefile (bench): Add ffs and ffsll to list
43688 of tests.
43689 * benchtests/ffs-inputs: New file.
43690 * benchtests/ffsll-inputs: Likewise.
43691
43692 2014-03-29 Joseph Myers <joseph@codesourcery.com>
43693
43694 [BZ #16770]
43695 * math/e_scalb.c (__ieee754_scalb): Check second argument is not
43696 too large before casting to int.
43697 * math/e_scalbf.c (__ieee754_scalbf): Likewise.
43698 * math/e_scalbl.c (__ieee754_scalbl): Likewise.
43699 * math/libm-test.inc (scalb_test_data): Add more tests.
43700
43701 2014-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
43702
43703 * benchtests/Makefile (DETAILED_OPT): New make option.
43704 (bench-func): Run benchmark program with -d if DETAILED_OPT is
43705 set.
43706 * benchtests/bench-skeleton.c: Include stdbool.h.
43707 (main): Store and print timings per input.
43708 * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
43709 member to each argument value.
43710 (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
43711 (_print_arg_data): Initialize per-input timing to 0.
43712
43713 * benchtests/Makefile (timing-type): New binary.
43714 (bench-clean): Also remove bench-timing-type.
43715 (bench): New target for timing-type.
43716 (bench-func): Print output in JSON format.
43717 * benchtests/bench-skeleton.c (main): Print output in JSON
43718 format.
43719 * benchtests/bench-timing-type.c: New file.
43720 * benchtests/bench-timing.h (TIMING_TYPE): New macro.
43721 (TIMING_PRINT_STATS): Remove.
43722 * benchtests/scripts/bench.py (_print_arg_data): Store variant
43723 name separately.
43724
43725 * benchtests/bench-modf.c: Remove.
43726 * benchtests/modf-inputs: New inputs file.
43727
43728 2014-03-28 Joseph Myers <joseph@codesourcery.com>
43729
43730 [BZ #16362]
43731 * math/s_clog10.c (M_PI_LOG10E): New macro.
43732 (__clog10): Use M_PI_LOG10E instead of M_PI when real and
43733 imaginary parts are 0.
43734 * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
43735 (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
43736 imaginary parts are 0.
43737 * math/s_clog10l.c (M_PI_LOG10El): New macro.
43738 (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
43739 imaginary parts are 0.
43740 * math/libm-test.inc (clog10_test_data): Update expected results
43741 for when real and imaginary parts are 0.
43742
43743 2014-03-27 Paul Pluzhnikov <ppluzhnikov@google.com>
43744
43745 * elf/dl-load.c: Finish conversion of __builtin_expect into
43746 __glibc_{un}likely.
43747
43748 2014-03-27 Joseph Myers <joseph@codesourcery.com>
43749
43750 [BZ #16348]
43751 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
43752 1+x for argument with exponent below -67.
43753 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
43754 Likewise.
43755 * math/auto-libm-test-in: Add more tests of exp.
43756 * math/auto-libm-test-out: Regenerated.
43757
43758 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43759
43760 [BZ #16759]
43761 * inet/getnetgrent_r.c (get_nonempty_val): New function.
43762 (nscd_getnetgrent): Use it.
43763
43764 [BZ #16760]
43765 * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
43766 of stpcpy.
43767
43768 2014-03-27 Andi Kleen <ak@linux.intel.com>
43769
43770 * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
43771 (lll_robust_lock, lll_cond_lock, lll_timedlock)
43772 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43773 (lll_robust_unlock): Remove out of line section. Use cfi
43774 intrinsics.
43775 (LLL_STUB_UNWIND_INFO*): Remove.
43776 * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
43777 (lll_robust_lock, lll_cond_lock, lll_timedlock)
43778 (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
43779 (lll_robust_unlock): Remove out of line section. Use cfi
43780 intrinsics.
43781 (LLL_STUB_UNWIND_INFO*): Remove.
43782
43783 2014-03-27 Siddhesh Poyarekar <siddhesh@redhat.com>
43784
43785 [BZ #16758]
43786 * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
43787 blank values.
43788
43789 2014-03-26 Paul Pluzhnikov <ppluzhnikov@google.com>
43790
43791 * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
43792
43793 2014-03-26 Joseph Myers <joseph@codesourcery.com>
43794
43795 [BZ #16198]
43796 * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
43797 fnstenv.
43798 * math/test-fenv-preserve.c: New file.
43799 * math/Makefile (tests): Add test-fenv-preserve.
43800
43801 2014-03-26 Will Newton <will.newton@linaro.org>
43802
43803 * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
43804
43805 2014-03-25 Roland McGrath <roland@hack.frob.com>
43806
43807 * scripts/versionlist.awk: Partition the version sets and emit all
43808 GLIBC_* (sorted) before all others (sorted).
43809
43810 2014-03-25 Joseph Myers <joseph@codesourcery.com>
43811
43812 * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
43813 GLIBC_2.2.5 version.
43814
43815 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43816
43817 * scripts/localplt.awk: Check for PLT generated by internal IFUNC
43818 calls.
43819
43820 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
43821 previous change.
43822
43823 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
43824
43825 2014-03-25 Andreas Schwab <schwab@suse.de>
43826
43827 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
43828 label to be used after in6ailist is initialized.
43829
43830 2014-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43831
43832 * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
43833 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43834
43835 2014-03-25 Joseph Myers <joseph@codesourcery.com>
43836
43837 [BZ #16357]
43838 [BZ #16599]
43839 * math/gen-auto-libm-tests.c (fp_format_desc): Add field
43840 min_plus_half.
43841 (fp_formats): Update initializers.
43842 (init_fp_formats): Initialize new field.
43843 (output_for_one_input_case): Allow underflow for results up to
43844 min_plus_half.
43845 * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
43846 * math/auto-libm-test-in: Don't mark some underflows from asin and
43847 atanh as spurious.
43848 * math/auto-libm-test-out: Regenerated.
43849 * sysdeps/i386/fpu/libm-test-ulps: Update.
43850 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43851
43852 2014-03-25 Andreas Schwab <schwab@suse.de>
43853
43854 * libio/Makefile (tst-ftell-partial-wide-ENV)
43855 (tst-ftell-active-handler-ENV): Define.
43856
43857 2014-03-25 Stefan Liebler <stli@linux.vnet.ibm.com>
43858
43859 * NEWS: Add 16712, 16713, 16714 to fixed bug list.
43860
43861 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
43862
43863 * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
43864
43865 2014-03-24 Joseph Myers <joseph@codesourcery.com>
43866
43867 * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
43868 * sysdeps/x86_64/fpu/multiarch/e_exp.c
43869 [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
43870
43871 2014-03-24 Paul Pluzhnikov <ppluzhnikov@google.com>
43872
43873 [BZ #16634]
43874 * elf/dl-load.c (open_verify): Add mode parameter.
43875 Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
43876 (open_path): Change from boolean 'secure' to complete flag 'mode'
43877 (_dl_map_object): Adjust.
43878 * elf/Makefile (tests): Add tst-dlopen-aout.
43879 * elf/tst-dlopen-aout.c: New test.
43880
43881 2014-03-24 Stefan Liebler <stli@linux.vnet.ibm.com>
43882
43883 [BZ #16714]
43884 * sysdeps/unix/sysv/linux/s390/bits/stat.h
43885 (struct stat): Rename member pad0 to __glibc_reserved0.
43886
43887 [BZ #16712]
43888 * sysdeps/s390/s390-32/bits/wordsize.h
43889 (__WORDSIZE32_SIZE_ULONG): New define.
43890 * sysdeps/s390/s390-64/bits/wordsize.h
43891 (__WORDSIZE32_SIZE_ULONG): Likewise.
43892 * sysdeps/generic/stdint.h (SIZE_MAX):
43893 Define as UL if __WORDSIZE32_SIZE_ULONG.
43894
43895 [BZ #16713]
43896 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
43897 (__glibc_reserved0): New variable.
43898 (sa_flags): Change type to int.
43899
43900 * posix/Makefile (before-compile): Use += before-compile instead
43901 of a :=.
43902
43903 * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
43904 (__PTHREAD_MUTEX_HAVE_ELISION): New define.
43905
43906 2014-03-20 Andreas Schwab <schwab@suse.de>
43907
43908 [BZ #16743]
43909 * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
43910 non-matching result from nscd.
43911
43912 2014-03-24 Siddhesh Poyarekar <siddhesh@redhat.com>
43913
43914 * scripts/bench.py: Moved to ...
43915 * benchtests/scripts/bench.py: ... here.
43916 * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
43917
43918 2014-03-24 Andreas Schwab <schwab@suse.de>
43919
43920 [BZ #16002]
43921 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
43922 alloca_account and account alloca use for struct in6ailist.
43923
43924 2014-03-24 Joseph Myers <joseph@codesourcery.com>
43925
43926 [BZ #16284]
43927 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
43928 rounding mode to recompute results that overflow to infinity or
43929 underflow to zero.
43930 * math/auto-libm-test-in: Don't mark tests as expected to fail for
43931 bug 16284.
43932 * math/auto-libm-test-out: Regenerated.
43933 * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
43934 (ccosh_test): Likewise.
43935 (csin_test_data): Use plus_oflow.
43936 (csin_test): Use ALL_RM_TEST.
43937 (csinh_test_data): Use plus_oflow.
43938 (csinh_test): Use ALL_RM_TEST.
43939 * sysdeps/i386/fpu/libm-test-ulps: Update.
43940 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43941
43942 2014-03-21 Joseph Myers <joseph@codesourcery.com>
43943
43944 * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
43945 * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
43946 * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
43947
43948 [BZ #16731]
43949 * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
43950 when x - 1 is zero.
43951 * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
43952 * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
43953 * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
43954 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
43955 argument is 1.
43956 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
43957 * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
43958 zero.
43959 * math/libm-test.inc (log_test): Use ALL_RM_TEST.
43960 * sysdeps/i386/fpu/libm-test-ulps: Update.
43961 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
43962
43963 2014-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
43964
43965 * scripts/bench.pl: Remove file.
43966 * scripts/bench.py: New benchmark script.
43967 * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
43968 * benchtests/README: Mention python dependency.
43969 * scripts/pylintrc: New file.
43970 * scripts/pylint: New file.
43971
43972 * bits/mathdef.h: Use #ifdef instead of #if.
43973 * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
43974 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43975 * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
43976 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43977 * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
43978 _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
43979
43980 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
43981 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
43982
43983 * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
43984 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
43985 and strpbrk-ppc64 objects.
43986 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43987 (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
43988 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
43989 multiarch strpbrk for POWER7.
43990 * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
43991 multiarch strpbrk for PPC64.
43992 * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
43993 ifunc selector.
43994 * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
43995 strpbrk for POWER7.
43996
43997 2014-03-20 Joseph Myers <joseph@codesourcery.com>
43998
43999 * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
44000 (atan_test): Likewise.
44001 (atanh_test_data): Use NO_TEST_INLINE for two tests.
44002 (atanh_test): Use ALL_RM_TEST.
44003 (atan2_test_data): Likewise.
44004 (cabs_test): Likewise.
44005 (cacosh_test): Likewise.
44006 (carg_test): Likewise.
44007 (casin_test): Likewise.
44008 (casinh_test): Likewise.
44009 (cbrt_test): Likewise.
44010 (csqrt_test): Likewise.
44011 (erf_test): Likewise.
44012 (erfc_test): Likewise.
44013 (pow10_test): Likewise.
44014 (exp2_test): Likewise.
44015 (hypot_test): Likewise.
44016 (j0_test): Likewise.
44017 (j1_test): Likewise.
44018 (lgamma_test): Likewise.
44019 (gamma_test): Likewise.
44020 (sincos_test): Likewise.
44021 (tanh_test): Likewise.
44022 (y0_test): Likewise.
44023 (y1_test): Likewise.
44024 * sysdeps/i386/fpu/libm-test-ulps: Update.
44025 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
44026
44027 2014-03-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44028
44029 * string/strcspn.c (strcspn): Using macro to redefine symbol name.
44030 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
44031 and strcspn-ppc64 objects.
44032 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
44033 (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
44034 * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
44035 multiarch strcspn for POWER7.
44036 * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
44037 multiarch strcspn for PPC64.
44038 * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
44039 ifunc selector.
44040 * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
44041 strcspn for POWER7.
44042
44043 2014-03-20 Joseph Myers <joseph@codesourcery.com>
44044
44045 * math/gen-libm-test.pl (generate_testfile): Expect only function
44046 name as argument to AUTO_TESTS_* and pass results for all rounding
44047 modes to parse_args.
44048 (parse_auto_input): Separate inputs of automatic tests from
44049 outputs before storing in %auto_tests.
44050 * math/libm-test.inc (acos_test_data): Update call to
44051 AUTO_TESTS_f_f.
44052 (acos_test): Use ALL_RM_TEST.
44053 (acos_tonearest_test_data): Remove.
44054 (acos_test_tonearest): Likewise.
44055 (acos_towardzero_test_data): Likewise.
44056 (acos_test_towardzero): Likewise.
44057 (acos_downward_test_data): Likewise.
44058 (acos_test_downward): Likewise.
44059 (acos_upward_test_data): Likewise.
44060 (acos_test_upward): Likewise.
44061 (acosh_test_data): Update call to AUTO_TESTS_f_f.
44062 (asin_test_data): Likewise.
44063 (asin_test): Use ALL_RM_TEST.
44064 (asin_tonearest_test_data): Remove.
44065 (asin_test_tonearest): Likewise.
44066 (asin_towardzero_test_data): Likewise.
44067 (asin_test_towardzero): Likewise.
44068 (asin_downward_test_data): Likewise.
44069 (asin_test_downward): Likewise.
44070 (asin_upward_test_data): Likewise.
44071 (asin_test_upward): Likewise.
44072 (asinh_test_data): Update call to AUTO_TESTS_f_f.
44073 (atan_test_data): Likewise.
44074 (atanh_test_data): Likewise.
44075 (atan2_test_data): Update call to AUTO_TESTS_ff_f.
44076 (cabs_test_data): Update call to AUTO_TESTS_c_f.
44077 (carg_test_data): Likewise.
44078 (cbrt_test_data): Update call to AUTO_TESTS_f_f.
44079 (ccos_test_data): Update call to AUTO_TESTS_c_c.
44080 (ccosh_test_data): Likewise.
44081 (cexp_test_data): Likewise.
44082 (clog_test_data): Likewise.
44083 (clog10_test_data): Likewise.
44084 (cos_test_data): Update call to AUTO_TESTS_f_f.
44085 (cos_test): Use ALL_RM_TEST.
44086 (cos_tonearest_test_data): Remove.
44087 (cos_test_tonearest): Likewise.
44088 (cos_towardzero_test_data): Likewise.
44089 (cos_test_towardzero): Likewise.
44090 (cos_downward_test_data): Likewise.
44091 (cos_test_downward): Likewise.
44092 (cos_upward_test_data): Likewise.
44093 (cos_test_upward): Likewise.
44094 (cosh_test_data): Update call to AUTO_TESTS_f_f.
44095 (cosh_test): Use ALL_RM_TEST.
44096 (cosh_tonearest_test_data): Remove.
44097 (cosh_test_tonearest): Likewise.
44098 (cosh_towardzero_test_data): Likewise.
44099 (cosh_test_towardzero): Likewise.
44100 (cosh_downward_test_data): Likewise.
44101 (cosh_test_downward): Likewise.
44102 (cosh_upward_test_data): Likewise.
44103 (cosh_test_upward): Likewise.
44104 (cpow_test_data): Update call to AUTO_TESTS_cc_c.
44105 (csqrt_test_data): Update call to AUTO_TESTS_c_c.
44106 (ctan_test_data): Likewise.
44107 (ctan_test): Use ALL_RM_TEST.
44108 (ctan_tonearest_test_data): Remove.
44109 (ctan_test_tonearest): Likewise.
44110 (ctan_towardzero_test_data): Likewise.
44111 (ctan_test_towardzero): Likewise.
44112 (ctan_downward_test_data): Likewise.
44113 (ctan_test_downward): Likewise.
44114 (ctan_upward_test_data): Likewise.
44115 (ctan_test_upward): Likewise.
44116 (ctanh_test_data): Update call to AUTO_TESTS_c_c.
44117 (ctanh_test): Use ALL_RM_TEST.
44118 (ctanh_tonearest_test_data): Remove.
44119 (ctanh_test_tonearest): Likewise.
44120 (ctanh_towardzero_test_data): Likewise.
44121 (ctanh_test_towardzero): Likewise.
44122 (ctanh_downward_test_data): Likewise.
44123 (ctanh_test_downward): Likewise.
44124 (ctanh_upward_test_data): Likewise.
44125 (ctanh_test_upward): Likewise.
44126 (erf_test_data): Update call to AUTO_TESTS_f_f.
44127 (erfc_test_data): Likewise.
44128 (exp_test_data): Likewise.
44129 (exp_test): Use ALL_RM_TEST.
44130 (exp_tonearest_test_data): Remove.
44131 (exp_test_tonearest): Likewise.
44132 (exp_towardzero_test_data): Likewise.
44133 (exp_test_towardzero): Likewise.
44134 (exp_downward_test_data): Likewise.
44135 (exp_test_downward): Likewise.
44136 (exp_upward_test_data): Likewise.
44137 (exp_test_upward): Likewise.
44138 (exp10_test_data): Update call to AUTO_TESTS_f_f.
44139 (exp10_test): Use ALL_RM_TEST.
44140 (exp10_tonearest_test_data): Remove.
44141 (exp10_test_tonearest): Likewise.
44142 (exp10_towardzero_test_data): Likewise.
44143 (exp10_test_towardzero): Likewise.
44144 (exp10_downward_test_data): Likewise.
44145 (exp10_test_downward): Likewise.
44146 (exp10_upward_test_data): Likewise.
44147 (exp10_test_upward): Likewise.
44148 (exp2_test_data): Update call to AUTO_TESTS_f_f.
44149 (expm1_test_data): Likewise.
44150 (expm1_test): Use ALL_RM_TEST.
44151 (expm1_tonearest_test_data): Remove.
44152 (expm1_test_tonearest): Likewise.
44153 (expm1_towardzero_test_data): Likewise.
44154 (expm1_test_towardzero): Likewise.
44155 (expm1_downward_test_data): Likewise.
44156 (expm1_test_downward): Likewise.
44157 (expm1_upward_test_data): Likewise.
44158 (expm1_test_upward): Likewise.
44159 (fma_test_data): Update call to AUTO_TESTS_fff_f.
44160 (fma_test): Use ALL_RM_TEST.
44161 (fma_towardzero_test_data): Remove.
44162 (fma_test_towardzero): Likewise.
44163 (fma_downward_test_data): Likewise.
44164 (fma_test_downward): Likewise.
44165 (fma_upward_test_data): Likewise.
44166 (fma_test_upward): Likewise.
44167 (hypot_test_data): Update call to AUTO_TESTS_ff_f.
44168 (j0_test_data): Update call to AUTO_TESTS_f_f.
44169 (j1_test_data): Likewise.
44170 (jn_test_data): Update call to AUTO_TESTS_if_f.
44171 (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
44172 (log_test_data): Update call to AUTO_TESTS_f_f.
44173 (log10_test_data): Likewise.
44174 (log1p_test_data): Likewise.
44175 (log2_test_data): Likewise.
44176 (pow_test_data): Update call to AUTO_TESTS_ff_f.
44177 (pow_tonearest_test_data): Likewise.
44178 (sin_test_data): Update call to AUTO_TESTS_f_f.
44179 (sin_test): Use ALL_RM_TEST.
44180 (sin_tonearest_test_data): Remove.
44181 (sin_test_tonearest): Likewise.
44182 (sin_towardzero_test_data): Likewise.
44183 (sin_test_towardzero): Likewise.
44184 (sin_downward_test_data): Likewise.
44185 (sin_test_downward): Likewise.
44186 (sin_upward_test_data): Likewise.
44187 (sin_test_upward): Likewise.
44188 (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
44189 (sinh_test_data): Update call to AUTO_TESTS_f_f.
44190 (sinh_test): Use ALL_RM_TEST.
44191 (sinh_tonearest_test_data): Remove.
44192 (sinh_test_tonearest): Likewise.
44193 (sinh_towardzero_test_data): Likewise.
44194 (sinh_test_towardzero): Likewise.
44195 (sinh_downward_test_data): Likewise.
44196 (sinh_test_downward): Likewise.
44197 (sinh_upward_test_data): Likewise.
44198 (sinh_test_upward): Likewise.
44199 (sqrt_test_data): Update call to AUTO_TESTS_f_f.
44200 (sqrt_test): Use ALL_RM_TEST.
44201 (sqrt_tonearest_test_data): Remove.
44202 (sqrt_test_tonearest): Likewise.
44203 (sqrt_towardzero_test_data): Likewise.
44204 (sqrt_test_towardzero): Likewise.
44205 (sqrt_downward_test_data): Likewise.
44206 (sqrt_test_downward): Likewise.
44207 (sqrt_upward_test_data): Likewise.
44208 (sqrt_test_upward): Likewise.
44209 (tan_test_data): Update call to AUTO_TESTS_f_f.
44210 (tan_test): Use ALL_RM_TEST.
44211 (tan_tonearest_test_data): Remove.
44212 (tan_test_tonearest): Likewise.
44213 (tan_towardzero_test_data): Likewise.
44214 (tan_test_towardzero): Likewise.
44215 (tan_downward_test_data): Likewise.
44216 (tan_test_downward): Likewise.
44217 (tan_upward_test_data): Likewise.
44218 (tan_test_upward): Likewise.
44219 (tanh_test_data): Update call to AUTO_TESTS_f_f.
44220 (tgamma_test_data): Likewise.
44221 (y0_test_data): Likewise.
44222 (y1_test_data): Likewise.
44223 (yn_test_data): Update call to AUTO_TESTS_if_f.
44224 (main): Do not call removed functions.
44225
44226 2014-03-19 Joseph Myers <joseph@codesourcery.com>
44227
44228 * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
44229 (ldexp_test_data): Remove.
44230 (ldexp_test): Move to after scalbn_test. Use ALL_RM_TEST with
44231 scalbn_test_data.
44232 (scalb_test): Use ALL_RM_TEST.
44233
44234 2014-03-19 Andreas Schwab <schwab@suse.de>
44235
44236 * nscd/nscd.service: Also invalidate netgroup cache on reload.
44237
44238 2014-03-19 Joseph Myers <joseph@codesourcery.com>
44239
44240 [BZ #16649]
44241 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
44242 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
44243 [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
44244 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44245 (__ASSUME_PREADV): Undefine.
44246 (__ASSUME_PWRITEV): Likewise.
44247
44248 2014-03-18 Roland McGrath <roland@hack.frob.com>
44249
44250 * bits/mman-linux.h: Add comment about non-Linux use.
44251 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
44252 bits/mman-linux.h resting place.
44253
44254 * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
44255 * bits/mman-linux.h: ... here.
44256
44257 2014-03-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44258
44259 * conform/conformtest.pl: Add standard definition when calling C
44260 preprocessor on data files.
44261 (checknamespace): Remove unused variable.
44262
44263 2014-03-18 Joseph Myers <joseph@codesourcery.com>
44264
44265 * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
44266 minus_oflow, plus_uflow and minus_uflow in expected results.
44267 * math/libm-test.inc (scalbn_test_data): Add more tests of
44268 negative arguments. Use plus_oflow, minus_oflow, plus_uflow and
44269 minus_uflow.
44270 (scalbn_test): Use ALL_RM_TEST.
44271 (scalbln_test_data): Add more tests of negative arguments. Use
44272 plus_oflow, minus_oflow, plus_uflow and minus_uflow.
44273 (scalbln_test): Use ALL_RM_TEST.
44274
44275 2014-03-18 Roland McGrath <roland@hack.frob.com>
44276
44277 * scripts/abilist.awk: Ignore symbols marked with .hidden.
44278
44279 2014-03-18 Will Newton <will.newton@linaro.org>
44280
44281 * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
44282 inaccurate comment.
44283
44284 2014-03-18 Joseph Myers <joseph@codesourcery.com>
44285
44286 * Makerules [!subdir] (check-abi): Exit with error status if a
44287 test failed.
44288
44289 2014-03-17 Joseph Myers <joseph@codesourcery.com>
44290
44291 * math/libm-test.inc (nearbyint_test_data): Include all tests used
44292 for rint. Include results for all rounding modes.
44293 (nearbyint_test): Use ALL_RM_TEST.
44294 (rint_test_data): Include all tests used for nearbyint.
44295
44296 2014-03-17 Will Newton <will.newton@linaro.org>
44297
44298 * nptl/sysdeps/pthread/pthread.h: Revert previous
44299 change.
44300
44301 * sysdeps/generic/ldsodefs.h: Revert previous
44302 change.
44303
44304 * libio/genops.c: Revert previous change.
44305 * libio/libioP.h: Likewise.
44306 * stdio-common/vfprintf.c: Likewise.
44307
44308 * sysdeps/generic/math_private.h: Revert previous
44309 change.
44310
44311 * sysdeps/generic/math_private.h: Check whether
44312 HAVE_RM_CTX is defined with #ifdef rather
44313 than #if.
44314
44315 * argp/argp-fmtstream.h: Check whether
44316 __STRICT_ANSI__ is defined with #ifdef rather
44317 than #if.
44318 * argp/argp.h: Likewise.
44319
44320 * libio/genops.c: Check whether
44321 _IO_JUMPS_OFFSET is defined with #ifdef rather
44322 than #if.
44323 * libio/libioP.h: Likewise.
44324 * stdio-common/vfprintf.c: Likewise.
44325
44326 * sysdeps/generic/ldsodefs.h: Check whether
44327 HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
44328 than #if.
44329
44330 * nptl/sysdeps/pthread/pthread.h: Check
44331 __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
44332 its value.
44333
44334 2014-03-17 Siddhesh Poyarekar <siddhesh@redhat.com>
44335
44336 * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
44337 setting O_APPEND.
44338 * libio/tst-ftell-active-handler.c (do_append_test): Add a
44339 test case.
44340
44341 [BZ #16680]
44342 * libio/fileops.c (_IO_file_open): Seek to end of file but
44343 don't cache the offset.
44344 (get_file_offset): Remove function.
44345 (do_ftell): Use cached offset when available.
44346 * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
44347 don't cache the offset.
44348 * libio/tst-ftell-active-handler.c (do_rewind_test): New test
44349 case.
44350 (do_one_test): Call it.
44351 (do_ftell_test): Fix up expected old offset for a+ mode.
44352 * libio/wfileops.c (do_ftell_wide): Used cached offset when
44353 available.
44354
44355 * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
44356 up test status with function return status.
44357 (do_write_test): Likewise.
44358 (do_append_test): Likewise.
44359
44360 * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
44361 && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
44362 Remove.
44363
44364 2014-03-17 Joseph Myers <joseph@codesourcery.com>
44365
44366 * math/gen-libm-test.pl (parse_args): Handle results specified for
44367 each rounding mode separately.
44368 * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
44369 tests and results from lrint_tonearest_test_data,
44370 lrint_towardzero_test_data, lrint_downward_test_data and
44371 lrint_upward_test_data.
44372 (lrint_test): Use ALL_RM_TEST.
44373 (lrint_tonearest_test_data): Remove.
44374 (lrint_test_tonearest): Likewise.
44375 (lrint_towardzero_test_data): Likewise.
44376 (lrint_test_towardzero): Likewise.
44377 (lrint_downward_test_data): Likewise.
44378 (lrint_test_downward): Likewise.
44379 (lrint_upward_test_data): Likewise.
44380 (lrint_test_upward): Likewise.
44381 (llrint_test_data): Merge in per-rounding-mode tests and results
44382 from llrint_tonearest_test_data, llrint_towardzero_test_data,
44383 llrint_downward_test_data and llrint_upward_test_data.
44384 (llrint_test): Use ALL_RM_TEST.
44385 (llrint_tonearest_test_data): Remove.
44386 (llrint_test_tonearest): Likewise.
44387 (llrint_towardzero_test_data): Likewise.
44388 (llrint_test_towardzero): Likewise.
44389 (llrint_downward_test_data): Likewise.
44390 (llrint_test_downward): Likewise.
44391 (llrint_upward_test_data): Likewise.
44392 (llrint_test_upward): Likewise.
44393 (rint_test_data): Merge in per-rounding-mode tests and results
44394 from rint_tonearest_test_data, rint_towardzero_test_data,
44395 rint_downward_test_data and rint_upward_test_data. Add
44396 per-rounding-mode results for tests not in those arrays.
44397 (rint_test): Use ALL_RM_TEST.
44398 (rint_tonearest_test_data): Remove.
44399 (rint_test_tonearest): Likewise.
44400 (rint_towardzero_test_data): Likewise.
44401 (rint_test_towardzero): Likewise.
44402 (rint_downward_test_data): Likewise.
44403 (rint_test_downward): Likewise.
44404 (rint_upward_test_data): Likewise.
44405 (rint_test_upward): Likewise.
44406 (main): Don't call removed functions.
44407
44408 2014-03-14 Roland McGrath <roland@hack.frob.com>
44409
44410 * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
44411 "Compiled on ..." crapola. It is anti-useful.
44412
44413 2014-03-14 Joseph Myers <joseph@codesourcery.com>
44414
44415 * scripts/evaluate-test.sh: Handle fourth argument to determine
44416 whether test run should stop on failure.
44417 * Makeconfig (stop-on-test-failure): New variable.
44418 (evaluate-test): Pass fourth argument to evaluate-test.sh based on
44419 $(stop-on-test-failure).
44420 * Makefile (tests): Give a summary of results from testing and
44421 exit with failure status if they include an ERROR or FAIL.
44422 (xtests): Likewise.
44423 * manual/install.texi (Configuring and compiling): Mention
44424 stop-on-test-failure=y.
44425 * INSTALL: Regenerated.
44426
44427 2014-03-14 Roland McGrath <roland@hack.frob.com>
44428
44429 * scripts/versionlist.awk: New file.
44430 * Makerules [$(build-shared) = yes]
44431 (postclean-generated): Add Versions.def, not Versions.def.v and
44432 Versions.def.v.i.
44433 ($(common-objpfx)Versions.def.v.i): Target removed.
44434 ($(common-objpfx)Versions.def): New target.
44435 ($(common-objpfx)Versions.all): Depend on that rather that
44436 $(common-objpfx)Versions.def.v.
44437 * Versions.def: File removed.
44438
44439 * Makeconfig (+gccwarn): Add -Wundef.
44440 * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
44441 a dl-sysdep.h breaking its contract.
44442 [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
44443 * include/stackinfo.h: New file.
44444 * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
44445 * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
44446 * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
44447 * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
44448 * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
44449 * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
44450 * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44451 * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44452 * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44453 * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44454 * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44455 * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
44456 * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44457 * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44458 * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
44459
44460 2014-03-14 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44461
44462 [BZ #16707]
44463 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
44464 implementation.
44465 * math/libm-test.inc (round_test_data): Add more tests.
44466
44467 [BZ #16706]
44468 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
44469 implementation.
44470 * math/libm-test.inc (nearbyint_test_data): Add more tests.
44471
44472 [BZ #16701]
44473 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
44474 implementation.
44475 * math/libm-test.inc (ceil_test_data): Add more tests.
44476
44477 * math/libm-test.inc (trunc_test_data): Add more tests related to
44478 BZ#16414.
44479
44480 2014-03-14 Roland McGrath <roland@hack.frob.com>
44481
44482 * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
44483 with #if rather than #ifdef.
44484 * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
44485
44486 2014-03-14 H.J. Lu <hongjiu.lu@intel.com>
44487
44488 * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
44489 first. Disable AVX-512 GCC support if assembler doesn't support
44490 it.
44491 * sysdeps/x86_64/configure: Regenerated.
44492
44493 2014-03-13 Carlos O'Donell <carlos@redhat.com>
44494
44495 * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
44496 [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
44497 (__old_pthread_attr_setstack): Likewise.
44498 * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
44499 [!_STACK_GROWS_DOWN]: Likewise.
44500
44501 2014-03-13 Mike Frysinger <vapier@gentoo.org>
44502
44503 * config.make.in (have-bash2): Delete.
44504 * configure.ac (libc_cv_have_bash2): Delete.
44505 * configure: Regenerate.
44506 * elf/Makefile (common-ldd-rewrite): Rename to ...
44507 (ldd-rewrite): ... this. Move bash-ldd-rewrite content to end.
44508 (sh-ldd-rewrite): Delete.
44509 (bash-ldd-rewrite): Delete.
44510 (have-bash2): Delete checks.
44511 [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
44512 ldd-rewrite.
44513
44514 * config.make.in (have-ksh): Delete.
44515 (KSH): Delete.
44516 * configure.ac (libc_cv_have_ksh): Delete.
44517 * configure: Regenerate.
44518
44519 * elf/Makefile: Delete $(have-ksh) check.
44520 ($(objpfx)sotruss): Change KSH to BASH.
44521 * elf/sotruss.ksh: Rename to ...
44522 * elf/sotruss.sh: ... this. Change @KSH@ to @BASH@. Change
44523 function style to match POSIX. Drop ksh vim mode setting.
44524
44525 * manual/time.texi (Specifying the Time Zone with TZ): Change
44526 Tuesday to Thursday.
44527
44528 * debug/tst-longjmp_chk2.c: Update header comment.
44529 (stackoverflow_handler): Add comment. Call assert on pass value.
44530
44531 2014-03-13 Igor Zamyatin <igor.zamyatin@intel.com>
44532
44533 [BZ #16194]
44534 * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
44535 (HAVE_AVX512_ASM_SUPPORT): Likewise.
44536 * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
44537 (La_x86_64_vector): Add zmm.
44538 * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
44539 (modules-names): Add tst-auditmod10a and tst-auditmod10b.
44540 ($(objpfx)tst-audit10): New target.
44541 ($(objpfx)tst-audit10.out): Likewise.
44542 (tst-audit10-ENV): New.
44543 (AVX512-CFLAGS): Likewise.
44544 (CFLAGS-tst-audit10.c): Likewise.
44545 (CFLAGS-tst-auditmod10a.c): Likewise.
44546 (CFLAGS-tst-auditmod10b.c): Likewise.
44547 * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
44548 HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
44549 * sysdeps/x86_64/configure: Regenerated.
44550 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
44551 AVX-512 zmm register support.
44552 (_dl_x86_64_save_sse): Likewise.
44553 (_dl_x86_64_restore_sse): Likewise.
44554 * sysdeps/x86_64/dl-trampoline.h: Updated to support different
44555 size vector registers.
44556 * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
44557 (ZMM_SIZE): Likewise.
44558 * sysdeps/x86_64/tst-audit10.c: New file.
44559 * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
44560 * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
44561
44562 2014-03-13 Roland McGrath <roland@hack.frob.com>
44563
44564 * configure.ac (HAVE_EHDR_START): New check.
44565 * configure: Regenerated.
44566 * config.h.in (HAVE_EHDR_START): New #undef.
44567 * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
44568 assuming the lowest-addressed segment maps the start of the file.
44569
44570 2014-03-13 Joseph Myers <joseph@codesourcery.com>
44571
44572 * INSTALL: Regenerated.
44573
44574 2014-03-13 Will Newton <will.newton@linaro.org>
44575
44576 * manual/setjmp.texi (System V contexts): Improve
44577 clarity and grammar of documentation.
44578
44579 2014-03-12 Paul Pluzhnikov <ppluzhnikov@google.com>
44580
44581 [BZ #16381]
44582 * elf/Makefile (tests): Add tst-pie2.
44583 (tests-pie): Add tst-pie2.
44584 * elf/tst-pie2.c: New file.
44585 * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
44586 for ET_EXEC.
44587 * elf/rtld.c (map_doit): Load executable as lt_executable.
44588 (dl_main): Likewise.
44589
44590 2014-03-12 Joseph Myers <joseph@codesourcery.com>
44591
44592 [BZ #16642]
44593 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
44594 (__ASSUME_PSELECT): Undefine.
44595
44596 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44597
44598 [BZ #16689]
44599 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
44600 (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
44601 static build.
44602 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
44603 selector for static builds.
44604
44605 2014-03-12 Siddhesh Poyarekar <siddhesh@redhat.com>
44606
44607 [BZ #16695]
44608 * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
44609 key in the buffer.
44610
44611 2014-03-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44612
44613 * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
44614 IFUNC selector for static builds.
44615
44616 2014-03-11 Joseph Myers <joseph@codesourcery.com>
44617
44618 * sysdeps/mips/math_private.h [__mips_hard_float]
44619 (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
44620 libc_feresetround_mips_ctx.
44621 [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
44622 [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
44623 [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
44624
44625 [BZ #16677]
44626 * math/s_nextafter.c (__nextafter): Do not return value from
44627 overflowing computation.
44628 * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
44629 * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
44630 * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
44631 Likewise.
44632 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
44633 Likewise.
44634 * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
44635 * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
44636
44637 2014-03-11 Roland McGrath <roland@hack.frob.com>
44638
44639 * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
44640 * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
44641 Move sfi_sp use from the load-multiple (that no longer sets sp) to
44642 the new mov targetting sp.
44643
44644 2014-03-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44645
44646 [BZ #16683]
44647 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
44648 Define it for static builds as well.
44649 (NO_BZERO_IMPL): Likewise.
44650
44651 2014-03-11 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
44652
44653 * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
44654 * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
44655 multiarch strspn for PPC64.
44656 * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
44657 * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
44658 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44659 (__libc_ifunc_impl_list): Likewise.
44660 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
44661 multiarch optimizations
44662 * string/strspn.c (strspn): Using macro to redefine symbol name.
44663
44664 2014-03-10 Vidya Ranganathan <vidya@linux.vnet.ibm.com>
44665 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44666
44667 * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
44668 * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
44669 multiarch strncat for PPC64.
44670 * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
44671 * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
44672 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44673 (__libc_ifunc_impl_list): Likewise.
44674 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
44675 multiarch optimizations
44676
44677 2014-03-10 Siddhesh Poyarekar <siddhesh@redhat.com>
44678
44679 [BZ #16639]
44680 * nscd/nscd.service: Make service type forking.
44681
44682 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
44683
44684 * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
44685 sign in non default rounding modes.
44686 * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
44687
44688 2014-03-08 Joseph Myers <joseph@codesourcery.com>
44689
44690 * math/libm-test.inc (ALL_RM_TEST): New macro.
44691 (ceil_test): Use ALL_RM_TEST.
44692 (cimag_test): Likewise.
44693 (conj_test): Likewise.
44694 (copysign_test): Likewise.
44695 (cproj_test): Likewise.
44696 (creal_test): Likewise.
44697 (fabs_test): Likewise.
44698 (floor_test): Likewise.
44699 (fmax_test): Likewise.
44700 (fmin_test): Likewise.
44701 (fmod_test): Likewise.
44702 (fpclassify_test): Likewise.
44703 (frexp_test): Likewise.
44704 (ilogb_test): Likewise.
44705 (isfinite_test): Likewise.
44706 (finite_test): Likewise.
44707 (isgreater_test): Likewise.
44708 (isgreaterequal_test): Likewise.
44709 (isinf_test): Likewise.
44710 (isless_test): Likewise.
44711 (islessequal_test): Likewise.
44712 (islessgreater_test): Likewise.
44713 (isnan_test): Likewise.
44714 (isnormal_test): Likewise.
44715 (issignaling_test): Likewise.
44716 (isunordered_test): Likewise.
44717 (logb_test): Likewise.
44718 (logb_downward_test_data): Remove.
44719 (logb_test_downward): Likewise.
44720 (lround_test): Use ALL_RM_TEST.
44721 (llround_test): Likewise.
44722 (modf_test): Likewise.
44723 (nexttoward_test): Likewise.
44724 (remainder_test): Likewise.
44725 (drem_test): Likewise.
44726 (remainder_tonearest_test_data): Likewise.
44727 (remainder_test_tonearest): Likewise.
44728 (drem_test_tonearest): Likewise.
44729 (remainder_towardzero_test_data): Likewise.
44730 (remainder_test_towardzero): Likewise.
44731 (drem_test_towardzero): Likewise.
44732 (remainder_downward_test_data): Likewise.
44733 (remainder_test_downward): Likewise.
44734 (drem_test_downward): Likewise.
44735 (remainder_upward_test_data): Likewise.
44736 (remainder_test_upward): Likewise.
44737 (drem_test_upward): Likewise.
44738 (remquo_test): Use ALL_RM_TEST. Remove comment about x.
44739 (round_test): Use ALL_RM_TEST.
44740 (signbit_test): Likewise.
44741 (trunc_test): Likewise.
44742 (significand_test): Likewise.
44743 (main): Don't call removed functions.
44744
44745 2014-03-07 Joseph Myers <joseph@codesourcery.com>
44746
44747 [BZ #16674]
44748 * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
44749 || __USE_XOPEN2K8].
44750 (ILL_ILLOPN): Likewise.
44751 (ILL_ILLADR): Likewise.
44752 (ILL_ILLTRP): Likewise.
44753 (ILL_PRVOPC): Likewise.
44754 (ILL_PRVREG): Likewise.
44755 (ILL_COPROC): Likewise.
44756 (ILL_BADSTK): Likewise.
44757 (FPE_INTDIV): Likewise.
44758 (FPE_INTOVF): Likewise.
44759 (FPE_FLTDIV): Likewise.
44760 (FPE_FLTOVF): Likewise.
44761 (FPE_FLTUND): Likewise.
44762 (FPE_FLTRES): Likewise.
44763 (FPE_FLTINV): Likewise.
44764 (FPE_FLTSUB): Likewise.
44765 (SEGV_MAPERR): Likewise.
44766 (SEGV_ACCERR): Likewise.
44767 (BUS_ADRALN): Likewise.
44768 (BUS_ADRERR): Likewise.
44769 (BUS_OBJERR): Likewise.
44770 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44771 (TRAP_TRACE): Likewise.
44772 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44773 __USE_XOPEN2K8].
44774 (CLD_KILLED): Likewise.
44775 (CLD_DUMPED): Likewise.
44776 (CLD_TRAPPED): Likewise.
44777 (CLD_STOPPED): Likewise.
44778 (CLD_CONTINUED): Likewise.
44779 (POLL_IN): Likewise.
44780 (POLL_OUT): Likewise.
44781 (POLL_MSG): Likewise.
44782 (POLL_ERR): Likewise.
44783 (POLL_PRI): Likewise.
44784 (POLL_HUP): Likewise.
44785 * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
44786 Likewise.
44787 (ILL_ILLOPN): Likewise.
44788 (ILL_ILLADR): Likewise.
44789 (ILL_ILLTRP): Likewise.
44790 (ILL_PRVOPC): Likewise.
44791 (ILL_PRVREG): Likewise.
44792 (ILL_COPROC): Likewise.
44793 (ILL_BADSTK): Likewise.
44794 (FPE_INTDIV): Likewise.
44795 (FPE_INTOVF): Likewise.
44796 (FPE_FLTDIV): Likewise.
44797 (FPE_FLTOVF): Likewise.
44798 (FPE_FLTUND): Likewise.
44799 (FPE_FLTRES): Likewise.
44800 (FPE_FLTINV): Likewise.
44801 (FPE_FLTSUB): Likewise.
44802 (SEGV_MAPERR): Likewise.
44803 (SEGV_ACCERR): Likewise.
44804 (BUS_ADRALN): Likewise.
44805 (BUS_ADRERR): Likewise.
44806 (BUS_OBJERR): Likewise.
44807 (BUS_MCEERR_AR): Likewise.
44808 (BUS_MCEERR_AO): Likewise.
44809 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44810 (TRAP_TRACE): Likewise.
44811 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44812 __USE_XOPEN2K8].
44813 (CLD_KILLED): Likewise.
44814 (CLD_DUMPED): Likewise.
44815 (CLD_TRAPPED): Likewise.
44816 (CLD_STOPPED): Likewise.
44817 (CLD_CONTINUED): Likewise.
44818 (POLL_IN): Likewise.
44819 (POLL_OUT): Likewise.
44820 (POLL_MSG): Likewise.
44821 (POLL_ERR): Likewise.
44822 (POLL_PRI): Likewise.
44823 (POLL_HUP): Likewise.
44824 * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
44825 (ILL_ILLOPN): Likewise.
44826 (ILL_ILLADR): Likewise.
44827 (ILL_ILLTRP): Likewise.
44828 (ILL_PRVOPC): Likewise.
44829 (ILL_PRVREG): Likewise.
44830 (ILL_COPROC): Likewise.
44831 (ILL_BADSTK): Likewise.
44832 (FPE_INTDIV): Likewise.
44833 (FPE_INTOVF): Likewise.
44834 (FPE_FLTDIV): Likewise.
44835 (FPE_FLTOVF): Likewise.
44836 (FPE_FLTUND): Likewise.
44837 (FPE_FLTRES): Likewise.
44838 (FPE_FLTINV): Likewise.
44839 (FPE_FLTSUB): Likewise.
44840 (SEGV_MAPERR): Likewise.
44841 (SEGV_ACCERR): Likewise.
44842 (BUS_ADRALN): Likewise.
44843 (BUS_ADRERR): Likewise.
44844 (BUS_OBJERR): Likewise.
44845 (BUS_MCEERR_AR): Likewise.
44846 (BUS_MCEERR_AO): Likewise.
44847 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44848 (TRAP_TRACE): Likewise.
44849 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44850 __USE_XOPEN2K8].
44851 (CLD_KILLED): Likewise.
44852 (CLD_DUMPED): Likewise.
44853 (CLD_TRAPPED): Likewise.
44854 (CLD_STOPPED): Likewise.
44855 (CLD_CONTINUED): Likewise.
44856 (POLL_IN): Likewise.
44857 (POLL_OUT): Likewise.
44858 (POLL_MSG): Likewise.
44859 (POLL_ERR): Likewise.
44860 (POLL_PRI): Likewise.
44861 (POLL_HUP): Likewise.
44862 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
44863 Likewise.
44864 (ILL_ILLOPN): Likewise.
44865 (ILL_ILLADR): Likewise.
44866 (ILL_ILLTRP): Likewise.
44867 (ILL_PRVOPC): Likewise.
44868 (ILL_PRVREG): Likewise.
44869 (ILL_COPROC): Likewise.
44870 (ILL_BADSTK): Likewise.
44871 (ILL_BADIADDR): Likewise.
44872 (ILL_BREAK): Likewise.
44873 (FPE_INTDIV): Likewise.
44874 (FPE_INTOVF): Likewise.
44875 (FPE_FLTDIV): Likewise.
44876 (FPE_FLTOVF): Likewise.
44877 (FPE_FLTUND): Likewise.
44878 (FPE_FLTRES): Likewise.
44879 (FPE_FLTINV): Likewise.
44880 (FPE_FLTSUB): Likewise.
44881 (FPE_DECOVF): Likewise.
44882 (FPE_DECDIV): Likewise.
44883 (FPE_DECERR): Likewise.
44884 (FPE_INVASC): Likewise.
44885 (FPE_INVDEC): Likewise.
44886 (SEGV_MAPERR): Likewise.
44887 (SEGV_ACCERR): Likewise.
44888 (SEGV_PSTKOVF): Likewise.
44889 (BUS_ADRALN): Likewise.
44890 (BUS_ADRERR): Likewise.
44891 (BUS_OBJERR): Likewise.
44892 (BUS_MCEERR_AR): Likewise.
44893 (BUS_MCEERR_AO): Likewise.
44894 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44895 (TRAP_TRACE): Likewise.
44896 (TRAP_BRANCH): Likewise.
44897 (TRAP_HWBKPT): Likewise.
44898 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44899 __USE_XOPEN2K8].
44900 (CLD_KILLED): Likewise.
44901 (CLD_DUMPED): Likewise.
44902 (CLD_TRAPPED): Likewise.
44903 (CLD_STOPPED): Likewise.
44904 (CLD_CONTINUED): Likewise.
44905 (POLL_IN): Likewise.
44906 (POLL_OUT): Likewise.
44907 (POLL_MSG): Likewise.
44908 (POLL_ERR): Likewise.
44909 (POLL_PRI): Likewise.
44910 (POLL_HUP): Likewise.
44911 * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
44912 (ILL_ILLOPN): Likewise.
44913 (ILL_ILLADR): Likewise.
44914 (ILL_ILLTRP): Likewise.
44915 (ILL_PRVOPC): Likewise.
44916 (ILL_PRVREG): Likewise.
44917 (ILL_COPROC): Likewise.
44918 (ILL_BADSTK): Likewise.
44919 (FPE_INTDIV): Likewise.
44920 (FPE_INTOVF): Likewise.
44921 (FPE_FLTDIV): Likewise.
44922 (FPE_FLTOVF): Likewise.
44923 (FPE_FLTUND): Likewise.
44924 (FPE_FLTRES): Likewise.
44925 (FPE_FLTINV): Likewise.
44926 (FPE_FLTSUB): Likewise.
44927 (SEGV_MAPERR): Likewise.
44928 (SEGV_ACCERR): Likewise.
44929 (BUS_ADRALN): Likewise.
44930 (BUS_ADRERR): Likewise.
44931 (BUS_OBJERR): Likewise.
44932 (BUS_MCEERR_AR): Likewise.
44933 (BUS_MCEERR_AO): Likewise.
44934 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44935 (TRAP_TRACE): Likewise.
44936 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44937 __USE_XOPEN2K8].
44938 (CLD_KILLED): Likewise.
44939 (CLD_DUMPED): Likewise.
44940 (CLD_TRAPPED): Likewise.
44941 (CLD_STOPPED): Likewise.
44942 (CLD_CONTINUED): Likewise.
44943 (POLL_IN): Likewise.
44944 (POLL_OUT): Likewise.
44945 (POLL_MSG): Likewise.
44946 (POLL_ERR): Likewise.
44947 (POLL_PRI): Likewise.
44948 (POLL_HUP): Likewise.
44949 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
44950 (ILL_ILLOPN): Likewise.
44951 (ILL_ILLADR): Likewise.
44952 (ILL_ILLTRP): Likewise.
44953 (ILL_PRVOPC): Likewise.
44954 (ILL_PRVREG): Likewise.
44955 (ILL_COPROC): Likewise.
44956 (ILL_BADSTK): Likewise.
44957 (FPE_INTDIV): Likewise.
44958 (FPE_INTOVF): Likewise.
44959 (FPE_FLTDIV): Likewise.
44960 (FPE_FLTOVF): Likewise.
44961 (FPE_FLTUND): Likewise.
44962 (FPE_FLTRES): Likewise.
44963 (FPE_FLTINV): Likewise.
44964 (FPE_FLTSUB): Likewise.
44965 (SEGV_MAPERR): Likewise.
44966 (SEGV_ACCERR): Likewise.
44967 (BUS_ADRALN): Likewise.
44968 (BUS_ADRERR): Likewise.
44969 (BUS_OBJERR): Likewise.
44970 (BUS_MCEERR_AR): Likewise.
44971 (BUS_MCEERR_AO): Likewise.
44972 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
44973 (TRAP_TRACE): Likewise.
44974 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
44975 __USE_XOPEN2K8].
44976 (CLD_KILLED): Likewise.
44977 (CLD_DUMPED): Likewise.
44978 (CLD_TRAPPED): Likewise.
44979 (CLD_STOPPED): Likewise.
44980 (CLD_CONTINUED): Likewise.
44981 (POLL_IN): Likewise.
44982 (POLL_OUT): Likewise.
44983 (POLL_MSG): Likewise.
44984 (POLL_ERR): Likewise.
44985 (POLL_PRI): Likewise.
44986 (POLL_HUP): Likewise.
44987 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
44988 (ILL_ILLOPN): Likewise.
44989 (ILL_ILLADR): Likewise.
44990 (ILL_ILLTRP): Likewise.
44991 (ILL_PRVOPC): Likewise.
44992 (ILL_PRVREG): Likewise.
44993 (ILL_COPROC): Likewise.
44994 (ILL_BADSTK): Likewise.
44995 (FPE_INTDIV): Likewise.
44996 (FPE_INTOVF): Likewise.
44997 (FPE_FLTDIV): Likewise.
44998 (FPE_FLTOVF): Likewise.
44999 (FPE_FLTUND): Likewise.
45000 (FPE_FLTRES): Likewise.
45001 (FPE_FLTINV): Likewise.
45002 (FPE_FLTSUB): Likewise.
45003 (SEGV_MAPERR): Likewise.
45004 (SEGV_ACCERR): Likewise.
45005 (BUS_ADRALN): Likewise.
45006 (BUS_ADRERR): Likewise.
45007 (BUS_OBJERR): Likewise.
45008 (BUS_MCEERR_AR): Likewise.
45009 (BUS_MCEERR_AO): Likewise.
45010 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45011 (TRAP_TRACE): Likewise.
45012 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45013 __USE_XOPEN2K8].
45014 (CLD_KILLED): Likewise.
45015 (CLD_DUMPED): Likewise.
45016 (CLD_TRAPPED): Likewise.
45017 (CLD_STOPPED): Likewise.
45018 (CLD_CONTINUED): Likewise.
45019 (POLL_IN): Likewise.
45020 (POLL_OUT): Likewise.
45021 (POLL_MSG): Likewise.
45022 (POLL_ERR): Likewise.
45023 (POLL_PRI): Likewise.
45024 (POLL_HUP): Likewise.
45025 * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
45026 (ILL_ILLOPN): Likewise.
45027 (ILL_ILLADR): Likewise.
45028 (ILL_ILLTRP): Likewise.
45029 (ILL_PRVOPC): Likewise.
45030 (ILL_PRVREG): Likewise.
45031 (ILL_COPROC): Likewise.
45032 (ILL_BADSTK): Likewise.
45033 (ILL_DBLFLT): Likewise.
45034 (ILL_HARDWALL): Likewise.
45035 (FPE_INTDIV): Likewise.
45036 (FPE_INTOVF): Likewise.
45037 (FPE_FLTDIV): Likewise.
45038 (FPE_FLTOVF): Likewise.
45039 (FPE_FLTUND): Likewise.
45040 (FPE_FLTRES): Likewise.
45041 (FPE_FLTINV): Likewise.
45042 (FPE_FLTSUB): Likewise.
45043 (SEGV_MAPERR): Likewise.
45044 (SEGV_ACCERR): Likewise.
45045 (BUS_ADRALN): Likewise.
45046 (BUS_ADRERR): Likewise.
45047 (BUS_OBJERR): Likewise.
45048 (BUS_MCEERR_AR): Likewise.
45049 (BUS_MCEERR_AO): Likewise.
45050 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45051 (TRAP_TRACE): Likewise.
45052 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45053 __USE_XOPEN2K8].
45054 (CLD_KILLED): Likewise.
45055 (CLD_DUMPED): Likewise.
45056 (CLD_TRAPPED): Likewise.
45057 (CLD_STOPPED): Likewise.
45058 (CLD_CONTINUED): Likewise.
45059 (POLL_IN): Likewise.
45060 (POLL_OUT): Likewise.
45061 (POLL_MSG): Likewise.
45062 (POLL_ERR): Likewise.
45063 (POLL_PRI): Likewise.
45064 (POLL_HUP): Likewise.
45065 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
45066 (ILL_ILLOPN): Likewise.
45067 (ILL_ILLADR): Likewise.
45068 (ILL_ILLTRP): Likewise.
45069 (ILL_PRVOPC): Likewise.
45070 (ILL_PRVREG): Likewise.
45071 (ILL_COPROC): Likewise.
45072 (ILL_BADSTK): Likewise.
45073 (FPE_INTDIV): Likewise.
45074 (FPE_INTOVF): Likewise.
45075 (FPE_FLTDIV): Likewise.
45076 (FPE_FLTOVF): Likewise.
45077 (FPE_FLTUND): Likewise.
45078 (FPE_FLTRES): Likewise.
45079 (FPE_FLTINV): Likewise.
45080 (FPE_FLTSUB): Likewise.
45081 (SEGV_MAPERR): Likewise.
45082 (SEGV_ACCERR): Likewise.
45083 (BUS_ADRALN): Likewise.
45084 (BUS_ADRERR): Likewise.
45085 (BUS_OBJERR): Likewise.
45086 (BUS_MCEERR_AR): Likewise.
45087 (BUS_MCEERR_AO): Likewise.
45088 (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
45089 (TRAP_TRACE): Likewise.
45090 (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
45091 __USE_XOPEN2K8].
45092 (CLD_KILLED): Likewise.
45093 (CLD_DUMPED): Likewise.
45094 (CLD_TRAPPED): Likewise.
45095 (CLD_STOPPED): Likewise.
45096 (CLD_CONTINUED): Likewise.
45097 (POLL_IN): Likewise.
45098 (POLL_OUT): Likewise.
45099 (POLL_MSG): Likewise.
45100 (POLL_ERR): Likewise.
45101 (POLL_PRI): Likewise.
45102 (POLL_HUP): Likewise.
45103 * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
45104 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
45105
45106 [BZ #16670]
45107 * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
45108 before #include of <time.h>.
45109 [!__USE_XOPEN2K] (__need_timespec): Likewise.
45110 * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
45111 (test-xfail-UNIX98/sched.h/conform): Likewise.
45112
45113 2014-03-07 Marcus Shawcroft <marcus.shawcroft@arm.com>
45114
45115 * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
45116 error absence of trapping exception support.
45117 * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
45118
45119 2014-03-07 Joseph Myers <joseph@codesourcery.com>
45120
45121 * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
45122 ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
45123 * timezone/Makefile (testdata): Move definition above include of
45124 Rules.
45125 (test-zones): New variable.
45126 (tests-special): Add zone files.
45127 (build-testdata): Use $(evaluate-test).
45128
45129 * elf/Makefile (tests-special): Rename tests to end with .out.
45130 ($(objpfx)noload-mem): Likewise.
45131 ($(objpfx)tst-leaks1-mem): Likewise.
45132 ($(objpfx)tst-leaks1-static-mem.out): Likewise.
45133 * iconv/Makefile (xtests-special): Change test-iconvconfig to
45134 $(objpfx)test-iconvconfig.out.
45135 (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out. Use
45136 set -e inside subshell and redirect output to file.
45137 * iconvdata/Makefile (generated): Rename tests to end with .out.
45138 Correct type.
45139 (tests-special): Rename tests to end with .out.
45140 ($(objpfx)mtrace-tst-loading): Likewise.
45141 * intl/Makefile (generated): Likewise.
45142 (tests-special): Likewise.
45143 ($(objpfx)mtrace-tst-gettext): Likewise.
45144 * misc/Makefile (generated): Likewise.
45145 (tests-special): Likewise.
45146 ($(objpfx)tst-error1-mem): Likewise.
45147 * nptl/Makefile (tests-special): Likewise.
45148 ($(objpfx)tst-stack3-mem): Likewise.
45149 (generated): Likewise.
45150 * posix/Makefile (generated): Likewise.
45151 (tests-special): Likewise.
45152 (xtests-special): Likewise.
45153 ($(objpfx)tst-fnmatch-mem): Likewise.
45154 ($(objpfx)bug-regex2-mem): Likewise.
45155 ($(objpfx)bug-regex14-mem): Likewise.
45156 ($(objpfx)bug-regex21-mem): Likewise.
45157 ($(objpfx)bug-regex31-mem): Likewise.
45158 ($(objpfx)tst-vfork3-mem): Likewise.
45159 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
45160 ($(objpfx)tst-pcre-mem): Likewise.
45161 ($(objpfx)tst-boost-mem): Likewise.
45162 ($(objpfx)bug-ga2-mem): Likewise.
45163 ($(objpfx)bug-glob2-mem): Likewise.
45164 * resolv/Makefile (generate): Likewise.
45165 (tests-special): Likewise.
45166 (xtests-special): Likewise.
45167 (generated): Likewise.
45168 ($(objpfx)mtrace-tst-leaks): Likewise.
45169 ($(objpfx)mtrace-tst-leaks2): Likewise.
45170
45171 * scripts/merge-test-results.sh: New file.
45172 * Makefile (tests-special-notdir): New variable.
45173 (tests): Run merge-test-results.sh.
45174 (xtests): Likewise.
45175 * Rules (tests-special-notdir): New variable.
45176 (xtests-special-notdir): Likewise.
45177 (tests): Run merge-test-results.sh
45178 (xtests): Likewise.
45179
45180 * Makeconfig (test-xfail-name): New variable.
45181 (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
45182 compute variable name for expected failures.
45183 * conform/Makefile (conformtest-headers-data): New variable.
45184 (conformtest-standards): Likewise.
45185 (conformtest-headers-ISO): Likewise.
45186 (conformtest-headers-ISO99): Likewise.
45187 (conformtest-headers-ISO11): Likewise.
45188 (conformtest-headers-POSIX): Likewise.
45189 (conformtest-headers-XPG3): Likewise.
45190 (conformtest-headers-XPG4): Likewise.
45191 (conformtest-headers-UNIX98): Likewise.
45192 (conformtest-headers-XOPEN2K): Likewise.
45193 (conformtest-headers-POSIX2008): Likewise.
45194 (conformtest-headers-XOPEN2K8): Likewise.
45195 (conformtest-header-list-base): Likewise.
45196 (conformtest-header-list-tests): Likewise.
45197 (conformtest-header-base): Likewise.
45198 (conformtest-header-tests): Likewise.
45199 (tests-special): Add $(conformtest-header-list-tests). If
45200 [$(fast-check) && !$(cross-compiling)], add
45201 $(conformtest-header-tests) instead of
45202 $(objpfx)run-conformtest.out.
45203 (generated): Add $(conformtest-header-list-base). If
45204 [$(fast-check) && !$(cross-compiling)], add
45205 $(conformtest-header-base). Remove previous setting.
45206 ($(conformtest-header-list-tests)): New target.
45207 (test-xfail-run-conformtest): Remove variable.
45208 ($(objpfx)run-conformtest.out): Remove target.
45209 (test-xfail-ISO11/complex.h/conform): New variable.
45210 (test-xfail-ISO11/stdalign.h/conform): Likewise.
45211 (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
45212 (test-xfail-XPG3/varargs.h/conform): Likewise.
45213 (test-xfail-XPG4/varargs.h/conform): Likewise.
45214 (test-xfail-UNIX98/varargs.h/conform): Likewise.
45215 (test-xfail-XPG4/ndbm.h/conform): Likewise.
45216 (test-xfail-UNIX98/ndbm.h/conform): Likewise.
45217 (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
45218 (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
45219 (test-xfail-XPG3/fcntl.h/conform): Likewise.
45220 (test-xfail-XPG3/ftw.h/conform): Likewise.
45221 (test-xfail-XPG3/grp.h/conform): Likewise.
45222 (test-xfail-XPG3/langinfo.h/conform): Likewise.
45223 (test-xfail-XPG3/limits.h/conform): Likewise.
45224 (test-xfail-XPG3/pwd.h/conform): Likewise.
45225 (test-xfail-XPG3/search.h/conform): Likewise.
45226 (test-xfail-XPG3/signal.h/conform): Likewise.
45227 (test-xfail-XPG3/stdio.h/conform): Likewise.
45228 (test-xfail-XPG3/stdlib.h/conform): Likewise.
45229 (test-xfail-XPG3/string.h/conform): Likewise.
45230 (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
45231 (test-xfail-XPG3/sys/msg.h/conform): Likewise.
45232 (test-xfail-XPG3/sys/sem.h/conform): Likewise.
45233 (test-xfail-XPG3/sys/shm.h/conform): Likewise.
45234 (test-xfail-XPG3/sys/stat.h/conform): Likewise.
45235 (test-xfail-XPG3/sys/types.h/conform): Likewise.
45236 (test-xfail-XPG3/sys/wait.h/conform): Likewise.
45237 (test-xfail-XPG3/termios.h/conform): Likewise.
45238 (test-xfail-XPG3/time.h/conform): Likewise.
45239 (test-xfail-XPG3/unistd.h/conform): Likewise.
45240 (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
45241 (test-xfail-XPG4/fcntl.h/conform): Likewise.
45242 (test-xfail-XPG4/langinfo.h/conform): Likewise.
45243 (test-xfail-XPG4/netdb.h/conform): Likewise.
45244 (test-xfail-XPG4/netinet/in.h/conform): Likewise.
45245 (test-xfail-XPG4/signal.h/conform): Likewise.
45246 (test-xfail-XPG4/stdio.h/conform): Likewise.
45247 (test-xfail-XPG4/stdlib.h/conform): Likewise.
45248 (test-xfail-XPG4/stropts.h/conform): Likewise.
45249 (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
45250 (test-xfail-XPG4/sys/msg.h/conform): Likewise.
45251 (test-xfail-XPG4/sys/sem.h/conform): Likewise.
45252 (test-xfail-XPG4/sys/shm.h/conform): Likewise.
45253 (test-xfail-XPG4/sys/socket.h/conform): Likewise.
45254 (test-xfail-XPG4/sys/stat.h/conform): Likewise.
45255 (test-xfail-XPG4/sys/time.h/conform): Likewise.
45256 (test-xfail-XPG4/sys/types.h/conform): Likewise.
45257 (test-xfail-XPG4/sys/wait.h/conform): Likewise.
45258 (test-xfail-XPG4/termios.h/conform): Likewise.
45259 (test-xfail-XPG4/ucontext.h/conform): Likewise.
45260 (test-xfail-XPG4/unistd.h/conform): Likewise.
45261 (test-xfail-XPG4/utmpx.h/conform): Likewise.
45262 (test-xfail-POSIX/sched.h/conform): Likewise.
45263 (test-xfail-POSIX/signal.h/conform): Likewise.
45264 (test-xfail-POSIX/sys/wait.h/conform): Likewise.
45265 (test-xfail-POSIX/tar.h/conform): Likewise.
45266 (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
45267 (test-xfail-UNIX98/fcntl.h/conform): Likewise.
45268 (test-xfail-UNIX98/langinfo.h/conform): Likewise.
45269 (test-xfail-UNIX98/netdb.h/conform): Likewise.
45270 (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
45271 (test-xfail-UNIX98/sched.h/conform): Likewise.
45272 (test-xfail-UNIX98/signal.h/conform): Likewise.
45273 (test-xfail-UNIX98/stdio.h/conform): Likewise.
45274 (test-xfail-UNIX98/stdlib.h/conform): Likewise.
45275 (test-xfail-UNIX98/stropts.h/conform): Likewise.
45276 (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
45277 (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
45278 (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
45279 (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
45280 (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
45281 (test-xfail-UNIX98/sys/time.h/conform): Likewise.
45282 (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
45283 (test-xfail-UNIX98/ucontext.h/conform): Likewise.
45284 (test-xfail-UNIX98/unistd.h/conform): Likewise.
45285 (test-xfail-UNIX98/utmpx.h/conform): Likewise.
45286 (test-xfail-XOPEN2K/aio.h/conform): Likewise.
45287 (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
45288 (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
45289 (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
45290 (test-xfail-XOPEN2K/math.h/conform): Likewise.
45291 (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
45292 (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
45293 (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
45294 (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
45295 (test-xfail-XOPEN2K/signal.h/conform): Likewise.
45296 (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
45297 (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
45298 (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
45299 (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
45300 (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
45301 (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
45302 (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
45303 (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
45304 (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
45305 (test-xfail-XOPEN2K/termios.h/conform): Likewise.
45306 (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
45307 (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
45308 (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
45309 (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
45310 (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
45311 (test-xfail-POSIX2008/netdb.h/conform): Likewise.
45312 (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
45313 (test-xfail-POSIX2008/signal.h/conform): Likewise.
45314 (test-xfail-POSIX2008/stropts.h/conform): Likewise.
45315 (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
45316 (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
45317 (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
45318 (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
45319 (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
45320 (test-xfail-XOPEN2K8/math.h/conform): Likewise.
45321 (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
45322 (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
45323 (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
45324 (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
45325 (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
45326 (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
45327 (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
45328 (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
45329 (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
45330 (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
45331 (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
45332 (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
45333 (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
45334 (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
45335 (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
45336 (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
45337 (conformtest-cc-flags): Likewise.
45338 ($(conformtest-header-tests): New target.
45339 * conform/check-header-lists.sh: New file.
45340 * conform/run-conformtest.sh: Remove.
45341
45342 * conform/conformtest.pl: Allow ' and \ in values given for
45343 constants.
45344 * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
45345 inclusion.
45346 [POSIX] (sys/types.h): Likewise.
45347 [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
45348 inclusion.
45349 [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
45350 inclusion.
45351 * conform/data/signal.h-data (SIGIO): Remove expectation.
45352 [XPG3] (SIGBUS): Do not expect.
45353 [POSIX || XPG3] (SIGPOLL): Likewise.
45354 [POSIX || XPG3] (SIGPROF): Likewise.
45355 [POSIX || XPG3] (SIGSYS): Likewise.
45356 [XPG3] (SIGTRAP): Likewise.
45357 [POSIX || XPG3] (SIGURG): Likewise.
45358 [POSIX || XPG3] (SIGVTALRM): Likewise.
45359 [POSIX || XPG3] (SIGXCPU): Likewise.
45360 [POSIX || XPG3] (SIGXFSZ): Likewise.
45361 [POSIX] (SA_SIGINFO): Expect.
45362 [XPG3] (siginfo_t): Do not expect type or contents.
45363 [POSIX] (si_pid): Do not expect element.
45364 [POSIX] (si_uid): Likewise.
45365 [POSIX] (si_addr): Likewise.
45366 [POSIX] (si_status): Likewise.
45367 [POSIX] (si_band): Likewise.
45368 [XPG4] (si_value): Likewise.
45369 [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
45370 [POSIX || XPG3] (ILL_ILLOPN): Likewise.
45371 [POSIX || XPG3] (ILL_ILLADR): Likewise.
45372 [POSIX || XPG3] (ILL_ILLTRP): Likewise.
45373 [POSIX || XPG3] (ILL_PRVOPC): Likewise.
45374 [POSIX || XPG3] (ILL_PRVREG): Likewise.
45375 [POSIX || XPG3] (ILL_COPROC): Likewise.
45376 [POSIX || XPG3] (ILL_BADSTK): Likewise.
45377 [POSIX || XPG3] (FPE_INTDIV): Likewise.
45378 [POSIX || XPG3] (FPE_INTOVF): Likewise.
45379 [POSIX || XPG3] (FPE_FLTDIV): Likewise.
45380 [POSIX || XPG3] (FPE_FLTOVF): Likewise.
45381 [POSIX || XPG3] (FPE_FLTUND): Likewise.
45382 [POSIX || XPG3] (FPE_FLTRES): Likewise.
45383 [POSIX || XPG3] (FPE_FLTINV): Likewise.
45384 [POSIX || XPG3] (FPE_FLTSUB): Likewise.
45385 [POSIX || XPG3] (SEGV_MAPERR): Likewise.
45386 [POSIX || XPG3] (SEGV_ACCERR): Likewise.
45387 [POSIX || XPG3] (BUS_ADRALN): Likewise.
45388 [POSIX || XPG3] (BUS_ADRERR): Likewise.
45389 [POSIX || XPG3] (BUS_OBJERR): Likewise.
45390 [POSIX || XPG3] (CLD_EXITED): Likewise.
45391 [POSIX || XPG3] (CLD_KILLED): Likewise.
45392 [POSIX || XPG3] (CLD_DUMPED): Likewise.
45393 [POSIX || XPG3] (CLD_TRAPPED): Likewise.
45394 [POSIX || XPG3] (CLD_STOPPED): Likewise.
45395 [POSIX || XPG3] (CLD_CONTINUED): Likewise.
45396 [POSIX || XPG3] (POLL_IN): Likewise.
45397 [POSIX || XPG3] (POLL_OUT): Likewise.
45398 [POSIX || XPG3] (POLL_MSG): Likewise.
45399 [POSIX || XPG3] (POLL_ERR): Likewise.
45400 [POSIX || XPG3] (POLL_PRI): Likewise.
45401 [POSIX || XPG3] (POLL_HUP): Likewise.
45402 [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
45403 [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
45404 (SIG*): Do not allow.
45405 [XPG3] (si_*): Likewise.
45406 [XPG3] (SI_*): Likewise.
45407 [XPG3 || XPG4] (sigev_*): Likewise.
45408 [XPG3 || XPG4] (SIGEV_*): Likewise.
45409 [XPG3 || XPG4] (sival_*): Likewise.
45410 [POSIX || XPG3 || XPG4] (uc_*): Likewise.
45411 [POSIX || XPG3] (BUS_*): Likewise.
45412 [POSIX || XPG3] (CLD_*): Likewise.
45413 [POSIX || XPG3] (FPE_*): Likewise.
45414 [POSIX || XPG3] (ILL_*): Likewise.
45415 [POSIX || XPG3] (POLL_*): Likewise.
45416 [POSIX || XPG3] (SEGV_*): Likewise.
45417 [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
45418 [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
45419 [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
45420 [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
45421 [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
45422 * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
45423 Specify type and value.
45424 (TVERSLEN): Likewise.
45425 (REGTYPE): Likewise.
45426 (AREGTYPE): Likewise.
45427 (LNKTYPE): Likewise.
45428 (SYMTYPE): Likewise.
45429 (CHRTYPE): Likewise.
45430 (BLKTYPE): Likewise.
45431 (DIRTYPE): Likewise.
45432 (FIFOTYPE): Likewise.
45433 (CONTTYPE): Likewise.
45434 (TSUID): Likewise.
45435 (TSGID): Likewise.
45436 (TSVTX): Likewise.
45437 (TUREAD): Likewise.
45438 (TUWRITE): Likewise.
45439 (TUEXEC): Likewise.
45440 (TGREAD): Likewise.
45441 (TGWRITE): Likewise.
45442 (TGEXEC): Likewise.
45443 (TOREAD): Likewise.
45444 (TOWRITE): Likewise.
45445 (TOEXEC): Likewise.
45446 [POSIX] (TSVTX): Expect constant.
45447
45448 2014-03-06 Joseph Myers <joseph@codesourcery.com>
45449
45450 * Makefile (tests): Change dependencies to ....
45451 (tests-special): ... additions to this variable.
45452 (tests): Depend on $(tests-special).
45453 * Makerules (check-abi-list): New variable.
45454 (check-abi): Depend on $(check-abi-list).
45455 [$(subdir) = elf] (tests-special): Add
45456 $(objpfx)check-abi-libc.out.
45457 [$(build-shared) = yes && subdir] (tests-special): Add
45458 $(check-abi-list).
45459 [$(build-shared) = yes && subdir] (tests): Do not depend on
45460 check-abi.
45461 * Rules (tests): Depend on $(tests-special).
45462 (xtests): Depend on $(xtests-special).
45463 * catgets/Makefile (tests): Change dependencies to ....
45464 (tests-special): ... additions to this variable.
45465 * conform/Makefile (tests): Change dependencies to ....
45466 (tests-special): ... additions to this variable.
45467 * elf/Makefile (tests): Change dependencies to ....
45468 (tests-special): ... additions to this variable.
45469 * grp/Makefile (tests): Change dependencies to ....
45470 (tests-special): ... additions to this variable.
45471 * iconv/Makefile (xtests): Change dependencies to ....
45472 (xtests-special): ... additions to this variable.
45473 * iconvdata/Makefile (tests): Change dependencies to ....
45474 (tests-special): ... additions to this variable.
45475 * intl/Makefile (tests): Change dependencies to ....
45476 (tests-special): ... additions to this variable. Also add
45477 $(objpfx)tst-gettext.out.
45478 * io/Makefile (tests): Change dependencies to ....
45479 (tests-special): ... additions to this variable.
45480 * libio/Makefile (tests): Change dependencies to ....
45481 (tests-special): ... additions to this variable.
45482 * malloc/Makefile (tests): Change dependencies to ....
45483 (tests-special): ... additions to this variable.
45484 * misc/Makefile (tests): Change dependencies to ....
45485 (tests-special): ... additions to this variable.
45486 * nptl/Makefile (tests): Change dependencies to ....
45487 (tests-special): ... additions to this variable.
45488 * nptl_db/Makefile (tests): Change dependencies to ....
45489 (tests-special): ... additions to this variable.
45490 * posix/Makefile (tests): Change dependencies to ....
45491 (tests-special): ... additions to this variable.
45492 (xtests): Change dependencies to ....
45493 (xtests-special): ... additions to this variable.
45494 * resolv/Makefile (tests): Change dependencies to ....
45495 (tests-special): ... additions to this variable.
45496 (xtests): Change dependencies to ....
45497 (xtests-special): ... additions to this variable.
45498 * stdio-common/Makefile (tests): Change dependencies to ....
45499 (tests-special): ... additions to this variable.
45500 (do-tst-unbputc): Remove target.
45501 (do-tst-printf): Likewise.
45502 * stdlib/Makefile (tests): Change dependencies to ....
45503 (tests-special): ... additions to this variable.
45504 * string/Makefile (tests): Change dependencies to ....
45505 (tests-special): ... additions to this variable.
45506 * sysdeps/x86/Makefile (tests): Change dependencies to ....
45507 (tests-special): ... additions to this variable.
45508
45509 * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
45510 whole file.
45511 * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
45512 whole file.
45513 * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
45514 * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
45515
45516 * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
45517 * conform/data/arpa/inet.h-data [XPG3]: Likewise.
45518 * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
45519 * conform/data/fmtmsg.h-data [XPG3]: Likewise.
45520 * conform/data/libgen.h-data [XPG3]: Likewise.
45521 * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
45522 * conform/data/ndbm.h-data [XPG3]: Likewise.
45523 * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45524 * conform/data/netdb.h-data [XPG3]: Likewise.
45525 * conform/data/netinet/in.h-data [XPG3]: Likewise.
45526 * conform/data/poll.h-data [XPG3]: Likewise.
45527 * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
45528 * conform/data/strings.h-data [XPG3]: Likewise.
45529 * conform/data/stropts.h-data [XPG3]: Likewise.
45530 * conform/data/sys/mman.h-data [XPG3]: Likewise.
45531 * conform/data/sys/resource.h-data [XPG3]: Likewise.
45532 * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
45533 Likewise.
45534 * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
45535 * conform/data/sys/time.h-data [XPG3]: Likewise.
45536 * conform/data/sys/timeb.h-data [XPG3]: Likewise.
45537 * conform/data/sys/uio.h-data [XPG3]: Likewise.
45538 * conform/data/sys/un.h-data [XPG3]: Likewise.
45539 * conform/data/syslog.h-data [XPG3]: Likewise.
45540 * conform/data/ucontext.h-data [XPG3]: Likewise.
45541 * conform/data/utmpx.h-data [XPG3]: Likewise.
45542 * conform/data/varargs.h-data [UNIX98]: Enable file.
45543
45544 * manual/Makefile (INSTALL_INFO): Remove variable setting.
45545
45546 * math/libm-test.inc (struct test_f_f_data): Move expected results
45547 into structure for each rounding mode.
45548 (struct test_ff_f_data): Likewise.
45549 (struct test_ff_f_data_nexttoward): Likewise.
45550 (struct test_fi_f_data): Likewise.
45551 (struct test_fl_f_data): Likewise.
45552 (struct test_if_f_data): Likewise.
45553 (struct test_fff_f_data): Likewise.
45554 (struct test_c_f_data): Likewise.
45555 (struct test_f_f1_data): Likewise.
45556 (struct test_fF_f1_data): Likewise.
45557 (struct test_ffI_f1_data): Likewise.
45558 (struct test_c_c_data): Likewise.
45559 (struct test_cc_c_data): Likewise.
45560 (struct test_f_i_data): Likewise.
45561 (struct test_ff_i_data): Likewise.
45562 (struct test_f_l_data): Likewise.
45563 (struct test_f_L_data): Likewise.
45564 (struct test_fFF_11_data): Likewise.
45565 (RM_): New macro.
45566 (RM_FE_DOWNWARD): Likewise.
45567 (RM_FE_TONEAREST): Likewise.
45568 (RM_FE_TOWARDZERO): Likewise.
45569 (RM_FE_UPWARD): Likewise.
45570 (RUN_TEST_LOOP_f_f): Update references to expected results.
45571 (RUN_TEST_LOOP_2_f): Likewise.
45572 (RUN_TEST_LOOP_fff_f): Likewise.
45573 (RUN_TEST_LOOP_c_f): Likewise.
45574 (RUN_TEST_LOOP_f_f1): Likewise.
45575 (RUN_TEST_LOOP_fF_f1): Likewise.
45576 (RUN_TEST_LOOP_fI_f1): Likewise.
45577 (RUN_TEST_LOOP_ffI_f1): Likewise.
45578 (RUN_TEST_LOOP_c_c): Likewise.
45579 (RUN_TEST_LOOP_cc_c): Likewise.
45580 (RUN_TEST_LOOP_f_i): Likewise.
45581 (RUN_TEST_LOOP_f_i_tg): Likewise.
45582 (RUN_TEST_LOOP_ff_i_tg): Likewise.
45583 (RUN_TEST_LOOP_f_b): Likewise.
45584 (RUN_TEST_LOOP_f_b_tg): Likewise.
45585 (RUN_TEST_LOOP_f_l): Likewise.
45586 (RUN_TEST_LOOP_f_L): Likewise.
45587 (RUN_TEST_LOOP_fFF_11): Likewise.
45588 * math/gen-libm-test.pl (parse_args): Output four copies of
45589 expected results for each test.
45590
45591 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
45592 (__ASSUME_UTIMES): Remove.
45593 * sysdeps/unix/sysv/linux/tile/kernel-features.h
45594 (__ASSUME_UTIMES): Likewise.
45595
45596 * math/gen-auto-libm-tests.c: Update comment on output format.
45597 (output_for_one_input_case): Generate before-rounding and
45598 after-rounding information as conditions on output flags not
45599 floating-point format.
45600 * math/auto-libm-test-out: Regenerated.
45601 * math/gen-libm-test.pl (cond_value): New function.
45602 (or_cond_value): Use cond_value.
45603 (generate_testfile): Handle conditional exceptions.
45604
45605 2014-03-05 Joseph Myers <joseph@codesourcery.com>
45606
45607 * math/libm-test.inc (max_valid_error): New variable.
45608 (init_max_error): Take new argument specifying whether function
45609 results are exactly determined. Set max_valid_error and bound
45610 other variables for errors based on this argument.
45611 (set_max_error): Do not record results above max_valid_error.
45612 (check_float_internal): Only accept errors of up to 0.5ulps if
45613 also at most max_valid_error.
45614 (START): Take new argument EXACT and pass it to init_max_error.
45615 (acos_test): Update call to START.
45616 (acos_test_tonearest): Likewise.
45617 (acos_test_towardzero): Likewise.
45618 (acos_test_downward): Likewise.
45619 (acos_test_upward): Likewise.
45620 (acosh_test): Likewise.
45621 (asin_test): Likewise.
45622 (asin_test_tonearest): Likewise.
45623 (asin_test_towardzero): Likewise.
45624 (asin_test_downward): Likewise.
45625 (asin_test_upward): Likewise.
45626 (asinh_test): Likewise.
45627 (atan_test): Likewise.
45628 (atanh_test): Likewise.
45629 (atan2_test): Likewise.
45630 (cabs_test): Likewise.
45631 (cacos_test): Likewise.
45632 (cacosh_test): Likewise.
45633 (carg_test): Likewise.
45634 (casin_test): Likewise.
45635 (casinh_test): Likewise.
45636 (catan_test): Likewise.
45637 (catanh_test): Likewise.
45638 (cbrt_test): Likewise.
45639 (ccos_test): Likewise.
45640 (ccosh_test): Likewise.
45641 (ceil_test): Likewise.
45642 (cexp_test): Likewise.
45643 (cimag_test): Likewise.
45644 (clog_test): Likewise.
45645 (clog10_test): Likewise.
45646 (conj_test): Likewise.
45647 (copysign_test): Likewise.
45648 (cos_test): Likewise.
45649 (cos_test_tonearest): Likewise.
45650 (cos_test_towardzero): Likewise.
45651 (cos_test_downward): Likewise.
45652 (cos_test_upward): Likewise.
45653 (cosh_test): Likewise.
45654 (cosh_test_tonearest): Likewise.
45655 (cosh_test_towardzero): Likewise.
45656 (cosh_test_downward): Likewise.
45657 (cosh_test_upward): Likewise.
45658 (cpow_test): Likewise.
45659 (cproj_test): Likewise.
45660 (creal_test): Likewise.
45661 (csin_test): Likewise.
45662 (csinh_test): Likewise.
45663 (csqrt_test): Likewise.
45664 (ctan_test): Likewise.
45665 (ctan_test_tonearest): Likewise.
45666 (ctan_test_towardzero): Likewise.
45667 (ctan_test_downward): Likewise.
45668 (ctan_test_upward): Likewise.
45669 (ctanh_test): Likewise.
45670 (ctanh_test_tonearest): Likewise.
45671 (ctanh_test_towardzero): Likewise.
45672 (ctanh_test_downward): Likewise.
45673 (ctanh_test_upward): Likewise.
45674 (erf_test): Likewise.
45675 (erfc_test): Likewise.
45676 (exp_test): Likewise.
45677 (exp_test_tonearest): Likewise.
45678 (exp_test_towardzero): Likewise.
45679 (exp_test_downward): Likewise.
45680 (exp_test_upward): Likewise.
45681 (exp10_test): Likewise.
45682 (exp10_test_tonearest): Likewise.
45683 (exp10_test_towardzero): Likewise.
45684 (exp10_test_downward): Likewise.
45685 (exp10_test_upward): Likewise.
45686 (pow10_test): Likewise.
45687 (exp2_test): Likewise.
45688 (expm1_test): Likewise.
45689 (expm1_test_tonearest): Likewise.
45690 (expm1_test_towardzero): Likewise.
45691 (expm1_test_downward): Likewise.
45692 (expm1_test_upward): Likewise.
45693 (fabs_test): Likewise.
45694 (fdim_test): Likewise.
45695 (floor_test): Likewise.
45696 (fma_test): Likewise.
45697 (fma_test_towardzero): Likewise.
45698 (fma_test_downward): Likewise.
45699 (fma_test_upward): Likewise.
45700 (fmax_test): Likewise.
45701 (fmin_test): Likewise.
45702 (fmod_test): Likewise.
45703 (fpclassify_test): Likewise.
45704 (frexp_test): Likewise.
45705 (hypot_test): Likewise.
45706 (ilogb_test): Likewise.
45707 (isfinite_test): Likewise.
45708 (finite_test): Likewise.
45709 (isgreater_test): Likewise.
45710 (isgreaterequal_test): Likewise.
45711 (isinf_test): Likewise.
45712 (isless_test): Likewise.
45713 (islessequal_test): Likewise.
45714 (islessgreater_test): Likewise.
45715 (isnan_test): Likewise.
45716 (isnormal_test): Likewise.
45717 (issignaling_test): Likewise.
45718 (isunordered_test): Likewise.
45719 (j0_test): Likewise.
45720 (j1_test): Likewise.
45721 (jn_test): Likewise.
45722 (ldexp_test): Likewise.
45723 (lgamma_test): Likewise.
45724 (gamma_test): Likewise.
45725 (lrint_test): Likewise.
45726 (lrint_test_tonearest): Likewise.
45727 (lrint_test_towardzero): Likewise.
45728 (lrint_test_downward): Likewise.
45729 (lrint_test_upward): Likewise.
45730 (llrint_test): Likewise.
45731 (llrint_test_tonearest): Likewise.
45732 (llrint_test_towardzero): Likewise.
45733 (llrint_test_downward): Likewise.
45734 (llrint_test_upward): Likewise.
45735 (log_test): Likewise.
45736 (log10_test): Likewise.
45737 (log1p_test): Likewise.
45738 (log2_test): Likewise.
45739 (logb_test): Likewise.
45740 (logb_test_downward): Likewise.
45741 (lround_test): Likewise.
45742 (llround_test): Likewise.
45743 (modf_test): Likewise.
45744 (nearbyint_test): Likewise.
45745 (nextafter_test): Likewise.
45746 (nexttoward_test): Likewise.
45747 (pow_test): Likewise.
45748 (pow_test_tonearest): Likewise.
45749 (pow_test_towardzero): Likewise.
45750 (pow_test_downward): Likewise.
45751 (pow_test_upward): Likewise.
45752 (remainder_test): Likewise.
45753 (drem_test): Likewise.
45754 (remainder_test_tonearest): Likewise.
45755 (drem_test_tonearest): Likewise.
45756 (remainder_test_towardzero): Likewise.
45757 (drem_test_towardzero): Likewise.
45758 (remainder_test_downward): Likewise.
45759 (drem_test_downward): Likewise.
45760 (remainder_test_upward): Likewise.
45761 (drem_test_upward): Likewise.
45762 (remquo_test): Likewise.
45763 (rint_test): Likewise.
45764 (rint_test_tonearest): Likewise.
45765 (rint_test_towardzero): Likewise.
45766 (rint_test_downward): Likewise.
45767 (rint_test_upward): Likewise.
45768 (round_test): Likewise.
45769 (scalb_test): Likewise.
45770 (scalbn_test): Likewise.
45771 (scalbln_test): Likewise.
45772 (signbit_test): Likewise.
45773 (sin_test): Likewise.
45774 (sin_test_tonearest): Likewise.
45775 (sin_test_towardzero): Likewise.
45776 (sin_test_downward): Likewise.
45777 (sin_test_upward): Likewise.
45778 (sincos_test): Likewise.
45779 (sinh_test): Likewise.
45780 (sinh_test_tonearest): Likewise.
45781 (sinh_test_towardzero): Likewise.
45782 (sinh_test_downward): Likewise.
45783 (sinh_test_upward): Likewise.
45784 (sqrt_test): Likewise.
45785 (sqrt_test_tonearest): Likewise.
45786 (sqrt_test_towardzero): Likewise.
45787 (sqrt_test_downward): Likewise.
45788 (sqrt_test_upward): Likewise.
45789 (tan_test): Likewise.
45790 (tan_test_tonearest): Likewise.
45791 (tan_test_towardzero): Likewise.
45792 (tan_test_downward): Likewise.
45793 (tan_test_upward): Likewise.
45794 (tanh_test): Likewise.
45795 (tgamma_test): Likewise.
45796 (trunc_test): Likewise.
45797 (y0_test): Likewise.
45798 (y1_test): Likewise.
45799 (yn_test): Likewise.
45800 (significand_test): Likewise.
45801
45802 * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
45803 individual tests in comment.
45804 (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
45805 (prev_max_error): New variable.
45806 (prev_real_max_error): Likewise.
45807 (prev_imag_max_error): Likewise.
45808 (compare_ulp_data): Don't refer to test names in comment.
45809 (find_test_ulps): Remove function.
45810 (find_function_ulps): Likewise.
45811 (find_complex_function_ulps): Likewise.
45812 (init_max_error): Take function name as argument. Look up ulps
45813 for that function.
45814 (print_ulps): Remove function.
45815 (print_max_error): Use prev_max_error instead of calling
45816 find_function_ulps.
45817 (print_complex_max_error): Use prev_real_max_error and
45818 prev_imag_max_error instead of calling find_complex_function_ulps.
45819 (check_float_internal): Take max_ulp parameter instead of calling
45820 find_test_ulps. Don't call print_ulps.
45821 (check_float): Update call to check_float_internal.
45822 (check_complex): Update calls to check_float_internal.
45823 (START): Pass argument to init_max_error.
45824 * math/gen-libm-test.pl (%results): Don't include "kind"
45825 information.
45826 (parse_ulps): Don't handle ulps of individual tests.
45827 (print_ulps_file): Likewise.
45828 (output_ulps): Likewise.
45829 * math/README.libm-test: Update.
45830 * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
45831 individual tests.
45832 * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
45833 * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
45834 * sysdeps/arm/libm-test-ulps: Likewise.
45835 * sysdeps/i386/fpu/libm-test-ulps: Likewise.
45836 * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
45837 * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
45838 * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
45839 * sysdeps/microblaze/libm-test-ulps: Likewise.
45840 * sysdeps/mips/mips32/libm-test-ulps: Likewise.
45841 * sysdeps/mips/mips64/libm-test-ulps: Likewise.
45842 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
45843 * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
45844 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
45845 * sysdeps/sh/libm-test-ulps: Likewise.
45846 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
45847 * sysdeps/tile/libm-test-ulps: Likewise.
45848 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
45849
45850 2014-03-04 Joseph Myers <joseph@codesourcery.com>
45851
45852 * math/libm-test.inc (print_complex_max_error): Check separately
45853 whether real and imaginary errors are within allowed range and
45854 pass 0 to print_complex_function_ulps instead of value within
45855 allowed range.
45856
45857 2014-03-04 Siddhesh Poyarekar <siddhesh@redhat.com>
45858
45859 * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
45860 formatting.
45861 (get_handles_fopen): Likewise.
45862 (do_write_test): Likewise.
45863
45864 * libio/wfileops.c (do_ftell_wide): Fix up formatting.
45865
45866 * libio/fileops.c (do_ftell): Use cached offset when
45867 available.
45868 * libio/iofwide.c (do_ftell_wide): Likewise.
45869 * libio/iofdopen.c (_IO_new_fdopen): Don't use
45870 _IO_file_attach.
45871 * libio/wfileops.c (_IO_fwide): Don't cache offset.
45872
45873 [BZ #16532]
45874 * libio/libioP.h (get_file_offset): New function.
45875 * libio/fileops.c (get_file_offset): Likewise.
45876 (do_ftell): Likewise.
45877 (_IO_new_file_seekoff): Split out ftell logic.
45878 * libio/wfileops.c (do_ftell_wide): Likewise.
45879 (_IO_wfile_seekoff): Split out ftell logic.
45880 * libio/tst-ftell-active-handler.c: New test case.
45881 * libio/Makefile (tests): Add it.
45882
45883 2014-03-03 Roland McGrath <roland@hack.frob.com>
45884
45885 * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
45886 * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
45887
45888 2014-03-03 Siddhesh Poyarekar <siddhesh@redhat.com>
45889
45890 [BZ #16639]
45891 * nscd/connections.c (nscd_init): Call do_exit.
45892 (start_threads): Call do_exit and notify_parent.
45893 (begin_drop_privileges): Call do_exit.
45894 (finish_drop_privileges): Likewise.
45895 * nscd/selinux.c (preserve_capabilities): Likewise.
45896 (install_real_capabilities): Likewise.
45897 (nscd_selinux_enabled): Likewise.
45898 (avc_create_thread): Likewise.
45899 (avc_alloc_lock): Likewise.
45900 (nscd_avc_init): Likewise.
45901 * nscd/nscd.c (parent_fd): New static variable.
45902 (main): Create a pipe between parent and child processes.
45903 Skip closing parent_fd.
45904 (monitor_child): New function.
45905 (do_exit): Likewise.
45906 (notify_parent): Likewise.
45907 * nscd/nscd.h (notify_parent): Likewise.
45908 (do_exit): Likewise.
45909
45910 2014-03-03 Carlos O'Donell <carlos@redhat.com>
45911
45912 * malloc/malloc.c (__libc_calloc): Revert last change.
45913
45914 2014-03-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45915
45916 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45917
45918 2014-03-03 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
45919
45920 * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
45921 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
45922 implementation.
45923 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
45924 (__libc_ifunc_impl_list): Likewise.
45925 * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
45926 * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
45927 * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
45928 * string/strrchr.c: Define STRRCHR.
45929
45930 2014-02-28 Ondřej Bílka <neleai@seznam.cz>
45931
45932 * benchtest/bench-strtok.c (simple_strtok): Delete.
45933 (strtok_string): Use as benchmark.
45934 * string/strtok (STRTOK): New macro.
45935
45936 2014-02-28 Carlos O'Donell <carlos@redhat.com>
45937
45938 * manual/threads.texi: Add header and standard comments to all
45939 functions.
45940
45941 * elf/dl-lookup.c (check_match): New function.
45942 (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
45943 (do_lookup_x): Remove nested function check_match. Use non-nested
45944 function check_match.
45945
45946 2014-02-28 Roland McGrath <roland@hack.frob.com>
45947
45948 * csu/Makefile (generated, before-compile): Use += rather than =.
45949 * catgets/Makefile (generated, generated-dirs): Likewise.
45950 * debug/Makefile (generated): Likewise.
45951 * dlfcn/Makefile (generated): Likewise.
45952 * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
45953 * iconvdata/Makefile (before-compile, generated): Likewise.
45954 * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
45955 * libio/Makefile (generated): Likewise.
45956 * malloc/Makefile (generated): Likewise.
45957 * manual/Makefile (generated, generated-dirs): Likewise.
45958 * misc/Makefile (generated): Likewise.
45959 * posix/Makefile (generated): Likewise.
45960 * resolv/Makefile (generated): Likewise.
45961 * sunrpc/Makefile (generated, generated-dirs): Likewise.
45962 * timezone/Makefile (generated, generated-dirs): Likewise.
45963
45964 * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
45965
45966 2014-02-27 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
45967
45968 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
45969 power8 implementation.
45970 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
45971 file: POWER8 llround ifunc implementation.
45972 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
45973 (__lllround): Add POWER8 implementation.
45974 * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
45975 POWER8 llround implementation.
45976
45977 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
45978 power8 implementation.
45979 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
45980 file: POWER8 llrint ifunc implementation.
45981 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
45982 Add POWER8 implementation.
45983 * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
45984 POWER8 llrint implementation.
45985
45986 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
45987 power8 implementation.
45988 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
45989 file: POWER8 finite ifunc implementation.
45990 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
45991 Add POWER8 implementation.
45992 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
45993 Likewise.
45994 * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
45995 POWER8 finite implementation.
45996 * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
45997
45998 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
45999 power8 implementation.
46000 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
46001 file: POWER8 isinf ifunc implementation.
46002 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
46003 POWER8 implementation.
46004 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
46005 Likewise.
46006 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
46007 isinf implementation.
46008 * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
46009
46010 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
46011 (INIT_ARCH): Add hwcap2 initialization.
46012 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
46013 power8 implementation.
46014 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
46015 file: POWER8 isnan ifunc implementation.
46016 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
46017 POWER8 implementation.
46018 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
46019 Likewise.
46020 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
46021 isnan implementation.
46022 * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
46023
46024 2014-02-27 Joey Ye <joey.ye@arm.com>
46025
46026 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
46027 (_FP_NANFRAC_Q): Set to zero.
46028
46029 2014-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
46030
46031 [BZ #16623]
46032 * math/auto-libm-test-in: New test inputs.
46033 * math/auto-libm-test-out: Regenerate.
46034 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
46035 and DA.
46036 (__cos): Likewise.
46037 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
46038
46039 2014-02-27 Joseph Myers <joseph@codesourcery.com>
46040
46041 * scripts/evaluate-test.sh: Take new argument indicating whether
46042 failure is expected.
46043 * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
46044 indicating whether failure is expected.
46045 * conform/Makefile (test-xfail-run-conformtest): New variable.
46046 ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
46047 level.
46048 * posix/Makefile (test-xfail-annexc): New variable.
46049 ($(objpfx)annexc.out): Don't expect to fail at makefile level.
46050
46051 2014-02-26 Joseph Myers <joseph@codesourcery.com>
46052
46053 * argp/Makefile: Include Makeconfig immediately after defining
46054 subdir.
46055 * assert/Makefile: Likewise.
46056 * benchtests/Makefile: Likewise.
46057 * catgets/Makefile: Likewise.
46058 * conform/Makefile: Likewise.
46059 * crypt/Makefile: Likewise.
46060 * csu/Makefile: Likewise.
46061 (all): Remove target.
46062 * ctype/Makefile: Include Makeconfig immediately after defining
46063 subdir.
46064 * debug/Makefile: Likewise.
46065 * dirent/Makefile: Likewise.
46066 * dlfcn/Makefile: Likewise.
46067 * gmon/Makefile: Likewise.
46068 * gnulib/Makefile: Likewise.
46069 * grp/Makefile: Likewise.
46070 * gshadow/Makefile: Likewise.
46071 * hesiod/Makefile: Likewise.
46072 * hurd/Makefile: Likewise.
46073 (all): Remove target.
46074 * iconvdata/Makefile: Include Makeconfig immediately after
46075 defining subdir.
46076 * inet/Makefile: Likewise.
46077 * intl/Makefile: Likewise.
46078 * io/Makefile: Likewise.
46079 * libio/Makefile: Likewise.
46080 (all): Remove target.
46081 * locale/Makefile: Include Makeconfig immediately after defining
46082 subdir.
46083 * login/Makefile: Likewise.
46084 * mach/Makefile: Likewise.
46085 (all): Remove target.
46086 * malloc/Makefile: Include Makeconfig immediately after defining
46087 subdir.
46088 (all): Remove target.
46089 * manual/Makefile: Include Makeconfig immediately after defining
46090 subdir.
46091 * math/Makefile: Likewise.
46092 * misc/Makefile: Likewise.
46093 * nis/Makefile: Likewise.
46094 * nss/Makefile: Likewise.
46095 * po/Makefile: Likewise.
46096 (all): Remove target.
46097 * posix/Makefile: Include Makeconfig immediately after defining
46098 subdir.
46099 * pwd/Makefile: Likewise.
46100 * resolv/Makefile: Likewise.
46101 * resource/Makefile: Likewise.
46102 * rt/Makefile: Likewise.
46103 * setjmp/Makefile: Likewise.
46104 * shadow/Makefile: Likewise.
46105 * signal/Makefile: Likewise.
46106 * socket/Makefile: Likewise.
46107 * soft-fp/Makefile: Likewise.
46108 * stdio-common/Makefile: Likewise.
46109 * stdlib/Makefile: Likewise.
46110 * streams/Makefile: Likewise.
46111 * string/Makefile: Likewise.
46112 * sunrpc/Makefile: Likewise.
46113 (all): Remove target.
46114 * sysvipc/Makefile: Include Makeconfig immediately after defining
46115 subdir.
46116 * termios/Makefile: Likewise.
46117 * time/Makefile: Likewise.
46118 * timezone/Makefile: Likewise.
46119 (all): Remove target.
46120 * wcsmbs/Makefile: Include Makeconfig immediately after defining
46121 subdir.
46122 * wctype/Makefile: Likewise.
46123
46124 2014-02-26 Steve Ellcey <sellcey@mips.com>
46125
46126 * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
46127 (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
46128 (libc_feholdexcept_setround_mips): Ditto.
46129 (libc_feholdsetround): New.
46130 (libc_feholdsetroundf): New.
46131 (libc_feholdsetroundl): New.
46132 (libc_feupdateenv_test_mips): New.
46133 (libc_feupdateenv_test): New.
46134 (libc_feupdateenv_testf): New.
46135 (libc_feupdateenv_testl): New.
46136 (libc_feresetround): New.
46137 (libc_feresetroundf): New.
46138 (libc_feresetroundl): New.
46139 (libc_fetestexcept_mips): New.
46140 (libc_fetestexcept): New.
46141 (libc_fetestexceptf): New.
46142 (libc_fetestexceptl): New.
46143 (HAVE_RM_CTX): New.
46144 (libc_feholdexcept_setround_mips_ctx): New.
46145 (libc_feholdexcept_setround_ctx): New.
46146 (libc_feholdexcept_setroundf_ctx): New.
46147 (libc_feholdexcept_setroundl_ctx): New.
46148 (libc_fesetenv_mips_ctx): New.
46149 (libc_fesetenv_ctx): New.
46150 (libc_fesetenv_ctxf): New.
46151 (libc_fesetenv_ctxl): New.
46152 (libc_feupdateenv_mips_ctx): New.
46153 (libc_feupdateenv_ctx): New.
46154 (libc_feupdateenvf_ctx): New.
46155 (libc_feupdateenvl_ctx): New.
46156 (libc_feholdsetround_mips_ctx): New.
46157 (libc_feholdsetround_ctx): New.
46158 (libc_feholdsetroundf_ctx): New.
46159 (libc_feholdsetroundl_ctx): New.
46160 (libc_feresetround_mips_ctx): New.
46161 (libc_feresetround_ctx): New.
46162 (libc_feresetroundf_ctx): New.
46163 (libc_feresetroundl_ctx): New.
46164
46165 2014-02-26 Carlos O'Donell <carlos@redhat.com>
46166
46167 * manual/ipc.texi (Semaphores): Use @Theglibc{}.
46168
46169 * manual/ipc.texi: New file.
46170 * manual/Makefile (chapters): Add ipc.
46171 * manual/job.texi: Add "Inter-Process Communication" to next.
46172 * manual/process.texi: Add "Inter-Process Communication" to prev.
46173
46174 2014-02-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
46175
46176 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46177
46178 2014-02-26 Ondřej Bílka <neleai@seznam.cz>
46179
46180 * malloc/malloc.c (__libc_calloc): Simplify implementation.
46181
46182 * manual/arith.texi: Fix spaces after sentences.
46183 * manual/charset.texi: Likewise.
46184 * manual/errno.texi: Likewise.
46185 * manual/install.texi: Likewise.
46186 * manual/llio.texi: Likewise.
46187 * manual/locale.texi: Likewise.
46188 * manual/maint.texi: Likewise.
46189 * manual/math.texi: Likewise.
46190 * manual/memory.texi: Likewise.
46191 * manual/message.texi: Likewise.
46192 * manual/probes.texi: Likewise.
46193 * manual/resource.texi: Likewise.
46194 * manual/signal.texi: Likewise.
46195 * manual/socket.texi: Likewise.
46196 * manual/stdio.texi: Likewise.
46197 * manual/string.texi: Likewise.
46198 * manual/time.texi: Likewise.
46199 * manual/users.texi: Likewise.
46200
46201 2014-02-25 Carlos O'Donell <carlos@redhat.com>
46202
46203 [BZ #16632]
46204 * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
46205 _DEFAULT_SOURCE is defined.
46206
46207 2014-02-25 Ulrich Drepper <drepper@gmail.com>
46208 Carlos O'Donell <carlos@redhat.com>
46209
46210 [BZ #16613]
46211 * elf/dl-tls.c (_dl_count_modids): New function.
46212 * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
46213 * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
46214 audit library and increment generation counter.
46215 (_dl_allocate_tls_init): Add assertion to check TLS generation count.
46216 * elf/tst-audit9.c: New file.
46217 * elf/tst-auditmod9a.c: New file.
46218 * elf/tst-auditmod9b.c: New file.
46219 * elf/Makefile: Add rules to build and run tst-audit9.
46220
46221 2014-02-25 Florian Weimer <fweimer@redhat.com>
46222
46223 [BZ #15347]
46224 * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
46225
46226 2014-02-25 Will Newton <will.newton@linaro.org>
46227
46228 * sysdeps/arm/__longjmp.S: Include stap-probe.h.
46229 (__longjmp): Restore sp and lr before restoring callee
46230 saved registers. Add longjmp and longjmp_target
46231 SystemTap probe point.
46232 * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
46233 * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
46234 Define to zero to match jmpbuf layout.
46235 * sysdeps/arm/setjmp.S: Include stap-probe.h.
46236 (__sigsetjmp): Save sp and lr before saving callee
46237 saved registers. Add setjmp SystemTap probe point.
46238
46239 2014-02-24 Stefan Liebler <stli@linux.vnet.ibm.com>
46240
46241 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
46242
46243 2014-02-24 Andreas Schwab <schwab@suse.de>
46244
46245 [BZ #15804]
46246 * elf/pldd.c (wait_for_ptrace_stop): New function.
46247 (main): Call it after attaching.
46248
46249 2014-02-22 Roland McGrath <roland@hack.frob.com>
46250
46251 * Makerules ($(common-objpfx)Versions.v.i): No longer depend
46252 on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
46253 Versions files is now verboten.
46254 * hurd/Versions (libc: GLIBC_2.0):
46255 Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
46256 (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
46257 [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
46258 * mach/Versions: Likewise.
46259
46260 * csu/Versions: Remove unused %include.
46261 * resolv/Versions: Likewise.
46262
46263 2014-02-21 Joseph Myers <joseph@codesourcery.com>
46264
46265 * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
46266 ($(objpfx)check-local-headers.out): Likewise.
46267 ($(objpfx)begin-end-check.out): Likewise.
46268 * Makerules (check-abi-%.out): Likewise.
46269 * catgets/Makefile ($(objpfx)test1.cat): Likewise.
46270 ($(objpfx)test2.cat): Likewise.
46271 ($(objpfx)de/libc.cat): Likewise.
46272 ($(objpfx)test-gencat.out): Likewise.
46273 * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
46274 * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
46275 ($(objpfx)noload-mem): Likewise.
46276 ($(objpfx)tst-pathopt.out): Likewise.
46277 ($(objpfx)tst-rtld-load-self.out): Likewise.
46278 ($(objpfx)tst-array1-cmp.out): Likewise.
46279 ($(objpfx)tst-array1-static-cmp.out): Likewise.
46280 ($(objpfx)tst-array2-cmp.out): Likewise.
46281 ($(objpfx)tst-array3-cmp.out): Likewise.
46282 ($(objpfx)tst-array4-cmp.out): Likewise.
46283 ($(objpfx)tst-array5-cmp.out): Likewise.
46284 ($(objpfx)tst-array5-static-cmp.out): Likewise.
46285 ($(objpfx)check-textrel.out): Likewise.
46286 ($(objpfx)check-execstack.out): Likewise.
46287 ($(objpfx)check-localplt.out): Likewise.
46288 ($(objpfx)order2-cmp.out): Likewise.
46289 ($(objpfx)tst-leaks1-mem): Likewise.
46290 ($(objpfx)tst-leaks1-static-mem): Likewise.
46291 ($(objpfx)tst-initorder-cmp.out): Likewise.
46292 ($(objpfx)tst-initorder2-cmp.out): Likewise.
46293 ($(objpfx)tst-unused-dep.out): Likewise.
46294 ($(objpfx)tst-unused-dep-cmp.out): Likewise.
46295 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
46296 * iconv/Makefile (test-iconvconfig): Likewise.
46297 * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
46298 ($(objpfx)iconv-test.out): Likewise.
46299 ($(objpfx)tst-tables.out): Likewise.
46300 * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
46301 ($(objpfx)tst-gettext.out): Likewise.
46302 ($(objpfx)tst-translit.out): Likewise.
46303 ($(objpfx)tst-gettext2.out): Likewise.
46304 ($(objpfx)tst-gettext4.out): Likewise.
46305 ($(objpfx)tst-gettext6.out): Likewise.
46306 * io/Makefile ($(objpfx)ftwtest.out): Likewise.
46307 * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
46308 ($(objpfx)tst-fopenloc-cmp.out): Likewise.
46309 ($(objpfx)tst-fopenloc-mem.out): Likewise.
46310 * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
46311 * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
46312 * posix/Makefile ($(objpfx)globtest.out): Likewise.
46313 ($(objpfx)wordexp-tst.out): Likewise.
46314 ($(objpfx)annexc.out): Likewise.
46315 ($(objpfx)tst-fnmatch-mem): Likewise.
46316 ($(objpfx)bug-regex2-mem): Likewise.
46317 ($(objpfx)bug-regex14-mem): Likewise.
46318 ($(objpfx)bug-regex21-mem): Likewise.
46319 ($(objpfx)bug-regex31-mem): Likewise.
46320 ($(objpfx)tst-vfork3-mem): Likewise.
46321 ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
46322 ($(objpfx)tst-pcre-mem): Likewise.
46323 ($(objpfx)tst-boost-mem): Likewise.
46324 ($(objpfx)tst-getconf.out): Likewise.
46325 ($(objpfx)bug-ga2-mem): Likewise.
46326 ($(objpfx)bug-glob2-mem): Likewise.
46327 * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
46328 ($(objpfx)mtrace-tst-leaks2): Likewise.
46329 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
46330 ($(objpfx)tst-printf.out): Likewise.
46331 ($(objpfx)tst-setvbuf1.out): Likewise.
46332 ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
46333 * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
46334 ($(objpfx)tst-fmtmsg.out): Likewise.
46335 * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
46336 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
46337
46338 * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
46339 * bits/sigaction.h [__USE_MISC]: Likewise.
46340 * bits/waitstatus.h: Update #endif comments.
46341 * ctype/ctype.h: Likewise.
46342 * dirent/dirent.h: Likewise.
46343 [__USE_MISC]: Remove redundant conditionals.
46344 * grp/grp.h: Update #endif comments.
46345 [__USE_GNU]: Remove redundant conditionals.
46346 [__USE_MISC]: Likewise.
46347 * inet/netinet/in.h [__USE_GNU]: Likewise.
46348 * io/sys/stat.h [__USE_MISC]: Likewise.
46349 * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
46350 * libio/bits/stdio.h: Update #endif comments.
46351 [__USE_MISC]: Remove redundant conditionals.
46352 * libio/bits/stdio2.h [__USE_MISC]: Likewise.
46353 * libio/stdio.h: Update #endif comments.
46354 [__USE_MISC]: Remove redundant conditionals.
46355 * math/bits/math-finite.h [__USE_MISC]: Likewise.
46356 * math/bits/mathcalls.h [__USE_MISC]: Likewise.
46357 * math/math.h: Update #else and #endif comments.
46358 [__USE_MISC]: Remove redundant conditionals.
46359 * misc/sys/uio.h: Update #endif comments.
46360 * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
46361 * posix/glob.h [__USE_MISC]: Likewise.
46362 * posix/sys/types.h: Update #endif comments.
46363 [__USE_MISC]: Remove redundant conditionals.
46364 * posix/sys/wait.h: Update #endif comments.
46365 [__USE_MISC]: Remove redundant conditionals.
46366 * posix/unistd.h: Update #endif comments.
46367 [__USE_MISC]: Remove redundant conditionals.
46368 * pwd/pwd.h [__USE_GNU]: Likewise.
46369 [__USE_MISC]: Likewise.
46370 * resolv/netdb.h [__USE_GNU]: Likewise.
46371 * signal/signal.h: Update #endif comments.
46372 [__USE_MISC]: Remove redundant conditionals.
46373 * stdlib/stdlib.h: Update #else and #endif comments.
46374 [__USE_MISC]: Remove redundant conditionals.
46375 [__USE_GNU]: Likewise.
46376 * string/bits/string2.h [__USE_MISC]: Likewise.
46377 * string/string.h: Update #endif comments.
46378 [__USE_MISC]: Remove redundant conditionals.
46379 * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
46380 Likewise.
46381 * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
46382 * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
46383 * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
46384 Likewise.
46385 * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
46386 Likewise.
46387 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
46388 comments.
46389 [__USE_MISC]: Remove redundant conditionals.
46390 * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
46391 * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
46392 * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
46393 * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
46394 * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
46395 Likewise.
46396 * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
46397 * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
46398 Likewise.
46399 * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
46400 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
46401 Likewise.
46402 * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
46403 Likewise.
46404 * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
46405 * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
46406 Likewise.
46407 * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
46408 Likewise.
46409 * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
46410 * sysdeps/x86/bits/string.h: Update #endif comments.
46411 * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
46412 conditionals.
46413 * time/sys/time.h: Update #endif comments.
46414 * time/time.h: Likewise.
46415 [__USE_MISC]: Remove redundant conditionals.
46416
46417 2014-02-21 Yury Gribov <y.gribov@samsung.com>
46418
46419 [BZ #16600]
46420 * sysdeps/arm/libm-test-ulps: Update for VFPv4.
46421
46422 2014-02-21 Andreas Schwab <schwab@linux-m68k.org>
46423
46424 * Versions.def (librt): Add GLIBC_2.17.
46425
46426 2014-02-21 Adam Conrad <adconrad@0c3.net>
46427
46428 * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
46429 synonym for _SYS_AUXV_H to allow direct inclusion.
46430 * sysdeps/sparc/bits/hwcap.h: Likewise.
46431 * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
46432 _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
46433 * sysdeps/sparc/sysdep.h: Likewise.
46434
46435 2014-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
46436
46437 * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
46438
46439 2014-02-21 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
46440
46441 * benchtests/bench-strrchr.c: Print length instead of position.
46442
46443 2014-02-20 Joseph Myers <joseph@codesourcery.com>
46444
46445 [BZ #16611]
46446 * sysdeps/unix/sysv/linux/kernel-features.h
46447 [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
46448 (__ASSUME_SENDMMSG_SOCKETCALL): Define.
46449 [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
46450 __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
46451 Likewise.
46452 [__i386__ || __powerpc__ || __sh__ || __sparc__]
46453 (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46454 [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
46455 (__ASSUME_SENDMMSG): Define instead of using previous
46456 [__LINUX_KERNEL_VERSION >= 0x020627] condition.
46457 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46458 (__ASSUME_SENDMMSG_SYSCALL): Define.
46459 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46460 [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
46461 Likewise.
46462 * sysdeps/unix/sysv/linux/arm/kernel-features.h
46463 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46464 Likewise.
46465 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46466 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46467 Likewise.
46468 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
46469 && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
46470 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46471 [__ASSUME_SENDMMSG]: Change conditionals to
46472 [__ASSUME_SENDMMSG_SOCKETCALL].
46473 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46474 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
46475 Define.
46476 * sysdeps/unix/sysv/linux/mips/kernel-features.h
46477 [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
46478 Likewise.
46479 * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
46480 !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
46481 !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
46482 [!__ASSUME_SENDMMSG]: Change conditional to
46483 [!__ASSUME_SENDMMSG_SOCKETCALL].
46484 * sysdeps/unix/sysv/linux/tile/kernel-features.h
46485 [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
46486 Define.
46487
46488 [BZ #16610]
46489 * sysdeps/unix/sysv/linux/kernel-features.h
46490 [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
46491 (__ASSUME_RECVMMSG_SOCKETCALL): Define.
46492 [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
46493 __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
46494 || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
46495 [__i386__ || __sparc__]
46496 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46497 [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
46498 (__ASSUME_RECVMMSG): Define instead of using previous
46499 [__LINUX_KERNEL_VERSION >= 0x020621] condition.
46500 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46501 (__ASSUME_RECVMMSG_SYSCALL): Define.
46502 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46503 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46504 Likewise.
46505 * sysdeps/unix/sysv/linux/arm/kernel-features.h
46506 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46507 Likewise.
46508 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46509 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46510 Likewise.
46511 * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
46512 && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46513 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46514 [__ASSUME_RECVMMSG]: Change condition to
46515 [__ASSUME_RECVMMSG_SOCKETCALL].
46516 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46517 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46518 Define.
46519 (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
46520 * sysdeps/unix/sysv/linux/mips/kernel-features.h
46521 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
46522 Likewise.
46523 * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
46524 !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
46525 !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
46526 [!__ASSUME_RECVMMSG]: Change condition to
46527 [!__ASSUME_RECVMMSG_SOCKETCALL].
46528 * sysdeps/unix/sysv/linux/tile/kernel-features.h
46529 (__ASSUME_RECVMMSG_SYSCALL): Define.
46530
46531 [BZ #16609]
46532 * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
46533 __powerpc__ || __s390__ || __sh__ || __sparc__]
46534 (__ASSUME_SOCKETCALL): Define.
46535 [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
46536 (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
46537 [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
46538 || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
46539 __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
46540 [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
46541 [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
46542 (__ASSUME_ACCEPT4): Define instead of using previous
46543 [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
46544 __powerpc__ || __sparc__ || __s390__)] condition.
46545 * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
46546 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46547 * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
46548 !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46549 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46550 [!__ASSUME_ACCEPT4]: Change condition to
46551 [!__ASSUME_ACCEPT4_SOCKETCALL].
46552 * sysdeps/unix/sysv/linux/alpha/kernel-features.h
46553 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL. Correct
46554 condition to [__LINUX_KERNEL_VERSION >= 0x030200].
46555 * sysdeps/unix/sysv/linux/arm/kernel-features.h
46556 [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
46557 __ASSUME_ACCEPT4_SYSCALL.
46558 * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
46559 Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
46560 * sysdeps/unix/sysv/linux/ia64/kernel-features.h
46561 [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
46562 __ASSUME_ACCEPT4_SYSCALL.
46563 * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
46564 && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
46565 !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
46566 [__ASSUME_ACCEPT4]: Change condition to
46567 [__ASSUME_ACCEPT4_SOCKETCALL].
46568 * sysdeps/unix/sysv/linux/m68k/kernel-features.h
46569 (__ASSUME_SOCKETCALL): Define.
46570 [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
46571 * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
46572 (__ASSUME_SOCKETCALL): Define.
46573 (__ASSUME_ACCEPT4): Remove.
46574 [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
46575 Define.
46576 * sysdeps/unix/sysv/linux/mips/kernel-features.h
46577 [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
46578 Likewise.
46579 * sysdeps/unix/sysv/linux/tile/kernel-features.h
46580 (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
46581
46582 * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
46583 macro.
46584 (HWCAP_ARM_LPAE): Likewise.
46585 (HWCAP_ARM_EVTSTRM): Likewise.
46586 * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
46587 Add vpfd32, lpae and evtstrm.
46588 * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
46589 Increase to 22.
46590
46591 2014-02-19 Joseph Myers <joseph@codesourcery.com>
46592
46593 * math/auto-libm-test-in: Add tests of clog10.
46594 * math/auto-libm-test-out: Regenerated.
46595 * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
46596 * sysdeps/i386/fpu/libm-test-ulps: Update.
46597 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46598
46599 2014-02-18 Andreas Schwab <schwab@suse.de>
46600
46601 [BZ #16574]
46602 * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
46603 Store non-zero if the second buffer was newly allocated.
46604 (send_dg): Likewise.
46605 (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
46606 to send_vc and send_dg.
46607 (res_nsend): Pass NULL for ansp2_malloced.
46608 * resolv/res_query.c (__libc_res_nquery): Add parameter
46609 answerp2_malloced and pass it down to __libc_res_nsend.
46610 (res_nquery): Pass additional NULL to __libc_res_nquery.
46611 (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
46612 down to __libc_res_nquery and __libc_res_nquerydomain. Deallocate
46613 second answer buffer if answerp2_malloced was set.
46614 (res_nsearch): Pass additional NULL to __libc_res_nsearch.
46615 (__libc_res_nquerydomain): Add parameter
46616 answerp2_malloced and pass it down to __libc_res_nquery.
46617 (res_nquerydomain): Pass additional NULL to
46618 __libc_res_nquerydomain.
46619 * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
46620 additional NULL to __libc_res_nsend and __libc_res_nquery.
46621 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
46622 additional NULL to __libc_res_nsearch.
46623 (_nss_dns_gethostbyname4_r): Revert last change. Use new
46624 parameter of __libc_res_nsearch to check for separately allocated
46625 second buffer.
46626 (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
46627 __libc_res_nquery.
46628 * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
46629 additional NULL to __libc_res_nquery.
46630 * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
46631 __libc_res_nsearch.
46632 (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
46633 * include/resolv.h: Update prototypes of __libc_res_nquery,
46634 __libc_res_nsearch, __libc_res_nsend.
46635
46636 2014-02-18 Joseph Myers <joseph@codesourcery.com>
46637
46638 * math/auto-libm-test-in: Add tests of fma.
46639 * math/auto-libm-test-out: Regenerated.
46640 * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
46641 (fma_towardzero_test_data): Likewise.
46642 (fma_downward_test_data): Likewise.
46643 (fma_upward_test_data): Likewise.
46644 * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
46645 mpc_mode.
46646 (rounding_modes): Add values for new field.
46647 (func_calc_method): Add value mpfr_fff_f.
46648 (func_calc_desc): Add mpfr_fff_f union field.
46649 (test_function): Add field exact_args.
46650 (FUNC): Add macro argument EXACT_ARGS.
46651 (FUNC_mpfr_f_f): Update call to FUNC.
46652 (FUNC_mpfr_f_f): Likewise.
46653 (FUNC_mpfr_ff_f): Likewise.
46654 (FUNC_mpfr_if_f): Likewise.
46655 (FUNC_mpc_c_f): Likewise.
46656 (FUNC_mpc_c_c): Likewise.
46657 (test_functions): Add fma. Update calls to FUNC.
46658 (handle_input_arg): Add argument exact_args.
46659 (add_test): Update call to handle_input_arg.
46660 (calc_generic_results): Add argument mode. Handle mpfr_fff_f.
46661 (output_for_one_input_case): Update call to calc_generic_results.
46662 Recalculate exact zero results in each rounding mode.
46663
46664 * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
46665 non-negative before setting low bit.
46666 * math/auto-libm-test-in: Mark one asin test possibly having
46667 spurious underflow.
46668 * math/auto-libm-test-out: Regenerated.
46669 * sysdeps/i386/fpu/libm-test-ulps: Update.
46670 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46671
46672 2014-02-17 David Holsgrove <david.holsgrove@xilinx.com>
46673
46674 * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
46675 * sysdeps/unix/sysv/linux/microblaze: Move directory from
46676 ports/sysdeps/unix/sysv/linux/microblaze.
46677 * README: Add missing listing for microblaze*-*-linux-gnu.
46678
46679 2014-02-16 Ondřej Bílka <neleai@seznam.cz>
46680
46681 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
46682 duplicate code
46683
46684 2014-02-16 Mike Frysinger <vapier@gentoo.org>
46685
46686 * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
46687 * sysdeps/unix/sysv/linux/ia64: Move directory from
46688 ports/sysdeps/unix/sysv/linux/ia64.
46689 * README: Update listing for ia64-*-linux-gnu.
46690
46691 2014-02-14 Tomas Dohnalek <tdohnale@redhat.com>
46692 Joseph Myers <joseph@codesourcery.com>
46693
46694 * Makeconfig (test-name): New variable.
46695 (evaluate-test): Likewise.
46696 * Makerules (do-test-clean): Remove .test-result files.
46697 (common-mostlyclean): Likewise.
46698 * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
46699 * scripts/evaluate-test.sh: New file.
46700
46701 2014-02-14 Joseph Myers <joseph@codesourcery.com>
46702
46703 * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
46704 separate $(objpfx)tst-fopenloc-cmp.out and
46705 $(objpfx)tst-fopenloc-mem.out targets.
46706 (tests): Update dependencies.
46707 * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
46708 (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
46709 tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
46710 (tst-rxspencer-no-utf8-ARGS): New variable.
46711 (tst-rxspencer-no-utf8-ENV): Likewise.
46712 (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
46713 instead of $(objpfx)tst-rxspencer-mem.
46714 ($(objpfx)tst-rxspencer-mem): Change target to
46715 $(objpfx)tst-rxspencer-no-utf8-mem. Depend on
46716 $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
46717 * posix/tst-rxspencer-no-utf8.c: New file.
46718
46719 * elf/Makefile ($(objpfx)order.out): Remove rule.
46720 [$(run-built-tests) = yes] (tests): Depend on
46721 $(objpfx)order-cmp.out.
46722 ($(objpfx)order-cmp.out): New rule.
46723 [$(run-built-tests) = yes] (tests): Depend on
46724 $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
46725 $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
46726 $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
46727 $(objpfx)tst-array5-static-cmp.out.
46728 ($(objpfx)tst-array1.out): Remove rule.
46729 ($(objpfx)tst-array1-cmp.out): New rule.
46730 ($(objpfx)tst-array1-static.out): Remove rule.
46731 ($(objpfx)tst-array1-static-cmp.out): New rule.
46732 ($(objpfx)tst-array2.out): Remove rule.
46733 ($(objpfx)tst-array2-cmp.out): New rule.
46734 ($(objpfx)tst-array3.out): Remove rule.
46735 ($(objpfx)tst-array3-cmp.out): New rule.
46736 ($(objpfx)tst-array4.out): Remove rule.
46737 ($(objpfx)tst-array4-cmp.out): New rule.
46738 ($(objpfx)tst-array5.out): Remove rule.
46739 ($(objpfx)tst-array5-cmp.out): New rule.
46740 ($(objpfx)tst-array5-static.out): Remove rule.
46741 ($(objpfx)tst-array5-static-cmp.out): New rule.
46742 [$(run-built-tests) = yes] (tests): Depend on
46743 $(objpfx)order2-cmp.out.
46744 ($(objpfx)order2.out): Remove rule.
46745 ($(objpfx)order2-cmp.out): New rule.
46746 ($(objpfx)tst-initorder.out): Remove rule.
46747 [$(run-built-tests) = yes] (tests): Depend on
46748 $(objpfx)tst-initorder-cmp.out.
46749 ($(objpfx)tst-initorder-cmp.out): New rule.
46750 ($(objpfx)tst-initorder2.out): Remove rule.
46751 [$(run-built-tests) = yes] (tests): Depend on
46752 $(objpfx)tst-initorder2-cmp.out.
46753 ($(objpfx)tst-initorder2-cmp.out): New rule.
46754 [$(run-built-tests) = yes] (tests): Depend on
46755 $(objpfx)tst-unused-dep-cmp.out.
46756 ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
46757 ($(objpfx)tst-unused-dep-cmp.out): New rule.
46758 * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
46759 on $(objpfx)tst-setvbuf1-cmp.out.
46760 ($(objpfx)tst-setvbuf1.out): Do not run cmp.
46761 ($(objpfx)tst-setvbuf1-cmp.out): New rule.
46762 * string/Makefile [$(run-built-tests) = yes] (tests): Depend
46763 $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
46764 ($(objpfx)tst-svc.out): Remove rule.
46765 ($(objpfx)tst-svc-cmp.out): New rule.
46766
46767 2014-02-13 Joseph Myers <joseph@codesourcery.com>
46768
46769 * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
46770 * ctype/ctype.h [__USE_MISC]: Likewise.
46771 * dirent/dirent.h [__USE_MISC]: Likewise.
46772 * grp/grp.h [__USE_MISC]: Likewise.
46773 * io/fcntl.h [__USE_MISC]: Likewise.
46774 * io/sys/stat.h [__USE_MISC]: Likewise.
46775 * libio/stdio.h [__USE_MISC]: Likewise.
46776 * posix/unistd.h [__USE_MISC]: Likewise.
46777 * pwd/pwd.h [__USE_MISC]: Likewise.
46778 * stdlib.h [__USE_MISC]: Likewise.
46779 * string/bits/string2.h [__USE_MISC]: Likewise.
46780 * string/string.h [__USE_MISC]: Likewise.
46781 * time/time.h [__USE_MISC]: Likewise.
46782
46783 2014-02-13 Andreas Schwab <schwab@suse.de>
46784
46785 [BZ #16574]
46786 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
46787 second answer buffer if it was separately allocated.
46788
46789 2014-02-12 Joseph Myers <joseph@codesourcery.com>
46790
46791 * sysdeps/mips/math-tests.h: Include <features.h>.
46792 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46793 (ROUNDING_TESTS_long_double): Do not define.
46794 [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
46795 (EXCEPTION_TESTS_long_double): Likewise.
46796 * sysdeps/mips/mips64/libm-test-ulps: Update.
46797
46798 * include/features.h (__USE_BSD): Remove macro definitions.
46799 (__USE_SVID): Likewise.
46800 (_BSD_SOURCE): Likewise.
46801 (_SVID_SOURCE): Likewise.
46802 [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
46803 from definition of _DEFAULT_SOURCE.
46804 [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
46805 [_DEFAULT_SOURCE].
46806 * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
46807 * bits/mman.h [__USE_BSD]: Likewise.
46808 * bits/termios.h [__USE_BSD]: Likewise.
46809 * bits/waitstatus.h [__USE_BSD]: Likewise.
46810 * ctype/ctype.h [__USE_SVID]: Likewise.
46811 * dirent/dirent.h [__USE_BSD]: Likewise.
46812 * grp/grp.h [__USE_SVID]: Likewise.
46813 [__USE_BSD]: Likewise.
46814 * inet/netinet/igmp.h [__USE_BSD]: Likewise.
46815 * io/fcntl.h [__USE_BSD]: Likewise.
46816 * io/ftw.h [__USE_BSD]: Likewise.
46817 * io/sys/stat.h [__USE_BSD]: Likewise.
46818 * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
46819 * libio/bits/stdio2.h [__USE_BSD]: Likewise.
46820 * libio/stdio.h [__USE_SVID]: Likewise.
46821 [__USE_BSD]: Likewise.
46822 * math/math.h [__USE_SVID]: Likewise.
46823 [__USE_BSD]: Likewise.
46824 * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
46825 * misc/bits/syslog.h [__USE_BSD]: Likewise.
46826 * misc/search.h [__USE_SVID]: Likewise.
46827 * misc/sys/mman.h [__USE_BSD]: Likewise.
46828 * misc/sys/syslog.h [__USE_BSD]: Likewise.
46829 * misc/sys/uio.h [__USE_BSD]: Likewise.
46830 * posix/bits/unistd.h [__USE_BSD]: Likewise.
46831 * posix/glob.h [__USE_BSD]: Likewise.
46832 * posix/regex.h [__USE_BSD]: Likewise.
46833 * posix/sys/types.h [__USE_BSD]: Likewise.
46834 [__USE_SVID]: Likewise.
46835 * posix/sys/utsname.h [__USE_SVID]: Likewise.
46836 * posix/sys/wait.h [__USE_BSD]: Likewise.
46837 [__USE_SVID]: Likewise.
46838 * posix/unistd.h [__USE_BSD]: Likewise.
46839 [__USE_SVID]: Likewise.
46840 * pwd/pwd.h [__USE_SVID]: Likewise.
46841 * resolv/netdb.h [__USE_BSD]: Likewise.
46842 * setjmp/setjmp.h [__USE_BSD]: Likewise.
46843 * signal/signal.h [__USE_BSD]: Likewise.
46844 [__USE_SVID]: Likewise.
46845 * socket/sys/socket.h [__USE_BSD]: Likewise.
46846 * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
46847 * stdlib/stdlib.h [__USE_BSD]: Likewise.
46848 [__USE_SVID]: Likewise.
46849 * string/bits/string2.h [__USE_BSD]: Likewise.
46850 [__USE_SVID]: Likewise.
46851 * string/bits/string3.h [__USE_BSD]: Likewise.
46852 * string/endian.h [__USE_BSD]: Likewise.
46853 * string/string.h [__USE_SVID]: Likewise.
46854 [__USE_BSD]: Likewise.
46855 * string/strings.h [__USE_BSD]: Likewise.
46856 * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
46857 * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
46858 * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
46859 * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
46860 * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
46861 * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
46862 Likewise.
46863 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
46864 Likewise.
46865 * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
46866 * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
46867 Likewise.
46868 * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
46869 * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
46870 Likewise.
46871 * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
46872 Likewise.
46873 * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
46874 * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
46875 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
46876 Likewise.
46877 * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
46878 Likewise.
46879 * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
46880 * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
46881 * termios/termios.h [__USE_BSD]: Likewise.
46882 * time/sys/time.h [__USE_BSD]: Likewise.
46883 * time/time.h [__USE_BSD]: Likewise.
46884 [__USE_SVID]: Likewise.
46885
46886 * Makefile (subdir_targets): Remove subdir_lint.out.
46887
46888 * stdio-common/Makefile (do-tst-unbputc): Remove target.
46889 (do-tst-printf): Likewise.
46890 (tests): Depend directly on $(objpfx)tst-unbputc.out and
46891 $(objpfx)tst-printf.out.
46892
46893 * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
46894
46895 * Makerules (check-abi-%): Change target to
46896 $(objpfx)check-abi-%.out.
46897 (check-abi target): Update dependencies.
46898 (check-abi-pattern variable): Redirect output of diff to $@.
46899 (check-abi variable): Likewise.
46900 * elf/Makefile (check-abi): Update dependencies.
46901
46902 * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
46903 unused.
46904 (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
46905 value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
46906 subnormal range.
46907 (_FP_PACK_CANONICAL): Determine tininess based on rounding to
46908 normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
46909 value has largest subnormal exponent.
46910 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
46911 (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
46912 * sysdeps/aarch64/soft-fp/sfp-machine.h
46913 (_FP_TININESS_AFTER_ROUNDING): New macro.
46914 * sysdeps/alpha/soft-fp/sfp-machine.h
46915 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46916 * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46917 Likewise.
46918 * sysdeps/mips/mips64/soft-fp/sfp-machine.h
46919 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46920 * sysdeps/mips/soft-fp/sfp-machine.h
46921 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46922 * sysdeps/powerpc/soft-fp/sfp-machine.h
46923 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46924 * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46925 Likewise.
46926 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
46927 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46928 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
46929 (_FP_TININESS_AFTER_ROUNDING): Likewise.
46930 * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
46931 Likewise.
46932
46933 2014-02-12 Dylan Alex Simon <dylan@dylex.net>
46934
46935 [BZ #16545]
46936 * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
46937 model 1.
46938
46939 2014-02-12 Richard Henderson <rth@redhat.com>
46940
46941 * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
46942 * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
46943 * sysdeps/unix/sysv/linux/alpha: Move directory from
46944 ports/sysdeps/unix/sysv/linux/alpha.
46945 * README: Update listing for alpha-*-linux-gnu.
46946
46947 2014-02-11 Joseph Myers <joseph@codesourcery.com>
46948
46949 * include/features.h: Update comment documenting feature test
46950 macros.
46951 [_BSD_SOURCE || _SVID_SOURCE]: Give #warning. Define
46952 _DEFAULT_SOURCE.
46953 * manual/creature.texi (_BSD_SOURCE): Remove documentation.
46954 (_SVID_SOURCE): Likewise.
46955 (_DEFAULT_SOURCE): Update description of default features.
46956 (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
46957 with _GNU_SOURCE.
46958 * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
46959 (S_ISVTX): Likewise.
46960 * manual/math.texi (Mathematical Constants): Likewise.
46961 * manual/signal.texi (Interrupted Primitives): Likewise.
46962 * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
46963 * math/test-matherr.c (_SVID_SOURCE): Do not define.
46964 * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
46965 Don't refer to _SVID_SOURCE in warning text.
46966
46967 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46968
46969 * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
46970 already defined.
46971 (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
46972 * sysdeps/mips/dl-lookup.c: Remove.
46973 * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
46974
46975 2014-02-11 Stefan Liebler <stli@linux.vnet.ibm.com>
46976
46977 [BZ #16447]
46978 * math/auto-libm-test-in: Add testcase for expl.
46979 * math/auto-libm-test-out: Regenerate.
46980 * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
46981 calculation of unsafe.
46982 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
46983
46984 2014-02-11 Marcus Shawcroft <marcus.shawcroft@arm.com>
46985
46986 * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
46987 * sysdeps/unix/sysv/linux/aarch64: Move directory from
46988 ports/sysdeps/unix/sysv/linux/aarch64.
46989 * README: Update listing for aarch64*-*-linux-gnu.
46990
46991 2014-02-11 Will Newton <will.newton@linaro.org>
46992
46993 * manual/probes.texi (Mathematical Function Probes): Use
46994 "triggered" instead of "hit".
46995
46996 * manual/probes.texi (Internal Probes): Add documentation
46997 of setjmp, longjmp and longjmp_target probes.
46998
46999 * include/stap-probe.h: Add comment about probe argument
47000 format.
47001
47002 * malloc/mtrace.c (attribute_hidden): Remove unused macro
47003 definition. (tr_where, tr_freehook, tr_mallochook,
47004 tr_reallochook, tr_memalignhook): Use ANSI protoype.
47005
47006 2014-02-11 David S. Miller <davem@davemloft.net>
47007
47008 * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
47009 processing int_tests.
47010
47011 2014-02-10 Joseph Myers <joseph@codesourcery.com>
47012
47013 * sysdeps/mips: Move directory from ports/sysdeps/mips.
47014 * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
47015 * sysdeps/unix/sysv/linux/mips: Move directory from
47016 ports/sysdeps/unix/sysv/linux/mips.
47017 * README: Update listing for mips-*-linux-gnu and
47018 mips64-*-linux-gnu.
47019
47020 2014-02-10 Andreas Schwab <schwab@linux-m68k.org>
47021
47022 * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
47023 * sysdeps/unix/sysv/linux/m68k: Move directory from
47024 ports/sysdeps/unix/sysv/linux/m68k.
47025 * README: Update listing for m68k-*-linux-gnu.
47026
47027 2014-02-10 Chris Metcalf <cmetcalf@tilera.com>
47028
47029 * sysdeps/tile: Move directory from ports/sysdeps/tile.
47030 * sysdeps/unix/sysv/linux/generic: Move directory from
47031 ports/sysdeps/unix/sysv/linux/generic.
47032 * sysdeps/unix/sysv/linux/tile: Move directory from
47033 ports/sysdeps/unix/sysv/linux/tile.
47034 * README: Update listing for tile*-*-linux-gnu.
47035
47036 2014-02-10 Ondřej Bílka <neleai@seznam.cz>
47037
47038 * assert/assert.c (__assert_fail_base): Use glibc_likely instead
47039 __builtin_expect.
47040 * benchtests/bench-memmem.c (simple_memmem): Likewise.
47041 * catgets/open_catalog.c (__open_catalog): Likewise.
47042 * csu/libc-start.c (LIBC_START_MAIN): Likewise.
47043 * debug/confstr_chk.c: Likewise.
47044 * debug/fread_chk.c (__fread_chk): Likewise.
47045 * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
47046 * debug/getgroups_chk.c: Likewise.
47047 * debug/mbsnrtowcs_chk.c: Likewise.
47048 * debug/mbsrtowcs_chk.c: Likewise.
47049 * debug/mbstowcs_chk.c: Likewise.
47050 * debug/memcpy_chk.c: Likewise.
47051 * debug/memmove_chk.c: Likewise.
47052 * debug/mempcpy_chk.c: Likewise.
47053 * debug/memset_chk.c: Likewise.
47054 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
47055 * debug/strcat_chk.c (__strcat_chk): Likewise.
47056 * debug/strcpy_chk.c (__strcpy_chk): Likewise.
47057 * debug/strncat_chk.c (__strncat_chk): Likewise.
47058 * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
47059 * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
47060 * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
47061 * debug/wcpncpy_chk.c: Likewise.
47062 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
47063 * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
47064 * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
47065 * debug/wcsncpy_chk.c: Likewise.
47066 * debug/wcsnrtombs_chk.c: Likewise.
47067 * debug/wcsrtombs_chk.c: Likewise.
47068 * debug/wcstombs_chk.c: Likewise.
47069 * debug/wmemcpy_chk.c: Likewise.
47070 * debug/wmemmove_chk.c: Likewise.
47071 * debug/wmempcpy_chk.c: Likewise.
47072 * debug/wmemset_chk.c: Likewise.
47073 * dirent/scandirat.c (SCANDIRAT): Likewise.
47074 * dlfcn/dladdr1.c (dladdr1): Likewise.
47075 * dlfcn/dladdr.c (dladdr): Likewise.
47076 * dlfcn/dlclose.c (dlclose_doit): Likewise.
47077 * dlfcn/dlerror.c (__dlerror): Likewise.
47078 * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
47079 * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
47080 * dlfcn/dlopen.c (dlopen_doit): Likewise.
47081 * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
47082 * dlfcn/dlsym.c (dlsym_doit): Likewise.
47083 * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
47084 * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
47085 * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
47086 Likewise.
47087 * elf/dl-conflict.c: Likewise.
47088 * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
47089 * elf/dl-dst.h: Likewise.
47090 * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
47091 * elf/dl-fptr.c (_dl_make_fptr): Likewise.
47092 * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
47093 * elf/dl-init.c (call_init, _dl_init): Likewise.
47094 * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
47095 * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
47096 (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
47097 Likewise.
47098 * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
47099 Likewise.
47100 * elf/dl-minimal.c (__libc_memalign): Likewise.
47101 * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
47102 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
47103 * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
47104 * elf/dl-sym.c (do_sym): Likewise.
47105 * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
47106 (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
47107 * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
47108 * elf/dl-writev.h (_dl_writev): Likewise.
47109 * elf/ldconfig.c (search_dir): Likewise.
47110 * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
47111 (dl_main): Likewise.
47112 * elf/setup-vdso.h (setup_vdso): Likewise.
47113 * grp/compat-initgroups.c (compat_call): Likewise.
47114 * grp/fgetgrent.c (fgetgrent): Likewise.
47115 * grp/initgroups.c (getgrouplist, initgroups): Likewise.
47116 * grp/putgrent.c (putgrent): Likewise.
47117 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
47118 Likewise.
47119 * hurd/hurdinit.c: Likewise.
47120 * iconvdata/8bit-gap.c (struct): Likewise.
47121 * iconvdata/ansi_x3.110.c : Likewise.
47122 * iconvdata/big5.c : Likewise.
47123 * iconvdata/big5hkscs.c : Likewise.
47124 * iconvdata/cp1255.c: Likewise.
47125 * iconvdata/cp1258.c : Likewise.
47126 * iconvdata/cp932.c : Likewise.
47127 * iconvdata/euc-cn.c: Likewise.
47128 * iconvdata/euc-jisx0213.c : Likewise.
47129 * iconvdata/euc-jp.c: Likewise.
47130 * iconvdata/euc-jp-ms.c : Likewise.
47131 * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
47132 * iconvdata/gb18030.c : Likewise.
47133 * iconvdata/gbbig5.c (const): Likewise.
47134 * iconvdata/gbgbk.c: Likewise.
47135 * iconvdata/gbk.c : Likewise.
47136 * iconvdata/ibm1364.c : Likewise.
47137 * iconvdata/ibm930.c : Likewise.
47138 * iconvdata/ibm932.c: Likewise.
47139 * iconvdata/ibm933.c : Likewise.
47140 * iconvdata/ibm935.c : Likewise.
47141 * iconvdata/ibm937.c : Likewise.
47142 * iconvdata/ibm939.c : Likewise.
47143 * iconvdata/ibm943.c: Likewise.
47144 * iconvdata/iso_11548-1.c: Likewise.
47145 * iconvdata/iso-2022-cn.c : Likewise.
47146 * iconvdata/iso-2022-cn-ext.c : Likewise.
47147 * iconvdata/iso-2022-jp-3.c: Likewise.
47148 * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
47149 * iconvdata/iso-2022-kr.c : Likewise.
47150 * iconvdata/iso646.c (gconv_end): Likewise.
47151 * iconvdata/iso_6937-2.c : Likewise.
47152 * iconvdata/iso_6937.c : Likewise.
47153 * iconvdata/iso8859-1.c: Likewise.
47154 * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
47155 * iconvdata/shift_jisx0213.c : Likewise.
47156 * iconvdata/sjis.c : Likewise.
47157 * iconvdata/t.61.c : Likewise.
47158 * iconvdata/tcvn5712-1.c : Likewise.
47159 * iconvdata/tscii.c: Likewise.
47160 * iconvdata/uhc.c : Likewise.
47161 * iconvdata/unicode.c (gconv_end): Likewise.
47162 * iconvdata/utf-16.c (gconv_end): Likewise.
47163 * iconvdata/utf-32.c (gconv_end): Likewise.
47164 * iconvdata/utf-7.c (base64): Likewise.
47165 * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
47166 * iconv/gconv_close.c (__gconv_close): Likewise.
47167 * iconv/gconv_open.c (__gconv_open): Likewise.
47168 * iconv/gconv_simple.c (internal_ucs4_loop_single)
47169 (ucs4_internal_loop, ucs4_internal_loop_unaligned)
47170 (ucs4_internal_loop_single, internal_ucs4le_loop_single)
47171 (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
47172 (ucs4le_internal_loop_single): Likewise.
47173 * iconv/iconv.c (iconv): Likewise.
47174 * iconv/iconv_close.c: Likewise.
47175 * iconv/loop.c (SINGLE): Likewise.
47176 * iconv/skeleton.c (FUNCTION_NAME): Likewise.
47177 * include/atomic.h: Likewise.
47178 * inet/inet6_option.c (option_alloc): Likewise.
47179 * intl/bindtextdom.c (set_binding_values): Likewise.
47180 * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
47181 * intl/loadmsgcat.c (_nl_load_domain): Likewise.
47182 * intl/localealias.c (read_alias_file): Likewise.
47183 * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
47184 * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
47185 (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
47186 * libio/fmemopen.c (fmemopen): Likewise.
47187 * libio/iofgets.c (_IO_fgets): Likewise.
47188 * libio/iofgets_u.c (fgets_unlocked): Likewise.
47189 * libio/iofgetws.c (fgetws): Likewise.
47190 * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
47191 * libio/iogetdelim.c (_IO_getdelim): Likewise.
47192 * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
47193 (adjust_wide_data, _IO_wfile_seekoff): Likewise.
47194 * locale/findlocale.c (_nl_find_locale): Likewise.
47195 * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
47196 * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
47197 Likewise.
47198 * locale/setlocale.c (setlocale): Likewise.
47199 * login/programs/pt_chown.c (main): Likewise.
47200 * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
47201 * malloc/malloc.c (_int_malloc, _int_free): Likewise.
47202 * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
47203 (mmap, mmap64, mremap, munmap): Likewise.
47204 * math/e_exp2l.c: Likewise.
47205 * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
47206 * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
47207 * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
47208 * math/s_catan.c (__catan): Likewise.
47209 * math/s_catanf.c (__catanf): Likewise.
47210 * math/s_catanh.c (__catanh): Likewise.
47211 * math/s_catanhf.c (__catanhf): Likewise.
47212 * math/s_catanhl.c (__catanhl): Likewise.
47213 * math/s_catanl.c (__catanl): Likewise.
47214 * math/s_ccosh.c (__ccosh): Likewise.
47215 * math/s_ccoshf.c (__ccoshf): Likewise.
47216 * math/s_ccoshl.c (__ccoshl): Likewise.
47217 * math/s_cexp.c (__cexp): Likewise.
47218 * math/s_cexpf.c (__cexpf): Likewise.
47219 * math/s_cexpl.c (__cexpl): Likewise.
47220 * math/s_clog10.c (__clog10): Likewise.
47221 * math/s_clog10f.c (__clog10f): Likewise.
47222 * math/s_clog10l.c (__clog10l): Likewise.
47223 * math/s_clog.c (__clog): Likewise.
47224 * math/s_clogf.c (__clogf): Likewise.
47225 * math/s_clogl.c (__clogl): Likewise.
47226 * math/s_csin.c (__csin): Likewise.
47227 * math/s_csinf.c (__csinf): Likewise.
47228 * math/s_csinh.c (__csinh): Likewise.
47229 * math/s_csinhf.c (__csinhf): Likewise.
47230 * math/s_csinhl.c (__csinhl): Likewise.
47231 * math/s_csinl.c (__csinl): Likewise.
47232 * math/s_csqrt.c (__csqrt): Likewise.
47233 * math/s_csqrtf.c (__csqrtf): Likewise.
47234 * math/s_csqrtl.c (__csqrtl): Likewise.
47235 * math/s_ctan.c (__ctan): Likewise.
47236 * math/s_ctanf.c (__ctanf): Likewise.
47237 * math/s_ctanh.c (__ctanh): Likewise.
47238 * math/s_ctanhf.c (__ctanhf): Likewise.
47239 * math/s_ctanhl.c (__ctanhl): Likewise.
47240 * math/s_ctanl.c (__ctanl): Likewise.
47241 * math/w_pow.c: Likewise.
47242 * math/w_powf.c: Likewise.
47243 * math/w_powl.c: Likewise.
47244 * math/w_scalb.c (sysv_scalb): Likewise.
47245 * math/w_scalbf.c (sysv_scalbf): Likewise.
47246 * math/w_scalbl.c (sysv_scalbl): Likewise.
47247 * misc/error.c (error_tail): Likewise.
47248 * misc/pselect.c (__pselect): Likewise.
47249 * nis/nis_callback.c (__nis_create_callback): Likewise.
47250 * nis/nis_call.c (__nisfind_server): Likewise.
47251 * nis/nis_creategroup.c (nis_creategroup): Likewise.
47252 * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
47253 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
47254 * nis/nis_getservlist.c (nis_getservlist): Likewise.
47255 * nis/nis_lookup.c (nis_lookup): Likewise.
47256 * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
47257 * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
47258 (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
47259 * nis/nis_xdr.c (xdr_endpoint): Likewise.
47260 * nis/nss_compat/compat-grp.c (getgrent_next_file)
47261 (internal_getgrnam_r, internal_getgrgid_r): Likewise.
47262 * nis/nss_compat/compat-initgroups.c (add_group)
47263 (internal_getgrent_r): Likewise.
47264 * nis/nss_compat/compat-pwd.c (getpwent_next_file)
47265 (internal_getpwnam_r, internal_getpwuid_r): Likewise.
47266 * nis/nss_compat/compat-spwd.c (getspent_next_file)
47267 (internal_getspnam_r): Likewise.
47268 * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
47269 (_nss_nis_getaliasbyname_r): Likewise.
47270 * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
47271 (_nss_nis_getntohost_r): Likewise.
47272 * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
47273 (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
47274 (_nss_nis_getgrgid_r): Likewise.
47275 * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
47276 (internal_nis_gethostent_r, internal_gethostbyname2_r)
47277 (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
47278 (_nss_nis_gethostbyname4_r): Likewise.
47279 * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
47280 (initgroups_netid): Likewise.
47281 * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
47282 * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
47283 (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
47284 * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
47285 (_nss_nis_getprotobynumber_r): Likewise.
47286 * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
47287 (_nss_nis_getsecretkey): Likewise.
47288 * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
47289 (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
47290 (_nss_nis_getpwuid_r): Likewise.
47291 * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
47292 (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
47293 * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
47294 (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
47295 * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
47296 (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
47297 * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
47298 Likewise.
47299 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
47300 (_nss_nisplus_getntohost_r): Likewise.
47301 * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
47302 (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
47303 * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
47304 (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
47305 Likewise.
47306 * nis/nss_nisplus/nisplus-initgroups.c
47307 (_nss_nisplus_initgroups_dyn): Likewise.
47308 * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
47309 (_nss_nisplus_getnetbyaddr_r): Likewise.
47310 * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
47311 (_nss_nisplus_getprotobynumber_r): Likewise.
47312 * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
47313 (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
47314 * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
47315 Likewise.
47316 * nis/nss_nisplus/nisplus-service.c
47317 (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
47318 (_nss_nisplus_getservbyport_r): Likewise.
47319 * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
47320 (_nss_nisplus_getspnam_r): Likewise.
47321 * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
47322 Likewise.
47323 * nscd/aicache.c (addhstaiX): Likewise.
47324 * nscd/cache.c (cache_search, prune_cache): Likewise.
47325 * nscd/connections.c (register_traced_file, send_ro_fd)
47326 (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
47327 (main_loop_epoll): Likewise.
47328 * nscd/grpcache.c (addgrbyX): Likewise.
47329 * nscd/hstcache.c (addhstbyX): Likewise.
47330 * nscd/initgrcache.c (addinitgroupsX): Likewise.
47331 * nscd/mem.c (gc, mempool_alloc): Likewise.
47332 * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
47333 (addinnetgrX): Likewise.
47334 * nscd/nscd-client.h (__nscd_acquire_maplock)
47335 (__nscd_drop_map_ref): Likewise.
47336 * nscd/nscd_getai.c (__nscd_getai): Likewise.
47337 * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
47338 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
47339 Likewise.
47340 * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
47341 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
47342 * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
47343 (__nscd_get_map_ref): Likewise.
47344 * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
47345 * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
47346 Likewise.
47347 * nscd/pwdcache.c (addpwbyX): Likewise.
47348 * nscd/selinux.c (preserve_capabilities): Likewise.
47349 * nscd/servicescache.c (addservbyX): Likewise.
47350 * nss/nss_files/files-XXX.c (internal_getent): Likewise.
47351 * posix/fnmatch.c (fnmatch): Likewise.
47352 * posix/getopt.c (_getopt_internal_r): Likewise.
47353 * posix/glob.c (glob, glob_in_dir): Likewise.
47354 * posix/wordexp.c (exec_comm_child): Likewise.
47355 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
47356 (getanswer_r, gaih_getanswer_slice): Likewise.
47357 * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
47358 * resolv/res_init.c: Likewise.
47359 * resolv/res_mkquery.c (res_nmkquery): Likewise.
47360 * resolv/res_query.c (__libc_res_nquery): Likewise.
47361 * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
47362 Likewise.
47363 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
47364 * stdio-common/perror.c (perror): Likewise.
47365 * stdio-common/printf_fp.c (___printf_fp): Likewise.
47366 * stdio-common/tmpnam.c (tmpnam): Likewise.
47367 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
47368 * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
47369 * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
47370 Likewise.
47371 * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
47372 * stdlib/putenv.c (putenv): Likewise.
47373 * stdlib/setenv.c (__add_to_environ): Likewise.
47374 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
47375 * stdlib/strtol_l.c (INTERNAL): Likewise.
47376 * string/memmem.c (memmem): Likewise.
47377 * string/strerror.c (strerror): Likewise.
47378 * string/strnlen.c (__strnlen): Likewise.
47379 * string/test-memmem.c (simple_memmem): Likewise.
47380 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
47381 * sunrpc/pm_getport.c (__get_socket): Likewise.
47382 * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
47383 * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
47384 * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
47385 (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
47386 Likewise.
47387 * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
47388 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
47389 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
47390 * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
47391 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
47392 * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
47393 Likewise.
47394 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
47395 Likewise.
47396 * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
47397 * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
47398 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
47399 * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
47400 * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
47401 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
47402 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
47403 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
47404 * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
47405 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
47406 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
47407 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
47408 Likewise.
47409 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
47410 Likewise.
47411 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
47412 Likewise.
47413 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
47414 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
47415 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
47416 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
47417 * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
47418 * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
47419 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
47420 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
47421 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
47422 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
47423 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
47424 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
47425 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
47426 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
47427 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
47428 * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
47429 Likewise.
47430 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
47431 Likewise.
47432 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
47433 Likewise.
47434 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
47435 Likewise.
47436 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
47437 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
47438 * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
47439 Likewise.
47440 * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
47441 * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
47442 * sysdeps/posix/opendir.c (__opendirat): Likewise.
47443 * sysdeps/posix/sleep.c: Likewise.
47444 * sysdeps/posix/tempname.c: Likewise.
47445 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
47446 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
47447 Likewise.
47448 * sysdeps/powerpc/powerpc32/dl-machine.h
47449 (elf_machine_runtime_setup, elf_machine_rela): Likewise.
47450 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
47451 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
47452 * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
47453 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
47454 Likewise.
47455 * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
47456 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
47457 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
47458 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
47459 (elf_machine_rela, elf_machine_lazy_rel): Likewise.
47460 * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
47461 * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
47462 * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
47463 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
47464 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
47465 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
47466 (elf_machine_lazy_rel): Likewise.
47467 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
47468 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
47469 (elf_machine_lazy_rel): Likewise.
47470 * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
47471 * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
47472 * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
47473 * sysdeps/unix/grantpt.c (grantpt): Likewise.
47474 * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
47475 * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
47476 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
47477 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
47478 Likewise.
47479 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
47480 * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
47481 * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
47482 * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
47483 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
47484 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
47485 * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
47486 * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
47487 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
47488 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
47489 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
47490 Likewise.
47491 * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
47492 (__posix_fallocate64_l64): Likewise.
47493 * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
47494 (posix_fallocate): Likewise.
47495 * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
47496 Likewise.
47497 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
47498 * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
47499 (getifaddrs_internal): Likewise.
47500 * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
47501 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
47502 * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
47503 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
47504 * sysdeps/unix/sysv/linux/posix_fallocate64.c
47505 (__posix_fallocate64_l64): Likewise.
47506 * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
47507 Likewise.
47508 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
47509 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
47510 (__get_clockfreq): Likewise.
47511 * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
47512 * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
47513 * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
47514 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
47515 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
47516 * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
47517 * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
47518 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
47519 Likewise.
47520 * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
47521 * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
47522 * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
47523 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
47524 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
47525 * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
47526 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
47527 Likewise.
47528 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
47529 (posix_fallocate): Likewise.
47530 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
47531 * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
47532 * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
47533 * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
47534 (elf_machine_rela, elf_machine_rela_relative)
47535 (elf_machine_lazy_rel): Likewise.
47536 * time/asctime.c (asctime_internal): Likewise.
47537 * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
47538 * time/tzset.c (__tzset_parse_tz): Likewise.
47539 * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
47540 * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
47541 * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
47542 * wcsmbs/wcsmbsload.h: Likewise.
47543
47544 [BZ #15894]
47545 * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
47546
47547 * malloc/arena.c (grow_heap, get_free_list, reused_arena)
47548 (arena_get2): Remove THREAD_STATS conditionals.
47549 * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
47550 (__malloc_stats, int): Likewise.
47551
47552 2014-02-08 Mike Frysinger <vapier@gentoo.org>
47553
47554 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
47555 f.f_type to RAMFS_MAGIC too. Compare mp->mnt_type to shm too.
47556
47557 * manual/setjmp.texi: Fix typos/grammar errors.
47558
47559 * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
47560 Only return early when n is <= 0. Delete unused return statement.
47561
47562 * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
47563 (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
47564 * debug/tst-longjmp_chk3.c: New file.
47565
47566 * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
47567 (test_main): Replace code with set_fortify_handler call.
47568 * debug/test-strcpy_chk.c: Likewise.
47569 * debug/tst-chk1.c: Likewise.
47570 * debug/tst-longjmp_chk.c: Likewise.
47571 * test-skeleton.c: Include fcntl.h & paths.h
47572 (set_fortify_handler): Define.
47573
47574 * debug/tst-longjmp_chk.c: Add header comment and include
47575 ../test-skeleton.c.
47576 (do_test): Mark static.
47577 (TEST_FUNCTION): Define.
47578
47579 * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
47580 (IP_PMTUDISC_INTERFACE): Likewise.
47581 (IP_MULTICAST_IF): Likewise.
47582 (IP_MULTICAST_TTL): Likewise.
47583 (IP_MULTICAST_LOOP): Likewise.
47584 (IP_ADD_MEMBERSHIP): Likewise.
47585 (IP_DROP_MEMBERSHIP): Likewise.
47586 (IP_UNBLOCK_SOURCE): Likewise.
47587 (IP_BLOCK_SOURCE): Likewise.
47588 (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
47589 (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
47590 (IP_MSFILTER): Likewise.
47591 (MCAST_JOIN_GROUP): Likewise.
47592 (MCAST_BLOCK_SOURCE): Likewise.
47593 (MCAST_UNBLOCK_SOURCE): Likewise.
47594 (MCAST_LEAVE_GROUP): Likewise.
47595 (MCAST_JOIN_SOURCE_GROUP): Likewise.
47596 (MCAST_LEAVE_SOURCE_GROUP): Likewise.
47597 (MCAST_MSFILTER): Likewise.
47598 (IP_MULTICAST_ALL): Likewise.
47599 (IP_UNICAST_IF): Likewise.
47600
47601 * timezone/Makefile: Delete $(have-ksh) check.
47602 ($(objpfx)tzselect): Change $(KSH) to $(BASH).
47603 * timezone/tzselect.ksh: Add +x mode bits.
47604
47605 * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
47606 (ANON_INODE_FS_MAGIC): Likewise.
47607 (BDEVFS_MAGIC): Likewise.
47608 (BINFMTFS_MAGIC): Likewise.
47609 (BTRFS_TEST_MAGIC): Likewise.
47610 (CRAMFS_MAGIC_WEND): Likewise.
47611 (DEBUGFS_MAGIC): Likewise.
47612 (ECRYPTFS_SUPER_MAGIC): Likewise.
47613 (EXT3_SUPER_MAGIC): Likewise.
47614 (EXT4_SUPER_MAGIC): Likewise.
47615 (FUTEXFS_SUPER_MAGIC): Likewise.
47616 (HOSTFS_SUPER_MAGIC): Likewise.
47617 (HUGETLBFS_MAGIC): Likewise.
47618 (MINIX3_SUPER_MAGIC): Likewise.
47619 (MTD_INODE_FS_MAGIC): Likewise.
47620 (NILFS_SUPER_MAGIC): Likewise.
47621 (OPENPROM_SUPER_MAGIC): Likewise.
47622 (PIPEFS_MAGIC): Likewise.
47623 (PSTOREFS_MAGIC): Likewise.
47624 (QNX6_SUPER_MAGIC): Likewise.
47625 (RAMFS_MAGIC): Likewise.
47626 (REISERFS_SUPER_MAGIC_STRING): Likewise.
47627 (REISER2FS_SUPER_MAGIC_STRING): Likewise.
47628 (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
47629 (SECURITYFS_MAGIC): Likewise.
47630 (SELINUX_MAGIC): Likewise.
47631 (SMACK_MAGIC): Likewise.
47632 (SOCKFS_MAGIC): Likewise.
47633 (SQUASHFS_MAGIC): Likewise.
47634 (STACK_END_MAGIC): Likewise.
47635 (TMPFS_MAGIC): Likewise.
47636 (USBDEVICE_SUPER_MAGIC): Likewise.
47637 (V9FS_MAGIC): Likewise.
47638 (XENFS_SUPER_MAGIC): Likewise.
47639 (CRAMFS_MAGIC): Fix typo in comment.
47640 (EXT2_SUPER_MAGIC): Update comment.
47641 (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
47642
47643 2014-02-08 Joseph Myers <joseph@codesourcery.com>
47644
47645 * sysdeps/arm: Move directory from ports/sysdeps/arm.
47646 * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
47647 * sysdeps/unix/sysv/linux/arm: Move directory from
47648 ports/sysdeps/unix/sysv/linux/arm.
47649 * README: Update listing for arm-*-linux-gnueabi.
47650
47651 * README: Remove mention of am33.
47652
47653 2014-02-07 Roland McGrath <roland@hack.frob.com>
47654
47655 * bits/sigset.h (__sigemptyset): Use a statement expression rather
47656 than the comma operator, to avoid "rhs of comma has no effect"
47657 compiler warnings.
47658 (__sigfillset, __sigandset, __sigorset): Likewise.
47659 * include/signal.h (__sigemptyset): Likewise.
47660 * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
47661
47662 2014-02-07 Allan McRae <allan@archlinux.org>
47663
47664 * version.h (RELEASE): Set to "development".
47665 (VERSION): Set to "2.19.90"
47666 * NEWS: Add 2.20 section.
47667
47668 2014-02-06 Carlos O'Donell <carlos@redhat.com>
47669
47670 [BZ #16529]
47671 * inet/netinet/in.h: Remove comma after IPPROTO_MH.
47672
47673 2014-02-06 Siddhesh Poyarekar <siddhesh@redhat.com>
47674
47675 * manual/contrib.texi: Update entry for Carlos O'Donell,
47676 Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
47677
47678 2014-02-05 Carlos O'Donell <carlos@rehdat.com>
47679
47680 * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
47681
47682 * sysdeps/unix/sysv/linux/kernel-features.h
47683 [__LINUX_KERNEL_VERSION >= 0x020621]
47684 (__ASSUME_PROC_PID_TASK_COMM): Define.
47685
47686 2014-02-05 Siddhesh Poyarekar <siddhesh@redhat.com>
47687
47688 [BZ #16398]
47689 * libio/wfileops.c (_IO_wfile_seekoff): Break out form
47690 conversion when destination buffer does not have enough space.
47691 * libio/tst-ftell-partial-wide.c: New test case.
47692 * libio/Makefile (tests): Add tst-ftell-partial-wide.
47693
47694 * manual/contrib.texi: Update entry for Ondrej Bilka, Will
47695 Newton and Alexandre Oliva. Add entries for Steve Ellcey, Chris
47696 Leonard and Allan McRae.
47697
47698 2014-02-04 David S. Miller <davem@davemloft.net>
47699
47700 * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
47701 32-bit.
47702
47703 2014-02-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47704
47705 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
47706 New file
47707 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
47708 New file
47709 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
47710 New file.
47711 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
47712 New file.
47713 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
47714 New file.
47715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
47716 New file.
47717 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
47718 New file.
47719 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
47720 New file.
47721 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
47722 New file.
47723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
47724 New file.
47725 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
47726 New file.
47727 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
47728 New file.
47729 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
47730 New file.
47731
47732 2014-02-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47733
47734 * nptl/shlib-versions: Change powerpc*le start to 2.17.
47735 * shlib-versions: Likewise.
47736
47737 2014-02-04 Roland McGrath <roland@hack.frob.com>
47738 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47739
47740 * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
47741 (abilist-pattern): New variable, set to %-le.abilist.
47742
47743 * Makerules (abilist-pattern): New variable.
47744 (vpath): Use $(abilist-pattern) in place of %.abilist.
47745 (check-abi-% pattern rule): Likewise.
47746 (check-abi, update-abi): Likewise.
47747
47748 2014-02-04 Eric Wong <normalperson@yhbt.net>
47749
47750 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
47751
47752 2014-02-03 Carlos O'Donell <carlos@redhat.com>
47753
47754 * manual/startup.texi: Add next, previous, and top entries for
47755 the `Program Arguments' and `Environment Variables' nodes.
47756
47757 2014-02-03 Alexandre Oliva <aoliva@redhat.com>
47758
47759 * manual/macros.texi: Add comments before MTASC-safety macros.
47760
47761 * manual/users.texi: Document MTASC-safety properties.
47762
47763 * manual/threads.texi (pthread_key_create, pthread_key_delete)
47764 (pthread_getspecific, pthread_setspecific): Format with
47765 @deftypefun, and add @safety note.
47766 * manual/signal.texi: Move comments that analyze the above
47767 functions to their home place.
47768
47769 2014-02-03 Allan McRae <allan@archlinux.org>
47770
47771 * po/sl.po: Update Slovenian translation from translation project.
47772
47773 2014-02-02 Alexandre Oliva <aoliva@redhat.com>
47774
47775 * manual/time.texi (timegm): Add missing blank after @c.
47776 Reported by Joseph Myers <joseph@codesourcery.com>.
47777
47778 2014-02-01 Alexandre Oliva <aoliva@redhat.com>
47779
47780 * manual/check-safety.sh: New.
47781 * manual/Makefile ($(objpfx)stamp-summary): Run it.
47782
47783 * manual/terminal.texi: Document MTASC-safety properties.
47784
47785 * manual/filesys.texi: Document MTASC-safety properties.
47786
47787 * manual/errno.texi: Document MTASC-safety properties.
47788
47789 * manual/intro.texi: Document safety identifiers and
47790 conditionals.
47791
47792 * manual/string.texi (wcstok): Fix prototype.
47793 (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
47794
47795 * manual/time.texi: Document MTASC-safety properties.
47796
47797 * manual/string.texi: Document MTASC-safety properties.
47798
47799 * manual/threads.texi: Document MTASC-safety properties.
47800
47801 * manual/stdio.texi: Document MTASC-safety properties.
47802
47803 * manual/syslog.texi: Document MTASC-safety properties.
47804
47805 * manual/sysinfo.texi: Document MTASC-safety properties.
47806
47807 * manual/startup.texi: Document MTASC-safety properties.
47808
47809 * manual/socket.texi: Document MTASC-safety properties.
47810
47811 * manual/signal.texi: Document MTASC-safety properties.
47812
47813 2014-01-31 Alexandre Oliva <aoliva@redhat.com>
47814
47815 * manual/setjmp.texi: Document MTASC-safety properties.
47816
47817 * manual/search.texi: Document MTASC-safety properties.
47818
47819 * manual/resource.texi: Document MTASC-safety properties.
47820
47821 * manual/process.texi: Document MTASC-safety properties.
47822
47823 * manual/platform.texi: Document MTASC-safety properties.
47824
47825 * manual/pipe.texi: Document MTASC-safety properties.
47826
47827 * manual/pattern.texi: Document MTASC-safety properties.
47828
47829 * manual/message.texi: Document MTASC-safety properties.
47830
47831 [BZ #12751]
47832 * manual/memory.texi: Document MTASC-safety properties.
47833
47834 * manual/math.texi: Document MTASC-safety properties.
47835
47836 * manual/locale.texi: Document MTASC-safety properties.
47837
47838 * manual/llio.texi: Document MTASC-safety properties.
47839
47840 * manual/libdl.texi: New.
47841
47842 * manual/lang.texi: Document MTASC-safety properties.
47843
47844 * manual/job.texi: Document MTASC-safety properties.
47845
47846 * manual/getopt.texi: Document MTASC-safety properties.
47847
47848 * manual/ctype.texi: Document MTASC-safety properties.
47849
47850 2014-01-31 Maciej W. Rozycki <macro@codesourcery.com>
47851
47852 [BZ #16046]
47853 * csu/libc-tls.c (static_map): Remove variable.
47854 (__libc_setup_tls): Use main executable's link map for TLS data.
47855 * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
47856 casing for LM_ID_BASE and GL(dl_nns).
47857 * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
47858 function. Alias dl_iterate_phdr to __dl_iterate_phdr.
47859 * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
47860 casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
47861 * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
47862 member.
47863 (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
47864 l_phnum members.
47865
47866 2014-01-30 Alexandre Oliva <aoliva@redhat.com>
47867
47868 * manual/debug.texi: Document MTASC-safety properties.
47869
47870 2014-01-29 H.J. Lu <hongjiu.lu@intel.com>
47871
47872 [BZ #16510]
47873 * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
47874 of __x86_64__ when disabling x87 inline functions.
47875
47876 2014-01-29 Alexandre Oliva <aoliva@redhat.com>
47877
47878 * manual/charset.texi: Document MTASC-safety properties.
47879
47880 * manual/crypt.texi: Document MTASC-safety properties.
47881
47882 * manual/conf.texi: Document MTASC-safety properties.
47883
47884 * manual/arith.texi: Document MTASC-safety properties.
47885
47886 * manual/argp.texi: Document MTASC-safety properties.
47887
47888 * manual/macros.texi: Introduce macros to document multi
47889 thread, asynchronous signal and asynchronous cancellation
47890 safety properties.
47891 * manual/intro.texi: Introduce the properties themselves.
47892
47893 2014-01-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47894
47895 * sysdeps/sh/sh4/Makefile: New file.
47896
47897 2014-01-27 Andreas Schwab <schwab@linux-m68k.org>
47898
47899 * math/gen-libm-test.pl ($srcdir): New variable.
47900 ($auto_input): Use it.
47901
47902 2014-01-27 Siddhesh Poyarekar <siddhesh@redhat.com>
47903
47904 [BZ #16506]
47905 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
47906 access beyond array bounds when parsing netgroups file.
47907
47908 * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
47909 the old buffer before realloc.
47910
47911 2014-01-27 Allan McRae <allan@archlinux.org>
47912
47913 * po/fr.po: Update French translation from translation project.
47914
47915 2014-01-26 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47916
47917 * sysdeps/sh/libm-test-ulps: Regenerate.
47918
47919 2014-01-24 David S. Miller <davem@davemloft.net>
47920
47921 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
47922
47923 2014-01-25 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47924
47925 * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
47926 * sysdeps/sh/libm-test-ulps: ... here and regenerated.
47927
47928 2013-01-24 Siddhesh Poyarekar <siddhesh@redhat.com>
47929
47930 [BZ #16474]
47931 * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
47932 string pointers after reallocation.
47933
47934 2014-01-24 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47935
47936 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
47937 __SH4A__ instead of __SH_FPU_ANY__.
47938
47939 2014-01-23 Kaz Kojima <kkojima@rr.iij4u.or.jp>
47940
47941 * sysdeps/sh/fpu_control.h: New file.
47942 * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
47943 * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
47944 * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
47945 * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
47946 * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
47947 * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
47948 * sysdeps/sh/sys/ucontext.h: Remove.
47949 * sysdeps/sh/sys: Remove directory.
47950
47951 2014-01-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
47952
47953 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
47954 s390/sys/ucontext.h.
47955 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
47956 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
47957
47958 2014-01-20 H.J. Lu <hongjiu.lu@intel.com>
47959
47960 [BZ #15605]
47961 * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
47962
47963 2014-01-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47964
47965 [BZ#16431]
47966 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
47967 Adjust the vDSO correctly for internal calls.
47968 * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
47969
47970 2014-01-20 Allan McRae <allan@archlinux.org>
47971
47972 * po/ca.po: Update Catalan translation from translation project.
47973
47974 2014-01-16 Mike Frysinger <vapier@gentoo.org>
47975
47976 * sysdeps/s390/sotruss-lib.c: New file.
47977
47978 2014-01-16 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47979
47980 [BZ#16430]
47981 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
47982 (__GI___gettimeofday): Alias for a different internal symbol to avoid
47983 local calls issues by not having a PLT stub required for IFUNC calls.
47984 * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
47985
47986 2014-01-16 Joseph Myers <joseph@codesourcery.com>
47987
47988 * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
47989 * math/test-fpucw-static.c: Likewise.
47990
47991 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
47992
47993 [BZ #16453]
47994 * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
47995
47996 2014-01-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
47997
47998 * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
47999 implementation for powerpc.
48000
48001 2014-01-15 Ondřej Bílka <neleai@seznam.cz>
48002
48003 [BZ #14782]
48004 * sysdeps/posix/system.c (__libc_system): Do not enable
48005 asynchronous cancellation.
48006
48007 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48008
48009 [BZ #16427]
48010 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
48011 handling only for numbers special also in the IEEE case.
48012
48013 2014-01-15 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48014
48015 * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48016
48017 2014-01-11 Allan McRae <allan@archlinux.org>
48018
48019 * po/bg.po: Update Bulgarian translation from translation project.
48020
48021 * po/de.po: Update German translation from translation project.
48022
48023 2014-01-10 Roland McGrath <roland@hack.frob.com>
48024
48025 * sysdeps/generic/gcc-compat.h: New file.
48026
48027 2014-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
48028
48029 * benchtests/asin-inputs: Correct slow inputs.
48030 * benchtests/acos-inputs: Likewise.
48031
48032 2014-01-10 Allan McRae <allan@archlinux.org>
48033
48034 * po:sv.po: Update Swedish translation from translation project.
48035
48036 * po/vi.po: Update Vietnamese translation from translation project.
48037
48038 * po/eo.po: Update Esperanto translation from translation project.
48039
48040 * po/cs.po: Update Czech translation from translation project.
48041
48042 * po/nl.po: Update Dutch translation from translation project.
48043
48044 * po/pl.po: Update Polish translation from translation project.
48045
48046 * po/ru.po: Update Russian translation from translation project.
48047
48048 * po/uk.po: Update Ukrainian translation from translation project.
48049
48050 2014-01-08 Brooks Moses <bmoses@google.com>
48051
48052 * elf/dl-load.c: Fix comment typo.
48053
48054 2014-01-08 Carlos O'Donell <carlos@redhat.com>
48055
48056 * po/header.pot: Rename to...
48057 * po/pot.header: ... this.
48058 * po/Makefile: Use pot.header.
48059
48060 2014-01-08 Yuriy Kaminskiy <yumkam@gmail.com>
48061 Maxim Kuvyrkov <maxim@kugelworks.com>
48062
48063 [BZ #16394]
48064 * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
48065 SRC and DEST against LEN.
48066
48067 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48068
48069 [BZ #16414]
48070 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
48071 implementation.
48072 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
48073
48074 2014-01-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48075
48076 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48077
48078 2014-01-08 Joseph Myers <joseph@codesourcery.com>
48079
48080 [BZ #16408]
48081 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
48082 for large positive arguments.
48083
48084 2014-01-07 Joseph Myers <joseph@codesourcery.com>
48085
48086 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48087
48088 * math/auto-libm-test-in: Mark various tests with
48089 xfail-rounding:ldbl-128ibm.
48090 * math/auto-libm-test-out: Regenerated.
48091
48092 [BZ #16407]
48093 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
48094 Increase overflow threshold.
48095
48096 2014-01-07 Ondřej Bílka <neleai@seznam.cz>
48097
48098 [BZ #14286]
48099 * stdio-common/vfprintf.c: Check for integer overflow.
48100
48101 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48102
48103 * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
48104 the first argument and return value of __tls_get_addr_internal.
48105
48106 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48107
48108 * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
48109 also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
48110
48111 2014-01-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
48112
48113 * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
48114 * sysdeps/s390/rtld-global-offsets.sym: New file.
48115 * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
48116 GLIBC_2.19 symbol.
48117 * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
48118 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
48119 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
48120 ... this.
48121 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
48122 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
48123 ... this.
48124 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
48125 Regenerate.
48126 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
48127 Regenerate.
48128 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
48129 halfs of GPRs for high_gprs contexts.
48130 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
48131 restore upper halfs of GPRs for high_gprs contexts. Copy uc_flags
48132 field.
48133 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
48134 uc_flags field.
48135 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
48136 64 bit versions:
48137 * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
48138 for high GPRs (uc_high_gprs) and for future extensions
48139 (__reserved).
48140 * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
48141 for future extensions (__reserved).
48142 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
48143 64 bit versions:
48144 * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
48145 SC_HIGHGPRS offset definition.
48146 * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
48147 * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
48148
48149 * Versions.def: Add GLIBC_2.19 for libpthread.
48150 * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
48151 siglongjmp for libpthread with GLIBC_2.19 symver.
48152 * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
48153 * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
48154 * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
48155 * sysdeps/s390/__longjmp.c: New file.
48156 * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
48157 * sysdeps/s390/longjmp.c: New file.
48158 * sysdeps/s390/setjmp.S: New file.
48159 * sysdeps/s390/sigjmp.S: New file.
48160 * sysdeps/s390/v1-longjmp.c: New file.
48161 * sysdeps/s390/v1-setjmp.h: New file.
48162 * sysdeps/s390/v1-sigjmp.c: New file.
48163 * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
48164 * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
48165 GLIBC_2.19 version.
48166 * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
48167 * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
48168 versioned symbols for ____longjmp_chk.
48169 * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
48170 Likewise.
48171 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
48172 Regenerate.
48173 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
48174 Regenerate.
48175 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
48176 Regenerate.
48177 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
48178 Regenerate.
48179 * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
48180 * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
48181 * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
48182 * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
48183 * sysdeps/s390/s390-32/setjmp-common.S: ... this.
48184 * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
48185 * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
48186 * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
48187 * sysdeps/s390/s390-64/setjmp-common.S: ... this.
48188 * sysdeps/s390/rtld-__longjmp.c: New file.
48189 * sysdeps/s390/rtld-setjmp.S: New file.
48190
48191 2014-01-06 Joseph Myers <joseph@codesourcery.com>
48192
48193 [BZ #16400]
48194 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
48195 Return -__logl (x) for small positive arguments without evaluating
48196 a polynomial.
48197
48198 2014-01-06 Mike Frysinger <vapier@gentoo.org>
48199
48200 * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
48201 Rename to ...
48202 (__ptrace_peeksiginfo_args): ... this.
48203 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
48204 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
48205 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
48206
48207 2014-01-06 Allan McRae <allan@archlinux.org>
48208
48209 * inet/netinet/in.h: Fix typo in comment.
48210
48211 2014-01-05 Andreas Jaeger <aj@suse.de>
48212
48213 * sysdeps/i386/fpu/libm-test-ulps: Update.
48214
48215 2014-01-05 Allan McRae <allan@archlinux.org>
48216
48217 * po/libc.pot: Regenerated.
48218
48219 * malloc/memusagestat.c: Fix gettext call formatting.
48220
48221 2014-01-04 Sami Kerola <kerolasa@iki.fi>
48222
48223 * nscd/nscd.c: Improve usage() output.
48224
48225 2014-01-04 Mike Frysinger <vapier@gentoo.org>
48226
48227 * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
48228 * sysdeps/unix/sysv/linux/configure: Regenerated.
48229 * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
48230 * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
48231
48232 2014-01-03 Joseph Myers <joseph@codesourcery.com>
48233
48234 [BZ #16390]
48235 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
48236 (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
48237
48238 2014-01-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48239
48240 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
48241 extra tokens at end of #undef directive.
48242 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
48243 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
48244 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
48245
48246 2014-01-03 Joseph Myers <joseph@codesourcery.com>
48247
48248 * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
48249
48250 * math/auto-libm-test-in: Mark various tests with
48251 xfail-rounding:ldbl-128ibm.
48252 * math/auto-libm-test-out: Regenerated.
48253
48254 2014-01-02 Joseph Myers <joseph@codesourcery.com>
48255
48256 [BZ #16386]
48257 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
48258 numbers with subnormal high part when calculating exponent.
48259
48260 [BZ #16385]
48261 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
48262 fabs.
48263
48264 [BZ #16384]
48265 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
48266 M_LN2l.
48267 (__ieee754_acoshl): Use __log1pl not __log1p.
48268
48269 2013-01-02 Ondřej Bílka <neleai@seznam.cz>
48270
48271 * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
48272 (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
48273 (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
48274 (grow_heap, heap_trim, _int_new_arena, get_free_list)
48275 (reused_arena, arena_get2): Convert to GNU style.
48276 * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
48277 (mem2mem_check, mem2chunk_check, top_check, realloc_check)
48278 (memalign_check, __malloc_set_state): Likewise.
48279 * malloc/mallocbug.c (main): Likewise.
48280 * malloc/malloc.c (__malloc_assert, malloc_init_state)
48281 (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
48282 (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
48283 (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
48284 (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
48285 (__posix_memalign, malloc_info): Likewise.
48286 * malloc/malloc.h: Likewise.
48287 * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
48288 (mallochook, memalignhook, reallochook, mabort): Likewise.
48289 * malloc/mcheck.h: Likewise.
48290 * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
48291 (free, mmap, mmap64, mremap, munmap, dest): Likewise.
48292 * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
48293 * malloc/morecore.c (__default_morecore): Likewise.
48294 * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
48295 * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
48296 (_obstack_allocated_p, obstack_free, _obstack_memory_used)
48297 (print_and_abort): Likewise.
48298 * malloc/obstack.h: Likewise.
48299 * malloc/set-freeres.c (__libc_freeres): Likewise.
48300 * malloc/tst-mallocstate.c (main): Likewise.
48301 * malloc/tst-mtrace.c (main): Likewise.
48302 * malloc/tst-realloc.c (do_test): Likewise.
48303
48304 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
48305
48306 [BZ #16366]
48307 * nscd/netgroupcache.c (do_notfound): New function.
48308 (addgetnetgrentX): Use it.
48309
48310 [BZ # 16365]
48311 * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
48312 NSS_STATUS_NOTFOUND.
48313
48314 2014-01-01 Joseph Myers <joseph@codesourcery.com>
48315
48316 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
48317 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48318
48319 2014-01-01 Allan McRae <allan@archlinux.org>
48320
48321 * scripts/update-copyrights: Update configure input file suffix.
48322
48323 * NEWS: Update copyright year.
48324 * catgets/gencat.c: Likewise.
48325 * csu/version.c: Likewise.
48326 * debug/catchsegv.sh: Likewise.
48327 * debug/pcprofiledump.c: Likewise.
48328 * debug/xtrace.sh: Likewise.
48329 * elf/ldconfig.c: Likewise.
48330 * elf/ldd.bash.in: Likewise.
48331 * elf/pldd.c: Likewise.
48332 * elf/sotruss.ksh: Likewise.
48333 * elf/sprof.c: Likewise.
48334 * iconv/iconv_prog.c: Likewise.
48335 * iconv/iconvconfig.c: Likewise.
48336 * locale/programs/locale.c: Likewise.
48337 * locale/programs/localedef.c: Likewise.
48338 * login/programs/pt_chown.c: Likewise.
48339 * malloc/memusage.sh: Likewise.
48340 * malloc/memusagestat.c: Likewise.
48341 * malloc/mtrace.pl: Likewise.
48342 * manual/libc.texinfo: Likewise.
48343 * nscd/nscd.c: Likewise.
48344 * nss/getent.c: Likewise.
48345 * nss/makedb.c: Likewise.
48346 * posix/getconf.c: Likewise.
48347 * scripts/test-installation.pl: Likewise.
48348
48349 * All files with FSF copyright notices: Update copyright dates
48350 using scripts/update-copyrights.
48351 * intl/plural.c: Regenerated.
48352 * locale/programs/charmap-kw.h: Likewise.
48353 * locale/programs/locfile-kw.h: Likewise.
48354
48355 2013-12-31 Mike Frysinger <vapier@gentoo.org>
48356
48357 * sysdeps/unix/sysv/linux/configure: Regenerated.
48358 * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
48359 the linux/fanotify.h header.
48360 * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
48361 HAVE_LINUX_FANOTIFY_H is defined.
48362
48363 2013-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
48364
48365 * benchtests/cos-inputs: New inputs.
48366 * benchtests/sin-inputs: Likewise.
48367
48368 * benchtests/atan-inputs: New inputs. Fix name of multiple
48369 precision fallback inputs.
48370
48371 * benchtests/atanh-inputs: New inputs.
48372 * benchtests/tanh-inputs: Likewise.
48373
48374 * benchtests/acosh-inputs: New inputs.
48375 * benchtests/asinh-inputs: Likewise.
48376
48377 * benchtests/cosh-inputs: New inputs.
48378 * benchtests/sinh-inputs: Likewise.
48379
48380 * benchtests/acos-inputs: Add more inputs.
48381 * benchtests/asin-inputs: Likewise.
48382
48383 2013-12-30 Ville Skytta <ville.skytta@iki.fi>
48384
48385 [BZ #16375]
48386 * manual/arith.texi: Fix spelling.
48387 * manual/charset.texi: Likewise.
48388 * manual/errno.texi: Likewise.
48389 * manual/filesys.texi: Likewise.
48390 * manual/lang.texi: Likewise.
48391 * manual/llio.texi: Likewise.
48392 * manual/locale.texi: Likewise.
48393 * manual/message.texi: Likewise.
48394 * manual/resource.texi: Likewise.
48395 * manual/search.texi: Likewise.
48396 * manual/setjmp.texi: Likewise.
48397 * manual/stdio.texi: Likewise.
48398 * manual/string.texi: Likewise.
48399 * manual/sysinfo.texi: Likewise.
48400 * manual/time.texi: Likewise.
48401
48402 2013-12-27 Carlos O'Donell <carlos@redhat.com>
48403
48404 * po/sl.po: New file.
48405
48406 2013-12-27 Mike Frysinger <vapier@gentoo.org>
48407
48408 * .gitignore: Add core/.gdbinit/.gdb_history.
48409
48410 2013-12-27 Allan McRae <allan@archlinux.org>
48411
48412 [BZ #16369]
48413 * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
48414 Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
48415
48416 2013-12-24 Brooks Moses <bmoses@google.com>
48417
48418 * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
48419 all compilers that claim C++98 compliance, not just GCC.
48420 * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
48421 Likewise.
48422
48423 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
48424
48425 * NEWS: Restore accidentally deleted bug-fix entries.
48426
48427 2013-12-24 Maxim Kuvyrkov <maxim@kugelworks.com>
48428 Ondřej Bílka <neleai@seznam.cz>
48429
48430 [BZ #15073]
48431 * malloc/malloc.c (_int_free): Perform sanity check only if we
48432 have_lock.
48433
48434 2013-12-23 Ondřej Bílka <neleai@seznam.cz>
48435
48436 [BZ #12986]
48437 * manual/stdio.texi (String Input Conversions): Clarify that character
48438 classes are not supported.
48439
48440 2013-12-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48441
48442 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48443
48444 2013-12-22 Joseph Myers <joseph@codesourcery.com>
48445
48446 [BZ #16337]
48447 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
48448 Calculate results for small negative arguments directly rather
48449 than using reflection formula with special underflow handling.
48450
48451 * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
48452 * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
48453 sysdeps/unix/bsd/bsd4.4/syscalls.list.
48454 (fchflags): Likewise.
48455 (revoke): Likewise.
48456 (setlogin): Likewise.
48457 (sigaltstack): Likewise.
48458 (wait4): Likewise.
48459 (sigblock): Remove.
48460 (sigsetmask): Likewise.
48461 (wait3): Likewise.
48462 (waitpid): Likewise.
48463 * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
48464 * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
48465 file.
48466 * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
48467 * sysdeps/unix/bsd/Makefile: ... here.
48468 * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
48469 * sysdeps/unix/bsd/Versions: ... here.
48470 * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
48471 * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
48472 * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
48473 * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
48474 * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
48475 * sysdeps/unix/bsd/sigblock.c: ... here.
48476 * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
48477 * sysdeps/unix/bsd/sigsetmask.c: ... here.
48478 * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
48479 * sysdeps/unix/bsd/sigvec.c: ... here.
48480 * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
48481 * sysdeps/unix/bsd/tcdrain.c: ... here.
48482 * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
48483 * sysdeps/unix/bsd/tcgetattr.c: ... here.
48484 * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
48485 * sysdeps/unix/bsd/tcsetattr.c: ... here.
48486 * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
48487 * sysdeps/unix/bsd/wait.c: ... here.
48488 * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
48489 * sysdeps/unix/bsd/wait3.c: ... here.
48490 * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
48491 * sysdeps/unix/bsd/waitpid.c: ... here.
48492
48493 2013-12-21 Joseph Myers <joseph@codesourcery.com>
48494
48495 [BZ #16356]
48496 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
48497 round-to-nearest for [!USE_AS_EXPM1L].
48498 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
48499 * math/auto-libm-test-in: Do not expect cosh tests to fail. Add
48500 more tests of exp and exp10. Expect some exp10 tests to miss
48501 exceptions or fail in directed rounding modes.
48502 * math/auto-libm-test-out: Regenerated.
48503 * math/libm-test.inc (exp10_tonearest_test_data): New array.
48504 (exp10_test_tonearest): New function.
48505 (exp10_towardzero_test_data): New array.
48506 (exp10_test_towardzero): New function.
48507 (exp10_downward_test_data): New array.
48508 (exp10_test_downward): New function.
48509 (exp10_upward_test_data): New array.
48510 (exp10_test_upward): New function.
48511 (main): Call the new functions.
48512 * sysdeps/i386/fpu/libm-test-ulps: Update.
48513 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48514
48515 2013-12-20 Joseph Myers <joseph@codesourcery.com>
48516
48517 * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
48518 asinh, atan, atan2, atanh, cbrt, cos and cosh.
48519 * math/auto-libm-test-out: Regenerated.
48520 * math/libm-test.inc (acosh_test_data): Add more tests.
48521 (atanh_test_data): Likewise.
48522 (ceil_test_data): Likewise.
48523 (copysign_test_data): Likewise.
48524 * sysdeps/i386/fpu/libm-test-ulps: Update.
48525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48526
48527 * timezone/checktab.awk: Update from tzcode 2013i.
48528 * timezone/private.h: Likewise.
48529 * timezone/scheck.c: Likewise.
48530 * timezone/tzfile.h: Likewise.
48531 * timezone/tzselect.ksh: Likewise.
48532 * timezone/zdump.c: Likewise.
48533 * timezone/zic.c: Likewise.
48534
48535 * math/auto-libm-test-in: Add tests of cpow.
48536 * math/auto-libm-test-out: Regenerated.
48537 * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
48538 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48539 mpc_cc_c.
48540 (func_calc_desc): Add mpc_cc_c union field.
48541 (test_functions): Add cpow.
48542 (special_fill_2pi): New function.
48543 (special_real_inputs): Add 2pi.
48544 (calc_generic_results): Handle mpc_cc_c.
48545 * sysdeps/i386/fpu/libm-test-ulps: Update.
48546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48547
48548 * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
48549 csqrt, ctan and ctanh.
48550 * math/auto-libm-test-out: Regenerated.
48551 * math/libm-test.inc (TEST_COND_x86_64): New macro.
48552 (TEST_COND_x86): Likewise.
48553 (ccos_test_data): Use AUTO_TESTS_c_c.
48554 (ccosh_test_data): Likewise.
48555 (cexp_test_data): Likewise.
48556 (clog_test_data): Likewise.
48557 (csqrt_test_data): Likewise.
48558 (ctan_test_data): Likewise.
48559 (ctan_tonearest_test_data): Likewise.
48560 (ctan_towardzero_test_data): Likewise.
48561 (ctan_downward_test_data): Likewise.
48562 (ctan_upward_test_data): Likewise.
48563 (ctanh_test_data): Likewise.
48564 (ctanh_tonearest_test_data): Likewise.
48565 (ctanh_towardzero_test_data): Likewise.
48566 (ctanh_downward_test_data): Likewise.
48567 (ctanh_upward_test_data): Likewise.
48568 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48569 mpc_c_c.
48570 (func_calc_desc): Add mpc_c_c union field.
48571 (FUNC_mpc_c_c): New macro.
48572 (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
48573 ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
48574 ctanh.
48575 (special_fill_min_subnorm_p120): New function.
48576 (special_real_inputs): Add min_subnorm_p120.
48577 (calc_generic_results): Handle mpc_c_c.
48578 * sysdeps/i386/fpu/libm-test-ulps: Update.
48579 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48580
48581 2013-12-20 Siddhesh Poyarekar <siddhesh@redhat.com>
48582
48583 * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
48584 (do_sin_slow): New functions.
48585 (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
48586 (cslow2, csloww1, csloww2): Use the new functions.
48587
48588 * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
48589 Use M to change sign of result instead of X. Assume X is
48590 positive.
48591 (csloww1): Likewise.
48592 (__sin): Adjust.
48593 (__cos): Adjust.
48594
48595 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
48596 arguments A and DA.
48597 (__sin): Adjust.
48598 (__cos): Likewise.
48599
48600 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
48601 (__cos): Likewise.
48602 (sloww1): Don't adjust sign of DX.
48603 (csloww1): Likewise.
48604 (sloww2): Use X directly and don't adjust sign of DX.
48605 (csloww2): Likewise.
48606
48607 2013-12-19 Joseph Myers <joseph@codesourcery.com>
48608
48609 * math/auto-libm-test-in: Add tests of cabs and carg.
48610 * math/auto-libm-test-out: Regenerated.
48611 * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
48612 (carg_test_data): Likewise.
48613 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48614 mpc_c_f.
48615 (func_calc_desc): Add mpc_c_f union field.
48616 (test_functions): Add cabs and carg.
48617 (calc_generic_results): Handle mpc_c_f.
48618
48619 * sysdeps/powerpc/powerpc32/libgcc-compat.S
48620 [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
48621 as a macro and a compat symbol.
48622 [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
48623 [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
48624 [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
48625 [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
48626 [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
48627 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
48628 not use .hidden.
48629 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
48630 Likewise.
48631 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
48632 Likewise.
48633 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
48634 Likewise.
48635 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
48636 Likewise.
48637 [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
48638 Likewise.
48639 * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
48640 __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
48641 from GLIBC_2.3.2.
48642
48643 2013-12-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48644
48645 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48646
48647 2013-12-19 Joseph Myers <joseph@codesourcery.com>
48648
48649 * manual/texinfo.tex: Update to version 2013-11-26.10 with
48650 trailing whitespace removed.
48651 * scripts/config.guess: Update to version 2013-11-29.
48652 * scripts/config.sub: Update to version 2013-10-01.
48653
48654 * math/auto-libm-test-in: Add tests of sincos.
48655 * math/auto-libm-test-out: Regenerated.
48656 * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
48657 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48658 mpfr_f_11.
48659 (func_calc_desc): Add mpfr_f_11 union field.
48660 (test_functions): Add sincos.
48661 (calc_generic_results): Handle mpfr_f_11.
48662 * sysdeps/i386/fpu/libm-test-ulps: Update.
48663 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48664
48665 2013-12-19 Andreas Schwab <schwab@suse.de>
48666
48667 * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
48668 CALL_MCOUNT.
48669 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
48670 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
48671 [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
48672
48673 2013-12-19 Joseph Myers <joseph@codesourcery.com>
48674
48675 * math/gen-libm-test.pl (%beautify): Remove M_* constants.
48676 * sysdeps/i386/fpu/libm-test-ulps: Update.
48677 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48678
48679 [BZ #16293]
48680 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
48681 round-to-nearest mode when using frndint.
48682 * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
48683 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
48684 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
48685 Likewise.
48686 * math/auto-libm-test-in: Add more tests of expm1. Do not expect
48687 sinh test to fail.
48688 * math/auto-libm-test-out: Regenerated.
48689 * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
48690 (TEST_COND_x86): Likewise.
48691 (expm1_tonearest_test_data): New array.
48692 (expm1_test_tonearest): New function.
48693 (expm1_towardzero_test_data): New array.
48694 (expm1_test_towardzero): New function.
48695 (expm1_downward_test_data): New array.
48696 (expm1_test_downward): New function.
48697 (expm1_upward_test_data): New array.
48698 (expm1_test_upward): New function.
48699 (main): Run the new test functions.
48700 * sysdeps/i386/fpu/libm-test-ulps: Update.
48701 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48702
48703 * include/features.h: Update comment documenting feature test
48704 macros. Mention _DEFAULT_SOURCE in comment.
48705 [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
48706 [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
48707 _BSD_SOURCE and _SVID_SOURCE.
48708 [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
48709 !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
48710 !_SVID_SOURCE]: Likewise.
48711 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48712 (__USE_POSIX_IMPLICITLY): Define.
48713 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48714 (_POSIX_SOURCE): Undefine and redefine.
48715 [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
48716 (_POSIX_C_SOURCE): Likewise.
48717 * manual/creature.texi (_DEFAULT_SOURCE): Document.
48718 (Feature Test Macros): Update documentation of default features.
48719
48720 2013-12-19 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
48721
48722 * benchtests/Makefile: Add bench-strtok.
48723 * benchtests/bench-strtok.c: New file: strtok benchtest.
48724
48725 2013-12-19 Allan McRae <allan@archlinux.org>
48726
48727 * manual/install.texi: Suppress menu for plain text output.
48728 * INSTALL: Regenerated.
48729
48730 2013-12-18 Brooks Moses <bmoses@google.com>
48731
48732 [BZ #15846]
48733 * misc/getauxval.c: Include errno.h.
48734 (__getauxval): Set errno to ENOENT if the requested type is not
48735 found.
48736 * misc/sys/auxv.h (getauxval): Document that it may set errno;
48737 don't declare with __attribute_const__.
48738 * elf/tst-auxv.c: Add tests for errno and type-not-found case.
48739 * manual/startup.texi: Document that getauxval sets errno.
48740
48741 2013-12-18 Joseph Myers <joseph@codesourcery.com>
48742
48743 * math/auto-libm-test-in: Add tests of jn and yn.
48744 * math/auto-libm-test-out: Regenerated.
48745 * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
48746 (yn_test_data): Likewise.
48747 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48748 mpfr_if_f.
48749 (func_calc_desc): Add mpfr_if_f union field.
48750 (FUNC_mpfr_if_f): New macro.
48751 (test_functions): Add jn and yn.
48752 (calc_generic_results): Assert type of second input for
48753 mpfr_ff_f. Handle mpfr_if_f.
48754 (output_for_one_input_case): Disable all checking for arguments
48755 fitting floating-point types in case of an integer argument.
48756 * sysdeps/i386/fpu/libm-test-ulps: Update.
48757 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48758
48759 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
48760 Don't expect fegetround reference in libm.so.
48761
48762 2013-12-17 Marcus Shawcroft <marcus.shawcroft@linaro.org>
48763
48764 * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
48765 $(config-cflags-nofma).
48766
48767 2013-12-18 Joseph Myers <joseph@codesourcery.com>
48768
48769 * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
48770 * math/auto-libm-test-out: Regenerated.
48771
48772 [BZ #16338]
48773 * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
48774 to determine exponent and adjust argument to have exponent of -1.
48775 * math/auto-libm-test-in: Add more tests of log, log10, log1p and
48776 log2.
48777 * math/auto-libm-test-out: Regenerated.
48778 * sysdeps/i386/fpu/libm-test-ulps: Update.
48779 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48780
48781 2013-12-18 Ondřej Bílka <neleai@seznam.cz>
48782
48783 * manual/probes.texi: Remove cases when per-thread arenas are
48784 disabled.
48785
48786 2013-12-18 Andreas Schwab <schwab@suse.de>
48787
48788 * sysdeps/i386/i686/multiarch/strstr.c: Remove.
48789 * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
48790 * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
48791 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
48792 * sysdeps/i386/i686/multiarch/Makefile: Update.
48793 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
48794
48795 2013-12-17 Joseph Myers <joseph@codesourcery.com>
48796
48797 * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
48798 * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
48799
48800 2013-12-17 Paul Eggert <eggert@cs.ucla.edu>
48801
48802 [BZ #15968]
48803 Support TZ transition times < 00:00:00.
48804 This is needed for version-3 tz-format files; it supports time
48805 stamps past 2037 for America/Godthab (the only entry in the tz
48806 database for which this change is relevant).
48807 * manual/time.texi (TZ Variable): Document transition times
48808 from -167:59:59 through -00:00:01.
48809 * time/tzset.c (tz_rule): Time of day is now signed.
48810 (__tzset_parse_tz): Parse negative time of day.
48811
48812 Document TZ transition times >= 25:00:00.
48813 * manual/time.texi (TZ Variable): Document transition times from
48814 25:00:00 through 167:59:59. These are already supported, and this
48815 support will help with version-3 tz-format files.
48816
48817 * manual/time.texi (TZ Variable): Modernize North America example
48818 to reflect current (i.e., 2007-and-later) daylight saving rules.
48819
48820 * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
48821
48822 2013-12-17 Joseph Myers <joseph@codesourcery.com>
48823
48824 * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
48825 * sysdeps/unix/bsd/bits/stat.h: Likewise.
48826 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
48827 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
48828 * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
48829 * sysdeps/unix/bsd/bsdstat.h: Likewise.
48830 * sysdeps/unix/bsd/clock.c: Likewise.
48831 * sysdeps/unix/bsd/i386/vfork.S: Likewise.
48832 * sysdeps/unix/bsd/i386/wait3.S: Likewise.
48833 * sysdeps/unix/bsd/init-posix.c: Likewise.
48834 * sysdeps/unix/bsd/poll.c: Likewise.
48835 * sysdeps/unix/bsd/ptsname.c: Likewise.
48836 * sysdeps/unix/bsd/seekdir.c: Likewise.
48837 * sysdeps/unix/bsd/setegid.c: Likewise.
48838 * sysdeps/unix/bsd/seteuid.c: Likewise.
48839 * sysdeps/unix/bsd/setgid.c: Likewise.
48840 * sysdeps/unix/bsd/setrgid.c: Likewise.
48841 * sysdeps/unix/bsd/setruid.c: Likewise.
48842 * sysdeps/unix/bsd/setsid.c: Likewise.
48843 * sysdeps/unix/bsd/setuid.c: Likewise.
48844 * sysdeps/unix/bsd/sigaction.c: Likewise.
48845 * sysdeps/unix/bsd/sigprocmask.c: Likewise.
48846 * sysdeps/unix/bsd/sigsuspend.c: Likewise.
48847 * sysdeps/unix/bsd/sys/reboot.h: Likewise.
48848 * sysdeps/unix/bsd/telldir.c: Likewise.
48849 * sysdeps/unix/bsd/times.c: Likewise.
48850 * sysdeps/unix/bsd/usleep.c: Likewise.
48851
48852 * misc/Makefile (install-lib): Remove libbsd-compat.a.
48853 ($(objpfx)libbsd-compat.a): Remove rule.
48854
48855 * include/features.h (__FAVOR_BSD): Do not define.
48856 * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
48857 features conflicting with POSIX.
48858 (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
48859 (_BSD_SOURCE): Remove description of not being a subset of other
48860 feature test macros.
48861 * manual/job.texi (getpgrp): Do not document BSD version.
48862 (getpgid): Do not document by reference to BSD getpgrp.
48863 * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
48864 * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
48865 * signal/signal.h [__FAVOR_BSD]: Likewise.
48866 * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
48867 instead of making contents conditional on [__FAVOR_BSD].
48868 * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
48869
48870 2013-12-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
48871
48872 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48873
48874 2013-12-17 Joseph Myers <joseph@codesourcery.com>
48875
48876 [BZ #16314]
48877 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
48878 values below 2**-450, not 2**-500.
48879 * math/auto-libm-test-in: Don't allow spurious underflow from
48880 hypot.
48881 * math/auto-libm-test-out: Regenerated.
48882
48883 [BZ #16316]
48884 [BZ #16330]
48885 * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
48886 values of ha and hb and sort them after adjusting subnormal
48887 arguments.
48888 * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
48889 Likewise.
48890 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
48891 values of ea and eb and sort them after adjusting subnormal
48892 arguments.
48893 * math/auto-libm-test-in: Do not expect some hypot tests of
48894 subnormals to fail. Add more hypot tests.
48895 * math/auto-libm-test-out: Regenerated.
48896
48897 2013-12-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
48898
48899 [BZ #13304]
48900 * sysdeps/sh/s_fma.c: New file.
48901 * sysdeps/sh/s_fmaf.c: New file.
48902 * sysdeps/sh/soft-fp/sfp-machine.h: New file. Based on arm
48903 version.
48904 * sysdeps/sh/Implies: Add sh/soft-fp.
48905
48906 2013-12-16 Roland McGrath <roland@hack.frob.com>
48907
48908 * elf/dl-error.c (struct catch): Add new member `errcode'. Add a
48909 level of indirection to members `objname', `errstring', `malloced'.
48910 (_dl_signal_error): Store through pointers in *LCATCH rather modifying
48911 *LCATCH itself. Set *LCATCH->errcode to ERRCODE rather than passing
48912 it as the __longjmp argument (just pass 1 instead).
48913 (_dl_catch_error): Initialize C with argument pointers and address of
48914 volatile local ERRCODE rather than copying values out of C at return.
48915
48916 2013-12-16 Joseph Myers <joseph@codesourcery.com>
48917
48918 * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
48919 * math/auto-libm-test-out: Regenerated.
48920 * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
48921 (hypot_test_data): Likewise.
48922 (pow_test_data): Likewise.
48923 (pow_tonearest_test_data): Likewise.
48924 * math/gen-auto-libm-tests.c (func_calc_method): Add value
48925 mpfr_ff_f.
48926 (func_calc_desc): Add mpfr_ff_f union field.
48927 (FUNC_mpfr_ff_f): New macro.
48928 (test_functions): Add atan2, hypot and pow.
48929 (special_fill_min): New function.
48930 (special_fill_minus_min): Likewise.
48931 (special_fill_min_subnorm): Likewise.
48932 (special_fill_minus_min_subnorm): Likewise.
48933 (special_real_inputs): Add min, -min, min_subnorm and
48934 -min_subnorm.
48935 (calc_generic_results): Handle mpfr_ff_f.
48936 * sysdeps/i386/fpu/libm-test-ulps: Update.
48937 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48938
48939 2013-12-16 Will Newton <will.newton@linaro.org>
48940
48941 * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
48942 (Aligned Memory Blocks): Add documentation for aligned_alloc
48943 and suggest it as an alternative to posix_memalign.
48944 (Hooks for Malloc): Document __memalign_hook is also called
48945 for aligned_alloc. (Summary of Malloc): Add summary for
48946 aligned alloc. Document __memalign_hook is also called
48947 for aligned_alloc.
48948
48949 2013-12-16 Will Newton <will.newton@linaro.org>
48950
48951 * manual/memory.texi (Malloc Examples): Clarify default
48952 alignment documentation. Suggest posix_memalign rather
48953 than memalign or valloc.
48954 (Aligned Memory Blocks): Remove suggestion to use memalign
48955 or valloc. Remove obsolete comment about BSD.
48956 Document memalign errno values and mark the function obsolete.
48957 Document posix_memalign returned error codes. Mark valloc
48958 as obsolete. (Hooks for Malloc): __memalign_hook is also
48959 called for posix_memalign and valloc.
48960 (Summary of Malloc): Add posix_memalign to function summary.
48961 __memalign_hook is also called for posix_memalign and valloc.
48962
48963 2013-12-16 Siddhesh Poyarekar <siddhesh@redhat.com>
48964
48965 * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
48966 TAYLOR_SIN.
48967 (__sin): Adjust.
48968 (__cos): Likewise.
48969 (sloww): Use mynumber union. Expand ternary operator into
48970 if-else statements.
48971 (cslow): use mynumber union.
48972
48973 2013-12-16 Allan McRae <allan@archlinux.org>
48974
48975 * configure.ac: Set AUTOCONF when maintainer-mode is not used.
48976 * configure: Regenerated.
48977
48978 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
48979
48980 [BZ #14120]
48981 * configure.ac: Added --enable-maintainer-mode. Check for
48982 autoconf when enabled.
48983 * configure: Regenerated.
48984
48985 * nscd/nscd.service: New file.
48986 * nscd/nscd.tmpfiles: New file.
48987
48988 2013-12-14 Ondřej Bílka <neleai@seznam.cz>
48989
48990 [BZ #12100]
48991 * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
48992 * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
48993 * sysdeps/x86_64/multiarch/strstr.c: ... here.
48994 (strstr): Add __strstr_sse2_unaligned ifunc.
48995 * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
48996 * sysdeps/x86_64/multiarch/strcasestr.c ... here.
48997 (strcasestr): Remove __strcasestr_sse42 ifunc.
48998 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
48999 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
49000 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
49001
49002 2013-12-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49003
49004 * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
49005 * sysdeps/sh/bits/fenv.h: ... here.
49006 * sysdeps/sh/sh4/fpu/bits: Remove directory.
49007
49008 2013-12-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49009
49010 * NEWS: Mention ppc64 STT_GNU_IFUNC support.
49011
49012 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
49013 hypotf multiarch implementations.
49014 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
49015 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
49016 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
49017 multiarch hypot for PPC64.
49018 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
49019 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
49020 * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
49021 multiarch hypotf for PPC64.
49022
49023 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
49024 modff multiarch implementations.
49025 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
49026 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
49027 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
49028 multiarch modf for PPC64.
49029 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
49030 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
49031 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
49032 multiarch modff for PPC64.
49033
49034 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
49035 and logl multiarch implementations.
49036 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
49037 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
49038 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
49039 multiarch logb for PPC64.
49040 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
49041 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
49042 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
49043 multiarch logb for PPC64.
49044 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
49045 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
49046 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
49047 multiarch logb for PPC64.
49048
49049 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
49050 isinff multiarch implementation.
49051 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
49052 file.
49053 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
49054 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
49055 multiarch isinf for PPC64.
49056 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
49057 file.
49058 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
49059 multiarch isinff for PPC64.
49060
49061 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
49062 finitef multiarch implementation.
49063 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
49064 file.
49065 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
49066 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
49067 multiarch finite for PPC64.
49068 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
49069 file.
49070 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
49071 multiarch finitef for PPC64.
49072
49073 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
49074 lrint multiarch implementation.
49075 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
49076 file.
49077 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
49078 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
49079 multiarch llrint for PPC64.
49080 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
49081 multiarch lrint for PPC64.
49082
49083 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
49084 copysignf multiarch implementation.
49085 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
49086 file.
49087 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
49088 file.
49089 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
49090 multiarch copysign for PPC64.
49091 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
49092 multiarch copysignf for PPC64.
49093
49094 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
49095 multiarch implementation.
49096 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
49097 file.
49098 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
49099 file.
49100 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
49101 file.
49102 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
49103 file.
49104 multiarch llround for PPC64.
49105 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
49106 multiarch trunc for PPC64.
49107 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
49108 multiarch truncf for PPC64.
49109
49110 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
49111 multiarch implementation.
49112 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
49113 file.
49114 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
49115 file.
49116 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
49117 file.
49118 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
49119 file.
49120 multiarch llround for PPC64.
49121 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
49122 multiarch round for PPC64.
49123 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
49124 multiarch roundf for PPC64.
49125
49126 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
49127 multiarch implementation.
49128 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
49129 file.
49130 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
49131 file.
49132 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
49133 file.
49134 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
49135 file.
49136 multiarch llround for PPC64.
49137 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
49138 multiarch floor for PPC64.
49139 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
49140 multiarch floorf for PPC64.
49141
49142 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
49143 multiarch implementation.
49144 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
49145 file.
49146 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
49147 file.
49148 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
49149 file.
49150 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
49151 file.
49152 multiarch llround for PPC64.
49153 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
49154 multiarch ceil for PPC64.
49155 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
49156 multiarch ceilf for PPC64.
49157
49158 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
49159 multiarch implementation.
49160 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
49161 file.
49162 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
49163 file.
49164 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
49165 file.
49166 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
49167 multiarch llround for PPC64.
49168 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
49169 multiarch lround for PPC64.
49170
49171 * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
49172 multiarch implementation.
49173 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
49174 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
49175 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
49176 file.
49177 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
49178 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
49179 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
49180 multiarch isnan for PPC64.
49181 * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
49182 multiarch isnanf for PPC64.
49183
49184 * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
49185 * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
49186 * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
49187 * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
49188 * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
49189 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
49190
49191 * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
49192 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
49193 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
49194 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
49195
49196 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
49197 multiarch implementations.
49198 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49199 (__libc_ifunc_impl_list): Likewise.
49200 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
49201 * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
49202 * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
49203 multiarch stpcpy for PPC64.
49204
49205 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
49206 multiarch implementations.
49207 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49208 (__libc_ifunc_impl_list): Likewise.
49209 * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
49210 * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
49211 * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
49212 multiarch strcpy for PPC64.
49213
49214 * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
49215 redefine function name.
49216 (_wordcopy_fwd_dest_aligned): Likewise.
49217 (_wordcopy_bwd_aligned): Likewise.
49218 (_wordcopy_bwd_dest_aligned): Likewise.
49219 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
49220 multiarch implementations.
49221 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49222 (__libc_ifunc_impl_list): Likewise.
49223 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
49224 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
49225 * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
49226 * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
49227 multiarch wcscpy for PPC64.
49228
49229 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
49230 multiarch implementations.
49231 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49232 (__libc_ifunc_impl_list): Likewise.
49233 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
49234 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
49235 * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
49236 * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
49237 multiarch wcscpy for PPC64.
49238
49239 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
49240 multiarch implementations.
49241 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49242 (__libc_ifunc_impl_list): Likewise.
49243 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
49244 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
49245 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
49246 * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
49247 multiarch wcsrchr for PPC64.
49248
49249 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
49250 multiarch implementations.
49251 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49252 (__libc_ifunc_impl_list): Likewise.
49253 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
49254 * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
49255 * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
49256 * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
49257 multiarch wcschr for PPC64.
49258
49259 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
49260 multiarch implementations.
49261 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49262 (__libc_ifunc_impl_list): Likewise.
49263 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
49264 * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
49265 * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
49266 multiarch strchrnul for PPC64.
49267
49268 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
49269 implementations.
49270 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49271 (__libc_ifunc_impl_list): Likewise.
49272 * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
49273 * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
49274 * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
49275 * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
49276 strchr for PPC64.
49277
49278 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
49279 implementations.
49280 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49281 (__libc_ifunc_impl_list): Likewise.
49282 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
49283 * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
49284 * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
49285 * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
49286 strncmp for PPC64.
49287
49288 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
49289 multiarch implementations.
49290 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49291 (__libc_ifunc_impl_list): Likewise.
49292 * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
49293 * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
49294 strncasecmp for PPC64.
49295 * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
49296 * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
49297 multiarch strncasecmp_l for PPC64.
49298
49299 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
49300 multiarch implementations.
49301 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49302 (__libc_ifunc_impl_list): Likewise.
49303 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
49304 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
49305 multiarch strcasecmp for PPC64.
49306 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
49307 file.
49308 * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
49309 multiarch strcasecmp_l for PPC64.
49310
49311 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
49312 implementations.
49313 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49314 (__libc_ifunc_impl_list): Likewise.
49315 * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
49316 * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
49317 * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
49318 strnlen for PPC64.
49319
49320 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
49321 implementations.
49322 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49323 (__libc_ifunc_impl_list): Likewise.
49324 * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
49325 * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
49326 * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
49327 strlen for PPC64.
49328
49329 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
49330 implementations.
49331 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49332 (__libc_ifunc_impl_list): Likewise.
49333 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
49334 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
49335 * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
49336 rawmemrchr for PPC64.
49337
49338 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
49339 implementation.
49340 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49341 (__libc_ifunc_impl_list): Likewise.
49342 * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
49343 * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
49344 * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
49345 memrchr for PPC64.
49346
49347 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
49348 implementation.
49349 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49350 (__libc_ifunc_impl_list): Likewise.
49351 * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
49352 * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
49353 * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
49354 memchr for PPC64.
49355
49356 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
49357 implementation.
49358 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49359 (__libc_ifunc_impl_list): Likewise.
49360 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
49361 * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
49362 * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
49363 mempcpy for PPC64.
49364
49365 * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
49366 avoid cretion of __bzero symbol.
49367 * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
49368 Likewise.
49369 * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
49370 Likewise.
49371 * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
49372 Likewise.
49373 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
49374 multiarch implementations.
49375 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49376 (__libc_ifunc_impl_list): Likewise.
49377 * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
49378 * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
49379 * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
49380 * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
49381 bzero for PPC32.
49382 * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
49383 * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
49384 * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
49385 * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
49386 * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
49387 memset for PPC64.
49388 * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
49389
49390 * string/memcmp.c (memcmp): Using macro to redefine symbol name.
49391 * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
49392 implementations.
49393 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
49394 (__libc_ifunc_impl_list): Likewise.
49395 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
49396 * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
49397 * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
49398 * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
49399 memcmp for PPC64.
49400
49401 * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
49402 multiarch for POWER/PPC64.
49403 * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
49404 * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
49405 * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
49406 * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
49407 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
49408 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
49409 * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
49410 * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
49411 * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
49412 memcpy for PPC64.
49413
49414 * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
49415 * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
49416 * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
49417 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
49418 * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
49419 * sysdeps/powerpc/powerpc64/power5/Implies: New File.
49420 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
49421 * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
49422 * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
49423 * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
49424 * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
49425 * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
49426 * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
49427 * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
49428 * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
49429 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
49430 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
49431 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
49432 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
49433 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
49434 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
49435 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
49436
49437 2013-12-12 Kaz Kojima <kkojima@rr.iij4u.or.jp>
49438
49439 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
49440
49441 2013-12-12 Siddhesh Poyarekar <siddhesh@redhat.com>
49442
49443 * benchtests/Makefile (bench): Add exp2 and log2.
49444 (LDLIBS-bench-exp2): Add -lm.
49445 (LDLIBS-bench-log2): Likewise.
49446 * benchtests/exp2-inputs: New inputs file.
49447 * benchtests/log2-inputs: New inputs file.
49448 * benchtests/log-inputs: Add new inputs.
49449 * benchtests/tan-inputs: Likewise.
49450
49451 2013-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
49452
49453 * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
49454 definition...
49455 (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
49456 (csloww2): ... from here.
49457
49458 * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
49459 instead of structures.
49460 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
49461 (POLYNOMIAL): Likewise.
49462 (TAYLOR_SLOW): Likewise.
49463 (__sin): Likewise.
49464 (__cos): Likewise.
49465 (slow1): Likewise.
49466 (slow2): Likewise.
49467 (sloww): Likewise.
49468 (sloww1); Likewise.
49469 (sloww2): Likewise.
49470 (bsloww1): Likewise.
49471 (bsloww2): Likewise.
49472 (cslow2): Likewise.
49473 (csloww): Likewise.
49474 (csloww1): Likewise.
49475 (csloww2): Likewise.
49476
49477 2013-12-10 Ondřej Bílka <neleai@seznam.cz>
49478
49479 * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
49480 (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
49481 Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
49482 * malloc/hooks.c (realloc_check): Likewise.
49483
49484 * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
49485 * malloc/arena.c: Remove PER_THREAD conditional.
49486 [!PER_THREAD]: Remove code.
49487 (ptmalloc_unlock_all2): Likewise.
49488 (ptmalloc_init): Likewise.
49489 (_int_new_arena): Likewise.
49490 (arena_get2): Likewise.
49491 * malloc/hooks.c (__malloc_get_state): Likewise.
49492 (__malloc_set_state): Likewise.
49493 * malloc/malloc.c: Likewise.
49494 (struct malloc_state): Likewise.
49495 (struct malloc_par): Likewise.
49496 (__libc_realloc): Likewise.
49497 (__libc_mallopt): Likewise.
49498
49499 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49500
49501 * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
49502
49503 2013-12-09 Ondřej Bílka <neleai@seznam.cz>
49504
49505 * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
49506 macro to a function. Check for zero perturb_byte.
49507 (_int_malloc, _int_free): Remove zero perturb_byte checks.
49508
49509 * malloc/malloc.c: (force_reg): Remove.
49510 (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
49511 (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
49512 force_reg by atomic_forced_read.
49513 * malloc/arena.c (ptmalloc_init): Likewise.
49514 * malloc/hooks.c (top_check): Likewise.
49515
49516 2013-12-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49517
49518 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
49519
49520 2013-12-09 Markus Trippelsdorf <markus@trippelsdorf.de>
49521
49522 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
49523
49524 2013-12-08 Joseph Myers <joseph@codesourcery.com>
49525
49526 * math/auto-libm-test-in: Add tests of lgamma.
49527 * math/auto-libm-test-out: Regenerated.
49528 * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
49529 (M_LOG_2_SQRT_PIl): Likewise.
49530 (lgamma_test_data): Use AUTO_TESTS_f_f1.
49531 * math/gen-auto-libm-tests.c (func_calc_method): Add value
49532 mpfr_f_f1.
49533 (func_calc_desc): Add mpfr_f_f1 union field.
49534 (ARGS1): New macro.
49535 (ARGS2): Likewise.
49536 (ARGS3): Likewise.
49537 (ARGS4): Likewise.
49538 (RET1): Likewise.
49539 (RET2): Likewise.
49540 (CALC): Likewise.
49541 (FUNC): Likewise.
49542 (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
49543 (test_functions): Add lgamma.
49544 (calc_generic_results): Handle mpfr_f_f1.
49545 * sysdeps/i386/fpu/libm-test-ulps: Update.
49546 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49547
49548 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49549
49550 * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
49551 __mpn_add_n for PowerPC64/POWER7.
49552 * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
49553 __mpn_sub_n for PowerPC64/POWER7.
49554
49555 * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
49556 __mpn_addmul_1 for PowerPC64.
49557 * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
49558 __mpn_submul_1 for PowerPC64.
49559 * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
49560 for PowerPC64.
49561 * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
49562 for PowerPC64.
49563
49564 2013-12-06 Fernando J. V. da Silva <fernandojvdasilva@gmail.com>
49565
49566 [BZ #15089]
49567 * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
49568
49569 2013-12-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
49570
49571 * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
49572
49573 * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
49574 add multiarch folders.
49575 * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
49576 * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
49577 * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
49578 * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
49579 * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
49580 * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
49581 * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
49582 * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
49583 * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
49584 * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
49585 * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
49586 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
49587 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
49588 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
49589 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
49590 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
49591 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
49592
49593 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49594 __ieee754_hypot and __ieee754_hypotf multiarch implementations.
49595 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
49596 New file.
49597 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
49598 New file.
49599 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
49600 multiarch __ieee754_hypot for PowerPC32.
49601 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
49602 New file.
49603 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
49604 New file.
49605 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
49606 multiarch __ieee754_hypotf for PowerPC32.
49607
49608 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
49609 long_double_symbol only if __logbl is defined.
49610 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
49611 * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
49612 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
49613 * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
49614 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
49615 * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
49616 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
49617 path for implementation.
49618 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
49619 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
49620 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
49621 logb, and logbl multiarch implementations for PowerPC32.
49622 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
49623 file.
49624 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
49625 file.
49626 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
49627 multiarch logb for PowerPC32.
49628 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
49629 file.
49630 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
49631 file.
49632 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
49633 multiarch logbf for PowerPC32.
49634 * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
49635 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
49636 file.
49637 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
49638 multiarch logbl implementation for PowerPC32.
49639
49640 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
49641 and modff multiarch implementations.
49642 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
49643 New file.
49644 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
49645 New file.
49646 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
49647 multiarch modf for PowerPC32.
49648 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
49649 New file.
49650 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
49651 New file.
49652 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
49653 multiarch modff for PowerPC32.
49654
49655 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
49656 and lrintf multiarch implementations.
49657 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
49658 New file.
49659 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
49660 New file.
49661 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
49662 multiarch lrint for PowerPC32.
49663 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
49664 file: multiarch lrintf for PowerPC32.
49665
49666 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
49667 and lroundf multiarch implementations.
49668 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
49669 New file.
49670 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
49671 New file.
49672 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
49673 New file.
49674 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
49675 multiarch lround for PowerPC32.
49676 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
49677 file: multiarch lroundf for PowerPC32.
49678
49679 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
49680 copysign and copysignf multiarch implementations.
49681 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
49682 New file.
49683 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
49684 New file.
49685 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
49686 file: multiarch copysign for PowerPC32.
49687 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
49688 file: multiarch copysignf for PowerPC32.
49689
49690 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
49691 and truncf multiarch implementations.
49692 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
49693 New file.
49694 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
49695 file.
49696 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
49697 multiarch trunc for PowerPC32.
49698 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
49699 New file.
49700 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
49701 New file.
49702 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
49703 multiarch truncf for PowerPC32.
49704
49705 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
49706 and roundf multiarch implementations.
49707 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
49708 New file.
49709 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
49710 file.
49711 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
49712 multiarch round for PowerPC32.
49713 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
49714 New file.
49715 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
49716 New file.
49717 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
49718 multiarch roundf for PowerPC32.
49719
49720 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
49721 and floorf multiarch implementations.
49722 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
49723 New file.
49724 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
49725 file.
49726 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
49727 multiarch floor for PowerPC32.
49728 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
49729 New file.
49730 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
49731 New file.
49732 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
49733 multiarch floorf for PowerPC32.
49734
49735 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
49736 and ceilf multiarch implementations.
49737 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
49738 New file.
49739 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
49740 file.
49741 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
49742 multiarch ceil for PowerPC32.
49743 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
49744 New file.
49745 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
49746 file.
49747 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
49748 multiarch ceilf for PowerPC32.
49749
49750 * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
49751 is defined.
49752 * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
49753 FINITEF is defined.
49754 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
49755 and finitef multiarch implementations.
49756 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
49757 New file.
49758 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
49759 file.
49760 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
49761 multiarch finite for PowerPC32.
49762 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
49763 New file.
49764 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
49765 file: multiarch finitef for PowerPC32.
49766
49767 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
49768 and isinff multiarch implementations.
49769 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
49770 file.
49771 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
49772 file.
49773 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
49774 multiarch isinf for PowerPC32.
49775 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
49776 New file.
49777 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
49778 multiarch isinff for PowerPC32.
49779
49780 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
49781 alias when __isnan is defined.
49782 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
49783 and isnanf multiarch implementations.
49784 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
49785 file.
49786 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
49787 file.
49788 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
49789 file.
49790 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
49791 file.
49792 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
49793 multiarch isnan for PowerPC32.
49794 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
49795 New file.
49796 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
49797 New file.
49798 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
49799 multiarch isnanf for PowerPC32.
49800
49801 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
49802 and sqrtf multiarch implementations.
49803 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
49804 file.
49805 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
49806 file.
49807 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
49808 multiarch sqrt for PowerPC32.
49809 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
49810 file.
49811 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
49812 file.
49813 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
49814 multiarch sqrtf for PowerPC32.
49815
49816 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
49817 and llroundf multiarch implementations.
49818 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
49819 New file.
49820 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
49821 New file.
49822 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
49823 New file.
49824 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
49825 file: multiarch llround for PowerPC32.
49826 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
49827 file: multiarch llroundf for PowerPC32.
49828
49829 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
49830 multiarch PowerPC32 fpu implementations.
49831 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
49832 New file.
49833 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
49834 New file.
49835 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
49836 multiarch llrint for PowerPC32.
49837 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
49838 New file.
49839 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
49840 New file.
49841 * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
49842 file.
49843
49844 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
49845
49846 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
49847 file.
49848 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
49849 file.
49850 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
49851 file.
49852 * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
49853 multiarch wordcopy for PPC32.
49854 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49855 wordcopy objects.
49856 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49857 (__libc_ifunc_impl_list): Likewise.
49858 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
49859 * sysdeps/powerpc/power4/wordcopy.c: ... to here.
49860 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
49861 * sysdeps/powerpc/power6/wordcopy.c: ... to here.
49862 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
49863 * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
49864
49865 * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
49866 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
49867 file.
49868 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
49869 file.
49870 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
49871 file.
49872 * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
49873 multiarch wcscpy for PPC32.
49874 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
49875 multiarch objects.
49876 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49877 (__libc_ifunc_impl_list): Likewise.
49878 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49879 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49880 * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
49881 sysdeps/powerpc/power6/wcscpy.c.
49882
49883 * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
49884 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
49885 file.
49886 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
49887 file.
49888 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
49889 file.
49890 * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
49891 multiarch wcsrchr for PPC32.
49892 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49893 multiarch objects.
49894 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49895 (__libc_ifunc_impl_list): Likewise.
49896 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
49897 * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
49898 * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
49899 sysdeps/powerpc/power6/wcsrchr.c.
49900
49901 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
49902 file.
49903 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
49904 file.
49905 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
49906 * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
49907 multiarch wcschr for PPc32.
49908 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
49909 multiarch objects.
49910 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49911 (__libc_ifunc_impl_list): Likewise.
49912 * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
49913 * sysdeps/powerpc/power6/wcschr.c: ... to here.
49914 * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
49915 sysdeps/powerpc/power6/wcschr.c.
49916
49917 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
49918 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
49919 file.
49920 * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
49921 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
49922 file: multiarch strchr for PPC32.
49923 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
49924 multiarch objects.
49925 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49926 (__libc_ifunc_impl_list): Likewise.
49927
49928 * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
49929 name.
49930 * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
49931 file.
49932 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
49933 file.
49934 * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
49935 multiarch strchrnul for PPC32.
49936 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
49937 multiarch objects.
49938 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49939 (__libc_ifunc_impl_list): Likewise.
49940
49941 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
49942 file.
49943 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
49944 multiarch strncasecmp for PPC32.
49945 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
49946 file.
49947 * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
49948 multiarch strncasecmp_l for PPC32.
49949 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
49950 strncasecmp multiarch objects.
49951 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49952 (__libc_ifunc_impl_list): Likewise.
49953
49954 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
49955 file.
49956 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
49957 multiarch strncasecmp for PPC32.
49958 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
49959 New file.
49960 * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
49961 multiarch strcasecmp_l for PPC32.
49962 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
49963 multiarch objects.
49964 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49965 (__libc_ifunc_impl_list): Likewise.
49966
49967 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
49968 file.
49969 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
49970 file.
49971 * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
49972 multiarch strncmp for PPC32.
49973 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
49974 multiarch objects.
49975 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49976 (__libc_ifunc_impl_list): Likewise.
49977
49978 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
49979 * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
49980 file.
49981 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
49982 * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
49983 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
49984 multiarch objects.
49985 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49986 (__libc_ifunc_impl_list): Likewise.
49987
49988 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
49989 file.
49990 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
49991 file.
49992 * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
49993 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
49994 multiarch objects.
49995 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
49996 (__libc_ifunc_impl_list): Likewise.
49997
49998 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
49999 file.
50000 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
50001 file.
50002 * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
50003 multiarch rawmemchr for PPC32.
50004 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
50005 multiarch objects.
50006 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50007 (__libc_ifunc_impl_list): Likewise.
50008
50009 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
50010 file.
50011 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
50012 file.
50013 * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
50014 file: memrchr multiarch for PPC32.
50015 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
50016 multiarch objects.
50017 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
50018 (__libc_ifunc_impl_list): Likewise.
50019
50020 * string/memchr.c (__memchr): Using macro to redefine symbol name.
50021 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
50022 file.
50023 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
50024 * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
50025 multiarch memchr for PPC32.
50026 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
50027 multiarch objects.
50028 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50029 (__libc_ifunc_impl_list): Likewise.
50030
50031 * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
50032 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
50033 file.
50034 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
50035 file.
50036 * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
50037 file: multiarch mempcpy for PPC32.
50038 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
50039 multiarch objects.
50040 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50041 (__libc_ifunc_impl_list): Likewise.
50042
50043 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power6.S: New file.
50044 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
50045 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
50046 * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
50047 multiarch bzero for PPC32.
50048 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
50049 file.
50050 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
50051 file.
50052 * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
50053 * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
50054 file: multiarch memset for PPC32.
50055 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
50056 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
50057 memset multiarch objects.
50058 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50059 (__libc_ifunc_impl_list): Likewise.
50060
50061 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
50062 file.
50063 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
50064 * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
50065 memcmp for PPC32.
50066 * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
50067 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
50068 multiarch objects.
50069 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50070 (__libc_ifunc_impl_list): Likewise.
50071
50072 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
50073 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
50074 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
50075 file.
50076 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
50077 file.
50078 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
50079 file.
50080 * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
50081 multiarch memcpy for PPC32.
50082 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
50083 multiarch objects.
50084 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
50085 (__libc_ifunc_impl_list): Likewise.
50086
50087 * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
50088 support multiarch for POWER/PPC32.
50089 * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
50090 Likewise.
50091 * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
50092 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
50093 Implies file to make multiarch folder appers before the fpu and
50094 default folder for power4 configuration.
50095
50096 2013-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
50097
50098 * scripts/bench.pl: Append volatile keyword to type.
50099
50100 2013-12-05 Kaz Kojima <kkojima@rr.iij4u.or.jp>
50101
50102 * sysdeps/sh/sotruss-lib.c: New file.
50103 * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
50104
50105 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50106
50107 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50108
50109 2013-12-05 Joseph Myers <joseph@codesourcery.com>
50110
50111 [BZ #6810]
50112 * math/w_tgamma.c: Include <errno.h>.
50113 (__tgamma): Use __glibc_unlikely. Set errno on underflow to 0.
50114 * math/w_tgammaf.c: Include <errno.h>.
50115 (__tgammaf): Use __glibc_unlikely. Set errno on underflow to 0.
50116 * math/w_tgammal.c: Include <errno.h>.
50117 (__tgammal): Use __glibc_unlikely. Set errno on underflow to 0.
50118 * math/auto-libm-test-in: Do not allow missing errno on tgamma
50119 underflow. Add more tgamma tests.
50120 * math/auto-libm-test-out: Regenerated.
50121 * sysdeps/i386/fpu/libm-test-ulps: Update.
50122 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50123
50124 * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
50125 sin, sinh, tan, tanh, tgamma, y0 and y1.
50126 * math/auto-libm-test-out: Regenerated.
50127 * math/libm-test.inc (TEST_COND_x86_64): New macro.
50128 (TEST_COND_x86): Likewise.
50129 (M_E2l): Remove macro.
50130 (M_E3l): Likewise.
50131 (M_2_SQRT_PIl): Likewise.
50132 (M_SQRT_PIl): Likewise.
50133 (M_1_DIV_El): Likewise.
50134 (log_test_data): Use AUTO_TESTS_f_f.
50135 (log10_test_data): Likewise.
50136 (log1p_test_data): Likewise.
50137 (log2_test_data): Likewise.
50138 (sin_test_data): Likewise.
50139 (sin_tonearest_test_data): Likewise.
50140 (sin_towardzero_test_data): Likewise.
50141 (sin_downward_test_data): Likewise.
50142 (sin_upward_test_data): Likewise.
50143 (sinh_test_data): Likewise.
50144 (sinh_tonearest_test_data): Likewise.
50145 (sinh_towardzero_test_data): Likewise.
50146 (sinh_downward_test_data): Likewise.
50147 (sinh_upward_test_data): Likewise.
50148 (tan_test_data): Likewise.
50149 (tan_tonearest_test_data): Likewise.
50150 (tan_towardzero_test_data): Likewise.
50151 (tan_downward_test_data): Likewise.
50152 (tan_upward_test_data): Likewise.
50153 (tanh_test_data): Likewise.
50154 (tgamma_test_data): Likewise.
50155 (y0_test_data): Likewise.
50156 (y1_test_data): Likewise.
50157 * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
50158 (special_real_inputs): Add pi/4.
50159 * sysdeps/i386/fpu/libm-test-ulps: Update.
50160 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50161
50162 2013-12-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50163
50164 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
50165 "longjmp_target" static probes.
50166 (__longjmp): Rename to __longjmp_symbol.
50167 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
50168 * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
50169 on which longjmp to generate.
50170 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
50171 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
50172 probe.
50173 (__sigsetjmp): Rename to __sigsetjmp_symbol.
50174 (__sigjmp_save): Rename to __sigjmp_save_symbol.
50175 * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
50176 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
50177 and __sigjmp_save_symbol based on which sigsetjmp to generated.
50178 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
50179 * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
50180 __longjmp_symbol based on which __longjmp to generate.
50181 * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
50182 probe.
50183 (setjmp): Rename to setjmp_symbol.
50184 (__sigsetjmp): Rename to __sigsetjmp_symbol.
50185 (_setjmp): Rename to _setjmp_symbol.
50186 (__sigsetjmp): Rename to __sigsetjmp_symbol.
50187 * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
50188 _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
50189 which setjmp to generate.
50190 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
50191 "longjmp_target" static probes.
50192
50193 2013-12-05 Siddhesh Poyarekar <siddhesh@redhat.com>
50194
50195 * benchtests/README: Add note about output arguments.
50196 * benchtests/bench-sincos.c: Remove file.
50197 * benchtests/sincos-inputs: New file.
50198 * scripts/bench.pl: Identify output arguments and define
50199 static variables for them.
50200
50201 * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
50202
50203 [BZ #15941]
50204 * Makefile (INSTALL): Add install-plain.texi as the primary
50205 dependency.
50206 * manual/install-plain.texi: New file.
50207 * manual/install.texi: Include node directive only for
50208 non-plaintext output.
50209
50210 2013-12-04 Joseph Myers <joseph@codesourcery.com>
50211
50212 * stdlib/longlong.h: Update from GCC.
50213
50214 [BZ #6807]
50215 [BZ #15901]
50216 * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
50217 * math/w_j0f.c (y0f): Likewise.
50218 * math/w_j0l.c (__y0l): Likewise.
50219 * math/w_j1.c (y1): Likewise.
50220 * math/w_j1f.c (y1f): Likewise.
50221 * math/w_j1l.c (__y1l): Likewise.
50222 * math/w_jn.c (yn): Likewise.
50223 * math/w_jnf.c (ynf): Likewise.
50224 * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
50225 Bessel function pole errors in _POSIX_ mode. Use NAN as return
50226 value for Bessel function domain errors outside _SVID_ mode.
50227 Adjust sign of return value for yn (negative integer, 0).
50228 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
50229 by zero in return for negative x and set sign appropriately for
50230 negative n.
50231 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
50232 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
50233 * math/libm-test.inc (y0_test_data): Add more tests and adjust
50234 expectations in error cases.
50235 (y1_test_data): Likewise.
50236 (yn_test_data): Likewise.
50237 * sysdeps/i386/fpu/libm-test-ulps: Update.
50238 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50239
50240 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50241
50242 * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
50243 "64" to "64-v1". Add "64-v2".
50244 (abi-64-options): Rename to ...
50245 (abi-64-v1-options): ... this. Redefine _CALL_ELF.
50246 (abi-64-condition): Rename to ...
50247 (abi-64-v1-condition): ... this. Add _CALL_ELF check.,
50248 (abi-64-ld-soname): Rename to ...
50249 (abi-64-v1-ld-soname): ... this.
50250 (abi-64-v2-options): Define.
50251 (abi-64-v2-condition): Likewise.
50252 (abi-64-v2-ld-soname): Likewise.
50253 * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
50254 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
50255 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
50256 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
50257 * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
50258
50259 2013-11-12 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50260 Alan Modra <amodra@gmail.com>
50261
50262 * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
50263 New versions for use with the ELFv2 ABI.
50264 (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
50265 * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
50266 declaration.
50267 (struct La_ppc64v2_retval): Likewise.
50268 (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
50269 (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
50270 * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
50271 to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
50272 (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
50273 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
50274 Do not save or restore CR.
50275 (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
50276 (_dl_profile_resolve): Do no save or restore CR. Support extended
50277 return values for ELFv2 ABI. Fix location of FPR return registers.
50278 * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
50279 updated values for _CALL_ELF == 2.
50280 (La_regs, La_retval, int_retval): Likewise.
50281
50282 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50283
50284 * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
50285 (FRAME_MIN_SIZE_PARM): Likewise.
50286 (FRAME_BACKCHAIN): Likewise.
50287 (FRAME_CR_SAVE): Likewise.
50288 (FRAME_LR_SAVE): Likewise.
50289 (FRAME_TOC_SAVE): Likewise.
50290 (FRAME_PARM_SAVE): Likewise.
50291 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
50292 FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
50293 FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
50294 (call_mcount_parm_offset): New macro.
50295 (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
50296 (PROF): Use symbolic stack frame offsets.
50297 (TAIL_CALL_SYSCALL_ERROR): Likewise.
50298 * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
50299 Redefine in terms of FRAME_MIN_SIZE.
50300 (_dl_runtime_resolve): Use symbolic stack frame offsets.
50301 (_dl_profile_resolve): Likewise. Update comment.
50302 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
50303 symbols stack frame offsets.
50304 (__sigsetjmp): Likewise.
50305 * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
50306 * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
50307 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
50308 * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
50309
50310 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
50311 (FRAME_BACKCHAIN): Remove.
50312 (FRAME_CR_SAVE): Likewise.
50313 (FRAME_LR_SAVE): Likewise.
50314 (FRAME_COMPILER_DW): Likewise.
50315 (FRAME_LINKER_DW): Likewise.
50316 (FRAME_TOC_SAVE): Likewise.
50317 (FRAME_PARM_SAVE): Likewise.
50318 (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
50319 (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
50320 (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
50321 * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
50322 (CHECK_SP): Use symbolic stack frame offsets.
50323 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
50324 zone" instead of caller's parameter save area for temp storage.
50325 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
50326 Likewise. Also, use symbolic stack frame offsets.
50327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
50328 stackblock): Redefine for _CALL_ELF == 2 to save parameters into
50329 our own stack frame instead of the caller's.
50330 (__socket): Use symbolic stack frame offsets.
50331
50332 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50333 Alan Modra <amodra@gmail.com>
50334
50335 * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
50336 Define.
50337 (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
50338 (PPC64_LOCAL_ENTRY_OFFSET): Define.
50339 * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
50340 New function.
50341 (elf_machine_fixup_plt): Call it.
50342 (elf_machine_plt_conflict): Likewise. Add map, sym_map, and
50343 reloc arguments.
50344 (elf_machine_rela): Update call to elf_machine_plt_conflict.
50345 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
50346 (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
50347 r2 before calling target.
50348
50349 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50350 Alan Modra <amodra@gmail.com>
50351
50352 * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
50353 (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
50354 versions of macros to support ELFv2 ABI.
50355 (LOCALENTRY): New macro.
50356 (ENTRY, EALIGN): Use it.
50357 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
50358 * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
50359 fall through into ENTRY entry point.
50360 * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
50361 Only define if _CALL_ELF != 2.
50362
50363 (elf_machine_matches_host): Verify ABI version matches.
50364 (RTLD_START): Use LOCALENTRY.
50365 (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
50366 (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
50367 (PLT_ENTRY_WORDS): New macro.
50368 (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
50369 (elf_machine_runtime_setup): Support ELFv2 ABI.
50370 (elf_machine_fixup_plt): Likewise.
50371 (elf_machine_plt_conflict): Likewise.
50372 (resolve_ifunc): Likewise.
50373 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
50374 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
50375 Likewise.
50376 * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
50377 (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
50378 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50379 (makecontext): Support ELFv2 ABI.
50380 * elf/elf.h (EF_PPC64_ABI): Define.
50381
50382 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50383
50384 * sysdeps/powerpc/powerpc64/sysdep.h
50385 (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
50386 (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
50387 (ENTRY) [ASSEMBLER]: ... but instead here ...
50388 (EALIGN) [ASSEMBLER]: ... and here.
50389 (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
50390 (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
50391 (ENTRY_2) [!ASSEMBLER]: Use it.
50392 * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
50393 ENTRY_2 changes. Use PPC64_LOAD_FUNCPTR.
50394 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
50395 (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
50396 * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
50397 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
50398 Use PPC64_LOAD_FUNCPTR.
50399
50400 * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
50401
50402 2013-12-04 Alan Modra <amodra@gmail.com>
50403
50404 * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
50405 (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
50406 (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
50407 (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
50408
50409 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
50410 overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
50411 R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
50412 Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
50413 R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
50414 Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
50415
50416 2013-12-04 Ulrich Weigand <Ulrich.Weigand@de.ibm.com>
50417
50418 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
50419 (__makecontext): Fix incorrect CFI when backtracing out of
50420 context created via makecontext.
50421 * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
50422 (__setcontext): Fix incorrect CFI during switch to new context.
50423 (__novec_setcontext): Likewise.
50424
50425 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
50426
50427 [BZ #4772]
50428 * time/strptime_l.c (__strptime_internal): Allow modifiers
50429 in strptime.
50430 * time/tst-strptime.c (day_tests): Add testcase.
50431
50432 2013-12-04 Siddhesh Poyarekar <siddhesh@redhat.com>
50433
50434 * scripts/bench.pl: Skip over blank lines.
50435
50436 2013-12-04 Paul Eggert <eggert@cs.ucla.edu>
50437
50438 [BZ #926]
50439 * manual/time.texi (Calendar Time): Clarify what timezone functions
50440 use.
50441
50442 2013-12-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50443
50444 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50445
50446 2013-12-04 Ondřej Bílka <neleai@seznam.cz>
50447
50448 * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
50449 implementation.
50450 * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
50451 * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
50452 * debug/memset_chk.c (__memset_chk): Likewise.
50453 * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
50454 * debug/strncpy_chk.c: Likewise.
50455
50456 2013-12-03 Joseph Myers <joseph@codesourcery.com>
50457
50458 [BZ #15268]
50459 [BZ #15425]
50460 * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
50461 (__ieee754_exp): For possibly underflowing results, check size of
50462 result and force underflow exception if required.
50463 * math/auto-libm-test-in: Add more tests of exp.
50464 * math/auto-libm-test-out: Regenerated.
50465 * sysdeps/i386/fpu/libm-test-ulps: Update.
50466 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50467
50468 [BZ #16283]
50469 * math/w_exp2.c (__exp2): Handle a zero result as underflow.
50470 * math/w_exp2f.c (__exp2f): Likewise.
50471 * math/w_exp2l.c (__exp2l): Likewise.
50472 * math/auto-libm-test-in: Do not allow missing errno on exp2
50473 underflow.
50474 * math/auto-libm-test-out: Regenerated.
50475
50476 2013-12-03 Ondřej Bílka <neleai@seznam.cz>
50477
50478 [BZ #16274]
50479 * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
50480 handle filename validation.
50481 * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
50482 (do_open): Delete.
50483
50484 2013-12-03 Joseph Myers <joseph@codesourcery.com>
50485
50486 [BZ #6786]
50487 * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
50488 (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
50489 * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
50490 <float.h>.
50491 (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
50492 * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
50493 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50494 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
50495 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50496 * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
50497 (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
50498 * math/auto-libm-test-in: Don't allow missing errno from erfc.
50499 Add more erfc tests.
50500 * math/auto-libm-test-out: Regenerated.
50501 * sysdeps/i386/fpu/libm-test-ulps: Update.
50502 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50503
50504 * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
50505 exp2, expm1, j0 and j1.
50506 * math/auto-libm-test-out: Regenerated.
50507 * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
50508 (erfc_test_data): Likewise.
50509 (exp_test_data): Likewise.
50510 (exp_tonearest_test_data): Likewise.
50511 (exp_towardzero_test_data): Likewise.
50512 (exp_downward_test_data): Likewise.
50513 (exp_upward_test_data): Likewise.
50514 (exp10_test_data): Likewise.
50515 (exp2_test_data): Likewise.
50516 (expm1_test_data): Likewise.
50517 (j0_test_data): Likewise.
50518 (j1_test_data): Likewise.
50519 * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
50520 (input_flag_type): Add flag_xfail_rounding.
50521 (input_flags): Add xfail-rounding.
50522 (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
50523 (output_for_one_input_case): Handle flag_xfail_rounding.
50524 * sysdeps/i386/fpu/libm-test-ulps: Update.
50525 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50526
50527 2013-12-03 Aurelien Jarno <aurelien@aurel32.net>
50528
50529 [BZ #16289]
50530 * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
50531 division by 0.
50532
50533 2013-12-03 Siddhesh Poyarekar <siddhesh@redhat.com>
50534
50535 [BZ #16195]
50536 * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
50537 (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
50538 (STAP_PROBE0): New macro.
50539 (STAP_PROBE1): Likewise.
50540 (STAP_PROBE2): Likewise.
50541 (STAP_PROBE3): Likewise.
50542 (STAP_PROBE4): Likewise.
50543
50544 2013-12-02 Ondřej Bílka <neleai@seznam.cz>
50545
50546 * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
50547
50548 2013-12-02 Steve Ellcey <sellcey@mips.com>
50549
50550 * benchtests/Makefile (bench): Add sqrt.
50551 (LDLIBS-bench-sqrt): New.
50552 * benchtests/sqrt-input: New.
50553
50554 2013-12-02 Pavel Simerda <psimerda@redhat.com>
50555
50556 * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
50557 (GAIH_EAI): Likewise.
50558 (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
50559 (gaih_inet): Likewise.
50560 (getaddrinfo): Don't use GAIH_EAI.
50561
50562 * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
50563 (struct gaih): Remove definition.
50564
50565 2013-12-02 Siddhesh Poyarekar <siddhesh@redhat.com>
50566
50567 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
50568 Use HERRNOP directly.
50569
50570 2013-12-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50571
50572 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50573
50574 2013-11-30 Joseph Myers <joseph@codesourcery.com>
50575
50576 * math/gen-auto-libm-tests.c (test_functions): Add more
50577 single-argument functions.
50578 (special_fill_pi_2): New function.
50579 (special_fill_minus_pi_2): Likewise.
50580 (special_fill_pi_6): Likewise.
50581 (special_fill_minus_pi_6): Likewise.
50582 (special_fill_pi_3): Likewise.
50583 (special_fill_2pi_3): Likewise.
50584 (special_fill_e): Likewise.
50585 (special_fill_1_e): Likewise.
50586 (special_fill_e_minus_1): Likewise.
50587 (special_real_inputs): Add more special inputs.
50588 (output_for_one_input_case): Do not require ERANGE on underflow to
50589 zero if round-to-nearest result does not underflow to zero, unless
50590 exact results required.
50591 * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
50592 atan, atanh, cbrt, cos and cosh.
50593 * math/auto-libm-test-out: Regenerated.
50594 * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
50595 (acos_tonearest_test_data): Likewise.
50596 (acos_towardzero_test_data): Likewise.
50597 (acos_downward_test_data): Likewise.
50598 (acos_upward_test_data): Likewise.
50599 (acosh_test_data): Likewise.
50600 (asin_test_data): Likewise.
50601 (asin_tonearest_test_data): Likewise.
50602 (asin_towardzero_test_data): Likewise.
50603 (asin_upward_test_data): Likewise.
50604 (asinh_test_data): Likewise.
50605 (atan_test_data): Likewise.
50606 (atanh_test_data): Likewise.
50607 (cbrt_test_data): Likewise.
50608 (cos_test_data): Likewise.
50609 (cos_tonearest_test_data): Likewise.
50610 (cos_towardzero_test_data): Likewise.
50611 (cos_downward_test_data): Likewise.
50612 (cos_upward_test_data): Likewise.
50613 (cosh_test_data): Likewise.
50614 (cosh_tonearest_test_data): Likewise.
50615 (cosh_towardzero_test_data): Likewise.
50616 (cosh_downward_test_data): Likewise.
50617 (cosh_upward_test_data): Likewise.
50618 * sysdeps/i386/fpu/libm-test-ulps: Update.
50619 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50620
50621 2013-11-29 Joseph Myers <joseph@codesourcery.com>
50622
50623 [BZ #6787]
50624 * math/w_exp10.c (__exp10): Handle a zero result as underflow.
50625 * math/w_exp10f.c (__exp10f): Likewise.
50626 * math/w_exp10l.c (__exp10l): Likewise.
50627 * math/libm-test.inc (exp10_test_data): Add more tests and expect
50628 errno settings in existing tests.
50629
50630 [BZ #14032]
50631 * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
50632 precision control set to double precision.
50633 * sysdeps/i386/fpu/w_sqrt.c: New file.
50634 * math/auto-libm-test-in: Add more tests.
50635 * math/auto-libm-test-out: Update.
50636
50637 * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
50638 (sqrt_test_tonearest): New function.
50639 (sqrt_towardzero_test_data): New variable.
50640 (sqrt_test_towardzero): New function.
50641 (sqrt_downward_test_data): New variable.
50642 (sqrt_test_downward): New function.
50643 (sqrt_upward_test_data): New variable.
50644 (sqrt_test_upward): New function.
50645 (main): Call the new functions.
50646
50647 * math/gen-auto-libm-tests.c: New file.
50648 * math/auto-libm-test-in: Likewise.
50649 * math/auto-libm-test-out: New generated file.
50650 * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
50651 variables.
50652 (%beautify): Add generated representations of zero.
50653 (top level): Set $auto_input and call parse_auto_input.
50654 (beautify): Remove trailing "f" from hex float constants.
50655 (parse_args): Handle XFAIL_TEST.
50656 (convert_condition): New function.
50657 (or_value): Likewise.
50658 (or_cond_value): Likewise.
50659 (generate_testfile): Handle AUTO_TESTS_* lines.
50660 (parse_auto_input): New function.
50661 * math/libm-test.inc (XFAIL_TEST): New macro.
50662 (ERRNO_UNCHANGED): Update value.
50663 (ERRNO_EDOM): Likewise.
50664 (ERRNO_ERANGE): Likewise.
50665 (IGNORE_RESULT): Likewise.
50666 (TEST_COND_flt_32): New macro.
50667 (TEST_COND_dbl_64): Likewise.
50668 (TEST_COND_ldbl_96_intel): Likewise.
50669 (TEST_COND_ldbl_96_m68k): Likewise.
50670 (TEST_COND_ldbl_128): Likewise.
50671 (TEST_COND_ldbl_128ibm): Likewise.
50672 (TEST_COND_long32): Likewise.
50673 (TEST_COND_long64): Likewise.
50674 (TEST_COND_before_rounding): Likewise.
50675 (TEST_COND_after_rounding): Likewise.
50676 (enable_test): Handle XFAIL_TEST flag.
50677 (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
50678 with finite results.
50679 * math/Makefile ($(objpfx)libm-test.stmp): Depend on
50680 auto-libm-test-out.
50681
50682 2013-11-29 Siddhesh Poyarekar <siddhesh@redhat.com>
50683 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
50684
50685 [BZ #16214]
50686 * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
50687 __tls_get_addr_internal instead of __tls_get_offset in order to
50688 avoid GOT pointer dependency. Make rtld export
50689 __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
50690 __tls_get_addr since we are a __tls_get_offset platform.
50691 * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
50692 GOT pointer being set up before.
50693 * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
50694
50695 2013-11-28 Joseph Myers <joseph@codesourcery.com>
50696
50697 * manual/math.texi (Errors in Math Functions): Document accuracy
50698 goals.
50699
50700 [BZ #15004]
50701 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
50702 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
50703 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
50704 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
50705 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
50706 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
50707 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
50708 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
50709 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
50710 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
50711 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
50712 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
50713 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
50714 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
50715 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
50716 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
50717
50718 * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
50719 * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
50720 * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
50721 * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
50722 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
50723 Likewise.
50724 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
50725 Likewise.
50726 * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
50727 Likewise.
50728 * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
50729 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
50730 (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
50731 atomic-feupdateenv and flt-rounds.
50732 * sysdeps/powerpc/nofpu/Versions (libc): Add
50733 __atomic_feholdexcept, __atomic_feclearexcept,
50734 __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
50735 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
50736 (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
50737 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
50738 (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
50739 here.
50740 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
50741 Update.
50742
50743 * manual/arith.texi (FP Exceptions): Document that exceptions may
50744 not be raised when matherr is used.
50745 (Math Error Reporting): Document overflow in directed rounding
50746 modes. Document that errno may not be set when finite values are
50747 returned on overflow. Document intent to set errno on underflow
50748 only for underflow to zero.
50749
50750 [BZ #16271]
50751 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
50752 round-to-nearest then adjust result for other rounding modes.
50753 * include/fenv.h (fegetround): Use libm_hidden_proto.
50754 * math/fegetround.c (fegetround): Use libm_hidden_def.
50755 * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
50756 * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
50757 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
50758 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
50759 Likewise.
50760 * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
50761 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
50762 * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
50763 * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
50764
50765 2013-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
50766
50767 [BZ #16077]
50768 * nss/Versions (libnss_files): Add
50769 _nss_files_gethostbyname3_r.
50770 * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
50771 New function.
50772 (HOST_DB_LOOKUP): Remove macro.
50773 (_nss_files_gethostbyname_r): Implement function without the
50774 HOST_DB_LOOKUP macro.
50775 (_nss_files_gethostbyname2_r): Likewise.
50776
50777 2013-11-28 Ondřej Bílka <neleai@seznam.cz>
50778
50779 * malloc/malloc.c (__libc_calloc): Make memset a tail call.
50780
50781 2013-11-26 Uros Bizjak <ubizjak@gmail.com>
50782
50783 * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
50784 _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
50785 warning.
50786
50787 2013-11-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50788
50789 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
50790 __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
50791 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
50792 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
50793 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
50794 __fe_nomask_env_priv and attribute_hidden.
50795 * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
50796 (libc_feupdateenv_test_ppc): Likewise.
50797 (libc_feresetround_ppc): Likewise.
50798 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
50799 (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
50800 compat_symbol macro.
50801 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
50802 (__fe_nomask_env): Likewise.
50803 * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
50804
50805 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50806
50807 * string/Makefile: Remove ifunc tests.
50808 * string/test-string.h: Define TEST_IFUNC.
50809 * string/test-bcopy-ifunc.c: Remove.
50810 * string/test-bzero-ifunc.c: Likewise.
50811 * string/test-memccpy-ifunc.c: Likewise.
50812 * string/test-memchr-ifunc.c: Likewise.
50813 * string/test-memcmp-ifunc.c: Likewise.
50814 * string/test-memcpy-ifunc.c: Likewise.
50815 * string/test-memmem-ifunc.c: Likewise.
50816 * string/test-memmove-ifunc.c: Likewise.
50817 * string/test-mempcpy-ifunc.c: Likewise.
50818 * string/test-memrchr-ifunc.c: Likewise.
50819 * string/test-memset-ifunc.c: Likewise.
50820 * string/test-rawmemchr-ifunc.c: Likewise.
50821 * string/test-stpcpy-ifunc.c: Likewise.
50822 * string/test-stpncpy-ifunc.c: Likewise.
50823 * string/test-strcasecmp-ifunc.c: Likewise.
50824 * string/test-strcasestr-ifunc.c: Likewise.
50825 * string/test-strcat-ifunc.c: Likewise.
50826 * string/test-strchr-ifunc.c: Likewise.
50827 * string/test-strchrnul-ifunc.c: Likewise.
50828 * string/test-strcmp-ifunc.c: Likewise.
50829 * string/test-strcpy-ifunc.c: Likewise.
50830 * string/test-strcspn-ifunc.c: Likewise.
50831 * string/test-strlen-ifunc.c: Likewise.
50832 * string/test-strncasecmp-ifunc.c: Likewise.
50833 * string/test-strncat-ifunc.c: Likewise.
50834 * string/test-strncmp-ifunc.c: Likewise.
50835 * string/test-strncpy-ifunc.c: Likewise.
50836 * string/test-strnlen-ifunc.c: Likewise.
50837 * string/test-strpbrk-ifunc.c: Likewise.
50838 * string/test-strrchr-ifunc.c: Likewise.
50839 * string/test-strspn-ifunc.c: Likewise.
50840 * string/test-strstr-ifunc.c: Likewise.
50841
50842 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50843
50844 * benchtests/Makefile: Remove ifunc tests.
50845 * benchtests/bench-string.h: Define TEST_IFUNC.
50846 * benchtests/bench-bcopy-ifunc.c: Remove.
50847 * benchtests/bench-bzero-ifunc.c: Likewise.
50848 * benchtests/bench-memccpy-ifunc.c: Likewise.
50849 * benchtests/bench-memchr-ifunc.c: Likewise.
50850 * benchtests/bench-memcmp-ifunc.c: Likewise.
50851 * benchtests/bench-memcpy-ifunc.c: Likewise.
50852 * benchtests/bench-memmem-ifunc.c: Likewise.
50853 * benchtests/bench-memmove-ifunc.c: Likewise.
50854 * benchtests/bench-mempcpy-ifunc.c: Likewise.
50855 * benchtests/bench-memrchr-ifunc.c: Likewise.
50856 * benchtests/bench-memset-ifunc.c: Likewise.
50857 * benchtests/bench-rawmemchr-ifunc.c: Likewise.
50858 * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
50859 * benchtests/bench-stpcpy-ifunc.c: Likewise.
50860 * benchtests/bench-stpncpy-ifunc.c: Likewise.
50861 * benchtests/bench-strcasecmp-ifunc.c: Likewise.
50862 * benchtests/bench-strcasestr-ifunc.c: Likewise.
50863 * benchtests/bench-strcat-ifunc.c: Likewise.
50864 * benchtests/bench-strchr-ifunc.c: Likewise.
50865 * benchtests/bench-strchrnul-ifunc.c: Likewise.
50866 * benchtests/bench-strcmp-ifunc.c: Likewise.
50867 * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
50868 * benchtests/bench-strcpy-ifunc.c: Likewise.
50869 * benchtests/bench-strcspn-ifunc.c: Likewise.
50870 * benchtests/bench-strlen-ifunc.c: Likewise.
50871 * benchtests/bench-strncasecmp-ifunc.c: Likewise.
50872 * benchtests/bench-strncat-ifunc.c: Likewise.
50873 * benchtests/bench-strncmp-ifunc.c: Likewise.
50874 * benchtests/bench-strncpy-ifunc.c: Likewise.
50875 * benchtests/bench-strnlen-ifunc.c: Likewise.
50876 * benchtests/bench-strpbrk-ifunc.c: Likewise.
50877 * benchtests/bench-strrchr-ifunc.c: Likewise.
50878 * benchtests/bench-strsep-ifunc.c: Likewise.
50879 * benchtests/bench-strspn-ifunc.c: Likewise.
50880 * benchtests/bench-strstr-ifunc.c: Likewise.
50881
50882 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50883
50884 * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
50885
50886 2013-11-26 Ondřej Bílka <neleai@seznam.cz>
50887
50888 * resolv/netdb.h: Use __glibc_reserved instead __unused.
50889 * rt/aio.h: Likewise.
50890 * sysdeps/gnu/bits/utmp.h: Likewise.
50891 * sysdeps/gnu/bits/utmpx.h: Likewise.
50892 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
50893 * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
50894 * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
50895 * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
50896 * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
50897 * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
50898 * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
50899 * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
50900 * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
50901 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
50902 * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
50903 * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
50904 * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
50905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
50906 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
50907 * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
50908 * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
50909 * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
50910 * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
50911 * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
50912 * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
50913 * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
50914 * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
50915 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
50916 * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
50917 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
50918 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
50919 * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
50920 * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
50921 * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
50922 * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
50923 * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
50924 * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
50925 * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
50926 * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
50927 * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
50928 * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
50929 * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
50930 * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
50931 * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
50932 * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
50933 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
50934
50935 2013-11-25 Carlos O'Donell <carlos@redhat.com>
50936
50937 [BZ #16245]
50938 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
50939 Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
50940
50941 2013-11-25 Joseph Myers <joseph@codesourcery.com>
50942
50943 * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
50944 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
50945 Likewise.
50946
50947 2013-11-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
50948
50949 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
50950 SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
50951 * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
50952 (__fesetround): Remove define.
50953 * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
50954 rounding and exceptions handling.
50955 * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
50956 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
50957 (__fe_nomask_env): Likewise.
50958 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
50959 __fegetround instead of fegetround.
50960 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
50961 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
50962
50963 2013-11-21 Roland McGrath <roland@hack.frob.com>
50964
50965 * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
50966 it's there.
50967
50968 * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
50969
50970 2013-11-21 Meador Inge <meadori@codesourcery.com>
50971
50972 [BZ #11157]
50973 * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
50974 (encrypt_r): Likewise.
50975 * malloc/obstack.h (obstack_free): Likewise.
50976 * posix/unistd.h (encrypt): Likewise.
50977
50978 2013-11-21 Guy Martin <gmsoft@tuxicoman.be>
50979
50980 * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
50981 DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
50982 DL_CALL_DT_FINI() that call the functions directly.
50983 * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
50984 * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
50985 * elf/dl-fini.c: Likewise.
50986
50987 2013-11-20 Ondřej Bílka <neleai@seznam.cz>
50988
50989 * malloc/hooks.c (memalign_check): Add alignment rounding.
50990 * malloc/malloc.c (_mid_memalign): New function.
50991 (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
50992 Implement by calling _mid_memalign.
50993 * manual/probes.texi (Memory Allocation Probes): Remove
50994 memory_valloc_retry and memory_pvalloc_retry.
50995
50996 2013-11-20 Siddhesh Poyarekar <siddhesh@redhat.com>
50997
50998 * locale/programs/locarchive.c (open_archive): Add const
50999 qualifier to ARCHIVEFNAME and copy default fname to
51000 DEFAULT_FNAME.
51001
51002 [BZ #15601]
51003 * libio/tst-widetext.input: Rename Oriya to Odia.
51004 * locale/iso-639.def: Likewise.
51005
51006 * manual/probes.texi (Mathematical Function Probes): Add
51007 documentation for sin, cos, asin and acos probes.
51008 * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
51009 (__sin32): Add slowasin probe.
51010 (__cos32): Add slowacos probe.
51011 (__mpsin): Add slowsin probe.
51012 (__mpcos): Add slowcos probe.
51013
51014 2013-11-19 Joseph Myers <joseph@codesourcery.com>
51015
51016 [BZ #15483]
51017 * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
51018 thread-local __sim_exceptions_thread and global
51019 __sim_exceptions_global.
51020 (__sim_disabled_exceptions): Change to thread-local
51021 __sim_disabled_exceptions_thread and global
51022 __sim_disabled_exceptions_global.
51023 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
51024 and global __sim_round_mode_global.
51025 (__simulate_exceptions): Use thread-local floating-point state and
51026 set global state from it as needed.
51027 * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
51028 __sim_exceptions_thread, __sim_disabled_exceptions_thread and
51029 __sim_round_mode_thread.
51030 * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
51031 (__sim_exceptions): Change to thread-local __sim_exceptions_thread
51032 and global __sim_exceptions_global.
51033 (__sim_disabled_exceptions): Change to thread-local
51034 __sim_disabled_exceptions_thread and global
51035 __sim_disabled_exceptions_global.
51036 (__sim_round_mode): Change to thread-local __sim_round_mode_thread
51037 and global __sim_round_mode_global.
51038 [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
51039 (SIM_SET_GLOBAL): Likewise.
51040 * sysdeps/powerpc/soft-fp/sfp-machine.h
51041 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
51042 __sim_round_mode_thread.
51043 [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
51044 __sim_disabled_exceptions_thread.
51045 (__sim_exceptions): Change to __sim_exceptions_thread.
51046 (__sim_disabled_exceptions): Change to
51047 __sim_disabled_exceptions_thread.
51048 (__sim_round_mode): Change to __sim_round_mode_thread.
51049 * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
51050 thread-local floating-point state and set global state from it as
51051 needed.
51052 * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
51053 * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
51054 (__sim_disabled_exceptions): Remove extern declaration.
51055 (feenableexcept): Use thread-local floating-point state and set
51056 global state from it as needed.
51057 * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
51058 extern declaration.
51059 (__sim_disabled_exceptions): Likewise.
51060 (__sim_round_mode): Likewise.
51061 (__fegetenv): Use thread-local floating-point state.
51062 * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
51063 * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
51064 * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
51065 floating-point state and set global state from it as needed.
51066 * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
51067 * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
51068 * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
51069 Likewise.
51070 * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
51071 * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
51072 Likewise.
51073 sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
51074 * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
51075 Use __sim_round_mode_thread.
51076 * math/test-fenv-tls.c: New file.
51077 * math/Makefile (tests): Add test-fenv-tls.
51078 ($(objpfx)test-fenv-tls): Depend on
51079 $(common-objpfx)nptl/libpthread.so.
51080
51081 2013-11-19 Andreas Schwab <schwab@suse.de>
51082
51083 * locale/programs/locale.c (show_info): Decode wordarray elements.
51084 * locale/categories.def (LC_MONETARY): Add element for
51085 _NL_MONETARY_CRNCYSTR.
51086 * locale/C-monetary.c (conversion_rate): New variable.
51087 (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
51088 element.
51089
51090 2013-11-18 Chris Metcalf <cmetcalf@tilera.com>
51091
51092 * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
51093 Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
51094
51095 2013-11-18 Paul Pluzhnikov <ppluzhnikov@google.com>
51096
51097 * elf/Makefile (tst-auxv): New test.
51098 * elf/tst-auxv.c: New
51099 * elf/rtld.c (dl_main): Adjust AT_EXECFN
51100
51101 2013-11-18 Joseph Myers <joseph@codesourcery.com>
51102
51103 * include/libc-symbols.h (__hidden_proto): Add argument "thread".
51104 (hidden_proto): Caller changed.
51105 (hidden_tls_proto): New macro.
51106 (libc_hidden_tls_proto): Likewise.
51107 (rtld_hidden_tls_proto): Likewise.
51108 (libm_hidden_tls_proto): Likewise.
51109 (libresolv_hidden_tls_proto): Likewise.
51110 (librt_hidden_tls_proto): Likewise.
51111 (libdl_hidden_tls_proto): Likewise.
51112 (libnss_files_hidden_tls_proto): Likewise.
51113 (libnsl_hidden_tls_proto): Likewise.
51114 (libnss_nisplus_hidden_tls_proto): Likewise.
51115 (libutil_hidden_tls_proto): Likewise.
51116
51117 2013-11-18 Ondřej Bílka <neleai@seznam.cz>
51118
51119 [BZ #10253]
51120 * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
51121 (decompose_rpath): Defer expansion to fillin_rpath.
51122 (_dl_init_paths): Pass linkmap to fillin_rpath.
51123
51124 2013-11-18 Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
51125
51126 * benchtests/Makefile: Add strsep.
51127 * benchtests/bench-strsep.c: New file: strsep benchtest.
51128 * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
51129
51130 2013-11-18 Andreas Schwab <schwab@suse.de>
51131
51132 * locale/programs/locale.c (show_info) [case byte]: Check for
51133 '\377' instead of '\177'.
51134 * locale/C-monetary.c (not_available): Always use "\377".
51135 * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
51136 unspecified p_sign_posn and n_sign_posn. Check for '\377' to
51137 detect unavailable sign_posn locale elements.
51138 * locale/localeconv.c (__localeconv): For grouping and
51139 mon_grouping handle "\177" and "\377" like no grouping.
51140 (INT_ELEM): New macro. Use it to set all numeric members.
51141 * locale/programs/ld-monetary.c (monetary_read)
51142 <tok_mon_grouping>: Normalize single -1 to the empty string.
51143 * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
51144 Likewise.
51145
51146 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
51147
51148 [BZ #16055]
51149 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
51150 when we match (nil).
51151 * stdio-common/tst-sscanf.c (struct test): Add testcase.
51152
51153 2013-11-16 Joseph Myers <joseph@codesourcery.com>
51154
51155 * math/libm-test.inc (TEST_NAN_SIGN): New macro.
51156 (NO_TEST_INLINE): Update value.
51157 (ERRNO_UNCHANGED): Likewise.
51158 (ERRNO_EDOM): Likewise.
51159 (ERRNO_ERANGE): Likewise.
51160 (IGNORE_RESULT): Likewise.
51161 (check_float_internal): Check signs of NaN results if
51162 TEST_NAN_SIGN used.
51163 (check_complex): Pass TEST_NAN_SIGN flag through to second
51164 check_float_internal call.
51165 (copysign_test_data): Add tests with quiet NaNs as second
51166 argument. Use TEST_NAN_SIGN.
51167 (fabs_test_data): Add test of negative quiet NaN argument. Use
51168 TEST_NAN_SIGN.
51169 (signbit_test_data): Add tests of quiet NaN argument.
51170 * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
51171
51172 * math/gen-libm-test.pl (show_exceptions): Take extra argument
51173 $ignore_result.
51174 (parse_args): Handle function results specified as IGNORE.
51175 * math/libm-test.inc (IGNORE_RESULT): New macro.
51176 (check_float_internal): Do not check numerical result if flag
51177 IGNORE_RESULT set.
51178 (check_complex): Pass through IGNORE_RESULT to second
51179 check_float_internal call.
51180 (check_int): Do not check numerical result if flag IGNORE_RESULT
51181 set.
51182 (check_long): Likewise.
51183 (check_bool): Likewise.
51184 (check_longlong): Likewise.
51185 (lrint_test_data): Add tests of infinite and NaN arguments.
51186 (lrint_tonearest_test_data): Likewise.
51187 (lrint_towardzero_test_data): Likewise.
51188 (lrint_downward_test_data): Likewise.
51189 (lrint_upward_test_data): Likewise.
51190 (llrint_test_data): Likewise.
51191 (llrint_tonearest_test_data): Likewise.
51192 (llrint_towardzero_test_data): Likewise.
51193 (llrint_downward_test_data): Likewise.
51194 (llrint_upward_test_data): Likewise.
51195 (lround_test_data): Likewise.
51196 (llround_test_data): Likewise.
51197
51198 * math/libm-test.inc (NO_TEST_INLINE): New macro.
51199 (ERRNO_UNCHANGED): Update value.
51200 (ERRNO_EDOM): Likewise.
51201 (ERRNO_ERANGE): Likewise.
51202 (NO_TEST_INLINE_FLOAT): New macro.
51203 (NO_TEST_INLINE_DOUBLE): Likewise.
51204 (enable_test): New function.
51205 (RUN_TEST_f_f): Check enable_test before running test.
51206 (RUN_TEST_2_f): Likewise.
51207 (RUN_TEST_fff_f): Likewise.
51208 (RUN_TEST_c_f): Likewise.
51209 (RUN_TEST_f_f1): Likewise.
51210 (RUN_TEST_fF_f1): Likewise.
51211 (RUN_TEST_fI_f1): Likewise.
51212 (RUN_TEST_ffI_f1): Likewise.
51213 (RUN_TEST_c_c): Likewise.
51214 (RUN_TEST_cc_c): Likewise.
51215 (RUN_TEST_f_i): Likewise.
51216 (RUN_TEST_f_i_tg): Likewise.
51217 (RUN_TEST_ff_i_tg): Likewise.
51218 (RUN_TEST_f_b): Likewise.
51219 (RUN_TEST_f_b_tg): Likewise.
51220 (RUN_TEST_f_l): Likewise.
51221 (RUN_TEST_f_L): Likewise.
51222 (RUN_TEST_fFF_11): Likewise.
51223 (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
51224 conditionals.
51225 (cosh_test_data): Likewise.
51226 (exp_test_data): Likewise.
51227 (expm1_test_data): Likewise.
51228 (hypot_test_data): Likewise.
51229 (pow_test_data): Likewise.
51230 (sinh_test_data): Likewise.
51231 (tanh_test_data): Likewise.
51232 * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
51233 flags argument.
51234
51235 * libm-test.inc (acos_test_data): Disallow inexact exceptions for
51236 tests with quiet NaN input and output.
51237 (acosh_test_data): Likewise.
51238 (asin_test_data): Likewise.
51239 (asinh_test_data): Likewise.
51240 (atan_test_data): Likewise.
51241 (atanh_test_data): Likewise.
51242 (atan2_test_data): Likewise.
51243 (cbrt_test_data): Likewise.
51244 (cos_test_data): Likewise.
51245 (cosh_test_data): Likewise.
51246 (erf_test_data): Likewise.
51247 (erfc_test_data): Likewise.
51248 (exp_test_data): Likewise.
51249 (exp10_test_data): Likewise.
51250 (exp2_test_data): Likewise.
51251 (expm1_test_data): Likewise.
51252 (hypot_test_data): Likewise.
51253 (j0_test_data): Likewise.
51254 (j1_test_data): Likewise.
51255 (jn_test_data): Likewise.
51256 (lgamma_test_data): Likewise.
51257 (log_test_data): Likewise.
51258 (log10_test_data): Likewise.
51259 (log1p_test_data): Likewise.
51260 (log2_test_data): Likewise.
51261 (pow_test_data): Likewise.
51262 (scalb_test_data): Likewise.
51263 (sin_test_data): Likewise.
51264 (sincos_test_data): Likewise.
51265 (sinh_test_data): Likewise.
51266 (tan_test_data): Likewise.
51267 (tanh_test_data): Likewise.
51268 (tgamma_test_data): Likewise.
51269 (y0_test_data): Likewise.
51270 (y1_test_data): Likewise.
51271 (yn_test_data): Likewise.
51272
51273 [BZ #16167]
51274 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
51275 argument being NaN and avoid computations with second argument in
51276 that case.
51277 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
51278 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
51279 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
51280
51281 2013-11-15 Arun Kumar Pyasi <arun@chitwanix.com>
51282
51283 * locale/iso-639.def: Add Chitwani Tharu (the).
51284
51285 2013-11-14 Andreas Schwab <schwab@suse.de>
51286
51287 * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
51288 word instead of empty string.
51289
51290 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51291
51292 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51293 (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
51294 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51295 (__fe_nomask_env): Likewise.
51296
51297 2013-11-13 Steve Ellcey <sellcey@mips.com>
51298
51299 * benchtests/bench-timing.h: Include time.h.
51300
51301 2013-11-13 H.J. Lu <hongjiu.lu@intel.com>
51302
51303 [BZ #15997]
51304 * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
51305 to 3.4.0 for x32.
51306 * sysdeps/unix/sysv/linux/configure: Regenerated.
51307
51308 2013-11-13 Joseph Myers <joseph@codesourcery.com>
51309
51310 [BZ #16151]
51311 * stdlib/strtod_l.c (round_and_return): Do not consider
51312 retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
51313 exponent one less than half the least subnormal exponent.
51314 * stdlib/test-strtod-round-data: Add more tests.
51315 * stdlib/tst-strtod-round.c (tests): Regenerated.
51316
51317 2013-11-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51318
51319 [BZ #14143]
51320 * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
51321 (__fe_mask_env): Likewise.
51322 * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
51323 libm_hidden_proto and add function prototype.
51324 (__fe_mask_env): Add function prototype.
51325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
51326 (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
51327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
51328 (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
51329 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
51330 (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
51331
51332 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51333
51334 * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
51335 set reference_name to "" to avoid passing NULL to DSO_FILENAME.
51336
51337 2013-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
51338
51339 * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
51340 of htab_find_slot().
51341
51342 2013-11-11 David S. Miller <davem@davemloft.net>
51343
51344 [BZ #16150]
51345 * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
51346 symbol in the non-vis3 case in static builds.
51347 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
51348 * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
51349 * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
51350 * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
51351
51352 2013-11-11 Jan Kratochvil <jan.kratochvil@redhat.com>
51353
51354 [BZ #387]
51355 * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
51356 it is empty.
51357
51358 2013-11-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51359
51360 * benchtests/Makefile: Add bench-strtod.
51361 * benchtests/bench-strtod.c: New file: strtod benchtest
51362
51363 2013-11-11 Andreas Schwab <schwab@suse.de>
51364
51365 [BZ #16153]
51366 * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
51367 terminating NUL in key length.
51368
51369 2013-11-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51370
51371 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
51372 Add artificial ODP entry for vDSO symbol for PPC64.
51373 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
51374 * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
51375
51376 2013-11-07 Ondřej Bílka <neleai@seznam.cz>
51377
51378 [BZ #15374]
51379 * nss/getent.c (services_keys): Recognize services starting with digit.
51380
51381 2013-11-06 David S. Miller <davem@davemloft.net>
51382
51383 [BZ #15985]
51384 * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
51385 on pre-v9 cpus, use a fnegs+fmovs sequence instead.
51386
51387 2013-11-06 Will Newton <will.newton@linaro.org>
51388
51389 * manual/memory.texi (Malloc Examples): Remove register
51390 keyword from examples.
51391
51392 2013-11-04 Chris Leonard <cjl@sugarlabs.org>
51393
51394 * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
51395
51396 2013-11-04 Joseph Myers <joseph@codesourcery.com>
51397
51398 [BZ #6981]
51399 * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
51400 depending on [__GCC_IEC_559 > 0].
51401 [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
51402 depending on [__GCC_IEC_559_COMPLEX > 0].
51403
51404 2013-11-03 Chris Leonard <cjl@sugarlabs.org>
51405
51406 * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
51407 to iso-639.def.
51408
51409 2013-11-03 Ondřej Bílka <neleai@seznam.cz>
51410
51411 * elf/rtld.c: Remove unused NONTLS_INIT_TP.
51412
51413 2013-11-01 Ondřej Bílka <neleai@seznam.cz>
51414
51415 [BZ #16112]
51416 * malloc/malloc (malloc_info): Do not handle first bin as
51417 special case.
51418
51419 2013-11-01 Chris Leonard <cjl@sugarlabs.org>
51420
51421 * locale/iso-639.def: Add Central Nahuatl (nhn).
51422
51423 2013-11-01 Bruno Haible <bruno@clisp.org>
51424
51425 [BZ #7003]
51426 * manual/math.texi (BSD Random): Specify range upper bound as
51427 in POSIX.
51428
51429 2013-10-31 Chris Leonard <cjl@sugarlabs.org>
51430
51431 * locale/iso-639.def: Add Meadow Mari (mhr).
51432
51433 2013-10-31 Ondřej Bílka <neleai@seznam.cz>
51434
51435 [BZ #14752], [BZ #15763]
51436 * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
51437 Validate name.
51438 * rt/tst_shm.c: Add test for escaping directory.
51439
51440 2013-10-31 Andreas Schwab <schwab@suse.de>
51441
51442 [BZ #15917]
51443 * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
51444 followed by 'x' as part of digit sequence.
51445 * stdio-common/tst-sscanf.c (double_tests2): New tests.
51446
51447 2013-10-31 Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
51448
51449 [BZ #16037]
51450 * configure.ac: allow GNU Make 4.0 and greater.
51451 * configure: Regenerated.
51452
51453 2013-10-30 Will Newton <will.newton@linaro.org>
51454
51455 [BZ #16038]
51456 * malloc/hooks.c (memalign_check): Limit alignment to the
51457 maximum representable power of two.
51458 * malloc/malloc.c (__libc_memalign): Likewise.
51459 * malloc/tst-memalign.c (do_test): Add test for very
51460 large alignment values.
51461 * malloc/tst-posix_memalign.c (do_test): Likewise.
51462
51463 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
51464
51465 [BZ #11087]
51466 * malloc/malloc.c (sysmalloc): Compute statistics atomically.
51467 (munmap_chunk): Likewise.
51468 (mremap_chunk): Likewise.
51469
51470 2013-10-30 Ondřej Bílka <neleai@seznam.cz>
51471
51472 [BZ #15799]
51473 * stdlib/div.c (div): Remove obsolete code.
51474 * stdlib/ldiv.c (ldiv): Likewise.
51475 * stdlib/lldiv.c (lldiv): Likewise.
51476
51477 2013-10-30 Siddhesh Poyarekar <siddhesh@redhat.com>
51478
51479 [BZ #16071]
51480 * nss/nss_files/files-XXX.c (get_contents_ret): New
51481 enumerator.
51482 (get_contents): New function.
51483 (internal_getent): Use it. Expand size of LINEBUFLEN.
51484
51485 2013-10-30 Mike Frysinger <vapier@gentoo.org>
51486
51487 * configure.in: Moved to ...
51488 * configure.ac: ... here. Change reference to configure.in
51489 to configure.ac.
51490 * sysdeps/arm/preconfigure.ac: ... here.
51491 configure.in to configure.ac.
51492 * sysdeps/gnu/configure.in: Moved to ...
51493 * sysdeps/gnu/configure.ac: ... here.
51494 * sysdeps/i386/configure.in: Moved to ...
51495 * sysdeps/i386/configure.ac: ... here.
51496 * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
51497 * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
51498 * sysdeps/mach/configure.in: Moved to ...
51499 * sysdeps/mach/configure.ac: ... here.
51500 * sysdeps/mach/hurd/configure.in: Moved to ...
51501 * sysdeps/mach/hurd/configure.ac: ... here.
51502 * sysdeps/powerpc/configure.in: Moved to ...
51503 * sysdeps/powerpc/configure.ac: ... here.
51504 * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
51505 * sysdeps/powerpc/powerpc32/configure.ac: ... here.
51506 * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
51507 * sysdeps/powerpc/powerpc64/configure.ac: ... here.
51508 * sysdeps/s390/s390-32/configure.in: Moved to ...
51509 * sysdeps/s390/s390-32/configure.ac: ... here.
51510 * sysdeps/s390/s390-64/configure.in: Moved to ...
51511 * sysdeps/s390/s390-64/configure.ac: ... here.
51512 * sysdeps/sh/configure.in: Moved to ...
51513 * sysdeps/sh/configure.ac: ... here.
51514 * sysdeps/sparc/configure.in: Moved to ...
51515 * sysdeps/sparc/configure.ac: ... here.
51516 * sysdeps/unix/sysv/linux/configure.in: Moved to ...
51517 * sysdeps/unix/sysv/linux/configure.ac: ... here.
51518 * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
51519 * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
51520 * sysdeps/x86_64/configure.in: Moved to ...
51521 * sysdeps/x86_64/configure.ac: ... here.
51522 * sysdeps/x86_64/preconfigure.in: Moved to ...
51523 * sysdeps/x86_64/preconfigure.ac: ... here.
51524 * aclocal.m4: Change reference to configure.in to configure.ac.
51525 * config.h.in: Likewise.
51526 * manual/install.texi: Likewise.
51527 * manual/maint.texi: Likewise.
51528 * Makefile: Likewise.
51529 * malloc/Makefile: Likewise.
51530 * nscd/Makefile: Likewise.
51531 * Makeconfig: Change reference to configure.in and
51532 preconfigure.in to configure.ac and preconfigure.ac
51533 respectively.
51534 * INSTALL: Regenerated.
51535 * configure: Likewise.
51536 * sysdeps/gnu/configure: Likewise.
51537 * sysdeps/i386/configure: Likewise.
51538 * sysdeps/ieee754/ldbl-opt/configure: Likewise.
51539 * sysdeps/mach/configure: Likewise.
51540 * sysdeps/mach/hurd/configure: Likewise.
51541 * sysdeps/powerpc/configure: Likewise.
51542 * sysdeps/powerpc/powerpc32/configure: Likewise.
51543 * sysdeps/powerpc/powerpc64/configure: Likewise.
51544 * sysdeps/s390/s390-32/configure: Likewise.
51545 * sysdeps/s390/s390-64/configure: Likewise.
51546 * sysdeps/sh/configure: Likewise.
51547 * sysdeps/sparc/configure: Likewise.
51548 * sysdeps/unix/sysv/linux/configure: Likewise.
51549 * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
51550 * sysdeps/x86_64/configure: Likewise.
51551 * sysdeps/x86_64/preconfigure: Likewise.
51552
51553 2013-10-29 Andreas Schwab <schwab@suse.de>
51554
51555 * stdio-common/Makefile (tst-swscanf-ENV): Define.
51556
51557 2013-10-28 Siddhesh Poyarekar <siddhesh@redhat.com>
51558
51559 * benchtests/pow-inputs: Add new inputs.
51560
51561 * benchtests/exp-inputs: Add new inputs.
51562
51563 * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
51564 conditional check for return value.
51565 (__cos32): Likewise.
51566
51567 2013-10-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
51568
51569 * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
51570 to provide a boost for large inputs with word alignment.
51571 * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
51572 implementation based on optimized PPC64 strcpy.
51573 * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
51574 strcpy for PPC64/POWER7 based on both doubleword and word load/store.
51575 * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
51576 stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
51577
51578 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
51579
51580 [BZ #2801]
51581 * manual/socket.texi (Host Names): Fix gethostbyname_r example.
51582
51583 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
51584
51585 [BZ #14876]
51586 * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
51587 * time/tst-strptime.c (day_tests): Add testcase.
51588
51589 2013-10-25 Ondřej Bílka <neleai@seznam.cz>
51590
51591 [BZ #14029]
51592 * manual/pattern.texi: Acknowledge that fnmatch can fail.
51593
51594 2013-10-25 Fabrice Bauzac <fbauzac@debian71.nce.amadeus.net>
51595
51596 [BZ #16074]
51597 * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
51598 MAP_FAILED on error.
51599
51600 2013-10-25 Siddhesh Poyarekar <siddhesh@redhat.com>
51601
51602 [BZ #16072]
51603 * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
51604 heap for large requests.
51605
51606 2013-10-25 Aurelien Jarno <aurelien@aurel32.net>
51607
51608 [BZ #9954]
51609 * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
51610 result if the result has no associated interface.
51611 * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
51612 interface for all 127.X.Y.Z addresses.
51613
51614 2013-10-24 Chris Leonard <cjl@sugarlabs.org>
51615
51616 * locale/iso-639.def: Add Ligurian (lij)
51617
51618 2013-10-21 Ondřej Bílka <neleai@seznam.cz>
51619
51620 [BZ #15825]
51621 * sunrpc/rpc_main.c: Document rpcgen -5.
51622
51623 2013-10-19 Michael Stahl <mstahl@redhat.com>
51624
51625 * elf/rtld.c (do_preload): Print the reason why preloading failed.
51626
51627 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
51628
51629 [BZ #10278]
51630 * posix/glob.c: Match only directories when trailing slash is present.
51631 * posix/tst-gnuglob.c (my_opendir): Do not open files.
51632 (main): Add testcase.
51633
51634 2013-10-19 Ondřej Bílka <neleai@seznam.cz>
51635
51636 [BZ #15670]
51637 * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
51638
51639 2013-10-18 Carlos O'Donell <carlos@redhat.com>
51640
51641 * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
51642 AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
51643 AUTH_DES and cindex for FIPS 140-2.
51644 (DES Encryption): Add cindex FIPS 46-3.
51645
51646 * locale/locarchive.h (struct locarhandle): Add fname.
51647 * locale/programs/localedef.c (main): Pass ARGV[remaining]
51648 if an optional argument was specified to --list-archive,
51649 otherwise NULL.
51650 * locale/programs/locarchive.c (show_archive_content): Take new
51651 argument fname and pass it via ah.fname to open_archive.
51652 * locale/programs/localedef.h: Update decl.
51653 (open_archive): If AH->fname is non-null, open that file
51654 rather than the default file name, and don't ignore ENOENT.
51655 (create_archive): Set AH.fname to NULL.
51656 (delete_locales_from_archive): Likewise.
51657 (add_locales_to_archive): Likewise.
51658 * locale/programs/locfile.c (write_all_categories): Likewise.
51659
51660 2013-10-18 Joseph Myers <joseph@codesourcery.com>
51661 Aldy Hernandez <aldyh@redhat.com>
51662
51663 * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
51664 * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
51665 * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
51666 * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
51667 * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
51668 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
51669 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
51670 * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
51671 * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
51672 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
51673 * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
51674 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
51675 * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
51676 * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
51677 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
51678 Likewise.
51679 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
51680 Likewise.
51681 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
51682 Likewise.
51683 * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
51684 Likewise.
51685 * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
51686 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
51687 Likewise.
51688 * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
51689 * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
51690 * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
51691 * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
51692 Likewise.
51693 * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
51694 * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
51695 * sysdeps/powerpc/preconfigure: Likewise.
51696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
51697 Likewise.
51698 * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
51699 Replace contents of file by #include of <fenv_libc.h>.
51700 * sysdeps/powerpc/soft-fp/sfp-machine.h
51701 [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
51702 and <sys/prctl.h>.
51703 [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
51704 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
51705 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
51706 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
51707 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
51708 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
51709 [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
51710 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
51711 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
51712 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
51713 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
51714 [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
51715 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
51716 Allow copysignl PLT reference to be missing.
51717
51718 2013-10-18 Richard Sandiford <richard@codesourcery.com>
51719 Joseph Myers <joseph@codesourcery.com
51720
51721 [BZ #15948]
51722 * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
51723 single character.
51724 (add_to_tablewc): Assert sequence of wide characters is nonempty.
51725
51726 2013-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
51727
51728 * elf/tst-tls-dlinfo.c: Don't include tls.h.
51729 * elf/tst-tls1.c: Likewise.
51730 * elf/tst-tls10.h: Likewise.
51731 * elf/tst-tls14.c: Likewise.
51732 * elf/tst-tls2.c: Likewise.
51733 * elf/tst-tls3.c: Likewise.
51734 * elf/tst-tls4.c: Likewise.
51735 * elf/tst-tls5.c: Likewise.
51736 * elf/tst-tls6.c: Likewise.
51737 * elf/tst-tls7.c: Likewise.
51738 * elf/tst-tls8.c: Likewise.
51739 * elf/tst-tls9.c: Likewise.
51740 * elf/tst-tlsmod1.c: Likewise.
51741 * elf/tst-tlsmod13.c: Likewise.
51742 * elf/tst-tlsmod13a.c: Likewise.
51743 * elf/tst-tlsmod14a.c: Likewise.
51744 * elf/tst-tlsmod16a.c: Likewise.
51745 * elf/tst-tlsmod16b.c: Likewise.
51746 * elf/tst-tlsmod2.c: Likewise.
51747 * elf/tst-tlsmod3.c: Likewise.
51748 * elf/tst-tlsmod4.c: Likewise.
51749 * elf/tst-tlsmod5.c: Likewise.
51750 * elf/tst-tlsmod6.c: Likewise.
51751
51752 2013-10-18 Ondřej Bílka <neleai@seznam.cz>
51753
51754 [BZ #12486]
51755 * malloc/malloc.c: remove checks for statistics.
51756
51757 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
51758
51759 [BZ #15277]
51760 * inet/inet_net.c (inet_network): Detect additional invalid strings.
51761 * inet/tst-network.c: Add testcase.
51762
51763 2013-10-17 Andreas Schwab <schwab@suse.de>
51764
51765 [BZ #15218]
51766 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
51767 to determine canonical name.
51768
51769 2013-10-17 Ondřej Bílka <neleai@seznam.cz>
51770
51771 * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
51772 * sysdeps/ieee754/dbl-64/dla.h: Likewise.
51773 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
51774 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
51775 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
51776 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
51777 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
51778 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
51779 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
51780 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
51781 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
51782 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
51783 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
51784 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
51785 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
51786 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
51787 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
51788 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
51789 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
51790 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
51791 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
51792 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
51793 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
51794 * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
51795 * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
51796 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
51797 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
51798 * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
51799 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
51800 * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
51801 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
51802 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
51803 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
51804 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
51805 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
51806 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
51807 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
51808 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
51809 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
51810 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
51811 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
51812 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
51813 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
51814 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
51815 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
51816 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
51817 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
51818 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
51819 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
51820 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
51821 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
51822 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
51823 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
51824 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
51825 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
51826 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
51827 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
51828 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
51829
51830 2013-10-17 Joseph Myers <joseph@codesourcery.com>
51831
51832 [BZ #16041]
51833 * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
51834 make result into a quiet NaN.
51835
51836 2013-10-16 Joseph Myers <joseph@codesourcery.com>
51837
51838 * soft-fp/adddf3.c: Fix horizontal whitespace.
51839 * soft-fp/addsf3.c: Likewise.
51840 * soft-fp/addtf3.c: Likewise.
51841 * soft-fp/divdf3.c: Likewise.
51842 * soft-fp/divsf3.c: Likewise.
51843 * soft-fp/divtf3.c: Likewise.
51844 * soft-fp/double.h: Likewise.
51845 * soft-fp/eqdf2.c: Likewise.
51846 * soft-fp/eqsf2.c: Likewise.
51847 * soft-fp/eqtf2.c: Likewise.
51848 * soft-fp/extenddftf2.c: Likewise.
51849 * soft-fp/extended.h: Likewise.
51850 * soft-fp/extendsfdf2.c: Likewise.
51851 * soft-fp/extendsftf2.c: Likewise.
51852 * soft-fp/extendxftf2.c: Likewise.
51853 * soft-fp/fixdfdi.c: Likewise.
51854 * soft-fp/fixdfsi.c: Likewise.
51855 * soft-fp/fixdfti.c: Likewise.
51856 * soft-fp/fixsfdi.c: Likewise.
51857 * soft-fp/fixsfsi.c: Likewise.
51858 * soft-fp/fixsfti.c: Likewise.
51859 * soft-fp/fixtfdi.c: Likewise.
51860 * soft-fp/fixtfsi.c: Likewise.
51861 * soft-fp/fixtfti.c: Likewise.
51862 * soft-fp/fixunsdfdi.c: Likewise.
51863 * soft-fp/fixunsdfsi.c: Likewise.
51864 * soft-fp/fixunsdfti.c: Likewise.
51865 * soft-fp/fixunssfdi.c: Likewise.
51866 * soft-fp/fixunssfsi.c: Likewise.
51867 * soft-fp/fixunssfti.c: Likewise.
51868 * soft-fp/fixunstfdi.c: Likewise.
51869 * soft-fp/fixunstfsi.c: Likewise.
51870 * soft-fp/fixunstfti.c: Likewise.
51871 * soft-fp/floatdidf.c: Likewise.
51872 * soft-fp/floatdisf.c: Likewise.
51873 * soft-fp/floatditf.c: Likewise.
51874 * soft-fp/floatsidf.c: Likewise.
51875 * soft-fp/floatsisf.c: Likewise.
51876 * soft-fp/floatsitf.c: Likewise.
51877 * soft-fp/floattidf.c: Likewise.
51878 * soft-fp/floattisf.c: Likewise.
51879 * soft-fp/floattitf.c: Likewise.
51880 * soft-fp/floatundidf.c: Likewise.
51881 * soft-fp/floatundisf.c: Likewise.
51882 * soft-fp/floatunditf.c: Likewise.
51883 * soft-fp/floatunsidf.c: Likewise.
51884 * soft-fp/floatunsisf.c: Likewise.
51885 * soft-fp/floatunsitf.c: Likewise.
51886 * soft-fp/floatuntidf.c: Likewise.
51887 * soft-fp/floatuntisf.c: Likewise.
51888 * soft-fp/floatuntitf.c: Likewise.
51889 * soft-fp/fmadf4.c: Likewise.
51890 * soft-fp/fmasf4.c: Likewise.
51891 * soft-fp/fmatf4.c: Likewise.
51892 * soft-fp/gedf2.c: Likewise.
51893 * soft-fp/gesf2.c: Likewise.
51894 * soft-fp/getf2.c: Likewise.
51895 * soft-fp/ledf2.c: Likewise.
51896 * soft-fp/lesf2.c: Likewise.
51897 * soft-fp/letf2.c: Likewise.
51898 * soft-fp/muldf3.c: Likewise.
51899 * soft-fp/mulsf3.c: Likewise.
51900 * soft-fp/multf3.c: Likewise.
51901 * soft-fp/negdf2.c: Likewise.
51902 * soft-fp/negsf2.c: Likewise.
51903 * soft-fp/negtf2.c: Likewise.
51904 * soft-fp/op-1.h: Likewise.
51905 * soft-fp/op-2.h: Likewise.
51906 * soft-fp/op-4.h: Likewise.
51907 * soft-fp/op-8.h: Likewise.
51908 * soft-fp/op-common.h: Likewise.
51909 * soft-fp/quad.h: Likewise.
51910 * soft-fp/single.h: Likewise.
51911 * soft-fp/soft-fp.h: Likewise.
51912 * soft-fp/sqrtdf2.c: Likewise.
51913 * soft-fp/sqrtsf2.c: Likewise.
51914 * soft-fp/sqrttf2.c: Likewise.
51915 * soft-fp/subdf3.c: Likewise.
51916 * soft-fp/subsf3.c: Likewise.
51917 * soft-fp/subtf3.c: Likewise.
51918 * soft-fp/truncdfsf2.c: Likewise.
51919 * soft-fp/trunctfdf2.c: Likewise.
51920 * soft-fp/trunctfsf2.c: Likewise.
51921 * soft-fp/trunctfxf2.c: Likewise.
51922 * soft-fp/unorddf2.c: Likewise.
51923 * soft-fp/unordsf2.c: Likewise.
51924 * soft-fp/unordtf2.c: Likewise.
51925
51926 2013-10-15 Joseph Myers <joseph@codesourcery.com>
51927
51928 * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
51929 * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
51930
51931 2013-10-15 Ondřej Bílka <neleai@seznam.cz>
51932
51933 * elf/dl-libc.c: Clear initfini list after freeing.
51934
51935 2013-10-14 Joseph Myers <joseph@codesourcery.com>
51936
51937 * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
51938 * soft-fp/addsf3.c: Likewise.
51939 * soft-fp/addtf3.c: Likewise.
51940 * soft-fp/divdf3.c: Likewise.
51941 * soft-fp/divsf3.c: Likewise.
51942 * soft-fp/divtf3.c: Likewise.
51943 * soft-fp/double.h: Likewise.
51944 * soft-fp/eqdf2.c: Likewise.
51945 * soft-fp/eqsf2.c: Likewise.
51946 * soft-fp/eqtf2.c: Likewise.
51947 * soft-fp/extenddftf2.c: Likewise.
51948 * soft-fp/extended.h: Likewise.
51949 * soft-fp/extendsfdf2.c: Likewise.
51950 * soft-fp/extendsftf2.c: Likewise.
51951 * soft-fp/extendxftf2.c: Likewise.
51952 * soft-fp/fixdfdi.c: Likewise.
51953 * soft-fp/fixdfsi.c: Likewise.
51954 * soft-fp/fixdfti.c: Likewise.
51955 * soft-fp/fixsfdi.c: Likewise.
51956 * soft-fp/fixsfsi.c: Likewise.
51957 * soft-fp/fixsfti.c: Likewise.
51958 * soft-fp/fixtfdi.c: Likewise.
51959 * soft-fp/fixtfsi.c: Likewise.
51960 * soft-fp/fixtfti.c: Likewise.
51961 * soft-fp/fixunsdfdi.c: Likewise.
51962 * soft-fp/fixunsdfsi.c: Likewise.
51963 * soft-fp/fixunsdfti.c: Likewise.
51964 * soft-fp/fixunssfdi.c: Likewise.
51965 * soft-fp/fixunssfsi.c: Likewise.
51966 * soft-fp/fixunssfti.c: Likewise.
51967 * soft-fp/fixunstfdi.c: Likewise.
51968 * soft-fp/fixunstfsi.c: Likewise.
51969 * soft-fp/fixunstfti.c: Likewise.
51970 * soft-fp/floatdidf.c: Likewise.
51971 * soft-fp/floatdisf.c: Likewise.
51972 * soft-fp/floatditf.c: Likewise.
51973 * soft-fp/floatsidf.c: Likewise.
51974 * soft-fp/floatsisf.c: Likewise.
51975 * soft-fp/floatsitf.c: Likewise.
51976 * soft-fp/floattidf.c: Likewise.
51977 * soft-fp/floattisf.c: Likewise.
51978 * soft-fp/floattitf.c: Likewise.
51979 * soft-fp/floatundidf.c: Likewise.
51980 * soft-fp/floatundisf.c: Likewise.
51981 * soft-fp/floatunsidf.c: Likewise.
51982 * soft-fp/floatunsisf.c: Likewise.
51983 * soft-fp/floatuntidf.c: Likewise.
51984 * soft-fp/floatuntisf.c: Likewise.
51985 * soft-fp/floatuntitf.c: Likewise.
51986 * soft-fp/fmadf4.c: Likewise.
51987 * soft-fp/fmasf4.c: Likewise.
51988 * soft-fp/fmatf4.c: Likewise.
51989 * soft-fp/gedf2.c: Likewise.
51990 * soft-fp/gesf2.c: Likewise.
51991 * soft-fp/getf2.c: Likewise.
51992 * soft-fp/ledf2.c: Likewise.
51993 * soft-fp/lesf2.c: Likewise.
51994 * soft-fp/letf2.c: Likewise.
51995 * soft-fp/muldf3.c: Likewise.
51996 * soft-fp/mulsf3.c: Likewise.
51997 * soft-fp/multf3.c: Likewise.
51998 * soft-fp/negdf2.c: Likewise.
51999 * soft-fp/negsf2.c: Likewise.
52000 * soft-fp/negtf2.c: Likewise.
52001 * soft-fp/op-1.h: Likewise.
52002 * soft-fp/op-2.h: Likewise.
52003 * soft-fp/op-4.h: Likewise.
52004 * soft-fp/op-8.h: Likewise.
52005 * soft-fp/op-common.h: Likewise.
52006 * soft-fp/quad.h: Likewise.
52007 * soft-fp/single.h: Likewise.
52008 * soft-fp/soft-fp.h: Likewise.
52009 * soft-fp/sqrtdf2.c: Likewise.
52010 * soft-fp/sqrtsf2.c: Likewise.
52011 * soft-fp/sqrttf2.c: Likewise.
52012 * soft-fp/subdf3.c: Likewise.
52013 * soft-fp/subsf3.c: Likewise.
52014 * soft-fp/subtf3.c: Likewise.
52015 * soft-fp/truncdfsf2.c: Likewise.
52016 * soft-fp/trunctfdf2.c: Likewise.
52017 * soft-fp/trunctfsf2.c: Likewise.
52018 * soft-fp/trunctfxf2.c: Likewise.
52019 * soft-fp/unorddf2.c: Likewise.
52020 * soft-fp/unordsf2.c: Likewise.
52021 * soft-fp/unordtf2.c: Likewise.
52022
52023 2013-10-14 Ondřej Bílka <neleai@seznam.cz>
52024
52025 [BZ #15672]
52026 * misc/error.c (error_tail): Fix possible buffer overflow.
52027
52028 2013-10-14 Aurelien Jarno <aurelien@aurel32.net>
52029
52030 [BZ #13028]
52031 * res_send.c(__libc_res_nsend): Correctly copy the nameserver
52032 address.
52033
52034 2013-10-14 P. J. McDermott <pj@pehjota.net>
52035
52036 [BZ #832]
52037 * elf/ldd.bash.in (try_trace): New function. Delete previous code
52038 testing pipefail option.
52039
52040 2013-10-12 Joseph Myers <joseph@codesourcery.com>
52041
52042 * soft-fp/double.h: Indent preprocessor directives inside #if.
52043 * soft-fp/extended.h: Likewise.
52044 * soft-fp/op-2.h: Likewise.
52045 * soft-fp/op-4.h: Likewise.
52046 * soft-fp/op-common.h: Likewise.
52047 * soft-fp/quad.h: Likewise.
52048 * soft-fp/single.h: Likewise.
52049 * soft-fp/soft-fp.h: Likewise.
52050
52051 2013-10-12 Yuri Chornoivan <yurchor@ukr.net>
52052
52053 * iconv/iconv_prog.c: Fix typos.
52054 * stdio-common/psiginfo-data.h: Likewise.
52055
52056 2013-10-12 Reuben Thomas <rrt@sc3d.org>
52057
52058 [BZ #15764]
52059 * locale/setlocale.c: Fix typo.
52060
52061 2013-10-12 Joseph Myers <joseph@codesourcery.com>
52062
52063 [BZ #16036]
52064 * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
52065 signaling NaN arguments.
52066 * soft-fp/unordsf2.c (__unordsf2): Likewise.
52067 * soft-fp/unordtf2.c (__unordtf2): Likewise.
52068
52069 [BZ #14910]
52070 * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
52071 unordered operands.
52072 * soft-fp/gesf2.c (__gesf2): Likewise.
52073 * soft-fp/getf2.c (__getf2): Likewise.
52074 * soft-fp/ledf2.c (__ledf2): Likewise.
52075 * soft-fp/lesf2.c (__lesf2): Likewise.
52076 * soft-fp/letf2.c (__letf2): Likewise.
52077
52078 * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
52079 * soft-fp/eqsf2.c (__eqsf2): Likewise.
52080 * soft-fp/eqtf2.c (__eqtf2): Likewise.
52081 * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
52082 * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
52083 * soft-fp/fixdfti.c (__fixdfti): Likewise.
52084 * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
52085 * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
52086 * soft-fp/fixsfti.c (__fixsfti): Likewise.
52087 * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
52088 * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
52089 * soft-fp/fixtfti.c (__fixtfti): Likewise.
52090 * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
52091 * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
52092 * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
52093 * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
52094 * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
52095 * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
52096 * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
52097 * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
52098 * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
52099 * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
52100 * soft-fp/floatdisf.c (__floatdisf): Likewise.
52101 * soft-fp/floatsisf.c (__floatsisf): Likewise.
52102 * soft-fp/floattidf.c (__floattidf): Likewise.
52103 * soft-fp/floattisf.c (__floattisf): Likewise.
52104 * soft-fp/floattitf.c (__floattitf): Likewise.
52105 * soft-fp/floatundidf.c (__floatundidf): Likewise.
52106 * soft-fp/floatundisf.c (__floatundisf): Likewise.
52107 * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
52108 * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
52109 * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
52110 * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
52111 * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
52112 * soft-fp/gesf2.c (__gesf2): Likewise.
52113 * soft-fp/getf2.c (__getf2): Likewise.
52114 * soft-fp/ledf2.c (__ledf2): Likewise.
52115 * soft-fp/lesf2.c (__lesf2): Likewise.
52116 * soft-fp/letf2.c (__letf2): Likewise.
52117
52118 * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
52119 Undefine and redefine.
52120 [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
52121 [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
52122 [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
52123 * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
52124 (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
52125 * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
52126 (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
52127 * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
52128 (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
52129 * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
52130 (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
52131 * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
52132 (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
52133 * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
52134 (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
52135
52136 [BZ #16032]
52137 * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
52138 without decrementing exponent if mantissa >= that for the
52139 denominator, not >.
52140 (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
52141 denominator, not >. Decrement exponent in < case instead of
52142 incrementing in >= case.
52143 * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
52144 without decrementing exponent if mantissa >= that for the
52145 denominator, not >.
52146
52147 * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
52148 computing saturated result for unsigned overflow.
52149
52150 2013-10-11 Siddhesh Poyarekar <siddhesh@redhat.com>
52151 Jeff Law <law@redhat.com>
52152
52153 * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
52154 (atan2Mp): Add systemtap probe marker.
52155 * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
52156 (__ieee754_log): Add systemtap probe marker.
52157 * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
52158 (atanMp): Add systemtap probe marker.
52159 * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
52160 (tanMp): Add systemtap probe marker.
52161 * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
52162 (__slowexp): Add systemtap probe marker.
52163 * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
52164 (__slowpow): Add systemtap probe marker.
52165 * manual/probes.texi: Document probes.
52166
52167 2013-10-11 Eric Biggers <ebiggers3@gmail.com>
52168
52169 [BZ #15362]
52170 * libio/fileops.c (_IO_new_file_write): Return count of bytes
52171 written.
52172 (_IO_new_file_xsputn): Don't return EOF if nothing has been
52173 written.
52174 * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
52175 written to buffer but not flushed.
52176 * libio/iofwrite_u.c: Likewise.
52177 * libio/iopadn.c: Return bytes returned even if EOF was
52178 encountered.
52179 * libio/iowpadn.c: Likewise.
52180 * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
52181 if _IO_padn does not write the whole buffer.
52182 [!COMPILE_WPRINTF] (PAD): Likewise.
52183
52184 2013-10-10 David S. Miller <davem@davemloft.net>
52185
52186 * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
52187 directory block.
52188
52189 2013-10-10 Joseph Myers <joseph@codesourcery.com>
52190
52191 * soft-fp/extendxftf2.c: Use copyright year range. Use URL
52192 instead of FSF address.
52193 * soft-fp/fixdfti.c: Likewise.
52194 * soft-fp/fixsfti.c: Likewise.
52195 * soft-fp/fixtfti.c: Likewise.
52196 * soft-fp/fixunsdfti.c: Likewise.
52197 * soft-fp/fixunssfti.c: Likewise.
52198 * soft-fp/fixunstfti.c: Likewise.
52199 * soft-fp/floattidf.c: Likewise.
52200 * soft-fp/floattisf.c: Likewise.
52201 * soft-fp/floattitf.c: Likewise.
52202 * soft-fp/floatuntidf.c: Likewise.
52203 * soft-fp/floatuntisf.c: Likewise.
52204 * soft-fp/floatuntitf.c: Likewise.
52205 * soft-fp/trunctfxf2.c: Likewise.
52206
52207 * soft-fp/extendxftf2.c: New file. Copied from libgcc.
52208 * soft-fp/fixdfti.c: Likewise.
52209 * soft-fp/fixsfti.c: Likewise.
52210 * soft-fp/fixtfti.c: Likewise.
52211 * soft-fp/fixunsdfti.c: Likewise.
52212 * soft-fp/fixunssfti.c: Likewise.
52213 * soft-fp/fixunstfti.c: Likewise.
52214 * soft-fp/floattidf.c: Likewise.
52215 * soft-fp/floattisf.c: Likewise.
52216 * soft-fp/floattitf.c: Likewise.
52217 * soft-fp/floatuntidf.c: Likewise.
52218 * soft-fp/floatuntisf.c: Likewise.
52219 * soft-fp/floatuntitf.c: Likewise.
52220 * soft-fp/trunctfxf2.c: Likewise.
52221
52222 2013-10-10 David S. Miller <davem@davemloft.net>
52223
52224 * sysdeps/sparc/fpu/libm-test-ulps: Update.
52225
52226 2013-10-10 Joseph Myers <joseph@codsourcery.com>
52227
52228 * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
52229 (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
52230 [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
52231 [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
52232 [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
52233 [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
52234 [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
52235
52236 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
52237 for NaNs before doing comparisons on argument.
52238 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
52239 Likewise.
52240
52241 2013-10-10 Will Newton <will.newton@linaro.org>
52242
52243 * malloc/hooks.c (memalign_check): Ensure the value of bytes
52244 passed to _int_memalign does not overflow.
52245
52246 2013-10-10 Torvald Riegel <triegel@redhat.com>
52247
52248 * scripts/bench.pl: Add include-sources directive.
52249 * benchtests/README: Update documentation.
52250
52251 2013-10-10 Joseph Myers <joseph@codesourcery.com>
52252
52253 * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
52254 * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
52255 instead of FP_INIT_ROUNDMODE.
52256 * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
52257 * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
52258
52259 [BZ #16034]
52260 * soft-fp/op-common.h (_FP_NEG): Document input as raw. Do not
52261 copy class of input value.
52262 * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing. Do
52263 not handle exceptions.
52264 * soft-fp/negsf2.c (__negsf2): Likewise.
52265 * soft-fp/negtf2.c (__negtf2): Likewise.
52266 * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
52267
52268 2013-10-09 Joseph Myers <joseph@codesourcery.com>
52269
52270 * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
52271 semicolon. From Linux kernel.
52272
52273 2013-10-09 Adam Buchbinder <adam.buchbinder@gmail.com>
52274
52275 * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
52276
52277 2013-10-08 Yogesh Chaudhari <mr.yogesh@gmail.com>
52278
52279 [BZ #156]
52280 * manual/socket.texi: Added statement about buffer
52281 for gethostbyname2_r.
52282
52283 2013-10-08 Ondřej Bílka <neleai@seznam.cz>
52284
52285 * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
52286 Use .p2align directive instead, throughout.
52287 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
52288 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
52289 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
52290 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
52291 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
52292 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
52293 * sysdeps/x86_64/strchr.S: Likewise.
52294 * sysdeps/x86_64/strrchr.S: Likewise.
52295
52296 2013-10-08 Siddhesh Poyarekar <siddhesh@redhat.com>
52297
52298 * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
52299
52300 * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
52301
52302 * sysdeps/generic/math_private.h (__mpsin1): Remove
52303 declaration.
52304 (__mpcos1): Likewise.
52305 (__mpsin): New argument __range_reduce.
52306 (__mpcos): Likewise.
52307 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
52308 (slow): Use __mpsin and __mpcos.
52309 (slow1): Likewise.
52310 (slow2): Likewise.
52311 (sloww): Likewise.
52312 (sloww1): Likewise.
52313 (sloww2): Likewise.
52314 (bsloww): Likewise.
52315 (bsloww1): Likewise.
52316 (bsloww2): Likewise.
52317 (cslow2): Likewise.
52318 (csloww): Likewise.
52319 (csloww1): Likewise.
52320 (csloww2): Likewise.
52321 * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
52322 range_reduce. Merge in __mpsin1.
52323 (__mpcos): Likewise.
52324 (__mpsin1): Remove.
52325 (__mpcos1): Likewise.
52326
52327 2013-10-07 Joseph Myers <joseph@codesourcery.com>
52328
52329 * locale/loadlocale.c (_nl_intern_locale_data): Use
52330 LOCFILE_ALIGNED_P.
52331 * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
52332 LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
52333 * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
52334 obstack data is appropriately aligned.
52335 (obstack_int32_grow_fast): Likewise.
52336 * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
52337 * locale/programs/locfile.c (add_locale_uint32): Likewise.
52338 (add_locale_uint32_array): Likewise.
52339
52340 2013-10-07 Siddhesh Poyarekar <siddhesh@redhat.com>
52341
52342 * benchtests/Makefile: Remove ARGLIST and RET variables.
52343 ($(objpfx)bench-%.c): Pass only function name to the script.
52344 * benchtests/README: Update documentation.
52345 * benchtests/acos-inputs: Add new directives.
52346 * benchtests/acosh-inputs: Likewise.
52347 * benchtests/asin-inputs: Likewise.
52348 * benchtests/asinh-inputs: Likewise.
52349 * benchtests/atan-inputs: Likewise.
52350 * benchtests/atanh-inputs: Likewise.
52351 * benchtests/cos-inputs: Likewise.
52352 * benchtests/cosh-inputs: Likewise.
52353 * benchtests/exp-inputs: Likewise.
52354 * benchtests/log-inputs: Likewise.
52355 * benchtests/pow-inputs: Likewise.
52356 * benchtests/rint-inputs: Likewise.
52357 * benchtests/sin-inputs: Likewise.
52358 * benchtests/sinh-inputs: Likewise.
52359 * benchtests/tan-inputs: Likewise.
52360 * benchtests/tanh-inputs: Likewise.
52361 * scripts/bench.pl: Add support for new directives.
52362
52363 2013-10-07 Alan Modra <amodra@gmail.com>
52364
52365 * README: Fix careless merge.
52366
52367 2013-10-05 Alan Modra <amodra@gmail.com>
52368
52369 * NEWS: Mention powerpc64le support and bugs fixed.
52370 * README: Both big-endian and little-endian powerpc64 supported.
52371
52372 2013-10-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
52373
52374 * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
52375 (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
52376 (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
52377 _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
52378
52379 2013-10-04 Ryan S. Arnold <ryan.arnold@linaro.org>
52380
52381 * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
52382 match prototype.
52383
52384 2013-10-04 Joseph Myers <joseph@codesourcery.com>
52385
52386 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
52387 Move -mhard-float appending from
52388 ports/sysdeps/powerpc/powerpc32/Makefile.
52389 [$(with-fp) = yes] (ASFLAGS): Likewise.
52390 [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
52391 * sysdeps/powerpc/nofpu: Move directory from
52392 ports/sysdeps/powerpc/nofpu.
52393 * sysdeps/powerpc/soft-fp: Move directory from
52394 ports/sysdeps/powerpc/soft-fp.
52395 * sysdeps/powerpc/powerpc32/405: Move directory from
52396 ports/sysdeps/powerpc/powerpc32/405.
52397 * sysdeps/powerpc/powerpc32/440: Move directory from
52398 ports/sysdeps/powerpc/powerpc32/440.
52399 * sysdeps/powerpc/powerpc32/464: Move directory from
52400 ports/sysdeps/powerpc/powerpc32/464.
52401 * sysdeps/powerpc/powerpc32/476: Move directory from
52402 ports/sysdeps/powerpc/powerpc32/476.
52403 * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
52404 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
52405 * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
52406 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
52407 * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
52408 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
52409 * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
52410 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
52411 * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
52412 from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
52413 * README: Update for powerpc-*-linux-gnu software floating point
52414 support in libc.
52415
52416 * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
52417 case to powerpc/powerpc32*.
52418 * sysdeps/unix/sysv/linux/configure: Regenerated.
52419
52420 * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
52421 (_FPU_MASK_OM): Define as 0x04.
52422 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
52423 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
52424 0x00c10080.
52425 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
52426 0x0000003c.
52427 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
52428
52429 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
52430 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
52431 getcontext_e500.
52432 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
52433 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
52434 setcontext_e500.
52435 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
52436 (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
52437 and setcontext_e500.
52438
52439 2013-10-04 Chris Leonard <cjl@sugarlabs,.org>
52440
52441 * locale/iso-3166.def: Update iso-1366.def and related occurrences
52442
52443 2013-10-04 Siddhesh Poyarekar <siddhesh@redhat.com>
52444
52445 * manual/threads.texi (Default Thread Attributes): Fix typo.
52446
52447 2013-10-04 Will Newton <will.newton@linaro.org>
52448
52449 * malloc/Makefile: Add tst-memalign.
52450 * malloc/tst-memalign.c: New file.
52451
52452 * malloc/tst-posix_memalign.c: Add comments.
52453 (do_test): Add comments and call free on all potentially
52454 allocated pointers. Add space after cast.
52455
52456 * malloc/tst-pvalloc.c: Add comments.
52457 (do_test): Add comments and call free on all potentially
52458 allocated pointers. Remove duplicate check for NULL pointer.
52459 Add space after cast.
52460
52461 * malloc/tst-valloc.c: Add comments.
52462 (do_test): Add comments and call free on all potentially
52463 allocated pointers. Remove duplicate check for NULL pointer.
52464 Add space after cast.
52465
52466 2013-10-04 Alan Modra <amodra@gmail.com>
52467
52468 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52469 Use stdint types in rather than __attribute__((mode())).
52470 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52471
52472 2013-10-04 Alan Modra <amodra@gmail.com>
52473
52474 * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
52475 Correct handling of unaligned relocs for little-endian.
52476 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
52477
52478 2013-10-04 Alan Modra <amodra@gmail.com>
52479
52480 * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
52481 * configure: Regenerate.
52482 * nptl/shlib-versions: Powerpc*le starts at 2.18.
52483 * shlib-versions: Likewise.
52484
52485 2013-10-04 Alan Modra <amodra@gmail.com>
52486
52487 * string/tester.c (test_memrchr): Increment reported test cycle.
52488
52489 2013-10-04 Alan Modra <amodra@gmail.com>
52490
52491 * string/test-memcpy.c (do_one_test): When reporting errors, print
52492 string address and don't overrun end of string.
52493
52494 2013-10-04 Alan Modra <amodra@gmail.com>
52495
52496 * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
52497 insrdi. Make better use of reg selection to speed exit slightly.
52498 Schedule entry path a little better. Remove useless "are we done"
52499 checks on entry to main loop. Handle wrapping around zero address.
52500 Correct main loop count. Handle single left-over word from main
52501 loop inline rather than by using loop_small. Remove extra word
52502 case in loop_small caused by wrong loop count. Add little-endian
52503 support.
52504 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
52505 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise. Use proper
52506 cache hint.
52507 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
52508 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
52509 support. Avoid rlwimi.
52510 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
52511
52512 2013-10-04 Alan Modra <amodra@gmail.com>
52513
52514 * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
52515 insrdi. Formatting.
52516 * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
52517 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
52518 * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
52519 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
52520 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
52521 * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
52522
52523 2013-10-04 Alan Modra <amodra@gmail.com>
52524
52525 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
52526 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
52527 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
52528 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
52529 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
52530 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
52531 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
52532 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
52533 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise. Make better
52534 use of regs. Use power7 mtocrf. Tidy function tails.
52535
52536 2013-10-04 Alan Modra <amodra@gmail.com>
52537
52538 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
52539 Formatting. Consistently use rXXX register defines or rN defines.
52540 Use early exit labels that avoid restoring unused non-volatile regs.
52541 Make cr field use more consistent with rWORDn compares. Rename
52542 regs used as shift registers for unaligned loop, using rN defines
52543 for short lifetime/multiple use regs.
52544 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
52545 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise. Exit with
52546 addi 1,1,64 to pop stack frame. Simplify return value code.
52547 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
52548
52549 2013-10-04 Alan Modra <amodra@gmail.com>
52550
52551 * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
52552 support. Correct typos, formatting. Optimize tail. Use insrdi
52553 rather than rlwimi.
52554 * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
52555 * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
52556 little-endian support. Correct typos.
52557 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise. Use insrdi
52558 rather than rlwimi.
52559 * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define. Use
52560 in loop and entry code to keep "and." results.
52561 (strchr): Add little-endian support. Comment. Move cntlzd
52562 earlier in tail.
52563 * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
52564
52565 2013-10-04 Alan Modra <amodra@gmail.com>
52566
52567 * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
52568 * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
52569 * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
52570 * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
52571
52572 2013-10-04 Alan Modra <amodra@gmail.com>
52573
52574 * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
52575 (rTMP): Define as r11.
52576 (strcmp): Add little-endian support. Optimise tail.
52577 * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
52578 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
52579 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
52580 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
52581 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
52582 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
52583 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
52584
52585 2013-10-04 Alan Modra <amodra@gmail.com>
52586
52587 * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
52588 little-endian support. Remove unnecessary "are we done" tests.
52589 Handle "s" wrapping around zero and extremely large "size".
52590 Correct main loop count. Handle single left-over word from main
52591 loop inline rather than by using small_loop. Correct comments.
52592 Delete "zero" tail, use "end_max" instead.
52593 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
52594
52595 2013-10-04 Alan Modra <amodra@gmail.com>
52596
52597 * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
52598 support. Don't branch over align.
52599 * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
52600 * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
52601 support. Rearrange tmp reg use to suit. Comment.
52602 * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
52603
52604 2013-10-04 Alan Modra <amodra@gmail.com>
52605
52606 * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
52607
52608 2013-10-04 Alan Modra <amodra@gmail.com>
52609
52610 * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
52611 conditional form of branch and link when obtaining pc.
52612 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
52613
52614 2013-10-04 Alan Modra <amodra@gmail.com>
52615
52616 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
52617 HIWORD/LOWORD.
52618 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
52619 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
52620
52621 2013-10-04 Alan Modra <amodra@gmail.com>
52622
52623 * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
52624 * sysdeps/powerpc/novmx-longjmp.c: Likewise.
52625 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
52626 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
52627 * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
52628 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
52629 * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
52630 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
52631 * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
52632 * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
52633
52634 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52635 Alistair Popple <alistair@ozlabs.au.ibm.com>
52636 Alan Modra <amodra@gmail.com>
52637
52638 [BZ #15723]
52639 * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
52640 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
52641 _dl_hwcap access for little-endian.
52642 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise. Don't
52643 destroy vmx regs when saving unaligned.
52644 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
52645 * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save. Don't
52646 destroy vmx regs when saving unaligned.
52647
52648 2013-10-04 Alan Modra <amodra@gmail.com>
52649
52650 * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
52651 Don't use a union to pack hi/low value.
52652
52653 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52654
52655 * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
52656 for little-endian.
52657 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
52658 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
52659 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
52660 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
52661 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
52662
52663 2013-10-04 Alan Modra <amodra@gmail.com>
52664
52665 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
52666 constants to usual value for .cst8 section, and remove redundant
52667 high address load.
52668 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
52669 constant for 0x1p52. Load little-endian words of double from
52670 correct stack offsets.
52671
52672 2013-10-04 Alan Modra <amodra@gmail.com>
52673
52674 * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
52675 * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
52676 words of double from correct stack offsets.
52677 * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
52678 * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
52679 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
52680 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
52681 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
52682 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
52683 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
52684 * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
52685 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
52686 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
52687 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
52688 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
52689 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
52690 * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
52691 * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
52692 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
52693 * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
52694
52695 2013-10-04 Alan Modra <amodra@gmail.com>
52696
52697 * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
52698 64-bit int/double union.
52699 (_FPU_SETCW): Likewise.
52700 * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
52701 (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
52702
52703 2013-10-04 Alan Modra <amodra@gmail.com>
52704
52705 * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
52706 * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
52707
52708 2013-10-04 Alan Modra <amodra@gmail.com>
52709
52710 * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
52711 use vector int constants.
52712 (__float_and_test24, __float_and8, __float_get_exp): Likewise.
52713
52714 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52715
52716 * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
52717 array with long long.
52718 * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
52719 * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
52720 * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
52721 * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
52722 * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
52723 * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
52724 * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
52725 * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
52726 * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
52727 * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
52728 * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
52729 * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
52730 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
52731
52732 2013-10-04 Anton Blanchard <anton@au1.ibm.com>
52733
52734 * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
52735 (__signbit): Likewise. Correct for little-endian.
52736 (__signbitl): Call __signbit.
52737 (lrint): Correct for little-endian.
52738 (lrintf): Call lrint.
52739
52740 2013-10-04 Alan Modra <amodra@gmail.com>
52741
52742 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
52743 union 32-bit int array member with 64-bit int array.
52744 (t515, tm256): Double rather than long double.
52745 (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
52746
52747 2013-10-04 Alan Modra <amodra@gmail.com>
52748
52749 * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
52750 Delete.
52751 (IEEE854_LONG_DOUBLE_BIAS): Delete.
52752 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
52753 version of math_ldbl.h.
52754
52755 2013-10-04 Alan Modra <amodra@gmail.com>
52756
52757 [BZ #15734], [BZ #15735]
52758 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
52759 all uses of ieee875 long double macros and unions. Simplify test
52760 for 0.0L. Correct |x|<|y| and |x|=|y| test. Use
52761 ldbl_extract_mantissa value for ix,iy exponents. Properly
52762 normalize after ldbl_extract_mantissa, and don't add hidden bit
52763 already handled. Don't treat low word of ieee854 mantissa like
52764 low word of IBM long double and mask off bit when testing for
52765 zero.
52766 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
52767 all uses of ieee875 long double macros and unions. Simplify tests
52768 for 0.0L and inf. Correct double adjustment of k. Delete dead code
52769 adjusting ha,hb. Simplify code setting kld. Delete two600 and
52770 two1022, instead use their values. Recognise that tests for large
52771 "a" and small "b" are mutually exclusive. Rename vars. Comment.
52772 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
52773 Rewrite all uses of ieee875 long double macros and unions. Simplify
52774 test for 0.0L and nan. Correct negation.
52775 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
52776 ieee875 long double macros and unions. Correct output for large
52777 magnitude x. Correct absolute value calculation.
52778 (__erfcl): Likewise.
52779 * math/libm-test.inc: Add tests for errors discovered in IBM long
52780 double versions of fmodl, remainderl, erfl and erfcl.
52781
52782 2013-10-04 Alan Modra <amodra@gmail.com>
52783
52784 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
52785 all uses of ieee854 long double macros and unions. Simplify tests
52786 for long doubles that are fully specified by the high double.
52787 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
52788 Likewise.
52789 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
52790 Remove dead code too.
52791 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
52792 (__ieee754_ynl): Likewise.
52793 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
52794 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
52795 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
52796 Remove dead code too.
52797 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
52798 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
52799 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
52800 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
52801 Simplify.
52802 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
52803 Simplify.
52804 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
52805 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
52806 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
52807 Comment on variable precision.
52808 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
52809 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
52810 Likewise.
52811 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
52812 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
52813 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
52814 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
52815 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
52816
52817 2013-10-04 Alan Modra <amodra@gmail.com>
52818
52819 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
52820 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
52821 all uses of ieee854 long double macros and unions.
52822 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
52823 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
52824 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
52825 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
52826 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
52827 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
52828 Likewise.
52829 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
52830 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
52831 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
52832 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
52833 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
52834 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
52835 Simplify sign and nan test too.
52836 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
52837 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
52838 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
52839 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
52840 Likewise.
52841 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
52842 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
52843 Likewise.
52844 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
52845 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
52846 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
52847 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
52848 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
52849 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
52850
52851 2013-10-04 Alan Modra <amodra@gmail.com>
52852
52853 * stdio-common/printf_size.c (__printf_size): Don't use
52854 union ieee854_long_double in fpnum union.
52855 * stdio-common/printf_fphex.c (__printf_fphex): Likewise. Use
52856 signbit macro to retrieve sign from long double.
52857 * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
52858 retrieve sign from long double.
52859 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
52860 * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
52861 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
52862 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
52863 * math/test-misc.c (main): Don't use union ieee854_long_double.
52864
52865 2013-10-04 Alan Modra <amodra@gmail.com>
52866
52867 [BZ #15680]
52868 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
52869 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
52870 (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
52871 calculation. Remove unnecessary test for denormal exponent.
52872 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
52873 Correct handling of denormals. Avoid undefined shift behaviour.
52874 Correct normalisation of low mantissa when low double is denormal.
52875 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
52876 (ldbl_extract_mantissa): Likewise. Comment. Use uint64_t* for hi64.
52877 (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
52878 Correct normalisation of low mantissa. Test for overflow of high
52879 mantissa and normalise.
52880 (ldbl_nearbyint): Use more readable constant for two52.
52881 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
52882 (__mpn_construct_long_double): Fix test for overflow of high
52883 mantissa and correct normalisation. Avoid undefined shift.
52884
52885 2013-10-04 Alan Modra <amodra@gmail.com>
52886
52887 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
52888 (union ibm_extended_long_double): Define as an array of ieee754_double.
52889 (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
52890 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
52891 to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
52892 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
52893 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
52894 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
52895 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
52896 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
52897 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
52898 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
52899 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
52900
52901 2013-10-03 Joseph Myers <joseph@codesourcery.com>
52902
52903 * locale/programs/locarchive.c (add_locale): Use constant 4096 for
52904 page size instead of calling getpagesize.
52905
52906 * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
52907 (LOCFILE_ALIGN_MASK): Likewise.
52908 (LOCFILE_ALIGN_UP): Likewise.
52909 (LOCFILE_ALIGNED_P): Likewise.
52910 * locale/programs/ld-collate.c (collate_output): Use the new
52911 macros instead of __alignof__ (int32_t).
52912 * locale/weight.h (findidx): Likewise.
52913
52914 2013-10-03 Ondřej Bílka <neleai@seznam.cz>
52915
52916 [BZ #431]
52917 * manual/string.texi: Fix strncat and wcsncat.
52918
52919 2013-10-03 Brooks Moses <bmoses@google.com>
52920
52921 [BZ #15915]
52922 * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
52923 * Makerules: ...here, and adjust associated comments.
52924
52925 2013-10-02 Will Newton <will.newton@linaro.org>
52926
52927 * malloc/Makefile: Add tst-pvalloc.
52928 * malloc/tst-pvalloc.c: New file.
52929
52930 2013-10-02 Will Newton <will.newton@linaro.org>
52931
52932 * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
52933 improve test coverage.
52934
52935 2013-10-02 Will Newton <will.newton@linaro.org>
52936
52937 * malloc/Makefile: Add tst-posix_memalign.
52938 * malloc/tst-posix_memalign.c: New file.
52939
52940 2013-10-01 Eric Blake <eblake@redhat.com>
52941
52942 * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
52943 Use __THROWNL rather than __THROW on static functions.
52944
52945 2013-09-30 Petr Machata <pmachata@redhat.com>
52946
52947 * elf/elf.h (R_AARCH64_ABS16): New macro.
52948 (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
52949 (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
52950 (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
52951 (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
52952 (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
52953 (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
52954 (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
52955 (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
52956 (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
52957 (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
52958 (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
52959 (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
52960 (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
52961 (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
52962 (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
52963 (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
52964 (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
52965 (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
52966 (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
52967 (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
52968 (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
52969 (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
52970 (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
52971 (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
52972 (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
52973 (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
52974 (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
52975 (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
52976 (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
52977 (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
52978 (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
52979 (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
52980 (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
52981 (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
52982 (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
52983 (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
52984 (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
52985 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
52986 (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
52987 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
52988 (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
52989 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
52990 (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
52991 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
52992 (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
52993 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
52994 (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
52995 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
52996 (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
52997 (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
52998 (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
52999 (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
53000 (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
53001 (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
53002 (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
53003 (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
53004 (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
53005 (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
53006 (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
53007 (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
53008 (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
53009 (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
53010 (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
53011 (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
53012 (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
53013 (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
53014 (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
53015 (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
53016 (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
53017 (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
53018 (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
53019 (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
53020 (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
53021 (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
53022 (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
53023 (R_AARCH64_TLSDESC_OFF_G1): Likewise.
53024 (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
53025 (R_AARCH64_TLSDESC_LDR): Likewise.
53026 (R_AARCH64_TLSDESC_ADD): Likewise.
53027 (R_AARCH64_TLSDESC_CALL): Likewise.
53028
53029 2013-09-30 Andreas Schwab <schwab@suse.de>
53030
53031 [BZ #15048]
53032 * nscd/aicache.c (addhstaiX): Properly use the cache variable for
53033 the nss database lookup.
53034 * nscd/initgrcache.c (addinitgroupsX): Likewise.
53035 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53036
53037 2013-09-28 Mike Frysinger <vapier@gentoo.org>
53038
53039 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
53040
53041 2013-09-28 P. J. McDermott <pj@pehjota.net>
53042
53043 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
53044 ${Bash-specific parameter/pattern/string} parameter expansion.
53045 * sysdeps/unix/make-syscalls.sh: Likewise.
53046
53047 2013-09-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
53048
53049 * sysdeps/sh/stackguard-macros.h: New file.
53050
53051 2013-09-26 Ondřej Bílka <neleai@seznam.cz>
53052
53053 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
53054 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
53055 * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
53056 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
53057 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
53058 * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
53059
53060 2013-09-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53061
53062 * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
53063 Fix thread ID register.
53064
53065 2013-09-25 Joseph Myers <joseph@codesourcery.com>
53066
53067 * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
53068 [POSIX || UNIX98]: Require rather than permitting all symbols from
53069 <time.h>.
53070 [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
53071 element of struct sched_param.
53072 [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
53073 [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
53074 [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
53075 [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
53076 constant.
53077
53078 2013-09-24 Olivier Langlois <olivier@olivierlanglois.net>
53079
53080 * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
53081 argument calculation.
53082
53083 2013-09-24 Joseph Myers <joseph@codesourcery.com>
53084
53085 * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
53086 Expect macro.
53087 [POSIX] (pthread_attr_t): Do not require type.
53088 [POSIX] (pthread_cond_t): Likewise.
53089 [POSIX] (pthread_condattr_t): Likewise.
53090 [POSIX] (pthread_key_t): Likewise.
53091 [POSIX] (pthread_mutex_t): Likewise.
53092 [POSIX] (pthread_mutexattr_t): Likewise.
53093 [POSIX] (pthread_once_t): Likewise.
53094 [POSIX] (pthread_t): Likewise.
53095 [POSIX-based standards] (pthread_atfork): Expect function.
53096
53097 2013-09-24 Joseph Myers <joseph@codesourcery.com>
53098 Richard Sandiford <richard@codesourcery.com>
53099
53100 * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
53101 (swap_endianness_p): New extern variable.
53102 (set_big_endian): New inline function.
53103 (maybe_swap_uint32): Likewise.
53104 (maybe_swap_uint32_array): Likewise.
53105 (maybe_swap_uint32_obstack): Likewise.
53106 * locale/programs/locfile.c: Include <stdbool.h>.
53107 (swap_endianness_p): New variable.
53108 (add_locale_uint32): Call maybe_swap_uint32.
53109 (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
53110 (write_locale_data): Call maybe_swap_uint32_array.
53111 * locale/programs/ld-collate.c (obstack_int32_grow): Call
53112 maybe_swap_uint32.
53113 (obstack_int32_grow_fast): Likewise.
53114 (output_weightwc): Call maybe_swap_uint32_obstack.
53115 (collate_output): Likewise.
53116 * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
53117 (OPT_LITTLE_ENDIAN): Likewise.
53118 (options): Add --little-endian and --big-endian options.
53119 (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
53120 * locale/programs/locarchive.c: Include "locfile.h".
53121 (GET): New macro.
53122 (SET): Likewise.
53123 (INC): Likewise.
53124 (create_archive): Use the new macros to access fields of
53125 structures directly mapped from or written to locale archives.
53126 (oldlocrecentcmp): Likewise.
53127 (enlarge_archive): Likewise.
53128 (insert_name): Likewise.
53129 (add_alias): Likewise.
53130 (add_locale): Likewise.
53131 (delete_locales_from_archive): Likewise.
53132 (show_archive_content): Likewise.
53133 (add_locale_to_archive): Likewise. Use maybe_swap_uint32 on
53134 locale data.
53135
53136 2013-09-24 Roland McGrath <roland@hack.frob.com>
53137
53138 * manual/freemanuals.texi: Updated from (newly) canonical copy at
53139 http://www.gnu.org/doc/freemanuals.texi.
53140 * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
53141
53142 2013-09-24 Will Newton <will.newton@linaro.org>
53143
53144 * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
53145 macro.
53146
53147 2013-09-23 Joseph Myers <joseph@codesourcery.com>
53148
53149 * locale/hashval.h (compute_hashval): Interpret bytes of key as
53150 unsigned char.
53151
53152 2013-09-23 Maciej W. Rozycki <macro@codesourcery.com>
53153
53154 * manual/threads.texi (POSIX Threads): Fix a typo.
53155
53156 2013-09-23 Siddhesh Poyarekar <siddhesh@redhat.com>
53157
53158 [BZ #14547]
53159 * string/tst-strcoll-overflow.c: New test case.
53160 * string/Makefile (xtests): Add tst-strcoll-overflow.
53161 * string/strcoll_l.c (STRCOLL): Skip allocating memory for
53162 cache if string sizes may cause integer overflow.
53163
53164 [BZ #14547]
53165 * string/strcoll_l.c (coll_seq): New members rule, idx,
53166 save_idx and back_us.
53167 (get_next_seq_nocache): New function.
53168 (do_compare_nocache): New function.
53169 (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
53170 when malloc fails.
53171
53172 2013-09-23 Carlos O'Donell <carlos@redhat.com>
53173
53174 [BZ #15754]
53175 * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
53176 __pointer_chk_guard_local, otherwise __pointer_chk_guard.
53177 * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
53178
53179 [BZ #15754]
53180 * elf/Makefile (tests): Add tst-ptrguard1.
53181 (tests-static): Add tst-ptrguard1-static.
53182 (tst-ptrguard1-ARGS): Define.
53183 (tst-ptrguard1-static-ARGS): Define.
53184 * elf/tst-ptrguard1.c: New file.
53185 * elf/tst-ptrguard1-static.c: New file.
53186 * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
53187 * sysdeps/i386/stackguard-macros.h: Likewise.
53188 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
53189 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
53190 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
53191 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
53192 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
53193 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
53194
53195 2013-09-23 Hector Marco <hecmargi@upv.es>
53196 Ismael Ripoll <iripoll@disca.upv.es>
53197 Carlos O'Donell <carlos@redhat.com>
53198
53199 [BZ #15754]
53200 * sysdeps/generic/stackguard-macros.h: Define
53201 __pointer_chk_guard_local and POINTER_CHK_GUARD.
53202 * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
53203 Define __pointer_chk_guard_local.
53204 (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
53205 Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
53206
53207 2013-09-15 Vinitha Vijayan <vinitha.vijayann@gmail.com>
53208
53209 [BZ #15859]
53210 * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
53211
53212 2013-09-20 Andreas Schwab <schwab@linux-m68k.org>
53213
53214 * include/string.h (__ffs): Declare as hidden.
53215 * string/ffs.c (__ffs): Define as hidden.
53216 * sysdeps/i386/ffs.c (__ffs): Likewise.
53217 * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
53218 * sysdeps/powerpc/ffs.c (__ffs): Likewise.
53219 * sysdeps/s390/ffs.c (__ffs): Likewise.
53220 * sysdeps/x86_64/ffs.c (__ffs): Likewise.
53221
53222 2013-09-20 Alexandre Oliva <aoliva@redhat.com>
53223
53224 * NEWS: Mention malloc probes.
53225
53226 * malloc/arena.c (new_heap): New memory_heap_new probe.
53227 (grow_heap): New memory_heap_more probe.
53228 (shrink_heap): New memory_heap_less probe.
53229 (heap_trim): New memory_heap_free probe.
53230 * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
53231 (systrim): New memory_sbrk_less probe.
53232 * manual/probes.texi: Document them.
53233
53234 * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
53235 * manual/probes.texi: Document it.
53236
53237 * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
53238 (__libc_realloc): Add memory_realloc_retry probe.
53239 (__libc_memalign): Add memory_memalign_retry probe.
53240 (__libc_valloc): Add memory_valloc_retry probe.
53241 (__libc_pvalloc): Add memory_pvalloc_retry probe.
53242 (__libc_calloc): Add memory_calloc_retry probe.
53243 * manual/probes.texi: Document them.
53244
53245 * malloc/arena.c (get_free_list): Add probe
53246 memory_arena_reuse_free_list.
53247 (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
53248 and memory_arena_reuse.
53249 (arena_get2) [!PER_THREAD]: Likewise.
53250 * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
53251 memory_arena_reuse_realloc.
53252 * manual/probes.texi: Document them.
53253
53254 * malloc/malloc.c (__libc_free): Add
53255 memory_mallopt_free_dyn_thresholds probe.
53256 (__libc_mallopt): Add multiple memory_mallopt probes.
53257 * manual/probes.texi: Document them.
53258
53259 * malloc/malloc.c: Include stap-probe.h.
53260 (__libc_mallopt): Add memory_mallopt probe.
53261 * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
53262 * manual/probes.texi: New.
53263 * manual/Makefile (chapters): Add probes.
53264 * manual/threads.texi: Set next node.
53265
53266 2013-09-19 Wei-Lun Chao <bluebat@member.fsf.org>
53267
53268 [BZ #15963, #13985]
53269 * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
53270 czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
53271 Add `Chinese' to `nan' entry name.
53272
53273 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
53274
53275 * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
53276 (POLYNOMIAL): Likewise.
53277 (TAYLOR_SINCOS): Likewise.
53278 (TAYLOR_SLOW): Likewise.
53279 (__sin): Use TAYLOR_SINCOS.
53280 (__cos): Likewise.
53281 (slow): Use TAYLOR_SLOW.
53282 (sloww): Likewise.
53283 (bsloww): Likewise.
53284 (csloww): Likewise.
53285
53286 2013-09-19 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
53287
53288 * stdlib/strtod_l.c: Fix buffer overrun.
53289
53290 2013-09-19 Siddhesh Poyarekar <siddhesh@redhat.com>
53291
53292 * benchtests/Makefile (bench): Add sincos.
53293 * benchtests/bench-sincos.c: New file.
53294
53295 * math/libm-test.inc (cos_test_data): New test inputs.
53296 (sin_test_data): Likewise.
53297
53298 * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
53299 macro.
53300 (__sin): Use it.
53301 (__cos): Likewise.
53302 (slow1): Likewise.
53303 (slow2): Likewise.
53304 (sloww1): Likewise.
53305 (sloww2): Likewise.
53306 (bsloww1): Likewise.
53307 (bsloww2): Likewise.
53308 (cslow2): Likewise.
53309 (csloww1): Likewise.
53310 (csloww2): Likewise.
53311
53312 * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
53313 function.
53314 (__sin): Use it.
53315 (__cos): Likewise.
53316
53317 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
53318 gotos.
53319 (__cos): Likewise.
53320
53321 2013-09-18 Maciej W. Rozycki <macro@codesourcery.com>
53322
53323 * config.h.in (HAVE_MIPS_NAN2008): New macro.
53324 * elf/elf.h (EF_MIPS_NAN2008): Likewise.
53325 * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
53326 (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
53327 (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
53328 * elf/cache.c (print_entry): Handle the new cache flags.
53329
53330 2013-09-18 Joseph Myers <joseph@codesourcery.com>
53331 Aldy Hernandez <aldyh@redhat.com>
53332
53333 * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
53334 Change condition to [_SOFT_FLOAT].
53335 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
53336 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
53337 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
53338 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
53339 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
53340 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
53341 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
53342 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
53343 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
53344 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
53345 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
53346 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
53347 [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
53348 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
53349 [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
53350 [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
53351 declaration.
53352
53353 2013-09-18 Joseph Myers <joseph@codesourcery.com>
53354
53355 * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
53356 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
53357 (__longjmp): Use LOAD_GP to load saved GPRs.
53358 * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
53359 macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
53360 (__sigsetjmp): Use SAVE_GP to save GPRs.
53361
53362 * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
53363 Do not append -msoft-float.
53364 [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
53365
53366 2013-09-18 Siddhesh Poyarekar <siddhesh@redhat.com>
53367
53368 * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
53369
53370 2013-09-17 Joseph Myers <joseph@codesourcery.com>
53371
53372 [BZ #15966]
53373 * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
53374 (_FPU_GETCW): Use initial "__" on variable and field names but not
53375 on macro parameter name.
53376 [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise. Use
53377 parentheses around reference to macro parameter.
53378
53379 2013-09-13 Richard Sandiford <richard@codesourcery.com>
53380
53381 * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
53382 prototype.
53383 (ctype_startup): Use uint32_t in cast and sizeof for
53384 ctype->charnames.
53385
53386 2013-09-11 Jia Liu <proljc@gmail.com>
53387
53388 * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
53389 __daddr_t_defined.
53390 [__FreeBSD__]: Likewise.
53391
53392 2013-09-11 Ondřej Bílka <neleai@seznam.cz>
53393
53394 * sysdeps/x86_64/multiarch/ifunc-impl-list.c
53395 (__libc_ifunc_impl_list): Remove: __strchr_sse42.
53396 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
53397 (strchr): Remove __strchr_sse42 ifunc selection.
53398 * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
53399 * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
53400
53401 2013-09-11 Will Newton <will.newton@linaro.org>
53402
53403 * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
53404 parameter to RES. Remove hardcoded 1000 value.
53405 * benchtests/bench-skeleton.c (main): Pass RES parameter
53406 to TIMING_INIT and multiply result by 1000.
53407
53408 2013-09-10 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53409
53410 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53411
53412 2013-09-11 Andreas Schwab <schwab@suse.de>
53413
53414 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
53415 if not defined.
53416 (O_TMPFILE) [__USE_GNU]: Define.
53417 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
53418 Define.
53419
53420 2013-09-11 Will Newton <will.newton@linaro.org>
53421
53422 [BZ #15857]
53423 * malloc/malloc.c (__libc_memalign): Check the value of bytes
53424 does not overflow.
53425
53426 2013-09-11 Will Newton <will.newton@linaro.org>
53427
53428 [BZ #15856]
53429 * malloc/malloc.c (__libc_valloc): Check the value of bytes
53430 does not overflow.
53431
53432 2013-09-11 Will Newton <will.newton@linaro.org>
53433
53434 [BZ #15855]
53435 * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
53436 does not overflow.
53437
53438 2013-09-10 Ondřej Bílka <neleai@seznam.cz>
53439
53440 * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
53441 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
53442 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
53443 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
53444 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
53445
53446 2013-09-10 Allan McRae <allan@archlinux.org>
53447
53448 [BZ #15748]
53449 * manual/arith.texi (Parsing of Floats): Clarify
53450 cross-reference.
53451
53452 [BZ #15849]
53453 * manual/install.texi (Running make install): Mention
53454 --enable-pt-chown.
53455 * INSTALL: Regenerated.
53456
53457 2013-09-09 Maciej W. Rozycki <macro@codesourcery.com>
53458
53459 * csu/init-first.c (_init): Remove the !SHARED condition around
53460 FPU control word initialization.
53461 * elf/dl-support.c (_dl_fpu_control): New variable.
53462 (_dl_aux_init) <AT_FPUCW>: Initialize it.
53463 * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
53464 (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
53465 * math/test-fpucw-static.c: New file.
53466 * math/test-fpucw-ieee.c: New file.
53467 * math/test-fpucw-ieee-static.c: New file.
53468 * math/Makefile (tests): Add `test-fpucw-ieee' and
53469 `$(tests-static)'.
53470 (tests-static): New variable.
53471 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
53472 dependency to...
53473 [($(build-shared),yes)]
53474 ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
53475 ... this.
53476 [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
53477 New dependency.
53478
53479 2013-09-09 Allan McRae <allan@archlinux.org>
53480
53481 [BZ #15939]
53482 * manual/string.texi (Collation Functions): Fix typo in
53483 strcoll example.
53484 Reported by Suren Karapetyan <me@suren.karapetyan.name>.
53485
53486 [BZ #15893]
53487 * stdlib/isomac.c (get_null_defines): Fix memory leak.
53488
53489 [BZ #15892]
53490 * libio/memstream.c (open_memstream): Fix memory leak.
53491 * libio/wmemstream.c (open_wmemstream): Likewise.
53492
53493 [BZ #15895]
53494 * nscd/netgroupcache.c: Fix nesting of ifdefs.
53495
53496 2013-09-09 Will Newton <will.newton@linaro.org>
53497
53498 * malloc/Makefile: Add tst-realloc to tests.
53499 * malloc/tst-realloc.c: New file.
53500
53501 2013-09-09 Allan McRae <allan@archlinux.org>
53502
53503 [BZ #15844]
53504 * COPYING: Update from GNU website to fix FSF address.
53505 * COPYING.LIB: Likewise.
53506
53507 2013-09-06 David S. Miller <davem@davemloft.net>
53508
53509 * po/zh_TW.po: Update Chinese (traditional) translation from
53510 translation project.
53511
53512 2013-09-06 Richard Sandiford <richard@codesourcery.com>
53513 Joseph Myers <joseph@codesourcery.com>
53514
53515 * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
53516 "localeinfo.h".
53517 (obstack_chunk_alloc): New macro.
53518 (obstack_chunk_free): Likewise.
53519 (record_offset): New function.
53520 (init_locale_data): Likewise.
53521 (align_locale_data): Likewise.
53522 (add_locale_empty): Likewise.
53523 (add_locale_raw_data): Likewise.
53524 (add_locale_raw_obstack): Likewise.
53525 (add_locale_string): Likewise.
53526 (add_locale_wstring): Likewise.
53527 (add_locale_uint32): Likewise.
53528 (add_locale_uint32_array): Likewise.
53529 (add_locale_char): Likewise.
53530 (start_locale_structure): Likewise.
53531 (end_locale_structure): Likewise.
53532 (start_locale_prelude): Likewise.
53533 (end_locale_prelude): Likewise.
53534 (write_locale_data): Take locale_file structure rather than an
53535 iovec.
53536 * locale/programs/locfile.h: Include "obstack.h".
53537 (struct locale_file): Change to store locale file contents instead
53538 of header.
53539 (init_locale_data): New prototype.
53540 (align_locale_data): Likewise.
53541 (add_locale_empty): Likewise.
53542 (add_locale_raw_data): Likewise.
53543 (add_locale_raw_obstack): Likewise.
53544 (add_locale_string): Likewise.
53545 (add_locale_wstring): Likewise.
53546 (add_locale_uint32): Likewise.
53547 (add_locale_uint32_array): Likewise.
53548 (add_locale_char): Likewise.
53549 (start_locale_structure): Likewise.
53550 (end_locale_structure): Likewise.
53551 (start_locale_prelude): Likewise.
53552 (end_locale_prelude): Likewise.
53553 (write_locale_data): Update prototype.
53554 * locale/programs/3level.h (struct TABLE): Remove result field.
53555 (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
53556 Use new locale_file interface.
53557 [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
53558 (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
53559 * locale/programs/ld-address.c (address_output): Use new
53560 locale_file interface.
53561 * locale/programs/ld-collate.c (NO_FINALIZE): Change to
53562 NO_ADD_LOCALE.
53563 (collate_finish): Don't call collseq_table_finalize.
53564 (collate_output): Use new locale_file interface.
53565 * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
53566 in file.
53567 (NO_FINALIZE): Change to NO_ADD_LOCALE.
53568 (TABLE): Move defines earlier in file.
53569 (ELEMENT): Likewise.
53570 (DEFAULT): Likewise.
53571 (wctrans_table_add): Move macro and inline function earlier in
53572 file.
53573 (struct wctype_table): Move type earlier in file.
53574 (add_locale_wctype_table): New static prototype.
53575 (struct locale_ctype_t): Use logical types instead of struct iovec
53576 pointers for members.
53577 (ctype_output): Use new locale_file interface.
53578 (wctype_table_finalize): Change to add_locale_wctype_table. Use
53579 new locale_file interface.
53580 (allocate_arrays): Update for use of new locale_file interface.
53581 * locale/programs/ld-identification.c (identification_output): Use
53582 new locale_file interface.
53583 * locale/programs/ld-measurement.c (measurement_output): Likewise.
53584 * locale/programs/ld-messages.c (messages_output): Likewise.
53585 * locale/programs/ld-monetary.c (monetary_output): Likewise.
53586 * locale/programs/ld-name.c (name_output): Likewise.
53587 * locale/programs/ld-numeric.c (numeric_output): Likewise.
53588 * locale/programs/ld-paper.c (paper_output): Likewise.
53589 * locale/programs/ld-telephone.c (telephone_output): Likewise.
53590 * locale/programs/ld-time.c (time_output): Likewise.
53591
53592 2013-09-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53593
53594 * benchtests/Makefile: Add memrchr benchmark.
53595 * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
53596 benchmark as memrchr.
53597 * benchtests/bench-memrchr-ifunc.c: New file.
53598 * benchtests/bench-memrchr.c: New file.
53599
53600 2013-09-06 Will Newton <will.newton@linaro.org>
53601
53602 * benchtests/Makefile (string-bench): Add memcpy.
53603
53604 2013-09-05 Carlos O'Donell <carlos@redhat.com>
53605 Cong Wang <amwang@redhat.com>
53606
53607 [BZ #15850]
53608 * sysdeps/unix/sysv/linux/bits/in.h
53609 [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
53610 * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
53611 before __USE_KERNEL_IPV6_DEFS uses.
53612 * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
53613 IPPROTO_BEETPH.
53614 [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
53615 sockaddr_in6, or ipv6_mreq.
53616
53617 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53618
53619 * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
53620 memory access for final bytes in some large inputs.
53621 * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
53622
53623 2013-09-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
53624
53625 * string/test-memrchr.c: New file.
53626 * string/test-memrchr-ifunc.c: New file.
53627 * string/Makefile: Add new memrchr testcase.
53628
53629 2013-09-05 Mike Frysinger <vapier@gentoo.org>
53630
53631 * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
53632 fanotify_init returns EPERM.
53633
53634 2013-09-04 Joseph Myers <joseph@codesourcery.com>
53635
53636 * conform/conformtest.pl (newtoken): Treat tokens not allowed as
53637 errors.
53638 (top level): Treat second token from macro or constant entries for
53639 allowed headers as allowed.
53640 * include/complex.h: Condition internal declarations on
53641 [!_ISOMAC].
53642 * include/fenv.h: Condition include of <stdbool.h> and internal
53643 declarations on [!_ISOMAC].
53644
53645 2013-09-04 Chris Leonard <cjl@sugarlabs,.org>
53646
53647 [BZ #15923]
53648 * locale/iso-4217.def: Update iso-1427.def and related occurrences.
53649
53650 2013-09-04 Joseph Myers <joseph@codesourcery.com>
53651
53652 * configure.in (--enable-versioning): Remove configure option.
53653 (libc_cv_asm_symver_directive): Remove configure test.
53654 (libc_cv_ld_version_script_option): Likewise.
53655 (VERSIONING): Remove variable and AC_SUBST.
53656 (DO_VERSIONING): Remove AC_DEFINE.
53657 * configure: Regenerated.
53658 * config.h.in (DO_VERSIONING): Remove macro.
53659 * Makerules [$(versioning) = yes]: Change conditionals to
53660 [$(build-shared) = yes].
53661 * config.make.in (versioning): Remove variable.
53662 * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
53663 [$(build-shared) = yes].
53664 * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
53665 * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
53666 * elf/Makefile [$(versioning) = yes]: Change conditionals to
53667 [$(build-shared) = yes].
53668 * extra-lib.mk [$(versioning) = yes]: Likewise.
53669 * hurd/Makefile [$(versioning) = yes]: Likewise.
53670 * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
53671 [SHARED].
53672 * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
53673 [SHARED].
53674 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53675 [SHARED && !NO_HIDDEN].
53676 * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
53677 [SHARED].
53678 [SHARED && DO_VERSIONING]: Likewise..
53679 * libio/Makefile [$(versioning) = yes]: Change conditionals to
53680 [$(build-shared) = yes].
53681 * manual/install.texi (--disable-versioning): Remove
53682 documentation.
53683 * INSTALL: Regenerated.
53684 * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
53685 to [SHARED].
53686 * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
53687 [$(build-shared) = yes].
53688 * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
53689 * sysdeps/i386/i686/multiarch/strstr-c.c
53690 [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
53691 [SHARED && !NO_HIDDEN].
53692 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
53693 [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
53694 * sysdeps/powerpc/powerpc32/dl-machine.c
53695 [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
53696 * sysdeps/powerpc/powerpc32/sysdep.h
53697 [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
53698 to [SHARED && PIC && !NO_HIDDEN].
53699 * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
53700 conditional to [SHARED].
53701
53702 2013-09-04 Will Newton <will.newton@linaro.org>
53703
53704 * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
53705 * benchtests/bench-string.h: Include bench-timing.h instead
53706 of including hp-timing.h directly. (INNER_LOOP_ITERS): New
53707 define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
53708 call to HP_TIMING_DIFF_INIT.
53709 * benchtests/bench-memccpy.c: Use bench-timing.h macros
53710 instead of hp-timing.h macros.
53711 * benchtests/bench-memchr.c: Likewise.
53712 * benchtests/bench-memcmp.c: Likewise.
53713 * benchtests/bench-memcpy.c: Likewise.
53714 * benchtests/bench-memmem.c: Likewise.
53715 * benchtests/bench-memmove.c: Likewise.
53716 * benchtests/bench-memset.c: Likewise.
53717 * benchtests/bench-rawmemchr.c: Likewise.
53718 * benchtests/bench-strcasecmp.c: Likewise.
53719 * benchtests/bench-strcasestr.c: Likewise.
53720 * benchtests/bench-strcat.c: Likewise.
53721 * benchtests/bench-strchr.c: Likewise.
53722 * benchtests/bench-strcmp.c: Likewise.
53723 * benchtests/bench-strcpy.c: Likewise.
53724 * benchtests/bench-strcpy_chk.c: Likewise.
53725 * benchtests/bench-strlen.c: Likewise.
53726 * benchtests/bench-strncasecmp.c: Likewise.
53727 * benchtests/bench-strncat.c: Likewise.
53728 * benchtests/bench-strncmp.c: Likewise.
53729 * benchtests/bench-strncpy.c: Likewise.
53730 * benchtests/bench-strnlen.c: Likewise.
53731 * benchtests/bench-strpbrk.c: Likewise.
53732 * benchtests/bench-strrchr.c: Likewise.
53733 * benchtests/bench-strspn.c: Likewise.
53734 * benchtests/bench-strstr.c: Likewise.
53735
53736 2013-09-04 Will Newton <will.newton@linaro.org>
53737
53738 * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
53739
53740 2013-09-03 Joseph Myers <joseph@codesourcery.com>
53741
53742 [BZ #15427]
53743 * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
53744 2**-30 instead of 2**-70 as threshold for returning -log(|x|).
53745 * math/libm-test.inc (lgamma_test_data): Add more tests.
53746 * sysdeps/i386/fpu/libm-test-ulps: Update.
53747 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53748
53749 2013-09-03 Ondřej Bílka <neleai@seznam.cz>
53750
53751 * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
53752 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
53753 Add ifunc.
53754 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
53755 Add strcmp-sse2-unaligned
53756 * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
53757
53758 2013-09-02 Mike Frysinger <vapier@gentoo.org>
53759
53760 * Versions.def (libc): Add GLIBC_2.19.
53761
53762 2013-09-02 Mike Frysinger <vapier@gentoo.org>
53763
53764 * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
53765 * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
53766
53767 2013-09-02 Joseph Myers <joseph@codesourcery.com>
53768
53769 [BZ #14155]
53770 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
53771 intermediate calculations in recurrence.
53772 (__ieee754_ynf): Likewise.
53773 * math/libm-test.inc (jn_test_data): Do not allow spurious
53774 underflow exception. Add more tests.
53775 (yn_test_data): Add more tests.
53776 * sysdeps/i386/fpu/libm-test-ulps: Update.
53777 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53778
53779 2013-09-02 Ondřej Bílka <neleai@seznam.cz>
53780
53781 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
53782
53783 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
53784
53785 * csu/init-first.c: Fix then/than typos.
53786 * locale/programs/ld-collate.c: Likewise.
53787 * locale/programs/linereader.h: Likewise.
53788 * manual/charset.texi: Likewise.
53789 * manual/filesys.texi: Likewise.
53790 * manual/stdio.texi: Likewise.
53791 * manual/string.texi: Likewise.
53792 * stdlib/fmtmsg.c: Likewise.
53793 * sysdeps/i386/stpncpy.S: Likewise.
53794 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
53795 * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
53796 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
53797 * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
53798
53799 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
53800
53801 * elf/dl-open.c: Fix typos.
53802 * iconvdata/gbbig5.c: Likewise.
53803 * iconvdata/iso-2022-jp.c: Likewise.
53804 * iconv/gconv_int.h: Likewise.
53805 * iconv/loop.c: Likewise.
53806 * nis/rpcsvc/nis.h: Likewise.
53807 * resolv/ns_name.c: Likewise.
53808 * stdio-common/vfscanf.c: Likewise.
53809 * streams/stropts.h: Likewise.
53810 * sunrpc/rpc_thread.c: Likewise.
53811 * sysdeps/i386/strpbrk.S: Likewise.
53812 * sysdeps/ieee754/k_standard.c: Likewise.
53813 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
53814 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
53815 * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
53816 * sysdeps/mach/hurd/profil.c: Likewise.
53817 * sysdeps/s390/dl-procinfo.h: Likewise.
53818 * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
53819 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
53820 * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
53821 * sysdeps/x86_64/dl-trampoline.S: Likewise.
53822 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
53823
53824 2013-08-30 Ondřej Bílka <neleai@seznam.cz>
53825
53826 * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
53827 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
53828
53829 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
53830
53831 * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
53832 aix specific files.
53833 * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
53834 * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
53835 * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
53836 * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
53837 * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
53838 * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
53839 * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
53840 * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
53841
53842 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
53843 Roland McGrath <roland@hack.frob.com>
53844
53845 * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
53846 * sysdeps/mach/hurd/bits/errno.h: Regenerate.
53847
53848 2013-08-29 Samuel Thibault <samuel.thibault@ens-lyon.org>
53849
53850 * sysdeps/mach/hurd/i386/init-first.c (init1): Use
53851 __executable_start symbol instead of _start.
53852
53853 2013-08-29 Thomas Schwinge <thomas@codesourcery.com>
53854
53855 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
53856 (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
53857 Move macros to...
53858 * sysdeps/gnu/ldsodefs.h: ... this new file.
53859
53860 * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
53861 (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
53862 instead of ELFOSABI_LINUX.
53863
53864 [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
53865 * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
53866 * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
53867 * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
53868 Likewise.
53869 * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
53870 * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
53871 * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
53872 Likewise.
53873 * sysdeps/ieee754/ldbl-128ibm/ieee754.h
53874 (ibm_extended_long_double): Add ieee_nan member.
53875 * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
53876 (do_test): New function.
53877
53878 * math/basic-test.c (TEST_CONVERT): New macro, renamed from
53879 TEST_TRUNC.
53880 (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
53881 functions, renamed from truncdfsf_test, trunctfsf_test,
53882 trunctfdf_test.
53883 (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
53884 functions.
53885 (do_test): Run all these.
53886
53887 2013-08-29 Ondřej Bílka <neleai@seznam.cz>
53888
53889 * argp/argp-help.c: Fix typos.
53890 * argp/argp-parse.c: Likewise.
53891 * debug/backtracesyms.c: Likewise.
53892 * elf/elf.h: Likewise.
53893 * malloc/malloc.c: Likewise.
53894 * nis/nis_print.c: Likewise.
53895 * resolv/res_comp.c: Likewise.
53896 * stdlib/stdlib.h: Likewise.
53897 * sunrpc/clnt_tcp.c: Likewise.
53898 * sunrpc/clnt_udp.c: Likewise.
53899 * sunrpc/clnt_unix.c: Likewise.
53900 * sysdeps/unix/bsd/ptsname.c: Likewise.
53901 * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
53902 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
53903 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
53904 Likewise.
53905 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
53906 Likewise.
53907 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
53908 Likewise.
53909 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
53910
53911 2013-08-28 Siddhesh Poyarekar <siddhesh@redhat.com>
53912
53913 * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
53914 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
53915
53916 2013-08-27 Mike Frysinger <vapier@gentoo.org>
53917
53918 [BZ #15897]
53919 * dlfcn/Makefile (tests): Add bug-dl-leaf.
53920 (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
53921 ($(objpfx)bug-dl-leaf): New rule.
53922 ($(objpfx)bug-dl-leaf.so): Likewise.
53923 ($(objpfx)bug-dl-leaf.out): Likewise.
53924 ($(objpfx)bug-dl-leaf-lib.so): Likewise.
53925 ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
53926 * dlfcn/bug-dl-leaf.c: New test.
53927 * dlfcn/bug-dl-leaf-lib.c: Likewise.
53928 * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
53929 * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
53930 (dlclose): Likewise.
53931 (dlmopen): Likewise.
53932
53933 2013-08-27 Roland McGrath <roland@hack.frob.com>
53934
53935 * include/netdb.h [!_ISOMAC]:
53936 Don't include <tls.h>.
53937 (h_errno, __libc_h_errno): Move declaration and macros out of
53938 [_LIBC_REENTRANT].
53939
53940 * include/resolv.h [_RESOLV_H_]:
53941 Don't include <tls.h>.
53942 (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
53943 * resolv/res_libc.c: Don't include <tls.h>.
53944 (_res): Use __attribute__ ((nocommon)) in place of
53945 __attribute__ ((section (".bss"))).
53946
53947 * Makefile ($(common-objpfx)linkobj/libc_pic.a):
53948 If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
53949
53950 * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
53951
53952 * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
53953 only under [SIOCGIFCONF && SIOCGIFNETMASK].
53954
53955 * resolv/res_mkquery.c: Include <sys/time.h>.
53956
53957 * inet/ifreq.c: Moved to ...
53958 * sysdeps/unix/ifreq.c: ... here.
53959 * inet/ifreq.c: New file, true stub version.
53960
53961 * socket/sa_len.c: New file.
53962 * socket/Makefile (aux): Add it.
53963 * sysdeps/unix/sysv/linux/Makefile
53964 [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
53965 * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
53966 and #include <socket/sa_len.c>.
53967 * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
53968 HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
53969
53970 * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
53971 * bits/socket.h: ... here.
53972
53973 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
53974 Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
53975 (SOCK_MAX, SOCK_TYPE_MASK): New macros.
53976
53977 2013-08-27 Andreas Schwab <schwab@suse.de>
53978
53979 [BZ #15736]
53980 * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
53981 * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
53982 (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
53983 * string/test-strcasecmp.c (test_main): Run tests in several
53984 locales.
53985 * string/test-strncasecmp.c (test_main): Likewise.
53986
53987 * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
53988 (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
53989 to __strcasecmp_nonascii and __strncasecmp_nonascii.
53990 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
53991 (__strncasecmp_ssse3) [PIC]: Likewise.
53992
53993 2013-08-26 Roland McGrath <roland@hack.frob.com>
53994
53995 * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
53996
53997 * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
53998 instead of explicitly declaring xdecrypt.
53999 * nis/nss_nis/nis-publickey.c: Likewise.
54000
54001 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
54002
54003 [BZ #15890]
54004 * nscd/aicache.c: Include res_hconf.h.
54005 (addhstaiX): Initialize res_hconf.
54006
54007 2013-08-26 Andreas Schwab <schwab@suse.de>
54008
54009 * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
54010 ($(objpfx)tst-tls-atexit): Add dependencies here instead.
54011
54012 2013-08-26 Siddhesh Poyarekar <siddhesh@redhat.com>
54013
54014 * nscd/aicache.c (addhstaiX): Fix indentation.
54015
54016 2013-08-25 Mike Frysinger <vapier@gentoo.org>
54017
54018 * configure.ac: Quote $build_pt_chown test.
54019 * configure: Regenerated.
54020
54021 2013-08-23 Joseph Myers <joseph@codesourcery.com>
54022
54023 [BZ #15532]
54024 * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
54025 * math/s_cexpf.c (__cexpf): Likewise.
54026 * math/s_cexpl.c (__cexpl): Likewise.
54027 * math/libm-test.inc (cexp_test_data): Correct expected return
54028 value for NaN + i0. Add another test.
54029
54030 2013-08-22 David S. Miller <davem@davemloft.net>
54031
54032 * po/ca.po: Update Catalan translation from translation project.
54033 * po/uk.po: Add Ukrainian translations from translation project.
54034
54035 2013-08-21 Joseph Myers <joseph@codesourcery.com>
54036
54037 [BZ #15797]
54038 * math/s_fdim.c (__fdim): Check for infinite arguments if result
54039 is infinite, not alongside NaN test.
54040 * math/s_fdimf.c (__fdimf): Likewise.
54041 * math/s_fdiml.c (__fdiml): Likewise.
54042 * math/libm-test.inc (fdim_test_data): Add more tests. Test that
54043 errno is unchanged.
54044
54045 2013-08-21 Ondřej Bílka <neleai@seznam.cz>
54046
54047 * argp/argp-help.c: Fix typos.
54048 * crypt/speeds.c: Likewise.
54049 * csu/check_fds.c: Likewise.
54050 * elf/dl-load.c: Likewise.
54051 * elf/dl-open.c: Likewise.
54052 * elf/reldep3.c: Likewise.
54053 * elf/reldep.c: Likewise.
54054 * elf/sprof.c: Likewise.
54055 * iconv/iconv_charmap.c: Likewise.
54056 * iconv/skeleton.c: Likewise.
54057 * iconv/strtab.c: Likewise.
54058 * io/lockf64.c: Likewise.
54059 * libio/libioP.h: Likewise.
54060 * resolv/gai_notify.c: Likewise.
54061 * resolv/ns_name.c: Likewise.
54062 * resolv/ns_samedomain.c: Likewise.
54063 * resolv/res_send.c: Likewise.
54064 * stdlib/random.c: Likewise.
54065 * sunrpc/rpc/xdr.h: Likewise.
54066 * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
54067 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
54068 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
54069 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
54070 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
54071 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
54072 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
54073 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
54074 * sysdeps/mach/hurd/check_fds.c: Likewise.
54075 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
54076 * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
54077 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
54078 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
54079 * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
54080 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
54081 * sysdeps/pthread/aio_notify.c: Likewise.
54082 * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
54083 * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
54084 * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
54085 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
54086 * sysdeps/x86/fpu/bits/fenv.h: Likewise.
54087
54088 2013-08-21 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54089
54090 * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
54091 version if bit_Slow_SSE4_2 is set.
54092 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
54093 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
54094
54095 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54096
54097 [BZ #15867]
54098 * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
54099 trampoline stack frame information.
54100 * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
54101 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
54102 (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
54103 (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
54104 (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
54105 * sysdeps/unix/sysv/linux/powerpc/init-first.c
54106 (_libc_vdso_platform_setup): Initialize the signal trampolines.
54107 * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
54108 sa_flags value.
54109 * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
54110 interrupting a syscall and set with option SA_SIGINFO.
54111
54112 2013-08-20 Joseph Myers <joseph@codesourcery.com>
54113
54114 [BZ #15531]
54115 * math/s_cproj.c (__cproj): Only return an infinity if one part of
54116 argument is infinite.
54117 * math/s_cprojf.c (__cprojf): Likewise.
54118 * math/s_cprojl.c (__cprojl): Likewise.
54119 * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
54120 * math/libm-test.inc (cproj_test_data): Add more tests.
54121
54122 * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
54123
54124 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
54125 [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
54126 size. Use __ffs to determine corresponding shift.
54127
54128 2013-08-20 Joseph Myers <joseph@codesourcery.com>
54129 Roland McGrath <roland@hack.frob.com>
54130
54131 * Makefile (INSTALL): Remove trailing blank lines from output of
54132 makeinfo.
54133
54134 2013-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54135
54136 * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
54137 Align 32 bit compat elf_greg to 8 bytes.
54138
54139 2013-08-20 Andreas Arnez <arnez@linux.vnet.ibm.com>
54140
54141 * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
54142
54143 2013-08-20 Siddhesh Poyarekar <siddhesh@redhat.com>
54144
54145 * string/strcoll_l.c (coll_seq): New structure.
54146 (get_next_seq_cached): New function.
54147 (get_next_seq): New function.
54148 (do_compare): New function.
54149 (STRCOLL): Use GNU style definition. Simplify implementation
54150 by using get_next_seq, get_next_seq_cached and do_compare.
54151
54152 2013-08-16 Florian Weimer <fweimer@redhat.com>
54153
54154 [BZ #14699]
54155 CVE-2013-4237
54156 * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
54157 member.
54158 * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
54159 member.
54160 * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
54161 * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
54162 Return delayed error code. Remove GETDENTS_64BIT_ALIGNED
54163 conditional.
54164 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
54165 GETDENTS_64BIT_ALIGNED.
54166 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
54167 * manual/filesys.texi (Reading/Closing Directory): Document
54168 ENAMETOOLONG return value of readdir_r. Recommend readdir more
54169 strongly.
54170 * manual/conf.texi (Limits for Files): Add portability note to
54171 NAME_MAX, PATH_MAX.
54172 (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
54173
54174 2013-08-13 Andreas Schwab <schwab@suse.de>
54175
54176 [BZ #15749]
54177 * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
54178 of fabs.
54179 * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
54180 LDBL_MAX_EXP >= 16384]: Add tests for it.
54181
54182 2013-08-12 David S. Miller <davem@davemloft.net>
54183
54184 * version.h (RELEASE): Set to "development".
54185 (VERSION): Set to "2.18.90".
54186 * NEWS: Add 2.19 section.
54187
54188 2013-08-03 David S. Miller <davem@davemloft.net>
54189
54190 * po/ko.po: Update Korean translation from translation project.
54191
54192 2013-08-01 David S. Miller <davem@davemloft.net>
54193
54194 * manual/contrib.texi: Update entry for Siddhesh Poyarekar. Add
54195 entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
54196 Bilka.
54197
54198 2013-07-30 David S. Miller <davem@davemloft.net>
54199
54200 * po/fr.po: Update French translation from translation project.
54201
54202 2013-07-28 David S. Miller <davem@davemloft.net>
54203
54204 * po/cs.po: Update Czech translation from translation project.
54205
54206 * po/sv.po: Update Swedish translation from translation project.
54207
54208 2013-07-27 David S. Miller <davem@davemloft.net>
54209
54210 * po/eo.po: Update Esperanto translation from translation project.
54211
54212 * po/vi.po: Update Vietnamese translation from translation project.
54213
54214 * po/de.po: Update German translation from translation project.
54215
54216 2013-07-26 David S. Miller <davem@davemloft.net>
54217
54218 * po/bg.po: Update Bulgarian translation from translation project.
54219
54220 * po/nl.po: Update Dutch translation from translation project.
54221 * po/pl.po: Update Polish translation from translation project.
54222 * po/ru.po: Update Russian translation from translation project.
54223
54224 2013-07-24 David S. Miller <davem@davemloft.net>
54225
54226 * po/libc.pot: Update.
54227
54228 2013-07-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54229
54230 * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
54231 variable page size.
54232 * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
54233 * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
54234 * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
54235
54236 2013-07-22 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
54237
54238 * sysdeps/s390/fpu/libm-test-ulps: Refresh.
54239
54240 2013-07-21 Siddhesh Poyarekar <siddhesh@redhat.com>
54241 Andreas Schwab <schwab@suse.de>
54242 Roland McGrath <roland@hack.frob.com>
54243 Joseph Myers <joseph@codesourcery.com>
54244 Carlos O'Donell <carlos@redhat.com>
54245
54246 [BZ #15755]
54247 * config.h.in: Define HAVE_PT_CHOWN.
54248 * config.make.in (build-pt-chown): New variable.
54249 * configure.in (--enable-pt_chown): New configure option.
54250 * configure: Regenerate.
54251 * login/Makefile: Include Makeconfig. Build pt_chown only if
54252 build-pt-chown is enabled.
54253 * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
54254 pt_chown to fix pty ownership.
54255 * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
54256 CLOSE_ALL_FDS.
54257 * manual/install.texi (Configuring and compiling): Mention
54258 --enable-pt_chown. Add @findex for grantpt.
54259 * INSTALL: Regenerate.
54260
54261 2013-07-20 David S. Miller <davem@davemloft.net>
54262
54263 * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
54264 difference between 32-bit and 64-bit.
54265
54266 2013-07-15 Carlos O'Donell <carlos@redhat.com>
54267
54268 [BZ #15711]
54269 * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
54270 Avoid system header dependency with -ffreestanding.
54271 ($(objpfx)bits/syscall%d): Likewise.
54272
54273 2013-07-13 David S. Miller <davem@davemloft.net>
54274
54275 * math/libm-test.inc (casin_test_data): Annotate more cases of missing
54276 underflows from atanl/atan2l due to bug 15319.
54277 (casinh_test_data): Likewise.
54278
54279 2013-07-07 David S. Miller <davem@davemloft.net>
54280
54281 * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
54282
54283 2013-07-05 Jeroen Albers <_jeroen_@yahoo.com>
54284
54285 * sysdeps/i386/fpu/libm-test-ulps: Update.
54286 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54287
54288 2013-07-04 Siddhesh Poyarekar <siddhesh@redhat.com>
54289
54290 * configure.in (--enable-lock-elision): Fix message text.
54291 * INSTALL: Regenerate.
54292 * configure: Regenerate.
54293
54294 2013-07-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54295
54296 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
54297
54298 2013-07-03 Andreas Jaeger <aj@suse.de>
54299
54300 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
54301 define.
54302 (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
54303 (ptrace_peeksiginfo_args): Add.
54304 (__ptrace_peeksiginfo_flags): Add.
54305 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
54306 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
54307 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
54308
54309 2013-07-03 Allan McRae <allan@archlinux.org>
54310
54311 * sysdeps/i386/fpu/libm-test-ulps: Update.
54312
54313 2013-07-02 David S. Miller <davem@davemloft.net>
54314
54315 * sysdeps/sparc/fpu/libm-test-ulps: Update.
54316
54317 2013-07-02 Markus Trippelsdorf <markus@trippelsdorf.de>
54318
54319 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54320
54321 2013-07-02 Joseph Myers <joseph@codesourcery.com>
54322
54323 * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
54324 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
54325
54326 2013-07-02 Andi Kleen <ak@linux.intel.com>
54327
54328 * config.h.in (ENABLE_LOCK_ELISION): Add.
54329 * configure.in (--enable-lock-elision): Add option.
54330 * manual/install.texi: Document --enable lock elision.
54331 * configure: Regenerate
54332 * INSTALL: Regenerate.
54333
54334 2013-07-02 H.J. Lu <hongjiu.lu@intel.com>
54335
54336 * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
54337 SSE4.2 strcasecmp for libc.a.
54338 * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
54339
54340 2013-07-02 Joseph Myers <joseph@codesourcery.com>
54341
54342 [BZ #13304]
54343 * soft-fp/op-common.h (_FP_FMA): New macro.
54344 * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
54345 (_FP_MUL_MEAT_DW_1_imm): Likewise. Split out of ...
54346 (_FP_MUL_MEAT_1_imm): ... here.
54347 (_FP_MUL_MEAT_DW_1_wide): New macro. Split out of ...
54348 (_FP_MUL_MEAT_1_wide): ... here.
54349 (_FP_MUL_MEAT_DW_1_hard): Likewise. Split out of ...
54350 (_FP_MUL_MEAT_1_hard): ... here.
54351 * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
54352 (_FP_MUL_MEAT_DW_2_wide): Likewise. Split out of ...
54353 (_FP_MUL_MEAT_2_wide): ... here.
54354 (_FP_MUL_MEAT_DW_2_wide_3mul): New macro. Split out of ...
54355 (_FP_MUL_MEAT_2_wide_3mul): ... here.
54356 (_FP_MUL_MEAT_DW_2_gmp): New macro. Split out of ...
54357 (_FP_MUL_MEAT_2_gmp): ... here.
54358 * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
54359 (_FP_MUL_MEAT_DW_4_wide): Likewise. Split out of ...
54360 (_FP_MUL_MEAT_4_wide): ... here.
54361 (_FP_MUL_MEAT_DW_4_gmp): New macro. Split out of ...
54362 (_FP_MUL_MEAT_4_gmp): ... here.
54363 * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
54364 (_FP_WFRACBITS_DW_S): Likewise.
54365 (_FP_WFRACXBITS_DW_S): Likewise.
54366 (_FP_HIGHBIT_DW_S): Likewise.
54367 (FP_FMA_S): Likewise.
54368 (_FP_FRAC_HIGH_DW_S): Likewise.
54369 * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
54370 (_FP_WFRACBITS_DW_D): Likewise.
54371 (_FP_WFRACXBITS_DW_D): Likewise.
54372 (_FP_HIGHBIT_DW_D): Likewise.
54373 (FP_FMA_D): Likewise.
54374 (_FP_FRAC_HIGH_DW_D): Likewise.
54375 * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
54376 (_FP_WFRACBITS_DW_E): Likewise.
54377 (_FP_WFRACXBITS_DW_E): Likewise.
54378 (_FP_HIGHBIT_DW_E): Likewise.
54379 (FP_FMA_E): Likewise.
54380 (_FP_FRAC_HIGH_DW_E): Likewise.
54381 * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
54382 (_FP_WFRACBITS_DW_Q): Likewise.
54383 (_FP_WFRACXBITS_DW_Q): Likewise.
54384 (_FP_HIGHBIT_DW_Q): Likewise.
54385 (FP_FMA_Q): Likewise.
54386 (_FP_FRAC_HIGH_DW_Q): Likewise.
54387 * soft-fp/fmasf4.c: New file.
54388 * soft-fp/fmadf4.c: Likewise.
54389 * soft-fp/fmatf4.c: Likewise.
54390
54391 2013-06-28 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54392
54393 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
54394 bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
54395 Silvermont.
54396 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
54397 macro.
54398 (index_Slow_SSE4_2): Likewise.
54399 (index_Prefer_PMINUB_for_stringop): Likewise.
54400 * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
54401 bit_Slow_SSE4_2 is set.
54402 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
54403 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
54404
54405 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54406
54407 * sysdeps/powerpc/Makefile: Add comment about generating an offset to
54408 rtld_global._dl_hwcap2.
54409 * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
54410 POWER8.
54411 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
54412 POWER8 feature descriptions defined in _dl_hwcap2.
54413 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
54414 string handling for POWER8 feature bits.
54415 (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
54416 (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
54417 _dl_powerpc_cap_flags.
54418 (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
54419 * sysdeps/powerpc/rtld-global-offsets.sym
54420 (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
54421 _dl_hwcap2 in the rtld_global_ro structure.
54422
54423 2013-06-28 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54424
54425 * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
54426 hardware capabilities in support of AT_HWCAP2.
54427 (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
54428 * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
54429 GLRO(dl_hwcap2).
54430 (_dl_show_auxv): Add support for calling _dl_procinfo to display
54431 AT_HWCAP2. If a platform doesn't chose to handle displaying AT_HWCAP2
54432 explicitly the unknown a_type display mechanism is used.
54433 * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
54434 * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
54435 struct member.
54436 * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
54437 to macro prototype for AT_HWCAP2 support.
54438 * sysdeps/i386/dl-procinfo.h: Likewise.
54439 * sysdeps/s390/dl-procinfo.h: Likewise.
54440 * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
54441 macro prototype for AT_HWCAP2 support. Make WORD unsigned long int
54442 rather than signed int. Stub in handler for TYPE == AT_HWCAP2 to
54443 return -1 for unknown a_type display fallback.
54444 * sysdeps/sparc/dl-procinfo.h: Likewise.
54445 * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
54446 * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
54447
54448 2013-06-28 Joseph Myers <joseph@codesourcery.com>
54449
54450 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
54451 instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
54452
54453 2013-06-28 Pierre Ynard <linkfanel@yahoo.fr>
54454
54455 [BZ #12492]
54456 * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
54457 mprotect making __stack_prot writable.
54458
54459 2013-06-28 Nathan Froyd <froydnj@codesourcery.com>
54460 Joseph Myers <joseph@codesourcery.com>
54461
54462 * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
54463 as being properly aligned.
54464
54465 2013-06-28 Maciej W. Rozycki <macro@codesourcery.com>
54466
54467 * dlfcn/modstatic5.c: New file.
54468 * dlfcn/tststatic5.c: New file.
54469 * dlfcn/Makefile (tests): Add tststatic5.
54470 (tests-static): Likewise.
54471 (modules-names): Add modstatic5.
54472 (tststatic5-ENV): New variable.
54473 ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
54474
54475 [BZ #15022]
54476 * elf/dl-support.c (_dl_main_map): New variable.
54477 (_dl_ns): Use it to initialize [LM_ID_BASE] element.
54478 (_dl_nns, _dl_load_adds): Set to 1.
54479 (_dl_initial_searchlist): Refer to _dl_main_map.
54480 (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
54481 * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
54482 call to _dl_get_origin.
54483 * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
54484 around call_map.
54485 (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
54486 * dlfcn/modstatic3.c: New file.
54487 * dlfcn/tststatic3.c: New file.
54488 * dlfcn/tststatic4.c: New file.
54489 * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
54490 (tests-static): Likewise.
54491 (modules-names): Add modstatic3.
54492 (tststatic3-ENV, tststatic4-ENV): New variables.
54493 ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
54494 ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
54495
54496 2013-06-26 Joseph Myers <joseph@codesourcery.com>
54497
54498 * configure.in (CC): Require GCC version 4.4 or later.
54499 * configure: Regenerated.
54500 * manual/install.texi (Tools for Compilation): Update GCC version
54501 requirement.
54502 * INSTALL: Regenerated.
54503
54504 2013-06-26 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54505
54506 [BZ #15674]
54507 * string/test-memcmp.c (check2): New.
54508 (main): Call check2.
54509
54510 * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
54511
54512 2013-06-26 Maciej W. Rozycki <macro@codesourcery.com>
54513
54514 [BZ #15022]
54515 * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
54516 over to...
54517 (dl_open_worker) [!SHARED]: ... here.
54518
54519 2013-06-26 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54520
54521 * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
54522
54523 2013-06-25 Richard Henderson <rth@redhat.com>
54524
54525 * locale/programs/locarchive.c: Include <libc-internal.h>
54526
54527 2013-06-25 Joseph Myers <joseph@codesourcery.com>
54528
54529 * manual/texinfo.tex: Update to version 2013-06-21.17, with
54530 trailing whitespace removed.
54531
54532 2013-06-24 Mike Frysinger <vapier@gentoo.org>
54533
54534 [BZ #10283]
54535 * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
54536 * locale/programs/locarchive.c: Include libc-mmap.h.
54537 (prepare_address_space): Take two new outputs (the mmap base and len).
54538 Align p to MAP_FIXED_ALIGNMENT. Set mmap base and len to the right
54539 values.
54540 (create_archive): Declare new mmap base and len values for
54541 prepare_address_space, and store the result in ah.
54542 (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
54543 (enlarge_archive): If ah->mmap_base is not NULL, use that and
54544 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54545 Declare new mmap base and len values for
54546 prepare_address_space, and store the result in new_ah.
54547 (open_archive): Declare new mmap base and len values for
54548 prepare_address_space, and store the result in ah.
54549 (close_archive): If ah->mmap_base is not NULL, use that and
54550 ah->mmap_len to unmap rather than ah->addr and ah->reserved.
54551 * sysdeps/generic/libc-mmap.h: New file.
54552
54553 2013-06-24 Mike Frysinger <vapier@gentoo.org>
54554
54555 * include/libc-internal.h (ALIGN_DOWN): New helper macro.
54556 (ALIGN_UP): Likewise.
54557 (PTR_ALIGN_DOWN): Likewise.
54558 (PTR_ALIGN_UP): Likewise.
54559
54560 2013-06-24 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54561
54562 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
54563 entry mapped to PPC_PLATFORM_POWER8.
54564 * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
54565 POWER8.
54566 (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
54567 (_dl_string_platform): Add case for exporting platform position for
54568 POWER8.
54569 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
54570 search path to sysdeps/powerpc/powerpc32/power8 directory.
54571 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
54572 search path to sysdeps/powerpc/powerpc64/power8 directory.
54573 * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
54574 power7 directories.
54575 * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
54576 power7 directories.
54577
54578 2013-06-24 Siddhesh Poyarekar <siddhesh@redhat.com>
54579
54580 * INSTALL: Regenerate.
54581
54582 * nscd/connections.c (nscd_init): Fix comment.
54583
54584 2013-06-22 Joseph Myers <joseph@codesourcery.com>
54585
54586 * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
54587
54588 [BZ #15667]
54589 * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
54590 to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
54591
54592 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
54593
54594 * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
54595 DL_DST_REQ_STATIC.
54596 (DL_DST_REQ_STATIC): Remove macro.
54597
54598 2013-06-21 Joseph Myers <joseph@codesourcery.com>
54599
54600 [BZ #7006]
54601 * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
54602 with a shift of 0 bits.
54603
54604 2013-06-21 Maciej W. Rozycki <macro@codesourcery.com>
54605
54606 * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
54607 $(tststatic-ENV).
54608
54609 2013-06-21 Kaz Kojima <kkojima@rr.iij4u.or.jp>
54610
54611 [BZ #15655]
54612 * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
54613
54614 2013-06-20 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54615
54616 * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
54617 * configure.in (libc_cv_cc_loop_to_function): Check if compiler
54618 accepts -fno-tree-loop-distribute-patterns.
54619 * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
54620 * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
54621 recursive call.
54622 * string/memset.c (memset): Likewise.
54623 * string/test-memmove.c (simple_memmove): Disable loop transformation
54624 to library calls.
54625 * string/test-memset.c (simple_memset): Likewise.
54626 * benchtests/bench-memmove.c (simple_memmove): Likewise.
54627 * benchtests/bench-memset.c (simple_memset): Likewise.
54628 * configure: Regenerated.
54629
54630 2013-06-20 Joseph Myers <joseph@codesourcery.com>
54631
54632 * math/test-misc.c (main): Ignore fesetround failure when failures
54633 of subsequent rounding tests would be ignored.
54634
54635 [BZ #15654]
54636 * math/fedisblxcpt.c (fedisableexcept): Return 0.
54637 * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
54638 * math/fegetenv.c (__fegetenv): Return 0.
54639 * math/fegetexcept.c (fegetexcept): Return 0.
54640 * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
54641 FE_TONEAREST.
54642 * math/feholdexcpt.c (feholdexcept): Return 0.
54643 * math/fesetenv.c (__fesetenv): Return 0.
54644 * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
54645 argument FE_TONEAREST.
54646 * math/feupdateenv.c (__feupdateenv): Return 0.
54647 * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
54648
54649 2013-06-18 Roland McGrath <roland@hack.frob.com>
54650
54651 * elf/rtld-Rules (rtld-compile-command.S): New variable.
54652 (rtld-compile-command.s, rtld-compile-command.c): New variables.
54653 ($(objpfx)rtld-%.os rules): Use them.
54654
54655 2013-06-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54656
54657 * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
54658 fields.
54659
54660 2013-06-17 Roland McGrath <roland@hack.frob.com>
54661
54662 * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
54663 length of target pattern, then descending length of dependency pattern.
54664 * configure.in (AWK): Require gawk 3.1.2 or newer.
54665 * manual/install.texi (Tools for Compilation): Say that we do.
54666 * configure: Regenerated.
54667
54668 * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
54669 ($(common-objpfx)sysd-rules): Replace shell logic with running ...
54670 * scripts/sysd-rules.awk: ... this new script.
54671 * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
54672 than a glob-style pattern.
54673
54674 2013-06-17 Joseph Myers <joseph@codesourcery.com>
54675
54676 * math/test-misc.c (main): Do not treat incorrectly rounded
54677 conversions as failure unless ROUNDING_TESTS passes.
54678
54679 2013-06-15 Joseph Myers <joseph@codesourcery.com>
54680
54681 [BZ #15631]
54682 * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
54683 restore exception state around main square root computation, then
54684 check for inexactness explicitly.
54685
54686 * math/libm-test.inc (fma_test_data): Add another test.
54687
54688 2013-06-15 Siddhesh Poyarekar <siddhesh@redhat.com>
54689
54690 * manual/threads.texi (Non-POSIX Extensions): New document
54691 node. Document pthread_getattr_default_np and
54692 pthread_setattr_default_np.
54693
54694 * Versions.def (libpthread): Add GLIBC_2.18.
54695 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
54696 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
54697 Likewise.
54698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
54699 Likewise.
54700 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
54701 Likewise.
54702 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
54703 Likewise.
54704 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
54705 Likewise.
54706 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
54707 Likewise.
54708 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
54709 Likewise.
54710 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
54711 Likewise.
54712 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
54713 Likewise.
54714
54715 2013-06-14 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
54716
54717 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
54718 Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
54719
54720 2013-06-14 Siddhesh Poyarekar <siddhesh@redhat.com>
54721 H.J. Lu <hjl.tools@gmail.com>
54722
54723 [BZ #15627]
54724 * sysdeps/x86_64/rtld-memset.c: Remove file.
54725 * sysdeps/x86_64/rtld-memset.S: New file.
54726
54727 2013-06-14 Joseph Myers <joseph@codesourcery.com>
54728
54729 * stdlib/tst-strtod-round.c: Include <math-tests.h>.
54730 (test_in_one_mode): Take arguments for whether the rounding mode
54731 is supported for each floating-point type.
54732 (do_test): Pass new arguments to test_in_one_mode using
54733 ROUNDING_TESTS.
54734
54735 2013-06-13 Roland McGrath <roland@hack.frob.com>
54736
54737 * posix/tst-waitid.c (do_test): Distinguish different instances of
54738 stopped/continued in CHECK_SIGCHLD uses. Insert a delay between
54739 sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
54740 before entering the kernel for waitpid.
54741
54742 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
54743
54744 * NEWS: Fix note on clock function precision. Text by Roland
54745 McGrath.
54746
54747 2013-06-13 Roland McGrath <roland@hack.frob.com>
54748
54749 * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
54750 it into place only when and if the sanity check passes.
54751
54752 2013-06-13 Joseph Myers <joseph@codesourcery.com>
54753
54754 * stdlib/gen-tst-strtod-round.c (round_str): Always generate
54755 output for whether conversion result is exact. Take argument
54756 indicating whether type is IBM long double.
54757 (round_for_all): Change need_exact field to ibm_ld.
54758 * stdlib/tst-strtod-round.c (struct exactness): New type.
54759 (struct test): Change bool ld_ok field to struct exactness exact.
54760 (TEST): Update all definitions for change to field.
54761 (tests): Regenerate array contents.
54762 (test_in_one_mode): Take pointer to new field instead of old ld_ok
54763 field value. Check for IBM long double here.
54764 (do_test): Update calls to test_in_one_mode.
54765
54766 2013-06-13 Siddhesh Poyarekar <siddhesh@redhat.com>
54767
54768 [BZ #12515]
54769 * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
54770 CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
54771
54772 2013-06-12 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
54773
54774 [BZ #15605]
54775 * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
54776 generated by the compiler on loop optimizations.
54777 * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
54778 general definitions.
54779
54780 2013-06-12 Joseph Myers <joseph@codesourcery.com>
54781
54782 * math/bug-nextafter.c: Include <math-tests.h>.
54783 (main): Only test for exceptions if EXCEPTION_TESTS is true for
54784 the relevant type.
54785 * math/bug-nexttoward.c: Include <math-tests.h>.
54786 (main): Only test for exceptions if EXCEPTION_TESTS is true for
54787 the relevant type.
54788 * math/test-misc.c: Include <math-tests.h>.
54789 (main): Only test for exceptions if EXCEPTION_TESTS is true for
54790 the relevant type.
54791
54792 2013-06-12 Andreas Jaeger <aj@suse.de>
54793
54794 * po/ia.po: Update Interlingua translation from translation
54795 project.
54796
54797 2013-06-12 Siddhesh Poyarekar <siddhesh@redhat.com>
54798
54799 * include/fenv.h: Include stdbool.h.
54800 (struct rm_ctx): New structure.
54801 * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
54802 Define macro.
54803 (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
54804 (SET_RESTORE_ROUNDF): Likewise.
54805 (SET_RESTORE_ROUNDL): Likewise.
54806 (SET_RESTORE_ROUND_NOEX): Likewise.
54807 (SET_RESTORE_ROUND_NOEXF): Likewise.
54808 (SET_RESTORE_ROUND_NOEXL): Likewise.
54809 (SET_RESTORE_ROUND_53BIT): Likewise.
54810 [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
54811 (libc_feresetround_noexf_ctx): Likewise.
54812 (libc_feresetround_noexl_ctx): Likewise.
54813 (libc_feholdsetround_53bit_ctx): Likewise.
54814 (libc_feresetround_53bit_ctx): Likewise.
54815 * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
54816 (libc_feholdexcept_setround_sse_ctx): New function.
54817 (libc_fesetenv_sse_ctx): Likewise.
54818 (libc_feupdateenv_sse_ctx): Likewise.
54819 (libc_feholdexcept_setround_387_prec_ctx): Likewise.
54820 (libc_feholdexcept_setround_387_ctx): Likewise.
54821 (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
54822 (libc_feholdsetround_387_prec_ctx): Likewise.
54823 (libc_feholdsetround_387_ctx): Likewise.
54824 (libc_feholdsetround_387_53bit_ctx): Likewise.
54825 (libc_feholdsetround_sse_ctx): Likewise.
54826 (libc_feresetround_sse_ctx): Likewise.
54827 (libc_feresetround_387_ctx): Likewise.
54828 (libc_feupdateenv_387_ctx): Likewise.
54829 (libc_feholdexcept_setroundf_ctx): Define macro.
54830 (libc_fesetenvf_ctx): Likewise.
54831 (libc_feupdateenvf_ctx): Likewise.
54832 (libc_feholdsetroundf_ctx): Likewise.
54833 (libc_feresetroundf_ctx): Likewise.
54834 (libc_feholdexcept_setround_ctx): Likewise.
54835 (libc_fesetenv_ctx): Likewise.
54836 (libc_feupdateenv_ctx): Likewise.
54837 (libc_feholdsetround_ctx): Likewise.
54838 (libc_feresetround_ctx): Likewise.
54839 (libc_feholdexcept_setroundl_ctx): Likewise.
54840 (libc_feupdateenvl_ctx): Likewise.
54841 (libc_feholdsetroundl_ctx): Likewise.
54842 (libc_feresetroundl_ctx): Likewise.
54843 [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
54844 (libc_feresetround_53bit_ctx): Likewise.
54845
54846 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54847
54848 * locale/iso-639.def: Convert to UTF-8.
54849
54850 2013-06-11 Joseph Myers <joseph@codesourcery.com>
54851
54852 * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
54853 (EXCEPTION_TESTS_double): Likewise.
54854 (EXCEPTION_TESTS_long_double): Likewise.
54855 (EXCEPTION_TESTS): Likewise.
54856 * math/libm-test.inc (test_exceptions): Only test exceptions if
54857 EXCEPTION_TESTS (FLOAT).
54858
54859 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54860
54861 * benchtests/Makefile (string-bench): Add strcpy_chk and
54862 stpcpy_chk.
54863 * benchtests/bench-stpcpy_chk-ifunc.c: New file.
54864 * benchtests/bench-stpcpy_chk.c: New file.
54865 * benchtests/bench-strcpy_chk-ifunc.c: New file.
54866 * benchtests/bench-strcpy_chk.c: New file.
54867 * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
54868 code.
54869 (do_test): Likewise.
54870
54871 2013-06-11 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
54872
54873 * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
54874 ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
54875 * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
54876 with tabs where appropriate.
54877 [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
54878 dl-procinfo.h.
54879 [PPC_PLATFORM_PPC440]: Likewise.
54880 [PPC_PLATFORM_PPC464]: Likewise.
54881 [PPC_PLATFORM_PPC476]: Likewise.
54882 (_dl_string_platform): Add support for detecting ppc405, ppc440,
54883 ppc464, and ppc476 platform strings merging from ports/
54884 dl-procinfo.h.
54885
54886 2013-06-11 Andreas Schwab <schwab@suse.de>
54887
54888 [BZ #14991]
54889 * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
54890 (from_ucs4_idx): Regenerate.
54891 (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
54892 (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
54893 (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
54894 (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
54895 (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
54896 (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
54897 (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
54898 (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
54899 from FROM_LOOP and TO_LOOP specific macros.
54900 (BODY): Handle combining characters.
54901 * iconvdata/BIG5HKSCS.irreversible: Update.
54902 * iconvdata/BIG5HKSCS.precomposed: New file.
54903 * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
54904 characters.
54905 * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
54906
54907 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
54908
54909 * include/sys/time.h: Fix indentation and add copyright header.
54910
54911 * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
54912 (do_test): Likewise.
54913 * string/test-memchr.c (do_one_test): Likewise.
54914 (do_test): Likewise.
54915 * string/test-memcmp.c (do_one_test): Likewise.
54916 (do_test): Likewise.
54917 * string/test-memcpy.c (do_one_test): Likewise.
54918 (do_test): Likewise.
54919 * string/test-memmem.c (do_one_test): Likewise.
54920 (do_test): Likewise.
54921 (do_random_tests): Likewise.
54922 * string/test-memmove.c (do_one_test): Likewise.
54923 (do_test): Likewise.
54924 * string/test-memset.c (do_one_test): Likewise.
54925 (do_test): Likewise.
54926 * string/test-rawmemchr.c (do_one_test): Likewise.
54927 (do_test): Likewise.
54928 * string/test-strcasecmp.c (do_one_test): Likewise.
54929 (do_test): Likewise.
54930 * string/test-strcasestr.c (do_one_test): Likewise.
54931 (do_test): Likewise.
54932 * string/test-strcat.c (do_one_test): Likewise.
54933 (do_test): Likewise.
54934 * string/test-strchr.c (do_one_test): Likewise.
54935 (do_test): Likewise.
54936 * string/test-strcmp.c (do_one_test): Likewise.
54937 (do_test): Likewise.
54938 * string/test-strcpy.c (do_one_test): Likewise.
54939 (do_test): Likewise.
54940 * string/test-string.h: Likewise.
54941 (test_init): Likewise.
54942 * string/test-strlen.c (do_one_test): Likewise.
54943 (do_test): Likewise.
54944 * string/test-strncasecmp.c (do_one_test): Likewise.
54945 (do_test): Likewise.
54946 * string/test-strncat.c (do_one_test): Likewise.
54947 (do_test): Likewise.
54948 * string/test-strncmp.c (do_one_test): Likewise.
54949 (do_test_limit): Likewise.
54950 (do_test): Likewise.
54951 * string/test-strncpy.c (do_one_test): Likewise.
54952 (do_test): Likewise.
54953 * string/test-strnlen.c (do_one_test): Likewise.
54954 (do_test): Likewise.
54955 * string/test-strpbrk.c (do_one_test): Likewise.
54956 (do_test): Likewise.
54957 * string/test-strrchr.c (do_one_test): Likewise.
54958 (do_test): Likewise.
54959 * string/test-strspn.c (do_one_test): Likewise.
54960 (do_test): Likewise.
54961 * string/test-strstr.c (do_one_test): Likewise.
54962 (do_test): Likewise.
54963
54964 * benchtests/Makefile (string-bench): Add string benchmarks.
54965 * benchtests/bench-bcopy-ifunc.c: New file.
54966 * benchtests/bench-bcopy.c: New file.
54967 * benchtests/bench-bzero-ifunc.c: New file.
54968 * benchtests/bench-bzero.c: New file.
54969 * benchtests/bench-memccpy-ifunc.c: New file.
54970 * benchtests/bench-memccpy.c: New file.
54971 * benchtests/bench-memchr-ifunc.c: New file.
54972 * benchtests/bench-memchr.c: New file.
54973 * benchtests/bench-memcmp-ifunc.c: New file.
54974 * benchtests/bench-memcmp.c: New file.
54975 * benchtests/bench-memmem-ifunc.c: New file.
54976 * benchtests/bench-memmem.c: New file.
54977 * benchtests/bench-memmove-ifunc.c: New file.
54978 * benchtests/bench-memmove.c: New file.
54979 * benchtests/bench-mempcpy-ifunc.c: New file.
54980 * benchtests/bench-mempcpy.c: New file.
54981 * benchtests/bench-memset-ifunc.c: New file.
54982 * benchtests/bench-memset.c: New file.
54983 * benchtests/bench-rawmemchr-ifunc.c: New file.
54984 * benchtests/bench-rawmemchr.c: New file.
54985 * benchtests/bench-stpcpy-ifunc.c: New file.
54986 * benchtests/bench-stpcpy.c: New file.
54987 * benchtests/bench-stpncpy-ifunc.c: New file.
54988 * benchtests/bench-stpncpy.c: New file.
54989 * benchtests/bench-strcasecmp-ifunc.c: New file.
54990 * benchtests/bench-strcasecmp.c: New file.
54991 * benchtests/bench-strcasestr-ifunc.c: New file.
54992 * benchtests/bench-strcasestr.c: New file.
54993 * benchtests/bench-strcat-ifunc.c: New file.
54994 * benchtests/bench-strcat.c: New file.
54995 * benchtests/bench-strchr-ifunc.c: New file.
54996 * benchtests/bench-strchr.c: New file.
54997 * benchtests/bench-strchrnul-ifunc.c: New file.
54998 * benchtests/bench-strchrnul.c: New file.
54999 * benchtests/bench-strcmp-ifunc.c: New file.
55000 * benchtests/bench-strcmp.c: New file.
55001 * benchtests/bench-strcpy-ifunc.c: New file.
55002 * benchtests/bench-strcpy.c: New file.
55003 * benchtests/bench-strcspn-ifunc.c: New file.
55004 * benchtests/bench-strcspn.c: New file.
55005 * benchtests/bench-strlen-ifunc.c: New file.
55006 * benchtests/bench-strlen.c: New file.
55007 * benchtests/bench-strncasecmp-ifunc.c: New file.
55008 * benchtests/bench-strncasecmp.c: New file.
55009 * benchtests/bench-strncat-ifunc.c: New file.
55010 * benchtests/bench-strncat.c: New file.
55011 * benchtests/bench-strncmp-ifunc.c: New file.
55012 * benchtests/bench-strncmp.c: New file.
55013 * benchtests/bench-strncpy-ifunc.c: New file.
55014 * benchtests/bench-strncpy.c: New file.
55015 * benchtests/bench-strnlen-ifunc.c: New file.
55016 * benchtests/bench-strnlen.c: New file.
55017 * benchtests/bench-strpbrk-ifunc.c: New file.
55018 * benchtests/bench-strpbrk.c: New file.
55019 * benchtests/bench-strrchr-ifunc.c: New file.
55020 * benchtests/bench-strrchr.c: New file.
55021 * benchtests/bench-strspn-ifunc.c: New file.
55022 * benchtests/bench-strspn.c: New file.
55023 * benchtests/bench-strstr-ifunc.c: New file.
55024 * benchtests/bench-strstr.c: New file.
55025
55026 * benchtests/Makefile: Disable parallel execution of targets.
55027 (string-bench): Add memcpy.
55028 (benchset): New variable to store a list of benchmark sets.
55029 (bench-func): Renamed from bench.
55030 (bench-set): New target.
55031 (bench): Depend on bench-func and bench-set.
55032 * benchtests/README: Add section on benchmark sets.
55033 * benchtests/bench-memcpy-ifunc.c: New file.
55034 * benchtests/bench-memcpy.c: New file.
55035 * benchtests/bench-string.h: New file.
55036
55037 2013-06-11 Andreas Schwab <schwab@suse.de>
55038
55039 [BZ #15577]
55040 * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
55041 * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
55042 values in the triple.
55043 * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
55044 terminator in the group key.
55045
55046 2013-06-11 Andreas Jaeger <aj@suse.de>
55047
55048 * po/zh_TW.po: Update Chinese (traditional) translation from
55049 translation project.
55050
55051 2013-06-11 Siddhesh Poyarekar <siddhesh@redhat.com>
55052
55053 * include/time.h (__clock_gettime): Add libc_hidden_proto.
55054 * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
55055 __clock_getcpuclockid. Add weak_alias and libc_hidden_def.
55056 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
55057 (clock_getcpuclockid): Likewise.
55058 * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
55059 Add weak_alias and libc_hidden_def.
55060 * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
55061 * rt/clock_gettime.c (clock_gettime): Rename to
55062 __clock_gettime. Add weak_alias and libc_hidden_def.
55063 * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
55064 * rt/clock_nanosleep.c (clock_nanosleep): Rename to
55065 __clock_nanosleep. Add weak_alias and libc_hidden_def.
55066 * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
55067 * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
55068 Likewise.
55069 * rt/clock_settime.c (clock_settime): Rename to
55070 __clock_settime. Add weak_alias and libc_hidden_def.
55071 * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
55072
55073 2013-06-10 Joseph Myers <joseph@codesourcery.com>
55074
55075 * mach/err_boot.sub: Remove trailing whitespace.
55076 * mach/err_ipc.sub: Likewise.
55077 * mach/err_mach.sub: Likewise.
55078
55079 * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
55080 (ROUNDING_TESTS_double): Likewise.
55081 (ROUNDING_TESTS_long_double): Likewise.
55082 (ROUNDING_TESTS): Likewise.
55083 * math/libm-test.inc: Include <math-tests.h>.
55084 (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
55085 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
55086 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
55087 (IF_ROUND_INIT_FE_UPWARD): Likewise.
55088
55089 2013-06-10 Siddhesh Poyarekar <siddhesh@redhat.com>
55090
55091 * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
55092 of assigning.
55093
55094 2013-06-08 Joseph Myers <joseph@codesourcery.com>
55095
55096 * sysdeps/gnu/errlist.awk: Do not generate space at end of
55097 otherwise empty TRANS lines.
55098 * sysdeps/gnu/errlist.c: Regenerated.
55099
55100 * catgets/gencat.c (error_print): Use (void) in function
55101 definition.
55102 * crypt/crypt_util.c (__init_des): Likewise.
55103 * crypt/speeds.c (Stop): Likewise.
55104 (main): Likewise.
55105 * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
55106 * inet/ruserpass.c (token): Likewise.
55107 * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
55108 * intl/localealias.c (extend_alias_table): Likewise.
55109 * intl/plural-exp.c (init_germanic_plural): Likewise.
55110 * libio/fcloseall.c (__fcloseall): Likewise.
55111 * libio/genops.c (_IO_flush_all): Likewise.
55112 (_IO_flush_all_linebuffered): Likewise.
55113 (_IO_cleanup): Likewise.
55114 (_IO_iter_begin): Likewise.
55115 (_IO_iter_end): Likewise.
55116 (_IO_list_lock): Likewise.
55117 (_IO_list_unlock): Likewise.
55118 (_IO_list_resetlock): Likewise.
55119 * libio/getchar.c (getchar): Likewise.
55120 * libio/getchar_u.c (getchar_unlocked): Likewise.
55121 * libio/getwchar.c (getwchar): Likewise.
55122 * libio/getwchar_u.c (getwchar_unlocked): Likewise.
55123 * libio/oldstdfiles.c (_IO_check_libio): Likewise.
55124 * login/getpt.c (__getpt): Likewise.
55125 * login/tst-utmp.c (main): Likewise.
55126 * malloc/hooks.c (__malloc_check_init): Likewise.
55127 * malloc/malloc.c (__malloc_stats): Likewise.
55128 * malloc/mtrace.c (tr_break): Likewise.
55129 (mtrace): Likewise.
55130 (muntrace): Likewise.
55131 * misc/fstab.c (endfsent): Likewise.
55132 * misc/getclktck.c (__getclktck): Likewise.
55133 * misc/getdtsz.c (__getdtablesize): Likewise.
55134 * misc/gethostid.c (gethostid): Likewise.
55135 * misc/getpagesize.c (__getpagesize): Likewise.
55136 * misc/getsysstats.c (__get_nprocs_conf): Likewise.
55137 (__get_nprocs): Likewise.
55138 (__get_phys_pages): Likewise.
55139 (__get_avphys_pages): Likewise.
55140 * misc/getttyent.c (getttyent): Likewise.
55141 (setttyent): Likewise.
55142 (endttyent): Likewise.
55143 * misc/getusershell.c (getusershell): Likewise.
55144 (endusershell): Likewise.
55145 (setusershell): Likewise.
55146 (initshells): Likewise.
55147 * misc/hsearch.c (__hdestroy): Likewise.
55148 * misc/sync.c (sync): Likewise.
55149 * misc/syslog.c (closelog_internal): Likewise.
55150 (closelog): Likewise.
55151 * misc/ttyslot.c (ttyslot): Likewise.
55152 * misc/vhangup.c (vhangup): Likewise.
55153 * posix/fork.c (__fork): Likewise.
55154 * posix/getegid.c (__getegid): Likewise.
55155 * posix/geteuid.c (__geteuid): Likewise.
55156 * posix/getgid.c (__getgid): Likewise.
55157 * posix/getpid.c (__getpid): Likewise.
55158 * posix/getppid.c (__getppid): Likewise.
55159 * posix/getuid.c (__getuid): Likewise.
55160 * posix/pause.c (pause): Likewise.
55161 * posix/setpgrp.c (setpgrp): Likewise.
55162 * posix/setsid.c (__setsid): Likewise.
55163 * posix/test-vfork.c (noop): Likewise.
55164 * resolv/gethnamaddr.c (_endhtent): Likewise.
55165 (_gethtent): Likewise.
55166 (ht_endhostent): Likewise.
55167 (gethostent): Likewise.
55168 (dns_service): Likewise.
55169 * stdlib/drand48.c (drand48): Likewise.
55170 * stdlib/lrand48.c (lrand48): Likewise.
55171 * stdlib/mrand48.c (mrand48): Likewise.
55172 * stdlib/rand.c (rand): Likewise.
55173 * stdlib/random.c (__random): Likewise.
55174 * stdlib/setenv.c (clearenv): Likewise.
55175 * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
55176 * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
55177 * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
55178 * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
55179 (__get_nprocs): Likewise.
55180 (__get_phys_pages): Likewise.
55181 (__get_avphys_pages): Likewise.
55182 * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
55183 * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
55184 * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
55185 * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
55186 * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
55187 * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
55188 * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
55189 * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
55190 * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
55191 * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
55192 * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
55193 * sysdeps/mach/hurd/sync.c (sync): Likewise.
55194 * sysdeps/posix/clock.c (clock): Likewise.
55195 * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
55196 * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
55197 * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
55198 * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
55199 * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
55200 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
55201 (__get_nprocs_conf): Likewise.
55202 (__get_phys_pages): Likewise.
55203 (__get_avphys_pages): Likewise.
55204 * time/clock.c (clock): Likewise.
55205 * time/tzset.c (__tzname_max): Likewise.
55206
55207 2013-06-07 Joseph Myers <joseph@codesourcery.com>
55208
55209 * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
55210 (__bswap_32): Do not use "register".
55211 * crypt/crypt.c (_ufc_doit_r): Likewise.
55212 * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
55213 * debug/wcscat_chk.c (__wcscat_chk): Likewise.
55214 * gmon/gmon.c (__monstartup): Likewise.
55215 * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
55216 * hurd/hurdmalloc.c (more_memory): Likewise.
55217 (malloc): Likewise.
55218 (free): Likewise.
55219 (realloc): Likewise.
55220 (malloc_fork_prepare): Likewise.
55221 (malloc_fork_parent): Likewise.
55222 (malloc_fork_child): Likewise.
55223 * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
55224 (_svcauth_des): Likewise.
55225 * inet/inet_lnaof.c (inet_lnaof): Likewise.
55226 * inet/inet_net.c (inet_network): Likewise.
55227 * inet/inet_netof.c (inet_netof): Likewise.
55228 * inet/rcmd.c (__validuser2_sa): Likewise.
55229 * io/fts.c (fts_open): Likewise.
55230 (fts_load): Likewise.
55231 (fts_close): Likewise.
55232 (fts_read): Likewise.
55233 (fts_children): Likewise.
55234 (fts_build): Likewise.
55235 (fts_stat): Likewise.
55236 (fts_sort): Likewise.
55237 (fts_alloc): Likewise.
55238 (fts_lfree): Likewise.
55239 * libio/fileops.c (_IO_new_file_xsputn): Likewise.
55240 (_IO_file_xsgetn): Likewise.
55241 (_IO_file_xsgetn_mmap): Likewise.
55242 * libio/iofopncook.c (_IO_cookie_read): Likewise.
55243 (_IO_cookie_write): Likewise.
55244 * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
55245 * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
55246 * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
55247 * malloc/obstack.c (_obstack_begin): Likewise.
55248 (_obstack_begin_1): Likewise.
55249 (_obstack_newchunk): Likewise.
55250 (_obstack_allocated_p): Likewise.
55251 (obstack_free): Likewise.
55252 (_obstack_memory_used): Likewise.
55253 * misc/getttyent.c (getttynam): Likewise.
55254 (getttyent): Likewise.
55255 (skip): Likewise.
55256 (value): Likewise.
55257 * misc/getusershell.c (initshells): Likewise.
55258 * misc/syslog.c (__vsyslog_chk): Likewise.
55259 * misc/ttyslot.c (ttyslot): Likewise.
55260 * nis/nis_hash.c (__nis_hash): Likewise.
55261 * posix/fnmatch_loop.c (FCT): Likewise.
55262 * posix/getconf.c (print_all): Likewise.
55263 (main): Likewise.
55264 * posix/getopt.c (exchange): Likewise.
55265 * posix/glob.c (globfree): Likewise.
55266 (prefix_array): Likewise.
55267 (__glob_pattern_type): Likewise.
55268 * resolv/arpa/nameser.h (NS_GET16): Likewise.
55269 (NS_GET32): Likewise.
55270 (NS_PUT16): Likewise.
55271 (NS_PUT32): Likewise.
55272 * resolv/gethnamaddr.c (getanswer): Likewise.
55273 (gethostbyname2): Likewise.
55274 (gethostbyaddr): Likewise.
55275 (_gethtent): Likewise.
55276 (_gethtbyname2): Likewise.
55277 (_gethtbyaddr): Likewise.
55278 * resolv/ns_print.c (dst_s_get_int16): Likewise.
55279 * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
55280 * resolv/res_init.c (__res_vinit): Likewise.
55281 (net_mask): Likewise.
55282 * resolv/res_mkquery.c (outchar): Likewise.
55283 (PRINT): Likewise.
55284 * stdio-common/printf_fp.c (outchar): Likewise.
55285 (PRINT): Likewise.
55286 * stdio-common/printf_fphex.c (outchar): Likewise.
55287 (PRINT): Likewise.
55288 * stdio-common/printf_size.c (outchar): Likewise.
55289 (PRINT): Likewise.
55290 * stdio-common/test_rdwr.c (main): Likewise.
55291 * stdio-common/tfformat.c (matches): Likewise.
55292 * stdio-common/vfprintf.c (outchar): Likewise.
55293 (printf_unknown): Likewise.
55294 (buffered_vfprintf): Likewise.
55295 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
55296 * stdio-common/xbug.c (AppendToBuffer): Likewise.
55297 (ReadFile): Likewise.
55298 * stdlib/qsort.c (SWAP): Likewise.
55299 (_quicksort): Likewise.
55300 * stdlib/setenv.c (__add_to_environ): Likewise.
55301 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
55302 * stdlib/strtol_l.c (__strtol_l): Likewise.
55303 * stdlib/tst-strtod.c (main): Likewise.
55304 * stdlib/tst-strtol.c (main): Likewise.
55305 * stdlib/tst-strtoll.c (main): Likewise.
55306 * string/bits/string2.h (__strcmp_cc): Likewise.
55307 (__strcmp_cg): Likewise.
55308 (__strcspn_c1): Likewise.
55309 (__strcspn_c2): Likewise.
55310 (__strcspn_c3): Likewise.
55311 (__strspn_c1): Likewise.
55312 (__strspn_c2): Likewise.
55313 (__strspn_c3): Likewise.
55314 (__strsep_1c): Likewise.
55315 (__strsep_2c): Likewise.
55316 (__strsep_3c): Likewise.
55317 * string/memccpy.c (__memccpy): Likewise.
55318 * string/stpcpy.c (__stpcpy): Likewise.
55319 * string/strcmp.c (strcmp): Likewise.
55320 * string/strrchr.c (strrchr): Likewise.
55321 * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
55322 Likewise.
55323 * sysdeps/mach/hurd/getcwd.c
55324 (_hurd_canonicalize_directory_name_internal): Likewise.
55325 * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
55326 * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
55327 * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
55328 * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
55329 Likewise, in both definitions.
55330 * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
55331 definitions.
55332 [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
55333 64] (__bswap_64): Likewise.
55334 * time/test_time.c (main): Likewise.
55335 * time/tzfile.c (__tzfile_read): Likewise.
55336 (__tzfile_compute): Likewise.
55337 * time/tzset.c (__tzset_parse_tz): Likewise.
55338 (tzset_internal): Likewise.
55339 (compute_change): Likewise.
55340 * wcsmbs/wcscat.c (__wcscat): Likewise.
55341 * wcsmbs/wcschr.c (wcschr): Likewise.
55342 * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
55343 * wcsmbs/wcscspn.c (wcscspn): Likewise.
55344 * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
55345 * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
55346 * wcsmbs/wcsspn.c (wcsspn): Likewise.
55347 * wcsmbs/wcsstr.c (wcsstr): Likewise.
55348 * wcsmbs/wmemchr.c (wmemchr): Likewise.
55349 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
55350 * wcsmbs/wmemset.c (wmemset): Likewise.
55351
55352 2013-06-06 Joseph Myers <joseph@codesourcery.com>
55353
55354 * scripts/config.guess: Update to version 2013-05-16.
55355 * scripts/config.sub: Update to version 2013-04-24.
55356 * scripts/install-sh: Update to version 2011-11-20.07.
55357 * scripts/mkinstalldirs: Update to version 2009-04-28.21.
55358 * scripts/move-if-change: Update to version 2012-01-06 07:23.
55359
55360 2013-06-06 Ondřej Bílka <neleai@seznam.cz>
55361
55362 * debug/fgetws_u_chk.c: Fix leading whitespaces.
55363 * elf/sln.c: Likewise.
55364 * hurd/hurd/ioctl.h: Likewise.
55365 * hurd/hurdmalloc.c: Likewise.
55366 * hurd/xattr.c: Likewise.
55367 * include/shlib-compat.h: Likewise.
55368 * inet/ruserpass.c: Likewise.
55369 * libio/iofgets_u.c: Likewise.
55370 * libio/iofgetws_u.c: Likewise.
55371 * locale/programs/ld-identification.c: Likewise.
55372 * locale/programs/ld-time.c: Likewise.
55373 * mach/msg-destroy.c: Likewise.
55374 * nss/nss_files/files-netgrp.c: Likewise.
55375 * resolv/res_data.c: Likewise.
55376 * soft-fp/op-1.h: Likewise.
55377 * soft-fp/op-2.h: Likewise.
55378 * soft-fp/op-4.h: Likewise.
55379 * soft-fp/op-common.h: Likewise.
55380 * stdio-common/printf_fphex.c: Likewise.
55381 * stdlib/strtod_l.c: Likewise.
55382 * sunrpc/rpc/clnt.h: Likewise.
55383 * sysdeps/generic/framestate.c: Likewise.
55384 * sysdeps/i386/bsd-_setjmp.S: Likewise.
55385 * sysdeps/i386/bsd-setjmp.S: Likewise.
55386 * sysdeps/i386/__longjmp.S: Likewise.
55387 * sysdeps/i386/setjmp.S: Likewise.
55388 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
55389 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
55390 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55391 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
55392 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
55393 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
55394 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
55395 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
55396 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
55397 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
55398 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
55399 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
55400 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
55401 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
55402 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
55403 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
55404 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
55405 * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
55406 * sysdeps/ieee754/support.c: Likewise.
55407 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
55408 * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
55409 * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
55410 * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
55411 * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
55412 * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
55413 * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
55414 * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
55415 * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
55416 * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
55417 * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
55418 * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
55419 * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
55420 * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
55421 * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
55422 * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
55423 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
55424 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
55425
55426 2013-06-05 Ondřej Bílka <neleai@seznam.cz>
55427
55428 * posix/transbug.c: Remove executable mode.
55429
55430 2013-06-05 Joseph Myers <joseph@codesourcery.com>
55431
55432 * crypt/speeds.c: Remove trailing whitespace.
55433 * dlfcn/default.c: Likewise.
55434 * elf/ifuncdep2.c: Likewise.
55435 * elf/ifuncmain1.c: Likewise.
55436 * elf/ifuncmain1vis.c: Likewise.
55437 * elf/testobj.h: Likewise.
55438 * elf/tst-stackguard1.c: Likewise.
55439 * gmon/sys/gmon.h: Likewise.
55440 * hurd/hurdmsg.c: Likewise.
55441 * hurd/new-fd.c: Likewise.
55442 * hurd/ports-get.c: Likewise.
55443 * iconvdata/ibm1008_420.c: Likewise.
55444 * inet/tst-getni1.c: Likewise.
55445 * inet/tst-getni2.c: Likewise.
55446 * libio/ioungetc.c: Likewise.
55447 * libio/wfiledoalloc.c: Likewise.
55448 * manual/libm-err-tab.pl: Likewise.
55449 * math/w_dremf.c: Likewise.
55450 * misc/ftruncate.c: Likewise.
55451 * posix/bug-glob2.c: Likewise.
55452 * posix/tst-pcre.c: Likewise.
55453 * posix/wait4.c: Likewise.
55454 * resolv/README: Likewise.
55455 * resolv/res_debug.h: Likewise.
55456 * resolv/tst-inet_ntop.c: Likewise.
55457 * setjmp/bug269-setjmp.c: Likewise.
55458 * soft-fp/extended.h: Likewise.
55459 * soft-fp/op-1.h: Likewise.
55460 * soft-fp/op-2.h: Likewise.
55461 * soft-fp/op-4.h: Likewise.
55462 * soft-fp/op-8.h: Likewise.
55463 * soft-fp/testit.c: Likewise.
55464 * stdio-common/bug16.c: Likewise.
55465 * stdlib/random.c: Likewise.
55466 * sunrpc/rpcsvc/rquota.x: Likewise.
55467 * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
55468 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
55469 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
55470 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
55471 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
55472 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
55473 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
55474 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
55475 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
55476 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
55477 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
55478 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
55479 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
55480 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
55481 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
55482 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
55483 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
55484 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
55485 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
55486 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
55487 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
55488 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
55489 * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
55490 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
55491 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
55492 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
55493 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
55494 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
55495 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
55496 * sysdeps/ieee754/s_lib_version.c: Likewise.
55497 * sysdeps/mach/hurd/check_fds.c: Likewise.
55498 * sysdeps/mach/hurd/getsockname.c: Likewise.
55499 * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
55500 * sysdeps/mach/hurd/recvfrom.c: Likewise.
55501 * sysdeps/powerpc/bits/link.h: Likewise.
55502 * sysdeps/powerpc/dl-procinfo.c: Likewise.
55503 * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
55504 * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
55505 * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
55506 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
55507 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
55508 * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
55509 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
55510 * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
55511 * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
55512 * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
55513 * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
55514 * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
55515 * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
55516 * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
55517 * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
55518 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
55519 * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
55520 * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
55521 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
55522 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
55523 * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
55524 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
55525 * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
55526 * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
55527 * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
55528 * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
55529 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
55530 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
55531 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
55532 * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
55533 * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
55534 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
55535 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
55536 * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
55537 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
55538 * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
55539 * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
55540 * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
55541 * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
55542 * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
55543 * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
55544 * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
55545 * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
55546 * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
55547 * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
55548 * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
55549 * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
55550 * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
55551 * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
55552 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
55553 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
55554 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
55555 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
55556 * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
55557 * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
55558 * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
55559 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
55560 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
55561 * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
55562 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
55563 * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
55564 * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
55565 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
55566 * sysdeps/powerpc/sysdep.h: Likewise.
55567 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
55568 * sysdeps/s390/s390-64/sub_n.S: Likewise.
55569 * sysdeps/sh/dl-trampoline.S: Likewise.
55570 * sysdeps/sh/memset.S: Likewise.
55571 * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
55572 * sysdeps/sh/strlen.S: Likewise.
55573 * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
55574 * sysdeps/sparc/sparc32/dotmul.S: Likewise.
55575 * sysdeps/sparc/sparc32/memcpy.S: Likewise.
55576 * sysdeps/sparc/sparc32/rem.S: Likewise.
55577 * sysdeps/sparc/sparc32/sdiv.S: Likewise.
55578 * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
55579 * sysdeps/sparc/sparc32/strchr.S: Likewise.
55580 * sysdeps/sparc/sparc32/udiv.S: Likewise.
55581 * sysdeps/sparc/sparc32/urem.S: Likewise.
55582 * sysdeps/sparc/sparc64/add_n.S: Likewise.
55583 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
55584 * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
55585 * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
55586 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
55587 * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
55588 * sysdeps/sparc/sparc64/strncmp.S: Likewise.
55589 * sysdeps/sparc/sparc64/strncpy.S: Likewise.
55590 * sysdeps/unix/bsd/times.c: Likewise.
55591 * sysdeps/unix/sysv/linux/a.out.h: Likewise.
55592 * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
55593 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
55594 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
55595 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
55596 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
55597 * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
55598 * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
55599 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
55600 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
55601 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
55602 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
55603 * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
55604 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
55605 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
55606 * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
55607 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
55608 * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
55609 * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
55610 * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
55611 * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
55612 * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
55613 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
55614 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
55615 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
55616 * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
55617 * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
55618 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
55619 * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
55620 * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
55621 * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
55622 * sysdeps/x86_64/strcspn.S: Likewise.
55623
55624 2013-06-05 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
55625
55626 * locale/C-translit.h: Revert #include <stdint.h> because this is a
55627 generated file. Regenerate properly from gen-translit.pl.
55628 * locale/gen-translit.pl: Add #include <stdint.h>. This generates
55629 locale/C-translit.h.
55630
55631 2013-06-05 Andreas Schwab <schwab@suse.de>
55632
55633 [BZ #15100]
55634 * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
55635 week as 6 instead of -1.
55636 * time/tst-strptime.c (day_tests): Add test case.
55637
55638 2013-06-05 Siddhesh Poyarekar <siddhesh@redhat.com>
55639
55640 * sysdeps/generic/math_private.h
55641 (libc_feholdexcept_setround_53bit): Replace with
55642 libc_feholdsetround_53bit.
55643 (libc_feupdateenv_53bit): Replace with
55644 libc_feresetround_53bit.
55645 (SET_RESTORE_ROUND_53BIT): Adjust.
55646
55647 2013-06-03 Siddhesh Poyarekar <siddhesh@redhat.com>
55648
55649 * string/test-strchrnul.c: Add copyright header.
55650
55651 * posix/tst-getaddrinfo4.c: Increase test timeout.
55652
55653 2013-06-03 Carlos O'Donell <carlos@redhat.com>
55654
55655 [BZ #15536]
55656 * math/libm-test.inc (MAX_EXP): Remove
55657 (MIN_EXP): Define.
55658 (ulp): Use MIN_EXP - MANT_DIG.
55659 (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
55660
55661 2013-05-31 Carlos O'Donell <carlos@redhat.com>
55662
55663 * po/be.po: Revert last change.
55664 * po/zh_CN.po: Likewise.
55665 * po/header.pot: Likewise.
55666
55667 2013-05-31 Joseph Myers <joseph@codesourcery.com>
55668
55669 * Makefile ($(common-objpfx)linkobj/libc.so): Define
55670 link-libc-deps to empty as target-specific variable.
55671 * Makerules (link-libc-args): New variable.
55672 (libc-for-link): Likewise.
55673 (link-libc-deps): Likewise.
55674 (lib%.so): Depend on $(link-libc-deps). Link with
55675 $(link-libc-args).
55676 (build-module): Link with $(link-libc-args).
55677 (build-module-asneeded): Likewise.
55678 (build-module-helper-objlist): Filter out $(link-libc-deps) from
55679 list of objects.
55680 ($(common-objpfx)libc.so): Define link-libc-deps to empty as
55681 target-specific variable.
55682 ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
55683 $(link-libc-deps) instead of libc.so and libc_nonshared.a.
55684 * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
55685 libc.
55686 * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
55687 libc and ld.so.
55688 ($(objpfx)libpcprofile.so): Likewise.
55689 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
55690 libc_nonshared.a.
55691 ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
55692 * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
55693 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
55694 $(link-libc-deps).
55695 ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
55696 * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
55697 * login/Makefile ($(objpfx)libutil.so): Likewise.
55698 * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
55699 * math/Makefile ($(objpfx)libm.so): Likewise.
55700 * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
55701 $(objpfx)libnsl.so): Define libc-for-link as target-specific
55702 variable instead of depending directly on libc.
55703 * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
55704 ($(objpfx)/libnss_test1.so): Change dependencies on libc to
55705 $(link-libc-deps).
55706 * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
55707 libc.
55708 [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
55709 ($(objpfx)libnss_dns.so): Remove dependencies on libc.
55710 ($(objpfx)libanl.so): Likewise.
55711 * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
55712 ld.so.
55713 * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
55714 $(link-libc-deps).
55715 * sysdeps/i386/fpu/Makefile: Remove file.
55716 * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
55717 ($(objpfx)libm.so): Remove dependency on ld.so.
55718
55719 2013-05-30 Patsy Franklin <pfrankli@redhat.com>
55720
55721 [BZ # 15553]
55722 * nis/yp_xdr.c (XDRMAXNAME): Define.
55723 (XDRMAXRECORD): Define.
55724 (xdr_domainname): Use XDRMAXNAME.
55725 (xdr_mapname): Likewise.
55726 (xdr_peername): Likewise.
55727 (xdr_keydat): Use XDRMAXRECORD.
55728 (xdr_valdat): Likewise.
55729
55730 2013-05-30 Jeff Law <law@redhat.com>
55731
55732 [BZ #14256]
55733 * manual/errno.texi (ESTALE): Update to account for more than
55734 just NFS file systems.
55735 * sysdeps/gnu/errlist.c: Regenerated.
55736
55737 2013-05-29 Siddhesh Poyarekar <siddhesh@redhat.com>
55738
55739 [BZ #15465]
55740 * elf/Makefile (tests): Add tst-null-argv.
55741 (modules-names): Add tst-null-argv-lib.
55742 ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
55743 (tst-null-argv-ENV): Set environment for tst-null-argv.
55744 * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
55745 (RTLD_PROGNAME): New macro.
55746 * elf/tst-null-argv.c: New test case.
55747 * elf/tst-null-argv-lib.c: Library for test case.
55748 * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
55749 * elf/dl-deps.c (_dl_map_object_deps): Likewise.
55750 * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
55751 * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
55752 * elf/dl-init.c (call_init): Likewise.
55753 (_dl_init): Likewise.
55754 * elf/dl-load.c (print_search_path): Likewise.
55755 (_dl_map_object): Likewise.
55756 * elf/dl-lookup.c (do_lookup_x): Likewise.
55757 (add_dependency): Likewise.
55758 (_dl_lookup_symbol_x): Likewise.
55759 (_dl_debug_bindings): Likewise.
55760 * elf/dl-open.c (_dl_show_scope): Likewise.
55761 * elf/dl-reloc.c (_dl_relocate_object): Likewise.
55762 * elf/dl-version.c (match_symbol): Likewise.
55763 (_dl_check_map_versions): Likewise.
55764 * elf/rtld.c (dl_main): Likewise.
55765 (print_unresolved): Use RTLD_PROGNAME.
55766 (print_missing_version): Likewise.
55767 * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
55768 (elf_machine_rela): Likewise.
55769 * sysdeps/powerpc/powerpc32/dl-machine.c
55770 (__process_machine_rela): Likewise.
55771 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
55772 Likewise.
55773 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
55774 Likewise.
55775 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
55776 Likewise.
55777 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
55778 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
55779 Likewise.
55780 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
55781 Likewise.
55782 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
55783
55784 2013-05-28 Carlos O'Donell <carlos@redhat.com>
55785
55786 * po/be.po: Add descriptive title.
55787 * po/zh_CN.po: Likewise.
55788 * po/header.pot: Likewise.
55789
55790 2013-05-28 Mike Frysinger <vapier@gentoo.org>
55791
55792 * locale/programs/locarchive.c (create_archive): Inlucde fname in
55793 error message.
55794 (enlarge_archive): Likewise.
55795
55796 2013-05-28 Ben North <ben@redfrontdoor.org>
55797
55798 * manual/arith.texi (frexp): It is the magnitude of the return
55799 value which lies in [0.5, 1), not the return value itself.
55800
55801 2013-05-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55802
55803 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55804
55805 2013-05-26 Thomas Schwinge <thomas@codesourcery.com>
55806
55807 * stdio-common/bug26.c (main): Correct fscanf template.
55808
55809 * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
55810 declare _dl_skip_args.
55811
55812 * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
55813 Don't declare.
55814
55815 * manual/platform.texi: Add missing @end deftypefun.
55816
55817 2013-05-24 Joseph Myers <joseph@codesourcery.com>
55818
55819 [BZ #15529]
55820 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
55821 bit of mantissa of 2^16382.
55822 * math/libm-test.inc (hypot_test_data): Add more tests.
55823
55824 * math/libm-test.inc: Add drem and pow10 to list of tested
55825 functions.
55826 (pow10_test): New function.
55827 (drem_test): Likewise.
55828 (drem_test_tonearest): Likewise.
55829 (drem_test_towardzero): Likewise.
55830 (drem_test_downward): Likewise.
55831 (drem_test_upward): Likewise.
55832 (main): Call the new functions.
55833
55834 * math/libm-test.inc (finite_test_data): Remove.
55835 (finite_test): Run tests from isfinite_test_data.
55836 (gamma_test_data): Remove.
55837 (gamma_test): Run tests from lgamma_test_data.
55838 * sysdeps/i386/fpu/libm-test-ulps: Update.
55839 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55840
55841 2013-05-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
55842
55843 * manual/platform.texi: Add PowerPC PPR function set documentation.
55844 * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
55845 implementation.
55846
55847 2013-05-24 Carlos O'Donell <carlos@redhat.com>
55848
55849 * math/libm-test.inc (MAX_EXP): Define.
55850 (ULPDIFF): Define.
55851 (ulp): New function.
55852 (check_float_internal): Use ULPDIFF.
55853 (cpow_test): Disable failing test.
55854 (check_ulp): Test ulp() implementation.
55855 (main): Call check_ulp before starting tests.
55856
55857 2013-05-24 Joseph Myers <joseph@codesourcery.com>
55858
55859 * math/gen-libm-test.pl (generate_testfile): Do not handle
55860 START_DATA and END_DATA.
55861 * math/libm-test.inc (acos_test_data): Do not use START_DATA and
55862 END_DATA.
55863 (acos_tonearest_test_data): Likewise.
55864 (acos_towardzero_test_data): Likewise.
55865 (acos_downward_test_data): Likewise.
55866 (acos_upward_test_data): Likewise.
55867 (acosh_test_data): Likewise.
55868 (asin_test_data): Likewise.
55869 (asin_tonearest_test_data): Likewise.
55870 (asin_towardzero_test_data): Likewise.
55871 (asin_downward_test_data): Likewise.
55872 (asin_upward_test_data): Likewise.
55873 (asinh_test_data): Likewise.
55874 (atan_test_data): Likewise.
55875 (atanh_test_data): Likewise.
55876 (atan2_test_data): Likewise.
55877 (cabs_test_data): Likewise.
55878 (cacos_test_data): Likewise.
55879 (cacosh_test_data): Likewise.
55880 (carg_test_data): Likewise.
55881 (casin_test_data): Likewise.
55882 (casinh_test_data): Likewise.
55883 (catan_test_data): Likewise.
55884 (catanh_test_data): Likewise.
55885 (cbrt_test_data): Likewise.
55886 (ccos_test_data): Likewise.
55887 (ccosh_test_data): Likewise.
55888 (ceil_test_data): Likewise.
55889 (cexp_test_data): Likewise.
55890 (cimag_test_data): Likewise.
55891 (clog_test_data): Likewise.
55892 (clog10_test_data): Likewise.
55893 (conj_test_data): Likewise.
55894 (copysign_test_data): Likewise.
55895 (cos_test_data): Likewise.
55896 (cos_tonearest_test_data): Likewise.
55897 (cos_towardzero_test_data): Likewise.
55898 (cos_downward_test_data): Likewise.
55899 (cos_upward_test_data): Likewise.
55900 (cosh_test_data): Likewise.
55901 (cosh_tonearest_test_data): Likewise.
55902 (cosh_towardzero_test_data): Likewise.
55903 (cosh_downward_test_data): Likewise.
55904 (cosh_upward_test_data): Likewise.
55905 (cpow_test_data): Likewise.
55906 (cproj_test_data): Likewise.
55907 (creal_test_data): Likewise.
55908 (csin_test_data): Likewise.
55909 (csinh_test_data): Likewise.
55910 (csqrt_test_data): Likewise.
55911 (ctan_test_data): Likewise.
55912 (ctan_tonearest_test_data): Likewise.
55913 (ctan_towardzero_test_data): Likewise.
55914 (ctan_downward_test_data): Likewise.
55915 (ctan_upward_test_data): Likewise.
55916 (ctanh_test_data): Likewise.
55917 (ctanh_tonearest_test_data): Likewise.
55918 (ctanh_towardzero_test_data): Likewise.
55919 (ctanh_downward_test_data): Likewise.
55920 (ctanh_upward_test_data): Likewise.
55921 (erf_test_data): Likewise.
55922 (erfc_test_data): Likewise.
55923 (exp_test_data): Likewise.
55924 (exp_tonearest_test_data): Likewise.
55925 (exp_towardzero_test_data): Likewise.
55926 (exp_downward_test_data): Likewise.
55927 (exp_upward_test_data): Likewise.
55928 (exp10_test_data): Likewise.
55929 (exp2_test_data): Likewise.
55930 (expm1_test_data): Likewise.
55931 (fabs_test_data): Likewise.
55932 (fdim_test_data): Likewise.
55933 (finite_test_data): Likewise.
55934 (floor_test_data): Likewise.
55935 (fma_test_data): Likewise.
55936 (fma_towardzero_test_data): Likewise.
55937 (fma_downward_test_data): Likewise.
55938 (fma_upward_test_data): Likewise.
55939 (fmax_test_data): Likewise.
55940 (fmin_test_data): Likewise.
55941 (fmod_test_data): Likewise.
55942 (fpclassify_test_data): Likewise.
55943 (frexp_test_data): Likewise.
55944 (gamma_test_data): Likewise.
55945 (hypot_test_data): Likewise.
55946 (ilogb_test_data): Likewise.
55947 (isfinite_test_data): Likewise.
55948 (isgreater_test_data): Likewise.
55949 (isgreaterequal_test_data): Likewise.
55950 (isinf_test_data): Likewise.
55951 (isless_test_data): Likewise.
55952 (islessequal_test_data): Likewise.
55953 (islessgreater_test_data): Likewise.
55954 (isnan_test_data): Likewise.
55955 (isnormal_test_data): Likewise.
55956 (issignaling_test_data): Likewise.
55957 (isunordered_test_data): Likewise.
55958 (j0_test_data): Likewise.
55959 (j1_test_data): Likewise.
55960 (jn_test_data): Likewise.
55961 (ldexp_test_data): Likewise.
55962 (lgamma_test_data): Likewise.
55963 (lrint_test_data): Likewise.
55964 (lrint_tonearest_test_data): Likewise.
55965 (lrint_towardzero_test_data): Likewise.
55966 (lrint_downward_test_data): Likewise.
55967 (lrint_upward_test_data): Likewise.
55968 (llrint_test_data): Likewise.
55969 (llrint_tonearest_test_data): Likewise.
55970 (llrint_towardzero_test_data): Likewise.
55971 (llrint_downward_test_data): Likewise.
55972 (llrint_upward_test_data): Likewise.
55973 (log_test_data): Likewise.
55974 (log10_test_data): Likewise.
55975 (log1p_test_data): Likewise.
55976 (log2_test_data): Likewise.
55977 (logb_test_data): Likewise.
55978 (logb_downward_test_data): Likewise.
55979 (lround_test_data): Likewise.
55980 (llround_test_data): Likewise.
55981 (modf_test_data): Likewise.
55982 (nearbyint_test_data): Likewise.
55983 (nextafter_test_data): Likewise.
55984 (nexttoward_test_data): Likewise.
55985 (pow_test_data): Likewise.
55986 (pow_tonearest_test_data): Likewise.
55987 (pow_towardzero_test_data): Likewise.
55988 (pow_downward_test_data): Likewise.
55989 (pow_upward_test_data): Likewise.
55990 (remainder_test_data): Likewise.
55991 (remainder_tonearest_test_data): Likewise.
55992 (remainder_towardzero_test_data): Likewise.
55993 (remainder_downward_test_data): Likewise.
55994 (remainder_upward_test_data): Likewise.
55995 (remquo_test_data): Likewise.
55996 (rint_test_data): Likewise.
55997 (rint_tonearest_test_data): Likewise.
55998 (rint_towardzero_test_data): Likewise.
55999 (rint_downward_test_data): Likewise.
56000 (rint_upward_test_data): Likewise.
56001 (round_test_data): Likewise.
56002 (scalb_test_data): Likewise.
56003 (scalbn_test_data): Likewise.
56004 (scalbln_test_data): Likewise.
56005 (signbit_test_data): Likewise.
56006 (sin_test_data): Likewise.
56007 (sin_tonearest_test_data): Likewise.
56008 (sin_towardzero_test_data): Likewise.
56009 (sin_downward_test_data): Likewise.
56010 (sin_upward_test_data): Likewise.
56011 (sincos_test_data): Likewise.
56012 (sinh_test_data): Likewise.
56013 (sinh_tonearest_test_data): Likewise.
56014 (sinh_towardzero_test_data): Likewise.
56015 (sinh_downward_test_data): Likewise.
56016 (sinh_upward_test_data): Likewise.
56017 (sqrt_test_data): Likewise.
56018 (tan_test_data): Likewise.
56019 (tan_tonearest_test_data): Likewise.
56020 (tan_towardzero_test_data): Likewise.
56021 (tan_downward_test_data): Likewise.
56022 (tan_upward_test_data): Likewise.
56023 (tanh_test_data): Likewise.
56024 (tgamma_test_data): Likewise.
56025 (trunc_test_data): Likewise.
56026 (y0_test_data): Likewise.
56027 (y1_test_data): Likewise.
56028 (yn_test_data): Likewise.
56029 (significand_test_data): Likewise.
56030
56031 * math/gen-libm-test.pl (@functions): Remove variable.
56032 (generate_testfile): Don't handle START and END lines.
56033 * math/libm-test.inc (START): New macro.
56034 (END): Likewise.
56035 (END_COMPLEX): Likewise.
56036 (acos_test): Use END macro without arguments.
56037 (acos_test_tonearest): Likewise.
56038 (acos_test_towardzero): Likewise.
56039 (acos_test_downward): Likewise.
56040 (acos_test_upward): Likewise.
56041 (acosh_test): Likewise.
56042 (asin_test): Likewise.
56043 (asin_test_tonearest): Likewise.
56044 (asin_test_towardzero): Likewise.
56045 (asin_test_downward): Likewise.
56046 (asin_test_upward): Likewise.
56047 (asinh_test): Likewise.
56048 (atan_test): Likewise.
56049 (atanh_test): Likewise.
56050 (atan2_test): Likewise.
56051 (cabs_test): Likewise.
56052 (cacos_test): Use END_COMPLEX macro without arguments.
56053 (cacosh_test): Likewise.
56054 (carg_test): Use END macro without arguments.
56055 (casin_test): Use END_COMPLEX macro without arguments.
56056 (casinh_test): Likewise.
56057 (catan_test): Likewise.
56058 (catanh_test): Likewise.
56059 (cbrt_test): Use END macro without arguments.
56060 (ccos_test): Use END_COMPLEX macro without arguments.
56061 (ccosh_test): Likewise.
56062 (ceil_test): Use END macro without arguments.
56063 (cexp_test): Use END_COMPLEX macro without arguments.
56064 (cimag_test): Use END macro without arguments.
56065 (clog_test): Use END_COMPLEX macro without arguments.
56066 (clog10_test): Likewise.
56067 (conj_test): Likewise.
56068 (copysign_test): Use END macro without arguments.
56069 (cos_test): Likewise.
56070 (cos_test_tonearest): Likewise.
56071 (cos_test_towardzero): Likewise.
56072 (cos_test_downward): Likewise.
56073 (cos_test_upward): Likewise.
56074 (cosh_test): Likewise.
56075 (cosh_test_tonearest): Likewise.
56076 (cosh_test_towardzero): Likewise.
56077 (cosh_test_downward): Likewise.
56078 (cosh_test_upward): Likewise.
56079 (cpow_test): Use END_COMPLEX macro without arguments.
56080 (cproj_test): Likewise.
56081 (creal_test): Use END macro without arguments.
56082 (csin_test): Use END_COMPLEX macro without arguments.
56083 (csinh_test): Likewise.
56084 (csqrt_test): Likewise.
56085 (ctan_test): Likewise.
56086 (ctan_test_tonearest): Likewise.
56087 (ctan_test_towardzero): Likewise.
56088 (ctan_test_downward): Likewise.
56089 (ctan_test_upward): Likewise.
56090 (ctanh_test): Likewise.
56091 (ctanh_test_tonearest): Likewise.
56092 (ctanh_test_towardzero): Likewise.
56093 (ctanh_test_downward): Likewise.
56094 (ctanh_test_upward): Likewise.
56095 (erf_test): Use END macro without arguments.
56096 (erfc_test): Likewise.
56097 (exp_test): Likewise.
56098 (exp_test_tonearest): Likewise.
56099 (exp_test_towardzero): Likewise.
56100 (exp_test_downward): Likewise.
56101 (exp_test_upward): Likewise.
56102 (exp10_test): Likewise.
56103 (exp2_test): Likewise.
56104 (expm1_test): Likewise.
56105 (fabs_test): Likewise.
56106 (fdim_test): Likewise.
56107 (finite_test): Likewise.
56108 (floor_test): Likewise.
56109 (fma_test): Likewise.
56110 (fma_test_towardzero): Likewise.
56111 (fma_test_downward): Likewise.
56112 (fma_test_upward): Likewise.
56113 (fmax_test): Likewise.
56114 (fmin_test): Likewise.
56115 (fmod_test): Likewise.
56116 (fpclassify_test): Likewise.
56117 (frexp_test): Likewise.
56118 (gamma_test): Likewise.
56119 (hypot_test): Likewise.
56120 (ilogb_test): Likewise.
56121 (isfinite_test): Likewise.
56122 (isgreater_test): Likewise.
56123 (isgreaterequal_test): Likewise.
56124 (isinf_test): Likewise.
56125 (isless_test): Likewise.
56126 (islessequal_test): Likewise.
56127 (islessgreater_test): Likewise.
56128 (isnan_test): Likewise.
56129 (isnormal_test): Likewise.
56130 (issignaling_test): Likewise.
56131 (isunordered_test): Likewise.
56132 (j0_test): Likewise.
56133 (j1_test): Likewise.
56134 (jn_test): Likewise.
56135 (ldexp_test): Likewise.
56136 (lgamma_test): Likewise.
56137 (lrint_test): Likewise.
56138 (lrint_test_tonearest): Likewise.
56139 (lrint_test_towardzero): Likewise.
56140 (lrint_test_downward): Likewise.
56141 (lrint_test_upward): Likewise.
56142 (llrint_test): Likewise.
56143 (llrint_test_tonearest): Likewise.
56144 (llrint_test_towardzero): Likewise.
56145 (llrint_test_downward): Likewise.
56146 (llrint_test_upward): Likewise.
56147 (log_test): Likewise.
56148 (log10_test): Likewise.
56149 (log1p_test): Likewise.
56150 (log2_test): Likewise.
56151 (logb_test): Likewise.
56152 (logb_test_downward): Likewise.
56153 (lround_test): Likewise.
56154 (llround_test): Likewise.
56155 (modf_test): Likewise.
56156 (nearbyint_test): Likewise.
56157 (nextafter_test): Likewise.
56158 (nexttoward_test): Likewise.
56159 (pow_test): Likewise.
56160 (pow_test_tonearest): Likewise.
56161 (pow_test_towardzero): Likewise.
56162 (pow_test_downward): Likewise.
56163 (pow_test_upward): Likewise.
56164 (remainder_test): Likewise.
56165 (remainder_test_tonearest): Likewise.
56166 (remainder_test_towardzero): Likewise.
56167 (remainder_test_downward): Likewise.
56168 (remainder_test_upward): Likewise.
56169 (remquo_test): Likewise.
56170 (rint_test): Likewise.
56171 (rint_test_tonearest): Likewise.
56172 (rint_test_towardzero): Likewise.
56173 (rint_test_downward): Likewise.
56174 (rint_test_upward): Likewise.
56175 (round_test): Likewise.
56176 (scalb_test): Likewise.
56177 (scalbn_test): Likewise.
56178 (scalbln_test): Likewise.
56179 (signbit_test): Likewise.
56180 (sin_test): Likewise.
56181 (sin_test_tonearest): Likewise.
56182 (sin_test_towardzero): Likewise.
56183 (sin_test_downward): Likewise.
56184 (sin_test_upward): Likewise.
56185 (sincos_test): Likewise.
56186 (sinh_test): Likewise.
56187 (sinh_test_tonearest): Likewise.
56188 (sinh_test_towardzero): Likewise.
56189 (sinh_test_downward): Likewise.
56190 (sinh_test_upward): Likewise.
56191 (sqrt_test): Likewise.
56192 (tan_test): Likewise.
56193 (tan_test_tonearest): Likewise.
56194 (tan_test_towardzero): Likewise.
56195 (tan_test_downward): Likewise.
56196 (tan_test_upward): Likewise.
56197 (tanh_test): Likewise.
56198 (tgamma_test): Likewise.
56199 (trunc_test): Likewise.
56200 (y0_test): Likewise.
56201 (y1_test): Likewise.
56202 (yn_test): Likewise.
56203 (significand_test): Likewise.
56204
56205 2013-05-24 Ondřej Bílka <neleai@seznam.cz>
56206
56207 [BZ #15381]
56208 * libio/genops.c (_IO_no_init): Initialize wide struct info.
56209
56210 2013-05-23 Edjunior Machado <emachado@linux.vnet.ibm.com>
56211
56212 [BZ #14894]
56213 * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
56214 __ppc_mdoio and __ppc_mdoom.
56215 * manual/platform.texi: Document new functions __ppc_yield,
56216 __ppc_mdoio and __ppc_mdoom.
56217
56218 2013-05-22 Carlos O'Donell <carlos@redhat.com>
56219
56220 * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
56221 (main): Mention "tls" pseudo-hwcap is legacy.
56222 * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
56223
56224 2013-05-22 Joseph Myers <joseph@codesourcery.com>
56225
56226 * math/gen-libm-test.pl (parse_args): Output only string of
56227 arguments as text for test name, not full call or descriptions of
56228 tests for extra outputs.
56229 (generate_testfile): Do not pass function name to parse_args.
56230 Generate this_func variable from START.
56231 * math/libm-test.inc (struct test_f_f_data): Rename test_name
56232 field to arg_str.
56233 (struct test_ff_f_data): Likewise.
56234 (test_ff_f_data_nexttoward): Likewise.
56235 (struct test_fi_f_data): Likewise.
56236 (struct test_fl_f_data): Likewise.
56237 (struct test_if_f_data): Likewise.
56238 (struct test_fff_f_data): Likewise.
56239 (struct test_c_f_data): Likewise.
56240 (struct test_f_f1_data): Likewise. Remove field extra_name.
56241 (struct test_fF_f1_data): Likewise.
56242 (struct test_ffI_f1_data): Likewise.
56243 (struct test_c_c_data): Rename test_name field to arg_str.
56244 (struct test_cc_c_data): Likewise.
56245 (struct test_f_i_data): Likewise.
56246 (struct test_ff_i_data): Likewise.
56247 (struct test_f_l_data): Likewise.
56248 (struct test_f_L_data): Likewise.
56249 (struct test_fFF_11_data): Likewise. Remove fields extra1_name
56250 and extra2_name.
56251 (COMMON_TEST_SETUP): New macro.
56252 (EXTRA_OUTPUT_TEST_SETUP): Likewise.
56253 (COMMON_TEST_CLEANUP): Likewise.
56254 (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
56255 (RUN_TEST_f_f): Take argument string. Call new setup and cleanup
56256 macros.
56257 (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
56258 (RUN_TEST_2_f): Take argument string. Call new setup and cleanup
56259 macros.
56260 (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
56261 (RUN_TEST_fff_f): Take argument string. Call new setup and
56262 cleanup macros.
56263 (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
56264 (RUN_TEST_c_f): Take argument string. Call new setup and cleanup
56265 macros.
56266 (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
56267 (RUN_TEST_f_f1): Take argument string. Call new setup and cleanup
56268 macros.
56269 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
56270 (RUN_TEST_fF_f1): Take argument string. Call new setup and
56271 cleanup macros.
56272 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
56273 (RUN_TEST_fI_f1): Take argument string. Call new setup and
56274 cleanup macros.
56275 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
56276 (RUN_TEST_ffI_f1): Take argument string. Call new setup and
56277 cleanup macros.
56278 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
56279 (RUN_TEST_c_c): Take argument string. Call new setup and cleanup
56280 macros.
56281 (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
56282 (RUN_TEST_cc_c): Take argument string. Call new setup and cleanup
56283 macros.
56284 (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
56285 (RUN_TEST_f_i): Take argument string. Call new setup and cleanup
56286 macros.
56287 (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
56288 (RUN_TEST_f_i_tg): Take argument string. Call new setup and
56289 cleanup macros.
56290 (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
56291 (RUN_TEST_ff_i_tg): Take argument string. Call new setup and
56292 cleanup macros.
56293 (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
56294 (RUN_TEST_f_b): Take argument string. Call new setup and cleanup
56295 macros.
56296 (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
56297 (RUN_TEST_f_b_tg): Take argument string. Call new setup and
56298 cleanup macros.
56299 (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
56300 (RUN_TEST_f_l): Take argument string. Call new setup and cleanup
56301 macros.
56302 (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
56303 (RUN_TEST_f_L): Take argument string. Call new setup and cleanup
56304 macros.
56305 (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
56306 (RUN_TEST_fFF_11): Take argument string. Call new setup and
56307 cleanup macros.
56308 (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
56309
56310 2013-05-22 Edjunior Barbosa Machado <emachado@linux.vnet.ibm.com>
56311
56312 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
56313 to _sifields.sigfault.
56314 (si_addr_lsb): Define new macro.
56315 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
56316 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
56317 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
56318
56319 2013-05-03 Carlos O'Donell <carlos at redhat.com>
56320
56321 [BZ #15441]
56322 * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
56323 returns -1.
56324 (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
56325 null return -1.
56326 * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
56327 loading the domain.
56328
56329 2013-05-22 Joseph Myers <joseph@codesourcery.com>
56330
56331 * math/gen-libm-test.pl (parse_args): Do not include expected
56332 result in test name.
56333 * sysdeps/i386/fpu/libm-test-ulps: Update test names.
56334 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56335 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56336 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56337 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56338 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56339
56340 2013-05-22 Siddhesh Poyarekar <siddhesh@redhat.com>
56341
56342 * benchtests/Makefile: Sort function entries.
56343
56344 * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
56345 tanh, asinh, acosh, atanh.
56346 * benchtests/acos-inputs: New file.
56347 * benchtests/acosh-inputs: New file.
56348 * benchtests/asin-inputs: New file.
56349 * benchtests/asinh-inputs: New file.
56350 * benchtests/atanh-inputs: New file.
56351 * benchtests/cosh-inputs: New file.
56352 * benchtests/log-inputs: New file.
56353 * benchtests/sinh-inputs: New file.
56354 * benchtests/tanh-inputs: New file.
56355
56356 2013-05-21 Dmitry V. Levin <ldv@altlinux.org>
56357
56358 [BZ #15339]
56359 * posix/tst-getaddrinfo4.c: New test.
56360 * posix/Makefile (tests): Add it.
56361
56362 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56363
56364 [BZ #15339]
56365 * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
56366 when no services were used.
56367 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
56368 Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
56369
56370 2013-05-21 Andreas Schwab <schwab@suse.de>
56371
56372 [BZ #15014]
56373 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
56374 [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
56375 successful.
56376 * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
56377 redundant variable declarations and reallocation of buffer when
56378 parsing as IPv6 address. Always set NSS status when called from
56379 reentrant functions. Use NETDB_INTERNAL instead of TRY_AGAIN when
56380 buffer too small. Correct computation of needed size.
56381 * nss/Makefile (tests): Add test-digits-dots.
56382 * nss/test-digits-dots.c: New test.
56383
56384 2013-05-21 Siddhesh Poyarekar <siddhesh@redhat.com>
56385
56386 * benchtests/Makefile: Remove instructions for adding
56387 benchmark tests.
56388 * benchtests/README: New file to explain how to execute and
56389 enhance the benchmark tests.
56390
56391 2013-05-21 Andreas Schwab <schwab@suse.de>
56392
56393 [BZ #15493]
56394 * setjmp/Makefile (tests): Add tst-sigsetjmp.
56395 * setjmp/tst-sigsetjmp.c: New test.
56396
56397 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
56398
56399 * sysdeps/x86_64/memset.S (memset): New implementation.
56400 (__bzero): Likewise.
56401 (__memset_tail): New function.
56402
56403 2013-05-20 Ondřej Bílka <neleai@seznam.cz>
56404
56405 * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
56406 * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
56407 __memcpy_sse2_unaligned ifunc selection.
56408 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
56409 Add memcpy-sse2-unaligned.S.
56410 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
56411 Add: __memcpy_sse2_unaligned.
56412
56413 2013-05-19 Joseph Myers <joseph@codesourcery.com>
56414
56415 [BZ #15490]
56416 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
56417 math_force_eval before restoring floating-point envrionment.
56418 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
56419 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
56420 Likewise.
56421 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
56422 <math_private.h>.
56423 (__nearbyintl): Use math_force_eval before restoring
56424 floating-point environment.
56425 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
56426
56427 * math/gen-libm-test.pl (special_functions): Remove.
56428 (parse_args): Don't handle TEST_extra. Handle functions with no
56429 return value.
56430 * math/libm-test.inc (struct test_sincos_data): Replace with
56431 struct test_fFF_11_data.
56432 (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
56433 (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
56434 (sincos_test_data): Change element type to struct
56435 test_fFF_11_data. Use TEST_fFF_11 instead of TEST_extra.
56436 (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
56437 RUN_TEST_LOOP_sincos.
56438 * math/README.libm-test: Don't mention special handling of
56439 individual functions.
56440 * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
56441 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
56442 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
56443 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
56444 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
56445 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56446
56447 * math/gen-libm-test.pl (get_variable): Remove function.
56448 (parse_args): Don't show pointer parameters to call in test
56449 names. Use "extra output N" in test names for extra outputs
56450 rather than naming variables.
56451
56452 2013-05-18 Joseph Myers <joseph@codesourcery.com>
56453
56454 [BZ #15488]
56455 * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
56456 __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
56457 * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
56458 double tests.
56459 * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
56460 disable.
56461 (do_test) [NO_LONG_DOUBLE]: Do not disable call to
56462 check_long_double.
56463
56464 * math/gen-libm-test.pl (@tests): Remove variable.
56465 ($count): Likewise.
56466 (new_test): Remove function.
56467 (show_exceptions): New function.
56468 (special_functions): Use show_exceptions instead of new_test.
56469 (parse_args): Likewise.
56470 (generate_testfile): Pass only function name in generated call to
56471 print_max_error or print_complex_max_error.
56472 (get_ulps): Do not handle complex tests specially.
56473 (output_test): Rename to ...
56474 (get_all_ulps_for_test): ... this. Return a string rather than
56475 printing to a file. Require ulps to be present.
56476 (output_ulps): Generate arrays rather than #defines.
56477 * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
56478 (struct ulp_data): New type.
56479 (BUILD_COMPLEX_ULP): Remove macro.
56480 (compare_ulp_data): New function.
56481 (find_ulps): Likewise.
56482 (find_test_ulps): Likewise.
56483 (find_function_ulps): Likewise.
56484 (find_complex_function_ulps): Likewise.
56485 (print_max_error): Determine allowed ulps using
56486 find_function_ulps.
56487 (print_complex_max_error): Determine allowed ulps using
56488 find_complex_function_ulps.
56489 (check_float_internal): Determine max ulps using find_test_ulps.
56490 (check_float): Do not take max_ulp parameter. Update call to
56491 check_float_internal.
56492 (check_complex): Likewise.
56493 (check_int): Do not take max_ulp parameter.
56494 (check_long): Likewise.
56495 (check_bool): Likewise.
56496 (check_longlong): Likewise.
56497 (struct test_f_f_data): Remove max_ulp field.
56498 (struct test_ff_f_data): Likewise.
56499 (struct test_ff_f_data_nexttoward): Likewise.
56500 (struct test_fi_f_data): Likewise.
56501 (struct test_fl_f_data): Likewise.
56502 (struct test_if_f_data): Likewise.
56503 (struct test_fff_f_data): Likewise.
56504 (struct test_c_f_data): Likewise.
56505 (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
56506 (struct test_fF_f1_data): Likewise.
56507 (struct test_ffI_f1_data): Likewise.
56508 (struct test_c_c_data): Remove max_ulp field.
56509 (struct test_cc_c_data): Likewise.
56510 (struct test_f_i_data): Likewise.
56511 (struct test_ff_i_data): Likewise.
56512 (struct test_f_l_data): Likewise.
56513 (struct test_f_L_data): Likewise.
56514 (struct test_sincos_data): Likewise.
56515 (RUN_TEST_f_f): Do not handle ulps.
56516 (RUN_TEST_LOOP_f_f): Likewise.
56517 (RUN_TEST_2_f): Likewise.
56518 (RUN_TEST_LOOP_2_f): Likewise.
56519 (RUN_TEST_fff_f): Likewise.
56520 (RUN_TEST_LOOP_fff_f): Likewise.
56521 (RUN_TEST_c_f): Likewise.
56522 (RUN_TEST_LOOP_c_f): Likewise.
56523 (RUN_TEST_f_f1): Likewise.
56524 (RUN_TEST_LOOP_f_f1): Likewise.
56525 (RUN_TEST_fF_f1): Likewise.
56526 (RUN_TEST_LOOP_fF_f1): Likewise.
56527 (RUN_TEST_fI_f1): Likewise.
56528 (RUN_TEST_LOOP_fI_f1): Likewise.
56529 (RUN_TEST_ffI_f1): Likewise.
56530 (RUN_TEST_LOOP_ffI_f1): Likewise.
56531 (RUN_TEST_c_c): Likewise.
56532 (RUN_TEST_LOOP_c_c): Likewise.
56533 (RUN_TEST_cc_c): Likewise.
56534 (RUN_TEST_LOOP_cc_c): Likewise.
56535 (RUN_TEST_f_i): Likewise.
56536 (RUN_TEST_LOOP_f_i): Likewise.
56537 (RUN_TEST_f_i_tg): Likewise.
56538 (RUN_TEST_LOOP_f_i_tg): Likewise.
56539 (RUN_TEST_ff_i_tg): Likewise.
56540 (RUN_TEST_LOOP_ff_i_tg): Likewise.
56541 (RUN_TEST_f_b): Likewise.
56542 (RUN_TEST_LOOP_f_b): Likewise.
56543 (RUN_TEST_f_b_tg): Likewise.
56544 (RUN_TEST_LOOP_f_b_tg): Likewise.
56545 (RUN_TEST_f_l): Likewise.
56546 (RUN_TEST_LOOP_f_l): Likewise.
56547 (RUN_TEST_f_L): Likewise.
56548 (RUN_TEST_LOOP_f_L): Likewise.
56549 (RUN_TEST_sincos): Likewise.
56550 (RUN_TEST_LOOP_sincos): Likewise.
56551
56552 2013-05-17 Joseph Myers <joseph@codesourcery.com>
56553
56554 [BZ #15480]
56555 [BZ #15485]
56556 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
56557 main case of finite arguments, set rounding mode to FE_TONEAREST
56558 and discard exceptions.
56559 * math/libm-test.inc (remainder_test_data): Disallow "inexact"
56560 exceptions.
56561 (remainder_tonearest_test_data): New variable.
56562 (remainder_test_tonearest): New function.
56563 (remainder_towardzero_test_data): New variable.
56564 (remainder_test_towardzero): New function.
56565 (remainder_downward_test_data): New variable.
56566 (remainder_test_downward): New function.
56567 (remainder_upward_test_data): New variable.
56568 (remainder_test_upward): New function.
56569 (main): Call the new test functions.
56570
56571 * math/libm-test.inc (struct test_f_f1_data): Remove field
56572 extra_init.
56573 (struct test_fF_f1_data): Likewise.
56574 (struct test_ffI_f1_data): Likewise.
56575 (RUN_TEST_f_f1): Remove argument EXTRA_INIT. Initialize EXTRA_VAR
56576 based on value of EXTRA_EXPECTED.
56577 (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
56578 (RUN_TEST_fF_f1): Remove argument EXTRA_INIT. Initialize
56579 EXTRA_VAR based on value of EXTRA_EXPECTED.
56580 (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
56581 (RUN_TEST_fI_f1): Remove argument EXTRA_INIT. Initialize
56582 EXTRA_VAR based on value of EXTRA_EXPECTED.
56583 (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
56584 (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT. Initialize
56585 EXTRA_VAR based on value of EXTRA_EXPECTED.
56586 (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
56587 * math/gen-libm-test.pl (parse_args): Don't output initializers
56588 for extra output values.
56589
56590 * math/libm-test.inc (check_int): Expect result to be exactly
56591 equal to expected value and do not handle ulps.
56592 (check_long): Likewise.
56593 (check_longlong): Likewise.
56594
56595 * math/libm-test.inc (ceil_test_data): Test for "inexact"
56596 exceptions.
56597 (cimag_test_data): Likewise.
56598 (conj_test_data): Likewise.
56599 (copysign_test_data): Likewise.
56600 (cproj_test_data): Likewise.
56601 (creal_test_data): Likewise.
56602 (fabs_test_data): Likewise.
56603 (fdim_test_data): Likewise.
56604 (finite_test_data): Likewise.
56605 (floor_test_data): Likewise.
56606 (fmax_test_data): Likewise.
56607 (fmin_test_data): Likewise.
56608 (fmod_test_data): Likewise.
56609 (fpclassify_test_data): Likewise.
56610 (frexp_test_data): Likewise.
56611 (ilogb_test_data): Likewise.
56612 (isfinite_test_data): Likewise.
56613 (isgreater_test_data): Likewise.
56614 (isgreaterequal_test_data): Likewise.
56615 (isinf_test_data): Likewise.
56616 (isless_test_data): Likewise.
56617 (islessequal_test_data): Likewise.
56618 (islessgreater_test_data): Likewise.
56619 (isnan_test_data): Likewise.
56620 (isnormal_test_data): Likewise.
56621 (issignaling_test_data): Likewise.
56622 (isunordered_test_data): Likewise.
56623 (ldexp_test_data): Likewise.
56624 (lrint_test_data): Likewise.
56625 (lrint_test_data) [TEST_FLOAT]: Disable one test.
56626 (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
56627 (lrint_tonearest_test_data): Test for "inexact" exceptions.
56628 (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56629 (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
56630 (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56631 test input.
56632 (lrint_towardzero_test_data): Test for "inexact" exceptions.
56633 (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56634 (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
56635 (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
56636 that test input.
56637 (lrint_downward_test_data): Test for "inexact" exceptions.
56638 (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56639 (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
56640 (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
56641 test input.
56642 (lrint_upward_test_data): Test for "inexact" exceptions.
56643 (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
56644 test input.
56645 (llrint_test_data): Test for "inexact" exceptions.
56646 (llrint_test_data) [TEST_FLOAT]: Disable one test.
56647 (llrint_tonearest_test_data): Test for "inexact" exceptions.
56648 (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
56649 (llrint_towardzero_test_data): Test for "inexact" exceptions.
56650 (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
56651 (llrint_downward_test_data): Test for "inexact" exceptions.
56652 (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
56653 (llrint_upward_test_data): Test for "inexact" exceptions.
56654 (logb_test_data): Likewise.
56655 (logb_downward_test_data): Likewise.
56656 (nextafter_test_data): Likewise.
56657 (nexttoward_test_data): Likewise.
56658 (remainder_test_data): Likewise.
56659 (remquo_test_data): Likewise.
56660 (scalbn_test_data): Likewise.
56661 (scalbln_test_data): Likewise.
56662 (signbit_test_data): Likewise.
56663 (sqrt_test_data): Likewise.
56664 (significand_test_data): Likewise.
56665
56666 2013-05-17 Siddhesh Poyarekar <siddhesh@redhat.com>
56667
56668 [BZ #15424]
56669 * benchtests/bench-modf.c (struct args): Mark arg0 as
56670 volatile.
56671 * scripts/bench.pl: Mark members of struct args as volatile.
56672
56673 2013-05-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
56674
56675 [BZ # 15497]
56676 * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
56677 negative infinity on POWER6 or lower.
56678 * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
56679
56680 2013-05-16 Maciej W. Rozycki <macro@codesourcery.com>
56681
56682 [BZ #15442]
56683 * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
56684 (_FP_FRAC_SNANP_SEMIRAW): Likewise.
56685 (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
56686 (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
56687 (_FP_SETQNAN): New macro.
56688 (_FP_SETQNAN_SEMIRAW): Likewise.
56689 (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
56690 (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
56691 (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
56692 (FP_EXTEND): Use _FP_FRAC_SNANP.
56693 (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
56694 * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
56695 into account.
56696 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56697 New macro.
56698 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
56699 Likewise.
56700
56701 2013-05-16 Joseph Myers <joseph@codesourcery.com>
56702
56703 * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
56704 with DIVIDE_BY_ZERO_EXCEPTION.
56705 (gamma_test_data): Likewise.
56706 (lgamma_test_data): Likewise.
56707 (log_test_data): Likewise.
56708 (log10_test_data): Likewise.
56709 (log2_test_data): Likewise.
56710 (tgamma_test_data): Likewise.
56711
56712 * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
56713 (acos_test_tonearest): Likewise.
56714 (acos_test_towardzero): Likewise.
56715 (acos_test_downward): Likewise.
56716 (acos_test_upward): Likewise.
56717 (acosh_test): Likewise.
56718 (asin_test): Likewise.
56719 (asin_test_tonearest): Likewise.
56720 (asin_test_towardzero): Likewise.
56721 (asin_test_downward): Likewise.
56722 (asin_test_upward): Likewise.
56723 (asinh_test): Likewise.
56724 (atan_test): Likewise.
56725 (atanh_test): Likewise.
56726 (atan2_test): Likewise.
56727 (cabs_test): Likewise.
56728 (cacos_test): Likewise.
56729 (cacosh_test): Likewise.
56730 (casin_test): Likewise.
56731 (casinh_test): Likewise.
56732 (catan_test): Likewise.
56733 (catanh_test): Likewise.
56734 (cbrt_test): Likewise.
56735 (ccos_test): Likewise.
56736 (ccosh_test): Likewise.
56737 (cexp_test): Likewise.
56738 (clog_test): Likewise.
56739 (clog10_test): Likewise.
56740 (cos_test): Likewise.
56741 (cos_test_tonearest): Likewise.
56742 (cos_test_towardzero): Likewise.
56743 (cos_test_downward): Likewise.
56744 (cos_test_upward): Likewise.
56745 (cosh_test): Likewise.
56746 (cosh_test_tonearest): Likewise.
56747 (cosh_test_towardzero): Likewise.
56748 (cosh_test_downward): Likewise.
56749 (cosh_test_upward): Likewise.
56750 (cpow_test): Likewise.
56751 (csin_test): Likewise.
56752 (csinh_test): Likewise.
56753 (csqrt_test): Likewise.
56754 (ctan_test): Likewise.
56755 (ctan_test_tonearest): Likewise.
56756 (ctan_test_towardzero): Likewise.
56757 (ctan_test_downward): Likewise.
56758 (ctan_test_upward): Likewise.
56759 (ctanh_test): Likewise.
56760 (ctanh_test_tonearest): Likewise.
56761 (ctanh_test_towardzero): Likewise.
56762 (ctanh_test_downward): Likewise.
56763 (ctanh_test_upward): Likewise.
56764 (erf_test): Likewise.
56765 (erfc_test): Likewise.
56766 (exp_test): Likewise.
56767 (exp_test_tonearest): Likewise.
56768 (exp_test_towardzero): Likewise.
56769 (exp_test_downward): Likewise.
56770 (exp_test_upward): Likewise.
56771 (exp10_test): Likewise.
56772 (exp2_test): Likewise.
56773 (expm1_test): Likewise.
56774 (fmod_test): Likewise.
56775 (gamma_test): Likewise.
56776 (hypot_test): Likewise.
56777 (j0_test): Likewise.
56778 (j1_test): Likewise.
56779 (jn_test): Likewise.
56780 (lgamma_test): Likewise.
56781 (log_test): Likewise.
56782 (log10_test): Likewise.
56783 (log1p_test): Likewise.
56784 (log2_test): Likewise.
56785 (logb_test_downward): Likewise.
56786 (pow_test): Likewise.
56787 (pow_test_tonearest): Likewise.
56788 (pow_test_towardzero): Likewise.
56789 (pow_test_downward): Likewise.
56790 (pow_test_upward): Likewise.
56791 (remainder_test): Likewise.
56792 (remquo_test): Likewise.
56793 (sin_test): Likewise.
56794 (sin_test_tonearest): Likewise.
56795 (sin_test_towardzero): Likewise.
56796 (sin_test_downward): Likewise.
56797 (sin_test_upward): Likewise.
56798 (sincos_test): Likewise.
56799 (sinh_test): Likewise.
56800 (sinh_test_tonearest): Likewise.
56801 (sinh_test_towardzero): Likewise.
56802 (sinh_test_downward): Likewise.
56803 (sinh_test_upward): Likewise.
56804 (sqrt_test): Likewise.
56805 (tan_test): Likewise.
56806 (tan_test_tonearest): Likewise.
56807 (tan_test_towardzero): Likewise.
56808 (tan_test_downward): Likewise.
56809 (tan_test_upward): Likewise.
56810 (tanh_test): Likewise.
56811 (tgamma_test): Likewise.
56812 (y0_test): Likewise.
56813 (y1_test): Likewise.
56814 (yn_test): Likewise.
56815
56816 * math/gen-libm-test.pl (adjust_arg): Remove function.
56817 (special_function): Remove argument $in_func. Only handle
56818 generating output for tables of tests, not inside functions.
56819 (parse_args): Likewise.
56820 (generate_testfile): Remove variable $in_func. Update call to
56821 parse_args.
56822 * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
56823 (MINUS_ZERO_INIT): Rename macro to minus_zero.
56824 (PLUS_INFTY_INIT): Rename macro to plus_infty.
56825 (MINUS_INFTY_INIT): Rename macro to minus_infty.
56826 (QNAN_VALUE_INIT): Rename macro to qnan_value.
56827 (MAX_VALUE_INIT): Rename macro to max_value.
56828 (MIN_VALUE_INIT): Rename macro to min_value.
56829 (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
56830 (plus_zero): Remove variable.
56831 (minus_zero): Likewise.
56832 (plus_infty): Likewise.
56833 (minus_infty): Likewise.
56834 (qnan_value): Likewise.
56835 (max_value): Likewise.
56836 (min_value): Likewise.
56837 (min_subnorm_value): Likewise.
56838
56839 2013-05-16 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
56840
56841 * crypt/sha512-block.c: Add missing #include <stdint.h> due to
56842 uint64_t or uint32_t usage.
56843 * crypt/sha256-block.c: Likewise.
56844 * crypt/sha256-crypt.c: Likewise.
56845 * crypt/sha256.c: Likewise.
56846 * crypt/sha512-block.c: Likewise.
56847 * crypt/sha512-crypt.c: Likewise.
56848 * crypt/sha512.c: Likewise.
56849 * debug/backtrace-tst.c: Likewise.
56850 * debug/pcprofiledump.c: Likewise.
56851 * elf/cache.c: Likewise.
56852 * elf/dl-cache.c: Likewise.
56853 * elf/dl-misc.c: Likewise.
56854 * elf/dl-profile.c: Likewise.
56855 * elf/dl-support.c: Likewise.
56856 * elf/ldconfig.c: Likewise.
56857 * elf/sprof.c: Likewise.
56858 * iconv/dummy-repertoire.c: Likewise.
56859 * iconv/iconv_charmap.c: Likewise.
56860 * iconv/skeleton.c: Likewise.
56861 * iconvdata/8bit-generic.c: Likewise.
56862 * iconvdata/cp737.h: Likewise.
56863 * iconvdata/cp775.h: Likewise.
56864 * iconvdata/ibm1008.h: Likewise.
56865 * iconvdata/ibm1025.h: Likewise.
56866 * iconvdata/ibm1046.h: Likewise.
56867 * iconvdata/ibm1097.h: Likewise.
56868 * iconvdata/ibm1112.h: Likewise.
56869 * iconvdata/ibm1122.h: Likewise.
56870 * iconvdata/ibm1123.h: Likewise.
56871 * iconvdata/ibm1124.h: Likewise.
56872 * iconvdata/ibm1129.h: Likewise.
56873 * iconvdata/ibm1130.h: Likewise.
56874 * iconvdata/ibm1132.h: Likewise.
56875 * iconvdata/ibm1133.h: Likewise.
56876 * iconvdata/ibm1137.h: Likewise.
56877 * iconvdata/ibm1140.h: Likewise.
56878 * iconvdata/ibm1141.h: Likewise.
56879 * iconvdata/ibm1142.h: Likewise.
56880 * iconvdata/ibm1143.h: Likewise.
56881 * iconvdata/ibm1144.h: Likewise.
56882 * iconvdata/ibm1145.h: Likewise.
56883 * iconvdata/ibm1146.h: Likewise.
56884 * iconvdata/ibm1147.h: Likewise.
56885 * iconvdata/ibm1148.h: Likewise.
56886 * iconvdata/ibm1149.h: Likewise.
56887 * iconvdata/ibm1153.h: Likewise.
56888 * iconvdata/ibm1154.h: Likewise.
56889 * iconvdata/ibm1155.h: Likewise.
56890 * iconvdata/ibm1156.h: Likewise.
56891 * iconvdata/ibm1157.h: Likewise.
56892 * iconvdata/ibm1158.h: Likewise.
56893 * iconvdata/ibm1160.h: Likewise.
56894 * iconvdata/ibm1161.h: Likewise.
56895 * iconvdata/ibm1162.h: Likewise.
56896 * iconvdata/ibm1163.h: Likewise.
56897 * iconvdata/ibm1164.h: Likewise.
56898 * iconvdata/ibm1166.h: Likewise.
56899 * iconvdata/ibm1167.h: Likewise.
56900 * iconvdata/ibm12712.h: Likewise.
56901 * iconvdata/ibm1390.h: Likewise.
56902 * iconvdata/ibm1399.h: Likewise.
56903 * iconvdata/ibm16804.h: Likewise.
56904 * iconvdata/ibm4517.h: Likewise.
56905 * iconvdata/ibm4899.h: Likewise.
56906 * iconvdata/ibm4909.h: Likewise.
56907 * iconvdata/ibm4971.h: Likewise.
56908 * iconvdata/ibm5347.h: Likewise.
56909 * iconvdata/ibm803.h: Likewise.
56910 * iconvdata/ibm856.h: Likewise.
56911 * iconvdata/ibm901.h: Likewise.
56912 * iconvdata/ibm902.h: Likewise.
56913 * iconvdata/ibm9030.h: Likewise.
56914 * iconvdata/ibm9066.h: Likewise.
56915 * iconvdata/ibm921.h: Likewise.
56916 * iconvdata/ibm922.h: Likewise.
56917 * iconvdata/ibm9448.h: Likewise.
56918 * iconvdata/isiri-3342.h: Likewise.
56919 * iconvdata/jis0201.h: Likewise.
56920 * include/link.h: Likewise.
56921 * include/netdb.h: Likewise.
56922 * inet/check_native.c: Likewise.
56923 * inet/check_pf.c: Likewise.
56924 * inet/getipv4sourcefilter.c: Likewise.
56925 * inet/getnameinfo.c: Likewise.
56926 * inet/getsourcefilter.c: Likewise.
56927 * inet/htonl.c: Likewise.
56928 * inet/setipv4sourcefilter.c: Likewise.
56929 * inet/setsourcefilter.c: Likewise.
56930 * inet/test-inet6_opt.c: Likewise.
56931 * inet/tst-network.c: Likewise.
56932 * locale/C-collate.c: Likewise.
56933 * locale/C-ctype.c: Likewise.
56934 * locale/C-time.c: Likewise.
56935 * locale/C-translit.h: Likewise.
56936 * locale/loadarchive.c: Likewise.
56937 * locale/programs/3level.h: Likewise.
56938 * locale/programs/charmap.c: Likewise.
56939 * locale/programs/charmap.h: Likewise.
56940 * locale/programs/ld-address.c: Likewise.
56941 * locale/programs/ld-collate.c: Likewise.
56942 * locale/programs/ld-ctype.c: Likewise.
56943 * locale/programs/ld-identification.c: Likewise.
56944 * locale/programs/ld-measurement.c: Likewise.
56945 * locale/programs/ld-messages.c: Likewise.
56946 * locale/programs/ld-monetary.c: Likewise.
56947 * locale/programs/ld-name.c: Likewise.
56948 * locale/programs/ld-numeric.c: Likewise.
56949 * locale/programs/ld-paper.c: Likewise.
56950 * locale/programs/ld-telephone.c: Likewise.
56951 * locale/programs/ld-time.c: Likewise.
56952 * locale/programs/linereader.c: Likewise.
56953 * locale/programs/locale.c: Likewise.
56954 * locale/programs/locarchive.c: Likewise.
56955 * locale/programs/locfile.h: Likewise.
56956 * locale/programs/repertoire.c: Likewise.
56957 * locale/programs/simple-hash.c: Likewise.
56958 * locale/programs/simple-hash.h: Likewise.
56959 * malloc/memusage.c: Likewise.
56960 * malloc/memusagestat.c: Likewise.
56961 * nis/nis_defaults.c: Likewise.
56962 * nis/nis_hash.c: Likewise.
56963 * nis/nis_print.c: Likewise.
56964 * nis/nis_xdr.c: Likewise.
56965 * nscd/connections.c: Likewise.
56966 * nscd/hstcache.c: Likewise.
56967 * nscd/nscd_gethst_r.c: Likewise.
56968 * nscd/nscd_getserv_r.c: Likewise.
56969 * nscd/nscd_helper.c: Likewise.
56970 * nscd/servicescache.c: Likewise.
56971 * nss/makedb.c: Likewise.
56972 * nss/nss_db/db-XXX.c: Likewise.
56973 * nss/nss_db/db-initgroups.c: Likewise.
56974 * nss/nss_db/db-netgrp.c: Likewise.
56975 * nss/nss_files/files-network.c: Likewise.
56976 * nss/nss_files/files-parse.c: Likewise.
56977 * posix/bug-regex5.c: Likewise.
56978 * posix/fnmatch_loop.c: Likewise.
56979 * posix/regcomp.c: Likewise.
56980 * posix/regexec.c: Likewise.
56981 * posix/tst-rfc3484-2.c: Likewise.
56982 * posix/tst-rfc3484-3.c: Likewise.
56983 * posix/tst-rfc3484.c: Likewise.
56984 * resolv/nss_dns/dns-canon.c: Likewise.
56985 * resolv/nss_dns/dns-network.c: Likewise.
56986 * resolv/res_init.c: Likewise.
56987 * resolv/res_mkquery.c: Likewise.
56988 * resolv/tst-aton.c: Likewise.
56989 * stdlib/cxa_atexit.c: Likewise.
56990 * stdlib/cxa_finalize.c: Likewise.
56991 * stdlib/gen-fpioconst.c: Likewise.
56992 * stdlib/strtol_l.c: Likewise.
56993 * string/tst-endian.c: Likewise.
56994 * sunrpc/auth_des.c: Likewise.
56995 * sunrpc/clnt_udp.c: Likewise.
56996 * sunrpc/rtime.c: Likewise.
56997 * sunrpc/svcauth_des.c: Likewise.
56998 * sunrpc/xdr.c: Likewise.
56999 * sunrpc/xdr_intXX_t.c: Likewise.
57000 * sunrpc/xdr_rec.c: Likewise.
57001 * sysdeps/generic/ldconfig.h: Likewise.
57002 * sysdeps/generic/ldsodefs.h: Likewise.
57003 * sysdeps/generic/memusage.h: Likewise.
57004 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
57005 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
57006 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
57007 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
57008 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
57009 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
57010 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
57011 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
57012 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
57013 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
57014 * sysdeps/posix/getaddrinfo.c: Likewise.
57015 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
57016 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57017 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
57018 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
57019 * sysdeps/powerpc/test-gettimebase.c: Likewise.
57020 * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
57021 * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
57022 * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
57023 * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
57024 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
57025 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
57026 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
57027 * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
57028 * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
57029 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
57030 * sysdeps/x86_64/dl-tls.h: Likewise.
57031 * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
57032 * time/alt_digit.c: Likewise.
57033 * time/era.c: Likewise.
57034 * wcsmbs/tst-c16c32-1.c: Likewise.
57035
57036 2013-05-16 Joseph Myers <joseph@codesourcery.com>
57037
57038 * math/libm-test.inc (struct test_sincos_data): New type.
57039 (RUN_TEST_LOOP_sincos): New macro.
57040 (sincos_test_data): New variable.
57041 (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
57042
57043 2013-05-16 Richard Henderson <rth@redhat.com>
57044
57045 * math/atest-exp2.c (LIMB64): New macro.
57046 (CONSTSZ): New macro.
57047 (mp_exp1, mp_exp_m1, mp_log2): New variables.
57048 (hexdig): Move ...
57049 (print_mpn_fp): ... to function scope.
57050 (read_mpn_hex): Remove.
57051 (get_log2): Remove.
57052 (exp2_mpn): Use mp_log2.
57053 (main): Use mp_exp1.
57054
57055 2013-05-16 Joseph Myers <joseph@codesourcery.com>
57056
57057 * math/libm-test.inc: Remove comment about not testing "inexact"
57058 exceptions.
57059 (INEXACT_EXCEPTION): New macro.
57060 (NO_INEXACT_EXCEPTION): Likewise.
57061 (INVALID_EXCEPTION_OK): Update value.
57062 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
57063 (OVERFLOW_EXCEPTION_OK): Likewise.
57064 (UNDERFLOW_EXCEPTION_OK): Likewise.
57065 (IGNORE_ZERO_INF_SIGN): Likewise.
57066 (ERRNO_UNCHANGED): Likewise.
57067 (ERRNO_EDOM): Likewise.
57068 (ERRNO_ERANGE): Likewise.
57069 (test_exceptions): Handle testing "inexact" exceptions.
57070 (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
57071 (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
57072 (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
57073 (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
57074 INEXACT_EXCEPTION.
57075 (rint_towardzero_test_data): Likewise.
57076 (rint_downward_test_data): Likewise.
57077 (rint_upward_test_data): Likewise.
57078
57079 * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
57080 with OVERFLOW_EXCEPTION.
57081 (exp10_test_data): Likewise.
57082 (exp2_test_data): Likewise.
57083 (expm1_test_data): Likewise.
57084 (lgamma_test_data): Likewise.
57085 (pow_test_data): Likewise.
57086 (tgamma_test_data): Likewise.
57087 (yn_test_data): Remove duplicate test of overflow.
57088
57089 * math/libm-test.inc (struct test_cc_c_data): New type.
57090 (RUN_TEST_LOOP_cc_c): New macro.
57091 (cpow_test_data): New variable.
57092 (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
57093
57094 * math/libm-test.inc (struct test_f_L_data): New type.
57095 (RUN_TEST_LOOP_f_L): New macro.
57096 (llrint_test_data): New variable.
57097 (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
57098 (llrint_tonearest_test_data): New variable.
57099 (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
57100 (llrint_towardzero_test_data): New variable.
57101 (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
57102 (llrint_downward_test_data): New variable.
57103 (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
57104 (llrint_upward_test_data): New variable.
57105 (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
57106 (llround_test_data): New variable.
57107 (llround_test): Run tests with RUN_TEST_LOOP_f_L.
57108
57109 2013-05-13 Peter Collingbourne <pcc@google.com>
57110
57111 * math/atest-exp2.c (get_log2): Remove const attribute.
57112
57113 2013-05-15 Joseph Myers <joseph@codesourcery.com>
57114
57115 * math/libm-test.inc (struct test_f_l_data): New type.
57116 (RUN_TEST_LOOP_f_l): New macro.
57117 (lrint_test_data): New variable.
57118 (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
57119 (lrint_tonearest_test_data): New variable.
57120 (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
57121 (lrint_towardzero_test_data): New variable.
57122 (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
57123 (lrint_downward_test_data): New variable.
57124 (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
57125 (lrint_upward_test_data): New variable.
57126 (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
57127 (lround_test_data): New variable.
57128 (lround_test): Run tests with RUN_TEST_LOOP_f_l.
57129
57130 2013-05-15 Peter Collingbourne <pcc@google.com>
57131
57132 * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
57133 (EXTRACT_WORDS64) Use where appropriate.
57134 (INSERT_WORDS64) Likewise.
57135
57136 * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
57137 constraints with x constraints.
57138 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
57139
57140 * malloc/obstack.c (_obstack_compat): Add initializer.
57141
57142 2013-05-15 Edjunior Machado <emachado@linux.vnet.ibm.com>
57143
57144 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
57145 si_trapno and add si_addr_lsb to _sifields.sigfault.
57146 (si_trapno): Remove macro.
57147 (si_addr_lsb): Define new macro.
57148 (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
57149
57150 2013-05-15 Joseph Myers <joseph@codesourcery.com>
57151
57152 * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
57153 instead of TEST_f_l.
57154 (llrint_test_tonearest): Likewise.
57155 (llrint_test_towardzero): Likewise.
57156 (llrint_test_downward): Likewise.
57157 (llrint_test_upward): Likewise.
57158 (llround_test): Likewise.
57159
57160 * math/libm-test.inc (struct test_f_i_data): Add comment.
57161 (RUN_TEST_LOOP_f_b): New macro.
57162 (RUN_TEST_LOOP_f_b_tg): Likewise.
57163 (finite_test_data): New variable.
57164 (finite_test): Run tests with RUN_TEST_LOOP_f_b.
57165 (isfinite_test_data): New variable.
57166 (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
57167 (isinf_test_data): New variable.
57168 (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
57169 (isnan_test_data): New variable.
57170 (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
57171 (isnormal_test_data): New variable.
57172 (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
57173 (issignaling_test_data): New variable.
57174 (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
57175 (signbit_test_data): New variable.
57176 (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
57177
57178 * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
57179 with INVALID_EXCEPTION.
57180 (acosh_test_data): Likewise.
57181 (asin_test_data): Likewise.
57182 (atanh_test_data): Likewise.
57183 (fmod_test_data): Likewise.
57184 (log_test_data): Likewise.
57185 (log10_test_data): Likewise.
57186 (log2_test_data): Likewise.
57187 (pow_test_data): Likewise.
57188 (sqrt_test_data): Likewise.
57189 (y0_test_data): Likewise.
57190 (y1_test_data): Likewise.
57191 (yn_test_data): Likewise.
57192
57193 * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
57194 function contents.
57195
57196 * math/libm-test.inc (struct test_ff_i_data): New type.
57197 (RUN_TEST_LOOP_ff_i_tg): New macro.
57198 (isgreater_test_data): New variable.
57199 (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
57200 (isgreaterequal_test_data): New variable.
57201 (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
57202 (isless_test_data): New variable.
57203 (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
57204 (islessequal_test_data): New variable.
57205 (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
57206 (islessgreater_test_data): New variable.
57207 (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
57208 (isunordered_test_data): New variable.
57209 (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
57210
57211 2013-05-14 David S. Miller <davem@davemloft.net>
57212
57213 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57214
57215 2013-05-14 Joseph Myers <joseph@codesourcery.com>
57216
57217 * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
57218
57219 * math/libm-test.inc (struct test_fF_f1_data): Change type of
57220 extra_test to int.
57221 (struct test_f_i_data): Change type of max_ulp to int.
57222
57223 * math/libm-test.inc (test_ffI_f1_data): New type.
57224 (RUN_TEST_LOOP_ffI_f1): New macro.
57225 (remquo_test_data): New variable.
57226 (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
57227
57228 * setjmp/tst-setjmp-fp.c: New file.
57229 * setjmp/Makefile (tests): Add tst-setjmp-fp.
57230 (link-libm): New variable.
57231 ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
57232
57233 * math/libm-test.inc (struct test_f_i_data): New type.
57234 (RUN_TEST_LOOP_f_i): New macro.
57235 (RUN_TEST_LOOP_f_i_tg): Likewise.
57236 (fpclassify_test_data): New variable.
57237 (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
57238 (ilogb_test_data): New variable.
57239 (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
57240
57241 * math/libm-test.inc (scalbln_test): Correct function name in END
57242 call.
57243
57244 * math/libm-test.inc (struct test_f_f1_data): Add comment.
57245 (RUN_TEST_LOOP_fI_f1): New macro.
57246 (frexp_test_data): New variable.
57247 (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
57248
57249 * math/libm-test.inc (struct test_fF_f1_data): New type.
57250 (RUN_TEST_LOOP_fF_f1): New macro.
57251 (modf_test_data): New variable.
57252 (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
57253
57254 * math/libm-test.inc (struct test_f_f1_data): New type.
57255 (RUN_TEST_LOOP_f_f1): New macro.
57256 (gamma_test_data): New variable.
57257 (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
57258 (lgamma_test_data): New variable.
57259 (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
57260
57261 2013-05-13 Carlos O'Donell <carlos@redhat.com>
57262
57263 * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
57264 * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
57265 (main): Comment "tls" pseudo-hwcap.
57266
57267 2013-05-13 Joseph Myers <joseph@codesourcery.com>
57268
57269 * math/libm-test.inc (struct test_fl_f_data): New type.
57270 (RUN_TEST_LOOP_fl_f): New variable.
57271 (scalbln_test_data): New variable.
57272 (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
57273
57274 * math/libm-test.inc (struct test_fi_f_data): New type.
57275 (RUN_TEST_LOOP_fi_f): New macro.
57276 (ldexp_test_data): New variable.
57277 (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
57278 (scalbn_test_data): New variable.
57279 (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
57280
57281 * math/libm-test.inc (struct test_c_f_data): New type.
57282 (RUN_TEST_LOOP_c_f): New macro.
57283 (cabs_test_data): New variable.
57284 (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
57285 (carg_test_data): New variable.
57286 (carg_test): Run tests with RUN_TEST_LOOP_c_f.
57287 (cimag_test_data): New variable.
57288 (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
57289 (creal_test_data): New variable.
57290 (creal_test): Run tests with RUN_TEST_LOOP_c_f.
57291
57292 * math/libm-test.inc (struct test_if_f_data): New type.
57293 (RUN_TEST_LOOP_if_f): New macro.
57294 (jn_test_data): New variable.
57295 (jn_test): Run tests with RUN_TEST_LOOP_if_f.
57296 (yn_test_data): New variable.
57297 (yn_test): Run tests with RUN_TEST_LOOP_if_f.
57298
57299 * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
57300
57301 2013-05-13 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57302
57303 * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
57304 (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
57305
57306 2013-05-13 Siddhesh Poyarekar <siddhesh@redhat.com>
57307
57308 * benchtests/Makefile (CPPFLAGS-nonlib): Add
57309 -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
57310 (bench-deps): Add bench-timing.h.
57311 * benchtests-bench-skeleton.c: Include bench-timing.h.
57312 (main): Use TIMING_* macros instead of clock_gettime.
57313 * benchtests/bench-timing.h: New file.
57314
57315 [BZ #14582]
57316 * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
57317 Renamed from _LIB_VERSION.
57318 (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
57319
57320 2013-05-12 Joseph Myers <joseph@codesourcery.com>
57321
57322 * math/libm-test.inc (struct test_fff_f_data): New type.
57323 (RUN_TEST_LOOP_fff_f): New macro.
57324 (fma_test_data): New variable.
57325 (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
57326 (fma_towardzero_test_data): New variable.
57327 (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
57328 (fma_downward_test_data): New variable.
57329 (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
57330 (fma_upward_test_data): New variable.
57331 (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
57332
57333 * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
57334 (struct test_c_c_data): New type.
57335 (RUN_TEST_LOOP_c_c): New macro.
57336 (cacos_test_data): New variable.
57337 (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
57338 (cacosh_test_data): New variable.
57339 (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
57340 (casin_test_data): New variable.
57341 (casin_test): Run tests with RUN_TEST_LOOP_c_c.
57342 (casinh_test_data): New variable.
57343 (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
57344 (catan_test_data): New variable.
57345 (catan_test): Run tests with RUN_TEST_LOOP_c_c.
57346 (catanh_test_data): New variable.
57347 (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
57348 (ccos_test_data): New variable.
57349 (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
57350 (ccosh_test_data): New variable.
57351 (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
57352 (cexp_test_data): New variable.
57353 (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
57354 (clog_test_data): New variable.
57355 (clog_test): Run tests with RUN_TEST_LOOP_c_c.
57356 (clog10_test_data): New variable.
57357 (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
57358 (conj_test_data): New variable.
57359 (conj_test): Run tests with RUN_TEST_LOOP_c_c.
57360 (cproj_test_data): New variable.
57361 (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
57362 (csin_test_data): New variable.
57363 (csin_test): Run tests with RUN_TEST_LOOP_c_c.
57364 (csinh_test_data): New variable.
57365 (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
57366 (csqrt_test_data): New variable.
57367 (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
57368 (ctan_test_data): New variable.
57369 (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
57370 (ctan_tonearest_test_data): New variable.
57371 (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
57372 (ctan_towardzero_test_data): New variable.
57373 (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
57374 (ctan_downward_test_data): New variable.
57375 (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
57376 (ctan_upward_test_data): New variable.
57377 (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
57378 (ctanh_test_data): New variable.
57379 (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
57380 (ctanh_tonearest_test_data): New variable.
57381 (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
57382 (ctanh_towardzero_test_data): New variable.
57383 (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
57384 (ctanh_downward_test_data): New variable.
57385 (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
57386 (ctanh_upward_test_data): New variable.
57387 (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
57388 * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
57389 of BUILD_COMPLEX.
57390
57391 * math/libm-test.inc (struct test_ff_f_data): New type.
57392 (struct test_ff_f_data_nexttoward): Likewise.
57393 (RUN_TEST_LOOP_2_f): New macro.
57394 (RUN_TEST_LOOP_ff_f): Likewise.
57395 (atan2_test_data): New variable.
57396 (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
57397 (copysign_test_data): New variable.
57398 (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
57399 (fdim_test_data): New variable.
57400 (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
57401 (fmax_test_data): New variable.
57402 (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
57403 (fmin_test_data): New variable.
57404 (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
57405 (fmod_test_data): New variable.
57406 (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
57407 (hypot_test_data): New variable.
57408 (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
57409 (nextafter_test_data): New variable.
57410 (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
57411 (nexttoward_test_data): New variable.
57412 (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
57413 (pow_test_data): New variable.
57414 (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
57415 (pow_tonearest_test_data): New variable.
57416 (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
57417 (pow_towardzero_test_data): New variable.
57418 (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
57419 (pow_downward_test_data): New variable.
57420 (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
57421 (pow_upward_test_data): New variable.
57422 (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
57423 (remainder_test_data): New variable.
57424 (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
57425 (scalb_test_data): New variable.
57426 (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
57427 * sysdeps/i386/fpu/libm-test-ulps: Update.
57428
57429 2013-05-11 Joseph Myers <joseph@codesourcery.com>
57430
57431 * math/libm-test.inc (fma_test): Use max_value instead of local
57432 variable fltmax.
57433 (nextafter_test): Likewise.
57434
57435 * math/libm-test.inc (acos_towardzero_test_data): New variable.
57436 (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57437 (acos_downward_test_data): New variable.
57438 (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57439 (acos_upward_test_data): New variable.
57440 (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57441 (acosh_test_data): New variable.
57442 (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
57443 (asin_test_data): New variable.
57444 (asin_test): Run tests with RUN_TEST_LOOP_f_f.
57445 (asin_tonearest_test_data): New variable.
57446 (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57447 (asin_towardzero_test_data): New variable.
57448 (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57449 (asin_downward_test_data): New variable.
57450 (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57451 (asin_upward_test_data): New variable.
57452 (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57453 (asinh_test_data): New variable.
57454 (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
57455 (atan_test_data): New variable.
57456 (atan_test): Run tests with RUN_TEST_LOOP_f_f.
57457 (atanh_test_data): New variable.
57458 (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
57459 (cbrt_test_data): New variable.
57460 (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
57461 (ceil_test_data): New variable.
57462 (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
57463 (cos_test_data): New variable.
57464 (cos_test): Run tests with RUN_TEST_LOOP_f_f.
57465 (cos_tonearest_test_data): New variable.
57466 (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57467 (cos_towardzero_test_data): New variable.
57468 (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57469 (cos_downward_test_data): New variable.
57470 (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57471 (cos_upward_test_data): New variable.
57472 (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57473 (cosh_test_data): New variable.
57474 (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
57475 (cosh_tonearest_test_data): New variable.
57476 (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57477 (cosh_towardzero_test_data): New variable.
57478 (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57479 (cosh_downward_test_data): New variable.
57480 (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57481 (cosh_upward_test_data): New variable.
57482 (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57483 (erf_test_data): New variable.
57484 (erf_test): Run tests with RUN_TEST_LOOP_f_f.
57485 (erfc_test_data): New variable.
57486 (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
57487 (exp_test_data): New variable.
57488 (exp_test): Run tests with RUN_TEST_LOOP_f_f.
57489 (exp_tonearest_test_data): New variable.
57490 (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57491 (exp_towardzero_test_data): New variable.
57492 (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57493 (exp_downward_test_data): New variable.
57494 (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57495 (exp_upward_test_data): New variable.
57496 (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57497 (exp10_test_data): New variable.
57498 (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
57499 (exp2_test_data): New variable.
57500 (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
57501 (expm1_test_data): New variable.
57502 (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
57503 (fabs_test_data): New variable.
57504 (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
57505 (floor_test_data): New variable.
57506 (floor_test): Run tests with RUN_TEST_LOOP_f_f.
57507 (j0_test_data): New variable.
57508 (j0_test): Run tests with RUN_TEST_LOOP_f_f.
57509 (j1_test_data): New variable.
57510 (j1_test): Run tests with RUN_TEST_LOOP_f_f.
57511 (log_test_data): New variable.
57512 (log_test): Run tests with RUN_TEST_LOOP_f_f.
57513 (log10_test_data): New variable.
57514 (log10_test): Run tests with RUN_TEST_LOOP_f_f.
57515 (log1p_test_data): New variable.
57516 (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
57517 (log2_test_data): New variable.
57518 (log2_test): Run tests with RUN_TEST_LOOP_f_f.
57519 (logb_test_data): New variable.
57520 (logb_test): Run tests with RUN_TEST_LOOP_f_f.
57521 (logb_downward_test_data): New variable.
57522 (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57523 (nearbyint_test_data): New variable.
57524 (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
57525 (rint_test_data): New variable.
57526 (rint_test): Run tests with RUN_TEST_LOOP_f_f.
57527 (rint_tonearest_test_data): New variable.
57528 (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57529 (rint_towardzero_test_data): New variable.
57530 (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57531 (rint_downward_test_data): New variable.
57532 (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57533 (rint_upward_test_data): New variable.
57534 (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57535 (round_test_data): New variable.
57536 (round_test): Run tests with RUN_TEST_LOOP_f_f.
57537 (sin_test_data): New variable.
57538 (sin_test): Run tests with RUN_TEST_LOOP_f_f.
57539 (sin_tonearest_test_data): New variable.
57540 (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57541 (sin_towardzero_test_data): New variable.
57542 (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57543 (sin_downward_test_data): New variable.
57544 (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57545 (sin_upward_test_data): New variable.
57546 (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57547 (sinh_test_data): New variable.
57548 (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
57549 (sinh_tonearest_test_data): New variable.
57550 (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57551 (sinh_towardzero_test_data): New variable.
57552 (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57553 (sinh_downward_test_data): New variable.
57554 (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57555 (sinh_upward_test_data): New variable.
57556 (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57557 (sqrt_test_data): New variable.
57558 (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
57559 (tan_test_data): New variable.
57560 (tan_test): Run tests with RUN_TEST_LOOP_f_f.
57561 (tan_tonearest_test_data): New variable.
57562 (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57563 (tan_towardzero_test_data): New variable.
57564 (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
57565 (tan_downward_test_data): New variable.
57566 (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
57567 (tan_upward_test_data): New variable.
57568 (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
57569 (tanh_test_data): New variable.
57570 (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
57571 (tgamma_test_data): New variable.
57572 (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
57573 (trunc_test_data): New variable.
57574 (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
57575 (y0_test_data): New variable.
57576 (y0_test): Run tests with RUN_TEST_LOOP_f_f.
57577 (y1_test_data): New variable.
57578 (y1_test): Run tests with RUN_TEST_LOOP_f_f.
57579 (significand_test_data): New variable.
57580 (significand_test): Run tests with RUN_TEST_LOOP_f_f.
57581
57582 2013-05-10 Christian Grönke <cgr_bugs@sysgo.com>
57583
57584 [BZ #12387]
57585 * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
57586
57587 2013-05-10 Pino Toscano <toscano.pino@tiscali.it>
57588
57589 * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
57590
57591 2013-05-10 Andreas Jaeger <aj@suse.de>
57592
57593 [BZ #15448]
57594 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
57595 (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
57596
57597 2013-05-10 Joseph Myers <joseph@codesourcery.com>
57598
57599 * math/gen-libm-test.pl (adjust_arg): New function.
57600 (special_functions): Handle generating output in both functions
57601 and arrays.
57602 (parse_args): Likewise.
57603 (generate_testfile): Handle START_DATA and END_DATA. Pass extra
57604 $in_func argument to parse_args.
57605 * math/libm-test.inc (struct test_f_f_data): New type.
57606 (IF_ROUND_INIT_): New macro.
57607 (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
57608 (IF_ROUND_INIT_FE_TONEAREST): Likewise.
57609 (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
57610 (IF_ROUND_INIT_FE_UPWARD): Likewise.
57611 (ROUND_RESTORE_): Likewise.
57612 (ROUND_RESTORE_FE_DOWNWARD): Likewise.
57613 (ROUND_RESTORE_FE_TONEAREST): Likewise.
57614 (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
57615 (ROUND_RESTORE_FE_UPWARD): Likewise.
57616 (RUN_TEST_LOOP_f_f): New macro.
57617 (acos_test_data): New variable.
57618 (acos_test): Run tests with RUN_TEST_LOOP_f_f.
57619 (acos_tonearest_test_data): New variable.
57620 (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
57621
57622 2013-05-10 Siddhesh Poyarekar <siddhesh@redhat.com>
57623
57624 * benchtests/bench-skeleton.c (startup): Fix coding style.
57625
57626 2013-05-10 Joseph Myers <joseph@codesourcery.com>
57627
57628 [BZ #6809]
57629 * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
57630 negative infinity argument.
57631 * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
57632 negative infinity argument.
57633 * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
57634 negative infinity argument.
57635 * math/libm-test.inc (tgamma_test): Expect errno to be set for
57636 domain errors.
57637
57638 2013-05-10 Florian Weimer <fweimer@redhat.com>
57639
57640 * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
57641 * iconv/iconv_charmap.c (charmap_conversion): Likewise.
57642 * iconv/iconv_prog.c (main): Likewise.
57643 * locale/programs/charmap-dir.c (charmap_readdir)
57644 (fopen_uncompressed): Likewise.
57645 * locale/programs/locfile.c (siblings_uncached)
57646 (write_locale_data): Use lstat64 instead of lstat.
57647 * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
57648 stat.
57649
57650 2013-05-10 Andreas Jaeger <aj@suse.de>
57651
57652 [BZ #15395]
57653 * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
57654 localization.
57655 Include <locale.h>.
57656
57657 2013-05-09 Carlos O'Donell <carlos@redhat.com>
57658
57659 * elf/dl-close.c (_dl_close_worker): Add comments.
57660
57661 2013-05-09 Joseph Myers <joseph@codesourcery.com>
57662
57663 [BZ #15359]
57664 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
57665 high part of pi/2.
57666 (__ieee754_rem_pio2l): Update comments.
57667
57668 [BZ #15429]
57669 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
57670 high part of pi/2.
57671 (__ieee754_rem_pio2l): Update comments.
57672
57673 * math/libm-test.inc (M_SQRT_2_2): Remove macro.
57674 (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
57675
57676 * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
57677 M_PI_4l.
57678
57679 * math/libm-test.inc (M_PI_34l): Define using decimal constant.
57680 (M_PI_34_LOG10El): Likewise.
57681 (M_PI2_LOG10El): Likewise.
57682 (M_PI4_LOG10El): Likewise.
57683 (M_PI_LOG10El): Likewise.
57684
57685 2013-05-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57686
57687 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57688
57689 2013-05-08 Joseph Myers <joseph@codesourcery.com>
57690
57691 * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
57692 (MINUS_ZERO_INIT): Likewise.
57693 (PLUS_INFTY_INIT): Likewise.
57694 (MINUS_INFTY_INIT): Likewise.
57695 (QNAN_VALUE_INIT): Likewise.
57696 (MAX_VALUE_INIT): Likewise.
57697 (MIN_VALUE_INIT): Likewise.
57698 (MIN_SUBNORM_VALUE_INIT): Likewise.
57699 (plus_zero): Initialize with PLUS_ZERO_INIT.
57700 (minus_zero): Initialize with MINUS_ZERO_INIT.
57701 (plus_infty): Initialize with PLUS_INFTY_INIT.
57702 (minus_infty): Initialize with MINUS_INFTY_INIT.
57703 (qnan_value): Initialize with QNAN_VALUE_INIT.
57704 (max_value): Initialize with MAX_VALUE_INIT.
57705 (min_value): Initialize with MIN_VALUE_INIT.
57706 (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
57707
57708 * math/libm-test.inc (RUN_TEST_if_f): New macro.
57709 (jn_test): Use TEST_if_f instead of TEST_ff_f.
57710 (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
57711 (yn_test): Use TEST_if_f instead of TEST_ff_f.
57712
57713 * math/libm-test.inc (RUN_TEST_f_f): New macro.
57714 (RUN_TEST_2_f): Likewise.
57715 (RUN_TEST_ff_f): Likewise.
57716 (RUN_TEST_fi_f): Likewise.
57717 (RUN_TEST_fl_f): Likewise.
57718 (RUN_TEST_fff_f): Likewise.
57719 (RUN_TEST_c_f): Likewise.
57720 (RUN_TEST_f_f1): Likewise.
57721 (RUN_TEST_fF_f1): Likewise.
57722 (RUN_TEST_fI_f1): Likewise.
57723 (RUN_TEST_ffI_f1): Likewise.
57724 (RUN_TEST_c_c): Likewise.
57725 (RUN_TEST_cc_c): Likewise.
57726 (RUN_TEST_f_i): Likewise.
57727 (RUN_TEST_f_i_tg): Likewise.
57728 (RUN_TEST_ff_i_tg): Likewise.
57729 (RUN_TEST_f_b): Likewise.
57730 (RUN_TEST_f_b_tg): Likewise.
57731 (RUN_TEST_f_l): Likewise.
57732 (RUN_TEST_f_L): Likewise.
57733 (RUN_TEST_sincos): Likewise.
57734 * math/gen-libm-test.pl (new_test): Take new argument to indicate
57735 whether to show exceptions. Do not include ");\n" in return
57736 value.
57737 (special_functions): Output call to RUN_TEST_sincos instead of
57738 check_float calls. Update calls to new_test.
57739 (parse_args): Output call to single RUN_TEST_* macro instead of
57740 check_* calls and other assignments. Update calls to new_test.
57741
57742 [BZ #2546]
57743 [BZ #2560]
57744 [BZ #5159]
57745 [BZ #15426]
57746 * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
57747 input to result for tgamma overflow.
57748 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
57749 (gamma_coeff): New variable.
57750 (NCOEFF): New macro.
57751 (gamma_positive): New function.
57752 (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
57753 underflow here. Use gamma_positive instead of exp (lgamma) for
57754 other arguments.
57755 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
57756 (gamma_coeff): New variable.
57757 (NCOEFF): New macro.
57758 (gammaf_positive): New function.
57759 (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
57760 underflow here. Use gamma_positive instead of exp (lgamma) for
57761 other arguments.
57762 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
57763 (gamma_coeff): New variable.
57764 (NCOEFF): New macro.
57765 (gammal_positive): New function.
57766 (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
57767 underflow here. Use gamma_positive instead of exp (lgamma) for
57768 other arguments.
57769 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
57770 (gamma_coeff): New variable.
57771 (NCOEFF): New macro.
57772 (gammal_positive): New function.
57773 (__ieee754_gammal_r): Handle positive infinity, overflow and
57774 underflow here. Handle NaN the same as positive infinity. Remove
57775 check x < 0xffffffff for negative integers. Use gamma_positive
57776 instead of exp (lgamma) for other arguments.
57777 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
57778 (gamma_coeff): New variable.
57779 (NCOEFF): New macro.
57780 (gammal_positive): New function.
57781 * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
57782 * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
57783 * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
57784 * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
57785 * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
57786 * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
57787 * sysdeps/generic/math_private.h (__gamma_productf): New
57788 prototype.
57789 (__gamma_product): Likewise.
57790 (__gamma_productl): Likewise.
57791 * math/Makefile (libm-calls): Add gamma_product.
57792 * math/libm-test.inc (tgamma_test): Add more tests.
57793 * sysdeps/i386/fpu/libm-test-ulps: Update.
57794 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57795
57796 2013-05-08 Ondřej Bílka <neleai@seznam.cz>
57797
57798 * benchtests/bench-skeleton.c (main): Preheat CPU.
57799
57800 2013-05-07 Aurelien Jarno <aurelien@aurel32.net>
57801
57802 * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
57803
57804 2013-05-07 Roland McGrath <roland@hack.frob.com>
57805
57806 * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
57807 and _dl_skip_args_internal.
57808
57809 2013-05-07 Carlos O'Donell <carlos@redhat.com>
57810
57811 * manual/message.texi (Message Translation): Talk about users.
57812 Message to key mapping impacts design.
57813
57814 2013-05-06 Roland McGrath <roland@hack.frob.com>
57815
57816 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
57817
57818 * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
57819
57820 * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
57821 * sysdeps/wordsize-64/glob64.c: ... here.
57822
57823 * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
57824 (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
57825 New macros.
57826
57827 * debug/getlogin_r_chk.c: Moved to ...
57828 * login/getlogin_r_chk.c: ... here.
57829 * debug/Makefile (routines): Move getlogin_r_chk to ...
57830 * login/Makefile (routines): ... here.
57831 * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
57832 * login/Versions (libc: GLIBC_2.4): ... here.
57833
57834 * io/poll.c (__poll): Renamed from poll.
57835 Add libc_hidden_def.
57836 (poll): Define as weak alias.
57837
57838 * debug/ptsname_r_chk.c: Moved to ...
57839 * login/ptsname_r_chk.c: ... here.
57840 * debug/Makefile (routines): Move ptsname_r_chk to ...
57841 * login/Makefile (routines): ... here.
57842 * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
57843 * login/Versions (libc: GLIBC_2.4): ... here.
57844
57845 * posix/getlogin.c: Moved to ...
57846 * login/getlogin.c: ... here.
57847 * posix/getlogin_r.c: Moved to ...
57848 * login/getlogin_r.c: ... here.
57849 * posix/getlogin_r.c: Moved to ...
57850 * login/getlogin_r.c: ... here.
57851 * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
57852 * login/Makefile (routines): ... here.
57853 * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
57854 * login/Versions (libc: GLIBC_2.0): ... here.
57855
57856 * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
57857 (setrlimit): Define as weak alias.
57858
57859 * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
57860 Call __ names for open, ftruncate, and close.
57861 For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
57862 (truncate): Define as weak alias.
57863
57864 2013-05-06 Joseph Myers <joseph@codesourcery.com>
57865
57866 * math/gen-libm-test.pl (parse_args): Initialize x before each
57867 test of frexp, modf and remquo.
57868
57869 * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
57870 test signgam value.
57871
57872 2013-05-06 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57873
57874 [BZ #15418]
57875 [BZ #15419]
57876 * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
57877 internal tests.
57878 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
57879
57880 2013-05-06 Roland McGrath <roland@hack.frob.com>
57881
57882 * elf/dl-writev.h: New file.
57883 * elf/dl-misc.c: Include it.
57884 (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
57885 * sysdeps/unix/sysv/linux/dl-writev.h: New file.
57886
57887 2013-05-04 Joseph Myers <joseph@codesourcery.com>
57888
57889 * math/libm-test.inc (noXFails): Remove variable.
57890 (noXPasses): Likewise.
57891 (BUILD_COMPLEX_INT): Remove macro.
57892 (print_screen): Remove xfail argument.
57893 (print_screen_max_error): Likewise.
57894 (update_stats): Likewise.
57895 (print_max_error): Likewise. Update calls to other affected
57896 functions.
57897 (print_complex_max_error): Likewise.
57898 (test_single_exception): Update calls to print_screen.
57899 (test_single_errno): Likewise.
57900 (check_float_internal): Remove xfail argument. Update calls to
57901 other affected functions.
57902 (check_float): Likewise.
57903 (check_complex): Likewise.
57904 (check_int): Likewise.
57905 (check_long): Likewise.
57906 (check_bool): Likewise.
57907 (check_longlong): Likewise.
57908 (main): Don't print noXFails and noXPasses.
57909 * math/gen-libm-test.pl (top level): Don't mention expected
57910 failure handling in comment.
57911 (new_test): Don't handle expected failures.
57912 (parse_args): Don't mention expected failure handling in comment.
57913 (generate_testfile): Don't handle expected failures.
57914 (parse_ulps): Likewise.
57915 (print_ulps_file): Likewise.
57916 (get_failure): Remove function.
57917 (output_test): Don't handle expected failures.
57918 * make/README.libm-test: Don't mention expected failure handling.
57919
57920 * math/libm-test.inc (plus_zero): Make const. Add initializer.
57921 (minus_zero): Likewise.
57922 (plus_infty): Likewise.
57923 (minus_infty): Likewise.
57924 (qnan_value): Likewise.
57925 (max_value): Likewise.
57926 (min_value): Likewise.
57927 (min_subnorm_value): Likewise.
57928 (initialize): Do not initialize those variables dynamically.
57929
57930 2013-05-03 Roland McGrath <roland@hack.frob.com>
57931
57932 * io/open.c (__open_2): Moved to ...
57933 * io/open_2.c: ... this new file.
57934 * io/open64.c (__open64_2): Moved to ...
57935 * io/open64_2.c: ... this new file.
57936 * io/openat.c (__openat_2): Moved to ...
57937 * io/openat_2.c: ... this new file.
57938 * io/openat64.c (__openat64_2): Moved to ...
57939 * io/openat64_2.c: ... this new file.
57940 * io/Makefile (routines): Add them.
57941 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
57942 * sysdeps/unix/sysv/linux/open_2.c: File removed.
57943 * sysdeps/unix/sysv/linux/open64_2.c: File removed.
57944 * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
57945 * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
57946 * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
57947 (__openat64): Add hidden_ver.
57948 * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
57949 * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
57950
57951 * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
57952 Separately conditionalize setting of GLRO(dl_sysinfo) so
57953 that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
57954 as well, but the actual setting is only under [NEED_DL_SYSINFO].
57955
57956 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57957
57958 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
57959 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
57960 definition.
57961 (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
57962 * sysdeps/unix/sysv/linux/powerpc/init-first.c
57963 (_libc_vdso_platform_setup): Add __vdso_time initialization.
57964 * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
57965 for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
57966
57967 2013-05-03 Joseph Myers <joseph@codesourcery.com>
57968
57969 * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
57970 test signgam value.
57971
57972 * math/libm-test.inc (hypot_test): Do not use
57973 IGNORE_ZERO_INF_SIGN.
57974
57975 2013-05-03 Andreas Jaeger <aj@suse.de>
57976
57977 * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
57978 Linux 3.9.
57979 * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
57980 (PF_MAX): Adjust for VSOCK change.
57981
57982 2013-05-03 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
57983
57984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57985
57986 2013-05-02 Carlos O'Donell <carlos@redhat.com>
57987
57988 [BZ #15264]
57989 * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
57990 * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
57991 * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
57992
57993 2013-05-02 David S. Miller <davem@davemloft.net>
57994
57995 * sysdeps/sparc/fpu/libm-test-ulps: Update.
57996
57997 2013-05-01 Ondřej Bílka <neleai@seznam.cz>
57998
57999 * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
58000
58001 2013-05-01 Roland McGrath <roland@hack.frob.com>
58002
58003 * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
58004
58005 2013-05-01 Richard Smith <richard@metafoo.co.uk>
58006
58007 [BZ #14952]
58008 * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
58009 [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
58010 Use __attribute__ ((__gnu_inline__)).
58011 [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
58012 Don't use __attribute__ ((__gnu_inline__)).
58013
58014 2013-05-01 Joseph Myers <joseph@codesourcery.com>
58015
58016 [BZ #15423]
58017 * math/s_catan.c (__catan): Handle small real or imaginary part of
58018 input specially to avoid spurious underflow.
58019 * math/s_catanf.c (__catanf): Likewise.
58020 * math/s_catanh.c (__catanh): Likewise.
58021 * math/s_catanhf.c (__catanhf): Likewise.
58022 * math/s_catanhl.c (__catanhl): Likewise.
58023 * math/s_catanl.c (__catanl): Likewise.
58024 * math/libm-test.inc (catan_test): Add more tests.
58025 (catanh_test): Likewise.
58026 * sysdeps/i386/fpu/libm-test-ulps: Update.
58027 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58028
58029 2013-04-30 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58030
58031 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58032
58033 2013-04-30 Joseph Myers <joseph@codesourcery.com>
58034
58035 [BZ #15416]
58036 * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
58037 accurately for denominator in atan2.
58038 * math/s_catanf.c (__catanf): Likewise.
58039 * math/s_catanh.c (__catanh): Likewise.
58040 * math/s_catanhf.c (__catanhf): Likewise.
58041 * math/s_catanhl.c (__catanhl): Likewise.
58042 * math/s_catanl.c (__catanl): Likewise.
58043 * math/libm-test.inc (catan_test): Add more tests.
58044 (catanh_test): Likewise.
58045 * sysdeps/i386/fpu/libm-test-ulps: Update.
58046 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58047
58048 2013-04-30 Siddhesh Poyarekar <siddhesh@redhat.com>
58049
58050 * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
58051
58052 * benchtests/Makefile (bench): Remove slow benchmarks.
58053 * benchtests/atan-inputs: Add slow benchmark inputs.
58054 * benchtests/bench-modf.c (NUM_VARIANTS): Define.
58055 (BENCH_FUNC): Accept variant offset.
58056 (VARIANT): Define.
58057 * benchtests/bench-skeleton.c (main): Run benchmark for each
58058 variant.
58059 * benchtests/cos-inputs: Add slow benchmark inputs.
58060 * benchtests/exp-inputs: Likewise.
58061 * benchtests/pow-inputs: Likewise.
58062 * benchtests/sin-inputs: Likewise.
58063 * benchtests/slowatan-inputs: Remove.
58064 * benchtests/slowatan.c: Remove.
58065 * benchtests/slowcos-inputs: Remove.
58066 * benchtests/slowcos.c: Remove.
58067 * benchtests/slowexp-inputs: Remove.
58068 * benchtests/slowexp.c: Remove.
58069 * benchtests/slowpow-inputs: Remove.
58070 * benchtests/slowpow.c: Remove.
58071 * benchtests/slowsin-inputs: Remove.
58072 * benchtests/slowsin.c: Remove.
58073 * benchtests/slowtan-inputs: Remove.
58074 * benchtests/slowtan.c: Remove.
58075 * benchtests/tan-inputs: Add slow benchmark inputs.
58076 * scripts/bench.pl: Parse comments and directives.
58077
58078 * benchtests/Makefile: Remove *-ITER. Define BENCH_DURATION
58079 in CPPFLAGS.
58080 ($(objpfx)bench-%.c): Remove *-ITER.
58081 * benchtests/bench-modf.c: Remove definition of ITER.
58082 * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
58083 (main): Loop for DURATION seconds instead of fixed number of
58084 iterations.
58085 * scripts/bench.pl: Don't expect iterations in parameters.
58086
58087 2013-04-29 Roland McGrath <roland@hack.frob.com>
58088
58089 * io/fchdir.c (__fchdir): Renamed from fchdir.
58090 (fchdir): Define as weak alias.
58091
58092 2013-04-29 Joseph Myers <joseph@codesourcery.com>
58093
58094 * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
58095 (ERRNO_EDOM): Likewise.
58096 (ERRNO_ERANGE): Likewise.
58097 (noErrnoTests): New variable.
58098 (init_max_error): Set errno to 0.
58099 (test_single_errno): New function.
58100 (test_errno): Likewise.
58101 (check_float_internal): Call test_errno. Set errno to 0.
58102 (check_complex): Refer to errno tests in comment.
58103 (check_int): Call test_errno. Set errno to 0.
58104 (check_long): Likewise.
58105 (check_bool): Likewise.
58106 (check_longlong): Likewise.
58107 (cos_test): Use ERRNO_* flags for errno tests instead of
58108 check_int.
58109 (expm1_test): Likewise.
58110 (fmod_test): Likewise.
58111 (ilogb_test): Likewise.
58112 (lgamma_test): Likewise.
58113 (pow_test): Likewise.
58114 (remainder_test): Likewise.
58115 (sin_test): Likewise.
58116 (tan_test): Likewise.
58117 (yn_test): Likewise.
58118 (initialize): Set errno to 0.
58119 (main): Print number of errno tests.
58120 * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
58121
58122 2013-04-29 Andreas Jaeger <aj@suse.de>
58123
58124 [BZ #15084]
58125 * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
58126 and RES_USEVC.
58127
58128 [BZ #15085]
58129 * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
58130 * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
58131 unimplemented.
58132
58133 [BZ #15380]
58134 * stdlib/random.c (__initstate): Return NULL if
58135 __initstate fails.
58136
58137 [BZ #15086]
58138 * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
58139 RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
58140 RES_SNGLKUPREOP.
58141
58142 2013-04-29 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58143
58144 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58145
58146 2013-04-29 Joseph Myers <joseph@codesourcery.com>
58147
58148 * math/libm-test.inc (cacos_test): Add missing semicolons at ends
58149 of individual tests.
58150 (casin_test): Likewise.
58151 (casinh_test): Likewise.
58152
58153 2013-04-27 Joseph Myers <joseph@codesourcery.com>
58154
58155 [BZ #15409]
58156 * math/s_catan.c (__catan): Handle arguments with large real or
58157 imaginary part separately without squaring.
58158 * math/s_catanf.c (__catanf): Likewise.
58159 * math/s_catanh.c (__catanh): Likewise.
58160 * math/s_catanhf.c (__catanhf): Likewise.
58161 * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
58162 and redefine.
58163 (__catanhl): Handle arguments with large real or imaginary part
58164 separately without squaring.
58165 * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
58166 and redefine.
58167 (__catanl): Handle arguments with large real or imaginary part
58168 separately without squaring.
58169 * math/libm-test.inc (catan_test): Add more tests.
58170 (catanh_test): Likewise.
58171 * sysdeps/i386/fpu/libm-test-ulps: Update.
58172 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58173
58174 2013-04-27 Andreas Jaeger <aj@suse.de>
58175
58176 [BZ #15007]
58177 * stdlib/stdlib.h: Update guards for qecvt.
58178 * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
58179 <stdlib.h>.
58180
58181 2013-04-27 Allan McRae <allan@archlinux.org>
58182
58183 * sysdeps/i386/fpu/libm-test-ulps: Update.
58184
58185 2013-04-26 Joseph Myers <joseph@codesourcery.com>
58186
58187 [BZ #15406]
58188 * math/s_catan.c: Include <float.h>.
58189 (__catan): Ensure underflow exception occurs for underflowed
58190 result.
58191 * math/s_catanf.c: Include <float.h>.
58192 (__catanf): Ensure underflow exception occurs for underflowed
58193 result.
58194 * math/s_catanh.c: Include <float.h>.
58195 (__catanh): Ensure underflow exception occurs for underflowed
58196 result.
58197 * math/s_catanhf.c: Include <float.h>.
58198 (__catanhf): Ensure underflow exception occurs for underflowed
58199 result.
58200 * math/s_catanhl.c: Include <float.h>.
58201 (__catanhl): Ensure underflow exception occurs for underflowed
58202 result.
58203 * math/s_catanl.c: Include <float.h>.
58204 (__catanl): Ensure underflow exception occurs for underflowed
58205 result.
58206 * math/libm-test.inc (catan_test): Add more tests.
58207 (catanh_test): Likewise.
58208
58209 [BZ #15405]
58210 * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
58211 underflowed result.
58212 * math/s_ccoshf.c (__ccoshf): Likewise.
58213 * math/s_ccoshl.c (__ccoshl): Likewise.
58214 * math/s_csin.c (__csin): Likewise.
58215 * math/s_csinf.c (__csinf): Likewise.
58216 * math/s_csinh.c (__csinh): Likewise.
58217 * math/s_csinhf.c (__csinhf): Likewise.
58218 * math/s_csinhl.c (__csinhl): Likewise.
58219 * math/s_csinl.c (__csinl): Likewise.
58220 * math/libm-test.inc (ccos_test): Add more tests.
58221 (ccosh_test): Likewise.
58222 (csin_test): Likewise.
58223 (csinh_test): Likewise.
58224
58225 2013-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58226
58227 * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
58228 * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
58229 * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
58230 * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
58231 * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
58232 powerpc/power5+/fpu folders.
58233 * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
58234
58235
58236 2013-04-26 Markus Trippelsdorf <markus@trippelsdorf.de>
58237
58238 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
58239
58240 2013-04-25 Joseph Myers <joseph@codesourcery.com>
58241
58242 * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
58243 additions to variable.
58244 [$(config-machine) = x86_64] (modules-names): Likewise.
58245 ($(objpfx)tst-audit3): Remove dependency.
58246 ($(objpfx)tst-audit3.out): Likewise.
58247 ($(objpfx)tst-audit4): Likewise.
58248 ($(objpfx)tst-audit4.out): Likewise.
58249 ($(objpfx)tst-audit5): Likewise.
58250 ($(objpfx)tst-audit5.out): Likewise.
58251 ($(objpfx)tst-audit6): Likewise.
58252 ($(objpfx)tst-audit6.out): Likewise.
58253 ($(objpfx)tst-audit7): Likewise.
58254 ($(objpfx)tst-audit7.out): Likewise.
58255 (tst-audit3-ENV): Remove variable.
58256 (tst-audit4-ENV): Likewise.
58257 (tst-audit5-ENV): Likewise.
58258 (tst-audit6-ENV): Likewise.
58259 (tst-audit7-ENV): Likewise.
58260 [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
58261 [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
58262 addition to variable.
58263 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
58264 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
58265 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
58266 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
58267 [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
58268 * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
58269 tst-audit3, tst-audit4 and tst-audit5.
58270 [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
58271 tst-audit6 and tst-audit7.
58272 [$(subdir) = elf] (modules-names): Add audit modules for those
58273 tests.
58274 [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
58275 [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
58276 [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
58277 [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
58278 [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
58279 [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
58280 [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
58281 [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
58282 [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
58283 [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
58284 [$(subdir) = elf] (tst-audit3-ENV): New variable.
58285 [$(subdir) = elf] (tst-audit4-ENV): Likewise.
58286 [$(subdir) = elf] (tst-audit5-ENV): Likewise.
58287 [$(subdir) = elf] (tst-audit6-ENV): Likewise.
58288 [$(subdir) = elf] (tst-audit7-ENV): Likewise.
58289 [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
58290 Likewise.
58291 [$(subdir) = elf && $(config-cflags-avx) = yes]
58292 (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
58293 [$(subdir) = elf && $(config-cflags-avx) = yes]
58294 (CFLAGS-tst-auditmod4a.c): Likewise.
58295 [$(subdir) = elf && $(config-cflags-avx) = yes]
58296 (CFLAGS-tst-auditmod4b.c): Likewise.
58297 [$(subdir) = elf && $(config-cflags-avx) = yes]
58298 (CFLAGS-tst-auditmod6b.c): Likewise.
58299 [$(subdir) = elf && $(config-cflags-avx) = yes]
58300 (CFLAGS-tst-auditmod6c.c): Likewise.
58301 [$(subdir) = elf && $(config-cflags-avx) = yes]
58302 (CFLAGS-tst-auditmod7b.c): Likewise.
58303 * elf/tst-audit3.c: Move to ...
58304 * sysdeps/x86_64/tst-audit3.c: ... here.
58305 * elf/tst-audit4.c: Move to ...
58306 * sysdeps/x86_64/tst-audit4.c: ... here.
58307 * elf/tst-audit5.c: Move to ...
58308 * sysdeps/x86_64/tst-audit5.c: ... here.
58309 * elf/tst-audit6.c: Move to ...
58310 * sysdeps/x86_64/tst-audit6.c: ... here.
58311 * elf/tst-audit7.c: Move to ...
58312 * sysdeps/x86_64/tst-audit7.c: ... here.
58313 * elf/tst-auditmod3a.c: Move to ...
58314 * sysdeps/x86_64/tst-auditmod3a.c: ... here.
58315 * elf/tst-auditmod3b.c: Move to ...
58316 * sysdeps/x86_64/tst-auditmod3b.c: ... here.
58317 * elf/tst-auditmod4a.c: Move to ...
58318 * sysdeps/x86_64/tst-auditmod4a.c: ... here.
58319 * elf/tst-auditmod4b.c: Move to ...
58320 * sysdeps/x86_64/tst-auditmod4b.c: ... here.
58321 * elf/tst-auditmod5a.c: Move to ...
58322 * sysdeps/x86_64/tst-auditmod5a.c: ... here.
58323 * elf/tst-auditmod5b.c: Move to ...
58324 * sysdeps/x86_64/tst-auditmod5b.c: ... here.
58325 * elf/tst-auditmod6a.c: Move to ...
58326 * sysdeps/x86_64/tst-auditmod6a.c: ... here.
58327 * elf/tst-auditmod6b.c: Move to ...
58328 * sysdeps/x86_64/tst-auditmod6b.c: ... here.
58329 * elf/tst-auditmod6c.c: Move to ...
58330 * sysdeps/x86_64/tst-auditmod6c.c: ... here.
58331 * elf/tst-auditmod7a.c: Move to ...
58332 * sysdeps/x86_64/tst-auditmod7a.c: ... here.
58333 * elf/tst-auditmod7b.c: Move to ...
58334 * sysdeps/x86_64/tst-auditmod7b.c: ... here.
58335
58336 2013-04-25 Paul Pluzhnikov <ppluzhnikov@google.com>
58337
58338 [BZ #15366]
58339 * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
58340 define unconditionally.
58341 * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
58342 define unconditionally.
58343 (INT8_C, INT16_C, etc.): Likewise.
58344
58345 2013-04-25 Maciej W. Rozycki <macro@codesourcery.com>
58346
58347 * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
58348 __ehdr_start with hidden visibility.
58349
58350 * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
58351
58352 2013-04-24 Carlos O'Donell <carlos@redhat.com>
58353
58354 * math/libm-test.inc (cos_test): Use accurate hex constants.
58355 (sincost_test): Likewise.
58356
58357 2013-04-24 Joseph Myers <joseph@codesourcery.com>
58358
58359 * math/libm-test.inc (catan_test): Add more tests.
58360 (catanh_test): Likewise.
58361
58362 * math/s_catanf.c (__catanf): Use suffixed floating-point
58363 constants.
58364 * math/s_catanhf.c (__catanhf): Likewise.
58365 * math/s_catanhl.c (__catanhl): Likewise.
58366 * math/s_catanl.c (__catanl): Likewise.
58367
58368 [BZ #15394]
58369 * math/s_catan.c (__catan): Calculate imaginary part of result
58370 with log1p not log unless computing log of number close to 0.
58371 * math/s_catanf.c (__catanf): Likewise.
58372 * math/s_catanl.c (__catanl): Likewise.
58373 * math/s_catanh.c (__catanh): Calculate real part of result with
58374 log1p not log unless computing log of number close to 0.
58375 * math/s_catanhf.c (__catanhf): Likewise.
58376 * math/s_catanhl.c (__catanhl): Likewise.
58377 * math/libm-test.inc (catan_test): Add more tests.
58378 (catanh_test): Likewise.
58379 * sysdeps/i386/fpu/libm-test-ulps: Update.
58380 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58381
58382 2013-04-24 Siddhesh Poyarekar <siddhesh@redhat.com>
58383
58384 * benchtests/Makefile: Mention files in which fast and slow
58385 paths of math functions are implemented.
58386
58387 2013-04-23 Roland McGrath <roland@hack.frob.com>
58388
58389 * sysdeps/posix/timespec_get.c: New file.
58390
58391 2013-04-23 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58392
58393 * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
58394 POWER.
58395 * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
58396 for POWER.
58397 * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
58398 powerpc/power5/fpu folders.
58399 * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
58400 * benchtests/Makefile: Add modf testcase.
58401 * benchtests/bench-modf.c: New file: Benchmark test for mo
58402
58403 2013-04-23 Siddhesh Poyarekar <siddhesh@redhat.com>
58404
58405 [BZ #14888]
58406 * time/Makefile (tests): Add tst-strptime-whitespace.
58407 * time/strptime_l.c (get_number): Use ISSPACE.
58408 (__strptime_internal): Likewise.
58409 * time/tst-strptime-whitespace.c: New test case.
58410
58411 2013-04-23 Andreas Schwab <schwab@linux-m68k.org>
58412
58413 * nss/nss_files/files-init.c (TF): Don't initialize flexible array
58414 member.
58415 (_nss_files_init): Set it here.
58416
58417 2013-04-23 Heiko Carstens <heiko.carstens@de.ibm.com>
58418
58419 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
58420 f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
58421 unsigned.
58422
58423 2013-04-22 Jan-Benedict Glaw <jbglaw@getslash.de>
58424
58425 * nss/getent.c (shadow_keys): Call endspent, not endpwent.
58426
58427 2013-04-22 Siddhesh Poyarekar <siddhesh@redhat.com>
58428
58429 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
58430 size just once.
58431
58432 2013-04-21 David S. Miller <davem@davemloft.net>
58433
58434 * po/ru.po: Update Russion translation from translation project.
58435
58436 2013-04-17 Adam Conrad <adconrad@0c3.net>
58437
58438 * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
58439 and setfsgid.
58440
58441 2013-04-17 Carlos O'Donell <carlos@redhat.com>
58442
58443 * configure.in: Remove i386 configure warning. Remove i386 case.
58444 * configure: Regenerate.
58445 * sysdeps/i386/configure.in: Raise error if config_machine is i386.
58446 Add example to error message.
58447 * sysdeps/i386/configure: Regenerate.
58448
58449 2013-04-17 Siddhesh Poyarekar <siddhesh@redhat.com>
58450
58451 * benchtests/Makefile (bench): Add cos, tan, slowcos and
58452 slowtan.
58453 * benchtests/cos-inputs: New file.
58454 * benchtests/slowcos-inputs: New file.
58455 * benchtests/slowcos.c: New file.
58456 * benchtests/slowtan-inputs: New file.
58457 * benchtests/slowtan.c: New file.
58458 * benchtests/tan-inputs: New file.
58459
58460 2013-04-16 Roland McGrath <roland@hack.frob.com>
58461
58462 * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
58463 considered kosher.
58464
58465 2013-04-16 Siddhesh Poyarekar <siddhesh@redhat.com>
58466
58467 * benchtests/Makefile: Include cppflags-iterator.mk to add
58468 -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
58469
58470 * Makefile.in (bench-clean): New target.
58471 * benchtests/Makefile (bench-clean): Likewise.
58472
58473 2013-04-16 David Holsgrove <david.holsgrove@xilinx.com>
58474
58475 * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
58476
58477 2013-04-15 Thomas Schwinge <thomas@codesourcery.com>
58478
58479 * stdio-common/tstdiomisc.c: Fix coding-style violation.
58480
58481 2013-04-15 Andreas Schwab <schwab@suse.de>
58482
58483 * nscd/grpcache.c (cache_addgr): Properly check for short write.
58484 * nscd/initgrcache.c (addinitgroupsX): Likewise.
58485 * nscd/pwdcache.c (cache_addpw): Likewise.
58486 * nscd/servicescache.c (cache_addserv): Likewise. Don't write
58487 more than recsize.
58488
58489 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58490
58491 * benchtests/Makefile (bench): Write all output to
58492 bench-out.tmp together.
58493
58494 2013-04-15 Andreas Schwab <schwab@suse.de>
58495
58496 * nscd/nscd.c (main): Don't fork again after closing files.
58497
58498 2013-04-15 Siddhesh Poyarekar <siddhesh@redhat.com>
58499
58500 * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
58501
58502 * benchtests/Rules (bench-deps): Collect dependencies into a
58503 single variable. Add Makefile to dependencies.
58504 ($(objpfx)bench-%.c): Depend on bench-deps.
58505
58506 2013-04-12 Roland McGrath <roland@hack.frob.com>
58507 Xavier Roche <roche+kml2@exalead.com>
58508
58509 [BZ #15361]
58510 * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
58511 just that it's a file descriptor.
58512 * manual/llio.texi (Synchronizing AIO Operations): Update description
58513 for EBADF error from aio_fsync.
58514
58515 2013-04-12 Siddhesh Poyarekar <siddhesh@redhat.com>
58516
58517 * Rules (bench): Move target definition...
58518 * benchtests/Makefile: ... here.
58519
58520 2013-04-11 Carlos O'Donell <carlos@redhat.com>
58521
58522 * math/libm-test.inc (cos_test): Fix PI/2 test.
58523 (sincos_test): Likewise.
58524 * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
58525 * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
58526
58527 2013-04-11 Andreas Schwab <schwab@suse.de>
58528
58529 [BZ #13988]
58530 * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
58531 accept exponent character only when digits were seen.
58532 * stdio-common/Makefile (tests): Add bug26.
58533 * stdio-common/bug26.c: New file.
58534
58535 [BZ #14293]
58536 * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
58537 non-freeable.
58538
58539 2013-04-11 Siddhesh Poyarekar <siddhesh@redhat.com>
58540
58541 * Makeconfig (rtld-prefix): Define built linker prefix.
58542 * Rules (run-bench): Use it.
58543 * math/Makefile (run-regen-ulps): Likewise.
58544
58545 * Rules (bench): Remove eval.
58546
58547 2013-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
58548 Roland McGrath <roland@hack.frob.com>
58549 Ondrej Bilka <neleai@seznam.cz>
58550
58551 [BZ #15346]
58552 * time/getdate.c: Include ctype.h and alloca.h.
58553 (__getdate_r): Trim leading and trailing spaces of input.
58554 * time/tst-getdate.c (tests): Add tests with leading and
58555 trailing spaces.
58556
58557 2013-04-08 Roland McGrath <roland@hack.frob.com>
58558
58559 [BZ #14280]
58560 * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
58561 when computing value.
58562
58563 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58564
58565 * math/README.libm-test (How can I generate "libm-test-ulps"?):
58566 Use testrun.sh to run libm tests.
58567
58568 [BZ #15309]
58569 * elf/dl-open.c (dl_open_worker): memset all of seen array.
58570
58571 2013-04-06 Marko Myllynen <myllynen@redhat.com>
58572
58573 [BZ #15264]
58574 * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
58575
58576 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58577
58578 * Makefile.in (regen-ulps): New target.
58579 * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
58580 [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
58581 [ifneq (no,$(PERL)] (regen-ulps): New target.
58582 [ifeq (no,$(PERL)] (regen-ulps): New target.
58583 * math/libm-test.inc (ulps_file_name): Define.
58584 (output_dir): New variable.
58585 (options): Add "output-dir" option.
58586 (parse_opt): Handle 'o' case.
58587 (main): If output_dir is non-NULL use it as a prefix
58588 otherwise use "".
58589 * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
58590
58591 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58592
58593 [BZ #10060, #10062]
58594 * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
58595 * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
58596 fail configure if __sync_val_compare_and_swap is not inlined.
58597 * sysdeps/i386/configure: Regenerate.
58598 * configure.in: Build for i686 when configured for i386.
58599 * configure: Regenerate.
58600 * README: Remove i386 reference.
58601
58602 2013-04-06 Carlos O'Donell <carlos@redhat.com>
58603
58604 * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
58605 * sysdeps/s390/s390-64/sysdep.h: Likewise.
58606
58607 2013-04-05 Thomas Schwinge <thomas@codesourcery.com>
58608
58609 * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
58610 (lmsnanval): New variables.
58611 (F): Add conversion tests.
58612 * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
58613 * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
58614
58615 * stdio-common/tstdiomisc.c (F): Properly collect individual
58616 tests' results.
58617
58618 [BZ #14686, #15336]
58619 * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
58620 * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
58621 Instead, use input NaN values or generate a qNaN by arithmetic
58622 operation. Also fix bugs to comply with the standard.
58623 * math/libm-test.inc (remainder_test): Add more tests.
58624
58625 [BZ #15335, #15342]
58626 * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
58627 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
58628 input NaN values or generate a qNaN by arithmetic operation.
58629
58630 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
58631 unreachable code.
58632
58633 * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
58634 definitions.
58635
58636 2013-04-03 Joseph Myers <joseph@codesourcery.com>
58637
58638 [BZ #14478]
58639 * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
58640 underflowed result.
58641 * math/s_cexpf.c (__cexpf): Likewise.
58642 * math/s_cexpl.c (__cexpl): Likewise.
58643 * math/libm-test.inc (cexp_test): Add more tests.
58644
58645 2013-04-03 Andreas Schwab <schwab@suse.de>
58646
58647 [BZ #15330]
58648 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
58649 order arrays from heap if bigger than alloca cutoff.
58650
58651 2013-04-03 Thomas Schwinge <thomas@codesourcery.com>
58652
58653 * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
58654 (SNAN_TESTS_double): Refer to GCC PR56831.
58655 * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
58656 GCC PR56828.
58657
58658 2013-04-03 Siddhesh Poyarekar <siddhesh@redhat.com>
58659
58660 * Rules (bench): Move bench.out after the run is complete.
58661
58662 * Rules (bench): Echo currently running benchmark.
58663
58664 * benchtests/Makefile (bench): Add atan and slowatan.
58665 * benchtests/atan-inputs: New file.
58666 * benchtests/slowatan-inputs: New file.
58667 * benchtests/slowatan.c: New file.
58668
58669 * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
58670 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
58671 its value.
58672
58673 [BZ #15305]
58674 * sysdeps/unix/sysv/linux/kernel-features.h
58675 [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
58676 __ASSUME_XFS_RESTRICTED_CHOWN.
58677 * sysdeps/unix/sysv/linux/pathconf.c
58678 (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
58679 Save and restore errno.
58680
58681 2013-04-02 Joseph Myers <joseph@codesourcery.com>
58682
58683 [BZ #15327]
58684 * math/s_cacosh.c (__cacosh): Implement for finite nonzero
58685 arguments using __kernel_casinh.
58686 * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
58687 arguments using __kernel_casinhf.
58688 * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
58689 arguments using __kernel_casinhl.
58690 * math/libm-test.inc (cacosh_test): Add more tests.
58691 * sysdeps/i386/fpu/libm-test-ulps: Update.
58692 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58693
58694 2013-04-02 Siddhesh Poyarekar <siddhesh@redhat.com>
58695
58696 * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
58697 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
58698
58699 * bench/Makefile (bench): Add sin and slowsin.
58700 * benchtests/sin-inputs: New file.
58701 * benchtests/slowsin-inputs: New file.
58702 * benchtests/slowsin.c: New file.
58703
58704 * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
58705 (bench): Add slowexp and slowpow.
58706 (exp-ITER): Increase iterations.
58707 (pow-ITER): Likewise.
58708 * benchtests/exp-inputs: Change input.
58709 * benchtests/pow-inputs: Likewise.
58710 * benchtests/slowexp-inputs: New file.
58711 * benchtests/slowexp.c: New file.
58712 * benchtests/slowpow-inputs: New file.
58713 * benchtests/slowpow.c: New file.
58714
58715 2013-04-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58716
58717 * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
58718 instructions.
58719 * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
58720 * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
58721 * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
58722 * benchtests/Makefile: Add rint benchtest.
58723 * benchtests/rint-inputs: Input for rint benchtest.
58724
58725 2013-04-02 Thomas Schwinge <thomas@codesourcery.com>
58726
58727 * Versions.def (libm): Add GLIBC_2.18.
58728 * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
58729 hidden libm prototypes.
58730 [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
58731 * math/Makefile (libm-calls): Add s_issignaling.
58732 * math/Versions (libm: GLIBC_2.18): Add __issignaling,
58733 __issignalingf, __issignalingl. Adjust all libm.abilist files.
58734 * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
58735 declaration.
58736 * math/math.h [__USE_GNU] (issignaling): New macro.
58737 * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
58738 * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
58739 * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
58740 * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
58741 * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
58742 * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
58743 * manual/arith.texi (issignaling): New section.
58744 * manual/libm-err-tab.pl (@all_functions): Update comment.
58745 * math/gen-libm-test.pl (parse_args): Apply special handling for
58746 issignaling.
58747 * math/libm-test.inc (print_float, issignaling_test): New
58748 functions.
58749 (check_float_internal): Add issignaling checks.
58750 * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
58751 default definition.
58752 * sysdeps/powerpc/math-tests.h: New file.
58753 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
58754 tests.
58755 * math/test-snan.c (TEST_FUNC): Likewise.
58756
58757 2013-03-30 David S. Miller <davem@davemloft.net>
58758
58759 * po/de.po: Update from translation team.
58760
58761 2013-03-30 Joseph Myers <joseph@codesourcery.com>
58762
58763 [BZ #10357]
58764 * math/k_casinh.c (__kernel_casinh): Handle arguments with
58765 imaginary part less than 1.0 and real part less than 0.5
58766 specially.
58767 * math/k_casinhf.c (__kernel_casinhf): Likewise.
58768 * math/k_casinhl.c (__kernel_casinhl): Likewise.
58769 * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
58770 (cacos_test): Add more tests.
58771 (casin_test): Likewise.
58772 (casinh_test): Likewise.
58773 * sysdeps/i386/fpu/libm-test-ulps: Update.
58774 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58775
58776 2013-03-29 Siddhesh Poyarekar <siddhesh@redhat.com>
58777
58778 * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
58779 ONE with its value.
58780
58781 * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
58782 (__pow_mp): Replace ONE and MONE with their values.
58783 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58784 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
58785 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58786 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
58787 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58788 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58789
58790 * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
58791
58792 * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
58793 (__pow_mp): Replace ZERO and MZERO with their values.
58794 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58795 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58796 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
58797 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
58798 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58799 * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
58800 (__sqr): Likewise.
58801
58802 * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
58803
58804 * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
58805
58806 2013-03-28 Roland McGrath <roland@hack.frob.com>
58807
58808 * include/stdlib.h [!SHARED] (__call_tls_dtors):
58809 Declare with __attribute__ ((weak)).
58810 * stdlib/exit.c (__libc_atexit) [!SHARED]:
58811 Call __call_tls_dtors only if it's not NULL.
58812
58813 2013-03-28 Roland McGrath <roland@hack.frob.com>
58814
58815 * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
58816 didn't do it already, then set _dl_phdr and _dl_phnum based on the
58817 magic __ehdr_start linker symbol if it's defined.
58818 * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
58819 them up here if it was already done.
58820
58821 * elf/dl-support.c (_dl_phdr): Make pointer to const.
58822 (_dl_aux_init): Use const in cast when setting it.
58823 * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
58824 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
58825 * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
58826
58827 * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
58828 Declare them here.
58829 * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
58830 * csu/libc-tls.c: Nor here.
58831 * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
58832
58833 * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
58834 (__libc_message): Never call vsyslog.
58835
58836 2013-03-28 Alan Modra <amodra@gmail.com>
58837
58838 * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
58839 Define as empty.
58840 * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
58841 Likewise.
58842
58843 2013-03-28 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58844
58845 [BZ #15214]
58846 * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
58847 underflow.
58848 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
58849
58850 2013-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
58851
58852 [BZ #15304]
58853 * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
58854 Don't add gid passed as argument.
58855
58856 * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
58857
58858 2013-03-27 Joseph Myers <joseph@codesourcery.com>
58859
58860 [BZ #15307]
58861 * math/k_casinh.c (__kernel_casinh): Handle arguments with
58862 imaginary part between 1.0 and 1.5 and real part less than 0.5
58863 specially.
58864 * math/k_casinhf.c (__kernel_casinhf): Likewise.
58865 * math/k_casinhl.c (__kernel_casinhl): Likewise.
58866 * math/libm-test.inc (cacos_test): Add more tests.
58867 (casin_test): Likewise.
58868 (casinh_test): Likewise.
58869 * sysdeps/i386/fpu/libm-test-ulps: Update.
58870 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
58871
58872 2013-03-26 Siddhesh Poyarekar <siddhesh@redhat.com>
58873
58874 * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
58875 constants.
58876 (norm): Likewise.
58877 (denorm): Likewise.
58878 (__dbl_mp): Likewise.
58879 (add_magnitudes): Likewise.
58880 (sub_magnitudes): Likewise.
58881 (__add): Likewise.
58882 (__sub): Likewise.
58883 (__mul): Likewise.
58884 (__sqr): Likewise.
58885 (__inv): Likewise.
58886 (__dvd): Likewise.
58887
58888 * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
58889 commented code.
58890 * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
58891 (__dubcos): Likewise.
58892 * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
58893 (__ieee754_acos): Likewise.
58894 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
58895 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
58896 (__exp1): Likewise.
58897 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
58898 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
58899 (log1): Likewise.
58900 (my_log2): Likewise.
58901 (checkint): Likewise.
58902 * sysdeps/ieee754/dbl-64/e_remainder.c
58903 (__ieee754_remainder): Likewise.
58904 * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
58905 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
58906 (bsloww): Likewise.
58907 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
58908
58909 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
58910 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
58911 MANTISSA_STORE_T to store computations on mantissa. Use
58912 macros for rounding and division.
58913 (denorm): Likewise.
58914 (__dbl_mp): Likewise.
58915 (add_magnitudes): Likewise.
58916 (sub_magnitudes): Likewise.
58917 (__mul): Likewise.
58918 (__sqr): Likewise.
58919 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
58920 powers of two in terms of TWOPOW macro.
58921 (mp_no): Make type of mantissa as MANTISSA_T.
58922 [!RADIXI]: Define RADIXI.
58923 [!TWO52]: Define TWO52.
58924 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
58925
58926 2013-03-25 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58927
58928 * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
58929 llroundl symbol when building for PPC32.
58930
58931 2013-03-24 Mark H Weaver <mhw@netris.org>
58932
58933 * manual/arith.texi (Normalization Functions): Fix prototypes for
58934 scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
58935
58936 2013-03-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58937
58938 [BZ #13889]
58939 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
58940 high value to check if expl overflow.
58941 * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
58942 to check for underflow and overflow.
58943 * math/libm-test.inc: Add exp test.
58944
58945 2013-03-21 Dmitry V. Levin <ldv@altlinux.org>
58946
58947 [BZ #11120]
58948 * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
58949 with NOT_IN_libc.
58950
58951 2013-03-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
58952
58953 * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
58954 symbol.
58955
58956 2013-03-21 Thomas Schwinge <thomas@codesourcery.com>
58957
58958 * math/gen-libm-test.pl (parse_args, special_functions): Properly
58959 wrap blocks consisting of several statements.
58960
58961 * sysdeps/generic/math-tests.h: New file.
58962 * sysdeps/i386/fpu/math-tests.h: Likewise.
58963 * math/test-snan.c: Include it.
58964 (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
58965
58966 2013-03-21 Joseph Myers <joseph@codesourcery.com>
58967
58968 [BZ #15285]
58969 * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
58970 (__ieee754_j0l): Do not improve calculations using cos of twice
58971 input for inputs above LDBL_MAX / 2.0L.
58972 (__ieee754_y0l): Likewise.
58973 * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
58974 (__ieee754_j1l): Do not improve calculations using cos of twice
58975 input for inputs above LDBL_MAX / 2.0L.
58976 (__ieee754_y1l): Likewise.
58977 * math/libm-test.inc (j0_test): Add another test.
58978 (j1_test): Likewise.
58979 (y0_test): Likewise.
58980 (y1_test): Likewise.
58981 * sysdeps/i386/fpu/libm-test-ulps: Update.
58982
58983 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
58984
58985 * Rules ($(objpfx)bench-%.c): Include code from a C source
58986 file.
58987
58988 2013-03-21 Joseph Myers <joseph@codesourcery.com>
58989
58990 [BZ #15287]
58991 * math/k_casinh.c (__kernel_casinh): Handle arguments with
58992 imaginary part 1.0 and real part less than 0.5 specially.
58993 * math/k_casinhf.c (__kernel_casinhf): Likewise.
58994 * math/k_casinhl.c (__kernel_casinhl): Likewise.
58995 * math/libm-test.inc (cacos_test): Add more tests.
58996 (casin_test): Likewise.
58997 (casinh_test): Likewise.
58998 * sysdeps/i386/fpu/libm-test-ulps: Update.
58999 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59000
59001 2013-03-21 Siddhesh Poyarekar <siddhesh@redhat.com>
59002
59003 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
59004 * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
59005
59006 2013-03-20 Joseph Myers <joseph@codesourcery.com>
59007
59008 * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
59009 * config.make.in (config-cflags-sse4): Remove variable.
59010 (config-cflags-avx): Likewise.
59011 (config-cflags-sse2avx): Likewise.
59012 (config-cflags-novzeroupper): Likewise.
59013 (config-asflags-i686): Likewise.
59014 (have-mfma4): Likewise.
59015 (have-as-vis3): Likewise.
59016 (MIG): Likewise.
59017 * configure.in (MIG): Do not AC_SUBST.
59018 (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
59019 (libc_cv_cc_sse4): Do not AC_SUBST.
59020 (libc_cv_cc_avx): Likewise.
59021 (libc_cv_cc_sse2avx): Likewise.
59022 (libc_cv_cc_novzeroupper): Likewise.
59023 (libc_cv_cc_fma4): Likewise.
59024 (libc_cv_as_i686): Likewise.
59025 (libc_cv_sparc_as_vis3): Likewise.
59026 * sysdeps/i386/configure.in (config-cflags-sse4): Set using
59027 LIBC_CONFIG_VAR.
59028 (config-asflags-i686): Likewise.
59029 (config-cflags-avx): Likewise.
59030 (config-cflags-sse2avx): Likewise.
59031 (have-mfma4): Likewise.
59032 (config-cflags-novzeroupper): Likewise.
59033 * sysdeps/mach/configure.in (MIG): Likewise.
59034 * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
59035 * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
59036 LIBC_CONFIG_VAR.
59037 (config-cflags-avx): Likewise.
59038 (config-cflags-sse2avx): Likewise.
59039 (have-mfma4): Likewise.
59040 (config-cflags-novzeroupper): Likewise.
59041 * configure: Regenerated.
59042 * sysdeps/i386/configure: Likewise.
59043 * sysdeps/mach/configure: Likewise.
59044 * sysdeps/sparc/configure: Likewise.
59045 * sysdeps/x86_64/configure: Likewise.
59046
59047 2013-03-20 Roland McGrath <roland@hack.frob.com>
59048
59049 [BZ #14812]
59050 * locale/programs/localedef.c (options): Put N_ translation marker
59051 on argument names, not just descriptions.
59052
59053 2013-03-20 Marcus Shawcroft <marcus.shawcroft@linaro.org>
59054
59055 * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
59056
59057 2013-03-20 Ondřej Bílka <neleai@seznam.cz>
59058
59059 [BZ #14176]
59060 * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
59061
59062 2013-03-19 Roland McGrath <roland@hack.frob.com>
59063
59064 * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
59065 [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
59066 [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
59067 [!BEFORE_ABORT] (before_abort): New function.
59068 [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
59069 * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
59070 (writev_for_fatal): New function.
59071 (WRITEV_FOR_FATAL): New macro; call that.
59072 (backtrace_and_maps): New function.
59073 (BEFORE_ABORT): New macro; call that.
59074 (struct str_list): Type removed.
59075 (__libc_message, __libc_fatal): Functions removed.
59076 Include <sysdeps/posix/libc_fatal.c> instead.
59077
59078 2013-03-19 Joseph Myers <joseph@codesourcery.com>
59079
59080 * math/k_casinhf.c (__kernel_casinhf): Consistently use float
59081 constants.
59082 * math/k_casinhl.c (__kernel_casinhl): Consistently use long
59083 double constants.
59084
59085 2013-03-19 Andreas Schwab <schwab@suse.de>
59086
59087 * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
59088 * sysdeps/gnu/configure: Regenerate.
59089
59090 * configure.in: Substitute libc_cv_rtlddir.
59091 * configure: Regenerate.
59092 * config.make.in (rtlddir): Set from libc_cv_rtlddir.
59093 * Makeconfig (rtlddir, inst_rtlddir): New variables.
59094 (rtld-LDFLAGS): Use them with $(rtld-installed-name).
59095 * elf/Makefile (install-others, CFLAGS-interp.c)
59096 (ldso_install, common-ldd-rewrite): Likewise.
59097 ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
59098 $(inst_slibdir)/$(rtld-installed-name).
59099 * scripts/rellns-sh: Add -p option.
59100 * Makerules (make-shlib-link): Use rellns-sh to get relative name
59101 for source.
59102
59103 2013-03-19 Siddhesh Poyarekar <siddhesh@redhat.com>
59104
59105 * manual/nptl.texi: Renamed to ...
59106 * manual/threads.texi: ... this.
59107 * manual/Makefile (chapters): Update.
59108
59109 2013-03-18 Roland McGrath <roland@hack.frob.com>
59110
59111 [BZ #14812]
59112 * argp/argp-parse.c (argp_default_options): Put N_ translation marker
59113 on argument names, not just descriptions.
59114 * malloc/memusagestat.c (options): Likewise.
59115 * nss/getent.c (options): Likewise.
59116
59117 2013-03-18 Benno Schulenberg <bensberg@justemail.net>
59118
59119 [BZ #14812]
59120 * iconv/iconv_prog.c (options): Put N_ translation marker
59121 on argument names, not just descriptions.
59122 * iconv/iconvconfig.c (options): Likewise.
59123
59124 2013-03-18 Ondrej Bilka <neleai@seznam.cz>
59125
59126 * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
59127 implementation which is faster on all x86_64 architectures.
59128 Tested on AMD, Intel Nehalem, SNB, IVB.
59129 * sysdeps/x86_64/strnlen.S: Likewise.
59130
59131 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
59132 Remove all multiarch strlen and strnlen versions.
59133 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
59134 Remove strlen and strnlen related parts.
59135
59136 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
59137 Inline strlen part.
59138 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
59139
59140 * sysdeps/x86_64/multiarch/strlen.S: Remove.
59141 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
59142 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
59143 * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
59144 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
59145 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
59146
59147 2013-03-17 Carlos O'Donell <carlos@redhat.com>
59148
59149 * manual/memory.texi (Malloc Tunable Parameters):
59150 Sort parameters alphabetically. Add comments for missing entries.
59151
59152 2013-03-17 David S. Miller <davem@davemloft.net>
59153
59154 * sysdeps/sparc/fpu/libm-test-ulps: Update.
59155
59156 2013-03-16 Joseph Myers <joseph@codesourcery.com>
59157
59158 [BZ #15283]
59159 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
59160 for arguments at most half maximum finite value.
59161 * math/libm-test.inc (j0_test): Add more tests.
59162 (j1_test): Likewise.
59163 (y0_test): Likewise.
59164 (y1_test): Likewise.
59165 * sysdeps/i386/fpu/libm-test-ulps: Update.
59166 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
59167
59168 [BZ #14155]
59169 * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
59170 1 / x and functions P and Q for arguments above 0x1p256L.
59171 (__ieee754_y0l): Likewise.
59172 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
59173 (__ieee754_y1l): Likewise.
59174 * math/libm-test.inc (j0_test): Do not allow spurious underflows.
59175 (j1_test): Likewise.
59176 (y0_test): Likewise.
59177 (y1_test): Likewise.
59178
59179 2013-03-16 Thomas Schwinge <thomas@codesourcery.com>
59180
59181 * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
59182 variable.
59183
59184 2013-03-15 Roland McGrath <roland@hack.frob.com>
59185
59186 * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
59187 (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
59188 zero since it's initialized to EXEC_PAGESIZE.
59189
59190 * sysdeps/unix/sysv/linux/ldsodefs.h
59191 (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
59192 * sysdeps/generic/ldsodefs.h: ... here.
59193
59194 2013-03-15 Thomas Schwinge <thomas@codesourcery.com>
59195
59196 * math/libm-test.inc (ldexp_test): Add missing START/END markers.
59197
59198 * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
59199 math/test-snan.c.
59200 * math/test-snan.c: Renamed from
59201 sysdeps/powerpc/fpu/test-powerpc-snan.c.
59202 * math/Makefile (tests): Add test-snan.
59203 * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
59204 test-powerpc-snan.
59205
59206 * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
59207 SUFFIX. Initialize qNaN_var with __builtin_nan family of
59208 functions.
59209 (TEST_TRUNC): Add SUFFIX argument. Initialize qNaN_var with
59210 __builtin_nan family of functions.
59211 * math/libm-test.inc (initialize): Initialize qnan_value with
59212 __builtin_nan family of functions.
59213 * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
59214 Remove variables.
59215 (init_signaling_nan, snan_float, snan_double, snan_ldouble):
59216 Remove functions.
59217 (TEST_FUNC): Add SUFFIX argument. Move sNaN_var into static
59218 storage class. Initialize qNaN_var and sNaN_var with
59219 __builtin_nan and __builtin_nans families of functions,
59220 respectively.
59221
59222 * math/libm-test.inc (acosh_test): Also test with qNaN input.
59223 (sqrt_test): Remove duplicate test with qNaN input.
59224 (lrint_test, llrint_test, lround_test, llround_test, rint_test)
59225 (round_test, signbit_test, significand_test): Note missing +/-Inf
59226 as well as qNaN tests.
59227
59228 * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
59229 qNaN_var. Fix a few strings, too.
59230 * math/libm-test.inc (nan_value): Rename to qnan_value.
59231 * math/gen-libm-test.pl (%beautify): Adjust to that.
59232 * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
59233 * math/test-misc.c (main): Likewise.
59234 * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
59235 to __qnan_bytes, and __qnan_union, respectively.
59236 * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
59237 Likewise.
59238 * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
59239 and lqnanval, respectively.
59240 * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
59241 * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
59242 * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
59243 and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
59244
59245 * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
59246 * math/test-misc.c (main) [__x86_64__]: Enable test for long
59247 doubles.
59248
59249 * math/test-misc.c (main): Fix copy'n'pastos.
59250 * misc/tst-efgcvt.c (special): Likewise.
59251
59252 * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
59253 Remove declarations.
59254
59255 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
59256
59257 * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
59258 * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
59259 * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
59260 * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
59261
59262 2013-03-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59263
59264 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
59265 macro to return vdso values correctly in IFUNC implementations.
59266 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
59267 Optimization by using IFUNC.
59268
59269 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
59270 Richard Henderson <rth@redhat.com>
59271 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
59272
59273 * Makefile.in (bench): New target.
59274 * NEWS: Mention the benchmark framework.
59275 * Rules (bench): Likewise.
59276 (binaries-bench): Generate binaries for functions to
59277 benchmark.
59278 * benchtests/Makefile: New makefile for benchmark tests.
59279 * benchtests/bench-skeleton.c: New skeleton file for benchmark
59280 programs.
59281 * benchtests/exp-inputs: New input file for EXP function.
59282 * benchtests/pow-inputs: New input file for POW function.
59283 * scripts/bench.pl: New script to generate source files for
59284 benchmark programs.
59285
59286 2013-03-15 Siddhesh Poyarekar <siddhesh@redhat.com>
59287
59288 * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
59289 * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
59290 computations on mantissa. Use macros for rounding and
59291 division.
59292 (denorm): Likewise.
59293 (__dbl_mp): Likewise.
59294 (add_magnitudes): Likewise.
59295 (sub_magnitudes): Likewise.
59296 (__mul): Likewise.
59297 (__sqr): Likewise.
59298 * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h. Define
59299 powers of two in terms of TWOPOW macro.
59300 (mp_no): Make type of mantissa as MANTISSA_T.
59301 [!RADIXI]: Define RADIXI.
59302 [!TWO52]: Define TWO52.
59303 * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
59304
59305 * manual/nptl.texi (cindex): Modify threads to pthreads.
59306
59307 2013-03-15 Joseph Myers <joseph@codesourcery.com>
59308
59309 * sysdeps/x86_64/preconfigure: Regenerated.
59310
59311 2013-03-14 Joseph Myers <joseph@codesourcery.com>
59312
59313 [BZ #14155]
59314 * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
59315 0x1p28 and above.
59316 (qzero): Return -0.125 / x for arguments 0x1p28 and above.
59317 * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
59318 0x1p28 and above.
59319 (qzero): Return 0.375 / x for arguments 0x1p28 and above.
59320 * math/libm-test.inc (j0_test): Do not allow one spurious
59321 underflow exception.
59322 (y1_test): Likewise.
59323
59324 2013-03-14 Siddhesh Poyarekar <siddhesh@redhat.com>
59325
59326 * manual/Makefile (chapters): Add nptl.
59327 * manual/debug.texi (Debugging Support): Add link to Threads
59328 chapter.
59329 * manual/nptl.texi: New file.
59330
59331 * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
59332
59333 2013-03-14 Petr Baudis <pasky@ucw.cz>
59334
59335 * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
59336 for non-NULL pointer before the memory validity test. Pointed
59337 out by Holger Brunck <holger.brunck@keymile.com>.
59338
59339 2013-03-13 Andreas Schwab <schwab@suse.de>
59340
59341 * extra-lib.mk (extra-objs): Add static-only-routines as .oS
59342 instead of .os.
59343
59344 2013-03-13 Joseph Myers <joseph@codesourcery.com>
59345
59346 * timezone/zic.c: Update from tzcode 2013b.
59347
59348 2013-03-12 Carlos O'Donell <carlos@redhat.com>
59349
59350 * manual/install.texi (Configuring and compiling):
59351 Mention i686 and i586.
59352 * INSTALL: Regenerate.
59353
59354 2013-03-12 Roland McGrath <roland@hack.frob.com>
59355
59356 * sysdeps/init_array/elf-init.c: New file.
59357 * csu/elf-init.c
59358 (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
59359 (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
59360
59361 * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
59362 __gmon_start__ as global, but as static with a .preinit_array pointer.
59363 * sysdeps/init_array/gmon-start.c: New file. Use that.
59364 * sysdeps/init_array/crti.S: New file, empty except for comments.
59365 * sysdeps/init_array/crtn.S: Likewise.
59366
59367 2013-03-11 Ondřej Bílka <neleai@seznam.cz>
59368
59369 * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
59370 definining bcopy.
59371 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
59372 Remove Prefer_SSE_for_memop.
59373 * sysdeps/x86_64/multiarch/init-arch.h: Remove
59374 bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
59375 HAS_PREFER_SSE_FOR_MEMOP.
59376 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
59377 memset-x86-64.
59378 * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
59379 Remove bzero, memset ifunc support.
59380 * sysdeps/x86_64/multiarch/bzero.S: Remove file.
59381 * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
59382 * sysdeps/x86_64/multiarch/memset.S: Likewise.
59383 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
59384
59385 2013-03-11 Andreas Schwab <schwab@suse.de>
59386
59387 [BZ #15234]
59388 * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
59389 by SHLIB_COMPAT.
59390 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
59391 (GLIBC_2.16): Remove pthread_atfork.
59392
59393 2013-03-08 Paul Pluzhnikov <ppluzhnikov@google.com>
59394
59395 * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
59396 (ptestcases.h): Likewise.
59397
59398 2013-03-08 Roland McGrath <roland@hack.frob.com>
59399
59400 * Makeconfig ($(common-objpfx)config.status): Depend on
59401 sysdeps/*/preconfigure{,.in} too.
59402
59403 2013-03-08 Joseph Myers <joseph@codesourcery.com>
59404
59405 * malloc/malloc.h (__malloc_ptr_t): Remove macro.
59406 (__free_hook): Use void * instead of __malloc_ptr_t.
59407 (__malloc_hook): Likewise.
59408 (__realloc_hook): Likewise.
59409 (__memalign_hook): Likewise.
59410 (__after_morecore_hook): Likewise.
59411 * malloc/arena.c (save_malloc_hook): Likewise.
59412 (save_free_hook): Likewise.
59413 * malloc/hooks.c (malloc_hook_ini): Likewise.
59414 (realloc_hook_ini): Likewise.
59415 (memalign_hook_ini): Likewise.
59416 * malloc/malloc.c (malloc_hook_ini): Likewise.
59417 (realloc_hook_ini): Likewise.
59418 (memalign_hook_ini): Likewise.
59419 (__free_hook): Likewise.
59420 (__malloc_hook): Likewise.
59421 (__realloc_hook): Likewise.
59422 (__memalign_hook): Likewise.
59423 (__libc_malloc): Likewise.
59424 (__libc_free): Likewise.
59425 (__libc_realloc): Likewise.
59426 (__libc_memalign): Likewise.
59427 (__libc_valloc): Likewise.
59428 (__libc_pvalloc): Likewise.
59429 (__libc_calloc): Likewise.
59430 (__posix_memalign): Likewise.
59431 * malloc/morecore.c (__sbrk): Likewise.
59432 (__default_morecore): Likewise.
59433
59434 * malloc/morecore.c (__default_morecore): Use ISO C prototype.
59435
59436 * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
59437 * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
59438 __malloc_ptrdiff_t.
59439
59440 * malloc/malloc.h (__malloc_size_t): Remove macro.
59441 * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
59442 __malloc_size_t.
59443 (old_memalign_hook): Likewise.
59444 (old_realloc_hook): Likewise.
59445 (struct hdr): Likewise.
59446 (flood): Likewise.
59447 (mallochook): Likewise.
59448 (memalignhook): Likewise.
59449 (reallochook): Likewise.
59450 * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
59451 (tr_old_realloc_hook): Likewise.
59452 (tr_old_memalign_hook): Likewise.
59453 (tr_mallochook): Likewise.
59454 (tr_reallochook): Likewise.
59455 (tr_memalignhook): Likewise.
59456
59457 2013-03-08 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59458
59459 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
59460 default_ldbl_pack and using as default implementation.
59461 (ldbl_unpack): Rename to default_ldbl_unpack and using as default
59462 implementation.
59463 * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
59464 redundant definition.
59465 (ldbl_insert_mantissa): Likewise.
59466 (ldbl_canonicalize): Likewise.
59467 (ldbl_nearbyint): Likewise.
59468 (ldbl_pack): Rename to ldbl_pack_ppc.
59469 (ldbl_unpack): Rename to ldbl_unpack_ppc.
59470 * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
59471 * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
59472
59473 2013-03-08 Siddhesh Poyarekar <siddhesh@redhat.com>
59474
59475 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
59476 * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
59477 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
59478 * sysdeps/powerpc/power4/fpu/Makefile: ... here.
59479 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
59480 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
59481 * sysdeps/powerpc/powerpc32/power4/Implies: New file.
59482 * sysdeps/powerpc/powerpc64/power4/Implies: New file.
59483
59484 2013-03-07 Andreas Jaeger <aj@suse.de>
59485
59486 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
59487 bits/mman-linux.h.
59488
59489 2013-03-07 Siddhesh Poyarekar <siddhesh@redhat.com>
59490
59491 * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
59492 Include mpa.h and declare __MPEXP.
59493 [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
59494 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59495 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59496 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
59497 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59498 (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
59499 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
59500
59501 * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
59502 (__slowpow): Use long double EXPL and LOGL functions to
59503 compute POW.
59504 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
59505 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59506 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
59507 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
59508 (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
59509 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
59510
59511 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
59512 intermediate variable to calculate exponent.
59513 (__sqr): Likewise.
59514 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
59515 Likewise.
59516 (__sqr): Likewise.
59517
59518 * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
59519 [!NO__SQR]: Define __sqr.
59520 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
59521 and NO__SQR. Remove all code except __mul and __sqr. Include
59522 sysdeps/ieee754/dbl-64/mpa.c.
59523 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
59524
59525 [BZ #12723]
59526 * posix/Makefile (tests): Add tst-pathconf.
59527 * posix/tst-pathconf.c: New test case.
59528 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
59529 _PC_PIPE_BUF.
59530 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
59531
59532 2013-03-06 Patsy Franklin <pfrankli@redhat.com>
59533
59534 * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
59535
59536 2013-03-06 Andreas Jaeger <aj@suse.de>
59537
59538 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
59539 definition via __MAP_ANONYMOUS.
59540
59541 * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
59542 it's not part of Linux headers.
59543
59544 * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
59545 (MAP_HUGE_MASK): Define.
59546
59547 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59548 Define.
59549 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59550 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59551 Define.
59552 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59553 * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
59554 Define.
59555 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59556 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
59557 Define.
59558 (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
59559
59560 * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
59561 * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
59562 * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
59563 * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
59564 * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
59565 * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
59566
59567 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
59568 Handle f2fs.
59569
59570 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
59571 Handle f2fs and efivarfs.
59572
59573 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
59574 f2fs.
59575
59576 * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
59577 (EFIVARFS_MAGIC): Add.
59578 (F2FS_LINK_MAX): Add.
59579
59580 2013-03-06 Paul Pluzhnikov <ppluzhnikov@google.com>
59581
59582 * stdio-common/vfprintf.c: Replace __builtin_expect with
59583 __glibc_unlikely.
59584
59585 2013-03-06 Joseph Myers <joseph@codesourcery.com>
59586
59587 [BZ #13550]
59588 * sysdeps/generic/bp-sym.h: Remove file.
59589 * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
59590 * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
59591 <bp-sym.h> and <bp-asm.h>.
59592 (__longjmp): Don't use BP_SYM.
59593 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
59594 and <bp-asm.h>.
59595 (memcpy): Don't use BP_SYM.
59596 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
59597 <bp-sym.h> and <bp-asm.h>.
59598 (memcpy): Don't use BP_SYM.
59599 * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
59600 <bp-asm.h>.
59601 (memcpy): Don't use BP_SYM.
59602 * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
59603 <bp-asm.h>.
59604 (memset): Don't use BP_SYM.
59605 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59606 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59607 (__bzero): Don't use BP_SYM.
59608 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59609 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59610 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
59611 <bp-sym.h> and <bp-asm.h>.
59612 (memcmp): Don't use BP_SYM. Remove comment about bounded
59613 pointers.
59614 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
59615 <bp-sym.h> and <bp-asm.h>.
59616 (memcpy): Don't use BP_SYM.
59617 * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
59618 <bp-sym.h> and <bp-asm.h>.
59619 (memset): Don't use BP_SYM.
59620 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59621 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59622 (__bzero): Don't use BP_SYM.
59623 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59624 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59625 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
59626 <bp-sym.h> and <bp-asm.h>.
59627 (strncmp): Don't use BP_SYM. Remove comment about bounded
59628 pointers.
59629 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
59630 <bp-sym.h> and <bp-asm.h>.
59631 (memcpy): Don't use BP_SYM.
59632 * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
59633 <bp-sym.h> and <bp-asm.h>.
59634 (memset): Don't use BP_SYM.
59635 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59636 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59637 (__bzero): Don't use BP_SYM.
59638 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59639 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59640 * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
59641 <bp-sym.h> and <bp-asm.h>.
59642 (__memchr): Don't use BP_SYM.
59643 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
59644 <bp-sym.h> and <bp-asm.h>.
59645 (memcmp): Don't use BP_SYM. Remove comment about bounded
59646 pointers.
59647 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
59648 <bp-sym.h> and <bp-asm.h>.
59649 (memcpy): Don't use BP_SYM.
59650 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
59651 <bp-sym.h> and <bp-asm.h>.
59652 (__mempcpy): Don't use BP_SYM.
59653 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
59654 <bp-sym.h> and <bp-asm.h>.
59655 (__memrchr): Don't use BP_SYM.
59656 * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
59657 <bp-sym.h> and <bp-asm.h>.
59658 (memset): Don't use BP_SYM.
59659 (__bzero): Likewise.
59660 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
59661 <bp-sym.h> and <bp-asm.h>.
59662 (__rawmemchr): Don't use BP_SYM.
59663 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
59664 <bp-sym.h> and <bp-asm.h>.
59665 (__STRCMP): Don't use BP_SYM.
59666 * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
59667 <bp-sym.h> and <bp-asm.h>.
59668 (strchr): Don't use BP_SYM.
59669 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
59670 <bp-sym.h> and <bp-asm.h>.
59671 (__strchrnul): Don't use BP_SYM.
59672 * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
59673 <bp-sym.h> and <bp-asm.h>.
59674 (strlen): Don't use BP_SYM.
59675 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
59676 <bp-sym.h> and <bp-asm.h>.
59677 (strncmp): Don't use BP_SYM. Remove comment about bounded
59678 pointers.
59679 * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
59680 <bp-sym.h> and <bp-asm.h>.
59681 (__strnlen): Don't use BP_SYM.
59682 * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
59683 <bp-sym.h> and <bp-asm.h>.
59684 (__GI__setjmp): Don't use BP_SYM.
59685 (_setjmp): Likewise.
59686 (__sigsetjmp): Likewise.
59687 * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
59688 (L(start_addresses)): Don't use BP_SYM.
59689 (_start): Likewise.
59690 * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
59691 <bp-asm.h>.
59692 (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
59693 STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
59694 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59695 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59696 * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
59697 <bp-asm.h>.
59698 (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
59699 CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE. Remove comment
59700 about bounded pointers.
59701 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59702 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59703 * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
59704 <bp-asm.h>.
59705 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
59706 about bounded pointers. Remove GKM FIXME comments.
59707 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59708 * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
59709 <bp-asm.h>.
59710 (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
59711 STORE_RETURN_BOUNDS. Remove comment about bounded pointers.
59712 Remove GKM FIXME comments.
59713 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59714 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59715 * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
59716 <bp-asm.h>.
59717 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove comment
59718 about bounded pointers. Remove GKM FIXME comment.
59719 * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
59720 and <bp-asm.h>.
59721 (strncmp): Don't use BP_SYM. Remove comment about bounded
59722 pointers.
59723 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
59724 <bp-sym.h> and <bp-asm.h>.
59725 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59726 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
59727 <bp-sym.h> and <bp-asm.h>.
59728 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
59729 comment.
59730
59731 2013-03-05 Paul Pluzhnikov <ppluzhnikov@google.com>
59732
59733 * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
59734 call free(NULL).
59735
59736 2013-03-05 David S. Miller <davem@davemloft.net>
59737
59738 * po/es.po: Update from translation team.
59739
59740 2013-03-05 Andreas Jaeger <aj@suse.de>
59741
59742 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
59743 <bits/mman-linux.h>.
59744 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59745 is fine.
59746 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
59747 <bits/mman-linux.h> to end of file.
59748 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59749 is fine.
59750 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
59751 <bits/mman-linux.h> to end of file.
59752 (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
59753 is fine.
59754 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
59755 <bits/mman-linux.h> to end of file.
59756
59757 * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
59758 (MCL_CURRENT, MCL_FUTURE): Define here.
59759
59760 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59761
59762 [BZ #15232]
59763 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
59764 attribute_hidden.
59765 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
59766
59767 2013-03-05 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
59768
59769 * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
59770 fourth parameter needed for rt_sigprocmask syscall.
59771 * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
59772 * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
59773 * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
59774 * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
59775 * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
59776 * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
59777
59778 2013-03-04 Joseph Myers <joseph@codesourcery.com>
59779
59780 [BZ #13550]
59781 * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
59782 comment about bounded pointers.
59783 * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
59784 * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
59785
59786 2013-03-04 Andreas Jaeger <aj@suse.de>
59787
59788 * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
59789 common definitions.
59790
59791 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
59792 provided by bits/mman-linux.h and include <bits/mman-linux.h>.
59793 * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
59794 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
59795 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
59796 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
59797
59798 2013-03-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
59799
59800 [BZ #15055]
59801 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
59802 __ieee754_sqrl instead of __sqrl.
59803
59804 2013-03-01 Joseph Myers <joseph@codesourcery.com>
59805
59806 * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
59807 * sysdeps/powerpc/fpu_control.h: ... here.
59808 * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
59809 * sysdeps/powerpc/bits/fenvinline.h: ... here.
59810 * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
59811 * sysdeps/powerpc/bits/mathinline.h: ... here.
59812
59813 2013-03-01 Roland McGrath <roland@hack.frob.com>
59814
59815 * elf/dl-hwcaps.c (_dl_important_hwcaps):
59816 Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
59817 to just [NEED_DL_SYSINFO_DSO].
59818 * elf/dl-support.c: Likewise.
59819 * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
59820 * elf/rtld.c (dl_main): Likewise.
59821 * elf/setup-vdso.h (setup_vdso): Likewise.
59822 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
59823 * sysdeps/unix/sysv/linux/dl-sysdep.c
59824 (_dl_discover_osversion): Likewise.
59825
59826 2013-03-01 Carlos O'Donell <carlos@redhat.com>
59827
59828 * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
59829 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59830
59831 2013-03-01 Siddhesh Poyarekar <siddhesh@redhat.com>
59832
59833 * NEWS: Mention libm performance improvements and non-x86 PI
59834 futex support.
59835
59836 * csu/libc-start.c (__pthread_initialize_minimal): Change
59837 function arguments.
59838 * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
59839
59840 2013-02-28 Joseph Myers <joseph@codesourcery.com>
59841
59842 [BZ #13550]
59843 * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
59844 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Don't include
59845 <bp-sym.h> and <bp-asm.h>.
59846 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59847 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Don't include <bp-sym.h>
59848 and <bp-asm.h>.
59849 (memcpy): Don't use BP_SYM.
59850 * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
59851 <bp-asm.h>.
59852 (__mpn_add_n): Don't use BP_SYM.
59853 (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
59854 * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
59855 and <bp-asm.h>.
59856 (__mpn_addmul_1): Don't use BP_SYM.
59857 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59858 * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
59859 <bp-sym.h>.
59860 (_setjmp): Don't use BP_SYM.
59861 (__novmx_setjmp): Likewise.
59862 (__GI__setjmp): Likewise.
59863 (__vmx_setjmp): Likewise.
59864 * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
59865 <bp-sym.h>.
59866 * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
59867 (__bzero): Don't use BP_SYM.
59868 (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
59869 (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
59870 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
59871 <bp-sym.h> and <bp-asm.h>.
59872 (memcpy): Don't use BP_SYM.
59873 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
59874 <bp-sym.h> and <bp-asm.h>.
59875 (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59876 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
59877 <bp-sym.h> and <bp-asm.h>.
59878 (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
59879 * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
59880 <bp-asm.h>.
59881 (__mpn_lshift): Don't use BP_SYM.
59882 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59883 * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
59884 <bp-asm.h>.
59885 (memset): Don't use BP_SYM.
59886 (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
59887 (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
59888 * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
59889 <bp-asm.h>.
59890 (__mpn_mul_1): Don't use BP_SYM.
59891 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59892 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
59893 <bp-sym.h> and <bp-asm.h>.
59894 (memcmp): Don't use BP_SYM.
59895 * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
59896 <bp-sym.h> and <bp-asm.h>.
59897 (memcpy): Don't use BP_SYM.
59898 * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
59899 <bp-sym.h> and <bp-asm.h>.
59900 (memset): Don't use BP_SYM.
59901 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
59902 <bp-sym.h> and <bp-asm.h>.
59903 (strncmp): Don't use BP_SYM.
59904 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
59905 <bp-sym.h> and <bp-asm.h>.
59906 (memcpy): Don't use BP_SYM.
59907 * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
59908 <bp-sym.h> and <bp-asm.h>.
59909 (memset): Don't use BP_SYM.
59910 * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
59911 <bp-sym.h> and <bp-asm.h>.
59912 (__memchr): Don't use BP_SYM.
59913 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
59914 <bp-sym.h> and <bp-asm.h>.
59915 (memcmp): Don't use BP_SYM.
59916 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
59917 <bp-sym.h> and <bp-asm.h>.
59918 (memcpy): Don't use BP_SYM.
59919 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
59920 <bp-sym.h> and <bp-asm.h>.
59921 (__mempcpy): Don't use BP_SYM.
59922 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
59923 <bp-sym.h> and <bp-asm.h>.
59924 (__memrchr): Don't use BP_SYM.
59925 * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
59926 <bp-sym.h> and <bp-asm.h>.
59927 (memset): Don't use BP_SYM.
59928 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
59929 <bp-sym.h> and <bp-asm.h>.
59930 (__rawmemchr): Don't use BP_SYM.
59931 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
59932 <bp-sym.h> and <bp-asm.h>.
59933 (__STRCMP): Don't use BP_SYM.
59934 * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
59935 <bp-sym.h> and <bp-asm.h>.
59936 (strchr): Don't use BP_SYM.
59937 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
59938 <bp-sym.h> and <bp-asm.h>.
59939 (__strchrnul): Don't use BP_SYM.
59940 * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
59941 <bp-sym.h> and <bp-asm.h>.
59942 (strlen): Don't use BP_SYM.
59943 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
59944 <bp-sym.h> and <bp-asm.h>.
59945 (strncmp): Don't use BP_SYM.
59946 * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
59947 <bp-sym.h> and <bp-asm.h>.
59948 (__strnlen): Don't use BP_SYM.
59949 * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
59950 <bp-asm.h>.
59951 (__mpn_rshift): Don't use BP_SYM.
59952 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
59953 * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
59954 <bp-sym.h> and <bp-asm.h>.
59955 (__sigsetjmp): Don't use BP_SYM.
59956 * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
59957 (L(start_addresses)): Don't use BP_SYM.
59958 (_start): Likewise.
59959 * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
59960 <bp-asm.h>.
59961 (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
59962 (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59963 (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59964 * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
59965 <bp-asm.h>.
59966 (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
59967 (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
59968 (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
59969 * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
59970 <bp-asm.h>.
59971 (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
59972 comments.
59973 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
59974 * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
59975 <bp-asm.h>.
59976 (strcpy): Don't use BP_SYM and macros from bp-asm.h. Remove GKM
59977 FIXME comments.
59978 (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
59979 (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
59980 * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
59981 <bp-asm.h>.
59982 (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW. Remove GKM FIXME
59983 comment.
59984 * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
59985 and <bp-asm.h>.
59986 (strncmp): Don't use BP_SYM,
59987 * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
59988 <bp-asm.h>.
59989 (__mpn_sub_n): Don't use BP_SYM.
59990 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
59991 * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
59992 and <bp-asm.h>.
59993 (__mpn_submul_1): Don't use BP_SYM.
59994 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
59995 * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
59996 <bp-sym.h> and <bp-asm.h>.
59997 (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
59998 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
59999 <bp-sym.h> and <bp-asm.h>.
60000 (__clone): Don't use BP_SYM and DISCARD_BOUNDS. Remove GKM FIXME
60001 comment.
60002
60003 2013-02-28 Siddhesh Poyarekar <siddhesh@redhat.com>
60004
60005 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
60006 Use ZK to minimize writes to Z.
60007 (sub_magnitudes): Simplify code a bit.
60008 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
60009 Use ZK to minimize writes to Z.
60010 (sub_magnitudes): Simplify code a bit.
60011
60012 2013-02-27 Roland McGrath <roland@hack.frob.com>
60013
60014 * csu/gmon-start.c: Add special exception to license text.
60015
60016 2013-02-27 Richard Henderson <rth@redhat.com>
60017
60018 * scripts/config.guess: Update from config.git.
60019 * scripts/config.sub: Likewise.
60020
60021 2013-02-27 Siddhesh Poyarekar <siddhesh@redhat.com>
60022
60023 * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
60024
60025 * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
60026
60027 * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
60028
60029 * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
60030
60031 * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
60032
60033 2013-02-26 Roland McGrath <roland@hack.frob.com>
60034
60035 * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
60036 [$(build-shared = yes].
60037
60038 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
60039
60040 * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
60041 (__mul): Reduce iterations for calculating mantissa.
60042
60043 * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
60044 MPTWO.
60045 (__mpranred): Likewise.
60046
60047 [BZ #15160]
60048 * malloc/memusagestat.c (main): Draw graphs for heap and stack
60049 only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
60050
60051 2013-02-26 Paul Eggert <eggert@cs.ucla.edu>
60052
60053 * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
60054 Define __attribute__.
60055
60056 2013-02-26 Siddhesh Poyarekar <siddhesh@redhat.com>
60057
60058 * locale/elem-hash.h (elem_hash): Mark as pure and possibly
60059 unused.
60060 * posix/regex_internal.h (__attribute): Remove.
60061 [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
60062 (re_string_context_at): Likewise.
60063 (bitset_not): Use __attribute__ and mark function as possibly
60064 unused.
60065 (bitset_merge): Likewise.
60066 (bitset_mask): Likewise.
60067 (re_string_char_size_at): Likewise.
60068 (re_string_wchar_at): Likewise.
60069 (re_string_elem_size_at): Likewise.
60070
60071 2013-02-25 Siddhesh Poyarekar <siddhesh@redhat.com>
60072
60073 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
60074 code.
60075 (cc32): Likewise.
60076
60077 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
60078 (__acr): Likewise.
60079 (__cpy): Likewise.
60080 (norm): Likewise.
60081 (denorm): Likewise.
60082 (__dbl_mp): Likewise.
60083 (add_magnitudes): Likewise.
60084 (sub_magnitudes): Likewise.
60085 (__mul): Likewise.
60086 (__inv): Likewise.
60087
60088 * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
60089 style.
60090
60091 * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
60092 style.
60093
60094 * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
60095 code.
60096
60097 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
60098 up changes with default code.
60099 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
60100 Likewise.
60101
60102 2013-02-24 Allan McRae <allan@archlinux.org>
60103
60104 * manual/socket.texi (The Internet Namespace): Order menu items
60105 to match that in the file.
60106
60107 * manual/libc-texinfo.sh: Use @detailmenu around the detailed
60108 node listing of the info page menu.
60109
60110 2013-02-21 Joseph Myers <joseph@codesourcery.com>
60111
60112 [BZ #13550]
60113 * sysdeps/i386/bp-asm.h: Remove file.
60114 * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
60115 (PARMS): Do not use macros from bp-asm.h.
60116 (S1): Likewise.
60117 (S2): Likewise.
60118 (SIZE): Likewise.
60119 (__mpn_add_n): Do not use BP_SYM
60120 * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
60121 "bp-asm.h".
60122 (PARMS): Do not use macros from bp-asm.h.
60123 (S1): Likewise.
60124 (SIZE): Likewise.
60125 (__mpn_addmul_1): Do not use BP_SYM
60126 * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
60127 "bp-asm.h".
60128 (PARMS): Do not use macros from bp-asm.h.
60129 (SIGMSK): Likewise.
60130 (_setjmp): Likewise. Do not use BP_SYM.
60131 * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
60132 "bp-asm.h".
60133 (PARMS): Do not use macros from bp-asm.h.
60134 (SIGMSK): Likewise.
60135 (setjmp): Likewise. Do not use BP_SYM.
60136 * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
60137 "bp-asm.h".
60138 (PARMS): Do not use macros from bp-asm.h.
60139 (__frexp): Do not use BP_SYM.
60140 (frexp): Likewise.
60141 * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
60142 "bp-asm.h".
60143 (PARMS): Do not use macros from bp-asm.h.
60144 (__frexpf): Do not use BP_SYM.
60145 (frexpf): Likewise.
60146 * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
60147 "bp-asm.h".
60148 (PARMS): Do not use macros from bp-asm.h.
60149 (__frexpl): Do not use BP_SYM.
60150 (frexpl): Likewise.
60151 * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
60152 "bp-asm.h".
60153 (PARMS): Do not use macros from bp-asm.h.
60154 (__remquo): Do not use BP_SYM.
60155 (remquo): Likewise.
60156 * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
60157 "bp-asm.h".
60158 (PARMS): Do not use macros from bp-asm.h.
60159 (__remquof): Do not use BP_SYM.
60160 (remquof): Likewise.
60161 * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
60162 "bp-asm.h".
60163 (PARMS): Do not use macros from bp-asm.h.
60164 (__remquol): Do not use BP_SYM.
60165 (remquol): Likewise.
60166 * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
60167 "bp-asm.h".
60168 (PARMS): Do not use macros from bp-asm.h.
60169 (DEST): Likewise.
60170 (SRC): Likewise.
60171 (strcat): Remove GKM FIXME comment. Do not use BP_SYM.
60172 * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
60173 "bp-asm.h".
60174 (PARMS): Do not use macros from bp-asm.h.
60175 (strlen): Do not use BP_SYM.
60176 * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
60177 "bp-asm.h".
60178 (PARMS): Do not use macros from bp-asm.h.
60179 (S1): Likewise.
60180 (S2): Likewise.
60181 (SIZE): Likewise.
60182 (__mpn_add_n): Do not use BP_SYM.
60183 * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
60184 "bp-asm.h".
60185 (PARMS): Do not use macros from bp-asm.h.
60186 (S1): Likewise.
60187 (SIZE): Likewise.
60188 (__mpn_addmul_1): Do not use BP_SYM.
60189 * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
60190 weak_alias.
60191 (bzero): Likewise.
60192 * sysdeps/i386/i586/lshift.S: Do not include "bp-sym.h" and
60193 "bp-asm.h".
60194 (PARMS): Do not use macros from bp-asm.h.
60195 (S): Likewise.
60196 (SIZE): Likewise.
60197 (__mpn_lshift): Do not use BP_SYM.
60198 * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
60199 "bp-asm.h".
60200 (PARMS): Do not use macros from bp-asm.h.
60201 (DEST): Likewise.
60202 (SRC): Likewise.
60203 (LEN): Likewise.
60204 (memcpy): Likewise. Do not use BP_SYM.
60205 * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
60206 libc_hidden_def and weak_alias.
60207 (mempcpy): Do not use BP_SYM in weak_alias.
60208 * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
60209 "bp-asm.h".
60210 (PARMS): Do not use macros from bp-asm.h.
60211 (DEST): Likewise.
60212 (LEN): Likewise.
60213 [!BZERO_P] (CHR): Likewise.
60214 (memset): Likewise. Do not use BP_SYM.
60215 * sysdeps/i386/i586/mul_1.S: Do not include "bp-sym.h" and
60216 "bp-asm.h".
60217 (PARMS): Do not use macros from bp-asm.h.
60218 (S1): Likewise.
60219 (SIZE): Likewise.
60220 (__mpn_mul_1): Do not use BP_SYM.
60221 * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
60222 "bp-asm.h".
60223 (PARMS): Do not use macros from bp-asm.h.
60224 (S): Likewise.
60225 (SIZE): Likewise.
60226 (__mpn_rshift): Do not use BP_SYM.
60227 * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
60228 "bp-asm.h".
60229 (PARMS): Do not use macros from bp-asm.h.
60230 (STR): Likewise.
60231 (CHR): Likewise.
60232 (strchr): Likewise. Do not use BP_SYM.
60233 (index): Do not use BP_SYM in weak_alias.
60234 * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
60235 "bp-asm.h".
60236 (PARMS): Do not use macros from bp-asm.h.
60237 (DEST): Likewise.
60238 (SRC): Likewise.
60239 (STRCPY): Likewise. Remove GKM FIXME comment. Do not use BP_SYM.
60240 * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
60241 "bp-asm.h".
60242 (PARMS): Do not use macros from bp-asm.h.
60243 (strlen): Do not use BP_SYM.
60244 * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
60245 "bp-asm.h".
60246 (PARMS): Do not use macros from bp-asm.h.
60247 (S1): Likewise.
60248 (S2): Likewise.
60249 (SIZE): Likewise.
60250 (__mpn_sub_n): Do not use BP_SYM.
60251 * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
60252 "bp-asm.h".
60253 (PARMS): Do not use macros from bp-asm.h.
60254 (S1): Likewise.
60255 (SIZE): Likewise.
60256 (__mpn_submul_1): Do not use BP_SYM.
60257 * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
60258 "bp-asm.h".
60259 (PARMS): Do not use macros from bp-asm.h.
60260 (S1): Likewise.
60261 (S2): Likewise.
60262 (SIZE): Likewise.
60263 (__mpn_add_n): Do not use BP_SYM.
60264 * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
60265 weak_alias.
60266 (bzero): Likewise.
60267 * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
60268 "bp-asm.h".
60269 (PARMS): Do not use macros from bp-asm.h.
60270 (BLK2): Likewise.
60271 (LEN): Likewise.
60272 (memcmp): Do not use BP_SYM.
60273 (bcmp): Do not use BP_SYM in weak_alias.
60274 * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
60275 "bp-asm.h".
60276 (PARMS): Do not use macros from bp-asm.h.
60277 (DEST): Likewise.
60278 (SRC): Likewise.
60279 (LEN): Likewise.
60280 (memcpy): Likewise. Do not use BP_SYM.
60281 * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
60282 "bp-asm.h".
60283 (PARMS): Do not use macros from bp-asm.h.
60284 (DEST): Likewise.
60285 (SRC): Likewise.
60286 (LEN): Likewise.
60287 (memmove): Likewise. Do not use BP_SYM.
60288 * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
60289 "bp-asm.h".
60290 (PARMS): Do not use macros from bp-asm.h.
60291 (DEST): Likewise.
60292 (SRC): Likewise.
60293 (LEN): Likewise.
60294 (__mempcpy): Likewise. Do not use BP_SYM.
60295 (mempcpy): Do not use BP_SYM in weak_alias.
60296 * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
60297 "bp-asm.h".
60298 (PARMS): Do not use macros from bp-asm.h.
60299 (DEST): Likewise.
60300 (LEN): Likewise.
60301 [!BZERO_P] (CHR): Likewise.
60302 (memset): Likewise. Do not use BP_SYM.
60303 * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
60304 "bp-asm.h".
60305 (PARMS): Do not use macros from bp-asm.h.
60306 (STR2): Likewise.
60307 (strcmp): Do not use BP_SYM.
60308 * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
60309 "bp-asm.h".
60310 (PARMS): Do not use macros from bp-asm.h.
60311 (STR): Likewise.
60312 (DELIM): Likewise.
60313 [USE_AS_STRTOK_R] (SAVE): Likewise.
60314 (FUNCTION): Likewise. Do not use BP_SYM.
60315 * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
60316 aliases.
60317 (strtok_r): Likewise.
60318 (__GI___strtok_r): Likewise.
60319 * sysdeps/i386/lshift.S: Do not include "bp-sym.h" and "bp-asm.h".
60320 (PARMS): Do not use macros from bp-asm.h.
60321 (S): Likewise.
60322 (SIZE): Likewise.
60323 (__mpn_lshift): Do not use BP_SYM.
60324 * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
60325 (PARMS): Do not use macros from bp-asm.h.
60326 (STR): Likewise.
60327 (CHR): Likewise.
60328 (__memchr): Do not use BP_SYM.
60329 (memchr): Do not use BP_SYM in weak_alias.
60330 * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
60331 (PARMS): Do not use macros from bp-asm.h.
60332 (BLK2): Likewise.
60333 (LEN): Likewise.
60334 (memcmp): Do not use BP_SYM.
60335 (bcmp): Do not use BP_SYM in weak_alias.
60336 * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
60337 (PARMS): Do not use macros from bp-asm.h.
60338 (S1): Likewise.
60339 (SIZE): Likewise.
60340 (__mpn_mul_1): Do not use BP_SYM.
60341 * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
60342 "bp-asm.h".
60343 (PARMS): Do not use macros from bp-asm.h.
60344 (STR): Likewise.
60345 (CHR): Likewise.
60346 (__rawmemchr): Do not use BP_SYM.
60347 (rawmemchr): Do not use BP_SYM in weak_alias.
60348 * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
60349 (PARMS): Do not use macros from bp-asm.h.
60350 (S): Likewise.
60351 (SIZE): Likewise.
60352 (__mpn_rshift): Do not use BP_SYM.
60353 * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
60354 (PARMS): Do not use macros from bp-asm.h.
60355 (SIGMSK): Likewise.
60356 (__sigsetjmp): Likewise. Do not use BP_SYM.
60357 * sysdeps/i386/start.S: Do not include "bp-sym.h".
60358 (_start): Do not use BP_SYM.
60359 * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
60360 (PARMS): Do not use macros from bp-asm.h.
60361 (DEST): Likewise.
60362 (SRC): Likewise.
60363 (__stpcpy): Likewise. Do not use BP_SYM.
60364 (stpcpy): Do not use BP_SYM in weak_alias.
60365 * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
60366 "bp-asm.h".
60367 (PARMS): Do not use macros from bp-asm.h.
60368 (DEST): Likewise.
60369 (SRC): Likewise.
60370 (LEN): Likewise.
60371 (__stpncpy): Likewise. Do not use BP_SYM.
60372 (stpncpy): Do not use BP_SYM in weak_alias.
60373 * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
60374 (PARMS): Do not use macros from bp-asm.h.
60375 (STR): Likewise.
60376 (CHR): Likewise.
60377 (strchr): Likewise. Do not use BP_SYM.
60378 * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
60379 "bp-asm.h".
60380 (PARMS): Do not use macros from bp-asm.h.
60381 (STR): Likewise.
60382 (CHR): Likewise.
60383 (__strchrnul): Likewise. Do not use BP_SYM.
60384 (strchrnul): Do not use BP_SYM in weak_alias.
60385 * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
60386 "bp-asm.h".
60387 (PARMS): Do not use macros from bp-asm.h.
60388 (STOP): Likewise.
60389 (strcspn): Do not use BP_SYM.
60390 * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
60391 "bp-asm.h".
60392 (PARMS): Do not use macros from bp-asm.h.
60393 (STR): Likewise.
60394 (STOP): Likewise.
60395 (strpbrk): Likewise. Do not use BP_SYM.
60396 * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
60397 "bp-asm.h".
60398 (PARMS): Do not use macros from bp-asm.h.
60399 (STR): Likewise.
60400 (CHR): Likewise.
60401 (strrchr): Likewise. Do not use BP_SYM.
60402 * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
60403 (PARMS): Do not use macros from bp-asm.h.
60404 (SKIP): Likewise.
60405 (strspn): Do not use BP_SYM.
60406 * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
60407 (PARMS): Do not use macros from bp-asm.h.
60408 (STR): Likewise.
60409 (DELIM): Likewise.
60410 (SAVE): Likewise.
60411 (FUNCTION): Likewise. Do not use BP_SYM.
60412 * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
60413 aliases.
60414 (strtok_r): Likewise.
60415 (__GI___strtok_r): Likewise.
60416 * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
60417 (PARMS): Do not use macros from bp-asm.h.
60418 (S1): Likewise.
60419 (S2): Likewise.
60420 (SIZE): Likewise.
60421 (__mpn_sub_n): Do not use BP_SYM.
60422 * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
60423 "bp-asm.h".
60424 (PARMS): Do not use macros from bp-asm.h.
60425 (S1): Likewise.
60426 (SIZE): Likewise.
60427 (__mpn_submul_1): Do not use BP_SYM.
60428 * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
60429 <bp-sym.h>.
60430 * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
60431 and <bp-asm.h>.
60432 (PARMS): Do not use macros from bp-asm.h.
60433 (FLAGS): Likewise.
60434 (PTID): Likewise.
60435 (TLS): Likewise.
60436 (CTID): Likewise.
60437 (__clone): Do not use BP_SYM.
60438 (clone): Do not use BP_SYM in weak_alias.
60439 * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
60440 and <bp-asm.h>.
60441 (PARMS): Do not use macros from bp-asm.h.
60442 (LEN): Likewise.
60443 (__mmap64): Do not use BP_SYM.
60444 (mmap64): Do not use BP_SYM in weak_alias.
60445 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
60446 <bp-sym.h> and <bp-asm.h>.
60447 (PARMS): Do not use macros from bp-asm.h.
60448 (__posix_fadvise64_l64): Do not use BP_SYM.
60449 * sysdeps/unix/sysv/linux/i386/semtimedop.S
60450 (PARMS): Do not use macros from bp-asm.h.
60451 (NSOPS): Likewise.
60452 (semtimedop): Do not use BP_SYM.
60453 * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
60454 and <bp-asm.h>.
60455
60456 2013-02-21 Allan McRae <allan@archlinux.org>
60457
60458 * manual/message.texi (Charset conversion in gettext):
60459 Move @end statement to beginning of line.
60460
60461 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
60462
60463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
60464 static.
60465 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
60466 Likewise.
60467
60468 * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
60469 (denorm): Likewise.
60470 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
60471 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
60472
60473 2013-02-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60474
60475 * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
60476 tail-call to the resolved function if pltexit isn't needed.
60477
60478 2013-02-21 Siddhesh Poyarekar <siddhesh@redhat.com>
60479
60480 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
60481 or Y being zero as being unlikely.
60482 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
60483 Likewise.
60484
60485 2013-02-20 Carlos O'Donell <carlos@redhat.com>
60486
60487 * manual/nss.texi (System Databases and Name Service Switch):
60488 Remove frobnicate @pxref.
60489
60490 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
60491
60492 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60493 __attribute__ ((unused)) to __attribute__ ((__unused__)).
60494
60495 2013-02-20 Petr Machata <pmachata@redhat.com>
60496
60497 * elf/elf.h (R_ARM_TARGET1): New macro.
60498 (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
60499 (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
60500 (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
60501 (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
60502 (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
60503 (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
60504 (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
60505 (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
60506 (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
60507 (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
60508 (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
60509 (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
60510 (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
60511 (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
60512 (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
60513 (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
60514 (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
60515 (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
60516 (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
60517 (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
60518 (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
60519 (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
60520 (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
60521 (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
60522 (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
60523 (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
60524 (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
60525 (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
60526 (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
60527 (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
60528 (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
60529 (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
60530 (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
60531 (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
60532 (R_ARM_THM_GOT_BREL12): Likewise.
60533 (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
60534 (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
60535 (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
60536 (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
60537 (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
60538 (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
60539 (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
60540 (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
60541 (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
60542
60543 2013-02-20 Thomas Schwinge <thomas@codesourcery.com>
60544
60545 * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
60546 __attribute_used__ to __attribute__ ((unused)).
60547
60548 2013-02-20 Siddhesh Poyarekar <siddhesh@redhat.com>
60549
60550 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
60551 powerpc mpa.c.
60552 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
60553 comment formatting.
60554 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
60555
60556 2013-02-19 Joseph Myers <joseph@codesourcery.com>
60557
60558 [BZ #13550]
60559 * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
60560 Remove macro.
60561 (ENTER): Remove both macro definitions.
60562 (LEAVE): Likewise.
60563 (CHECK_BOUNDS_LOW): Likewise.
60564 (CHECK_BOUNDS_HIGH): Likewise.
60565 (CHECK_BOUNDS_BOTH): Likewise.
60566 (CHECK_BOUNDS_BOTH_WIDE): Likewise.
60567 (RETURN_BOUNDED_POINTER): Likewise.
60568 (RETURN_NULL_BOUNDED_POINTER): Likewise.
60569 (PUSH_ERRNO_LOCATION_RETURN): Likewise.
60570 (POP_ERRNO_LOCATION_RETURN): Likewise.
60571 * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
60572 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60573 * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
60574 macros.
60575 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60576 * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
60577 * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
60578 * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
60579 * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
60580 * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
60581 * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
60582 * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
60583 * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
60584 * sysdeps/i386/i486/strcat.S (strcat): Likewise.
60585 * sysdeps/i386/i486/strlen.S (strlen): Likewise.
60586 * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
60587 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60588 * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
60589 removed macros.
60590 (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60591 * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
60592 macros.
60593 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60594 * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
60595 * sysdeps/i386/i586/memset.S (memset): Likewise.
60596 * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
60597 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60598 * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
60599 macros.
60600 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60601 * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
60602 Change uses of L(2) to L(out).
60603 * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
60604 * sysdeps/i386/i586/strlen.S (strlen): Likewise.
60605 * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
60606 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60607 * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
60608 removed macros.
60609 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60610 * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
60611 macros.
60612 (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60613 * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
60614 (RETURN): Do not use macro LEAVE.
60615 * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
60616 * sysdeps/i386/i686/memmove.S (memmove): Likewise.
60617 * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
60618 * sysdeps/i386/i686/memset.S (memset): Likewise.
60619 * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
60620 (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
60621 (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
60622 * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
60623 Likewise.
60624 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60625 (FUNCTION): Do not use removed macros. Combine labels L(1_1),
60626 L(1_2) and L(1_3) into L(1).
60627 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60628 * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
60629 (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60630 * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
60631 (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
60632 * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
60633 * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
60634 (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60635 * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
60636 macros.
60637 * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
60638 (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
60639 * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
60640 * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
60641 * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
60642 (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
60643 * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
60644 * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
60645 * sysdeps/i386/strcspn.S (strcspn): Likewise.
60646 * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
60647 * sysdeps/i386/strrchr.S (strrchr): Likewise.
60648 * sysdeps/i386/strspn.S (strspn): Likewise.
60649 * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
60650 conditional code.
60651 (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
60652 (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
60653 (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
60654 (FUNCTION): Do not use removed macros. Combine labels L(1_2) and
60655 L(1_3) into L(1_1).
60656 * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
60657 (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
60658 * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
60659 macros.
60660 (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
60661
60662 2013-02-19 Jakub Jelinek <jakub@redhat.com>
60663
60664 * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
60665 macro.
60666
60667 2013-02-19 Siddhesh Poyarekar <siddhesh@redhat.com>
60668
60669 * math/atest-exp.c (exp_mpn): Remove ROUND.
60670 * math/atest-exp2.c (exp_mpn): Likewise.
60671 * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
60672
60673 * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
60674 * stdlib/tst-tls-atexit-lib.c: Likewise.
60675 * stdlib/tst-tls-atexit.c: Likewise.
60676
60677 2013-02-18 Mike Frysinger <vapier@gentoo.org>
60678
60679 * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
60680 and __attribute_alloc_size__.
60681
60682 2013-02-18 Mike Frysinger <vapier@gentoo.org>
60683
60684 * include/programs/xmalloc.h: Change __attribute_alloc_size to
60685 __attribute_alloc_size__.
60686 * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
60687 * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
60688
60689 2013-02-18 Mike Frysinger <vapier@gentoo.org>
60690
60691 * include/programs/xmalloc.h: New file.
60692 * catgets/gencat.c: Include it.
60693 (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
60694 * elf/pldd.c: Likewise.
60695 * iconv/iconv_charmap.c: Likewise.
60696 * iconv/iconvconfig.c: Likewise.
60697 * iconv/strtab.c: Likewise.
60698 * locale/programs/locale.c: Likewise.
60699 * locale/programs/localedef.h: Likewise.
60700 * locale/programs/simple-hash.c: Likewise.
60701 * nscd/nscd.h: Likewise.
60702 * nss/makedb.c: Likewise.
60703 * sysdeps/generic/ldconfig.h: Likewise.
60704
60705 2013-02-18 Siddhesh Poyarekar <siddhesh@redhat.com>
60706
60707 * Versions.def: Add GLIBC_2.18.
60708 * include/link.h (struct link_map): New member l_tls_dtor_count.
60709 * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
60710 (__call_tls_dtors): Likewise.
60711 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
60712 __cxa_thread_atexit_impl.
60713 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
60714 Likewise.
60715 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
60716 Likewise.
60717 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
60718 Likewise.
60719 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
60720 Likewise.
60721 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
60722 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
60723 Likewise.
60724 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
60725 Likewise.
60726 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
60727 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
60728 Likewise.
60729 * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
60730 (tests): Add test case tst-tls-atexit.
60731 (modules-names): Add shared library for tst-tls-atexit.
60732 * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
60733 (GLIBC_PRIVATE): Add __call_tls_dtors.
60734 * stdlib/cxa_thread_atexit_impl.c: New file with helper function
60735 for libstdc++.
60736 * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
60737 * stdlib/tst-tls-atexit.c: New test case.
60738 * stdlib/tst-tls-atexit-lib.c: New test case.
60739
60740 * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
60741
60742 * elf/Versions (ld): Add _dl_find_dso_for_object.
60743 * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
60744 * elf/dl-open.c (_dl_find_dso_for_object): New function.
60745 (dl_open_worker): Use _dl_find_dso_for_object.
60746 * elf/dl-sym.c (do_sym): Likewise.
60747 * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
60748
60749 2013-02-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
60750
60751 * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
60752 Syntactic changes only.
60753 (_dl_runtime_profile): Do a tail-call to the resolved function.
60754
60755 2013-02-17 Joseph Myers <joseph@codesourcery.com>
60756
60757 [BZ #13550]
60758 * sysdeps/x86_64/bp-asm.h: Remove file.
60759 * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
60760 <bp-sym.h> and <bp-asm.h>.
60761 (__clone): Do not use BP_SYM.
60762 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
60763 <bp-sym.h> and <bp-asm.h>.
60764 * sysdeps/unix/x86_64/sysdep.S: Likewise.
60765 * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
60766 "bp-asm.h".
60767 (_setjmp): Do not use BP_SYM.
60768 * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
60769 "bp-asm.h".
60770 (setjmp): Do not use BP_SYM.
60771 * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
60772 libc_hidden_def.
60773 (mempcpy): Do not use BP_SYM in weak_alias.
60774 * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
60775 "bp-asm.h".
60776 (strchr): Do not use BP_SYM.
60777 * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
60778 "bp-asm.h".
60779 * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
60780 * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
60781 (_start): Do not use BP_SYM.
60782 * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
60783 "bp-asm.h".
60784 (strcat): Do not use BP_SYM.
60785 * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
60786 "bp-asm.h".
60787 (STRCMP): Do not use BP_SYM.
60788 * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
60789 "bp-asm.h".
60790 (STRCPY): Do not use BP_SYM.
60791 * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
60792 "bp-asm.h".
60793 * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
60794 "bp-asm.h".
60795 (FUNCTION): Do not use BP_SYM.
60796 * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
60797 weak_alias.
60798 (__GI___strtok_r): Do not use BP_SYM in strong_alias.
60799
60800 2013-02-17 Andreas Jaeger <aj@suse.de>
60801
60802 * time/Versions: Sort entries.
60803 * string/Versions: Likewise.
60804 * resolv/Versions: Likewise.
60805 * posix/Versions: Likewise.
60806 * iconv/Versions: Likewise.
60807 * elf/Versions: Likewise.
60808 * wcsmbs/Versions: Likewise.
60809
60810 2013-02-15 Siddhesh Poyarekar <siddhesh@redhat.com>
60811
60812 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
60813 loop termination condition.
60814
60815 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
60816 variable to calculate EZ.
60817 (__sqr): Likewise.
60818
60819 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
60820 the lower precision input.
60821
60822 2013-02-15 Joseph Myers <joseph@codesourcery.com>
60823
60824 [BZ #13550]
60825 * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
60826 [!link-extra-libs] (link-extra-libs-bounded): Likewise.
60827 (run-via-rtld-prefix): Do not handle %-bp tests.
60828 (test-via-rtld-prefix): Do not mention %-bp tests in comment.
60829 (all-object-suffixes): Remove .ob.
60830 (bppfx): Remove variable.
60831 [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
60832 [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
60833 [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
60834 [$(build-bounded) = yes] (libtype.ob): Likewise.
60835 * Makerules (elide-routines.ob): Remove variable.
60836 (do-tests-clean): Do not handle *-bp.out.
60837 (common-mostlyclean): Do not handle *-bp and *-bp.out.
60838 * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
60839 [$(build-bounded) = yes] (xtests-bp.out): Likewise.
60840 (tests): Do not include $(tests-bp.out).
60841 (xtests): Do not include $(xtests-bp.out).
60842 [$(build-bounded) = yes] (binaries-bounded): Remove variable.
60843 [$(build-bounded) = yes] ($(addprefix
60844 $(objpfx),$(binaries-bounded))): Remove rule.
60845 ($(objpfx)%-bp.out): Remove rule.
60846 * config.make.in (build-bounded): Remove variable.
60847 * crypt/Makefile [$(build-bounded) = yes]
60848 ($(tests:%=$(objpfx)%-bp)): Remove dependency.
60849 * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
60850 append to variable.
60851 [$(build-bounded) = yes] (install-lib): Likewise.
60852 [$(build-bounded) = yes] (generated): Likewise.
60853 [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
60854 Remove rule.
60855 * intl/Makefile [$(build-bounded) = yes]
60856 ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
60857 * math/Makefile [$(build-bounded) = yes]
60858 ($(tests:%=$(objpfx)%-bp): Likewise.
60859 * misc/Makefile [$(build-bounded) = yes]
60860 ($(objpfx)tst-tsearch-bp): Likewise.
60861 * nptl/Makeconfig (bounded-thread-library): Remove variable.
60862 * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
60863 Remove dependency.
60864 * string/Makefile (o-objects.ob): Remove variable.
60865 * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
60866 (CFLAGS-.ob): Remove variable.
60867 [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
60868 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
60869 both definitions of variable.
60870 * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
60871 (ASFLAGS-.ob): Remove variable.
60872
60873 2013-02-14 Joseph Myers <joseph@codesourcery.com>
60874
60875 [BZ #13550]
60876 * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
60877 Remove __BOUNDED_POINTERS__ from condition.
60878 * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
60879 * string/bits/string2.h [!__NO_STRING_INLINES &&
60880 !__BOUNDED_POINTERS__]: Likewise.
60881 * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
60882 Likewise.
60883 * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
60884 Remove conditional code.
60885 * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
60886 __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
60887 !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
60888 condition.
60889
60890 [BZ #13550]
60891 * csu/libc-start.c: Do not include <bp-sym.h>.
60892 [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
60893 * elf/dl-open.c: Do not include <bp-sym.h>.
60894 (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
60895 * math/fegetenv.c: Do not include <bp-sym.h>.
60896 (fegetenv): Do not use BP_SYM in versioned symbols.
60897 * nptl/sysdeps/pthread/bits/libc-lockP.h
60898 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
60899 <bp-sym.h>.
60900 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60901 (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
60902 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60903 (__pthread_mutex_destroy): Likewise.
60904 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60905 (__pthread_mutex_lock): Likewise.
60906 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60907 (__pthread_mutex_trylock): Likewise.
60908 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60909 (__pthread_mutex_unlock): Likewise.
60910 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60911 (__pthread_mutexattr_init): Likewise.
60912 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60913 (__pthread_mutexattr_destroy): Likewise.
60914 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60915 (__pthread_mutexattr_settype): Likewise.
60916 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60917 (__pthread_rwlock_init): Likewise.
60918 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60919 (__pthread_rwlock_destroy): Likewise.
60920 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60921 (__pthread_rwlock_rdlock): Likewise.
60922 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60923 (__pthread_rwlock_tryrdlock): Likewise.
60924 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60925 (__pthread_rwlock_wrlock): Likewise.
60926 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60927 (__pthread_rwlock_trywrlock): Likewise.
60928 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60929 (__pthread_rwlock_unlock): Likewise.
60930 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60931 (__pthread_key_create): Likewise.
60932 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60933 (__pthread_setspecific): Likewise.
60934 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60935 (__pthread_getspecific): Likewise.
60936 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
60937 Likewise.
60938 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60939 (_pthread_cleanup_push_defer): Likewise.
60940 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60941 (_pthread_cleanup_pop_restore): Likewise.
60942 [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
60943 (pthread_setcancelstate): Likewise.
60944 * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
60945 <bp-sym.h>.
60946 [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
60947 (memchr): Do not use BP_SYM in weak_alias.
60948 * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
60949 (fegetenv): Do not use BP_SYM in versioned symbols.
60950 * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
60951 (fesetenv): Do not use BP_SYM in versioned symbols.
60952 * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60953 (feupdateenv): Do not use BP_SYM in versioned symbols.
60954 * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60955 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60956 * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
60957 (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
60958 (open64): Do not use BP_SYM in weak_alias.
60959 * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
60960 (fegetenv): Do not use BP_SYM in versioned symbols.
60961 * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
60962 (fesetenv): Do not use BP_SYM in versioned symbols.
60963 * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
60964 (feupdateenv): Do not use BP_SYM in versioned symbols.
60965 * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
60966 (fegetexceptflag): Do not use BP_SYM in versioned symbols.
60967 * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
60968 (feraiseexcept): Do not use BP_SYM in versioned symbols.
60969 * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
60970 (fesetexceptflag): Do not use BP_SYM in versioned symbols.
60971 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
60972 <bp-sym.h>.
60973 (__libc_start_main): Do not use BP_SYM.
60974
60975 2013-02-14 Siddhesh Poyarekar <siddhesh@redhat.com>
60976
60977 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
60978 redundant return line.
60979 (norm): Likewise.
60980 (denorm): Likewise.
60981 (dbl_mp): Likewise.
60982 (sub_magnitudes): Likewise.
60983 (__add): Likewise.
60984 (__sub): Likewise.
60985 (__mul): Likewise.
60986 (__inv): Likewise.
60987 (__dvd): Likewise.
60988 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
60989 (norm): Likewise.
60990 (denorm): Likewise.
60991 (dbl_mp): Likewise.
60992 (sub_magnitudes): Likewise.
60993 (__add): Likewise.
60994 (__sub): Likewise.
60995 (__mul): Likewise.
60996 (__inv): Likewise.
60997 (__dvd): Likewise.
60998
60999 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
61000 instead of __mul.
61001 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
61002 * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
61003 (cc32): Likewise.
61004
61005 * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
61006 * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
61007 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
61008 of __mul for squares.
61009 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
61010 function
61011 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
61012 Likewise.
61013 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
61014 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
61015
61016 2013-02-13 Joseph Myers <joseph@codesourcery.com>
61017
61018 [BZ #13550]
61019 * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
61020 code.
61021 * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
61022 prototype or function definition. Rename ubp_* variables and
61023 parameters. Remove argv definitions conditional on
61024 [__BOUNDED_POINTERS__].
61025 * debug/backtrace.c (__backtrace): Do not use __unbounded.
61026 * elf/dl-runtime.c (_dl_fixup): Likewise.
61027 * include/set-hooks.h (RUN_HOOK): Likewise.
61028 * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
61029 definition.
61030 * string/strcpy.c (strcpy): Do not use __unbounded.
61031 * sysdeps/generic/frame.h (struct layout): Likewise.
61032 * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
61033 * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
61034 * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
61035 * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
61036 * sysdeps/sparc/backtrace.c (struct layout): Likewise.
61037 (__backtrace): Likewise.
61038 * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
61039 use __ptrvalue.
61040 * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
61041 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
61042 * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
61043 Likewise.
61044 * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
61045 * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
61046 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
61047 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
61048 * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
61049 Do not use __unbounded.
61050 * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
61051 Rename __unboundedrlimits parameter to rlimits in prototype.
61052 * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
61053 Do not use __unbounded.
61054 * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
61055 not use __ptrvalue.
61056 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
61057 * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
61058 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
61059 * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
61060 __ptrvalue or __unbounded.
61061 (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
61062 * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
61063 use __unbounded.
61064 (__new_msgctl): Do not use __ptrvalue.
61065 * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
61066 __unbounded.
61067 (__libc_msgrcv): Do not use __ptrvalue.
61068 * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
61069 startup_info): Do not use __unbounded.
61070 (__libc_start_main): Likewise. Rename ubp_* variables and
61071 parameters. Remove argv definitions conditional on
61072 [__BOUNDED_POINTERS__].
61073 * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
61074 __ptrvalue.
61075 * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
61076 use __unbounded.
61077 * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
61078 or __ptrvalue.
61079 * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
61080 use __unbounded.
61081 (__new_shmctl): Do not use __ptrvalue.
61082 * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
61083 * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
61084 Likewise.
61085 * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
61086 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
61087 (__libc_sigaction): Likewise.
61088 * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
61089 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
61090 Likewise.
61091 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
61092
61093 2013-02-13 Ondřej Bílka <neleai@seznam.cz>
61094
61095 * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
61096
61097 * string/mempcpy.c: Implement by calling memcpy.
61098
61099 2013-02-13 Siddhesh Poyarekar <siddhesh@redhat.com>
61100
61101 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
61102
61103 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
61104 evaluation.
61105
61106 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
61107 values in the mantissa.
61108
61109 * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
61110 minimize writes to Z.
61111 (sub_magnitudes): Simplify code a bit.
61112
61113 2013-02-12 Roland McGrath <roland@hack.frob.com>
61114
61115 * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
61116 from the message. The linker prefixes all warnings with that already.
61117
61118 2013-02-12 Andreas Schwab <schwab@suse.de>
61119
61120 [BZ #15078]
61121 * posix/regexec.c (extend_buffers): Add parameter min_len.
61122 (check_matching): Pass minimum needed length.
61123 (clean_state_log_if_needed): Likewise.
61124 (get_subexp): Likewise.
61125 * posix/Makefile (tests): Add bug-regex34.
61126 (bug-regex34-ENV): Define.
61127 * posix/bug-regex34.c: New file.
61128
61129 [BZ #11561]
61130 * posix/regcomp.c (parse_bracket_exp): When looking up collating
61131 elements compare against the byte sequence of it, not its name.
61132 * posix/Makefile (tests): Add bug-regex35.
61133 (bug-regex35-ENV): Define.
61134 * posix/bug-regex35.c: New file.
61135
61136 2013-02-11 Tom de Vries <tom@codesourcery.com>
61137
61138 * string/str-two-way.h: Fix typo RESULT_TYPE -> RETURN_TYPE in
61139 comment.
61140 Add RET0_IF_0 and CHECK_EOL to macro list in comment.
61141 (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
61142 (CHECK_EOL): Add undef.
61143
61144 2013-02-11 Ondřej Bílka <neleai@seznam.cz>
61145
61146 * bits/stdlib-bsearch.h: New file.
61147 * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
61148 * stdlib/stdlib.h: Likewise.
61149
61150 2013-02-11 Roland McGrath <roland@hack.frob.com>
61151
61152 * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
61153 * manual/errno.texi (Error Messages): Fix typo in error_print_progname
61154 declaration.
61155 * manual/search.texi (Array Search Function): Add missing const in
61156 lfind prototype.
61157 * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
61158 declaration to use rlim_t.
61159 (Basic Scheduling Functions): Remove erroneous const from
61160 sched_getparam prototype. Remove erroneous * from
61161 sched_get_priority_max and sched_get_priority_min prototypes.
61162 (Resource Usage): Fix summary @comment on vtimes to refer to
61163 sys/vtimes.h rather than vtimes.h.
61164 Add missing *s in vtimes prototype.
61165 (Limits on Resources): Fix ulimit prototype to return long int.
61166 * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
61167 prototypes to use long int rather than double.
61168 (BSD Random): Fix initstate and setstate to use char *, not void *.
61169 * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
61170 prototype to make second argument 'struct aiocb64 *const[]'.
61171 Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
61172 (Status of AIO Operations): Remove erroneous const in aio_return and
61173 aio_return64 prototypes.
61174 (Synchronizing I/O): Fix sync prototype to return void.
61175 * manual/startup.texi (Suboptions): Remove an erroneous const in
61176 getsubopt prototype.
61177 * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
61178 * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
61179 use size_t rather than int.
61180 (Scanning All Users): Likewise for getpwent_r.
61181 (Setting Groups): Add missing const to setgroups prototype.
61182 * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
61183 * manual/socket.texi (Host Names): Fix gethostbyaddr and
61184 gethostbyaddr_r prototypes to use socklen_t rather than size_t and
61185 'const void *' rather than 'const char *'.
61186 (Host Address Functions): Likewise for inet_ntop.
61187 (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
61188 (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
61189 ssize_t for return value.
61190 (Sending Data): Likewise for send, sendto, sendmsg.
61191 (Socket Option Functions): Add a missing const in setsockopt prototype.
61192 * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
61193 use wchar_t for the argument.
61194 (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
61195 * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
61196 take no arguments.
61197 (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
61198 double/float/long double for second argument.
61199 Fix return types of significand, significandf, significandl.
61200 * manual/filesys.texi (Setting Permissions): Use mode_t for second
61201 argument in fchmod prototype.
61202 (File Owner): Use uid_t and gid_t in fchown prototype.
61203 (File Times): Add const to utimes, futimes, and lutimes prototypes.
61204 (Making Special Files): Use mode_t and dev_t in mknod prototype.
61205 (Scanning Directory Content): Fix scandir and scandir64 prototypes to
61206 use 'const struct dirent **' as argument types to CMP function pointer
61207 argument.
61208 (Symbolic Links): Fix readlink prototype with ssize_t as return value.
61209 (File Times): Fix summary magic @comment for struct utimbuf and utime
61210 to refer to utime.h, not time.h.
61211 * manual/string.texi (Argz Functions): Add missing const in
61212 argz_extract and argz_next prototypes.
61213 (Finding Tokens in a String): Likewise for basename.
61214 (String/Array Comparison): Fix typo in wcscasecmp prototype.
61215 (Copying and Concatenation): Fix typo in wmemmove prototype.
61216 * manual/signal.texi (Using Pause): Use (void) in pause prototype.
61217 (Signal Stack): Remove erroneous const in sigstack prototype.
61218 * manual/time.texi (Setting an Alarm): Add missing const in setitimer
61219 prototype.
61220 (Simple Calendar Time): Likewise for stime.
61221 * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
61222 prototype.
61223 * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
61224 say sys/sysctl.h instead.
61225 * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
61226 and vsyslog prototypes.
61227
61228 2013-02-11 Tom de Vries <tom@codesourcery.com>
61229
61230 * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
61231 Remove.
61232
61233 2013-02-11 Roland McGrath <roland@hack.frob.com>
61234
61235 * misc/sys/mman.h: Fix typo in mremap comment.
61236
61237 2013-02-08 Roland McGrath <roland@hack.frob.com>
61238
61239 * manual/examples/mkfsock.c (make_named_socket): Don't add one for
61240 the '\0' terminator.
61241
61242 2013-02-08 Joseph Myers <joseph@codesourcery.com>
61243
61244 [BZ #13550]
61245 * debug/segfault.c: Don't include <bp-checks.h>.
61246 * sysdeps/generic/bp-checks.h: Remove file.
61247 * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
61248 (__GETDENTS): Don't use CHECK_N.
61249 * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
61250 * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
61251 (__getgroups): Don't use CHECK_N.
61252 * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
61253 (setgroups): Don't use CHECK_N.
61254 * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
61255 * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
61256 (__libc_msgrcv): Don't use CHECK_N.
61257 * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
61258 (__libc_msgsnd): Don't use CHECK_N.
61259 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
61260 <bp-checks.h>.
61261 (__libc_pread): Don't use CHECK_N.
61262 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
61263 include <bp-checks.h>.
61264 (__libc_pread64): Don't use CHECK_N.
61265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
61266 include <bp-checks.h>.
61267 (__libc_pwrite): Don't use CHECK_N.
61268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
61269 include <bp-checks.h>.
61270 (__libc_pwrite64): Don't use CHECK_N.
61271 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
61272 <bp-checks.h>.
61273 (__libc_pread): Don't use CHECK_N.
61274 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
61275 include <bp-checks.h>.
61276 (__libc_pread64): Don't use CHECK_N.
61277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
61278 include <bp-checks.h>.
61279 (__libc_pwrite): Don't use CHECK_N.
61280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
61281 include <bp-checks.h>.
61282 (__libc_pwrite64): Don't use CHECK_N.
61283 * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
61284 (do_pread): Don't use CHECK_N.
61285 * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
61286 (do_pread64): Don't use CHECK_N.
61287 * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
61288 (do_pwrite): Don't use CHECK_N.
61289 * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
61290 (do_pwrite64): Don't use CHECK_N.
61291 * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
61292 (__libc_readv): Don't use CHECK_N.
61293 * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
61294 (semop): Don't use CHECK_N.
61295 * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
61296 <bp-checks.h>.
61297 (semtimedop): Don't use CHECK_N.
61298 * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
61299 (__libc_pread): Don't use CHECK_N.
61300 * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
61301 <bp-checks.h>.
61302 (__libc_pread64): Don't use CHECK_N.
61303 * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
61304 <bp-checks.h>.
61305 (__libc_pwrite): Don't use CHECK_N.
61306 * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
61307 <bp-checks.h>.
61308 (__libc_pwrite64): Don't use CHECK_N.
61309 * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
61310 <bp-checks.h>.
61311 (__libc_msgrcv): Don't use CHECK_N.
61312 * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
61313 (__sysctl): Don't use CHECK_N. Remove GKM FIXME comment.
61314 * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
61315 (__libc_writev): Don't use CHECK_N.
61316
61317 2013-02-08 Roland McGrath <roland@hack.frob.com>
61318
61319 * string/strcpy.c: Removed unused variable.
61320
61321 * Makeconfig (+sysdep-includes): Define with := rather than =.
61322 Use an existing include/ subdir of each sysdeps dir before it.
61323
61324 2013-02-08 Carlos O'Donell <carlos@redhat.com>
61325
61326 * nscd/connection.c (register_traced_file): Comment function.
61327 [HAVE_INOTIFY] (union __inev): Define.
61328 [HAVE_INOTIFY] (inotify_check_files): New function.
61329 [HAVE_INOTIFY] (clear_db_cache): Likewise.
61330 [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
61331 clear_db_cache.
61332 [HAVE_INOTIFY] (main_loop_epoll): Likewise.
61333
61334 2013-02-08 Carlos O'Donell <carlos@redhat.com>
61335
61336 * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
61337 loaded if not already and that a failure is permanent.
61338
61339 2013-02-08 Carlos O'Donell <carlos@redhat.com>
61340
61341 [BZ #15006]
61342 * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
61343 * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
61344
61345 2013-02-08 Joseph Myers <joseph@codesourcery.com>
61346
61347 [BZ #13550]
61348 * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
61349 (CHECK_1_NULL_OK): Likewise.
61350 * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
61351 (__fxstat): Do not use CHECK_1.
61352 * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
61353 <bp-checks.h>.
61354 (___fxstat64): Do not use CHECK_1.
61355 * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
61356 <bp-checks.h>.
61357 (__fxstatat): Do not use CHECK_1.
61358 * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
61359 <bp-checks.h>.
61360 (__fxstatat64): Do not use CHECK_1.
61361 * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
61362 <bp-checks.h>.
61363 (__fxstat): Do not use CHECK_1.
61364 * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
61365 <bp-checks.h>.
61366 (__fxstatat): Do not use CHECK_1.
61367 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
61368 <bp-checks.h>.
61369 (__getresgid): Do not use CHECK_1.
61370 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
61371 <bp-checks.h>.
61372 (__getresuid): Do not use CHECK_1.
61373 * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
61374 <bp-checks.h>.
61375 (__lxstat): Do not use CHECK_1.
61376 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
61377 <bp-checks.h>.
61378 (__old_msgctl): Do not use CHECK_1.
61379 (__new_msgctl): Likewise.
61380 * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
61381 <bp-checks.h>.
61382 (__new_setrlimit): Do not use CHECK_1.
61383 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
61384 <bp-checks.h>.
61385 (__old_shmctl): Do not use CHECK_1.
61386 (__new_shmctl): Likewise.
61387 * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
61388 <bp-checks.h>.
61389 (__xstat): Do not use CHECK_1.
61390 * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
61391 (__lxstat): Do not use CHECK_1.
61392 * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
61393 <bp-checks.h>.
61394 (___lxstat64): Do not use CHECK_1.
61395 * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
61396 (__old_msgctl): Do not use CHECK_1.
61397 (__new_msgctl): Likewise.
61398 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
61399 <bp-checks.h>.
61400 (__gettimeofday): Do not use CHECK_1.
61401 * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
61402 (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
61403 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
61404 <bp-checks.h>.
61405 (__gettimeofday): Do not use CHECK_1.
61406 * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
61407 (__old_shmctl): Do not use CHECK_1_NULL_OK.
61408 (__new_shmctl): Do not use CHECK_1.
61409 * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
61410 <bp-checks.h>.
61411 (do_sigtimedwait): Do not use CHECK_1.
61412 * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
61413 <bp-checks.h>.
61414 (do_sigwaitinfo): Do not use CHECK_1.
61415 * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
61416 <bp-checks.h>.
61417 (msgctl): Do not use CHECK_1.
61418 * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
61419 <bp-checks.h>.
61420 (shmctl): Do not use CHECK_1.
61421 * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
61422 (ustat): Do not use CHECK_1.
61423 * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
61424 <bp-checks.h>.
61425 (__fxstat): Do not use CHECK_1.
61426 * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
61427 <bp-checks.h>.
61428 (__fxstatat): Do not use CHECK_1.
61429 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
61430 <bp-checks.h>.
61431 (__lxstat): Do not use CHECK_1.
61432 * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
61433 <bp-checks.h>.
61434 (__xstat): Do not use CHECK_1.
61435 * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
61436 (__xstat): Do not use CHECK_1.
61437 * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
61438 (___xstat64): Do not use CHECK_1.
61439
61440 [BZ #13550]
61441 * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
61442 definitions.
61443 (CHECK_BOUNDS_HIGH): Likewise.
61444 * string/strcpy.c: Do not include <bp-checks.h>.
61445 (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
61446
61447 2013-02-07 Roland McGrath <roland@hack.frob.com>
61448
61449 * nscd/nscd-client.h (__nscd_drop_map_ref):
61450 Add __attribute__ ((unused)).
61451 * nis/nss-nisplus.h (niserr2nss): Likewise.
61452
61453 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
61454 under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
61455
61456 * csu/libc-tls.c (init_static_tls, init_slotinfo):
61457 Remove inline keyword.
61458 * include/rounding-mode.h (round_away): Likewise.
61459 * libio/wfileops.c (adjust_wide_data): Likewise.
61460 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
61461 (__m128i_strloadu_tolower): Likewise.
61462 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
61463 (__m128i_strloadu_tolower): Likewise.
61464 * time/mktime.c (ydhms_diff): Likewise.
61465 * locale/elem-hash.h (elem_hash): Likewise.
61466 * locale/setlocale.c (setdata): Likewise.
61467 * posix/regex_internal.h (re_string_char_size_at): Likewise.
61468 (re_string_wchar_at): Likewise.
61469 (bitset_not, bitset_merge, bitset_mask): Likewise.
61470 [!(__GNUC__ > 3)] (inline): Remove macro.
61471 * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
61472 * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
61473 * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
61474 (_dl_tlsdesc_wake_up_held_fixups): Likewise.
61475 * string/memcmp.c (memcmp_bytes): Likewise.
61476 * locale/programs/locarchive.c (compute_hashval): Likewise.
61477 * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
61478 * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
61479 * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
61480 * nss/getent.c (print_rpc, print_protocols): Likewise.
61481 (print_passwd, print_group, print_aliases): Likewise.
61482 * nis/nss-nisplus.h (niserr2nss): Likewise.
61483 * nscd/connections.c (restart_p): Likewise.
61484 Change return type to bool.
61485
61486 2013-02-05 Roland McGrath <roland@hack.frob.com>
61487
61488 * Makeconfig (all-Depend-files): Add existing
61489 $(sorted-subdirs:=/Depend) files.
61490 (all-subdirs): Remove nss.
61491 * sysdeps/unix/inet/Subdirs: Add it here instead.
61492 * hesiod/Depend: New file.
61493
61494 * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
61495 instead of calling alloca.
61496
61497 * io/lseek.c (__lseek): Rename to __libc_lseek.
61498 Define __lseek as an alias.
61499
61500 * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
61501
61502 2013-02-04 Carlos O'Donell <carlos@redhat.com>
61503
61504 * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
61505 else clause and remove check for non-standard endianness.
61506
61507 2013-02-04 David S. Miller <davem@davemloft.net>
61508
61509 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61510
61511 2013-02-04 Joseph Myers <joseph@codesourcery.com>
61512
61513 [BZ #13550]
61514 * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
61515 (__ubp_memchr): Remove prototype.
61516 [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
61517 [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61518 [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
61519 [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
61520 * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
61521 Remove alias.
61522 * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
61523 (__ubp_memchr): Likewise.
61524 * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
61525 (__ubp_memchr): Likewise.
61526 * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
61527 (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
61528 (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
61529 * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
61530 CHECK_STRING.
61531 * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
61532 * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
61533 (__getcwd): Do not use CHECK_STRING.
61534 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
61535 <bp-checks.h>.
61536 (__real_chown): Do not use CHECK_STRING.
61537 * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
61538 <bp-checks.h>.
61539 (fchownat): Do not use CHECK_STRING.
61540 * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
61541 CHECK_STRING.
61542 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
61543 <bp-checks.h>.
61544 (__lchown): Do not use CHECK_STRING.
61545 * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
61546 * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
61547 * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
61548 * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
61549 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
61550 include <bp-checks.h>.
61551 (truncate64): Do not use CHECK_STRING.
61552 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
61553 <bp-checks.h>.
61554 (__real_chown): Do not use CHECK_STRING.
61555 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
61556 <bp-checks.h>.
61557 (__lchown): Do not use CHECK_STRING.
61558 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
61559 <bp-checks.h>.
61560 (__chown): Do not use CHECK_STRING.
61561 * sysdeps/unix/sysv/linux/truncate64.c: Do not include
61562 <bp-checks.h>.
61563 (truncate64): Do not use CHECK_STRING.
61564 * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
61565 Likewise.
61566 * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
61567 (__xmknod): Do not use CHECK_STRING.
61568 * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
61569 <bp-checks.h>.
61570 (__xmknodat): Do not use CHECK_STRING.
61571 * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
61572 * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
61573
61574 2013-02-04 Andreas Schwab <schwab@suse.de>
61575
61576 [BZ #14142]
61577 * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
61578 * include/netdb.h: Likewise for h_errno.
61579 * elf/tst-stackguard1.c: Include <tls.h>.
61580
61581 2013-02-02 Jan Kratochvil <jan.kratochvil@redhat.com>
61582
61583 * elf/link.h (struct link_map): Extend the l_addr comment.
61584 * include/link.h (struct link_map): Likewise.
61585
61586 2013-02-01 Joseph Myers <joseph@codesourcery.com>
61587
61588 [BZ #13550]
61589 * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
61590 (BOUNDED_1): Remove macro.
61591 * debug/backtrace.c: Don't include <bp-checks.h>.
61592 (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
61593 (__backtrace): Likewise.
61594 * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
61595 <bp-checks.h>.
61596 (__backtrace): Don't use BOUNDED_1.
61597 * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
61598 <bp-checks.h>.
61599 (__backtrace): Don't use BOUNDED_1.
61600 * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
61601 (__backtrace): Don't use BOUNDED_1.
61602 * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
61603 (shmat): Don't use BOUNDED_N.
61604
61605 2013-01-31 Joseph Myers <joseph@codesourcery.com>
61606
61607 [BZ #13550]
61608 * sysdeps/generic/bp-start.h: Remove file.
61609 * csu/libc-start.c: Don't include <bp-start.h>.
61610 (LIBC_START_MAIN): Set up __environ directly instead of using
61611 INIT_ARGV_and_ENVIRON.
61612 * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
61613 <bp-start.h>.
61614
61615 [BZ #13550]
61616 * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
61617 definitions.
61618 (CHECK_FCNTL): Likewise.
61619 (CHECK_N_PAGES): Likewise.
61620
61621 [BZ #13550]
61622 * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
61623 definitions.
61624 (CHECK_SIGSET_NULL_OK): Likewise.
61625 * sysdeps/unix/sysv/linux/sigpending.c: Don't include
61626 <bp-checks.h>.
61627 (sigpending): Don't use CHECK_SIGSET.
61628 * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
61629 <bp-checks.h>.
61630 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61631 * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
61632 <bp-checks.h>.
61633 (do_sigsuspend): Don't use CHECK_SIGSET.
61634 * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
61635 use CHECK_SIGSET.
61636 * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
61637 (do_sigwait): Don't use CHECK_SIGSET.
61638 * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
61639 use CHECK_SIGSET.
61640 * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
61641 include <bp-checks.h>.
61642 (sigpending): Don't use CHECK_SIGSET.
61643 * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
61644 include <bp-checks.h>.
61645 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61646 * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
61647 <bp-checks.h>.
61648 (sigpending): Don't use CHECK_SIGSET.
61649 * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
61650 <bp-checks.h>.
61651 (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
61652
61653 [BZ #13550]
61654 * sysdeps/generic/bp-semctl.h: Remove file.
61655 * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
61656 <bp-checks.h> and <bp-semctl.h>.
61657 (__old_semctl): Don't use CHECK_SEMCTL.
61658 (__new_semctl): Likewise.
61659 * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
61660 and <bp-semctl.h>.
61661 (__old_semctl): Don't use CHECK_SEMCTL.
61662 (__new_semctl): Likewise.
61663 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
61664 <bp-checks.h> and <bp-semctl.h>.
61665 (__old_semctl): Don't use CHECK_SEMCTL.
61666 (__new_semctl): Likewise.
61667 * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
61668 <bp-checks.h> and <bp-semctl.h>.
61669 (semctl): Don't use CHECK_SEMCTL.
61670
61671 [BZ #13550]
61672 * Makerules (elide-bp-thunks): Remove variable.
61673 (elide-routines.oS): Don't use $(elide-bp-thunks).
61674 (elide-routines.os): Likewise.
61675 (elide-routines.o): Likewise.
61676 (elide-routines.op): Likewise.
61677 (elide-routines.og): Likewise.
61678 (objects): Don't use $(bp-thunks).
61679 * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
61680 include.
61681 (common-generated): Do not add s-proto-bp.d.
61682 * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
61683 (int): Likewise.
61684 (typ): Likewise.
61685 Do not generate makefile rules for bounded-pointer thunks.
61686 * sysdeps/generic/bp-thunks.h: Remove file.
61687 * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
61688 * sysdeps/unix/s-proto-bp.S: Likewise.
61689
61690 [BZ #15062]
61691 * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
61692 parts of result separately when argument is not close to line from
61693 -i to i and one part of argument is small.
61694 * math/k_casinhf.c (__kernel_casinhf): Likewise.
61695 * math/k_casinhl.c (__kernel_casinhl): Likewise.
61696 * math/libm-test.inc (cacos_test): Add more tests.
61697 (casin_test): Likewise.
61698 (casinh_test): Likewise.
61699 * sysdeps/i386/fpu/libm-test-ulps: Update.
61700 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61701
61702 2013-01-31 David S. Miller <davem@davemloft.net>
61703
61704 * po/de.po: Update from translation team.
61705
61706 2013-01-25 Maxim Kuvyrkov <maxim.kuvyrkov@gmail.com>
61707
61708 * time/tzfile.c: Include stdint.h for SIZE_MAX.
61709
61710 2013-01-25 Thomas Schwinge <thomas@codesourcery.com>
61711
61712 * configure.in (_AC_PROG_CC_C89): New definition.
61713 * configure: Regenerate.
61714
61715 * configure.in (AC_PROG_CPP): New definition.
61716 * configure: Regenerate.
61717
61718 2013-01-23 Joseph Myers <joseph@codesourcery.com>
61719
61720 * debug/tst-backtrace.h: New file.
61721 * debug/tst-backtrace2.c: Include tst-backtrace.h.
61722 (ret): Remove variable.
61723 (x): Likewise.
61724 (FAIL): Remove macro.
61725 (NO_INLINE): Likewise.
61726 (fn1): Use match function instead of strstr.
61727 * debug/tst-backtrace3.c: Include tst-backtrace.h.
61728 (ret): Remove variable.
61729 (x): Likewise.
61730 (FAIL): Remove macro.
61731 (NO_INLINE): Likewise.
61732 (fn): Use match function instead of strstr.
61733 * debug/tst-backtrace4.c: Include tst-backtrace.h.
61734 (ret): Remove variable.
61735 (x): Likewise.
61736 (FAIL): Remove macro.
61737 (NO_INLINE): Likewise.
61738 (handle_signal): Use match function instead of strstr.
61739 * debug/tst-backtrace5.c: Include tst-backtrace.h.
61740 (ret): Remove variable.
61741 (x): Likewise.
61742 (FAIL): Remove macro.
61743 (NO_INLINE): Likewise.
61744 (handle_signal): Use match function instead of strstr.
61745
61746 2013-01-23 Roland McGrath <roland@hack.frob.com>
61747
61748 * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
61749
61750 2013-01-23 David S. Miller <davem@davemloft.net>
61751
61752 * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
61753 (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
61754 argument of CAS if possible.
61755 * sysdeps/sparc/sparc64/bits/atomic.h
61756 (__arch_compare_and_exchange_val_32_acq): Likewise.
61757 (__arch_compare_and_exchange_val_64_acq): Likewise.
61758
61759 2013-01-23 Pino Toscano <toscano.pino@tiscali.it>
61760
61761 * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
61762 * sysdeps/posix/ulimit.c: ... this.
61763 Include <limits.h>.
61764 * sysdeps/unix/bsd/ulimit.c: Remove file.
61765
61766 2013-01-23 Adam Conrad <adconrad@0c3.net>
61767
61768 * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
61769 (LDFLAGS-tst-array5): Likewise.
61770
61771 2013-01-23 Joseph Myers <joseph@codesourcery.com>
61772
61773 [BZ #15036]
61774 * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
61775 based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
61776 (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
61777 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
61778
61779 2013-01-21 David S. Miller <davem@davemloft.net>
61780
61781 * sysdeps/sparc/backtrace.c: New file.
61782 * sysdeps/sparc/sparc32/backtrace.h: New file.
61783 * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
61784 * sysdeps/sparc/sparc64/backtrace.h: New file.
61785 * sysdeps/sparc/sparc64/backtrace.c: Delete.
61786 * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
61787 -funwind-tables.
61788
61789 2013-01-21 Andreas Schwab <schwab@suse.de>
61790
61791 [BZ #15020]
61792 * posix/wordexp.c (exec_comm): Avoid busy loop when command has
61793 closed its stdout.
61794
61795 2013-01-20 Andreas Schwab <schwab@linux-m68k.org>
61796
61797 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
61798 "mpa2.h".
61799 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
61800
61801 2013-01-18 Joseph Myers <joseph@codesourcery.com>
61802 Mark Mitchell <mark@codesourcery.com>
61803 Tom de Vries <tom@codesourcery.com>
61804 Paul Pluzhnikov <ppluzhnikov@google.com>
61805
61806 * debug/tst-backtrace2.c: New file.
61807 * debug/tst-backtrace3.c: Likewise.
61808 * debug/tst-backtrace4.c: Likewise.
61809 * debug/tst-backtrace5.c: Likewise.
61810 * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
61811 (CFLAGS-tst-backtrace3.c): Likewise.
61812 (CFLAGS-tst-backtrace4.c): Likewise.
61813 (CFLAGS-tst-backtrace5.c): Likewise.
61814 (LDFLAGS-tst-backtrace2): Likewise.
61815 (LDFLAGS-tst-backtrace3): Likewise.
61816 (LDFLAGS-tst-backtrace4): Likewise.
61817 (LDFLAGS-tst-backtrace5): Likewise.
61818 (tests): Add new tests tst-backtrace2, tst-backtrace3,
61819 tst-backtrace4 and tst-backtrace5.
61820
61821 2013-01-18 Anton Blanchard <anton@samba.org>
61822 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
61823
61824 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
61825 __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
61826 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
61827 INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
61828 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
61829 (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
61830 "+r" and remove output regs list as redundant. Add explicit inline
61831 asm to specify register of return val to work around compiler codegen
61832 bug. Remove (int) cast on return value. Add return type parameter to
61833 use in macro so that this macro does not truncate return value for
61834 64-bit values.
61835 (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
61836 pass to INTERNAL_VSYSCALL_NCS.
61837 (INLINE_VSYSCALL): Add 'long int' as return type to
61838 INTERNAL_VSYSCALL_NCS macro invocation.
61839 (INTERNAL_VSYSCALL): Add 'long int' as return type to
61840 INTERNAL_VSYSCALL_NCS macro invocation.
61841 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
61842
61843 2013-01-18 Siddhesh Poyarekar <siddhesh@redhat.com>
61844
61845 [BZ #14496]
61846 * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
61847 Fix application of SIMD FP exception mask.
61848
61849 * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
61850 mp_no from a power of two.
61851 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
61852 __mpexp_twomm1. Use __pow_mp.
61853
61854 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
61855 multiplication.
61856
61857 2013-01-17 David S. Miller <davem@davemloft.net>
61858
61859 * sysdeps/sparc/fpu/libm-test-ulps: Update.
61860
61861 2013-01-17 Joseph Myers <joseph@codesourcery.com>
61862
61863 [BZ #15023]
61864 * include/complex.h: Condition contents on [!_COMPLEX_H].
61865 (__kernel_casinhf): New prototype.
61866 (__kernel_casinh): Likewise.
61867 (__kernel_casinhl): Likewise.
61868 * math/Makefile (libm_calls): Add k_casinh.
61869 * math/k_casinh.c: New file.
61870 * math/k_casinhf.c: Likewise.
61871 * math/k_casinhl.c: Likewise.
61872 * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
61873 finite nonzero arguments.
61874 * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
61875 finite nonzero arguments.
61876 * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
61877 finite nonzero arguments.
61878 * math/s_casinh.c: Do not include <float.h>.
61879 (__casinh): Move code for finite nonzero arguments to k_casinh.c.
61880 * math/s_casinhf.c: Do not include <float.h>.
61881 (__casinhf): Move code for finite nonzero arguments to
61882 k_casinhf.c.
61883 * math/s_casinhl.c: Do not include <float.h>.
61884 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
61885 redefine.
61886 (__casinhl): Move code for finite nonzero arguments to
61887 k_casinhl.c.
61888 * math/libm-test.inc (cacos_test): Add more tests.
61889 * sysdeps/i386/fpu/libm-test-ulps: Update.
61890 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61891
61892 2013-01-17 Pino Toscano <toscano.pino@tiscali.it>
61893
61894 * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
61895 * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
61896 [!HAVE_MREMAP]: Remove [defined linux] case.
61897 * malloc/arena.c: Do not include <malloc-sysdep.h>.
61898
61899 2013-01-17 Siddhesh Poyarekar <siddhesh@redhat.com>
61900
61901 * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
61902
61903 2013-01-17 H.J. Lu <hongjiu.lu@intel.com>
61904
61905 * elf/elf.h (R_386_SIZE32): New relocation.
61906 * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
61907 R_386_SIZE32.
61908 (elf_machine_rela): Likewise.
61909 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
61910 R_X86_64_SIZE64 and R_X86_64_SIZE32.
61911
61912 2013-01-17 Joseph Myers <joseph@codesourcery.com>
61913
61914 * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
61915 (FP_FAST_FMA): Do not define.
61916 [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
61917 * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
61918 && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
61919 * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
61920 !_SOFT_FLOAT]: Likewise.
61921 * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
61922 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
61923 value.
61924 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
61925 [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
61926 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
61927 [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
61928 [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
61929 [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
61930 file.
61931
61932 2013-01-16 Andreas Schwab <schwab@suse.de>
61933
61934 [BZ #14327]
61935 * include/stdlib.h (__mktemp): Add declaration.
61936 * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
61937 * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
61938
61939 2013-01-16 Siddhesh Poyarekar <siddhesh@redhat.com>
61940
61941 * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
61942 definitions.
61943 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
61944 * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
61945 * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
61946 definitions here.
61947 * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
61948 * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
61949 definitions.
61950 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
61951 and ONE.
61952 * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
61953 * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
61954 * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
61955 definitions.
61956 * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
61957 * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
61958 definitions.
61959 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
61960
61961 * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
61962
61963 2013-01-15 David S. Miller <davem@davemloft.net>
61964
61965 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61966 trunc{,f} to libm-sysdep_routes.
61967 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61968 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
61969 file.
61970 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
61971 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
61972 file.
61973 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
61974 file.
61975 * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
61976 * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
61977 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
61978 * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
61979 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
61980 * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
61981 * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
61982 * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
61983
61984 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
61985 nearbyint{,f} to libm-sysdep_routes.
61986 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
61987 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
61988 New file.
61989 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
61990 file.
61991 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
61992 New file.
61993 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
61994 file.
61995 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
61996 * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
61997 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
61998 file.
61999 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
62000 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
62001 file.
62002 * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
62003 * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
62004 * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
62005
62006 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
62007 libc_feholdexcept and libc_fesetenv.
62008
62009 2013-01-15 Mike Frysinger <vapier@gentoo.org>
62010
62011 * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
62012
62013 2013-01-14 David S. Miller <davem@davemloft.net>
62014
62015 * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
62016 (SPARC_ASM_VIS2_IFUNC): Likewise.
62017 (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
62018 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
62019 use of 'siam' instruction.
62020 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
62021 Likewise.
62022 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
62023 Likewise.
62024 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
62025 Likewise.
62026 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
62027 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
62028 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
62029 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
62030 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
62031 file.
62032 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
62033 file.
62034 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
62035 file.
62036 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
62037 file.
62038 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
62039 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
62040 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
62041 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
62042 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
62043 new VIS2 routines.
62044 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
62045 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
62046 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
62047 Likewise.
62048 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
62049 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
62050 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
62051 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
62052 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
62053 routines to libm-sysdep_routines.
62054 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
62055
62056 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
62057 fdim/fdimf to libm-sysdep_routines.
62058 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
62059 file.
62060 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
62061 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
62062 file.
62063 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
62064 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
62065 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
62066 * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
62067 * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
62068 * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
62069 * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
62070
62071 2013-01-14 Siddhesh Poyarekar <siddhesh@redhat.com>
62072
62073 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
62074 to optimize copies.
62075
62076 * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
62077 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62078 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62079
62080 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
62081 local variable MPTWO.
62082 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
62083 Likewise.
62084
62085 2013-01-13 Mike Frysinger <vapier@gentoo.org>
62086
62087 * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
62088 GLOB_NOESCAPE.
62089
62090 2013-01-13 Mike Frysinger <vapier@gentoo.org>
62091
62092 * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
62093
62094 2013-01-13 Mike Frysinger <vapier@gentoo.org>
62095
62096 * manual/pattern.texi (glob_t): Document gl_flags.
62097 (glob64_t): Likewise.
62098
62099 2013-01-11 David S. Miller <davem@davemloft.net>
62100
62101 * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
62102 * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
62103 (gmp-sysdep_routines): New variable. Add VIS3 optimized GMP routines.
62104 * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
62105 * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
62106 * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
62107 * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
62108 * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
62109 * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
62110 * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
62111 * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
62112 * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
62113 * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
62114
62115 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
62116 sparc V9 rather than using V8 code.
62117 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
62118 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
62119
62120 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
62121 Move to...
62122 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
62123 Here.
62124
62125 2013-01-11 Roland McGrath <roland@hack.frob.com>
62126
62127 [BZ #14941]
62128 * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
62129 not in the main loop.
62130 * configure: Regenerated.
62131
62132 2013-01-11 Joseph Myers <joseph@codesourcery.com>
62133
62134 * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
62135 * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
62136 to just #else.
62137 * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise. Remove
62138 [!__GLIBC_HAVE_LONG_LONG] case.
62139 * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
62140 condition to just #else.
62141 * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
62142 __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
62143 [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
62144 * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
62145 unconditional.
62146 * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
62147 * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
62148 #elif condition to just #else.
62149 * sysdeps/unix/sysv/linux/sys/sysmacros.h
62150 [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
62151 * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
62152 #elif condition to just #else.
62153
62154 2013-01-11 Steve Ellcey <sellcey@mips.com>
62155
62156 * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
62157 (EF_MIPS_ARCH_64): Fix value.
62158 (EF_MIPS_ARCH_32R2): New.
62159 (EF_MIPS_ARCH_64R2): New.
62160
62161 2013-01-11 H.J. Lu <hongjiu.lu@intel.com>
62162
62163 * Makeconfig (+link-pie-before-libc): New.
62164 (+link-pie-after-libc): Likewise.
62165 (+link-pie-tests): Likewise.
62166 (+link-pie): Rewritten.
62167 (link-before-libc): Remove $(config-LDFLAGS).
62168 (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
62169 (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
62170 (config-LDFLAGS): Renamed to ...
62171 (rtld-LDFLAGS): This.
62172 (rtld-tests-LDFLAGS): New macro.
62173 (link-libc-rpath-link): Likewise.
62174 (link-libc-tests-rpath-link): Likewise.
62175 (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
62176 (link-libc): Prepand $(link-libc-rpath-link).
62177 (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
62178 (test-program-prefix): New macro.
62179 (test-via-rtld-prefix): Likewise.
62180 (test-program-cmd): Likewise.
62181 (host-test-program-cmd): Likewise.
62182 * Makefile ($(common-objpfx)testrun.sh): Replace
62183 $(run-program-prefix) with $(test-program-prefix).
62184 * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
62185 $(rtld-LDFLAGS).
62186 ($(common-objpfx)shlib.lds): Likewise.
62187 (build-module-helper): Likewise.
62188 ($(common-objpfx)format.lds): Likewise.
62189 * Rules (binaries-pie-tests): New.
62190 (binaries-pie-notests): Likewise.
62191 (binaries-pie): Rewritten.
62192 ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
62193 ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
62194 ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
62195 (make-test-out): Replace $(host-built-program-cmd) with
62196 $(host-test-program-cmd).
62197 * config.make.in (build-hardcoded-path-in-tests): New variable.
62198 * configure.in (--enable-hardcoded-path-in-tests): New configure
62199 option.
62200 (hardcoded_path_in_tests): New AC_SUBST.
62201 * configure: Regenerated.
62202 * catgets/Makefile ($(objpfx)test-gencat.out): Replace
62203 $(built-program-cmd) with $(test-program-cmd).
62204 * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
62205 (test_program_cmd): This.
62206 * elf/Makefile ($(objpfx)order.out): Run test with
62207 $(test-program-prefix).
62208 ($(objpfx)order2.out): Likewise.
62209 ($(objpfx)tst-initorder.out): Likewise.
62210 ($(objpfx)tst-initorder2.out): Likewise.
62211 ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
62212 $(test-program-cmd).
62213 ($(objpfx)tst-array1-static.out): Likewise.
62214 ($(objpfx)tst-array2.out): Likewise.
62215 ($(objpfx)tst-array3.out): Likewise.
62216 ($(objpfx)tst-array4.out): Likewise.
62217 ($(objpfx)tst-array5.out): Likewise.
62218 ($(objpfx)tst-array5-static.out): Likewise.
62219 (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
62220 $(test-program-cmd).
62221 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
62222 $(run-program-prefix) with $(test-program-prefix).
62223 * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
62224 (test_program_prefix): This.
62225 * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
62226 $(run-program-prefix) with $(test-program-prefix).
62227 * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
62228 (test_program_prefix): This.
62229 * iconvdata/tst-tables.sh: Likewise.
62230 * intl/Makefile ($(objpfx)tst-gettext.out): Replace
62231 $(run-program-prefix) with $(test-program-prefix).
62232 ($(objpfx)tst-translit.out): Likewise.
62233 ($(objpfx)tst-gettext2.out): Likewise.
62234 ($(objpfx)tst-gettext4.out): Likewise.
62235 ($(objpfx)tst-gettext6.out): Likewise.
62236 * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
62237 (test_program_prefix): This.
62238 * intl/tst-gettext2.sh: Likewise.
62239 * intl/tst-gettext4.sh Likewise.
62240 * intl/tst-gettext6.sh: Likewise.
62241 * intl/tst-translit.sh: Likewise.
62242 * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
62243 with $(test-program-cmd).
62244 * libio/Makefile ($(objpfx)test-freopen.out): Replace
62245 $(run-program-prefix) with $(test-program-prefix).
62246 * libio/test-freopen.sh (run_program_prefix): Renamed to ...
62247 (test_program_prefix): This.
62248 * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
62249 $(run-program-prefix) with $(test-program-prefix).
62250 * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
62251 (test_program_prefix): This.
62252 * manual/install.texi: Document --enable-hardcoded-path-in-tests.
62253 * posix/Makefile ($(objpfx)globtest.out): Replace
62254 $(run-via-rtld-prefix) and $(test-wrapper) with
62255 $(test-program-prefix) and $(test-via-rtld-prefix).
62256 ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
62257 $(test-program-prefix).
62258 (tst-exec-ARGS): Replace $(host-built-program-cmd) with
62259 $(host-test-program-cmd).
62260 (tst-spawn-ARGS): Likewise.
62261 ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
62262 $(test-program-prefix).
62263 * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
62264 (test_via_rtld_prefix): This.
62265 (test_wrapper): Renamed to ...
62266 (test_program_prefix): This.
62267 (run_program_prefix): Replaced by test_program_prefix.
62268 * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
62269 (test_program_prefix): This.
62270 * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
62271 with $(host-test-program-cmd).
62272 * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
62273 $(run-program-prefix) with $(test-program-prefix).
62274 ($(objpfx)tst-printf.out): Likewise.
62275 ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
62276 $(test-program-cmd).
62277 * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
62278 (test_program_prefix): This.
62279 * stdio-common/tst-unbputc.sh: Likewise.
62280 * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
62281 $(run-program-prefix) with $(test-program-prefix).
62282 * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
62283 (test_program_prefix): This.
62284 * string/Makefile ($(objpfx)tst-svc.out): Replace
62285 $(built-program-cmd) with $(test-program-cmd).
62286
62287 2013-01-11 Andreas Jaeger <aj@suse.de>
62288
62289 [BZ #15003]
62290 * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
62291 value. Sync with Linux 3.7.
62292
62293 2013-01-10 David S. Miller <davem@davemloft.net>
62294
62295 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
62296 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
62297 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
62298
62299 2013-01-10 Roland McGrath <roland@hack.frob.com>
62300
62301 * configure.in (sysnames): Drop use of $m0sub and $msub, which are
62302 never set.
62303 * configure: Regenerated.
62304
62305 2013-01-10 David S. Miller <davem@davemloft.net>
62306
62307 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
62308 sparc V9 rather than using V8 code.
62309 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
62310 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
62311
62312 2013-01-10 Roland McGrath <roland@hack.frob.com>
62313
62314 * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
62315 (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
62316 (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
62317 (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
62318 (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
62319 (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
62320 (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
62321 (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
62322 (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
62323 (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
62324 (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
62325 (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
62326 (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
62327 (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
62328 (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
62329 (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
62330 (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
62331 (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
62332 (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
62333 (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
62334 (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
62335 (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
62336 (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
62337 (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
62338 (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
62339 (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
62340 (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
62341
62342 2013-01-10 David S. Miller <davem@davemloft.net>
62343
62344 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62345
62346 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
62347
62348 * posix/Makefile (tests-static): New variable.
62349 (tests): Add $(tests-static).
62350 (tst-exec-static-ARGS): New variable.
62351 (tst-spawn-static-ARGS): Likewise.
62352 * posix/tst-exec-static.c: New file.
62353 * posix/tst-spawn-static.c: Likewise.
62354 * posix/tst-exec.c: Support run directly.
62355 * posix/tst-spawn.c: Likewise.
62356
62357 2013-01-10 Joseph Myers <joseph@codesourcery.com>
62358
62359 * elf/link.h (struct dl_phdr_info): Use __extension__ with long
62360 long.
62361 * math/bits/mathcalls.h (llrint): Likewise.
62362 (llround): Likewise.
62363 * stdlib/stdlib.h (struct drand48_data): Likewise.
62364 * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
62365 * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
62366 * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
62367 Likewise.
62368 * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
62369 Likewise.
62370 * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
62371 (elf_greg_t): Likewise.
62372 * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
62373 (__jmp_buf): Likewise.
62374 * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
62375 definitions.
62376 (llrint): Likewise, for all definitions.
62377 (llrintl): Likewise.
62378
62379 * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
62380 Remove [__GNUC__] condition.
62381 * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
62382 condition to just [__USE_ISOC99].
62383 [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
62384
62385 2013-01-10 H.J. Lu <hongjiu.lu@intel.com>
62386
62387 [BZ #14200]
62388 * sysdeps/unix/sysv/linux/x86/bits/environments.h
62389 (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
62390 defined.
62391 (_POSIX_V6_ILP32_OFF32): Likewise.
62392 (_XBS5_ILP32_OFF32): Likewise.
62393 (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
62394 (__ILP32_OFFBIG_LDFLAGS): Likewise.
62395
62396 2013-01-10 Siddhesh Poyarekar <siddhesh@redhat.com>
62397
62398 * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
62399
62400 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
62401 doubles __mpexp_twomm1. Adjust usage.
62402 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
62403 Remove.
62404
62405 2013-01-10 Andreas Schwab <schwab@suse.de>
62406
62407 [BZ #14964]
62408 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
62409 (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
62410
62411 2013-01-09 David S. Miller <davem@davemloft.net>
62412
62413 [BZ #15003]
62414 * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
62415 (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
62416 (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
62417 (TCP_FASTOPEN): Define.
62418 (tcp_repair_opt): New structure.
62419 (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
62420 enum values.
62421 (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
62422 (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
62423 (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
62424 (tcp_cookie_transactions): New structure.
62425
62426 2013-01-09 Anton Blanchard <anton@samba.org>
62427
62428 * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
62429 * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
62430 * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
62431 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
62432
62433 2013-01-09 Joseph Myers <joseph@codesourcery.com>
62434
62435 * include/features.h (__USE_ANSI): Remove.
62436
62437 2013-01-09 Roland McGrath <roland@hack.frob.com>
62438
62439 * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
62440
62441 * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
62442
62443 2013-01-09 Siddhesh Poyarekar <siddhesh@redhat.com>
62444
62445 * sysdeps/s390/fpu/libm-test-ulps: Update.
62446
62447 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62448
62449 * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
62450 (__acr): Likewise.
62451 (__cpy): Likewise.
62452 (norm): Likewise.
62453 (denorm): Likewise.
62454 (__mp_dbl): Likewise.
62455 (__dbl_mp): Likewise.
62456 (add_magnitudes): Likewise.
62457 (sub_magnitudes): Likewise.
62458 (__add): Likewise.
62459 (__sub): Likewise.
62460 (__mul): Likewise.
62461 (__inv): Likewise.
62462 (__dvd): Likewise.
62463 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
62464 (__acr): Likewise.
62465 (__cpy): Likewise.
62466 (norm): Likewise.
62467 (denorm): Likewise.
62468 (__mp_dbl): Likewise.
62469 (__dbl_mp): Likewise.
62470 (add_magnitudes): Likewise.
62471 (sub_magnitudes): Likewise.
62472 (__add): Likewise.
62473 (__sub): Likewise.
62474 (__mul): Likewise.
62475 (__inv): Likewise.
62476 (__dvd): Likewise.
62477 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
62478 (__acr): Likewise.
62479 (__cpy): Likewise.
62480 (norm): Likewise.
62481 (denorm): Likewise.
62482 (__mp_dbl): Likewise.
62483 (__dbl_mp): Likewise.
62484 (add_magnitudes): Likewise.
62485 (sub_magnitudes): Likewise.
62486 (__add): Likewise.
62487 (__sub): Likewise.
62488 (__mul): Likewise.
62489 (__inv): Likewise.
62490 (__dvd): Likewise.
62491
62492 2013-01-08 Joseph Myers <joseph@codesourcery.com>
62493
62494 * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
62495 __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
62496 * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
62497 2 && __USE_EXTERN_INLINES]: Likewise.
62498
62499 2013-01-08 Andreas Jaeger <aj@suse.de>
62500
62501 [BZ# 14985]
62502 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
62503 Remove.
62504 * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62505 * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
62506
62507 2013-01-07 Anton Blanchard <anton@samba.org>
62508
62509 * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
62510 * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
62511 * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
62512 * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
62513 * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
62514 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62515 * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
62516 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62517 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62518 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62519 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62520 * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62521 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
62522 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62523 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
62524 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62525 * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62526 * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62527 * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
62528 * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
62529 * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
62530 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
62531 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
62532 * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
62533 * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
62534 * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
62535 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
62536 * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
62537 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
62538 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
62539 * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
62540 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62541 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62542 * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62543 * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62544 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
62545 * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62546 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
62547 * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
62548 * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
62549 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
62550 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
62551 * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62552
62553 2013-01-07 Joseph Myers <joseph@codesourcery.com>
62554
62555 * malloc/malloc.h (__MALLOC_P): Remove all definitions.
62556 (__MALLOC_PMT): Likewise.
62557 [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
62558 [__GNUC__], only on [_LIBC].
62559 [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62560 [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
62561 [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
62562 * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
62563 forward declaration.
62564 (realloc_hook_ini): Likewise.
62565 (memalign_hook_ini): Likewise.
62566 (__libc_memalign): Do not use __MALLOC_PMT in variable
62567 declaration.
62568 (__libc_valloc): Likewise.
62569 (__libc_pvalloc): Likewise.
62570 (__libc_calloc): Likewise.
62571 (__posix_memalign): Likewise.
62572
62573 [BZ #14996]
62574 * math/s_casinh.c: Include <float.h>.
62575 (__casinh): Do not do computation with squaring and square root
62576 for large arguments.
62577 * math/s_casinhf.c: Include <float.h>.
62578 (__casinhf): Do not do computation with squaring and square root
62579 for large arguments.
62580 * math/s_casinhl.c: Include <float.h>.
62581 [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
62582 (__casinhl): Do not do computation with squaring and square root
62583 for large arguments.
62584 * math/libm-test.inc (casin_test): Add more tests.
62585 (casinh_test): Likewise.
62586 * sysdeps/i386/fpu/libm-test-ulps: Update.
62587 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62588
62589 2013-01-04 H.J. Lu <hongjiu.lu@intel.com>
62590
62591 * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
62592 (__x86_64_raw_data_cache_size): Likewise.
62593 (__x86_64_data_cache_size_half): Likewise.
62594 (__x86_64_raw_data_cache_size_half): Likewise.
62595 (__x86_64_shared_cache_size): Likewise.
62596 (__x86_64_raw_shared_cache_size): Likewise.
62597 (__x86_64_shared_cache_size_half): Likewise.
62598 (__x86_64_raw_shared_cache_size_half): Likewise.
62599 * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
62600 to ...
62601 (__x86_data_cache_size): This.
62602 (__x86_64_raw_data_cache_size): Renamed to ...
62603 (__x86_raw_data_cache_size): This.
62604 (__x86_64_data_cache_size_half): Renamed to ...
62605 (__x86_data_cache_size_half): This.
62606 (__x86_64_raw_data_cache_size_half): Renamed to ...
62607 (__x86_raw_data_cache_size_half): This.
62608 (__x86_64_shared_cache_size): Renamed to ...
62609 (__x86_shared_cache_size): This.
62610 (__x86_64_raw_shared_cache_size): Renamed to ...
62611 (__x86_raw_shared_cache_size): This.
62612 (__x86_64_shared_cache_size_half): Renamed to ...
62613 (__x86_shared_cache_size_half): This.
62614 (__x86_64_raw_shared_cache_size_half): Renamed to ...
62615 (__x86_raw_shared_cache_size_half): This.
62616 * sysdeps/x86_64/memcpy.S: Updated.
62617 * sysdeps/x86_64/memset.S: Likewise.
62618 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
62619 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
62620 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
62621
62622 2013-01-04 David S. Miller <davem@davemloft.net>
62623
62624 * sysdeps/sparc/fpu/libm-test-ulps: Update.
62625
62626 2013-01-04 Andreas Schwab <schwab@linux-m68k.org>
62627
62628 * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
62629 1 to avoid redefinition warning.
62630 (__USE_GNU): Don't define.
62631 (init_signaling_nan): Protoize.
62632
62633 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62634
62635 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62636
62637 * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
62638 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
62639 (__cpymn): Likewise.
62640 (norm): Remove commented code.
62641 (denorm): Likewise.
62642 (__mp_dbl): Likewise.
62643 (__inv): Likewise.
62644 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
62645 (__cpymn): Likewise.
62646 (norm): Remove commented code.
62647 (denorm): Likewise.
62648 (__mp_dbl): Likewise.
62649 (__inv): Likewise.
62650
62651 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
62652 mp_no value for 1.0 and 2.0.
62653 (norm): Use RADIXI instead of radixi.d.
62654 (denorm): Likewise.
62655 (__mul): Use 0.0 instead of zero.d.
62656 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
62657 mp_no value for 1.0 and 2.0.
62658 (norm): Use RADIXI instead of radixi.d.
62659 (denorm): Likewise.
62660 (__mul): Use 0.0 instead of zero.d.
62661
62662 2013-01-04 Joseph Myers <joseph@codesourcery.com>
62663
62664 [BZ #14994]
62665 * math/s_casinh.c (__casinh): Reduce finite argument to first
62666 quadrant then set signs of results at the end.
62667 * math/s_casinhf.c (__casinhf): Likewise.
62668 * math/s_casinhl.c (__casinhl): Likewise.
62669 * math/libm-test.inc (casin_test): Add more tests.
62670 (casinh_test): Likewise.
62671 * sysdeps/i386/fpu/libm-test-ulps: Update.
62672 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
62673
62674 2013-01-04 Siddhesh Poyarekar <siddhesh@redhat.com>
62675
62676 * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
62677
62678 * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
62679
62680 * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
62681 declarations.
62682 (denorm): Likewise.
62683 (__mp_dbl): Likewise.
62684 (__inv): Likewise.
62685
62686 * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
62687 and adjust the header comment.
62688
62689 * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
62690 variable name from declaration.
62691
62692 2013-01-03 H.J. Lu <hongjiu.lu@intel.com>
62693
62694 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
62695 Initialize COMMON_CPUID_INDEX_7 element.
62696 * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
62697 (CPUID_RTM): Likewise.
62698 (HAS_RTM): Likewise.
62699 (COMMON_CPUID_INDEX_7): New enum.
62700
62701 2013-01-03 Andreas Schwab <schwab@linux-m68k.org>
62702
62703 [BZ #14981]
62704 * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
62705 size is zero, record memory as freed.
62706
62707 2013-01-03 Andreas Jaeger <aj@suse.de>
62708
62709 * po/ia.po: Add new Interlingua translation.
62710
62711 2012-01-03 Allan McRae <allan@archlinux.org>
62712
62713 * locale/programs/localedef.c: Fix description of '--posix' flag.
62714
62715 2013-01-02 Joseph Myers <joseph@codesourcery.com>
62716
62717 * NEWS: Update dates in second copyright notice.
62718 * README: Update copyright dates in example.
62719 * manual/libc.texinfo: Update copyright dates.
62720 * scripts/test-installation.pl: Update copyright date in --version
62721 output.
62722
62723 * hurd/ctty-input.c: Fix copyright notice formatting.
62724 * hurd/ctty-output.c: Likewise.
62725 * hurd/dtable.c: Likewise.
62726 * hurd/hurd-raise.c: Likewise.
62727 * hurd/hurdprio.c: Likewise.
62728 * hurd/msgportdemux.c: Likewise.
62729 * misc/sys/file.h: Likewise.
62730 * misc/sys/ioctl.h: Likewise.
62731 * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
62732 * sysdeps/mach/hurd/chdir.c: Likewise.
62733 * sysdeps/mach/hurd/fchdir.c: Likewise.
62734 * sysdeps/mach/hurd/rename.c: Likewise.
62735 * sysdeps/mach/hurd/rmdir.c: Likewise.
62736 * sysdeps/mach/hurd/seekdir.c: Likewise.
62737 * sysdeps/mach/hurd/setsid.c: Likewise.
62738 * sysdeps/posix/wait3.c: Likewise.
62739
62740 * All files with FSF copyright notices: Update copyright dates
62741 using scripts/update-copyrights.
62742 * intl/plural.c: Regenerated.
62743 * locale/programs/charmap-kw.h: Likewise.
62744 * locale/programs/locfile-kw.h: Likewise.
62745
62746 2013-01-02 Siddhesh Poyarekar <siddhesh@redhat.com>
62747
62748 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
62749 four values.
62750
62751 * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
62752 calculation loop and add branch prediction.
62753
62754 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
62755 check access beyond bounds of m1np.
62756
62757 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62758 MPTWO.
62759 (__inv): Remove local variable MPTWO to use the global
62760 constant.
62761 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
62762 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62763 variable MPTWO.
62764 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
62765 MP3HALFS static const.
62766
62767 2013-01-01 David S. Miller <davem@davemloft.net>
62768
62769 * po/ca.po: Update from translation team.
62770
62771 2013-01-01 Joseph Myers <joseph@codesourcery.com>
62772
62773 * scripts/update-copyrights: New file.
62774 * Makeconfig: Reformat copyright notice.
62775 * ctype/ctype.h: Likewise.
62776 * debug/swprintf_chk.c: Likewise.
62777 * elf/dl-cache.c: Likewise.
62778 * elf/dl-debug.c: Likewise.
62779 * elf/dl-object.c: Likewise.
62780 * grp/initgroups.c: Likewise.
62781 * hurd/Makefile: Likewise.
62782 * hurd/hurd/signal.h: Likewise.
62783 * hurd/hurdfault.c: Likewise.
62784 * hurd/hurdioctl.c: Likewise.
62785 * hurd/hurdlookup.c: Likewise.
62786 * hurd/intr-msg.c: Likewise.
62787 * iconv/gconv_open.c: Likewise.
62788 * libio/swprintf.c: Likewise.
62789 * locale/lc-ctype.c: Likewise.
62790 * locale/nl_langinfo.c: Likewise.
62791 * mach/Machrules: Likewise.
62792 * mach/Makefile: Likewise.
62793 * malloc/obstack.h: Likewise.
62794 * manual/Makefile: Likewise.
62795 * manual/tsort.awk: Likewise.
62796 * misc/bits/stab.def: Likewise.
62797 * nis/nis_print_group_entry.c: Likewise.
62798 * nis/nis_table.c: Likewise.
62799 * nis/nss_compat/compat-pwd.c: Likewise.
62800 * nis/nss_compat/compat-spwd.c: Likewise.
62801 * po/Makefile: Likewise.
62802 * posix/fnmatch.c: Likewise.
62803 * posix/regex.h: Likewise.
62804 * resolv/Makefile: Likewise.
62805 * resolv/nss_dns/dns-network.c: Likewise.
62806 * resolv/res_hconf.c: Likewise.
62807 * scripts/gen-sorted.awk: Likewise.
62808 * soft-fp/soft-fp.h: Likewise.
62809 * stdio-common/printf.h: Likewise.
62810 * stdlib/monetary.h: Likewise.
62811 * stdlib/random.c: Likewise.
62812 * stdlib/random_r.c: Likewise.
62813 * sysdeps/generic/Makefile: Likewise.
62814 * sysdeps/gnu/Makefile: Likewise.
62815 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
62816 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
62817 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
62818 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
62819 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
62820 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
62821 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
62822 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
62823 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
62824 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
62825 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
62826 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
62827 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
62828 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
62829 * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
62830 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
62831 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
62832 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
62833 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
62834 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
62835 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
62836 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
62837 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
62838 * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
62839 * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
62840 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
62841 * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
62842 * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
62843 * sysdeps/mach/hurd/errnos.awk: Likewise.
62844 * sysdeps/mach/hurd/fork.c: Likewise.
62845 * sysdeps/mach/hurd/getcwd.c: Likewise.
62846 * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
62847 * sysdeps/mach/hurd/mmap.c: Likewise.
62848 * sysdeps/mach/hurd/utimes.c: Likewise.
62849 * sysdeps/mach/hurd/xmknod.c: Likewise.
62850 * sysdeps/posix/profil.c: Likewise.
62851 * sysdeps/posix/readdir_r.c: Likewise.
62852 * sysdeps/powerpc/bits/mathdef.h: Likewise.
62853 * sysdeps/powerpc/bits/setjmp.h: Likewise.
62854 * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
62855 * sysdeps/powerpc/powerpc32/memset.S: Likewise.
62856 * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
62857 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
62858 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
62859 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
62860 * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
62861 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
62862 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
62863 * sysdeps/pthread/lio_listio.c: Likewise.
62864 * sysdeps/sparc/dl-procinfo.h: Likewise.
62865 * sysdeps/unix/i386/sysdep.S: Likewise.
62866 * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
62867 * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
62868 * sysdeps/unix/sysv/linux/getdents.c: Likewise.
62869 * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
62870 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
62871 * sysdeps/unix/sysv/linux/semctl.c: Likewise.
62872 * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
62873 * sysdeps/unix/sysv/linux/speed.c: Likewise.
62874 * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
62875 * sysdeps/wordsize-32/divdi3.c: Likewise.
62876 * time/sys/time.h: Likewise.
62877 * wcsmbs/Makefile: Likewise.
62878
62879 2013-01-01 David S. Miller <davem@davemloft.net>
62880
62881 * po/fr.po: Update from translation team.
62882
62883 * catgets/gencat.c: Update copyright year.
62884 * csu/version.c: Likewise.
62885 * debug/catchsegv.sh: Likewise.
62886 * debug/pcprofiledump.c: Likewise.
62887 * debug/xtrace.sh: Likewise.
62888 * elf/ldconfig.c: Likewise.
62889 * elf/ldd.bash.in: Likewise.
62890 * elf/pldd.c: Likewise.
62891 * elf/sotruss.ksh: Likewise.
62892 * elf/sprof.c: Likewise.
62893 * iconv/iconv_prog.c: Likewise.
62894 * iconv/iconvconfig.c: Likewise.
62895 * locale/programs/locale.c: Likewise.
62896 * locale/programs/localedef.c: Likewise.
62897 * login/programs/pt_chown.c: Likewise.
62898 * malloc/memusage.sh: Likewise.
62899 * malloc/memusagestat.c: Likewise.
62900 * malloc/mtrace.pl: Likewise.
62901 * nscd/nscd.c: Likewise.
62902 * nss/getent.c: Likewise.
62903 * nss/makedb.c: Likewise.
62904 * posix/getconf.c: Likewise.
62905
62906 2012-12-31 Siddhesh Poyarekar <siddhesh@redhat.com>
62907
62908 * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
62909 numbers.
62910
62911 2012-12-30 Mike Frysinger <vapier@gentoo.org>
62912
62913 * math/bits/mathcalls.h (modf): Use __nonnull.
62914
62915 2012-12-29 Siddhesh Poyarekar <siddhesh@redhat.com>
62916
62917 * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
62918 (split): Use macro CN instead of the bare value.
62919 * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
62920 could be used.
62921 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
62922 instead of the bare value.
62923 (power1): Likewise.
62924
62925 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62926
62927 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
62928 __ATAN_TWOM.
62929 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62930
62931 * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
62932 their values.
62933 * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
62934 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
62935 * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
62936 * sysdeps/ieee754/dbl-64/utan.h: Likewise.
62937
62938 2012-12-28 Andreas Jaeger <aj@suse.de>
62939
62940 * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define. New
62941 values are from Linux 3.7.
62942
62943 * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
62944 (TCPI_OPT_ECN_SEEN): Define. Sync with Linux 3.7.
62945
62946 2012-12-28 Siddhesh Poyarekar <siddhesh@redhat.com>
62947
62948 * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
62949 TRUE case.
62950
62951 * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
62952 (norm): Likewise.
62953 * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
62954 variables with preprocessor constants.
62955 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
62956 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
62957 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
62958
62959 2012-12-27 Bruno Haible <bruno@clisp.org>
62960
62961 [BZ #14317]
62962 * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
62963 only if needed.
62964
62965 2012-12-27 Siddhesh Poyarekar <siddhesh@redhat.com>
62966
62967 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
62968 and use variable directly.
62969 * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
62970
62971 * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
62972 MPONE.
62973 * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
62974 * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
62975 variable MPONE.
62976 * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
62977 * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
62978 * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
62979 include directive. Remove local variable MPONE.
62980 * sysdeps/ieee754/dbl-64/mplog.h: Remove.
62981 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
62982 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
62983
62984 2012-12-25 David S. Miller <davem@davemloft.net>
62985
62986 * version.h (RELEASE): Set to "development".
62987 (VERSION): Set to "2.17.90".
62988 * NEWS: Add 2.18 section.
62989
62990 2012-12-21 David S. Miller <davem@davemloft.net>
62991
62992 * po/hr.po: Update from translation team.
62993
62994 2012-12-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
62995
62996 * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
62997
62998 2012-12-19 Steve Ellcey <sellcey@mips.com>
62999
63000 * NEWS: Mention new memcpy for MIPS.
63001
63002 2012-12-18 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63003
63004 * manual/contrib.texi (Contributors): Spelling correction.
63005
63006 2012-12-15 David S. Miller <davem@davemloft.net>
63007
63008 * po/ru.po: Update from translation team.
63009
63010 2012-12-13 David S. Miller <davem@davemloft.net>
63011
63012 * NEWS: Mention IFUNC testsuite enhancements.
63013
63014 * po/pl.po: Update from translation team.
63015 * po/bg.po: Likewise.
63016
63017 * manual/contrib.texi (Contributors): Update entries for Hongjiu
63018 Lu and Joseph S. Myers. Add entry for Marcus Shawcroft.
63019
63020 2012-12-11 David S. Miller <davem@davemloft.net>
63021
63022 * po/sv.po: Update from translation team.
63023
63024 * po/vi.po: Update from translation team.
63025
63026 * po/cs.po: Update from translation team.
63027
63028 * po/de.po: Update from translation team.
63029 * po/eo.po: Likewise.
63030 * po/nl.po: Likewise.
63031
63032 2012-12-11 Siddhesh Poyarekar <siddhesh@redhat.com>
63033
63034 [BZ #14246]
63035 * manual/argp.texi (Argp Helper Functions): Move node to follow
63036 Argp Parsing State.
63037
63038 [BZ #14872]
63039 * manual/conf.texi (Limits on File System Capacity): Mention if
63040 terminating null is included in the max size.
63041
63042 2012-12-10 Andreas Jaeger <aj@suse.de>
63043
63044 * po/cs.po: Update from translation team.
63045
63046 2012-12-08 Siddhesh Poyarekar <siddhesh@redhat.com>
63047
63048 * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
63049 void pointer and cast to uintptr_t.
63050 * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
63051 path.
63052 * sysdeps/s390/s390-64/memcpy.S: Likewise.
63053 * sysdeps/s390/s390-64/memset.S: Likewise.
63054
63055 2012-12-08 Benno Schulenberg <bensberg@justemail.net>
63056
63057 [BZ #14833]
63058 * menual/message.texi (Message Translation): Fix typos.
63059 (Helper programs for gettext): Likewise.
63060
63061 2012-12-07 Andreas Schwab <schwab@linux-m68k.org>
63062
63063 [BZ #14898]
63064 * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
63065 Change to -1.
63066
63067 2012-12-07 David S. Miller <davem@davemloft.net>
63068
63069 * po/libc.pot: Update.
63070
63071 2012-12-07 Richard Henderson <rth@redhat.com>
63072
63073 [BZ #10114]
63074 * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
63075 normal/normal case to before the switch.
63076 (_FP_DIV): Likewise.
63077
63078 2012-12-06 Carlos O'Donell <carlos@systemhalted.org>
63079 Mike Frysinger <vapier@gentoo.org>
63080
63081 * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
63082 check for __NR_fadvise64_64.
63083
63084 2012-12-06 Chris Metcalf <cmetcalf@tilera.com>
63085
63086 * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
63087 0, not just to plain "0" as a statement.
63088 (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
63089 with cw.
63090
63091 2012-12-06 Joseph Myers <joseph@codesourcery.com>
63092
63093 * NEWS: Use sourceware.org in Bugzilla URL.
63094
63095 2012-12-06 Siddhesh Poyarekar <siddhesh@redhat.com>
63096
63097 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
63098 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
63099
63100 * stdio-common/tst-put-error.c (do_test): Add newline to the
63101 padded test to ensure flush.
63102
63103 2012-12-05 Jeff Law <law@redhat.com>
63104
63105 * sunrpc/etc.rpc (fedfs_admin): Add entry.
63106
63107 2012-12-05 Joseph Myers <joseph@codesourcery.com>
63108
63109 * README: Don't refer to ports add-on as distributed separately.
63110 Mention AArch64 in list of systems supported in the ports add-on.
63111
63112 * LICENSES: Add more non-FSF copyright and license notices.
63113
63114 * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
63115 ((unused)).
63116
63117 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
63118
63119 * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
63120 10000 as width of padded output.
63121
63122 2012-12-04 Joseph Myers <joseph@codesourcery.com>
63123
63124 * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
63125
63126 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
63127 variable LX with __attribute__ ((unused)).
63128 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
63129 Likewise.
63130 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
63131 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
63132 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
63133 with __attribute__ ((unused)).
63134
63135 2012-12-04 David S. Miller <davem@abraco.davemloft.net>
63136
63137 * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
63138
63139 2012-12-04 Joseph Myers <joseph@codesourcery.com>
63140
63141 * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
63142 (CFLAGS-nldbl-acos.c): New variable.
63143 [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
63144 [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
63145 [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
63146 [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
63147 [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
63148 [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
63149 [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
63150 [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
63151 [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
63152 [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
63153 [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
63154 [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
63155 [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
63156 [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
63157 [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
63158 [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
63159 [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
63160 [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
63161 [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
63162 [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
63163 [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
63164 [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
63165 [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
63166 [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
63167 [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
63168 [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
63169 [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
63170 [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
63171 [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
63172 [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
63173 [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
63174 [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
63175 [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
63176 [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
63177 [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
63178 [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
63179 [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
63180 [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
63181 [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
63182 [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
63183 [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
63184 [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
63185 [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
63186 [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
63187 [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
63188 [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
63189 [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
63190 [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
63191 [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
63192 [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
63193 [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
63194 [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
63195 [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
63196 [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
63197 [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
63198 [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
63199 [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
63200 [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
63201 [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
63202 [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
63203 [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
63204 [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
63205 [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
63206 [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
63207 [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
63208 [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
63209 [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
63210 [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
63211 [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
63212 [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
63213 [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
63214 [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
63215 [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
63216 [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
63217 [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
63218 [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
63219 [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
63220 [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
63221 [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
63222 [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
63223 [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
63224 [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
63225 [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
63226 [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
63227 [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
63228 [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
63229 [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
63230 [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
63231 [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
63232 [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
63233 [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
63234 [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
63235 [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
63236 [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
63237 [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
63238 [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
63239 [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
63240
63241 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
63242 (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
63243
63244 [BZ #14914]
63245 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
63246 whole low double instead of just low 47 bits when splitting values
63247 into two parts.
63248
63249 2012-12-03 Allan McRae <allan@archlinux.org>
63250
63251 * manual/stdio.texi (Predefined Printf Handlers): Remove
63252 @hsep and @vsep usage.
63253
63254 2012-12-03 Mike Frysinger <vapier@gentoo.org>
63255
63256 * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
63257 * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
63258
63259 2012-12-03 Jeff Law <law@redhat.com>
63260
63261 * time/sys/time.h (settimeofday): Do not mark TV argument
63262 as __nonnull.
63263
63264 2012-12-01 Mike Frysinger <vapier@gentoo.org>
63265
63266 * libio/fileops.c (_IO_new_file_close_it): Do not always flush
63267 when currently writing and seek to current position when not.
63268 * libio/Makefile (tests): Remove bug-fclose1.
63269 * libio/bug-fclose1.c: Delete.
63270
63271 2012-12-01 Joseph Myers <joseph@codesourcery.com>
63272
63273 * manual/arith.texi (feenableexcept): Fix typo.
63274 (fedisableexcept): Likewise.
63275
63276 2012-11-30 Roland McGrath <roland@hack.frob.com>
63277
63278 * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
63279 second, differently-typed declaration, rather than a cast.
63280
63281 2012-11-30 Siddhesh Poyarekar <siddhesh@redhat.com>
63282
63283 * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
63284 * include/rpc/svc.h: ... here.
63285
63286 2012-11-30 Aurelien Jarno <aurel32@debian.org>
63287
63288 [BZ #13013]
63289 * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
63290 depending n and resplen2 to catch cases where answer
63291 equals answerp2.
63292
63293 2012-11-29 Carlos O'Donell <carlos@systemhalted.org>
63294
63295 * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
63296 for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
63297
63298 2012-11-29 Mike Frysinger <vapier@gentoo.org>
63299
63300 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
63301
63302 2012-11-29 Roland McGrath <roland@hack.frob.com>
63303
63304 * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
63305
63306 2012-11-28 Jeff Law <law@redhat.com>
63307
63308 [BZ #13761]
63309 * nscd/grpcache.c (cache_addgr): Rename alloca_used to
63310 dataset_temporary. Track alloca usage into alloca_used.
63311 If dataset is large allocate and release it via malloc/free.
63312
63313 2012-06-04 Florian Weimer <fweimer@redhat.com>
63314
63315 [BZ #14197]
63316 * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
63317
63318 2012-11-28 David S. Miller <davem@davemloft.net>
63319
63320 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63321
63322 2012-11-28 Joseph Myers <joseph@codesourcery.com>
63323
63324 [BZ #14803]
63325 * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
63326 of pi/2 rounded to nearest to 64 bits.
63327 (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
63328 nearest to 64 bits.
63329 (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
63330 bits.
63331
63332 2012-11-28 Jeff Law <law@redhat.com>
63333 Martin Osvald <mosvald@redhat.com>
63334
63335 [BZ #14889]
63336 * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
63337 * sunrpc/svc.c: Include time.h.
63338 (__svc_accept_failed): New function.
63339 * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
63340 any reason other than EINTR, call __svc_accept_failed.
63341 * sunrpc/svc_udp.c (svcudp_recv): Similarly.
63342 * sunrpc/svc_unix.c (rendezvous_request): Similarly.
63343
63344 2012-11-28 Andreas Schwab <schwab@suse.de>
63345
63346 * scripts/abilist.awk: Also handle indirect functions in .opd
63347 section.
63348
63349 2012-11-28 Joseph Myers <joseph@codesourcery.com>
63350
63351 [BZ #13881]
63352 * sysdeps/x86/fpu/powl_helper.c: New file.
63353 * sysdeps/x86/fpu/Makefile: Likewise.
63354 * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
63355 (p3): New object.
63356 (__ieee754_powl): Use __powl_helper for finite arguments except
63357 integer exponents below 8.
63358 * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
63359 (p3): New object.
63360 (__ieee754_powl): Use __powl_helper for finite arguments except
63361 integer exponents below 8.
63362 * math/libm-test.inc (pow_test): Add more tests and enable some
63363 previously disabled tests.
63364 * sysdeps/i386/fpu/libm-test-ulps: Update.
63365 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63366
63367 2012-11-28 Siddhesh Poyarekar <siddhesh@redhat.com>
63368 Carlos O'Donell <carlos_odonell@mentor.com>
63369
63370 * nss/makedb.c (is_prime): Assert that input is odd and greater
63371 than 4. Note that fact in a comment too.
63372 (next_prime): Add 4 to input.
63373
63374 2012-11-27 Siddhesh Poyarekar <siddhesh@redhat.com>
63375
63376 [BZ #11741]
63377 * libio/Makefile (tests): Add test case tst-fwrite-error.
63378 * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
63379 * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
63380 * libio/tst-fwrite-error.c: New test case.
63381
63382 2012-11-26 H.J. Lu <hongjiu.lu@intel.com>
63383
63384 * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
63385 before casting to void *.
63386 * include/libc-internal.h (__pointer_type): New macro.
63387 (__integer_if_pointer_type_sub): Likewise.
63388 (__integer_if_pointer_type): Likewise.
63389 (cast_to_integer): Likewise.
63390 * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
63391 (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
63392 before casting to atomic64_t.
63393 (atomic_exchange_acq): Likewise.
63394 (__arch_exchange_and_add_body): Likewise.
63395 (__arch_add_body): Likewise.
63396 (atomic_add_negative): Likewise.
63397 (atomic_add_zero): Likewise.
63398
63399 2012-11-26 Joseph Myers <joseph@codesourcery.com>
63400
63401 * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
63402 (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
63403 (add_fdes): Likewise.
63404 (linear_search_fdes): Likewise.
63405 (binary_search_unencoded_fdes): Likewise.
63406
63407 2012-11-26 Andreas Schwab <schwab@linux-m68k.org>
63408
63409 * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
63410
63411 2012-11-24 Adam Conrad <adconrad@0c3.net>
63412
63413 * configure.in: Autodetect C++ header directories.
63414 * configure: Regenerated.
63415
63416 2012-11-23 Mike Frysinger <vapier@gentoo.org>
63417
63418 * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
63419
63420 2012-11-23 Andreas Schwab <schwab@linux-m68k.org>
63421
63422 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
63423
63424 2012-11-22 Joseph Myers <joseph@codesourcery.com>
63425
63426 * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
63427 LDBL_MANT_DIG == 106]: Disable some tests.
63428 (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
63429 Likewise.
63430 (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
63431 Likewise.
63432
63433 [BZ #14871]
63434 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
63435 input for small inputs. Return +/- pi/2 for large inputs.
63436 * math/libm-test.inc (atan_test): Add more tests.
63437
63438 * sysdeps/generic/unwind-dw2-fde-glibc.c
63439 (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
63440 __attribute__ ((unused)).
63441
63442 [BZ #14645]
63443 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
63444 x * y if x and y are nonzero and z is zero.
63445
63446 [BZ #14811]
63447 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
63448 nonzero exponents with absolute value below 0x1p-117 to +/-
63449 0x1p-117.
63450
63451 [BZ #14869]
63452 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
63453 up arguments below 2**-450, not just those below 2**-500.
63454 * math/libm-test.inc (hypot_test): Add another test.
63455
63456 [BZ #14868]
63457 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
63458 Return a+b for ratio over 2**120, not 2**60.
63459 * math/libm-test.inc (hypot_test): Add another test.
63460
63461 * math/libm-test.inc (clog_test): Use
63462 UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
63463 (clog10_test): Likewise.
63464
63465 [BZ #6778]
63466 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
63467
63468 2012-11-22 Andreas Schwab <schwab@suse.de>
63469
63470 * sysdeps/i386/fpu/libm-test-ulps: Update.
63471
63472 2012-11-22 Pino Toscano <toscano.pino@tiscali.it>
63473
63474 * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
63475 printf output with newline.
63476
63477 2012-11-21 H.J. Lu <hongjiu.lu@intel.com>
63478
63479 [BZ #14865]
63480 * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
63481 * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
63482 -z nodlopen, -z initfirst and -z execstack support.
63483 * configure: Regenerated.
63484
63485 * elf/elf.h (DF_1_NODIRECT): New macro.
63486 (DF_1_IGNMULDEF): Likewise.
63487 (DF_1_NOKSYMS): Likewise.
63488 (DF_1_NOHDR): Likewise.
63489 (DF_1_EDITED): Likewise.
63490 (DF_1_NORELOC): Likewise.
63491 (DF_1_SYMINTPOSE): Likewise.
63492 (DF_1_GLOBAUDIT): Likewise.
63493 (DF_1_SINGLETON): Likewise.
63494 * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
63495 DT_1_SUPPORTED_MASK bits.
63496 * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
63497
63498 2012-11-20 Carlos O'Donell <carlos_odonell@mentor.com>
63499
63500 * sysdeps/unix/make-syscalls.sh: Document prefixes.
63501
63502 2012-11-20 Thomas Schwinge <thomas@codesourcery.com>
63503
63504 * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
63505 macro.
63506
63507 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
63508 (sendmmsg): Move declarations...
63509 * socket/sys/socket.h: ... here.
63510 * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
63511 !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
63512 include it from...
63513 * socket/recvmmsg.c: ... this new file.
63514 * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
63515 (sendmmsg): Rename to __sendmmsg, create weak alias and make
63516 definition of __sendmmsg hidden.
63517 * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
63518 [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
63519 Move ENOSYS stub into and include it from...
63520 * socket/sendmmsg.c: ... this new file.
63521 * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
63522 (sysdep_routines): Move recvmmsg and sendmmsg...
63523 * socket/Makefile (routines): ... here.
63524 * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
63525 (GLIBC_PRIVATE): Add __sendmmsg.
63526 * include/sys/socket.h (__sendmmsg): Add declarations.
63527 * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
63528 sendmmsg.
63529
63530 2012-11-20 Joseph Myers <joseph@codesourcery.com>
63531
63532 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
63533 variable I1 with __attribute__ ((unused)).
63534 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
63535
63536 2012-11-19 Joseph Myers <joseph@codesourcery.com>
63537
63538 * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
63539 DUMMY variables with __attribute__ ((unused)).
63540
63541 * bits/byteswap.h: Include <bits/types.h>.
63542 (__bswap_64): Use __uint64_t instead of unsigned long long int.
63543
63544 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
63545
63546 * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
63547 string_t. Do not manually set errno.
63548 (__ptsname_r): Change the type of PEERNAME to string_t, and check its
63549 length with __strnlen. Make sure to both set errno and return it on
63550 failure.
63551
63552 2012-11-19 David S. Miller <davem@davemloft.net>
63553
63554 With help from Joseph Myers.
63555 * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
63556 very large arguments properly.
63557 * math/libm-test.inc (atan_test): New tests.
63558 (atan2_test): New tests.
63559 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63560 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63561
63562 2012-11-19 Joseph Myers <joseph@codesourcery.com>
63563
63564 [BZ #14856]
63565 * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
63566 Define to 3.
63567
63568 * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
63569 [POSIX] (EADDRNOTAVAIL): Likewise.
63570 [POSIX] (EAFNOSUPPORT): Likewise.
63571 [POSIX] (EALREADY): Likewise.
63572 [POSIX] (ECONNABORTED): Likewise.
63573 [POSIX] (ECONNREFUSED): Likewise.
63574 [POSIX] (ECONNRESET): Likewise.
63575 [POSIX] (EDESTADDRREQ): Likewise.
63576 [POSIX] (EDQUOT): Likewise.
63577 [POSIX] (EHOSTUNREACH): Likewise.
63578 [POSIX] (EIDRM): Likewise.
63579 [POSIX] (EISCONN): Likewise.
63580 [POSIX] (ELOOP): Likewise.
63581 [POSIX] (EMULTIHOP): Likewise.
63582 [POSIX] (ENETDOWN): Likewise.
63583 [POSIX] (ENETUNREACH): Likewise.
63584 [POSIX] (ENOBUFS): Likewise.
63585 [POSIX] (ENODATA): Likewise.
63586 [POSIX] (ENOLINK): Likewise.
63587 [POSIX] (ENOMSG): Likewise.
63588 [POSIX] (ENOPROTOOPT): Likewise.
63589 [POSIX] (ENOSR): Likewise.
63590 [POSIX] (ENOSTR): Likewise.
63591 [POSIX] (ENOTCONN): Likewise.
63592 [POSIX] (ENOTSOCK): Likewise.
63593 [POSIX] (EOPNOTSUPP): Likewise.
63594 [POSIX] (EOVERFLOW): Likewise.
63595 [POSIX] (EPROTO): Likewise.
63596 [POSIX] (EPROTONOSUPPORT): Likewise.
63597 [POSIX] (EPROTOTYPE): Likewise.
63598 [POSIX] (ESTALE): Likewise.
63599 [POSIX] (ETIME): Likewise.
63600 [POSIX] (ETXTBSY): Likewise.
63601 [POSIX] (EWOULDBLOCK): Likewise.
63602 [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
63603 * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
63604 [POSIX] (SEEK_CUR): Likewise.
63605 [POSIX] (SEEK_END): Likewise.
63606 [POSIX || UNIX98] (mode_t): Do not require.
63607 [POSIX] (off_t): Likewise.
63608 [POSIX] (pid_t): Likewise.
63609 [POSIX] (sys/stat.h): Do not allow header.
63610 [POSIX] (unistd.h): Likewise.
63611 [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
63612 [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
63613 [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
63614 * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
63615 require.
63616 * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
63617 sigevent): Specify elements.
63618 [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
63619 entry.
63620 [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
63621 [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
63622
63623 * conform/data/cpio.h-data [POSIX]: Disable whole file.
63624 * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
63625 * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
63626 (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
63627 [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
63628 [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
63629 [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
63630 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
63631 [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
63632 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
63633 [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
63634 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
63635 [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
63636 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
63637 Likewise.
63638 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
63639 Likewise.
63640 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
63641 Likewise.
63642 [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
63643 Likewise.
63644 [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
63645 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
63646 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
63647 [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
63648 [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
63649 Specify lower bound on value.
63650 [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
63651 [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
63652 [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
63653 [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
63654 [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
63655 [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
63656 [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
63657 [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
63658 value.
63659 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
63660 as optional.
63661 [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
63662 [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
63663 [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
63664 [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
63665 [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
63666 [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
63667 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
63668 [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
63669 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
63670 [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
63671 [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
63672 [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
63673 [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
63674 [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
63675 [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
63676 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
63677 entry.
63678 [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
63679 optional.
63680 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
63681 [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
63682 [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
63683 [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
63684 [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
63685 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
63686 Likewise.
63687 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
63688 [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
63689 [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
63690 [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
63691 [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise. Give
63692 value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
63693 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
63694 as optional.
63695 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
63696 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
63697 [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
63698 [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
63699 Likewise. Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
63700 [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
63701 specify as optional.
63702 [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
63703 [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
63704 [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
63705 [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
63706 [POSIX || XPG3] (NL_ARGMAX): Do not allow.
63707 [XPG3] (NL_LANGMAX): Likewise.
63708 [POSIX || XPG3] (NL_MSGMAX): Likewise.
63709 [POSIX || XPG3] (NL_NMAX): Likewise.
63710 [POSIX || XPG3] (NL_SETMAX): Likewise.
63711 [POSIX || XPG3] (NL_TEXTMAX): Likewise.
63712 [XPG3] (NZERO): Likewise.
63713 [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
63714 [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
63715 [!ISO && !ISO99 && !ISO11] (*_t): Allow.
63716 * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
63717 (REG_ERANGE): Expect.
63718 * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
63719 optional-constant.
63720 [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
63721 Use (void) in prototype.
63722 [POSIX] (*_t): Allow.
63723 * conform/data/sys/times.h-data [POSIX]: Enable whole file.
63724 * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
63725 (WRDE_BADVAL): Expect.
63726
63727 * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
63728 expect.
63729 [XPG3 || XPG4] (O_RSYNC): Likewise.
63730 * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
63731 Likewise.
63732 [XPG3 || XPG4] (pthread_sigmask): Likewise.
63733 [XPG3 || XPG4] (sigqueue): Likewise.
63734 [XPG3 || XPG4] (sigtimedwait): Likewise.
63735 [XPG3 || XPG4] (sigwaitinfo): Likewise.
63736 * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
63737 [XPG3 || XPG4] (vsnprintf): Likewise.
63738 * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
63739 Likewise.
63740 [XPG3 || XPG4] (blksize_t): Likewise.
63741 * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
63742 Likewise.
63743 [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
63744 [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
63745 [XPG3 || XPG4] (struct itimerspec): Likewise.
63746 [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
63747 [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
63748 [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
63749 [XPG3 || XPG4] (clockid_t): Likewise.
63750 [XPG3 || XPG4] (timer_t): Likewise.
63751 [XPG3 || XPG4] (clock_getres): Likewise.
63752 [XPG3 || XPG4] (clock_gettime): Likewise.
63753 [XPG3 || XPG4] (clock_settime): Likewise.
63754 [XPG3 || XPG4] (nanosleep): Likewise.
63755 [XPG3 || XPG4] (timer_create): Likewise.
63756 [XPG3 || XPG4] (timer_delete): Likewise.
63757 [XPG3 || XPG4] (timer_gettime): Likewise.
63758 [XPG3 || XPG4] (timer_getoverrun): Likewise.
63759 [XPG3 || XPG4] (timer_settime): Likewise.
63760 * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
63761 [XPG3 || XPG4] (getlogin_r): Likewise.
63762 [XPG3 || XPG4] (pread): Likewise.
63763 [XPG3 || XPG4] (pthread_atfork): Likewise.
63764 [XPG3 || XPG4] (pwrite): Likewise.
63765
63766 [BZ #14835]
63767 * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
63768 <bits/siginfo.h>.
63769
63770 2012-11-19 Pino Toscano <toscano.pino@tiscali.it>
63771
63772 * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
63773 finalizing MALLSTREAM.
63774
63775 * sysdeps/mach/hurd/syncfs.c: New file.
63776
63777 2012-11-19 Siddhesh Poyarekar <siddhesh@redhat.com>
63778
63779 [BZ #14719]
63780 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
63781 NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
63782 * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
63783 h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
63784 (_nss_dns_gethostbyname4_r): Likewise.
63785 * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
63786 EAI_SYSTEM if NSS_STATUS_UNAVAIL.
63787
63788 2012-11-19 Peng Haitao <penght@cn.fujitsu.com>
63789
63790 [BZ #13763]
63791 * sunrpc/bindrsvprt.c: Add lock to protect static variable.
63792
63793 2012-11-19 Steve McIntyre <steve.mcintyre@linaro.org>
63794
63795 * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
63796 * elf/cache.c (print_entry): Print ",AArch64" for
63797 FLAG_AARCH64_LIB64
63798
63799 * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
63800 * elf/cache.c (print_entry): Print ",hard-float" for
63801 FLAG_ARM_LIBHF.
63802
63803 2012-11-18 David S. Miller <davem@davemloft.net>
63804
63805 With help from Joseph Myers.
63806 * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
63807 cutoff to 2**-13.
63808 * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
63809 cutoff to 2**-25.
63810 * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
63811 ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
63812 small.
63813 * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
63814 * math/libm-test.inc (y0_test): New tests.
63815 (y1_test): New tests.
63816 * sysdeps/i386/fpu/libm-test-ulps: Update.
63817 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
63818 * sysdeps/sparc/fpu/libm-test-ulps: Update.
63819
63820 2012-11-18 Andreas Schwab <schwab@linux-m68k.org>
63821
63822 * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
63823 64-bit targets.
63824 * configure: Regenerated.
63825
63826 2012-11-17 David S. Miller <davem@davemloft.net>
63827
63828 [BZ #14811]
63829 * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
63830 nonzero exponents with absolute value below 0x1p-128 to +/-
63831 0x1p-128.
63832
63833 2012-11-17 Joseph Myers <joseph@codesourcery.com>
63834
63835 * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
63836
63837 * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
63838
63839 * posix/getconf-speclist.c: New file.
63840 * posix/posix-envs.def: Likewise.
63841 * posix/confstr.c (START_ENV_GROUP): New macro.
63842 (END_ENV_GROUP): Likewise.
63843 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63844 (KNOWN_PRESENT_ENV_STRING): Likewise.
63845 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63846 (UNKNOWN_ENVIRONMENT): Likewise.
63847 (confstr): Include posix-envs.def instead of handling
63848 _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
63849 _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
63850 * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
63851 (END_ENV_GROUP): Likewise.
63852 (KNOWN_ABSENT_ENVIRONMENT): Likewise.
63853 (KNOWN_PRESENT_ENVIRONMENT): Likewise.
63854 (UNKNOWN_ENVIRONMENT): Likewise.
63855 (__sysconf): Include posix-envs.def instead of handling associated
63856 cases directly here.
63857 * posix/Makefile ($(objpfx)getconf.speclist): Generate by
63858 preprocessing getconf-speclist.c rather than running getconf or
63859 generating empty file.
63860
63861 2012-11-16 Pino Toscano <toscano.pino@tiscali.it>
63862
63863 * scripts/check-local-headers.sh: Ignore 'mach' headers.
63864
63865 2012-11-16 Andrej Lajovic <natrij@gmail.com>
63866
63867 [BZ #14672]
63868 * iconv/iconv_prog.c (main): Fix -c handling of '/'.
63869
63870 2012-11-16 David S. Miller <davem@davemloft.net>
63871
63872 * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
63873 smaller than LDBL_EPSILON/2.0L, just return xm1.
63874
63875 2012-11-16 H.J. Lu <hongjiu.lu@intel.com>
63876
63877 * elf/tst-array1.c (init): Set constructor priority to 1000.
63878 (fini): Set destructor priority to 1000.
63879 * elf/tst-array2dep.c: Likewise.
63880
63881 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
63882
63883 [BZ #11741]
63884 * libio/fileops.c (_IO_new_file_write): Correctly return error.
63885 (_IO_new_file_xsputn): Also return EOF if none of the input
63886 data was written when overflow failed.
63887 * libio/iopadn.c (_IO_padn): Likewise.
63888 * libio/iowpadn.c (_IO_wpadn): Likewise.
63889 * stdio-common/tst-put-error.c: Add copyright notice.
63890 (do_test): Add case for printing padded string.
63891 * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
63892 _IO_padn returned error.
63893 [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
63894 * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
63895 return EOF.
63896
63897 2012-11-16 Siddhesh Poyarekar <siddhesh@redhat.com>
63898
63899 * libio/libioP.h: Add comment note that the references to C++
63900 bits are now obsolete.
63901
63902 2012-11-15 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63903
63904 * math/libm-test.inc (check_complex): Use asprintf.
63905
63906 2012-11-14 Joseph Myers <joseph@codesourcery.com>
63907
63908 * debug/pcprofiledump.c (print_version): Update copyright year.
63909 * malloc/memusagestat.c (print_version): Likewise.
63910
63911 2012-11-14 H.J. Lu <hongjiu.lu@intel.com>
63912
63913 [BZ #14831]
63914 * elf/Makefile (tests): Add tst-audit8.
63915 ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
63916 ($(objpfx)tst-audit8.out): New target.
63917 (tst-audit8-ENV): New variable.
63918 * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
63919 audit if l_reloc_result is NULL.
63920 (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
63921 defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
63922 * elf/tst-audit8.c: New file.
63923
63924 2012-11-14 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63925
63926 * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
63927 * misc/Makefile (CFLAGS-select.c): Define.
63928 * posix/Makefile (CFLAGS-pause.c): Define.
63929
63930 2012-11-13 David S. Miller <davem@davemloft.net>
63931
63932 * crypt/Makefile: Move test targets after toplevel Rules
63933 inclusion. Grab any necessary sysdep routines when linking.
63934 * crypt/md5.c (md5_process_block): Remove define, we will always
63935 name it __md5_process_block.
63936 (md5_finish_ctx): Update md5_process_block call.
63937 (md5_stream): Likewise.
63938 (md5_process_bytes): Likewise.
63939 (md5_process_block): Rename to __md5_process_block and move to ...
63940 * crypt/md5-block.c: ... here.
63941 * crypt/sha256.c (sha256_process_block): Move to ...
63942 * crypt/sha256-block.c: ... here.
63943 * crypt/sha512.c (sha512_process_block): Move to ...
63944 * crypt/sha512-block.c: ... here.
63945 * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
63946 path.
63947 * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
63948 * sysdeps/sparc/sparc64/multiarch/Makefile
63949 (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
63950 crypt subdir.
63951 (localedef-aux): Add md5 crypto assembler when in locale subdir.
63952 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
63953 multiarch changes.
63954 * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
63955 * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
63956 * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
63957 * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
63958 * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
63959 * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
63960 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
63961 * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
63962 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
63963 file.
63964 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
63965 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
63966 file.
63967 * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
63968
63969 2012-11-13 Joseph Myers <joseph@codesourcery.com>
63970
63971 * timezone/tzselect.ksh: Update from tzcode git revision
63972 a435f9f0ecafa56d9e0263835836bd0c64cd7307.
63973 * timezone/zdump.c: Likewise.
63974 * timezone/zic.c: Likewise.
63975 * timezone/Makefile ($(objpfx)version.h): Only include $(version)
63976 in TZVERSION setting, not $(PKGVERSION).
63977 ($(objpfx)tzselect): Likewise. Also substitute PKGVERSION and
63978 REPORT_BUGS_TO settings.
63979
63980 [BZ #14838]
63981 * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
63982 macro.
63983
63984 2012-11-13 Marcus Shawcroft <marcus.shawcroft@linaro.org>
63985
63986 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
63987 detection to immediately after _FP_ROUND().
63988 * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
63989 bits are 0.
63990
63991 2012-11-11 David S. Miller <davem@davemloft.net>
63992
63993 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
63994 inttypes.h
63995 (__get_clockfreq_via_proc_openprom): Use __open, __read, and
63996 __close rather than their public counterparts.
63997
63998 2012-11-10 Joseph Myers <joseph@codesourcery.com>
63999
64000 * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
64001 file.
64002 [UNIX98] (sem_timedwait): Do not expect.
64003 * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
64004 [XPG4 || UNIX98] (sockatmark): Do not expect.
64005 * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
64006 (clock_getcpuclockid): Do not expect.
64007 [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
64008 * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
64009 Do not expect.
64010 [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
64011 * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
64012 [UNIX98] (vwscanf): Likewise.
64013 [UNIX98] (vswscanf): Likewise.
64014
64015 2012-11-09 Joseph Myers <joseph@codesourcery.com>
64016
64017 * timezone/version.h: Remove file.
64018 * timezone/README: Do not refer to version.h.
64019 * timezone/Makefile ($(objpfx)zic.o): New dependency on
64020 $(objpfx)version.h.
64021 ($(objpfx)zdump.o): Likewise.
64022 ($(objpfx)version.h): New target.
64023
64024 * timezone/tzselect.ksh: Change to verbatim copy from tzcode
64025 2012i.
64026 * timezone/README: Don't mention modification to tzselect.ksh.
64027 * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
64028 work on unmodified tzselect.ksh. Substitute version numbers in
64029 tzselect.ksh.
64030
64031 * Makefile (format-me): Remove.
64032 (INSTALL): Adjust indentation. Use commands directly instead of
64033 using $(format-me).
64034
64035 * aclocal.m4 (ACX_PKGVERSION): New macro.
64036 (ACX_BUGURL): Likewise.
64037 * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
64038 (PKGVERSION): New AC_DEFINE_UNQUOTED.
64039 (REPORT_BUGS_TO): Likewise.
64040 * configure: Regenerated.
64041 * config.h.in (PKGVERSION): New macro.
64042 (REPORT_BUGS_TO): Likewise.
64043 * config.make.in (PKGVERSION): New variable.
64044 (PKGVERSION_TEXI): Likewise.
64045 (REPORT_BUGS_TO): Likewise.
64046 (REPORT_BUGS_TEXI): Likewise.
64047 * Makefile (format-me): Use -I$(common-objpfx)manual.
64048 (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
64049 ($(common-objpfx)manual/%): New target.
64050 (manual/%): Remove target.
64051 * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
64052 (print_version): Use PKGVERSION.
64053 * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
64054 * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
64055 and REPORT_BUGS_TO.
64056 ($(objpfx)xtrace): Likewise.
64057 * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
64058 * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
64059 (print_version): Use PKGVERSION.
64060 * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
64061 (do_version): Use PKGVERSION.
64062 * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
64063 REPORT_BUGS_TO.
64064 (common-ldd-rewrite): Likewise.
64065 * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
64066 * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
64067 (print_version): Use PKGVERSION.
64068 * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
64069 * elf/pldd.c (argp_program_bug_address): Remove variable.
64070 (more_help): New function.
64071 (argp): Use more_help.
64072 (print_version): Use PKGVERSION.
64073 * elf/sln.c (main): Use PKGVERSION.
64074 (usage): Use REPORT_BUGS_TO.
64075 * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
64076 (top level): Use PKGVERSION.
64077 * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
64078 (print_version): Use PKGVERSION.
64079 * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
64080 (print_version): Use PKGVERSION.
64081 * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
64082 (print_version): Use PKGVERSION.
64083 * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
64084 (print_version): Use PKGVERSION.
64085 * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
64086 (print_version): Use PKGVERSION.
64087 * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
64088 (print_version): Use PKGVERSION.
64089 * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
64090 and BUGURL.
64091 ($(objpfx)memusage): Likewise.
64092 * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
64093 (do_version): Use PKGVERSION.
64094 * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
64095 (print_version): Use PKGVERSION.
64096 * malloc/mtrace.pl ($PACKAGE): Remove variable.
64097 ($PKGVERSION): New variable.
64098 ($REPORT_BUGS_TO): Likewise.
64099 (usage): Use $REPORT_BUGS_TO.
64100 (top level): Use $PKGVERSION.
64101 * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
64102 ($(objpfx)pkgvers.texi): New rule.
64103 ($(objpfx)stamp-pkgvers): Likewise.
64104 * manual/install.texi: Include pkgvers.texi.
64105 (--with-pkgversion): Document new configure option.
64106 (--with-bugurl): Likewise.
64107 (Reporting Bugs): Describe Bugzilla as upstream tracker rather
64108 than necessarily for this particular distribution. Use
64109 REPORT_BUGS_TO for where to report bugs.
64110 * INSTALL: Regenerated.
64111 * manual/libc.texinfo: Include pkgvers.texi.
64112 [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
64113 * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
64114 (print_version): Use PKGVERSION.
64115 * nss/getent.c (more_help): Use REPORT_BUGS_TO.
64116 (print_version): Use PKGVERSION.
64117 * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
64118 (print_version): Use PKGVERSION.
64119 * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
64120 * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
64121 macro.
64122 * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
64123 (print_version): Use PKGVERSION.
64124 * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
64125 (print_version): Use PKGVERSION.
64126 * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
64127 and PKGVERSION.
64128
64129 * timezone/checktab.awk: Update from tzcode 2012i.
64130 * timezone/ialloc.c: Likewise.
64131 * timezone/private.h: Likewise.
64132 * timezone/scheck.c: Likewise.
64133 * timezone/tzfile.h: Likewise.
64134 * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
64135 (TZVERSION): Hardcode tzcode version number.
64136 * timezone/zdump.c: Update from tzcode 2012i.
64137 * timezone/zic.c: Likewise.
64138 * timezone/version.h: New file.
64139 * timezone/README: Describe version.h. Update upstream location.
64140
64141 [BZ #14824]
64142 * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
64143 (mktemp): Enable declaration.
64144 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
64145 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
64146 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
64147 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
64148 Likewise.
64149 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
64150 Likewise.
64151 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
64152 Likewise.
64153 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
64154 Likewise.
64155 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
64156 Likewise.
64157 [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
64158 Likewise.
64159
64160 [BZ #14821]
64161 * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
64162 offset in buffer as u_int32_t not u_long. Consistently use memcpy
64163 for copies of such integer values.
64164 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
64165 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
64166
64167 2012-11-09 Andreas Jaeger <aj@suse.de>
64168
64169 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
64170 definitions and declarations that are provided by
64171 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
64172
64173 2012-11-08 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64174
64175 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
64176 * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
64177 * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
64178 definition.
64179
64180 2012-11-08 Marcus Shawcroft <marcus.shawcroft@linaro.org>
64181
64182 * elf/elf.h: Update comment before AArch64 relocations.
64183
64184 2012-11-07 David S. Miller <davem@davemloft.net>
64185
64186 * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
64187 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
64188 (__start_context): Declare.
64189 (__makecontext_ret): Delete.
64190 (__makecontext): Hook up __start_context instead of
64191 __makecontext_ret.
64192 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
64193 (sysdep_routines): Add __start_context when in stdlib.
64194
64195 2012-11-07 Joseph Myers <joseph@codesourcery.com>
64196
64197 * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
64198 $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
64199 * sysdeps/x86/tst-xmmymm.sh (NM): New variable. Use it instead of
64200 hardcoded "nm".
64201 (OBJDUMP): New variable. Use it instead of hardcoded "objdump".
64202 (READELF): New variable. Use it instead of hardcoded "readelf".
64203
64204 2012-11-07 H.J. Lu <hongjiu.lu@intel.com>
64205
64206 * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
64207 * sysdeps/x86/Makefile: Here.
64208 * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
64209 * sysdeps/x86/tst-xmmymm.sh: This.
64210
64211 2012-11-07 Joseph Myers <joseph@codesourcery.com>
64212
64213 * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
64214 expectations.
64215 [UNIX98] (pthread_barrier_t): Do not expect.
64216 [UNIX98] (pthread_barrierattr_t): Likewise.
64217 [UNIX98] (pthread_spinlock_t): Likewise.
64218 [UNIX98] (pthread_barrier_destroy): Likewise.
64219 [UNIX98] (pthread_barrier_init): Likewise.
64220 [UNIX98] (pthread_barrier_wait): Likewise.
64221 [UNIX98] (pthread_barrierattr_destroy): Likewise.
64222 [UNIX98] (pthread_barrierattr_getpshared): Likewise.
64223 [UNIX98] (pthread_barrierattr_init): Likewise.
64224 [UNIX98] (pthread_barrierattr_setpshared): Likewise.
64225 [UNIX98] (pthread_getcpuclockid): Likewise.
64226 [UNIX98] (pthread_mutex_timedlock): Likewise.
64227 [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
64228 [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
64229 [UNIX98] (pthread_sigmask): Likewise.
64230 [UNIX98] (pthread_spin_destroy): Likewise.
64231 [UNIX98] (pthread_spin_init): Likewise.
64232 [UNIX98] (pthread_spin_lock): Likewise.
64233 [UNIX98] (pthread_spin_trylock): Likewise.
64234 [UNIX98] (pthread_spin_unlock): Likewise.
64235 * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
64236 Do not expect.
64237 [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
64238 [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
64239 [XPG3 || XPG4] (pthread_cond_t): Likewise.
64240 [XPG3 || XPG4] (pthread_condattr_t): Likewise.
64241 [XPG3 || XPG4] (pthread_key_t): Likewise.
64242 [XPG3 || XPG4] (pthread_mutex_t): Likewise.
64243 [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
64244 [XPG3 || XPG4] (pthread_once_t): Likewise.
64245 [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
64246 [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
64247 [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
64248 [XPG3 || XPG4] (pthread_t): Likewise.
64249
64250 * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
64251 not expect.
64252 [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
64253
64254 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
64255 Change function return type to int.
64256
64257 * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
64258 Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
64259 [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
64260 [!POSIX] (POSIX_MADV_RANDOM): Likewise.
64261 [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
64262 [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
64263 [!POSIX] (posix_madvise): Likewise.
64264 (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
64265 && !UNIX98].
64266 (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
64267 (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
64268 (mode_t): Likewise.
64269 (posix_mem_offset): Likewise.
64270 (posix_typed_mem_get_info): Likewise.
64271 (posix_typed_mem_open): Likewise.
64272
64273 * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
64274 Change condition to [XOPEN2K8].
64275
64276 * conform/conformtest.pl: Preprocess allow-header data with -x c
64277 instead of from stdin.
64278 (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
64279 * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
64280 [C99-based standards] (cerfc): Likewise.
64281 [C99-based standards] (cexp2): Likewise.
64282 [C99-based standards] (cexpm1): Likewise.
64283 [C99-based standards] (clog10): Likewise.
64284 [C99-based standards] (clog1p): Likewise.
64285 [C99-based standards] (clog2): Likewise.
64286 [C99-based standards] (clgamma): Likewise.
64287 [C99-based standards] (ctgamma): Likewise.
64288 [C99-based standards] (cerff): Likewise.
64289 [C99-based standards] (cerfcf): Likewise.
64290 [C99-based standards] (cexp2f): Likewise.
64291 [C99-based standards] (cexpm1f): Likewise.
64292 [C99-based standards] (clog10f): Likewise.
64293 [C99-based standards] (clog1pf): Likewise.
64294 [C99-based standards] (clog2f): Likewise.
64295 [C99-based standards] (clgammaf): Likewise.
64296 [C99-based standards] (ctgammaf): Likewise.
64297 [C99-based standards] (cerfl): Likewise.
64298 [C99-based standards] (cerfcl): Likewise.
64299 [C99-based standards] (cexp2l): Likewise.
64300 [C99-based standards] (cexpm1l): Likewise.
64301 [C99-based standards] (clog10l): Likewise.
64302 [C99-based standards] (clog1pl): Likewise.
64303 [C99-based standards] (clog2l): Likewise.
64304 [C99-based standards] (clgammal): Likewise.
64305 [C99-based standards] (ctgammal): Likewise.
64306 * conform/data/inttypes.h-data [C99-based standards]: Include
64307 stdint.h-data. Remove all expectations for stdint.h contents.
64308 [C99-based standards] (PRI*): Do not allow.
64309 [C99-based standards] (SCN*): Likewise.
64310 [C99-based standards] (*_t): Likewise.
64311 [C99-based-standards] (PRId8): Expect macro.
64312 [C99-based-standards] (PRIi8): Likewise.
64313 [C99-based-standards] (PRIo8): Likewise.
64314 [C99-based-standards] (PRIu8): Likewise.
64315 [C99-based-standards] (PRIx8): Likewise.
64316 [C99-based-standards] (PRIX8): Likewise.
64317 [C99-based-standards] (SCNd8): Likewise.
64318 [C99-based-standards] (SCNi8): Likewise.
64319 [C99-based-standards] (SCNo8): Likewise.
64320 [C99-based-standards] (SCNu8): Likewise.
64321 [C99-based-standards] (SCNx8): Likewise.
64322 [C99-based-standards] (PRIdLEAST8): Likewise.
64323 [C99-based-standards] (PRIiLEAST8): Likewise.
64324 [C99-based-standards] (PRIoLEAST8): Likewise.
64325 [C99-based-standards] (PRIuLEAST8): Likewise.
64326 [C99-based-standards] (PRIxLEAST8): Likewise.
64327 [C99-based-standards] (PRIXLEAST8): Likewise.
64328 [C99-based-standards] (SCNdLEAST8): Likewise.
64329 [C99-based-standards] (SCNiLEAST8): Likewise.
64330 [C99-based-standards] (SCNoLEAST8): Likewise.
64331 [C99-based-standards] (SCNuLEAST8): Likewise.
64332 [C99-based-standards] (SCNxLEAST8): Likewise.
64333 [C99-based-standards] (PRIdFAST8): Likewise.
64334 [C99-based-standards] (PRIiFAST8): Likewise.
64335 [C99-based-standards] (PRIoFAST8): Likewise.
64336 [C99-based-standards] (PRIuFAST8): Likewise.
64337 [C99-based-standards] (PRIxFAST8): Likewise.
64338 [C99-based-standards] (PRIXFAST8): Likewise.
64339 [C99-based-standards] (SCNdFAST8): Likewise.
64340 [C99-based-standards] (SCNiFAST8): Likewise.
64341 [C99-based-standards] (SCNoFAST8): Likewise.
64342 [C99-based-standards] (SCNuFAST8): Likewise.
64343 [C99-based-standards] (SCNxFAST8): Likewise.
64344 [C99-based-standards] (PRId16): Likewise.
64345 [C99-based-standards] (PRIi16): Likewise.
64346 [C99-based-standards] (PRIo16): Likewise.
64347 [C99-based-standards] (PRIu16): Likewise.
64348 [C99-based-standards] (PRIx16): Likewise.
64349 [C99-based-standards] (PRIX16): Likewise.
64350 [C99-based-standards] (SCNd16): Likewise.
64351 [C99-based-standards] (SCNi16): Likewise.
64352 [C99-based-standards] (SCNo16): Likewise.
64353 [C99-based-standards] (SCNu16): Likewise.
64354 [C99-based-standards] (SCNx16): Likewise.
64355 [C99-based-standards] (PRIdLEAST16): Likewise.
64356 [C99-based-standards] (PRIiLEAST16): Likewise.
64357 [C99-based-standards] (PRIoLEAST16): Likewise.
64358 [C99-based-standards] (PRIuLEAST16): Likewise.
64359 [C99-based-standards] (PRIxLEAST16): Likewise.
64360 [C99-based-standards] (PRIXLEAST16): Likewise.
64361 [C99-based-standards] (SCNdLEAST16): Likewise.
64362 [C99-based-standards] (SCNiLEAST16): Likewise.
64363 [C99-based-standards] (SCNoLEAST16): Likewise.
64364 [C99-based-standards] (SCNuLEAST16): Likewise.
64365 [C99-based-standards] (SCNxLEAST16): Likewise.
64366 [C99-based-standards] (PRIdFAST16): Likewise.
64367 [C99-based-standards] (PRIiFAST16): Likewise.
64368 [C99-based-standards] (PRIoFAST16): Likewise.
64369 [C99-based-standards] (PRIuFAST16): Likewise.
64370 [C99-based-standards] (PRIxFAST16): Likewise.
64371 [C99-based-standards] (PRIXFAST16): Likewise.
64372 [C99-based-standards] (SCNdFAST16): Likewise.
64373 [C99-based-standards] (SCNiFAST16): Likewise.
64374 [C99-based-standards] (SCNoFAST16): Likewise.
64375 [C99-based-standards] (SCNuFAST16): Likewise.
64376 [C99-based-standards] (SCNxFAST16): Likewise.
64377 [C99-based-standards] (PRId32): Likewise.
64378 [C99-based-standards] (PRIi32): Likewise.
64379 [C99-based-standards] (PRIo32): Likewise.
64380 [C99-based-standards] (PRIu32): Likewise.
64381 [C99-based-standards] (PRIx32): Likewise.
64382 [C99-based-standards] (PRIX32): Likewise.
64383 [C99-based-standards] (SCNd32): Likewise.
64384 [C99-based-standards] (SCNi32): Likewise.
64385 [C99-based-standards] (SCNo32): Likewise.
64386 [C99-based-standards] (SCNu32): Likewise.
64387 [C99-based-standards] (SCNx32): Likewise.
64388 [C99-based-standards] (PRIdLEAST32): Likewise.
64389 [C99-based-standards] (PRIiLEAST32): Likewise.
64390 [C99-based-standards] (PRIoLEAST32): Likewise.
64391 [C99-based-standards] (PRIuLEAST32): Likewise.
64392 [C99-based-standards] (PRIxLEAST32): Likewise.
64393 [C99-based-standards] (PRIXLEAST32): Likewise.
64394 [C99-based-standards] (SCNdLEAST32): Likewise.
64395 [C99-based-standards] (SCNiLEAST32): Likewise.
64396 [C99-based-standards] (SCNoLEAST32): Likewise.
64397 [C99-based-standards] (SCNuLEAST32): Likewise.
64398 [C99-based-standards] (SCNxLEAST32): Likewise.
64399 [C99-based-standards] (PRIdFAST32): Likewise.
64400 [C99-based-standards] (PRIiFAST32): Likewise.
64401 [C99-based-standards] (PRIoFAST32): Likewise.
64402 [C99-based-standards] (PRIuFAST32): Likewise.
64403 [C99-based-standards] (PRIxFAST32): Likewise.
64404 [C99-based-standards] (PRIXFAST32): Likewise.
64405 [C99-based-standards] (SCNdFAST32): Likewise.
64406 [C99-based-standards] (SCNiFAST32): Likewise.
64407 [C99-based-standards] (SCNoFAST32): Likewise.
64408 [C99-based-standards] (SCNuFAST32): Likewise.
64409 [C99-based-standards] (SCNxFAST32): Likewise.
64410 [C99-based-standards] (PRId64): Likewise.
64411 [C99-based-standards] (PRIi64): Likewise.
64412 [C99-based-standards] (PRIo64): Likewise.
64413 [C99-based-standards] (PRIu64): Likewise.
64414 [C99-based-standards] (PRIx64): Likewise.
64415 [C99-based-standards] (PRIX64): Likewise.
64416 [C99-based-standards] (SCNd64): Likewise.
64417 [C99-based-standards] (SCNi64): Likewise.
64418 [C99-based-standards] (SCNo64): Likewise.
64419 [C99-based-standards] (SCNu64): Likewise.
64420 [C99-based-standards] (SCNx64): Likewise.
64421 [C99-based-standards] (PRIdLEAST64): Likewise.
64422 [C99-based-standards] (PRIiLEAST64): Likewise.
64423 [C99-based-standards] (PRIoLEAST64): Likewise.
64424 [C99-based-standards] (PRIuLEAST64): Likewise.
64425 [C99-based-standards] (PRIxLEAST64): Likewise.
64426 [C99-based-standards] (PRIXLEAST64): Likewise.
64427 [C99-based-standards] (SCNdLEAST64): Likewise.
64428 [C99-based-standards] (SCNiLEAST64): Likewise.
64429 [C99-based-standards] (SCNoLEAST64): Likewise.
64430 [C99-based-standards] (SCNuLEAST64): Likewise.
64431 [C99-based-standards] (SCNxLEAST64): Likewise.
64432 [C99-based-standards] (PRIdFAST64): Likewise.
64433 [C99-based-standards] (PRIiFAST64): Likewise.
64434 [C99-based-standards] (PRIoFAST64): Likewise.
64435 [C99-based-standards] (PRIuFAST64): Likewise.
64436 [C99-based-standards] (PRIxFAST64): Likewise.
64437 [C99-based-standards] (PRIXFAST64): Likewise.
64438 [C99-based-standards] (SCNdFAST64): Likewise.
64439 [C99-based-standards] (SCNiFAST64): Likewise.
64440 [C99-based-standards] (SCNoFAST64): Likewise.
64441 [C99-based-standards] (SCNuFAST64): Likewise.
64442 [C99-based-standards] (SCNxFAST64): Likewise.
64443 [C99-based-standards] (PRIdMAX): Likewise.
64444 [C99-based-standards] (PRIiMAX): Likewise.
64445 [C99-based-standards] (PRIoMAX): Likewise.
64446 [C99-based-standards] (PRIuMAX): Likewise.
64447 [C99-based-standards] (PRIxMAX): Likewise.
64448 [C99-based-standards] (PRIXMAX): Likewise.
64449 [C99-based-standards] (SCNdMAX): Likewise.
64450 [C99-based-standards] (SCNiMAX): Likewise.
64451 [C99-based-standards] (SCNoMAX): Likewise.
64452 [C99-based-standards] (SCNuMAX): Likewise.
64453 [C99-based-standards] (SCNxMAX): Likewise.
64454 [C99-based-standards] (PRIdPTR): Likewise.
64455 [C99-based-standards] (PRIiPTR): Likewise.
64456 [C99-based-standards] (PRIoPTR): Likewise.
64457 [C99-based-standards] (PRIuPTR): Likewise.
64458 [C99-based-standards] (PRIxPTR): Likewise.
64459 [C99-based-standards] (PRIXPTR): Likewise.
64460 [C99-based-standards] (SCNdPTR): Likewise.
64461 [C99-based-standards] (SCNiPTR): Likewise.
64462 [C99-based-standards] (SCNoPTR): Likewise.
64463 [C99-based-standards] (SCNuPTR): Likewise.
64464 [C99-based-standards] (SCNxPTR): Likewise.
64465 * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
64466 allow.
64467 * conform/data/stdint.h-data: Update comments to clarify
64468 requirements.
64469 [C99-based standards] (INT8_MIN): Use macro-int-constant. Specify
64470 type.
64471 [C99-based standards] (INT8_MAX): Likewise.
64472 [C99-based standards] (INT16_MIN): Likewise.
64473 [C99-based standards] (INT16_MAX): Likewise.
64474 [C99-based standards] (INT32_MIN): Likewise.
64475 [C99-based standards] (INT32_MAX): Likewise.
64476 [C99-based standards] (INT64_MIN): Likewise.
64477 [C99-based standards] (INT64_MAX): Likewise.
64478 [C99-based standards] (UINT8_MAX): Likewise.
64479 [C99-based standards] (UINT16_MAX): Likewise.
64480 [C99-based standards] (UINT32_MAX): Likewise.
64481 [C99-based standards] (UINT64_MAX): Likewise.
64482 [C99-based standards] (INT_LEAST8_MIN): Likewise.
64483 [C99-based standards] (INT_LEAST8_MAX): Likewise.
64484 [C99-based standards] (INT_LEAST16_MIN): Likewise.
64485 [C99-based standards] (INT_LEAST16_MAX): Likewise.
64486 [C99-based standards] (INT_LEAST32_MIN): Likewise.
64487 [C99-based standards] (INT_LEAST32_MAX): Likewise.
64488 [C99-based standards] (INT_LEAST64_MIN): Likewise.
64489 [C99-based standards] (INT_LEAST64_MAX): Likewise.
64490 [C99-based standards] (UINT_LEAST8_MAX): Likewise.
64491 [C99-based standards] (UINT_LEAST16_MAX): Likewise.
64492 [C99-based standards] (UINT_LEAST32_MAX): Likewise.
64493 [C99-based standards] (UINT_LEAST64_MAX): Likewise.
64494 [C99-based standards] (INT_FAST8_MIN): Likewise.
64495 [C99-based standards] (INT_FAST8_MAX): Likewise.
64496 [C99-based standards] (INT_FAST16_MIN): Likewise.
64497 [C99-based standards] (INT_FAST16_MAX): Likewise.
64498 [C99-based standards] (INT_FAST32_MIN): Likewise.
64499 [C99-based standards] (INT_FAST32_MAX): Likewise.
64500 [C99-based standards] (INT_FAST64_MIN): Likewise.
64501 [C99-based standards] (INT_FAST64_MAX): Likewise.
64502 [C99-based standards] (UINT_FAST8_MAX): Likewise.
64503 [C99-based standards] (UINT_FAST16_MAX): Likewise.
64504 [C99-based standards] (UINT_FAST32_MAX): Likewise.
64505 [C99-based standards] (UINT_FAST64_MAX): Likewise.
64506 [C99-based standards] (INTPTR_MIN): Likewise.
64507 [C99-based standards] (INTPTR_MAX): Likewise.
64508 [C99-based standards] (UINTPTR_MAX): Likewise.
64509 [C99-based standards] (INTMAX_MIN): Likewise.
64510 [C99-based standards] (INTMAX_MAX): Likewise.
64511 [C99-based standards] (UINTMAX_MAX): Likewise.
64512 [C99-based standards] (PTRDIFF_MIN): Likewise.
64513 [C99-based standards] (PTRDIFF_MAX): Likewise.
64514 [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
64515 [C99-based standards] (SIZE_MAX): Likewise.
64516 [C99-based standards] (WCHAR_MAX): Likewise.
64517 [C99-based standards] (WINT_MAX): Likewise.
64518 [C99-based standards] (SIG_ATOMIC_MIN): Likewise. Do not specify
64519 constraint on value.
64520 [C99-based standards] (WCHAR_MIN): Likewise.
64521 [C99-based standards] (WINT_MIN): Likewise.
64522 [C99-based standards] (*_t): Allow.
64523 * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
64524 condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
64525 Include math.h-data and complex.h-data. Remove all expectations
64526 of math.h and complex.h contents.
64527 * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
64528 at end of line.
64529 * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
64530 (struct tm): Expect tag.
64531 [C99-based-standards] (wcstof): Expect function.
64532 [C99-based-standards] (wcstold): Likewise.
64533 [C99-based-standards] (wcstoll): Likewise.
64534 [C99-based-standards] (wcstoull): Likewise.
64535 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
64536 macro-int-constant. Specify type.
64537 [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise. Specify
64538 constraint on value.
64539 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64540 Specify type.
64541 [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
64542 Specify value.
64543 [ISO C standards]: Do not allow headers.
64544 [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
64545 wcs[abcdefghijklmnopqrstuvwxyz]*.
64546 [ISO C standards] (*_t): Do not allow.
64547 * conform/data/wctype.h-data [C99-based standards] (iswblank):
64548 Expect function.
64549 [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
64550 [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
64551 Specify type.
64552 [ISO C standards]: Do not allow headers.
64553 [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
64554 is[abcdefghijklmnopqrstuvwxyz]*.
64555 [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
64556 to[abcdefghijklmnopqrstuvwxyz]*.
64557 [ISO C standards] (*_t): Do not allow.
64558 * conform/data/stdalign.h-data: New file.
64559 * conform/data/stdbool.h-data: Likewise.
64560 * conform/data/stdnoreturn.h-data: Likewise.
64561
64562 2012-11-07 Roland McGrath <roland@hack.frob.com>
64563
64564 [BZ #14815]
64565 * manual/filesys.texi (Directory Entries): Typo fix.
64566 Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
64567
64568 2012-11-07 Marcus Shawcroft <marcus.shawcroft@linaro.org>
64569
64570 * elf/elf.h (EM_AARCH64): New macro.
64571 (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
64572 (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
64573 (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
64574 (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
64575 (R_AARCH64_TLSDESC): Likewise.
64576 (NT_ARM_TLS): Likewise.
64577 (NT_ARM_HW_BREAK): Likewise.
64578 (NT_ARM_HW_WATCH): Likewise.
64579
64580 2012-11-07 Joseph Myers <joseph@codesourcery.com>
64581
64582 [BZ #14811]
64583 * sysdeps/i386/fpu/e_powl.S (pm79): New object.
64584 (__ieee754_powl): Saturate nonzero exponents with absolute value
64585 below 0x1p-79 to +/- 0x1p-79.
64586 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
64587 exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
64588 * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
64589 nonzero exponents with absolute value below 0x1p-32 to +/-
64590 0x1p-32.
64591 * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
64592 (__ieee754_powl): Saturate nonzero exponents with absolute value
64593 below 0x1p-79 to +/- 0x1p-79.
64594 * math/libm-test.inc (pow_test): Add more tests.
64595
64596 2012-11-07 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
64597
64598 * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
64599 _dl_s390_cap_flags with kernel. Increase string length.
64600 (_dl_s390_platforms): Add z196 and zEC12.
64601
64602 2012-11-07 Joseph Myers <joseph@codesourcery.com>
64603
64604 * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
64605 Change XOPEN21K to XOPEN2K.
64606
64607 2012-11-06 Maxim Kuvyrkov <maxim@codesourcery.com>
64608
64609 * string/memmove.c: Use memcpy when possible.
64610
64611 2012-11-06 Andreas Jaeger <aj@suse.de>
64612
64613 * po/eo.po: Update from translation team.
64614
64615 2012-11-06 Joseph Myers <joseph@codesourcery.com>
64616
64617 [BZ #14793]
64618 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
64619 exponent and small x and y exponents, scale x or y up. Increase
64620 by 2 the exponent used in scaling up.
64621 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64622 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64623 * math/libm-test.inc (fma_test): Add more tests.
64624 (fma_test_towardzero): Likewise.
64625 (fma_test_downward): Likewise.
64626 (fma_test_upward): Likewise.
64627
64628 2012-11-05 Joseph Myers <joseph@codesourcery.com>
64629
64630 [BZ #14805]
64631 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
64632 fenv_t *.
64633
64634 [BZ #14801]
64635 * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
64636 namespace for names of struct fields.
64637 * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
64638 fenv_t fields.
64639 * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
64640 * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
64641
64642 2012-11-04 Samuel Thibault <samuel.thibault@ens-lyon.org>
64643
64644 [BZ #3665]
64645 * sysdeps/mach/hurd/bits/errno.h: Regenerated.
64646
64647 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
64648
64649 * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
64650 PTR_DEMANGLE.
64651
64652 [BZ #5246]
64653 * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
64654 PTR_DEMANGLE.
64655
64656 2012-11-04 Joseph Myers <joseph@codesourcery.com>
64657
64658 [BZ #14797]
64659 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
64660 definitely overflow as x * y not x * y + z.
64661 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
64662 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
64663 * math/libm-test.inc (fma_test): Add more tests.
64664 (fma_test_towardzero): Likewise.
64665 (fma_test_downward): Likewise.
64666 (fma_test_upward): Likewise.
64667
64668 2012-11-04 Thomas Schwinge <thomas@codesourcery.com>
64669
64670 [BZ #157]
64671
64672 * include/stub-tag.h: Remove file.
64673 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
64674 '#include' of it.
64675 * manual/maint.texi (Porting): Don't reference it.
64676 * Makerules ($(objpfx)stubs): Likewise.
64677 * dirent/closedir.c: Don't include <stub-tag.h>.
64678 * dirent/dirfd.c: Likewise.
64679 * dirent/fdopendir.c: Likewise.
64680 * dirent/getdents.c: Likewise.
64681 * dirent/getdents64.c: Likewise.
64682 * dirent/opendir.c: Likewise.
64683 * dirent/readdir.c: Likewise.
64684 * dirent/readdir64.c: Likewise.
64685 * dirent/readdir64_r.c: Likewise.
64686 * dirent/readdir_r.c: Likewise.
64687 * dirent/rewinddir.c: Likewise.
64688 * dirent/seekdir.c: Likewise.
64689 * dirent/telldir.c: Likewise.
64690 * gmon/profil.c: Likewise.
64691 * grp/setgroups.c: Likewise.
64692 * inet/if_index.c: Likewise.
64693 * io/access.c: Likewise.
64694 * io/chdir.c: Likewise.
64695 * io/chmod.c: Likewise.
64696 * io/chown.c: Likewise.
64697 * io/close.c: Likewise.
64698 * io/dup.c: Likewise.
64699 * io/dup2.c: Likewise.
64700 * io/dup3.c: Likewise.
64701 * io/euidaccess.c: Likewise.
64702 * io/faccessat.c: Likewise.
64703 * io/fchdir.c: Likewise.
64704 * io/fchmod.c: Likewise.
64705 * io/fchmodat.c: Likewise.
64706 * io/fchown.c: Likewise.
64707 * io/fchownat.c: Likewise.
64708 * io/fcntl.c: Likewise.
64709 * io/flock.c: Likewise.
64710 * io/fstatfs.c: Likewise.
64711 * io/fstatfs64.c: Likewise.
64712 * io/fstatvfs.c: Likewise.
64713 * io/fstatvfs64.c: Likewise.
64714 * io/futimens.c: Likewise.
64715 * io/fxstat.c: Likewise.
64716 * io/fxstat64.c: Likewise.
64717 * io/fxstatat.c: Likewise.
64718 * io/fxstatat64.c: Likewise.
64719 * io/getcwd.c: Likewise.
64720 * io/isatty.c: Likewise.
64721 * io/lchmod.c: Likewise.
64722 * io/lchown.c: Likewise.
64723 * io/link.c: Likewise.
64724 * io/linkat.c: Likewise.
64725 * io/lseek.c: Likewise.
64726 * io/lseek64.c: Likewise.
64727 * io/lxstat64.c: Likewise.
64728 * io/mkdir.c: Likewise.
64729 * io/mkdirat.c: Likewise.
64730 * io/mkfifo.c: Likewise.
64731 * io/mkfifoat.c: Likewise.
64732 * io/open.c: Likewise.
64733 * io/open64.c: Likewise.
64734 * io/openat.c: Likewise.
64735 * io/openat64.c: Likewise.
64736 * io/pipe.c: Likewise.
64737 * io/pipe2.c: Likewise.
64738 * io/poll.c: Likewise.
64739 * io/posix_fadvise.c: Likewise.
64740 * io/posix_fadvise64.c: Likewise.
64741 * io/posix_fallocate.c: Likewise.
64742 * io/posix_fallocate64.c: Likewise.
64743 * io/read.c: Likewise.
64744 * io/readlink.c: Likewise.
64745 * io/readlinkat.c: Likewise.
64746 * io/rmdir.c: Likewise.
64747 * io/sendfile.c: Likewise.
64748 * io/sendfile64.c: Likewise.
64749 * io/statfs.c: Likewise.
64750 * io/statfs64.c: Likewise.
64751 * io/statvfs.c: Likewise.
64752 * io/statvfs64.c: Likewise.
64753 * io/symlink.c: Likewise.
64754 * io/symlinkat.c: Likewise.
64755 * io/ttyname.c: Likewise.
64756 * io/ttyname_r.c: Likewise.
64757 * io/umask.c: Likewise.
64758 * io/unlink.c: Likewise.
64759 * io/unlinkat.c: Likewise.
64760 * io/utime.c: Likewise.
64761 * io/utimensat.c: Likewise.
64762 * io/write.c: Likewise.
64763 * io/xmknod.c: Likewise.
64764 * io/xmknodat.c: Likewise.
64765 * io/xstat.c: Likewise.
64766 * io/xstat64.c: Likewise.
64767 * login/getpt.c: Likewise.
64768 * login/grantpt.c: Likewise.
64769 * login/unlockpt.c: Likewise.
64770 * math/e_acoshl.c: Likewise.
64771 * math/e_acosl.c: Likewise.
64772 * math/e_asinl.c: Likewise.
64773 * math/e_atan2l.c: Likewise.
64774 * math/e_atanhl.c: Likewise.
64775 * math/e_coshl.c: Likewise.
64776 * math/e_expl.c: Likewise.
64777 * math/e_fmodl.c: Likewise.
64778 * math/e_gammal_r.c: Likewise.
64779 * math/e_hypotl.c: Likewise.
64780 * math/e_j0l.c: Likewise.
64781 * math/e_j1l.c: Likewise.
64782 * math/e_jnl.c: Likewise.
64783 * math/e_lgammal_r.c: Likewise.
64784 * math/e_log10l.c: Likewise.
64785 * math/e_log2l.c: Likewise.
64786 * math/e_logl.c: Likewise.
64787 * math/e_powl.c: Likewise.
64788 * math/e_rem_pio2l.c: Likewise.
64789 * math/e_sinhl.c: Likewise.
64790 * math/e_sqrtl.c: Likewise.
64791 * math/fclrexcpt.c: Likewise.
64792 * math/fedisblxcpt.c: Likewise.
64793 * math/feenablxcpt.c: Likewise.
64794 * math/fegetenv.c: Likewise.
64795 * math/fegetexcept.c: Likewise.
64796 * math/fegetround.c: Likewise.
64797 * math/feholdexcpt.c: Likewise.
64798 * math/fesetenv.c: Likewise.
64799 * math/fesetround.c: Likewise.
64800 * math/feupdateenv.c: Likewise.
64801 * math/fgetexcptflg.c: Likewise.
64802 * math/fraiseexcpt.c: Likewise.
64803 * math/fsetexcptflg.c: Likewise.
64804 * math/ftestexcept.c: Likewise.
64805 * math/k_cosl.c: Likewise.
64806 * math/k_rem_pio2l.c: Likewise.
64807 * math/k_sinl.c: Likewise.
64808 * math/k_tanl.c: Likewise.
64809 * math/s_asinhl.c: Likewise.
64810 * math/s_atanl.c: Likewise.
64811 * math/s_cbrtl.c: Likewise.
64812 * math/s_erfl.c: Likewise.
64813 * math/s_expm1l.c: Likewise.
64814 * math/s_log1pl.c: Likewise.
64815 * math/s_tanhl.c: Likewise.
64816 * misc/acct.c: Likewise.
64817 * misc/brk.c: Likewise.
64818 * misc/chflags.c: Likewise.
64819 * misc/chroot.c: Likewise.
64820 * misc/fchflags.c: Likewise.
64821 * misc/fgetxattr.c: Likewise.
64822 * misc/flistxattr.c: Likewise.
64823 * misc/fremovexattr.c: Likewise.
64824 * misc/fsetxattr.c: Likewise.
64825 * misc/fsync.c: Likewise.
64826 * misc/ftruncate.c: Likewise.
64827 * misc/futimes.c: Likewise.
64828 * misc/futimesat.c: Likewise.
64829 * misc/getdomain.c: Likewise.
64830 * misc/getdtsz.c: Likewise.
64831 * misc/gethostid.c: Likewise.
64832 * misc/gethostname.c: Likewise.
64833 * misc/getloadavg.c: Likewise.
64834 * misc/getpagesize.c: Likewise.
64835 * misc/getsysstats.c: Likewise.
64836 * misc/getxattr.c: Likewise.
64837 * misc/gtty.c: Likewise.
64838 * misc/ioctl.c: Likewise.
64839 * misc/lgetxattr.c: Likewise.
64840 * misc/listxattr.c: Likewise.
64841 * misc/llistxattr.c: Likewise.
64842 * misc/lremovexattr.c: Likewise.
64843 * misc/lsetxattr.c: Likewise.
64844 * misc/lutimes.c: Likewise.
64845 * misc/madvise.c: Likewise.
64846 * misc/mincore.c: Likewise.
64847 * misc/mlock.c: Likewise.
64848 * misc/mlockall.c: Likewise.
64849 * misc/mmap.c: Likewise.
64850 * misc/mprotect.c: Likewise.
64851 * misc/msync.c: Likewise.
64852 * misc/munlock.c: Likewise.
64853 * misc/munlockall.c: Likewise.
64854 * misc/munmap.c: Likewise.
64855 * misc/preadv.c: Likewise.
64856 * misc/preadv64.c: Likewise.
64857 * misc/ptrace.c: Likewise.
64858 * misc/pwritev.c: Likewise.
64859 * misc/pwritev64.c: Likewise.
64860 * misc/readv.c: Likewise.
64861 * misc/reboot.c: Likewise.
64862 * misc/remap_file_pages.c: Likewise.
64863 * misc/removexattr.c: Likewise.
64864 * misc/revoke.c: Likewise.
64865 * misc/select.c: Likewise.
64866 * misc/setdomain.c: Likewise.
64867 * misc/setegid.c: Likewise.
64868 * misc/seteuid.c: Likewise.
64869 * misc/sethostid.c: Likewise.
64870 * misc/sethostname.c: Likewise.
64871 * misc/setregid.c: Likewise.
64872 * misc/setreuid.c: Likewise.
64873 * misc/setxattr.c: Likewise.
64874 * misc/sstk.c: Likewise.
64875 * misc/stty.c: Likewise.
64876 * misc/swapoff.c: Likewise.
64877 * misc/swapon.c: Likewise.
64878 * misc/sync.c: Likewise.
64879 * misc/syncfs.c: Likewise.
64880 * misc/syscall.c: Likewise.
64881 * misc/truncate.c: Likewise.
64882 * misc/ualarm.c: Likewise.
64883 * misc/usleep.c: Likewise.
64884 * misc/ustat.c: Likewise.
64885 * misc/utimes.c: Likewise.
64886 * misc/vhangup.c: Likewise.
64887 * misc/writev.c: Likewise.
64888 * posix/_exit.c: Likewise.
64889 * posix/alarm.c: Likewise.
64890 * posix/execve.c: Likewise.
64891 * posix/fexecve.c: Likewise.
64892 * posix/fork.c: Likewise.
64893 * posix/fpathconf.c: Likewise.
64894 * posix/getaddrinfo.c: Likewise.
64895 * posix/getegid.c: Likewise.
64896 * posix/geteuid.c: Likewise.
64897 * posix/getgid.c: Likewise.
64898 * posix/getgroups.c: Likewise.
64899 * posix/getlogin.c: Likewise.
64900 * posix/getlogin_r.c: Likewise.
64901 * posix/getpgid.c: Likewise.
64902 * posix/getpid.c: Likewise.
64903 * posix/getppid.c: Likewise.
64904 * posix/getresgid.c: Likewise.
64905 * posix/getresuid.c: Likewise.
64906 * posix/getsid.c: Likewise.
64907 * posix/getuid.c: Likewise.
64908 * posix/glob64.c: Likewise.
64909 * posix/nanosleep.c: Likewise.
64910 * posix/pathconf.c: Likewise.
64911 * posix/pause.c: Likewise.
64912 * posix/posix_madvise.c: Likewise.
64913 * posix/pread.c: Likewise.
64914 * posix/pread64.c: Likewise.
64915 * posix/pwrite.c: Likewise.
64916 * posix/pwrite64.c: Likewise.
64917 * posix/sched_getaffinity.c: Likewise.
64918 * posix/sched_getp.c: Likewise.
64919 * posix/sched_gets.c: Likewise.
64920 * posix/sched_primax.c: Likewise.
64921 * posix/sched_primin.c: Likewise.
64922 * posix/sched_rr_gi.c: Likewise.
64923 * posix/sched_setaffinity.c: Likewise.
64924 * posix/sched_setp.c: Likewise.
64925 * posix/sched_sets.c: Likewise.
64926 * posix/sched_yield.c: Likewise.
64927 * posix/setgid.c: Likewise.
64928 * posix/setlogin.c: Likewise.
64929 * posix/setpgid.c: Likewise.
64930 * posix/setresgid.c: Likewise.
64931 * posix/setresuid.c: Likewise.
64932 * posix/setsid.c: Likewise.
64933 * posix/setuid.c: Likewise.
64934 * posix/sleep.c: Likewise.
64935 * posix/spawni.c: Likewise.
64936 * posix/sysconf.c: Likewise.
64937 * posix/times.c: Likewise.
64938 * posix/wait.c: Likewise.
64939 * posix/wait3.c: Likewise.
64940 * posix/wait4.c: Likewise.
64941 * posix/waitpid.c: Likewise.
64942 * resolv/gai_sigqueue.c: Likewise.
64943 * resource/getpriority.c: Likewise.
64944 * resource/getrlimit.c: Likewise.
64945 * resource/getrusage.c: Likewise.
64946 * resource/nice.c: Likewise.
64947 * resource/setpriority.c: Likewise.
64948 * resource/setrlimit.c: Likewise.
64949 * resource/ulimit.c: Likewise.
64950 * rt/aio_cancel.c: Likewise.
64951 * rt/aio_fsync.c: Likewise.
64952 * rt/aio_read.c: Likewise.
64953 * rt/aio_sigqueue.c: Likewise.
64954 * rt/aio_suspend.c: Likewise.
64955 * rt/aio_write.c: Likewise.
64956 * rt/clock_getres.c: Likewise.
64957 * rt/clock_gettime.c: Likewise.
64958 * rt/clock_nanosleep.c: Likewise.
64959 * rt/clock_settime.c: Likewise.
64960 * rt/lio_listio.c: Likewise.
64961 * rt/mq_close.c: Likewise.
64962 * rt/mq_getattr.c: Likewise.
64963 * rt/mq_notify.c: Likewise.
64964 * rt/mq_open.c: Likewise.
64965 * rt/mq_receive.c: Likewise.
64966 * rt/mq_send.c: Likewise.
64967 * rt/mq_setattr.c: Likewise.
64968 * rt/mq_timedreceive.c: Likewise.
64969 * rt/mq_timedsend.c: Likewise.
64970 * rt/mq_unlink.c: Likewise.
64971 * rt/shm_open.c: Likewise.
64972 * rt/shm_unlink.c: Likewise.
64973 * rt/timer_create.c: Likewise.
64974 * rt/timer_delete.c: Likewise.
64975 * rt/timer_getoverr.c: Likewise.
64976 * rt/timer_gettime.c: Likewise.
64977 * rt/timer_settime.c: Likewise.
64978 * setjmp/__longjmp.c: Likewise.
64979 * setjmp/setjmp.c: Likewise.
64980 * signal/kill.c: Likewise.
64981 * signal/killpg.c: Likewise.
64982 * signal/raise.c: Likewise.
64983 * signal/sigaction.c: Likewise.
64984 * signal/sigaltstack.c: Likewise.
64985 * signal/sigblock.c: Likewise.
64986 * signal/sigignore.c: Likewise.
64987 * signal/sigintr.c: Likewise.
64988 * signal/signal.c: Likewise.
64989 * signal/sigpause.c: Likewise.
64990 * signal/sigpending.c: Likewise.
64991 * signal/sigqueue.c: Likewise.
64992 * signal/sigreturn.c: Likewise.
64993 * signal/sigset.c: Likewise.
64994 * signal/sigsetmask.c: Likewise.
64995 * signal/sigstack.c: Likewise.
64996 * signal/sigsuspend.c: Likewise.
64997 * signal/sigtimedwait.c: Likewise.
64998 * signal/sigvec.c: Likewise.
64999 * signal/sigwait.c: Likewise.
65000 * signal/sigwaitinfo.c: Likewise.
65001 * signal/sysv_signal.c: Likewise.
65002 * socket/accept.c: Likewise.
65003 * socket/accept4.c: Likewise.
65004 * socket/bind.c: Likewise.
65005 * socket/connect.c: Likewise.
65006 * socket/getpeername.c: Likewise.
65007 * socket/getsockname.c: Likewise.
65008 * socket/getsockopt.c: Likewise.
65009 * socket/isfdtype.c: Likewise.
65010 * socket/listen.c: Likewise.
65011 * socket/recv.c: Likewise.
65012 * socket/recvfrom.c: Likewise.
65013 * socket/recvmsg.c: Likewise.
65014 * socket/send.c: Likewise.
65015 * socket/sendmsg.c: Likewise.
65016 * socket/sendto.c: Likewise.
65017 * socket/setsockopt.c: Likewise.
65018 * socket/shutdown.c: Likewise.
65019 * socket/sockatmark.c: Likewise.
65020 * socket/socket.c: Likewise.
65021 * socket/socketpair.c: Likewise.
65022 * stdio-common/ctermid.c: Likewise.
65023 * stdio-common/cuserid.c: Likewise.
65024 * stdio-common/remove.c: Likewise.
65025 * stdio-common/rename.c: Likewise.
65026 * stdio-common/renameat.c: Likewise.
65027 * stdio-common/tempname.c: Likewise.
65028 * stdlib/getcontext.c: Likewise.
65029 * stdlib/makecontext.c: Likewise.
65030 * stdlib/setcontext.c: Likewise.
65031 * stdlib/swapcontext.c: Likewise.
65032 * stdlib/system.c: Likewise.
65033 * streams/fattach.c: Likewise.
65034 * streams/fdetach.c: Likewise.
65035 * streams/getmsg.c: Likewise.
65036 * streams/getpmsg.c: Likewise.
65037 * streams/putmsg.c: Likewise.
65038 * streams/putpmsg.c: Likewise.
65039 * sysdeps/unix/bsd/getpt.c: Likewise.
65040 * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
65041 * sysdeps/unix/sysv/linux/futimens.c: Likewise.
65042 * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
65043 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
65044 Likewise.
65045 * sysdeps/unix/sysv/linux/readahead.c: Likewise.
65046 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
65047 * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
65048 * sysvipc/msgctl.c: Likewise.
65049 * sysvipc/msgget.c: Likewise.
65050 * sysvipc/msgrcv.c: Likewise.
65051 * sysvipc/msgsnd.c: Likewise.
65052 * sysvipc/semctl.c: Likewise.
65053 * sysvipc/semget.c: Likewise.
65054 * sysvipc/semop.c: Likewise.
65055 * sysvipc/semtimedop.c: Likewise.
65056 * sysvipc/shmat.c: Likewise.
65057 * sysvipc/shmctl.c: Likewise.
65058 * sysvipc/shmdt.c: Likewise.
65059 * sysvipc/shmget.c: Likewise.
65060 * termios/tcdrain.c: Likewise.
65061 * termios/tcflow.c: Likewise.
65062 * termios/tcflush.c: Likewise.
65063 * termios/tcgetattr.c: Likewise.
65064 * termios/tcgetpgrp.c: Likewise.
65065 * termios/tcsendbrk.c: Likewise.
65066 * termios/tcsetattr.c: Likewise.
65067 * termios/tcsetpgrp.c: Likewise.
65068 * time/adjtime.c: Likewise.
65069 * time/clock.c: Likewise.
65070 * time/getitimer.c: Likewise.
65071 * time/gettimeofday.c: Likewise.
65072 * time/setitimer.c: Likewise.
65073 * time/settimeofday.c: Likewise.
65074 * time/stime.c: Likewise.
65075 * time/time.c: Likewise.
65076
65077 2012-11-04 Pino Toscano <toscano.pino@tiscali.it>
65078
65079 * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
65080 /usr/old/bin.
65081
65082 * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
65083 instead of spaces.
65084 * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
65085
65086 2012-11-03 Joseph Myers <joseph@codesourcery.com>
65087
65088 [BZ #14796]
65089 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
65090 FE_TONEAREST before applying Dekker multiplication and Knuth
65091 addition. Clear inexact exceptions and check for exact zero
65092 results afterwards.
65093 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65094 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
65095 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65096 * math/libm-test.inc (fma_test): Add more tests.
65097 (fma_test_towardzero): Likewise.
65098 (fma_test_downward): Likewise.
65099 (fma_test_upward): Likewise.
65100 * sysdeps/generic/math_private.h (default_libc_fesetround): New
65101 function.
65102 (libc_fesetround): New macro.
65103 (libc_fesetroundf): Likewise.
65104 (libc_fesetroundl): Likewise.
65105 * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
65106 function.
65107 (libc_fesetround_387): Likewise.
65108 (libc_fesetroundf): New macro.
65109 (libc_fesetround): Likewise.
65110 (libc_fesetroundl): Likewise.
65111 * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
65112 function.
65113 (libc_fesetroundf): New macro.
65114 (libc_fesetround): Likewise.
65115 (libc_fesetroundl): Likewise.
65116 * include/fenv.h (feclearexcept): Add libm_hidden_proto.
65117 * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
65118 * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
65119 libm_hidden_ver.
65120 * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
65121 * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
65122 libm_hidden_def.
65123 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
65124 * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
65125 libm_hidden_ver.
65126 * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
65127 libm_hidden_def.
65128
65129 [BZ #3439]
65130 * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
65131 integer constant usable in #if and use that to give value to enum
65132 constant.
65133 (FE_DIVBYZERO): Likewise.
65134 (FE_UNDERFLOW): Likewise.
65135 (FE_OVERFLOW): Likewise.
65136 (FE_INVALID): Likewise.
65137 (FE_INVALID_SNAN): Likewise.
65138 (FE_INVALID_ISI): Likewise.
65139 (FE_INVALID_IDI): Likewise.
65140 (FE_INVALID_ZDZ): Likewise.
65141 (FE_INVALID_IMZ): Likewise.
65142 (FE_INVALID_COMPARE): Likewise.
65143 (FE_INVALID_SOFTWARE): Likewise.
65144 (FE_INVALID_SQRT): Likewise.
65145 (FE_INVALID_INTEGER_CONVERSION): Likewise.
65146 (FE_TONEAREST): Likewise.
65147 (FE_TOWARDZERO): Likewise.
65148 (FE_UPWARD): Likewise.
65149 (FE_DOWNWARD): Likewise.
65150 * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
65151 (FE_DIVBYZERO): Likewise.
65152 (FE_OVERFLOW): Likewise.
65153 (FE_UNDERFLOW): Likewise.
65154 (FE_INEXACT): Likewise.
65155 (FE_TONEAREST): Likewise.
65156 (FE_DOWNWARD): Likewise.
65157 (FE_UPWARD): Likewise.
65158 (FE_TOWARDZERO): Likewise.
65159 * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
65160 (FE_UNDERFLOW): Likewise.
65161 (FE_OVERFLOW): Likewise.
65162 (FE_DIVBYZERO): Likewise.
65163 (FE_INVALID): Likewise.
65164 (FE_TONEAREST): Likewise.
65165 (FE_TOWARDZERO): Likewise.
65166 * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
65167 (FE_OVERFLOW): Likewise.
65168 (FE_UNDERFLOW): Likewise.
65169 (FE_DIVBYZERO): Likewise.
65170 (FE_INEXACT): Likewise.
65171 (FE_TONEAREST): Likewise.
65172 (FE_TOWARDZERO): Likewise.
65173 (FE_UPWARD): Likewise.
65174 (FE_DOWNWARD): Likewise.
65175 * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
65176 (FE_DIVBYZERO): Likewise.
65177 (FE_OVERFLOW): Likewise.
65178 (FE_UNDERFLOW): Likewise.
65179 (FE_INEXACT): Likewise.
65180 (FE_TONEAREST): Likewise.
65181 (FE_DOWNWARD): Likewise.
65182 (FE_UPWARD): Likewise.
65183 (FE_TOWARDZERO): Likewise.
65184
65185 2012-11-02 Chris Metcalf <cmetcalf@tilera.com>
65186
65187 * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
65188
65189 2012-11-03 Andreas Schwab <schwab@linux-m68k.org>
65190
65191 * scripts/cross-test-ssh.sh (command): Use newlines to separate
65192 commands. Quote $PWD.
65193 (blacklist_exports): Don't use remove_newlines. Replace "declare
65194 -x" by "export".
65195 (remove_newlines): Remove.
65196
65197 2012-11-02 H.J. Lu <hongjiu.lu@intel.com>
65198
65199 * stdlib/Makefile (headers): Add bits/stdlib-float.h.
65200 * stdlib/stdlib.h (atof): Moved to ...
65201 * include/bits/stdlib-float.h: Here. New file.
65202 * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
65203 * stdlib/bits/stdlib-float.h: New file.
65204 * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
65205 -mno-sse -mno-mmx.
65206 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
65207 <xmmintrin.h>.
65208
65209 2012-11-02 Joseph Myers <joseph@codesourcery.com>
65210
65211 * conform/conformtest.pl (@headers): Add fenv.h.
65212 * conform/data/fenv.h-data: New file.
65213 * include/fenv.h [_ISOMAC]: Disable all contents of file except
65214 include of <math/fenv.h>.
65215
65216 * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
65217 POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
65218 && !UNIX98]. Enables tests for XOPEN2K8.
65219 * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
65220 POSIX2008]: Likewise.
65221
65222 * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
65223 (struct rusage): Do not expect type or its members.
65224
65225 [BZ #3439]
65226 * math/math.h (FP_NAN): Define macro to integer constant usable in
65227 #if and use that to give value to enum constant.
65228 (FP_INFINITE): Likewise.
65229 (FP_ZERO): Likewise.
65230 (FP_SUBNORMAL): Likewise.
65231 (FP_NORMAL): Likewise.
65232
65233 2012-11-02 Andreas Schwab <schwab@linux-m68k.org>
65234
65235 * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
65236 * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
65237 arguments.
65238
65239 2012-11-02 Roland McGrath <roland@hack.frob.com>
65240
65241 * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
65242 Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
65243 autoconf-time if not.
65244 * configure.in: Remove AC_PREREQ.
65245
65246 2012-11-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65247
65248 * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
65249 __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
65250 of the internal implementation.
65251
65252 2012-11-02 Joseph Myers <joseph@codesourcery.com>
65253
65254 * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
65255 except include of <misc/sys/syslog.h>.
65256
65257 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
65258
65259 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
65260 function returns with a NULL context exit with zero.
65261
65262 2012-11-01 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65263
65264 * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
65265
65266 2012-11-01 H.J. Lu <hongjiu.lu@intel.com>
65267
65268 * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
65269 (run_program_cmd): This.
65270 * localedata/tst-langinfo.sh (run_program_prefix): Removed.
65271 (tst_langinfo): New variable. Use it.
65272
65273 2012-11-01 Sebastan Andrzej Siewior <bigeasy@linutronix.de>
65274
65275 * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
65276 floating point opcodes.
65277
65278 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
65279
65280 * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
65281 variable.
65282
65283 * elf/dl-support.c: Unconditionally include "setup-vdso.h".
65284
65285 * sysdeps/mach/hurd/powerpc: Remove directory.
65286 * sysdeps/mach/powerpc: Likewise.
65287
65288 2012-11-01 Andreas Schwab <schwab@linux-m68k.org>
65289
65290 * scripts/check-local-headers.sh: Ignore c++ headers.
65291
65292 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
65293
65294 * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
65295 __libc_cleanup_region_start argument.
65296
65297 2012-11-01 Joseph Myers <joseph@codesourcery.com>
65298
65299 [BZ #14784]
65300 [BZ #14785]
65301 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
65302 x * y using scaling, not as x * y + z.
65303 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65304 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65305 * math/libm-test.inc (fma_test): Add more tests.
65306 (fma_test_towardzero): Likewise.
65307 (fma_test_downward): Likewise.
65308 (fma_test_upward): Likewise.
65309
65310 2012-11-01 Thomas Schwinge <thomas@codesourcery.com>
65311
65312 * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
65313
65314 2012-10-31 Joseph Myers <joseph@codesourcery.com>
65315
65316 * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
65317 New variable.
65318
65319 2012-10-31 Thomas Schwinge <thomas@codesourcery.com>
65320
65321 * rt/tst-shm.c (worker): Correct checking for mmap failure.
65322
65323 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
65324
65325 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65326 Fix sort order.
65327 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65328 Likewise.
65329
65330 2012-10-31 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
65331
65332 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65333 Fix the order of the list for glibc 2.17.
65334 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65335 Likewise.
65336
65337 2012-10-31 Andreas Schwab <schwab@linux-m68k.org>
65338
65339 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65340
65341 2012-10-31 Joseph Myers <joseph@codesourcery.com>
65342
65343 [BZ #14610]
65344 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
65345 for low part of x being zero before using __atanl (y).
65346 * math/libm-test.inc (atan2_test): Add another test.
65347
65348 * manual/install.texi (Configuring and compiling): Document
65349 general use of test-wrapper and test-wrapper-env.
65350 * INSTALL: Regenerated.
65351
65352 * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
65353 (__fma): Do not extract and scale down low bits on after-rounding
65354 systems when result rounded to normal precision would have normal
65355 exponent.
65356 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
65357 (__fmal): Do not extract and scale down low bits on after-rounding
65358 systems when result rounded to normal precision would have normal
65359 exponent.
65360 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
65361 (__fmal): Do not extract and scale down low bits on after-rounding
65362 systems when result rounded to normal precision would have normal
65363 exponent.
65364 * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
65365 macro.
65366 (fma_test): Add more tests.
65367 (fma_test_towardzero): Likewise.
65368 (fma_test_downward): Likewise.
65369 (fma_test_upward): Likewise.
65370
65371 2012-10-30 H.J. Lu <hongjiu.lu@intel.com>
65372
65373 * sysdeps/i386/tininess.h: Renamed to ...
65374 * sysdeps/x86/tininess.h: This.
65375 * sysdeps/x86_64/tininess.h: Removed.
65376
65377 2012-10-30 Joseph Myers <joseph@codesourcery.com>
65378
65379 * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
65380 input. Use $(build-program-cmd).
65381 ($(objpfx)tst-array1-static.out): Likewise.
65382 ($(objpfx)tst-array2.out): Likewise.
65383 ($(objpfx)tst-array3.out): Likewise.
65384 ($(objpfx)tst-array4.out): Likewise.
65385 ($(objpfx)tst-array5.out): Likewise.
65386 ($(objpfx)tst-array5-static.out): Likewise.
65387
65388 2012-10-30 Chris Metcalf <cmetcalf@tilera.com>
65389
65390 * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
65391 if defined.
65392
65393 * nss/nsswitch.h (nss_interface_function): Provide new
65394 macro for use with NSS functions.
65395 * grp/initgroups.c: Use new macro.
65396 * nss/getXXbyYY.c: Likewise.
65397 * nss/getXXbyYY_r.c: Likewise.
65398 * nss/getXXent.c: Likewise.
65399 * nss/getXXent_r.c: Likewise.
65400 * sysdeps/posix/getaddrinfo.c: Likewise.
65401
65402 2012-10-30 Andreas Jaeger <aj@suse.de>
65403
65404 * po/ru.po: Update Russion translation from translation project.
65405
65406 2012-10-30 Joseph Myers <joseph@codesourcery.com>
65407
65408 [BZ #14152]
65409 [BZ #14783]
65410 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
65411 result and shift together with sticky bit instead of replicating
65412 round-to-nearest rounding.
65413 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
65414 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
65415 * math/libm-test.inc (fma_test): Add more tests. Do not permit
65416 missing underflow exceptions.
65417 (fma_test_towardzero): Add more tests.
65418 (fma_test_downward): Likewise.
65419 (fma_test_upward): Likewise.
65420
65421 [BZ #14047]
65422 * sysdeps/generic/tininess.h: New file.
65423 * sysdeps/i386/tininess.h: Likewise.
65424 * sysdeps/sh/tininess.h: Likewise.
65425 * sysdeps/x86_64/tininess.h: Likewise.
65426 * stdlib/tst-strtod-underflow.c: Likewise.
65427 * stdlib/tst-tininess.c: Likewise.
65428 * stdlib/strtod_l.c: Include <tininess.h>.
65429 (round_and_return): Do not set errno for exact underflow cases.
65430 Force an underflow exception when setting errno for underflow.
65431 Determine underflow based on rounding to normal precision if
65432 TININESS_AFTER_ROUNDING.
65433 * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
65434 ERANGE for exact underflow cases.
65435 * stdlib/Makefile (tests): Add tst-tininess and
65436 tst-strtod-underflow.
65437 ($(objpfx)tst-tininess): Use $(link-libm).
65438 ($(objpfx)tst-strtod-underflow): Likewise.
65439
65440 2012-10-30 Andreas Jaeger <aj@suse.de>
65441
65442 [BZ#14767]
65443 * elf/Makefile (tests): Remove conditional for have-initfini-array
65444 since this is now always required and the variable does not exist
65445 anymore.
65446 (tests-static): Likewise.
65447 (modules-names): Likewise.
65448
65449 * po/eo.po: Add Esperanto translation from translation project.
65450
65451 * elf/tst-array1.c (fini_array): Make writeable so that it can be
65452 merged with constructor/destructor.
65453 (init_array): Likewise.
65454 * elf/tst-array2dep.c (fini_array): Likewise.
65455 (init_array): Likewise.
65456
65457 2012-10-29 Mike Frysinger <vapier@gentoo.org>
65458
65459 * manual/message.texi: Delete @cartouche tags.
65460
65461 2012-10-29 Pino Toscano <toscano.pino@tiscali.it>
65462
65463 * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
65464 EOPNOTSUPP.
65465 * sysdeps/mach/hurd/fsync.c: Likewise.
65466
65467 * sysdeps/pthread/aio_notify.c (__aio_notify_only)
65468 [_POSIX_REALTIME_SIGNALS]: Change condition to
65469 [_POSIX_REALTIME_SIGNALS > 0].
65470
65471 2012-10-27 Andreas Jaeger <aj@suse.de>
65472
65473 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
65474 [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
65475 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
65476 [__WORDSIZE != 64]: Likewise.
65477
65478 2012-10-26 H.J. Lu <hongjiu.lu@intel.com>
65479
65480 * iconvdata/tst-table.sh: Remove ${SHELL}.
65481 * iconvdata/tst-tables.sh: Likewise.
65482
65483 2012-10-25 David S. Miller <davem@davemloft.net>
65484
65485 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65486 (__get_clockfreq_via_proc_openprom): Use strtoumax instead
65487 of strtoull.
65488
65489 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
65490 ifunc-impl-list.c
65491 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
65492 * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
65493 * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
65494 file.
65495
65496 2012-10-25 Roland McGrath <roland@hack.frob.com>
65497
65498 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65499 (__get_clockfreq_via_proc_openprom): Use __getdents instead of
65500 __getdirentries.
65501
65502 2012-10-25 Joseph Myers <joseph@codesourcery.com>
65503 Jim Blandy <jimb@codesourcery.com>
65504
65505 * scripts/cross-test-ssh.sh: New file.
65506 * manual/install.texi (Configuring and compiling): Document use of
65507 cross-test-ssh.sh.
65508 * INSTALL: Regenerated.
65509
65510 2012-10-25 Pino Toscano <toscano.pino@tiscali.it>
65511
65512 * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
65513 EOPNOTSUPP.
65514
65515 2012-10-25 Joseph Myers <joseph@codesourcery.com>
65516
65517 * Makeconfig (run-program-prefix): Fix comment.
65518
65519 2012-10-24 Joseph Myers <joseph@codesourcery.com>
65520 Jim Blandy <jimb@codesourcery.com>
65521
65522 * Makeconfig (test-wrapper): New variable,
65523 (test-wrapper-env): Likewise.
65524 [$(cross-compiling) = yes && $(test-wrapper) != ""]
65525 (run-built-tests): Define to yes.
65526 (run-program-prefix): Use $(test-wrapper).
65527 (built-program-cmd): Likewise.
65528 * Rules (make-test-out): Use $(test-wrapper-env) and
65529 $(host-built-program-cmd).
65530 * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
65531 ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
65532 tst-pathopt.sh.
65533 ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
65534 $(test-wrapper-env) to tst-rtld-load-self.sh.
65535 ($(objpfx)order2.out): Use $(test-wrapper).
65536 ($(objpfx)tst-initorder.out): Likewise.
65537 ($(objpfx)tst-initorder2.out): Likewise.
65538 ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
65539 * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
65540 (test_wrapper_env): New variable. Use it to run ld.so.
65541 * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
65542 Use it to run ld.so.
65543 (test_wrapper_env): Likewise.
65544 * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
65545 $(test-wrapper) to run-iconv-test.sh.
65546 * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
65547 (ICONV): Use $test_wrapper.
65548 * posix/Makefile ($(objpfx)globtest.out): Pass
65549 $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
65550 globtest.sh, not $(run-program-prefix).
65551 * posix/globtest.sh (run_via_rtld_prefix): New variable.
65552 (test_wrapper): Likewise.
65553 (test_wrapper_env): Likewise. Use it to run globtest with HOME
65554 set together with run_via_rtld_prefix.
65555 (run_program_prefix): Define in terms of test_wrapper and
65556 run_via_rtld_prefix.
65557
65558 2012-10-24 Roland McGrath <roland@hack.frob.com>
65559
65560 * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
65561 * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
65562 Targets removed.
65563
65564 [BZ #14743]
65565 * include/time.h: Remove librt_hidden_proto (clock_gettime).
65566 Declare __clock_getres, __clock_gettime, __clock_settime,
65567 __clock_nanosleep, and __clock_getcpuclockid.
65568 * rt/clock_gettime.c: Define __clock_gettime as an alias.
65569 Remove librt_hidden_def (clock_gettime).
65570 * sysdeps/unix/clock_gettime.c: Likewise.
65571 * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
65572 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
65573 * rt/clock_getres.c: Define __clock_getres as an alias.
65574 * sysdeps/posix/clock_getres.c: Likewise.
65575 * rt/clock_settime.c: Define __clock_settime as an alias.
65576 * sysdeps/unix/clock_settime.c: Likewise.
65577 * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
65578 * sysdeps/unix/clock_nanosleep.c: Likewise.
65579 * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
65580 * rt/clock-compat.c: New file.
65581 * rt/Makefile (librt-routines): Add clock-compat and move
65582 $(clock-routines) to ...
65583 (routines): ... here, new variable.
65584 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
65585 Don't add get_clockfreq here.
65586 * rt/Versions (libc: GLIBC_2.17): New version set.
65587 Add clock_* symbols here.
65588 (libc: GLIBC_PRIVATE): New version set. Add __clock_* symbols here.
65589 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
65590 (GLIBC_2.17): Add clock_* symbols.
65591 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
65592 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
65593 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
65594 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
65595 Likewise.
65596 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
65597 Likewise.
65598 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
65599 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
65600 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
65601 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
65602 * NEWS: Mention the move.
65603
65604 * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
65605 Use __open, __read, __close rather than their public counterparts.
65606 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
65607 (__get_clockfreq_via_cpuinfo): Likewise.
65608 (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
65609 (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
65610
65611 * config.h.in (HAVE_IFUNC): New #undef.
65612 * configure.in: Define it if libc_cv_ld_gnu_indirect_function
65613 was successful.
65614 * configure: Regenerated.
65615
65616 2012-10-24 Mike Frysinger <vapier@gentoo.org>
65617
65618 * configure.in: Move READELF check to start of file.
65619 (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
65620 libc_cv_asm_gnu_indirect_function in the process.
65621 * configure: Regenerated.
65622
65623 2012-10-24 Mike Frysinger <vapier@gentoo.org>
65624
65625 * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
65626 send the output to /dev/null.
65627 (libc_cv_cc_with_libunwind): Likewise.
65628 (libc_cv_as_noexecstack): Likewise.
65629 * configure: Regenerate.
65630
65631 2012-10-24 Joseph Myers <joseph@codesourcery.com>
65632
65633 * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
65634
65635 * posix/globtest.sh (TMPDIR): Do not set.
65636 (testdir): Define using ${common_objpfx}posix not $TMPDIR.
65637 (testout): Likewise.
65638
65639 2012-10-24 Andreas Jaeger <aj@suse.de>
65640
65641 * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
65642 types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
65643 [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
65644 [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
65645 posix_fadvise64, posix_fallocate64.
65646
65647 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
65648 (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
65649 (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
65650 Likewise.
65651 (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
65652 Likewise.
65653 (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
65654
65655 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
65656 (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
65657 <bits/fcntl-linux.h>.
65658 (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
65659
65660 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
65661 (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
65662 (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
65663 (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
65664 [__WORDSIZE != 64]: Likewise.
65665
65666 2012-10-23 Joseph Myers <joseph@codesourcery.com>
65667
65668 * Makeconfig (run-built-tests): New variable.
65669 * Rules [$(cross-compiling) = yes]: Change condition to
65670 [$(run-built-tests) = no].
65671 * catgets/Makefile [$(cross-compiling) != yes]: Change condition
65672 to [$(run-built-tests) = yes].
65673 * elf/Makefile [$(cross-compiling) = no]: Likewise.
65674 * grp/Makefile [$(cross-compiling) = no]: Likewise.
65675 * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
65676 * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
65677 * intl/Makefile [$(cross-compiling) = no]: Likewise.
65678 * io/Makefile [$(cross-compiling) = no]: Likewise.
65679 * libio/Makefile [$(cross-compiling) = no]: Likewise.
65680 * malloc/Makefile [$(cross-compiling) = no]: Likewise.
65681 * misc/Makefile [$(cross-compiling) = no]: Likewise.
65682 * posix/Makefile [$(cross-compiling) = no]: Likewise.
65683 * resolv/Makefile [$(cross-compiling) = no]: Likewise.
65684 * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
65685 * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
65686 * string/Makefile [$(cross-compiling) = no]: Likewise.
65687
65688 * posix/Makefile ($(objpfx)globtest.out): Pass
65689 $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
65690 $(rtld-installed-name).
65691 * posix/globtest.sh (elf_objpfx): Remove variable.
65692 (rtld_installed_name): Likewise.
65693 (library_path): Likewise.
65694 (run_program_prefix): New variable. Use for running globtest
65695 binary.
65696
65697 2012-10-23 Jim Blandy <jimb@codesourcery.com>
65698 Joseph Myers <joseph@codesourcery.com>
65699
65700 * Makeconfig (host-built-program-cmd): New variable.
65701 * elf/Makefile (tst-stackguard1-ARGS): Use
65702 $(host-built-program-cmd).
65703 * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
65704 (tst-spawn-ARGS): Likewise.
65705 * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
65706
65707 2012-10-23 Joseph Myers <joseph@codesourcery.com>
65708 Jim Blandy <jimb@codesourcery.com>
65709
65710 * Makeconfig (run-via-rtld-prefix): New variable.
65711 (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
65712 (built-program-cmd): Likewise.
65713
65714 2012-10-22 Andreas Jaeger <aj@suse.de>
65715
65716 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
65717 __O_RSYNC if it exists, otherwise to O_SYNC.
65718
65719 2012-10-22 Jim Blandy <jimb@codesourcery.com>
65720 Joseph Myers <joseph@codesourcery.com>
65721
65722 * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
65723 /dev/null.
65724 * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
65725 from /dev/null
65726 * posix/tst-getconf.sh: Redirect getconf stdin in loop from
65727 /dev/null.
65728
65729 2012-10-22 Andreas Jaeger <aj@suse.de>
65730
65731 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
65732 Define always.
65733 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
65734
65735 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
65736 bits/fcntl-linux.h.
65737
65738 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
65739 (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
65740
65741 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
65742 to __O_LARGEFILE.
65743 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
65744 to __O_LARGEFILE.
65745
65746 2012-10-21 Jim Blandy <jimb@codesourcery.com>
65747 Joseph Myers <joseph@codesourcery.com>
65748
65749 * config.make.in (NM): New variable.
65750
65751 2012-10-21 Andreas Jaeger <aj@suse.de>
65752
65753 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
65754 definitions and declarations that are provided by
65755 <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
65756
65757 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
65758
65759 [BZ #14683]
65760 * elf/Makefile (tests-static): Add tst-leaks1-static.
65761 (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
65762 ($(objpfx)tst-leaks1-static): New rule.
65763 ($(objpfx)tst-leaks1-static-mem): Likewise.
65764 (tst-leaks1-static-ENV): New macro.
65765 * elf/dl-open.c (dl_open_worker): Check the main application
65766 only if SHARED is defined.
65767 * elf/tst-leaks1-static.c: New file.
65768
65769 2012-10-20 Andreas Jaeger <aj@suse.de>
65770
65771 * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
65772 generic values for Linux.
65773 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
65774 and declarations that are provided by <bits/fcntl-linux.h> and
65775 include <bits/fcntl-linux.h>.
65776 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
65777 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
65778
65779 2012-10-20 Roland McGrath <roland@hack.frob.com>
65780
65781 * io/fcntl.h: Move include of <bits/types.h> to the top and
65782 include it unconditionally.
65783
65784 2012-10-20 H.J. Lu <hongjiu.lu@intel.com>
65785
65786 * wcsmbs/Makefile (tests-ifunc): New variable.
65787 (tests): Add $(tests-ifunc).
65788 * wcsmbs/test-wcschr-ifunc.c: New file.
65789 * wcsmbs/test-wcscmp-ifunc.c: Likewise.
65790 * wcsmbs/test-wcscpy-ifunc.c: Likewise.
65791 * wcsmbs/test-wcslen-ifunc.c: Likewise.
65792 * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
65793 * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
65794
65795 * string/Makefile (tests-ifunc): New variable.
65796 (tests): Add $(tests-ifunc).
65797 * string/test-memccpy.c (TEST_NAME): New macro.
65798 * string/test-memchr.c (TEST_NAME): Likewise.
65799 * string/test-memcmp.c (TEST_NAME): Likewise.
65800 * string/test-memcpy.c (TEST_NAME): Likewise.
65801 * string/test-memmem.c (TEST_NAME): Likewise.
65802 * string/test-memmove.c (TEST_NAME): Likewise.
65803 * string/test-memset.c (TEST_NAME): Likewise.
65804 * string/test-rawmemchr.c (TEST_NAME): Likewise.
65805 * string/test-stpcpy.c (TEST_NAME): Likewise.
65806 * string/test-stpncpy.c (TEST_NAME): Likewise.
65807 * string/test-strcasecmp.c (TEST_NAME): Likewise.
65808 * string/test-strcasestr.c (TEST_NAME): Likewise.
65809 * string/test-strcat.c (TEST_NAME): Likewise.
65810 * string/test-strchr.c (TEST_NAME): Likewise.
65811 * string/test-strcmp.c(TEST_NAME): Likewise.
65812 * string/test-strcpy.c (TEST_NAME): Likewise.
65813 * string/test-strcspn.c (TEST_NAME): Likewise.
65814 * string/test-strlen.c (TEST_NAME): Likewise.
65815 * string/test-strncasecmp.c (TEST_NAME): Likewise.
65816 * string/test-strncmp.c (TEST_NAME): Likewise.
65817 * string/test-strncpy.c (TEST_NAME): Likewise.
65818 * string/test-strnlen.c (TEST_NAME): Likewise.
65819 * string/test-strpbrk.c (TEST_NAME): Likewise.
65820 * string/test-strrchr.c (TEST_NAME): Likewise.
65821 * string/test-strspn.c (TEST_NAME): Likewise.
65822 * string/test-strstr.c (TEST_NAME): Likewise.
65823 * string/test-bcopy-ifunc.c: New file.
65824 * string/test-bzero-ifunc.c: Likewise.
65825 * string/test-memccpy-ifunc.c: Likewise.
65826 * string/test-memchr-ifunc.c: Likewise.
65827 * string/test-memcmp-ifunc.c: Likewise.
65828 * string/test-memcpy-ifunc.c: Likewise.
65829 * string/test-memmem-ifunc.c: Likewise.
65830 * string/test-memmove-ifunc.c: Likewise.
65831 * string/test-mempcpy-ifunc.c: Likewise.
65832 * string/test-memset-ifunc.c: Likewise.
65833 * string/test-rawmemchr-ifunc.c: Likewise.
65834 * string/test-stpcpy-ifunc.c: Likewise.
65835 * string/test-stpncpy-ifunc.c: Likewise.
65836 * string/test-strcasecmp-ifunc.c: Likewise.
65837 * string/test-strcasestr-ifunc.c: Likewise.
65838 * string/test-strcat-ifunc.c: Likewise.
65839 * string/test-strchr-ifunc.c: Likewise.
65840 * string/test-strchrnul-ifunc.c: Likewise.
65841 * string/test-strcmp-ifunc.c: Likewise.
65842 * string/test-strcpy-ifunc.c: Likewise.
65843 * string/test-strcspn-ifunc.c: Likewise.
65844 * string/test-strlen-ifunc.c: Likewise.
65845 * string/test-strncasecmp-ifunc.c: Likewise.
65846 * string/test-strncat-ifunc.c: Likewise.
65847 * string/test-strncmp-ifunc.c: Likewise.
65848 * string/test-strncpy-ifunc.c: Likewise.
65849 * string/test-strnlen-ifunc.c: Likewise.
65850 * string/test-strpbrk-ifunc.c: Likewise.
65851 * string/test-strrchr-ifunc.c: Likewise.
65852 * string/test-strspn-ifunc.c: Likewise.
65853 * string/test-strstr-ifunc.c: Likewise.
65854
65855 * debug/Makefile (tests-ifunc): New variable.
65856 (tests): Add $(tests-ifunc).
65857 * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
65858 * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
65859 * debug/test-stpcpy_chk-ifunc.c: New file.
65860 * debug/test-strcpy_chk-ifunc.c: Likewise.
65861
65862 2012-10-20 Siddhesh Poyarekar <siddhesh@redhat.com>
65863
65864 [BZ #13601]
65865 * elf/dl-load.c (open_verify): Retry read if the entire ELF
65866 header is not read in.
65867
65868 2012-10-19 Joseph Myers <joseph@codesourcery.com>
65869
65870 * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh. Pass
65871 script to $(SHELL) as $<. Pass $(common-objpfx) to script
65872 directly. Pass built executable to script as
65873 $(built-program-cmd).
65874 * io/ftwtest-sh (ldso): Remove variable. Run ftwtest directly as
65875 $testprogram without using LD_LIBRARY_PATH and $ldso.
65876
65877 * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
65878 $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
65879 $(rtld-installed-name).
65880 * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
65881 (rtld_installed_name): Likewise.
65882 (library_path): Likewise.
65883 (run_program_prefix): New variable. Use it to run tst_fgetgrent.
65884 * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
65885 $(run-program-prefix) to tst-tables.sh.
65886 * iconvdata/tst-table.sh (run_program_prefix): New variable. Use
65887 it to run tst-table-from and tst-table-to.
65888 * iconvdata/tst-tables.sh (run_program_prefix): New variable.
65889 Pass it to tst-table.sh.
65890 * intl/Makefile ($(objpfx)tst-gettext.out): Pass
65891 $(run-program-prefix) to tst-gettext.sh.
65892 ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
65893 tst-translit.sh.
65894 ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
65895 tst-gettext2.sh.
65896 * intl/tst-gettext.sh (run_program_prefix): New variable. Use it
65897 to run tst-gettext.
65898 * intl/tst-gettext2.sh (run_program_prefix): New variable. Use it
65899 to run tst-gettext2.
65900 * intl/tst-translit.sh (run_program_prefix): New variable. Use it
65901 to run tst-translit.
65902 * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
65903 $(run-program-prefix) to tst-mtrace.sh.
65904 * malloc/tst-mtrace.sh (run_program_prefix): New variable. Use it
65905 to run tst-mtrace.
65906 * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
65907 $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
65908 $(rtld-installed-name).
65909 * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
65910 (rtld_installed_name): Likewise.
65911 (run_program_prefix): New variable. Use it to run wordexp-test.
65912
65913 * Makeconfig (ARCH): Remove all definitions.
65914 (machine): Likewise.
65915 [ARCH]: Remove conditional code.
65916 [!objdir]: Give error.
65917 [!objdir] (objpfx): Remove.
65918 [!objdir] (common-objpfx): Likewise.
65919 [!objdir] (common-objdir): Likewise.
65920 * configure.in (config_makefile): Remove. Hardcode Makefile in
65921 AC_CONFIG_FILES call.
65922 * configure: Regenerated.
65923
65924 [BZ #13888]
65925 * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
65926 or TMPDIR.
65927 (testout): Likewise.
65928
65929 * posix/Makefile ($(objpfx)tst-getconf.out): Pass
65930 $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
65931 $(rtld-installed-name).
65932 * posix/tst-getconf.sh (elf_objpfx): Remove variable.
65933 (rtld_installed_name): Likewise.
65934 (runit): Remove function.
65935 (run_getconf): New variable, Use it for running getconf binary.
65936
65937 2012-10-18 H.J. Lu <hongjiu.lu@intel.com>
65938
65939 [BZ #14716]
65940 * string/test-memmem.c (check_result): New function.
65941 (do_one_test): Use it.
65942 (check1): New function.
65943 (test_main): Use it.
65944
65945 2012-10-18 Markus Trippelsdorf <markus@trippelsdorf.de>
65946
65947 * math/Makefile: Comment on slow compilation of test-tgmath2.c.
65948
65949 2012-10-18 Joseph Myers <joseph@codesourcery.com>
65950
65951 * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
65952 (_G_LSEEK64): Likewise.
65953 (_G_MMAP64): Likewise.
65954 (_G_FSTAT64): Likewise.
65955 * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
65956 (_G_LSEEK64): Likewise.
65957 (_G_MMAP64): Likewise.
65958 (_G_FSTAT64): Likewise.
65959 * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
65960 unconditional. Call __mmap64 directly.
65961 (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
65962 (mmap_remap_check) [_G_LSEEK64]: Make code unconditional. Call
65963 __lseek64 directly.
65964 (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
65965 (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional. Call
65966 __mmap64 directly.
65967 (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
65968 (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional. Call
65969 __lseek64 directly.
65970 (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
65971 (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional. Call
65972 __lseek64 directly.
65973 (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
65974 (_IO_file_seek) [_G_LSEEK64]: Make code unconditional. Call
65975 __lseek64 directly.
65976 (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
65977 (_IO_file_stat) [_G_FSTAT64]: Make code unconditional. Call
65978 __fxstat64 directly.
65979 (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
65980 * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
65981 unconditional.
65982 (freopen64) [!_G_OPEN64]: Remove conditional code.
65983 * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
65984 unconditional.
65985 (fseeko64) [!_G_LSEEK64]: Remove conditional code.
65986 * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
65987 unconditional.
65988 (ftello64) [!_G_LSEEK64]: Remove conditional code.
65989 * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
65990 unconditional.
65991 (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
65992 * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
65993 unconditional.
65994 (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
65995 * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
65996 unconditional.
65997 (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
65998 * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
65999 unconditional.
66000 (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
66001 * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
66002 unconditional.
66003 (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
66004
66005 2012-10-18 Siddhesh Poyarekar <siddhesh@redhat.com>
66006
66007 [BZ #12140]
66008 * manual/memory.texi (Malloc Tunable Parameters): Add note
66009 about free list pointers overwriting some perturb bytes.
66010 Wording suggested by Roland McGrath.
66011
66012 2012-10-17 Joseph Myers <joseph@codesourcery.com>
66013
66014 * math/libm-test.inc (gamma_test): Do not call feclearexcept.
66015 (lgamma_test): Likewise.
66016 (tgamma_test): Likewise.
66017
66018 2012-10-16 Florian Weimer <fweimer@redhat.com>
66019
66020 [BZ #14700]
66021 * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
66022 (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
66023
66024 2012-10-16 Maxim Kuvyrkov <maxim@codesourcery.com>
66025
66026 * NEWS: Mention BZ #14716.
66027 * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
66028 when removing AVAILABLE1_USES_J macro.
66029
66030 2012-10-12 H.J. Lu <hongjiu.lu@intel.com>
66031
66032 * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
66033 (__bswap_64): __uint64_t for unsigned 64-bit int.
66034
66035 2012-10-12 Andreas Schwab <schwab@linux-m68k.org>
66036
66037 * include/string.h (memmem): Declare libc hidden alias.
66038 * string/memmem.c (memmem): Define libc hidden alias.
66039 * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
66040 __read, __close instead of open, read, close.
66041
66042 2012-10-11 H.J. Lu <hongjiu.lu@intel.com>
66043
66044 * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
66045 * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
66046 global and hidden.
66047 * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
66048 * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
66049 * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
66050 Likewise.
66051 (__rawmemchr_sse2): Likewise.
66052 * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
66053 * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
66054 (__strchr_sse2): Likewise.
66055 * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
66056 * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
66057 (__strcasecmp_sse2): Likewise.
66058 (__strncasecmp_sse2): Likewise.
66059 * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
66060 * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
66061 * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
66062 * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
66063 (__strrchr_sse2): Likewise.
66064 * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
66065 ifunc-impl-list.c.
66066 * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
66067 * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
66068 * sysdeps/x86_64/multiarch/memmove.c: Likewise.
66069 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
66070 * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
66071 * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
66072 * sysdeps/x86_64/multiarch/memset.S: Likewise.
66073 * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
66074 * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
66075 * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
66076 * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
66077 * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
66078 * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
66079 * sysdeps/x86_64/multiarch/strcat.S: Likewise.
66080 * sysdeps/x86_64/multiarch/strchr.S: Likewise.
66081 * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
66082 * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
66083 * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
66084 * sysdeps/x86_64/multiarch/strlen.S: Likewise.
66085 * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
66086 * sysdeps/x86_64/multiarch/strncat.S: Likewise.
66087 * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
66088 * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
66089 * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
66090 * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
66091 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
66092 * sysdeps/x86_64/multiarch/strspn.S: Likewise.
66093 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
66094 * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
66095 * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
66096
66097 * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
66098 global and hidden.
66099 * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
66100 * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
66101 * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
66102 * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
66103 Likewise.
66104 * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
66105 Likewise.
66106 * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
66107 * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
66108 * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
66109 * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
66110 ifunc-impl-list.c.
66111 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
66112 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
66113 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
66114 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
66115 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
66116 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
66117 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
66118 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
66119 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
66120 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
66121 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
66122 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
66123 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
66124 * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
66125 * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
66126 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
66127 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
66128 * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
66129 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
66130 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
66131 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
66132 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
66133 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
66134 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
66135 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
66136 * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
66137 * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
66138 * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
66139 * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
66140 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
66141 * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
66142 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
66143 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
66144 * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
66145 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
66146 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
66147 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
66148 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
66149 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
66150 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
66151 * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
66152
66153 * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
66154 [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
66155 * include/ifunc-impl-list.h: New file.
66156 * misc/ifunc-impl-list.c: Likewise.
66157 * misc/Makefile (routines): Add ifunc-impl-list.
66158 * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
66159 * string/test-string.h: Include <ifunc-impl-list.h>.
66160 (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
66161 TEST_NAME]: New variables.
66162 (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
66163 are defined.
66164 (test_init): Call __libc_ifunc_impl_list to initialize
66165 func_list if TEST_IFUNC and TEST_NAME are defined.
66166
66167 * string/Makefile (strop-tests): Add bcopy and bzero.
66168 * string/test-bcopy.c: New file.
66169 * string/test-bzero.c: Likewise.
66170 * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
66171 defined.
66172 * string/test-memset.c: Support bzero test if TEST_BZERO is
66173 defined.
66174 * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
66175 __libc_memmove.
66176 * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
66177 __libc_memset.
66178 * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
66179 of memset.
66180
66181 2012-10-10 Joseph Myers <joseph@codesourcery.com>
66182
66183 * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
66184 * configure: Regenerated.
66185
66186 * Makeconfig (+link-static-before-libc): Don't include
66187 $(link-static-libc).
66188
66189 * libio/libio.h (_IO_pos_t): Remove.
66190
66191 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
66192
66193 * NEWS: Add note about FIPS mode. Wording suggested by Roland
66194 McGrath.
66195
66196 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
66197
66198 * crypt/crypt-entry.c: Include fips-private.h.
66199 (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
66200 * crypt/md5c-test.c (main): Tolerate disabled MD5.
66201 * sysdeps/unix/sysv/linux/fips-private.h: New file.
66202 * sysdeps/generic/fips-private.h: New file, dummy fallback.
66203
66204 2012-10-10 Alexandre Oliva <aoliva@redhat.com>
66205
66206 * crypt/crypt-private.h: Include stdbool.h.
66207 (_ufc_setup_salt_r): Return bool.
66208 * crypt/crypt-entry.c: Include errno.h.
66209 (__crypt_r): Return NULL with EINVAL for bad salt.
66210 * crypt/crypt_util.c (bad_for_salt): New.
66211 (_ufc_setup_salt_r): Check that salt is long enough and within
66212 the specified alphabet.
66213 * crypt/badsalttest.c: New file.
66214 * crypt/Makefile (tests): Add it.
66215 ($(objpfx)badsalttest): New.
66216
66217 2012-10-09 Maxim Kuvyrkov <maxim@codesourcery.com>
66218
66219 * NEWS: Add entry for BZ #14602.
66220
66221 2012-10-09 Joseph Myers <joseph@codesourcery.com>
66222
66223 * math/gen-libm-test.pl (parse_args): Handle comparison macros as
66224 type-generic.
66225 * math/libm-test.inc: Update comment listing what functions and
66226 macros are tested.
66227 (isgreater_test): New function.
66228 (isgreaterequal_test): Likewise.
66229 (isless_test): Likewise.
66230 (islessequal_test): Likewise.
66231 (islessgreater_test): Likewise.
66232 (isunordered_test): Likewise.
66233 (main): Call the new functions.
66234
66235 2012-10-09 Roland McGrath <roland@hack.frob.com>
66236
66237 * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
66238 _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
66239 AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
66240 * sysdeps/i386/configure: Regenerated.
66241 * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
66242 * sysdeps/mach/configure: Regenerated.
66243 * sysdeps/mach/hurd/configure: Regenerated.
66244 * sysdeps/powerpc/configure: Regenerated.
66245 * sysdeps/powerpc/powerpc32/configure: Regenerated.
66246 * sysdeps/powerpc/powerpc64/configure: Regenerated.
66247 * sysdeps/s390/s390-32/configure: Regenerated.
66248 * sysdeps/s390/s390-64/configure: Regenerated.
66249 * sysdeps/sh/configure: Regenerated.
66250 * sysdeps/sparc/configure: Regenerated.
66251 * sysdeps/unix/sysv/linux/configure: Regenerated.
66252 * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
66253 * sysdeps/x86_64/configure: Regenerated.
66254
66255 * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
66256 defined. Don't check if MAP is NULL.
66257
66258 2012-10-09 Joseph Myers <joseph@codesourcery.com>
66259
66260 * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
66261 (_G_stat64): Likewise.
66262 * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
66263 (_G_stat64): Likewise.
66264 * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
66265 instead of struct _G_stat64.
66266 * libio/fileops.c (mmap_remap_check): Likewise.
66267 (decide_maybe_mmap): Likewise.
66268 (_IO_new_file_seekoff): Likewise.
66269 (_IO_file_stat): Likewise.
66270 * libio/libio.h (_IO_off64_t): Define to __off64_t, not
66271 _G_off64_t.
66272 * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
66273 instead of struct _G_stat64.
66274 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
66275
66276 2012-10-08 Maxim Kuvyrkov <maxim@codesourcery.com>
66277
66278 [BZ #14602]
66279 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
66280 Replace with ...
66281 (CHECK_EOL): New macro.
66282 (two_way_short_needle): Check beginning of haystack for EOL. Use
66283 CHECK_EOL.
66284 * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
66285 Replace with CHECK_EOL.
66286 * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
66287 Replace with CHECK_EOL.
66288
66289 2012-10-08 Joseph Myers <joseph@codesourcery.com>
66290
66291 * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
66292 type-generic.
66293 * math/libm-test.inc: Update comment listing what functions and
66294 macros are tested.
66295 (finite_test): New function.
66296 (isinf_test): Likewise.
66297 (isnan_test): Likewise.
66298 (fpclassify_test): Test subnormal input.
66299 (isfinite_test): Likewise.
66300 (isnormal_test): Likewise.
66301 (main): Call the new functions.
66302
66303 2012-10-08 Jonathan Nieder <jrnieder@gmail.com>
66304
66305 [BZ #14660]
66306 * Makerules (%.dynsym): Force C locale when running
66307 $(OBJDUMP) --dynamic-syms.
66308
66309 2012-10-08 Andreas Schwab <schwab@linux-m68k.org>
66310
66311 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
66312 <stdint.h>.
66313
66314 2012-10-06 David S. Miller <davem@davemloft.net>
66315
66316 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
66317 upper 32-bits of the length value in %o2 since we use branch-on-register
66318 tests which consider the entire 64-bit register.
66319
66320 2012-10-06 H.J. Lu <hongjiu.lu@intel.com>
66321
66322 * string/test-strstr.c (check2): Add a test for page boundary.
66323
66324 2012-10-05 David S. Miller <davem@davemloft.net>
66325
66326 * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
66327 * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
66328 file.
66329 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
66330 sysdep_routines.
66331 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
66332 * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
66333 and bzero when HWCAP_SPARC_CRYPTO is present.
66334
66335 2012-10-05 H.J. Lu <hongjiu.lu@intel.com>
66336
66337 [BZ #14602]
66338 * string/test-strstr.c (check2): New function.
66339 (test_main): Call check2.
66340
66341 * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
66342 and bug-strchr1.
66343 * string/bug-strcasestr1.c (do_test): Moved to ...
66344 * string/test-strcasestr.c (check1): Here. New function.
66345 (do_one_test): Break out result checking code into ...
66346 (check_result): This. New function.
66347 (do_one_test): Call check_result.
66348 (test_main): Call check1.
66349 * string/bug-strchr1.c (do_test): Moved to ...
66350 * string/test-strchr.c (check1): Here. New function.
66351 (do_one_test): Break out result checking code into ...
66352 (check_result): This. New function.
66353 (do_one_test): Call check_result.
66354 (test_main): Call check1.
66355 * string/bug-strstr1.c (main): Moved to ...
66356 * string/test-strstr.c (check1): Here. New function.
66357 (do_one_test): Break out result checking code into ...
66358 (check_result): This. New function.
66359 (do_one_test): Call check_result.
66360 (test_main): Call check1.
66361 * string/bug-strcasestr1.c: Removed.
66362 * string/bug-strchr1.c: Likewise.
66363 * string/bug-strstr1.c: Likewise.
66364
66365 * elf/Makefile (dl-routines): Add hwcaps.
66366 * elf/dl-support.c (_dl_important_hwcaps): Removed.
66367 * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
66368 (_dl_important_hwcaps): Moved to ...
66369 * elf/dl-hwcaps.c: Here. New file.
66370 * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
66371
66372 [BZ #14557]
66373 * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
66374 if IS_IN_rtld isn't defined.
66375
66376 * elf/dl-support.c (_dl_sysinfo_map): New.
66377 Include "get-dynamic-info.h" and "setup-vdso.h".
66378 (_dl_non_dynamic_init): Call setup_vdso.
66379 * elf/dynamic-link.h: Don't include <assert.h>.
66380 (elf_get_dynamic_info): Moved to ...
66381 * elf/get-dynamic-info.h: Here. New file.
66382 * elf/dynamic-link.h: Include "get-dynamic-info.h".
66383 * elf/rtld.c (dl_main): Break out vDSO setup code into ...
66384 * elf/setup-vdso.h: Here. New file.
66385 * elf/rtld.c: Include "setup-vdso.h".
66386 (dl_main): Call setup_vdso.
66387
66388 2012-10-05 Joseph Myers <joseph@codesourcery.com>
66389
66390 * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
66391 creal in comment listing functions tested. List finite, isinf,
66392 isnan, isless, islessequal, isgreater, isgreaterequal,
66393 islessgreater, isunordered, lgamma_r and pow10 as functions and
66394 macros not tested. Mention which functions not tested are aliases
66395 for other functions. Fix typo. Note that signs of NaNs are not
66396 tested.
66397
66398 * scripts/config.guess: Update from config.git.
66399 * scripts/config.sub: Likewise.
66400
66401 2012-10-04 Roland McGrath <roland@hack.frob.com>
66402
66403 * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
66404 * misc/madvise.c (madvise): Renamed to __madvise.
66405 Make madvise a weak alias.
66406 * include/sys/mman.h: Declare __madvise.
66407 Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
66408 * sysdeps/unix/syscalls.list
66409 (madvise): Make __madvise the strong name, and madvise a weak alias.
66410 * sysdeps/unix/sysv/linux/syscalls.list
66411 (madvise, mmap): Remove redundant entries.
66412 * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
66413 * malloc/malloc.c (mtrim): Likewise.
66414 * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
66415
66416 2012-10-03 Roland McGrath <roland@hack.frob.com>
66417
66418 * sysdeps/mach/hurd/dl-cache.c: File removed.
66419 * config.h.in (USE_LDCONFIG): New #undef.
66420 * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
66421 * configure: Regenerated.
66422 * elf/Makefile (dl-routines): Add dl-cache only under
66423 [$(use-ldconfig) = yes].
66424 * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
66425 cache on [USE_LDCONFIG].
66426 * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
66427 [USE_LDCONFIG].
66428 * elf/rtld.c (dl_main): Likewise.
66429
66430 2012-10-03 Pino Toscano <toscano.pino@tiscali.it>
66431
66432 * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
66433 _SC_LEVEL4_CACHE_LINESIZE.
66434
66435 2012-10-03 Roland McGrath <roland@hack.frob.com>
66436
66437 * sysdeps/unix/bsd/confstr.h: File removed.
66438
66439 2012-10-02 Alexandre Oliva <aoliva@redhat.com>
66440
66441 * scripts/check-local-headers.sh: Exclude sys/sdt.h and
66442 sys/sdt-config.h.
66443
66444 2012-10-02 Roland McGrath <roland@hack.frob.com>
66445
66446 * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
66447 Make 'mapoff' field ElfW(Off) rather than off_t.
66448
66449 2012-10-02 Dmitry V. Levin <ldv@altlinux.org>
66450
66451 * nscd/Makefile: Remove nscd-cflags and all its users.
66452 (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
66453 (CFLAGS-nonlib): Add compiler flags for nscd modules.
66454
66455 [BZ #10631]
66456 * malloc.c (malloc_printerr): Clarify error message.
66457
66458 2012-10-02 H.J. Lu <hongjiu.lu@intel.com>
66459
66460 [BZ #14648]
66461 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66462 Set bit_FMA_Usable if FMA is supported.
66463 * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
66464 macro.
66465 (bit_FMA4_Usable): Updated.
66466 (index_FMA_Usable): New macro.
66467 (CPUID_FMA): Likewise.
66468 (HAS_FMA): Defined with bit_FMA_Usable.
66469
66470 2012-10-01 Roland McGrath <roland@hack.frob.com>
66471
66472 * bits/types.h (__swblk_t): Type removed.
66473 * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
66474 * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
66475 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
66476 (__SWBLK_T_TYPE): Likewise.
66477 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
66478 (__SWBLK_T_TYPE): Likewise.
66479 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
66480 (__SWBLK_T_TYPE): Likewise.
66481 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
66482 (__SWBLK_T_TYPE): Likewise.
66483
66484 2012-10-01 Patsy Franklin <pfrankli@redhat.com>
66485 Honza Horak <hhorak@redhat.com>
66486
66487 * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
66488 (xdr_mapname): Use YPMAXMAP as maxsize.
66489 (xdr_peername): Use YPMAXPEER as maxsize.
66490 (xdr_keydat): Use YPAXRECORD as maxsize.
66491 (xdr_valdat): Use YPMAXRECORD as maxsize.
66492
66493 2012-10-01 Roland McGrath <roland@hack.frob.com>
66494
66495 * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
66496
66497 * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
66498 * csu/init-first.c: ... here.
66499 * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
66500 * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
66501 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
66502 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
66503 * sysdeps/i386/init-first.c: File removed.
66504 * sysdeps/sh/init-first.c: File removed.
66505
66506 2012-10-01 Joseph Myers <joseph@codesourcery.com>
66507
66508 [BZ #14645]
66509 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
66510 if x * y might underflow to zero and z is zero.
66511 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
66512 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66513 * math/libm-test.inc (min_subnorm_value): New variable.
66514 (fma_test): Add more tests.
66515 (fma_test_towardzero): Likewise.
66516 (fma_test_downward): Likewise.
66517 (fma_test_upward): Likewise.
66518 (initialize): Set min_subnorm_value.
66519
66520 2012-09-29 Joseph Myers <joseph@codesourcery.com>
66521
66522 [BZ #14638]
66523 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
66524 0 + 0.
66525 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
66526 mode for addition resulting in exact zero.
66527 * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
66528 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
66529 exact 0 + 0.
66530 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
66531 * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
66532 * math/libm-test.inc (fma_test): Add more tests.
66533 (fma_test_towardzero): New function.
66534 (fma_test_downward): Likewise.
66535 (fma_test_upward): Likewise.
66536 (main): Call the new functions.
66537
66538 2012-09-28 David S. Miller <davem@davemloft.net>
66539
66540 * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
66541
66542 2012-09-28 Roland McGrath <roland@hack.frob.com>
66543
66544 * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
66545 instead of SIGALRM.
66546
66547 * sysdeps/gnu/_G_config.h: Moved to ...
66548 * sysdeps/unix/sysv/linux/_G_config.h: ... here.
66549 * sysdeps/mach/hurd/_G_config.h: Moved to ...
66550 * sysdeps/generic/_G_config.h: ... here.
66551
66552 * io/open.c (__open): Renamed to __libc_open. Make __open an alias.
66553
66554 * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
66555
66556 * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
66557 Conditionalize target on [libnss_test1.so-version].
66558
66559 * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
66560
66561 * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
66562 (elfobjdir): Move out of conditionals.
66563
66564 * nss/nsswitch.c (nss_new_service): Conditionalize definition and
66565 declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
66566 (__nss_lookup_function): Conditionalize label remove_from_tree on
66567 [!DO_STATIC_NSS || SHARED], matching its only use.
66568
66569 2012-09-28 David S. Miller <davem@davemloft.net>
66570
66571 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
66572 * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
66573 file.
66574 * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
66575 sysdep_routines.
66576 * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
66577 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
66578 when HWCAP_SPARC_CRYPTO is present.
66579
66580 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
66581
66582 * io/tst-mknodat.c: Create a FIFO instead of a socket.
66583
66584 2012-09-28 Andreas Schwab <schwab@linux-m68k.org>
66585
66586 [BZ #6530]
66587 * stdio-common/vfprintf.c (process_string_arg): Revert
66588 2000-07-22 change.
66589
66590 2011-09-28 Jonathan Nieder <jrnieder@gmail.com>
66591
66592 * stdio-common/Makefile (tst-sprintf-ENV): Set environment
66593 for testcase.
66594 * stdio-common/tst-sprintf.c: Include <locale.h>
66595 (main): Test sprintf's handling of incomplete multibyte
66596 characters.
66597
66598 2012-09-28 H.J. Lu <hongjiu.lu@intel.com>
66599
66600 * elf/dl-runtime.c (VERSYMIDX): Removed.
66601 * elf/dl-version.c (VERSYMIDX): Likewise.
66602 * elf/do-rel.h (VERSYMIDX): Likewise.
66603 (VALIDX): Likewise.
66604 * elf/dynamic-link.h (VERSYMIDX): Likewise.
66605 * elf/rtld.c (VALIDX): Likewise.
66606 (ADDRIDX): Likewise.
66607 * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
66608 * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
66609 * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
66610 * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
66611 (VALIDX): Likewise.
66612 (ADDRIDX): Likewise.
66613
66614 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
66615
66616 * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
66617
66618 2012-09-28 Dmitry V. Levin <ldv@altlinux.org>
66619
66620 [BZ #11438]
66621 * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
66622 to global scope.
66623 * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
66624 addresses are in the same scope as 192.0.2/24.
66625 * posix/gai.conf: Document new scope table defaults.
66626
66627 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
66628
66629 [BZ #5298]
66630 * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
66631 for ftell. Compute offsets from write pointers instead.
66632 * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
66633
66634 2012-09-28 Siddhesh Poyarekar <siddhesh@redhat.com>
66635
66636 [BZ #14543]
66637 * libio/Makefile (tests): New test case tst-fseek.
66638 * libio/tst-fseek.c: New test case to verify that fseek/ftell
66639 combination works in wide mode.
66640 * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
66641 state when the external buffer state changes.
66642
66643 2012-09-27 David S. Miller <davem@davemloft.net>
66644
66645 [BZ #14376]
66646 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
66647 pass reloc->r_addend in as the 'high' argument to
66648 sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
66649
66650 * sysdeps/sparc/fpu/libm-test-ulps: Update.
66651
66652 2012-09-28 Pino Toscano <toscano.pino@tiscali.it>
66653
66654 * rt/tst-aio2.c: Include <pthread.h>.
66655 * rt/tst-aio3.c: Likewise.
66656
66657 2012-09-27 Steve Ellcey <sellcey@mips.com>
66658
66659 * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
66660
66661 2012-09-27 H.J. Lu <hongjiu.lu@intel.com>
66662
66663 * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
66664 contents on [SHARED].
66665
66666 2012-09-26 Marek Polacek <polacek@redhat.com>
66667
66668 [BZ #14530]
66669 [BZ #13741]
66670 * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
66671 for C++ and GCC <4.3 as well as for non GCC compilers.
66672
66673 2012-09-26 Markus Trippelsdorf <markus@trippelsdorf.de>
66674
66675 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66676
66677 2012-09-25 Roland McGrath <roland@hack.frob.com>
66678
66679 * Makefile.in (all, install): Declare with .PHONY.
66680 Reported by Michael Hope <michael.hope@linaro.org>.
66681
66682 2012-09-25 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
66683
66684 * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
66685 * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
66686 system header.
66687 * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
66688 Likewise.
66689 (sydep_routines): Add the new and the internal functions.
66690 * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
66691 * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
66692 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
66693 (GLIBC_2.17): Add the new function.
66694 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
66695 (GLIBC_2.17): Likewise.
66696 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
66697 (GLIBC_2.17): Likewise.
66698 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
66699 (GLIBC_2.17): Likewise.
66700 * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
66701
66702 2012-09-25 Alan Modra <amodra@gmail.com>
66703
66704 * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
66705 Add release barrier before setting once_control to say
66706 initialisation is done. Add hints on lwarx. Use macro in
66707 place of isync.
66708 (clear_once_control): Add release barrier.
66709
66710 2012-09-25 Joseph Myers <joseph@codesourcery.com>
66711
66712 [BZ #13629]
66713 * math/s_clog.c (__clog): Handle more values close to |z| = 1
66714 specially.
66715 * math/s_clog10.c (__clog10): Likewise.
66716 * math/s_clog10f.c (__clog10f): Likewise.
66717 * math/s_clog10l.c (__clog10l): Likewise.
66718 * math/s_clogf.c (__clogf): Likewise.
66719 * math/s_clogl.c (__clogl): Likewise.
66720 * math/Makefile (libm-calls): Add x2y2m1.
66721 * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
66722 (__x2y2m1): Likewise.
66723 (__x2y2m1l): Likewise.
66724 * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
66725 * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
66726 * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
66727 * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
66728 * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
66729 * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
66730 * math/libm-test.inc (clog_test, clog10_test): Add more tests.
66731 * sysdeps/i386/fpu/libm-test-ulps: Update.
66732 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66733
66734 [BZ #14621]
66735 * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
66736 int as type of variable DEPTH.
66737 (glob): Use size_t instead of int as type of variables NEWCOUNT
66738 and OLD_PATHC.
66739
66740 2012-09-25 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
66741
66742 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
66743 Add s_sincosf-sse2.
66744 * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
66745 * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
66746 * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
66747 macros for using routine as __sincosf_ia32.
66748 Use macro for function declaration and weak_alias.
66749 * sysdeps/i386/fpu/libm-test-ulps: Update.
66750
66751 * sysdeps/x86_64/fpu/s_sincosf.S: New file.
66752 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
66753
66754 * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
66755 subnormal argument.
66756 * math/s_cexpf.c (__cexpf): Likewise.
66757 * math/s_csinf.c (__csinf): Likewise.
66758 * math/s_csinhf.c (__csinhf): Likewise.
66759 * math/s_ctanf.c (__ctanf): Likewise.
66760 * math/s_ctanhf.c (__ctanhf): Likewise.
66761 * math/s_ccosh.c (__ccoshf): Likewise.
66762 * math/s_cexp.c (__cexpl): Likewise.
66763 * math/s_csin.c (__csin): Likewise.
66764 * math/s_csinh.c (__csinh): Likewise.
66765 * math/s_ctan.c (__ctan): Likewise.
66766 * math/s_ctanh.c (ctanh): Likewise.
66767 * math/s_ccoshl.c (__ccoshl): Likewise.
66768 * math/s_cexpl.c (__cexpl): Likewise.
66769 * math/s_csinl.c (__csinl): Likewise.
66770 * math/s_csinhl.c (__csinhl): Likewise.
66771 * math/s_ctanl.c (__ctanl): Likewise.
66772 * math/s_ctanhl.c (__ctanhl): Likewise.
66773
66774 2012-09-25 Joseph Myers <joseph@codesourcery.com>
66775
66776 * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
66777 (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
66778 (_IO_off_t): Define to __off_t, not _G_off_t.
66779 (_IO_pid_t): Define to __pid_t, not _G_pid_t.
66780 (_IO_uid_t): Define to __uid_t, not _G_uid_t.
66781 (_IO_wint_t): Define to wint_t, not _G_wint_t.
66782 * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
66783 type of __dummy and __dummy2 fields.
66784 * sysdeps/generic/_G_config.h (_G_size_t): Remove.
66785 (_G_ssize_t): Likewise.
66786 (_G_off_t): Likewise.
66787 (_G_pid_t): Likewise.
66788 (_G_uid_t): Likewise.
66789 (_G_wchar_t): Likewise.
66790 (_G_wint_t): Likewise.
66791 * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
66792 (_G_ssize_t): Likewise.
66793 (_G_off_t): Likewise.
66794 (_G_pid_t): Likewise.
66795 (_G_uid_t): Likewise.
66796 (_G_wchar_t): Likewise.
66797 (_G_wint_t): Likewise.
66798 * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
66799 (_G_ssize_t): Likewise.
66800 (_G_off_t): Likewise.
66801 (_G_pid_t): Likewise.
66802 (_G_uid_t): Likewise.
66803 (_G_wchar_t): Likewise.
66804 (_G_wint_t): Likewise.
66805
66806 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
66807
66808 * malloc/arena.c: Include malloc-sysdep.h.
66809 (shrink_heap): Use check_may_shrink_heap to decide if madvise
66810 is sufficient to shrink the heap or an unmap is needed.
66811 * sysdeps/generic/malloc-sysdep.h: New file. Define
66812 new function check_may_shrink_heap.
66813 * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file. Define
66814 new function check_may_shrink_heap.
66815
66816 2012-09-25 Siddhesh Poyarekar <siddhesh@redhat.com>
66817
66818 * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
66819 comments.
66820
66821 2012-09-24 Dmitry V. Levin <ldv@altlinux.org>
66822
66823 * catgets/test-gencat.sh: Add "set -e".
66824 * elf/tst-pathopt.sh: Likewise.
66825 * grp/tst_fgetgrent.sh: Likewise.
66826 * iconvdata/run-iconv-test.sh: Likewise.
66827 * intl/tst-gettext.sh: Likewise.
66828 * intl/tst-gettext2.sh: Likewise.
66829 * intl/tst-gettext4.sh: Likewise.
66830 * intl/tst-gettext6.sh: Likewise.
66831 * intl/tst-translit.sh: Likewise.
66832 * io/ftwtest-sh: Likewise.
66833 * libio/test-freopen.sh: Likewise.
66834 * malloc/tst-mtrace.sh: Likewise.
66835 * posix/globtest.sh: Likewise.
66836 * posix/tst-getconf.sh: Likewise.
66837 * posix/wordexp-tst.sh: Likewise.
66838 * stdio-common/tst-printf.sh: Likewise.
66839 * stdio-common/tst-unbputc.sh: Likewise.
66840 * stdlib/tst-fmtmsg.sh: Likewise.
66841 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66842 * catgets/Makefile: Do not specify -e option when running
66843 testsuite shell scripts.
66844 * elf/Makefile: Likewise.
66845 * grp/Makefile: Likewise.
66846 * iconvdata/Makefile: Likewise.
66847 * intl/Makefile: Likewise.
66848 * io/Makefile: Likewise.
66849 * libio/Makefile: Likewise.
66850 * malloc/Makefile: Likewise.
66851 * posix/Makefile: Likewise.
66852 * stdio-common/Makefile: Likewise.
66853 * stdlib/Makefile: Likewise.
66854 * sysdeps/x86_64/Makefile: Likewise.
66855
66856 * io/ftwtest-sh: Add copyright header.
66857 * posix/globtest.sh: Likewise.
66858 * posix/tst-getconf.sh: Likewise.
66859 * posix/wordexp-tst.sh: Likewise.
66860 * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
66861
66862 2012-09-24 H.J. Lu <hongjiu.lu@intel.com>
66863
66864 [BZ #13679]
66865 * Makeconfig (+link): Defined as $(+link-static) if
66866 $(build-shared) isn't yes.
66867 (link-tests): Defined as $(+link-static-tests) if $(build-shared)
66868 isn't yes.
66869 (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
66870
66871 * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
66872
66873 [BZ #14562]
66874 * malloc/arena.c (heap_trim): Properly get fencepost and adjust
66875 new chunk size with MALLOC_ALIGN_MASK.
66876
66877 2012-09-24 Joseph Myers <joseph@codesourcery.com>
66878
66879 [BZ #5044]
66880 * stdio-common/printf_fphex.c: Include <stdbool.h> and
66881 <rounding-mode.h>.
66882 (__printf_fphex): Determine rounding using get_rounding_mode and
66883 round_away.
66884 * stdio-common/tst-printf-round.c (struct hex_test): New
66885 structure.
66886 (hex_tests): New variable.
66887 (test_hex_in_one_mode): New function.
66888 (do_test): Also run tests for hex float output.
66889
66890 2012-09-21 Joseph Myers <joseph@codesourcery.com>
66891
66892 * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66893 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66894 * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
66895 * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
66896 [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
66897 * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
66898 * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66899 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
66900
66901 2012-09-20 Joseph Myers <joseph@codesourcery.com>
66902
66903 * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
66904 * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
66905 * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
66906 * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
66907
66908 2012-09-19 Dmitry V. Levin <ldv@altlinux.org>
66909
66910 [BZ #14579]
66911 * elf/rtld.c (dl_main): Limit the check for self loading to normal
66912 mode only.
66913 * elf/tst-rtld-load-self.sh: New test.
66914 * elf/Makefile: Run it.
66915
66916 2012-09-18 Joseph Myers <joseph@codesourcery.com>
66917
66918 * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
66919 (tst-writev-ENV): Remove.
66920 * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
66921
66922 2012-09-17 Chris Metcalf <cmetcalf@tilera.com>
66923
66924 * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
66925
66926 2012-09-17 Joseph Myers <joseph@codesourcery.com>
66927
66928 * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
66929 unconditional.
66930 * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
66931 Likewise.
66932 * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
66933 * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
66934 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
66935 Likewise.
66936
66937 2012-09-14 H.J. Lu <hongjiu.lu@intel.com>
66938
66939 [BZ #14587]
66940 * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
66941 * config.make.in (have-cpp-asm-debuginfo): Removed.
66942 * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
66943 * configure: Regenerated.
66944
66945 2012-09-14 Joseph Myers <joseph@codesourcery.com>
66946
66947 [BZ #5044]
66948 * stdio-common/printf_fp.c: Include <stdbool.h> and
66949 <rounding-mode.h>.
66950 (___printf_fp): Determine rounding using get_rounding_mode and
66951 round_away.
66952 * stdio-common/tst-printf-round.c: New file.
66953 * stdio-common/Makefile (tests): Add tst-printf-round.
66954 (link-libm): New variable.
66955 ($(objpfx)tst-printf-round): Depend in $(link-libm).
66956
66957 2012-09-13 H.J. Lu <hongjiu.lu@intel.com>
66958
66959 [BZ #14576]
66960 * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
66961 * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
66962 Likewise.
66963 * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
66964 Likewise.
66965
66966 2012-09-13 Joseph Myers <joseph@codesourcery.com>
66967
66968 * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
66969 * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66970 * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66971 * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
66972
66973 2012-09-12 Joseph Myers <joseph@codesourcery.com>
66974
66975 [BZ #14518]
66976 * include/rounding-mode.h: New file.
66977 * sysdeps/generic/get-rounding-mode.h: Likewise.
66978 * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
66979 * stdlib/strtod_l.c: Include <rounding-mode.h>.
66980 (MAX_VALUE): New macro.
66981 (MIN_VALUE): Likewise.
66982 (overflow_value): New function.
66983 (underflow_value): Likewise.
66984 (round_and_return): Use overflow_value and underflow_value to
66985 determine return values in overflow and underflow cases. Use
66986 round_away to determine rounding depending on rounding mode.
66987 (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
66988 determine return values in overflow and underflow cases.
66989 * stdlib/tst-strtod-round.c: Include <fenv.h>.
66990 (struct test_results): New structure.
66991 (struct test): Use struct test_results to store expected results
66992 for all rounding modes.
66993 (TEST): Include expected results for all rounding modes.
66994 (test_in_one_mode): New function.
66995 (do_test): Use test_in_one_mode to compute and check results.
66996 Check results for all rounding modes.
66997 * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
66998 $(link-libm).
66999
67000 2012-12-09 Allan McRae <allan@archlinux.org>
67001
67002 * sysdeps/i386/fpu/libm-test-ulps: Update
67003
67004 2012-09-11 Joseph Myers <joseph@codesourcery.com>
67005
67006 * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
67007 (_G_int32_t): Likewise.
67008 (_G_uint16_t): Likewise.
67009 (_G_uint32_t): Likewise.
67010 (_G_HAVE_BOOL): Likewise.
67011 (_G_HAVE_ATEXIT): Likewise.
67012 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
67013 (_G_HAVE_IO_FILE_OPEN): Likewise.
67014 * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
67015 (_G_int32_t): Likewise.
67016 (_G_uint16_t): Likewise.
67017 (_G_uint32_t): Likewise.
67018 (_G_HAVE_BOOL): Likewise.
67019 (_G_HAVE_ATEXIT): Likewise.
67020 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
67021 (_G_HAVE_IO_FILE_OPEN): Likewise.
67022 * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
67023 (_G_int32_t): Likewise.
67024 (_G_uint16_t): Likewise.
67025 (_G_uint32_t): Likewise.
67026 (_G_HAVE_BOOL): Likewise.
67027 (_G_HAVE_ATEXIT): Likewise.
67028 (_G_HAVE_LONG_DOUBLE_IO): Likewise.
67029 (_G_HAVE_IO_FILE_OPEN): Likewise.
67030
67031 2012-09-11 H.J. Lu <hongjiu.lu@intel.com>
67032
67033 * csu/libc-tls.c: Update copyright years.
67034
67035 2012-09-10 Joseph Myers <joseph@codesourcery.com>
67036
67037 * libioP.h [_G_USING_THUNKS]: Make code unconditional.
67038 [!_G_USING_THUNKS]: Remove conditional code.
67039 * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
67040 * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
67041
67042 * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
67043 [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
67044 * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
67045 (_G_VTABLE_LABEL_PREFIX): Likewise.
67046 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
67047 * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
67048 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
67049 (_G_VTABLE_LABEL_PREFIX): Likewise.
67050 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
67051 * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
67052 (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
67053 (_G_VTABLE_LABEL_PREFIX): Likewise.
67054 (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
67055
67056 2012-09-10 H.J. Lu <hongjiu.lu@intel.com>
67057
67058 * libio/Makefile: Include ../Makeconfig before tests.
67059 (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
67060 only if $(build-shared) is yes.
67061
67062 * iconv/gconv_db.c: Update copyright years.
67063
67064 2012-09-10 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67065
67066 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
67067 unwind info if defined PIC. Fix special cases description.
67068 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
67069
67070 * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
67071 DP_HI_MASK entry.
67072 * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
67073
67074 2012-09-07 H.J. Lu <hongjiu.lu@intel.com>
67075
67076 * scripts/check-local-headers.sh: Add "shopt -s nullglob".
67077
67078 * iconv/gconv_db.c (free_derivation): Check if deriv->steps
67079 is NULL.
67080
67081 * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
67082 (LDLIBS-tst-chk4): This.
67083 (LDFLAGS-tst-chk5): Renamed to ...
67084 (LDLIBS-tst-chk5): This.
67085 (LDFLAGS-tst-chk6): Renamed to ...
67086 (LDLIBS-tst-chk6): This.
67087 (LDFLAGS-tst-lfschk4): Renamed to ...
67088 (LDLIBS-tst-lfschk4): This.
67089 (LDFLAGS-tst-lfschk5): Renamed to ...
67090 (LDLIBS-tst-lfschk5): This.
67091 (LDFLAGS-tst-lfschk6): Renamed to ...
67092 (LDLIBS-tst-lfschk6): This.
67093
67094 * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
67095 on $(common-objpfx)soversions.mk.
67096
67097 2012-09-07 Joseph Myers <joseph@codesourcery.com>
67098
67099 [BZ #10014]
67100 * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
67101 example host name.
67102
67103 2012-09-07 Siddhesh Poyarekar <siddhesh@redhat.com>
67104
67105 * malloc/arena.c (arena_get_retry): New function that gets
67106 another arena for the caller to try its request on.
67107 * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
67108 current arena cannot fulfill the request.
67109 (__libc_memalign): Likewise.
67110 (__libc_memalign): Likewise.
67111 (__libc_pvalloc): Likewise.
67112 (__libc_calloc): Likewise.
67113
67114 2012-09-05 John Tobey <john.tobey@gmail.com>
67115
67116 [BZ #13542]
67117 * manual/arith.texi (Operations on Complex): Fix description
67118 of carg branch cut.
67119
67120 2012-09-06 Joseph Myers <joseph@codesourcery.com>
67121
67122 [BZ #10014]
67123 * manual/socket.texi (Host Addresses): Use www.gnu.org as example
67124 host name.
67125
67126 [BZ #10038]
67127 * manual/memory.texi (Memory): Make order of menu items match
67128 order of sections.
67129
67130 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
67131
67132 * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
67133 (_dl_initial_dtv): New. Defined if SHARED isn't defined.
67134 (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
67135
67136 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
67137
67138 * csu/libc-tls.c (static_dtv): Renamed to ...
67139 (_dl_static_dtv): This. Make it global.
67140 (_dl_initial_dtv): Removed.
67141 (__libc_setup_tls): Updated.
67142 * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
67143 (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
67144 DL_INITIAL_DTV.
67145
67146 2012-09-06 Petr Machata <pmachata@redhat.com>
67147
67148 * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
67149 (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
67150 (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
67151 (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
67152
67153 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
67154
67155 [BZ #14545]
67156 * csu/libc-tls.c (_dl_initial_dtv): New variable.
67157 * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
67158 freeing dtv[-1].
67159
67160 2012-09-06 H.J. Lu <hongjiu.lu@intel.com>
67161
67162 [BZ #14544]
67163 * Makeconfig (link-static-before-libc): Replace $(+prector)
67164 with $(+prectorT).
67165 (link-static-after-libc): Replace $(+postctor) with
67166 $(+postctorT).
67167 (link-bounded): Replace $(+prector)/$(+postctor) with
67168 $(+prectorT)/$(+postctorT).
67169 (+prectorT): New macro.
67170 (+postctorT): Likewise.
67171
67172 2012-09-06 Joseph Myers <joseph@codesourcery.com>
67173
67174 * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
67175 (round_str): Handle values above the maximum for IBM long double
67176 as inexact.
67177 * stdlib/tst-strtod-round.c (tests): Regenerated.
67178
67179 2012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67180
67181 * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
67182 assembler flag.
67183 * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
67184 zarch_nohighgprs around the zarch optimized routines.
67185 * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
67186 * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
67187 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
67188 for zarch.
67189
67190 2012-09-05 David S. Miller <davem@davemloft.net>
67191
67192 * sysdeps/sparc/fpu/libm-test-ulps: Update.
67193
67194 * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
67195 (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
67196 * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
67197 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
67198 entries.
67199
67200 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
67201
67202 * malloc/arena.c: Fold copyright years.
67203 * malloc/mcheck.c, malloc/memusage.c: Likewise.
67204
67205 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
67206
67207 * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
67208
67209 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
67210
67211 * manual/contrib.texi (Contributors): Fix typo. Complete entry.
67212
67213 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
67214
67215 * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
67216 change internal state upon failure.
67217
67218 2012-09-05 Alexandre Oliva <aoliva@redhat.com>
67219
67220 * malloc/mcheck.c (mcheck_check_all): Fix typo.
67221 * malloc/memusage.c (mmap): Likewise.
67222 (mmap64, mremap): Likewise. Adjust name in comment.
67223
67224 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
67225
67226 * libio/fileops.c: Fix typos in comments.
67227 * libio/oldfileops.c: Likewise.
67228 * libio/wfileops.c: Likewise.
67229
67230 2012-09-05 Siddhesh Poyarekar <siddhesh@redhat.com>
67231
67232 [BZ #1349]
67233 * malloc/Makefile (tests): Add tst-malloc-usable test case.
67234 (tst-malloc-usable-ENV): Set environment for test case.
67235 * malloc/hooks.c (malloc_check_get_size): New function to get
67236 requested size.
67237 * malloc/malloc.c (musable): Use malloc_check_get_size.
67238 * malloc/tst-malloc-usable.c: New test case.
67239
67240 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
67241
67242 * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
67243
67244 2012-09-05 Allan McRae <allan@archlinux.org>
67245
67246 [BZ #13966]
67247 * configure.in (CXX_SYSINCLUDES): Use compiler output to
67248 determine header location.
67249 * configure: Regenerated.
67250
67251 2012-09-05 Andreas Schwab <schwab@linux-m68k.org>
67252
67253 * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
67254 float format.
67255 * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
67256 LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
67257 format.
67258 (test): Regenerate.
67259
67260 2012-09-04 David S. Miller <davem@davemloft.net>
67261
67262 * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
67263 * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
67264 * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
67265
67266 2012-09-04 Florian Weimer <fweimer@redhat.com>
67267
67268 * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
67269 failures.
67270
67271 * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
67272
67273 2012-09-04 Joseph Myers <joseph@codesourcery.com>
67274
67275 [BZ #9914]
67276 * libio/iogetdelim.c: Include <limits.h>.
67277 (_IO_getdelim): Avoid integer overflow in testing whether cur_len
67278 + len + 1 would overflow.
67279
67280 2012-09-03 Andreas Jaeger <aj@suse.de>
67281
67282 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67283 * sysdeps/i386/fpu/libm-test-ulps: Update.
67284
67285 2012-09-03 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67286
67287 * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
67288 Add s_sinf-sse2, s_conf-sse2.
67289
67290 * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
67291 * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
67292 * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
67293 * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
67294
67295 * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
67296 for using routine as __sinf_ia32.
67297 Use macro for function declaration and weak_alias.
67298 * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
67299 for using routine as __cosf_ia32.
67300 Use macro for function declaration and weak_alias.
67301
67302 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
67303 * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
67304
67305 * sysdeps/x86_64/fpu/s_sinf.S: New file.
67306 * sysdeps/x86_64/fpu/s_cosf.S: New file.
67307 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
67308
67309 * math/libm-test.inc (cos_test): Add more test cases.
67310 (sin_test): Likewise.
67311 (sincos_test): Likewise.
67312
67313 2012-09-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67314
67315 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
67316 (IFUNC_RESOLVE): Make pointers to the specialized implementations
67317 hidden.
67318 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
67319
67320 2012-09-02 H.J. Lu <hongjiu.lu@intel.com>
67321
67322 [BZ #14538]
67323 * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
67324 first element of the GOT.
67325 (elf_machine_load_address): Return the difference between
67326 the runtime address of _DYNAMIC and elf_machine_dynamic ().
67327
67328 2012-09-01 Allan McRae <allan@archlinux.org>
67329
67330 [BZ #13412]
67331 * configure.in (AWK): Require gawk version 3.0 or later.
67332 * configure: Regenerated.
67333
67334 2012-09-01 Joseph Myers <joseph@codesourcery.com>
67335
67336 * sysdeps/unix/sysv/linux/kernel-features.h
67337 (__ASSUME_POSIX_CPU_TIMERS): Remove.
67338 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
67339 [__NR_clock_getres]: Make code unconditional.
67340 [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
67341 (clock_getcpuclockid): Remove code left unreachable by removal of
67342 conditionals.
67343 * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
67344 code unconditional.
67345 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
67346 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67347 * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
67348 Make code unconditional.
67349 [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
67350 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67351 * sysdeps/unix/sysv/linux/clock_settime.c
67352 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
67353 conditional code.
67354 [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
67355 [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
67356
67357 2012-08-29 H.J. Lu <hongjiu.lu@intel.com>
67358
67359 [BZ #14476]
67360 * Makefile (install): Also pass LD_SO=$(ld.so-version) to
67361 scripts/test-installation.pl.
67362
67363 * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
67364 and $ld_so_version if it is set.
67365
67366 2012-08-29 Siddhesh Poyarekar <siddhesh@redhat.com>
67367
67368 [BZ #14516]
67369 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
67370 failure if reading from procfs failed.
67371 * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
67372
67373 2012-08-27 Joseph Myers <joseph@codesourcery.com>
67374
67375 * sysdeps/unix/sysv/linux/kernel-features.h
67376 (__ASSUME_STAT64_SYSCALL): Remove all definitions.
67377 * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
67378 Remove conditional code.
67379 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67380 * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
67381 Remove conditional code.
67382 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67383 * sysdeps/unix/sysv/linux/i386/fxstat.c
67384 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67385 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67386 * sysdeps/unix/sysv/linux/i386/fxstatat.c
67387 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67388 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67389 * sysdeps/unix/sysv/linux/i386/lxstat.c
67390 [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
67391 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67392 * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
67393 Remove conditional code.
67394 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67395 * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
67396 Remove conditional code.
67397 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67398 * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
67399 <kernel-features.h>.
67400 [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
67401 Remove.
67402 * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
67403 Remove conditional code.
67404 [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
67405 * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
67406 Remove conditional.
67407
67408 2012-08-27 Mike Frysinger <vapier@gentoo.org>
67409
67410 [BZ #5400]
67411 * NEWS: Add fixed bug number.
67412
67413 2012-08-27 Joseph Myers <joseph@codesourcery.com>
67414
67415 [BZ #14519]
67416 * stdlib/strtod_l.c (round_and_return): Return -0.0 for
67417 underflowing exponent in case of negative sign.
67418 * stdlib/tst-strtod-round-data: Add more tests.
67419 * stdlib/tst-strtod-round.c (tests): Regenerated.
67420
67421 [BZ #3479]
67422 * stdlib/strtod_l.c (NDIG): Remove.
67423 (HEXNDIG): Likewise.
67424 (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
67425 smallest representable value.
67426 (____STRTOF_INTERNAL): Use all fractional decimal digits that may
67427 lie within an exact representation of 1/2 ulp of the result.
67428 * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
67429 unconditionally.
67430 (TENS_P9_IDX): Define unconditionally.
67431 (TENS_P9_SIZE): Likewise.
67432 (TENS_P10_IDX): Likewise.
67433 (TENS_P10_SIZE): Likewise.
67434 [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
67435 to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
67436 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
67437 entries for 10^2^13 and 10^2^14.
67438 [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
67439 (TENS_P13_IDX): Define.
67440 (TENS_P13_SIZE): Likewise.
67441 (TENS_P14_IDX): Likewise.
67442 (TENS_P14_SIZE): Likewise.
67443 (_fpioconst_pow10): Change array size to
67444 FPIOCONST_POW10_ARRAY_SIZE. Make entries for 10^2^9 and 10^2^10
67445 unconditional.
67446 (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
67447 1024]: Add entries for 10^2^13 and 10^2^14.
67448 [LAST_POW10 > _LAST_POW10]: Remove #error.
67449 * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
67450 (_fpioconst_pow10): Change array size to
67451 FPIOCONST_POW10_ARRAY_SIZE.
67452 * stdlib/gen-fpioconst.c: New file.
67453 * stdlib/gen-tst-strtod-round.c: Likewise.
67454 * stdlib/tst-strtod-round-data: Likewise.
67455 * stdlib/tst-strtod-round.c: Likewise.
67456 * stdlib/Makefile (tests): Add tst-strtod-round.
67457
67458 [BZ #14459]
67459 * stdlib/strtod_l.c: Include <stdint.h>.
67460 (NDEBUG): Do not define.
67461 (round_and_return): Change EXPONENT parameter to type intmax_t.
67462 Rearrange calculations to avoid internal overflow possibilities.
67463 (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
67464 Rearrange calculations to avoid internal overflow possibilities.
67465 Assert that number fits inside MPNSIZE limbs.
67466 (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
67467 Change DIG_NO, INT_NO and LEAD_ZERO to type size_t. Rearrange
67468 calculations and add assertions to avoid internal overflow
67469 possibilities. Add casts to avoid signed/unsigned operations.
67470 * stdlib/tst-strtod-overflow.c: New file.
67471 * stdlib/Makefile (tests): Add tst-strtod-overflow.
67472
67473 2012-08-25 Marek Polacek <polacek@redhat.com>
67474
67475 * time/time.h: Fix some typos in comments.
67476
67477 2012-08-23 Roland McGrath <roland@hack.frob.com>
67478
67479 * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
67480 * posix/tst-rfc3484-2.c: Likewise.
67481 * posix/tst-rfc3484-3.c: Likewise.
67482
67483 2012-08-23 Steve McIntyre <steve.mcintyre@linaro.org>
67484
67485 * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
67486 (EF_ARM_ABI_FLOAT_HARD): Likewise.
67487
67488 2012-08-23 Joseph Myers <joseph@codesourcery.com>
67489
67490 * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
67491 #include of fxstatat64.c.
67492
67493 2012-08-22 Roland McGrath <roland@hack.frob.com>
67494
67495 * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
67496 * shadow/getspent_r.c: Likewise.
67497 * shadow/getspnam.c: Likewise.
67498 * shadow/getspnam_r.c: Likewise.
67499 * gshadow/getsgent.c: Likewise.
67500 * gshadow/getsgent_r.c: Likewise.
67501 * gshadow/getsgnam.c: Likewise.
67502 * gshadow/getsgnam_r.c: Likewise.
67503 * inet/getnetbyad.c: Likewise.
67504 * inet/getnetbyad_r.c: Likewise.
67505 * inet/getnetbynm.c: Likewise.
67506 * inet/getnetbynm_r.c: Likewise.
67507 * inet/getnetent.c: Likewise.
67508 * inet/getnetent_r.c: Likewise.
67509 * inet/getproto.c: Likewise.
67510 * inet/getproto_r.c: Likewise.
67511 * inet/getprtent.c: Likewise.
67512 * inet/getprtent_r.c: Likewise.
67513 * inet/getprtname.c: Likewise.
67514 * inet/getprtname_r.c: Likewise.
67515 * inet/getrpcbyname.c: Likewise.
67516 * inet/getrpcbyname_r.c: Likewise.
67517 * inet/getrpcbynumber.c: Likewise.
67518 * inet/getrpcbynumber_r.c: Likewise.
67519 * inet/getrpcent.c: Likewise.
67520 * inet/getrpcent_r.c: Likewise.
67521 * inet/getaliasent.c: Likewise.
67522 * inet/getaliasent_r.c: Likewise.
67523 * inet/getaliasname.c: Likewise.
67524 * inet/getaliasname_r.c: Likewise.
67525 * nscd/getgrgid_r.c: Likewise.
67526 * nscd/getgrnam_r.c: Likewise.
67527 * nscd/gethstbyad_r.c: Likewise.
67528 * nscd/gethstbynm3_r.c: Likewise.
67529 * nscd/getpwnam_r.c: Likewise.
67530 * nscd/getpwuid_r.c: Likewise.
67531 * nscd/getsrvbynm_r.c: Likewise.
67532 * nscd/getsrvbypt_r.c: Likewise.
67533 * nscd/gai.c: Likewise.
67534
67535 * configure.in (build_nscd): New substituted variable, set
67536 by --disable-build-nscd and defaults to $use_nscd.
67537 * configure: Regenerated.
67538 * config.make.in (build-nscd): New substituted variable.
67539 * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
67540 Change conditional to require [$(build-nscd) = yes] as well.
67541 * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
67542
67543 [BZ# 13696]
67544 * configure.in (use_nscd): New substituted variable, set by
67545 --disable-nscd. If enabled, define USE_NSCD.
67546 * configure: Regenerated.
67547 * config.h.in: Add USE_NSCD.
67548 * config.make.in (use-nscd): New substituted variable.
67549 * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
67550 (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
67551 (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
67552 * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
67553 (CFLAGS-getgrnam_r.c): Likewise.
67554 (CFLAGS-initgroups.c): Likewise.
67555 * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
67556 * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
67557 Variables removed.
67558 * inet/getnetgrent_r.c
67559 (nscd_setnetgrent): New function, broken out of ...
67560 (setnetgrent): ... here. Call it.
67561 (innetgr): Conditionalize nscd bits on [USE_NSCD].
67562 (nscd_getnetgrent): Conditionalize on [USE_NSCD].
67563 (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
67564 * nscd/Makefile (routines, aux): Move definitions after include of
67565 Makeconfig. Conditionalize on [$(use-nscd) != no].
67566 * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
67567 Conditionalize on [USE_NSCD].
67568 (is_nscd, nscd_init_cb): Likewise.
67569 (nss_load_library): Conditionalize init callback on [USE_NSCD].
67570 * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
67571 * nss/nss_db/db-init.c: Likewise.
67572 * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
67573 [USE_NSCD].
67574 * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
67575 (make_request): Use it.
67576 (cache_valid_p): New function.
67577 (__check_pf): Use it.
67578 * NEWS: Add item for --disable-nscd.
67579
67580 2012-08-22 Dmitry V. Levin <ldv@altlinux.org>
67581
67582 * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
67583 to support sed >= 4.2.1-20-ga9bf076.
67584 * configure: Regenerated.
67585
67586 2012-08-22 Roland McGrath <roland@hack.frob.com>
67587
67588 * csu/libc-start.c (apply_irel): Move extern declarations inside here.
67589 Conditionalize whole body on [IREL].
67590
67591 2012-08-22 Jeff Law <law@redhat.com>
67592
67593 [BZ #14505]
67594 * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
67595 if the family is PF_UNSPEC.
67596
67597 2012-08-22 Mike Frysinger <vapier@gentoo.org>
67598
67599 * Makerules (lib-version): Rename from V.
67600 (install-lib-nosubdir): Change V to lib-version.
67601
67602 2012-08-22 Will Schmidt <will_schmidt@vnet.ibm.com>
67603
67604 [BZ #14252]
67605 * powerpc32/power6/wcschr.c: New file.
67606 * powerpc32/power6/wcscpy.c: New file.
67607 * powerpc32/power6/wcsrchr.c: New file.
67608 * powerpc64/power6/wcschr.c: New file.
67609 * powerpc64/power6/wcscpy.c: New file.
67610 * powerpc64/power6/wcsrchr.c: New file.
67611
67612 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
67613
67614 * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
67615 (two_way_short_needle): Use it.
67616 * string/strstr.c (AVAILABLE1_USES_J): Define.
67617 * string/strcasestr.c: Likewise.
67618
67619 * string/str-two-way.h (two_way_short_needle): Use pointers instead of
67620 array references.
67621 * string/strcasestr.c (TOLOWER): Make side-effect safe.
67622
67623 [BZ #11607]
67624 * NEWS: Add an entry.
67625 * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
67626 define their defaults.
67627 (two_way_short_needle): Detect end-of-string on-the-fly.
67628 * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
67629 (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
67630 * string/bug-strcasestr1.c: New test.
67631 * string/Makefile: Run it.
67632
67633 2012-08-21 Maxim Kuvyrkov <maxim@codesourcery.com>
67634
67635 [BZ #11607]
67636 * string/str-two-way.h (two_way_short_needle): Optimize matching of
67637 the first character.
67638
67639 2012-08-21 Roland McGrath <roland@hack.frob.com>
67640
67641 * csu/elf-init.c (__libc_csu_irel): Function removed.
67642 * csu/libc-start.c (apply_irel): New function.
67643 (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
67644
67645 2012-08-21 Joseph Myers <joseph@codesourcery.com>
67646
67647 * sysdeps/unix/sysv/linux/kernel-features.h
67648 (__ASSUME_FADVISE64_64_SYSCALL): Remove.
67649 * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
67650 <kernel-features.h>.
67651 [__NR_fadvise64_64]: Make code unconditional.
67652 [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
67653 [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67654 !__NR_fadvise64_64)]: Likewise.
67655 [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
67656 !__NR_fadvise64_64))]: Likewise.
67657 [__NR_fadvise64]: Make code unconditional.
67658 [!__NR_fadvise64]: Remove conditional code.
67659 * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
67660 <kernel-features.h>.
67661 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67662 unconditional.
67663 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67664 conditional code.
67665 * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
67666 not include <kernel-features.h>.
67667 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67668 unconditional.
67669 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67670 conditional code.
67671 * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
67672 include <kernel-features.h>.
67673 (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
67674 unconditional.
67675 (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
67676 conditional code.
67677
67678 2012-08-21 Will Schmidt <will_schmidt@vnet.ibm.com>
67679
67680 * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
67681 slight instruction rearrangements per scrollpipe analysis.
67682 * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
67683
67684 2012-08-20 Roland McGrath <roland@hack.frob.com>
67685
67686 * manual/syslog.texi (syslog; vsyslog, closelog):
67687 Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
67688 Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
67689
67690 * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
67691 DSOCAPS to match condition on defining it.
67692
67693 2012-08-20 Joseph Myers <joseph@codesourcery.com>
67694
67695 * sysdeps/unix/sysv/linux/kernel-features.h
67696 (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
67697 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
67698 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67699 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67700 * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
67701 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67702 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67703 * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
67704 [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
67705 [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
67706
67707 * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
67708 __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
67709
67710 * sysdeps/unix/sysv/linux/kernel-features.h
67711 (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
67712 * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
67713 unconditional.
67714 [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67715 * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
67716 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67717 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67718 * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
67719 Make code unconditional.
67720 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67721 (__mmap64) [!__NR_mmap2]: Likewise.
67722 * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
67723 [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
67724 (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67725 * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
67726 [__NR_mmap2]: Make code unconditional.
67727 (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
67728 (__mmap64) [!__NR_mmap2]: Likewise.
67729
67730 2012-08-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
67731
67732 * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
67733
67734 2012-08-18 Andreas Jaeger <aj@suse.de>
67735
67736 * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
67737
67738 2012-08-18 Mike Frysinger <vapier@gentoo.org>
67739
67740 * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
67741 * include/unistd.h (__have_sock_cloexec): Likewise.
67742 (__have_pipe2): Likewise.
67743 (__have_dup3): Likewise.
67744
67745 2012-08-18 Mike Frysinger <vapier@gentoo.org>
67746
67747 [BZ #9685]
67748 * include/unistd.h (__have_pipe2): Change define into an extern int.
67749 (__have_dup3): Likewise.
67750 * socket/have_sock_cloexec.c: Include fcntl.h.
67751 (__have_pipe2): New variable.
67752 (__have_dup3): Likewise.
67753
67754 2012-08-17 Mike Frysinger <vapier@gentoo.org>
67755
67756 * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
67757
67758 2012-08-17 Marek Polacek <polacek@redhat.com>
67759
67760 * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
67761 ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
67762
67763 2012-08-17 Roland McGrath <roland@hack.frob.com>
67764
67765 * configure.in: Add AC_SUBST for sysheaders.
67766 * configure: Regenerated.
67767 * config.make.in (sysheaders): New substituted variable.
67768
67769 * sysdeps/unix/mkfifo.c: Moved ...
67770 * sysdeps/posix/mkfifo.c: ... here.
67771 * sysdeps/unix/mkfifoat.c: Moved ...
67772 * sysdeps/posix/mkfifoat.c: ... here.
67773
67774 * sysdeps/unix/utime.c: Moved ...
67775 * sysdeps/posix/utime.c: ... here.
67776
67777 * sysdeps/unix/time.c: Moved ...
67778 * sysdeps/posix/time.c: ... here.
67779 * sysdeps/unix/sysv/linux/time.c: Adjust #include.
67780 * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
67781
67782 * sysdeps/unix/nice.c: Moved ...
67783 * sysdeps/posix/nice.c: ... here.
67784
67785 * sysdeps/unix/alarm.c: Moved ...
67786 * sysdeps/posix/alarm.c: ... here.
67787
67788 * intl/Makefile ($(codeset_mo)): Depend on the input file.
67789
67790 2012-08-17 Jeff Law <law@redhat.com>
67791
67792 * intl/Makefile (codeset_mo): New variable.
67793 ($(codeset_mo)): New target.
67794 (tst-codeset.out): Depend on that. Remove explicit rule.
67795 (tst-gettext3.out, tst-gettext5.out): Likewise.
67796 (LOCPATH-ENV, tst-codeset-ENV): New variables.
67797 (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
67798 * intl/tst-codeset.sh: Remove.
67799 * intl/tst-gettext3.sh: Likewise.
67800 * intl/tst-gettext5.sh: Likewise.
67801
67802 2012-08-17 Roland McGrath <roland@hack.frob.com>
67803
67804 * sysdeps/unix/inet/syscalls.list: File removed. Move contents into ...
67805 * sysdeps/unix/syscalls.list: ... here.
67806
67807 * sysdeps/posix/getaddrinfo.c
67808 (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
67809 (gaiconf_init, gaiconf_reload): Use them.
67810 [!_STATBUF_ST_NSEC]
67811 (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
67812 Define using time_t rather than struct timespec.
67813
67814 * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
67815 (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
67816 Macros removed.
67817 * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
67818 [!NO_THREADS].
67819 (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
67820 (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
67821 Likewise.
67822
67823 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
67824 __libc_cleanup_push argument.
67825
67826 * bits/param.h: New file.
67827 * misc/sys/param.h: New file.
67828 * include/sys/param.h: New file.
67829 * misc/Makefile (headers): Add bits/param.h.
67830 * sysdeps/generic/sys/param.h: File removed.
67831 * sysdeps/unix/sysv/linux/bits/param.h: New file.
67832 * sysdeps/unix/sysv/linux/sys/param.h: File removed.
67833 * sysdeps/mach/hurd/bits/param.h: New file.
67834 * sysdeps/mach/hurd/sys/param.h: File removed.
67835
67836 * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
67837 last change.
67838
67839 * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
67840 [_IO_MTSAFE_IO].
67841 * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
67842 (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
67843 New macros.
67844
67845 * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
67846 * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
67847 rather than -D_IO_MTSAFE_IO conditionally.
67848 * stdio-common/Makefile (CPPFLAGS): Likewise.
67849 * wcsmbs/Makefile (CPPFLAGS): Likewise.
67850 * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
67851 Use $(libio-mtsafe).
67852 * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
67853 of -D_IO_MTSAFE_IO.
67854 (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
67855 (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
67856 (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
67857 (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
67858 (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
67859 (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
67860 (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
67861 (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
67862 (CFLAGS-fread_u_chk.c): Likewise.
67863 (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
67864 (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
67865 (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
67866 (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
67867 * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
67868 * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
67869 * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
67870 * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
67871 * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
67872
67873 * libio/Makefile: Test [$(libc-reentrant) = yes]
67874 instead of [$(filter %REENTRANT, $(defines)) nonempty].
67875
67876 * Makeconfig
67877 [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
67878 * sysdeps/pthread/configure: File removed.
67879 * sysdeps/pthread/Makeconfig: New file.
67880 * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
67881 * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
67882
67883 2012-08-16 Gary Benson <gbenson@redhat.com>
67884
67885 * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
67886 unmapping the first object in a namespace.
67887
67888 2012-08-16 Roland McGrath <roland@hack.frob.com>
67889
67890 * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
67891 (__internal_setnetgrent): ... this. Add internal_function to
67892 definition. Add libc_hidden_def.
67893 (setnetgrent): Update caller.
67894 (internal_endnetgrent): Renamed to ...
67895 (__internal_endnetgrent): ... this. Add internal_function to
67896 definition. Add libc_hidden_def.
67897 (endnetgrent): Update caller.
67898 (internal_getnetgrent_r): Renamed to ...
67899 (__internal_getnetgrent_r): ... this. Add internal_function to
67900 definition. Add libc_hidden_def.
67901 (__getnetgrent_r): Update caller.
67902 * inet/netgroup.h: Update declarations. Add libc_hidden_proto uses.
67903
67904 2012-08-16 Joseph Myers <joseph@codesourcery.com>
67905
67906 * stdlib/longlong.h: Update from GCC.
67907
67908 2012-08-16 Roland McGrath <roland@hack.frob.com>
67909
67910 * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
67911 on _QL, which is set by umul_ppmm but never used.
67912 * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
67913 variables, which are set by GMP macros but never used.
67914 * stdio-common/_itowa.c (_itowa): Likewise.
67915 * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
67916 * stdlib/mod_1.c (mpn_mod_1): Likewise.
67917
67918 2012-08-16 Carlos O'Donell <carlos_odonell@mentor.com>
67919
67920 * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
67921 struct La_sh_regs is not constant.
67922 * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
67923 <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
67924 and struct La_sparc64_regs are not constant.
67925
67926 2012-08-16 Joseph Myers <joseph@codesourcery.com>
67927
67928 * sysdeps/unix/sysv/linux/kernel-features.h
67929 (__ASSUME_POSIX_TIMERS): Remove.
67930 * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
67931 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67932 * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
67933 Make code unconditional.
67934 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67935 * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
67936 Make code unconditional.
67937 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67938 * sysdeps/unix/sysv/linux/clock_nanosleep.c
67939 [__ASSUME_POSIX_TIMERS]: Make code unconditional.
67940 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67941 * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
67942 Make code unconditional.
67943 [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
67944 [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
67945 (__libc_missing_posix_timers): Remove.
67946
67947 2012-08-15 Roland McGrath <roland@hack.frob.com>
67948
67949 * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
67950 check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
67951
67952 * bits/libc-lock.h (__rtld_lock_initialize): New macro.
67953
67954 * elf/dl-sym.c: Include <stdlib.h>.
67955
67956 * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
67957 constants, which avoids warnings in 32-bit builds.
67958
67959 * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
67960 (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
67961
67962 * misc/lseek.c: File moved to ...
67963 * io/lseek.c: ... here.
67964
67965 * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
67966
67967 * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
67968 shifting LEN more than 31 bits at once.
67969
67970 2012-08-15 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
67971
67972 [BZ #14195]
67973 * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
67974 segmentation fault for a case of two empty input strings.
67975 * string/test-strncasecmp.c (check1): Renamed to...
67976 (bz12205): ...this.
67977 (bz14195): Add new testcase for two empty input strings and N > 0.
67978 (test_main): Call new testcase, adapt for renamed function.
67979
67980 2012-08-15 Andreas Jaeger <aj@suse.de>
67981
67982 [BZ #14090]
67983 * crypt/md5test2.c: New test, based on test supplied by Serge
67984 Belyshev <belyshev@depni.sinp.msu.ru>.
67985 * crypt/Makefile (xtests): Add md5test-giant..
67986 * crypt/Makefile ($(objpfx)md5test-giant): Add.
67987
67988 2012-08-15 Paul Eggert <eggert@cs.ucla.edu>
67989
67990 [BZ #14090]
67991 * crypt/md5.c (md5_process_block): Don't assume the buffer
67992 length is less than 2**32.
67993 * crypt/sha512.c (sha512_process_block): Don't assume the buffer
67994 length is less than 2**64.
67995
67996 2012-08-15 Roland McGrath <roland@hack.frob.com>
67997
67998 * string/str-two-way.h: Include <sys/param.h>.
67999 (MAX): Macro removed.
68000
68001 * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
68002 Move #define and #undef of memmove to just before and after
68003 including <string.h>.
68004
68005 * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
68006 [!NOT_IN_libc]: Move #define and #undef of memmove to just before
68007 and after including <string.h>. Move declarations of
68008 __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
68009 to before #include "string/memmove.c".
68010
68011 * include/dirent.h: Declare __getdirentries.
68012
68013 * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
68014 using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
68015
68016 2012-08-14 Mike Frysinger <vapier@gentoo.org>
68017
68018 * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
68019 * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
68020 * sysdeps/i386/configure: Regenerated.
68021 * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
68022 STABS_CURRENT_FILE, and STABS_FUN.
68023 (END): Remove call to STABS_FUN_END.
68024 (STABS_CURRENT_FILE1): Delete.
68025 (STABS_CURRENT_FILE): Likewise.
68026 (STABS_FUN): Likewise.
68027 (STABS_FUN_END): Likewise.
68028 (STABS_FUN2): Likewise.
68029 * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
68030 * sysdeps/x86_64/configure: Regenerated.
68031
68032 2012-08-14 Roland McGrath <roland@hack.frob.com>
68033
68034 * elf/dl-open.c: Include <atomic.h>.
68035 * elf/dl-lookup.c: Likewise.
68036
68037 2012-08-14 Joseph Myers <joseph@codesourcery.com>
68038
68039 * sysdeps/unix/sysv/linux/kernel-features.h
68040 (__ASSUME_CLONE_THREAD_FLAGS): Remove.
68041 * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
68042 unconditionally.
68043 * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
68044 unconditionally.
68045 * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
68046 condition on __ASSUME_CLONE_THREAD_FLAGS.
68047
68048 2012-08-14 Andreas Jaeger <aj@suse.de>
68049
68050 * sysdeps/i386/fpu/libm-test-ulps: Update.
68051
68052 2012-08-13 Maxim Kuvyrkov <maxim@codesourcery.com>
68053
68054 * include/atomic.h (atomic_exchange_and_add): Split into ...
68055 (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
68056 New atomic macros.
68057
68058 2012-08-13 Markus Trippelsdorf <markus@trippelsdorf.de>
68059
68060 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
68061
68062 2012-08-13 Jeff Law <law@redhat.com>
68063
68064 * manual/stdio.texi (snprintf): Clarify handling of the trailing
68065 null byte in the output string.
68066
68067 2012-08-10 Joseph Myers <joseph@codesourcery.com>
68068
68069 * sysdeps/unix/sysv/linux/kernel-features.h
68070 (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
68071 [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
68072 (__ASSUME_ARG_MAX_STACK_BASED): Define.
68073 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
68074 [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
68075 !__ASSUME_ARG_MAX_STACK_BASED. Compare version with
68076 __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
68077
68078 2012-08-09 Jeff Law <law@redhat.com>
68079
68080 [BZ #13939]
68081 * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
68082 When avoid_arena is set, don't retry in the that arena. Pick the
68083 next one, whatever it might be.
68084 (arena_get2): New parameter avoid_arena, pass through to reused_arena.
68085 (arena_lock): Pass in new parameter to arena_get2.
68086 * malloc/malloc.c (__libc_memalign): Pass in new parameter to
68087 arena_get2.
68088 (__libc_malloc): Unify retrying after main arena failure with
68089 __libc_memalign version.
68090 (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
68091
68092 2012-08-09 H.J. Lu <hongjiu.lu@intel.com>
68093
68094 [BZ #14166]
68095 * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
68096 to __redirect_strstr.
68097 (__strstr_sse42): Use typeof __redirect_strstr.
68098 (__strstr_ia32): Likewise.
68099 (__libc_strstr): New prototype.
68100 (strstr): Renamed to ...
68101 (__libc_strstr): This.
68102 (strstr): New strong alias of __libc_strstr.
68103 * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
68104 * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
68105 __redirect_time.
68106 Include <time.h>.
68107 (__libc_time): New prototype.
68108 (time_ifunc): Replace time with __libc_time.
68109 (time): New strong alias and hidden definition of __libc_time.
68110 (__GI_time): Remove strong alias.
68111 * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
68112 Include <stddef.h>.
68113 (memmove): Redefined to __redirect_memmove.
68114 (__memmove_sse2): Use typeof __redirect_memmove.
68115 (__memmove_ssse3): Likewise.
68116 (__memmove_ssse3_back): Likewise.
68117 (__libc_memmove): New prototype.
68118 (memmove): Renamed to ...
68119 (__libc_memmove): This.
68120 (memmove): New strong alias of __libc_memmove.
68121
68122 2012-08-08 Mark Salter <msalter@redhat.com>
68123
68124 * elf/elf.h
68125 (R_MN10300_TLS_GD): Define.
68126 (R_MN10300_TLS_LD): Likewise.
68127 (R_MN10300_TLS_LDO): Likewise.
68128 (R_MN10300_TLS_GOTIE): Likewise.
68129 (R_MN10300_TLS_IE): Likewise.
68130 (R_MN10300_TLS_LE): Likewise.
68131 (R_MN10300_TLS_DTPMOD): Likewise.
68132 (R_MN10300_TLS_DTPOFF): Likewise.
68133 (R_MN10300_TLS_TPOFF): Likewise.
68134 (R_MN10300_SYM_DIFF): Likewise.
68135 (R_MN10300_ALIGN): Likewise.
68136 (R_MN10300_NUM): Update.
68137
68138 2012-08-08 Joseph Myers <joseph@codesourcery.com>
68139
68140 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
68141 Remove.
68142
68143 2012-08-08 Roland McGrath <roland@hack.frob.com>
68144
68145 * sysdeps/posix/fdopendir.c: Include <stddef.h>.
68146
68147 * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
68148 sysdeps/unix -> sysdeps/posix move.
68149 * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
68150
68151 2012-08-07 Allan McRae <allan@archlinux.org>
68152
68153 [BZ #14303]
68154 * sunrpc/rpc_main.c (SVR4_CPP): Remove.
68155 (SUNOS_CPP): Likewise.
68156 (find_cpp): Fall back to selecting system cpp when /lib/cpp is
68157 not found.
68158 (open_input): Call CPP using execvp.
68159
68160 2012-08-07 Joseph Myers <joseph@codesourcery.com>
68161
68162 * sysdeps/unix/sysv/linux/kernel-features.h
68163 (__ASSUME_PROT_GROWSUPDOWN): Remove.
68164 (__ASSUME_NO_CLONE_DETACHED): Likewise.
68165 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
68166 (__ASSUME_WAITID_SYSCALL): Likewise.
68167 * sysdeps/unix/sysv/linux/dl-execstack.c
68168 (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
68169 code unconditional.
68170 (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
68171 conditional code.
68172 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
68173 [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
68174 (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
68175 code.
68176 * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
68177 unconditional.
68178 [__ASSUME_WAITID_SYSCALL]: Likewise.
68179 [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
68180
68181 2012-08-07 Roland McGrath <roland@hack.frob.com>
68182
68183 * sysdeps/unix/closedir.c: Renamed to ...
68184 * sysdeps/posix/closedir.c: ... here.
68185 * sysdeps/unix/dirfd.c: Renamed to ...
68186 * sysdeps/posix/dirfd.c: ... here.
68187 * sysdeps/unix/dirstream.h: Renamed to ...
68188 * sysdeps/posix/dirstream.h: ... here.
68189 * sysdeps/unix/fdopendir.c: Renamed to ...
68190 * sysdeps/posix/fdopendir.c: ... here.
68191 * sysdeps/unix/opendir.c: Renamed to ...
68192 * sysdeps/posix/opendir.c: ... here.
68193 * sysdeps/unix/readdir.c: Renamed to ...
68194 * sysdeps/posix/readdir.c: ... here.
68195 * sysdeps/unix/readdir_r.c: Renamed to ...
68196 * sysdeps/posix/readdir_r.c: ... here.
68197 * sysdeps/unix/rewinddir.c: Renamed to ...
68198 * sysdeps/posix/rewinddir.c: ... here.
68199 * sysdeps/unix/seekdir.c: Renamed to ...
68200 * sysdeps/posix/seekdir.c: ... here.
68201 * sysdeps/unix/telldir.c: Renamed to ...
68202 * sysdeps/posix/telldir.c: ... here.
68203 * sysdeps/unix/sysv/linux/opendir.c: Update #include.
68204 * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
68205 * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
68206 * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
68207
68208 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
68209 * bits/fcntl.h: ... here.
68210
68211 * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
68212 not 0.
68213 (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
68214 [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
68215 (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
68216 (struct flock): Move l_start, l_len to the beginning.
68217 Use __pid_t for l_pid.
68218 [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
68219 [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
68220 [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
68221 (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
68222 [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
68223 [__USE_LARGEFILE64] (struct flock64): New type.
68224 (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
68225
68226 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
68227 * bits/dirent.h: ... here.
68228
68229 * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
68230 [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
68231
68232 2012-08-07 Joseph Myers <joseph@codesourcery.com>
68233
68234 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68235 Change from 2.6.0 to 2.6.16.
68236 * sysdeps/unix/sysv/linux/configure: Regenerated.
68237 * sysdeps/unix/sysv/linux/kernel-features.h
68238 (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
68239 (__ASSUME_TGKILL): Define conditional on architectures, not kernel
68240 version.
68241 (__ASSUME_UTIMES): Likewise.
68242 (__ASSUME_CLONE_STOPPED): Remove.
68243 (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
68244 architectures, not kernel version.
68245 (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
68246 (__ASSUME_NO_CLONE_DETACHED): Likewise.
68247 (__ASSUME_GETDENTS32_D_TYPE): Likewise.
68248 (__ASSUME_WAITID_SYSCALL): Likewise.
68249 [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
68250 condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
68251 * README: State 2.6.16 as minimum Linux kernel version. Do not
68252 refer to older versions.
68253
68254 2012-08-06 Roland McGrath <roland@hack.frob.com>
68255
68256 * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
68257 Define alphasort64 as an alias.
68258 * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
68259 Define versionsort64 as an alias.
68260 * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
68261 Define scandir64 as an alias.
68262 * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
68263 Define scandirat64 as an alias.
68264 * dirent/alphasort64.c (alphasort64):
68265 Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
68266 * dirent/versionsort64.c: Likewise.
68267 * dirent/scandir64.c: Likewise.
68268 * dirent/scandirat64.c: Likewise.
68269 * sysdeps/wordsize-64/alphasort.c: File removed.
68270 * sysdeps/wordsize-64/alphasort64.c: File removed.
68271 * sysdeps/wordsize-64/scandir.c: File removed.
68272 * sysdeps/wordsize-64/scandir64.c: File removed.
68273 * sysdeps/wordsize-64/scandirat.c: File removed.
68274 * sysdeps/wordsize-64/scandirat64.c: File removed.
68275 * sysdeps/wordsize-64/versionsort.c: File removed.
68276 * sysdeps/wordsize-64/versionsort64.c: File removed.
68277 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
68278 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
68279 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
68280 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
68281 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
68282 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
68283 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
68284 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
68285
68286 * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
68287 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
68288 [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
68289 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68290 [defined __arch64__ || defined __sparcv9]
68291 (__INO_T_MATCHES_INO64_T): New macro.
68292 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68293 [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
68294 * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
68295 * sysdeps/unix/sysv/linux/bits/dirent.h
68296 [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
68297 (_DIRENT_MATCHES_DIRENT64): New macro.
68298
68299 * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
68300 Define lockf64 as an alias.
68301 * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
68302 Define fseeko64 as an alias.
68303 * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
68304 Define ftello64 as an alias.
68305 * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
68306 Define _IO_fgetpos64 and fgetpos64 as aliases.
68307 * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
68308 Define _IO_fsetpos64 and fsetpos64 as aliases.
68309 * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
68310 Conditionalize body on this.
68311 * libio/fseeko64.c: Likewise.
68312 * libio/ftello64.c: Likewise.
68313 * libio/iofgetpos64.c: Likewise.
68314 * libio/iofsetpos64.c: Likewise.
68315 * sysdeps/wordsize-64/lockf.c: File removed.
68316 * sysdeps/wordsize-64/lockf64.c: File removed.
68317 * sysdeps/wordsize-64/fseeko.c: File removed.
68318 * sysdeps/wordsize-64/fseeko64.c: File removed.
68319 * sysdeps/wordsize-64/ftello.c: File removed.
68320 * sysdeps/wordsize-64/ftello64.c: File removed.
68321 * sysdeps/wordsize-64/iofgetpos.c: File removed.
68322 * sysdeps/wordsize-64/iofgetpos64.c: File removed.
68323 * sysdeps/wordsize-64/iofsetpos.c: File removed.
68324 * sysdeps/wordsize-64/iofsetpos64.c: File removed.
68325 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
68326 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
68327 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
68328 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
68329 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
68330 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
68331 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
68332 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
68333 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
68334 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
68335
68336 * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
68337 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
68338 [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
68339 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
68340 [defined __arch64__ || defined __sparcv9]
68341 (__OFF_T_MATCHES_OFF64_T): New macro.
68342 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
68343 [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
68344 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
68345 (__OFF_T_MATCHES_OFF64_T): New macro.
68346
68347 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
68348
68349 * stdlib/secure-getenv.c (__secure_getenv): Replace
68350 GLIBC_2_16 with GLIBC_2_17.
68351
68352 2012-08-06 H.J. Lu <hongjiu.lu@intel.com>
68353
68354 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
68355 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
68356
68357 2012-08-03 David S. Miller <davem@davemloft.net>
68358
68359 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68360
68361 2012-08-03 Joseph Myers <joseph@codesourcery.com>
68362
68363 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
68364 Remove.
68365 (__ASSUME_CORRECT_SI_PID): Likewise.
68366 (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
68367 (__ASSUME_TMPFS_NAME): Likewise.
68368 * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
68369 [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
68370 * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
68371 (HAVE_AUX_SECURE): Make definition unconditional.
68372 * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
68373 [!__ASSUME_TMPFS_NAME]: Remove conditional code.
68374
68375 2012-08-03 Roland McGrath <roland@hack.frob.com>
68376
68377 * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
68378 * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
68379 * sysdeps/mach/hurd/eloop-threshold.h: New file.
68380 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
68381 __eloop_threshold instead of SYMLOOP_MAX.
68382
68383 * sysdeps/generic/eloop-threshold.h: New file.
68384 * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
68385 of MAXSYMLINKS.
68386 * elf/chroot_canon.c (chroot_canon): Likewise.
68387
68388 2012-08-03 Joseph Myers <joseph@codesourcery.com>
68389
68390 [BZ #13717]
68391 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68392 Change to 2.6.0 everywhere.
68393 * sysdeps/unix/sysv/linux/configure: Regenerated.
68394 * sysdeps/unix/sysv/linux/kernel-features.h
68395 (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
68396 (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
68397 kernel versions.
68398 (__ASSUME_POSIX_TIMERS): Define unconditionally.
68399 (__ASSUME_FUTEX_REQUEUE): Remove.
68400 (__ASSUME_STATFS64): Define unconditionally.
68401 (__ASSUME_AT_SECURE): Likewise.
68402 (__ASSUME_CORRECT_SI_PID): Likewise.
68403 (__ASSUME_TGKILL): Define without depending on kernel version for
68404 i386.
68405 (__ASSUME_UTIMES): Likewise.
68406 (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
68407 kernel version.
68408 (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
68409 (__ASSUME_TMPFS_NAME): Likewise.
68410 * README: Update reference to Linux kernel versions.
68411
68412 2012-08-02 Marek Polacek <polacek@redhat.com>
68413
68414 [BZ# 14150]
68415 * configure.in (libc_cv_asm_type_prefix): Remove test. Replace
68416 libc_cv_asm_type_prefix with %.
68417 * configure: Regenerated.
68418 * include/libc-symbols.h: Remove comment about
68419 ASM_TYPE_DIRECTIVE_PREFIX. Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
68420 (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
68421 (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
68422 (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
68423 (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
68424 * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
68425 [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
68426 [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
68427 * elf/tst-unique2mod1.c: Likewise.
68428 * elf/tst-unique1mod2.c: Likewise.
68429 * elf/tst-unique1mod1.c: Likewise.
68430 * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
68431 * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
68432 Replace ASM_TYPE_DIRECTIVE with .type.
68433 * sysdeps/s390/s390-64/sysdep.h: Likewise.
68434 * sysdeps/i386/sysdep.h: Likewise.
68435 * sysdeps/x86_64/sysdep.h: Likewise.
68436 * sysdeps/sh/sysdep.h: Likewise.
68437 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
68438 Do not define ASM_TYPE_DIRECTIVE.
68439 * sysdeps/powerpc/sysdep.h: Likewise.
68440 * sysdeps/powerpc/powerpc32/sysdep.h:
68441 Replace ASM_TYPE_DIRECTIVE with .type.
68442 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
68443 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
68444 * sysdeps/i386/fpu/e_powf.S: Likewise.
68445 * sysdeps/i386/fpu/e_expl.S: Likewise.
68446 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
68447 * sysdeps/i386/fpu/e_acosh.S: Likewise.
68448 * sysdeps/i386/fpu/e_pow.S: Likewise.
68449 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
68450 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
68451 * sysdeps/i386/fpu/s_expm1.S: Likewise.
68452 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
68453 * sysdeps/i386/fpu/e_log2.S: Likewise.
68454 * sysdeps/i386/fpu/e_log2l.S: Likewise.
68455 * sysdeps/i386/fpu/e_scalb.S: Likewise.
68456 * sysdeps/i386/fpu/e_powl.S: Likewise.
68457 * sysdeps/i386/fpu/e_log10f.S: Likewise.
68458 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
68459 * sysdeps/i386/fpu/e_logl.S: Likewise.
68460 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
68461 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
68462 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
68463 * sysdeps/i386/fpu/e_log2f.S: Likewise.
68464 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
68465 * sysdeps/i386/fpu/e_log.S: Likewise.
68466 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
68467 * sysdeps/i386/fpu/e_logf.S: Likewise.
68468 * sysdeps/i386/fpu/e_log10l.S: Likewise.
68469 * sysdeps/i386/fpu/e_atanh.S: Likewise.
68470 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
68471 * sysdeps/i386/fpu/e_log10.S: Likewise.
68472 * sysdeps/i386/fpu/s_frexp.S: Likewise.
68473 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
68474 * sysdeps/i386/fpu/s_asinh.S: Likewise.
68475 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
68476 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
68477 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
68478 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
68479 * sysdeps/i386/i686/strtok.S: Likewise.
68480 * sysdeps/i386/i386-mcount.S: Likewise.
68481 * sysdeps/i386/strtok.S: Likewise.
68482 * sysdeps/x86_64/fpu/e_expl.S: Likewise.
68483 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
68484 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
68485 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
68486 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
68487 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
68488 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
68489 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
68490 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
68491 * sysdeps/x86_64/_mcount.S: Likewise.
68492 * sysdeps/x86_64/strtok.S: Likewise.
68493 * sysdeps/sh/_mcount.S: Likewise.
68494
68495 2012-08-01 Roland McGrath <roland@hack.frob.com>
68496
68497 * libio/iofopen.c: Include <fcntl.h>.
68498 [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
68499 (_IO_fopen64, fopen64): Define as aliases.
68500 * libio/iofopen64.c: Include <fcntl.h>.
68501 [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
68502 Conditionalize body on this.
68503 * sysdeps/wordsize-64/iofopen.c: File removed.
68504 * sysdeps/wordsize-64/iofopen64.c: File removed.
68505
68506 2012-08-01 Marek Polacek <polacek@redhat.com>
68507
68508 * libc/Makeconfig: Use elf in place of binfmt-subdir.
68509 Use dlfcn directly instead of a variable.
68510 (binfmt-subdir): Do not define.
68511 (dlfcn): Likewise.
68512
68513 2012-08-01 Joseph Myers <joseph@codesourcery.com>
68514
68515 * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
68516 Remove all definitions.
68517 * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
68518 <kernel-features.h>.
68519 [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68520 (miss_F_GETOWN_EX): Remove all definitions.
68521 [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
68522 macro definition.
68523 [!__ASSUME_FCNTL64]: Remove conditional code.
68524 [__ASSUME_FCNTL64]: Make code unconditional.
68525 * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
68526 <kernel-features.h>.
68527 [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
68528 (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
68529 (lockf64) [__NR_fcntl64]: Make code unconditional.
68530 (lockf64) [__ASSUME_FCNTL64]: Likewise.
68531
68532 * sysdeps/unix/sysv/linux/kernel-features.h
68533 (__ASSUME_VFORK_SYSCALL): Remove all definitions.
68534 * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
68535 Make code unconditional.
68536 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68537 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68538 * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
68539 [__NR_vfork]: Make code unconditional.
68540 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68541 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68542 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
68543 [__NR_vfork]: Make code unconditional.
68544 (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
68545 (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
68546
68547 2012-08-01 Roland McGrath <roland@hack.frob.com>
68548
68549 * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
68550 (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
68551
68552 * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68553 Define mkstemp64 as an alias.
68554 * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68555 Define mkstemps64 as an alias.
68556 * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68557 Define mkostemp64 as an alias.
68558 * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
68559 Define mkostemps64 as an alias.
68560 * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
68561 Conditionalize body on this.
68562 * misc/mkostemp64.c: Likewise.
68563 * misc/mkostemps64.c: Likewise.
68564 * misc/mkstemps64.c: Likewise.
68565 * sysdeps/wordsize-64/mkstemp64.c: File removed.
68566 * sysdeps/wordsize-64/mkostemp64.c: File removed.
68567 * sysdeps/wordsize-64/mkostemp.c: File removed.
68568 * sysdeps/wordsize-64/mkstemp.c: File removed.
68569 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
68570 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
68571 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
68572 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
68573
68574 [BZ #14138]
68575 * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
68576 * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
68577 * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
68578 * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
68579
68580 * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
68581 compat_symbol macros from <shlib-compat.h> rather than the underlying
68582 default_symbol_version and symbol_version macros, so that DEFAULT
68583 lines in shlib-versions are respected.
68584 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
68585
68586 2012-08-01 Florian Weimer <fweimer@redhat.com>
68587
68588 * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
68589 Declare with warn_unused_result.
68590 (setgid, setregid, setegid, setresgid): Likewise.
68591 * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
68592 Likewise.
68593 * WUR-REPORT: Remove set*id functions.
68594
68595 2012-07-31 Pino Toscano <toscano.pino@tiscali.it>
68596
68597 * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
68598
68599 2012-07-31 Roland McGrath <roland@hack.frob.com>
68600
68601 [BZ #10191]
68602 * include/sys/socket.h (__libc_accept, __libc_accept4):
68603 Add attribute_hidden.
68604 * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
68605
68606 * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
68607 use of PTR_MANGLE.
68608 * inet/getnetgrent_r.c (setup): Likewise.
68609
68610 * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
68611
68612 2012-07-31 David S. Miller <davem@davemloft.net>
68613
68614 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68615
68616 2012-07-31 Joseph Myers <joseph@codesourcery.com>
68617
68618 [BZ #13629]
68619 * math/s_clog.c (__clog): Use __log1p if larger part has absolute
68620 value between 1.0 and 2.0 and smaller part has absolute value less
68621 than 1.0.
68622 * math/s_clog10.c (__clog10): Likewise.
68623 * math/s_clog10f.c (__clog10f): Likewise.
68624 * math/s_clog10l.c (__clog10l): Likewise.
68625 * math/s_clogf.c (__clogf): Likewise.
68626 * math/s_clogl.c (__clogl): Likewise.
68627 * math/libm-test.inc (clog_test): Add more tests.
68628 (clog10_test): Likewise.
68629 * sysdeps/i386/fpu/libm-test-ulps: Update.
68630 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68631
68632 2012-07-31 Florian Weimer <fweimer@redhat.com>
68633
68634 * stdlib/tst-secure-getenv.c: Use printf for error reporting.
68635 Exit with zero in case no suitable GID is found, and write a
68636 message to standard error.
68637
68638 2012-07-30 Roland McGrath <roland@hack.frob.com>
68639
68640 * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
68641 rather than to 1.
68642 (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
68643 (MAXPATHLEN): Removed.
68644 (NOGROUP, NODEV): New macros.
68645 (setbit, clrbit, isset, isclr): New macros.
68646 (howmany, roundup, powerof2): New macros.
68647 (DEV_BSIZE): New macro.
68648
68649 * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
68650 * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
68651
68652 * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
68653 definition on [!__NO_LONG_DOUBLE_MATH].
68654
68655 * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
68656 PTR_MANGLE and PTR_DEMANGLE.
68657
68658 * socket/accept4.c (accept4): Rename to __libc_accept4.
68659 Define accept4 as a weak alias.
68660
68661 * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
68662 on [_DIRENT_HAVE_D_TYPE].
68663 * io/ftw.c (ftw_dir): Likewise.
68664
68665 * io/xmknod.c (__xmknod): Don't check PATH for being null.
68666
68667 * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
68668
68669 * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
68670 Use the BSD numbers rather than the arbitrary ones we had.
68671 (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
68672 (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
68673 (SIGXCPU, SIGXFSZ): New macros.
68674 (_NSIG): Now 32.
68675
68676 * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
68677 initializer on [_LIBC_REENTRANT].
68678
68679 * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
68680 definitions inside [_POSIX_MAPPED_FILES].
68681
68682 * posix/regex.c: Include <sys/param.h> for MIN/MAX.
68683
68684 * dirent/opendir.c: Include <fcntl.h>.
68685
68686 * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
68687 (__libc_getspecific): Likewise.
68688 (__libc_key_create): Likewise.
68689
68690 * stdio-common/tmpfile64.c: Include <fcntl.h> first.
68691 [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
68692 * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
68693 (tmpfile64): Define as alias.
68694 * sysdeps/wordsize-64/tmpfile.c: File removed.
68695 * sysdeps/wordsize-64/tmpfile64.c: File removed.
68696 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
68697 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
68698
68699 * stdio-common/vfscanf.c: Include <stdbool.h>.
68700 * nss/makedb.c: Likewise.
68701 * stdio-common/_i18n_number.h: Likewise.
68702 * argp/argp-help.c: Likewise.
68703 * posix/wordexp.c: Likewise.
68704 * sysdeps/posix/spawni.c: Likewise.
68705 * nss/nss_files/files-initgroups.c: Likewise.
68706 * stdio-common/reg-modifier.c: Include <stdlib.h>.
68707 * nss/nss_files/files-initgroups.c: Likewise.
68708 * nss/nss_db/db-netgrp.c: Likewise.
68709 * nss/nss_db/db-initgroups.c: Likewise.
68710 * io/fchmodat.c: Include <sys/stat.h>.
68711
68712 * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
68713 __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
68714
68715 * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
68716 [HAVE_MMAP].
68717
68718 * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
68719 Add multiple inclusion protection.
68720
68721 2012-07-27 David S. Miller <davem@davemloft.net>
68722
68723 * sysdeps/sparc/fpu/libm-test-ulps: Update.
68724
68725 2012-07-27 Gary Benson <gbenson@redhat.com>
68726
68727 [BZ #14298]
68728 * elf/rtld.c: Include <stap-probe.h>.
68729 (dl_main): Added static probes "init_start" and "init_complete".
68730 * elf/dl-load.c: Include <stap-probe.h>.
68731 (lose): Take new parameter "nsid".
68732 Added static probe "map_failed".
68733 (_dl_map_object_from_fd): Pass namespace id to lose.
68734 Added static probe "map_start".
68735 (open_verify): Pass namespace id to lose.
68736 * elf/dl-open.c: Include <stap-probe.h>.
68737 (dl_open_worker) Added static probes "map_complete", "reloc_start"
68738 and "reloc_complete".
68739 * elf/dl-close.c: Include <stap-probe.h>.
68740 (_dl_close_worker): Added static probes "unmap_start" and
68741 "unmap_complete".
68742 * elf/rtld-debugger-interface.txt: New file documenting the above.
68743
68744 2012-07-26 Roland McGrath <roland@hack.frob.com>
68745
68746 * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
68747 rather than a string variable.
68748 * sunrpc/rpc_main.c (h_output): Likewise.
68749 * sunrpc/rpc_svcout.c (write_real_program): Likewise.
68750
68751 2012-07-26 Pino Toscano <toscano.pino@tiscali.it>
68752
68753 * inet/check_native.c: New file.
68754
68755 2012-07-26 Joseph Myers <joseph@codesourcery.com>
68756
68757 [BZ #13629]
68758 * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
68759 if larger part has absolute value 1.0.
68760 * math/s_clog10.c (__clog10): Likewise.
68761 * math/s_clog10f.c (__clog10f): Likewise.
68762 * math/s_clog10l.c (__clog10l): Likewise.
68763 * math/s_clogf.c (__clogf): Likewise.
68764 * math/s_clogl.c (__clogl): Likewise.
68765 * math/libm-test.inc (clog_test): Add more tests.
68766 (clog10_test): Likewise.
68767 * sysdeps/i386/fpu/libm-test-ulps: Update.
68768 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68769
68770 * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
68771 (pltexit): Likewise.
68772 (La_regs): Likewise.
68773 (La_retval): Likewise.
68774 (int_retval): Likewise.
68775 Update #error for removed macros to refer only to definitions in
68776 tst-audit.h.
68777 * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
68778 macro.
68779 (pltexit): Likewise.
68780 (La_regs): Likewise.
68781 (La_retval): Likewise.
68782 (int_retval): Likewise.
68783 * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
68784 macro.
68785 (pltexit): Likewise.
68786 (La_regs): Likewise.
68787 (La_retval): Likewise.
68788 (int_retval): Likewise.
68789 * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
68790 macro.
68791 (pltexit): Likewise.
68792 (La_regs): Likewise.
68793 (La_retval): Likewise.
68794 (int_retval): Likewise.
68795 * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
68796 macro.
68797 (pltexit): Likewise.
68798 (La_regs): Likewise.
68799 (La_retval): Likewise.
68800 (int_retval): Likewise.
68801 * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
68802 macro.
68803 (pltexit): Likewise.
68804 (La_regs): Likewise.
68805 (La_retval): Likewise.
68806 (int_retval): Likewise.
68807 * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
68808 macro.
68809 (pltexit): Likewise.
68810 (La_regs): Likewise.
68811 (La_retval): Likewise.
68812 (int_retval): Likewise.
68813 * sysdeps/generic/tst-audit.h: Update comment to refer only to
68814 macro definitions in tst-audit.h.
68815 * sysdeps/i386/tst-audit.h: New file.
68816 * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
68817 * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
68818 * sysdeps/s390/s390-32/tst-audit.h: Likewise.
68819 * sysdeps/s390/s390-64/tst-audit.h: Likewise.
68820 * sysdeps/sh/tst-audit.h: Likewise.
68821 * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
68822 * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
68823 * sysdeps/x86_64/tst-audit.h: Likewise.
68824
68825 2012-07-26 Andreas Jaeger <aj@suse.de>
68826
68827 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
68828 ptrace.
68829
68830 * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
68831 new value PTRACE_EVENT_SECCOMP from Linux 3.5.
68832 (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
68833 PTRACE_O_MASK.
68834 * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
68835 * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
68836 * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
68837
68838 * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
68839 value.
68840
68841 * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
68842 _sigsys.
68843 (si_call_addr, si_syscall, si_arch): Define new macro.
68844 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
68845 _sigsys.
68846 (si_call_addr, si_syscall, si_arch): Define new marcro.
68847 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
68848 _sigsys.
68849 (si_call_addr, si_syscall, si_arch): Define new macro.
68850 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
68851 _sigsys.
68852 (si_call_addr, si_syscall, si_arch): Define new macro.
68853
68854 2012-07-25 Joseph Myers <joseph@codesourcery.com>
68855
68856 [BZ #13717]
68857 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
68858 Change to 2.4.21 where previously 2.4.1.
68859 * sysdeps/unix/sysv/linux/configure: Regenerated.
68860 * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
68861 __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
68862 Linux kernel version.
68863 (__ASSUME_STD_AUXV): Remove.
68864 [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
68865 kernel version.
68866 [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
68867 (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
68868 (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
68869 (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
68870 (__ASSUME_NETLINK_SUPPORT): Likewise.
68871 * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
68872 (__no_netlink_support): Remove conditional definition.
68873 * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
68874 Remove.
68875 (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68876 [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
68877 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
68878 (if_nameindex_ioctl): Remove.
68879 (if_nameindex_netlink): Do not handle __no_netlink_support.
68880 (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68881 code.
68882 * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
68883 Remove conditional code.
68884 (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
68885 code.
68886 (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
68887 unconditional.
68888 [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
68889 [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
68890 * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
68891 Remove.
68892 * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
68893 [!__ASSUME_STD_AUXV]: Remove conditional code.
68894 * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
68895 [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
68896 [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
68897 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
68898 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
68899 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68900 code.
68901 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68902 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
68903 [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
68904 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68905 conditional code.
68906 [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
68907 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
68908 (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
68909 code.
68910 * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
68911 (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
68912 conditional code.
68913 * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
68914 (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68915 code unconditional.
68916 (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68917 conditional code.
68918 (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68919 unconditional.
68920 (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68921 conditional code.
68922 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
68923 (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68924 unconditional.
68925 (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68926 conditional code.
68927 * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
68928 (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68929 code unconditional.
68930 (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68931 conditional code.
68932 (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68933 unconditional.
68934 (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68935 conditional code.
68936 * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
68937 (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
68938 code unconditional.
68939 (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68940 conditional code.
68941 (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
68942 unconditional.
68943 (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
68944 conditional code.
68945
68946 2012-07-25 Andreas Schwab <schwab@linux-m68k.org>
68947
68948 * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
68949 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
68950 * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
68951 * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
68952 * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
68953 * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
68954 * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
68955 * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
68956 * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
68957 * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
68958 * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
68959 * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
68960 * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
68961 * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
68962 * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
68963 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
68964 * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
68965 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
68966 * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
68967 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
68968 * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
68969 * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
68970 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
68971
68972 2012-07-25 Florian Weimer <fweimer@redhat.com>
68973
68974 * Versions.def: Add GLIBC_2.17.
68975 * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
68976 * include/stdlib.h: Rename __secure_getenv to secure_getenv.
68977 Introduce __libc_secure_getenv.
68978 * stdlib/Versions (2.17): Add secure_getenv
68979 (GLIBC_PRIVATE): Add __libc_secure_getenv.
68980 * stdlib/secure-getenv.c: Rename __secure_getenv to
68981 __libc_secure_getenv. Add secure_getenv alias. Add compatibility
68982 symbol __secure_getenv for GLIBC_2.0.
68983 * stdlib/tst-secure-getenv.c: New.
68984 * stdlib/Makefile (tests): Add testcase.
68985 * manual/startup.texi (Environment Access): Document
68986 secure_getenv.
68987 * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
68988 __libc_secure_getenv.
68989 * inet/ruserpass.c (ruserpass): Likewise.
68990 * malloc/mtrace.c (mtrace): Likewise.
68991 * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
68992 * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
68993 * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
68994 * sysdeps/posix/tempname.c: Likewise. Evaluate
68995 HAVE_SECURE_GETENV.
68996 * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
68997 __secure_getenv to __libc_secure_getenv.
68998 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
68999 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
69000 Likewise.
69001 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
69002 Likewise.
69003 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
69004 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
69005 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
69006 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
69007 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
69008 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
69009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
69010
69011 2012-07-25 Joseph Myers <joseph@codesourcery.com>
69012
69013 * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
69014 (struct La_i86_retval): Likewise.
69015 (struct La_x86_64_regs): Likewise.
69016 (struct La_x86_64_retval): Likewise.
69017 (struct La_x32_regs): Likewise.
69018 (struct La_x32_retval): Likewise.
69019 (struct La_ppc32_regs): Likewise.
69020 (struct La_ppc32_retval): Likewise.
69021 (struct La_ppc64_regs): Likewise.
69022 (struct La_ppc64_retval): Likewise.
69023 (struct La_sh_regs): Likewise.
69024 (struct La_sh_retval): Likewise.
69025 (struct La_s390_32_regs): Likewise.
69026 (struct La_s390_32_retval): Likewise.
69027 (struct La_s390_64_regs): Likewise.
69028 (struct La_s390_64_retval): Likewise.
69029 (struct La_sparc32_regs): Likewise.
69030 (struct La_sparc32_retval): Likewise.
69031 (struct La_sparc64_regs): Likewise.
69032 (struct La_sparc64_retval): Likewise.
69033 (struct audit_ifaces): Remove architecture-specific pltenter and
69034 pltexit members.
69035 * sysdeps/i386/ldsodefs.h: New file.
69036 * sysdeps/powerpc/ldsodefs.h: Likewise.
69037 * sysdeps/s390/ldsodefs.h: Likewise.
69038 * sysdeps/sh/ldsodefs.h: Likewise.
69039 * sysdeps/sparc/ldsodefs.h: Likewise.
69040 * sysdeps/x86_64/ldsodefs.h: Likewise.
69041
69042 2012-07-25 Marek Polacek <polacek@redhat.com>
69043
69044 [BZ #6808]
69045 * math/libm-test.inc (yn_test): Add another test.
69046 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
69047 to ERANGE when the result is +-Inf.
69048 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
69049 * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
69050 * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
69051 * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
69052
69053 2012-07-24 Joseph Myers <joseph@codesourcery.com>
69054
69055 * conform/data/time.h-data (NULL): Use macro-constant. Require
69056 equal to 0.
69057 (CLOCKS_PER_SEC): Use macro instead of constant. Specify type as
69058 clock_t.
69059 [ISO11] (TIME_UTC): Use macro-int-constant. Require value > 0.
69060
69061 2012-07-23 Thomas Schwinge <thomas@codesourcery.com>
69062
69063 * configure.in <sysdeps resolving>: Correct printing
69064 Implies_before.
69065 * configure: Regenerate.
69066
69067 2012-07-22 Thomas Schwinge <thomas@codesourcery.com>
69068
69069 * math/w_ilogb.c: Include <limits.h>.
69070 * math/w_ilogbl.c: Likewise.
69071
69072 2012-07-20 Joseph Myers <joseph@codesourcery.com>
69073
69074 * manual/lang.texi (__va_copy): Document primarily as ISO C99
69075 va_copy. Document allowing for unavailable va_copy only as
69076 pre-C99 compatibility.
69077 * manual/string.texi (Copying and Concatenation): Use va_copy
69078 instead of __va_copy in concat example.
69079
69080 2012-07-20 Pino Toscano <toscano.pino@tiscali.it>
69081
69082 * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
69083 (__sendto): Use create_address_port. Initialize APORT and deallocate
69084 it if not null.
69085
69086 * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
69087 with O_NOLINK passed to __file_name_lookup.
69088
69089 * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
69090 with O_NOLINK passed to __file_name_lookup.
69091
69092 * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
69093 negative N or less than NGIDS.
69094
69095 * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
69096 type to string_t. Set ERANGE as errno and return it if NAME is not big
69097 enough. Use memcpy instead of strncpy.
69098
69099 2012-07-20 Joseph Myers <joseph@codesourcery.com>
69100
69101 * elf/Makefile (check-data): Remove.
69102 (localplt.data): New vpath directive.
69103 ($(objpfx)check-localplt.out): Use localplt.data from vpath
69104 instead of $(check-data).
69105 * scripts/data/localplt-generic.data: Move to ...
69106 * sysdeps/generic/localplt.data: ... here.
69107 * scripts/data/localplt-i386-linux-gnu.data: Move to ...
69108 * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
69109 * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
69110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
69111 ... here.
69112 * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
69113 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
69114 ... here.
69115 * scripts/data/localplt-s390-linux-gnu.data: Move to ...
69116 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
69117 ... here.
69118 * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
69119 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
69120 ... here.
69121 * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
69122 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
69123 ... here.
69124 * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
69125 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
69126 ... here.
69127
69128 2012-07-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69129
69130 * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
69131 PPC32 and PPC64 files.
69132 * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
69133 * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
69134
69135 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69136
69137 * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
69138 __makecontext_ret to ...
69139 * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
69140 ... here and call exit if uc_link is NULL. New file.
69141 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
69142 __makecontext_ret.S.
69143 * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
69144 __makecontext_ret to ...
69145 * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
69146 ... here and call exit if uc_link is NULL. New file.
69147 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
69148 __makecontext_ret.S.
69149
69150 2012-07-19 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69151
69152 * elf/elf.h (R_390_IRELATIVE): New definition.
69153 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
69154 resolver function for IFUNC symbols. Support R_390_IRELATIVE.
69155 (elf_machine_lazy_rel): Support R_390_IRELATIVE.
69156 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
69157 (elf_machine_lazy_rel): Likewise.
69158 * sysdeps/s390/dl-irel.h: New file.
69159 * sysdeps/s390/s390-64/memcpy.S: New asm code.
69160 * sysdeps/s390/s390-64/memset.S: New asm code.
69161 * sysdeps/s390/s390-64/memcmp.S: New asm code.
69162 * sysdeps/s390/s390-64/multiarch/memset.S: New file.
69163 * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
69164 * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
69165 * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
69166 * sysdeps/s390/s390-64/multiarch/Makefile: New file.
69167 * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
69168 * sysdeps/s390/s390-32/multiarch/Makefile: New file.
69169 * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
69170 * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
69171 * sysdeps/s390/s390-32/multiarch/memset.S: New file.
69172 * sysdeps/s390/s390-32/memcpy.S: New asm code.
69173 * sysdeps/s390/s390-32/memset.S: New asm code.
69174 * sysdeps/s390/s390-32/memcmp.S: New asm code.
69175
69176 2012-07-17 Marek Polacek <polacek@redhat.com>
69177
69178 [BZ #14349]
69179 * sysdeps/s390/s390-32/configure.in: Remove TLS check.
69180 * sysdeps/s390/s390-64/configure.in: Likewise.
69181 * sysdeps/sparc/configure.in: Likewise.
69182 * sysdeps/powerpc/powerpc32/configure.in: Likewise.
69183 * sysdeps/powerpc/powerpc64/configure.in: Likewise.
69184 * sysdeps/i386/configure.in: Likewise.
69185 * sysdeps/x86_64/configure.in: Likewise.
69186 * sysdeps/sh/configure.in: Likewise.
69187 * sysdeps/s390/s390-32/configure: Regenerated.
69188 * sysdeps/s390/s390-64/configure: Likewise.
69189 * sysdeps/x86_64/configure: Likewise.
69190 * sysdeps/sh/configure: Likewise.
69191 * sysdeps/powerpc/powerpc64/configure: Likewise.
69192 * sysdeps/powerpc/powerpc32/configure: Likewise.
69193 * sysdeps/sparc/configure: Likewise.
69194 * sysdeps/i386/configure: Likewise.
69195
69196 * elf/dl-open.c: Comment fixes.
69197
69198 2012-07-17 Joseph Myers <joseph@codesourcery.com>
69199
69200 * Makefile [CXX] (check-data): Remove.
69201 [CXX] (c++-types.data): New vpath directive.
69202 [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
69203 vpath. Do not allow for C++ type data being missing.
69204 * scripts/data/c++-types-alpha-linux-gnu.data: Move to
69205 ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
69206 * scripts/data/c++-types-ia64-linux-gnu.data: Move to
69207 ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
69208 * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
69209 * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
69210 * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
69211 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
69212 ... here.
69213 * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
69214 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
69215 ... here.
69216 * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
69217 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
69218 ... here.
69219 * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
69220 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
69221 ... here.
69222 * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
69223 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
69224 ... here.
69225 * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
69226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
69227 ... here.
69228 * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
69229 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
69230 ... here.
69231 * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
69232 * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
69233
69234 * elf/tls-macros.h (TLS_LE): Move architecture-specific
69235 definitions to architecture-specific files.
69236 (TLS_IE): Likewise.
69237 (TLS_LD): Likewise.
69238 (TLS_GD): Likewise.
69239 * sysdeps/i386/tls-macros.h: New file.
69240 * sysdeps/powerpc/tls-macros.h: Likewise.
69241 * sysdeps/s390/s390-32/tls-macros.h: Likewise.
69242 * sysdeps/s390/s390-64/tls-macros.h: Likewise.
69243 * sysdeps/sh/tls-macros.h: Likewise.
69244 * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
69245 * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
69246 * sysdeps/x86_64/tls-macros.h: Likewise.
69247
69248 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
69249
69250 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
69251 zero value for regular exit case.
69252
69253 * sysdeps/unix/sysv/linux/x86_64/__start_context.S
69254 (__start_context): Preserve zero value for regular exit case.
69255
69256 2012-07-17 Thomas Schwinge <thomas@codesourcery.com>
69257 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
69258
69259 * manual/setjmp.texi (setcontext): Clarify normal process
69260 termination when uc_link is the null pointer.
69261 * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
69262 exit call.
69263
69264 2012-07-16 Andreas Schwab <schwab@linux-m68k.org>
69265
69266 * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
69267 preprocessor. Test for each exception mask separately.
69268
69269 2012-07-16 Andreas Jaeger <aj@suse.de>
69270
69271 * po/ru.po: Update from translation team.
69272
69273 2012-07-15 Joseph Myers <joseph@codesourcery.com>
69274
69275 * conform/data/string.h-data (NULL): Use macro-constant. Require
69276 equal to 0.
69277 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
69278 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
69279 (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
69280 (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
69281 [ISO || ISO99 || ISO11] (*_t): Do not allow.
69282
69283 2012-07-13 Andreas Jaeger <aj@suse.de>
69284
69285 * po/fr.po: Update from translation team.
69286
69287 2012-07-12 Marek Polacek <polacek@redhat.com>
69288
69289 [BZ #14173]
69290 * math/libm-test.inc (yn_test): Add test for BZ #14173.
69291 * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
69292 loop condition.
69293
69294 2012-07-12 Joseph Myers <joseph@codesourcery.com>
69295
69296 [BZ #13717]
69297 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
69298 Change to 2.4.1 where previously 2.4.0.
69299 * sysdeps/unix/sysv/linux/configure: Regenerated.
69300 * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
69301 (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
69302 version.
69303 [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
69304 (__ASSUME_AT_CLKTCK): Remove.
69305 (__ASSUME_AT_PAGESIZE): Likewise.
69306 (__ASSUME_AT_XID): Likewise.
69307 (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
69308 [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
69309 * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
69310 unconditionally.
69311 (HAVE_AUX_PAGESIZE): Likewise.
69312 * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
69313 [__ASSUME_AT_CLKTCK]: Make code unconditional.
69314 [!__ASSUME_AT_CLKTCK]: Remove conditional code.
69315
69316 2012-07-12 Jeroen van Bemmel <jvb127@gmail.com>
69317
69318 [BZ #14307]
69319 * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
69320 the temporary buffer used to invoke __gethostbyname2_r,
69321 __gethostbyaddr_r and gethostbyname4_r to make room for struct
69322 host_data / struct gaih_addrtuple.
69323 * resolv/nss_dns/dns-host.c (global scope): Move definition of
69324 implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
69325 header file nss/nsswitch.h.
69326 * nss/nsswitch.h (global scope): Add definition of implementation
69327 constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
69328 resolv/nss_dns/dns-host.c).
69329
69330 2012-07-11 Andreas Jaeger <aj@suse.de>
69331
69332 * po/fr.po: Update from translation team.
69333
69334 * po/sv.po: Update from translation team
69335 * po/fr.po: Another update from translation team.
69336
69337 2012-07-11 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69338
69339 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
69340 for subnormals or multiply small sinh result by itself.
69341 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
69342 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69343
69344 2012-07-11 David S. Miller <davem@davemloft.net>
69345
69346 * sysdeps/sparc/fpu/libm-test-ulps: Update.
69347
69348 2012-07-10 Andreas Schwab <schwab@linux-m68k.org>
69349
69350 [BZ #14347]
69351 * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
69352 (INTERNAL_MARK): Shift it here.
69353
69354 2012-07-10 Marek Polacek <polacek@redhat.com>
69355
69356 [BZ #14151]
69357 * configure.in (libc_cv_asm_global_directive): Remove test. Replace
69358 libc_cv_asm_global_directive with .globl.
69359 * configure: Regenerated.
69360 * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
69361 with .globl.
69362 * sysdeps/i386/configure: Regenerated.
69363 * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
69364 with .globl.
69365 * sysdeps/x86_64/configure: Regenerated.
69366 * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
69367 * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
69368 * elf/tst-unique2mod2.c: Likewise.
69369 * elf/tst-unique2mod1.c: Likewise.
69370 * elf/tst-unique1mod2.c: Likewise.
69371 * elf/tst-unique1mod1.c: Likewise.
69372 * sysdeps/s390/s390-32/sysdep.h: Likewise.
69373 * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
69374 * sysdeps/s390/s390-64/sysdep.h: Likewise.
69375 * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
69376 * sysdeps/mach/sysdep.h: Likewise.
69377 * sysdeps/i386/sysdep.h: Likewise.
69378 * sysdeps/i386/i386-mcount.S: Likewise.
69379 * sysdeps/x86_64/_mcount.S: Likewise.
69380 * sysdeps/x86_64/sysdep.h: Likewise.
69381 * sysdeps/sh/_mcount.S: Likewise.
69382 * sysdeps/sh/sysdep.h: Likewise.
69383 * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
69384 * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
69385 * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
69386 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
69387 * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
69388 * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
69389 * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
69390 * locale/localeinfo.h: Likewise.
69391 (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
69392 (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
69393
69394 2012-07-09 Roland McGrath <roland@hack.frob.com>
69395
69396 [BZ #14336]
69397 * manual/charset.texi (Extended Char Intro): Word use fix, "operating
69398 system".
69399 * manual/message.texi (The Uniforum approach): Likewise.
69400 * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
69401 (glibc iconv Implementation): Likewise.
69402
69403 2012-07-09 Joseph Myers <joseph@codesourcery.com>
69404
69405 [BZ #14337]
69406 * math/s_clog.c (__clog): Avoid scaling a value down where that
69407 could result in underflow.
69408 * math/s_clog10.c (__clog10): Likewise.
69409 * math/s_clog10f.c (__clog10f): Likewise.
69410 * math/s_clog10l.c (__clog10l): Likewise.
69411 * math/s_clogf.c (__clogf): Likewise.
69412 * math/s_clogl.c (__clogl): Likewise.
69413 * math/libm-test.inc (clog_test): Add more tests.
69414 (clog10_test): Likewise.
69415 * sysdeps/i386/fpu/libm-test-ulps: Update.
69416 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69417
69418 2012-07-06 Andreas Schwab <schwab@linux-m68k.org>
69419
69420 [BZ #14283]
69421 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
69422 by 7 not 8 to examine high bit of fractional part.
69423
69424 [BZ #14042]
69425 * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
69426 for call to __mcount_internal.
69427 * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
69428 (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
69429 * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
69430
69431 2012-07-06 Joseph Myers <joseph@codesourcery.com>
69432
69433 [BZ #14154]
69434 * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
69435 approximation for values within 0x1p-13f of an odd multiple of
69436 pi/4.
69437 * math/libm-test.inc (tan_test): Do not allow spurious underflow
69438 exception. Add more tests.
69439 * sysdeps/i386/fpu/libm-test-ulps: Update.
69440
69441 [BZ #6778]
69442 * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
69443 inputs and return -1 for them. Do not check for +Inf in case not
69444 reachable for +Inf.
69445 * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
69446 * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
69447 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
69448 and return -1 for them. Do not check for +Inf in case not
69449 reachable for +Inf.
69450 * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
69451 define.
69452 (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
69453 and return -1 for them. Do not check for +Inf in case not
69454 reachable for +Inf.
69455 * math/libm-test.inc (expm1_test): Add more tests. Do not allow
69456 spurious underflow.
69457 * sysdeps/i386/fpu/libm-test-ulps: Update.
69458 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69459
69460 2012-07-06 Mike Frysinger <vapier@gentoo.org>
69461
69462 * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
69463
69464 2012-07-05 Joseph Myers <joseph@codesourcery.com>
69465
69466 [BZ #14157]
69467 [BZ #14331]
69468 * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
69469 could result in spurious underflow. Scale down values above
69470 DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
69471 * math/s_csqrtf.c (__csqrtf): Likewise.
69472 * math/s_csqrtl.c (__csqrtl): Likewise.
69473 * math/libm-test.inc (csqrt_test): Add more tests. Do not allow
69474 spurious underflow.
69475 * sysdeps/i386/fpu/libm-test-ulps: Update.
69476 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69477
69478 2012-07-04 Andreas Schwab <schwab@linux-m68k.org>
69479
69480 * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
69481 xopen-msg.sed.
69482 * catgets/xopen-msg.awk: New file.
69483 * catgets/xopen-msg.sed: Removed.
69484
69485 * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
69486 po2text.sed.
69487 * intl/po2test.awk: New file.
69488 * intl/po2test.sed: Removed.
69489
69490 2012-07-04 Joseph Myers <joseph@codesourcery.com>
69491
69492 [BZ #14328]
69493 * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
69494 or multiply small sinh result by itself.
69495 * math/s_ctanf.c (__ctanf): Likewise.
69496 * math/s_ctanh.c (__ctanh): Likewise.
69497 * math/s_ctanhf.c (__ctanhf): Likewise.
69498 * math/s_ctanhl.c (__ctanhl): Likewise.
69499 * math/s_ctanl.c (__ctanl): Likewise.
69500 * math/libm-test.inc (ctan_test_tonearest): New function.
69501 (ctan_test_towardzero): Likewise.
69502 (ctan_test_downward): Likewise.
69503 (ctan_test_upward): Likewise.
69504 (ctanh_test_tonearest): Likewise.
69505 (ctanh_test_towardzero): Likewise.
69506 (ctanh_test_downward): Likewise.
69507 (ctanh_test_upward): Likewise.
69508 (main): Call these new functions.
69509 * sysdeps/i386/fpu/libm-test-ulps: Update.
69510 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69511
69512 2012-07-03 Mike Frysinger <vapier@gentoo.org>
69513
69514 * .gitignore: Delete /ports entry.
69515
69516 2012-07-03 Andreas Jaeger <aj@suse.de>
69517
69518 * po/bg.po: Update from translation team.
69519 * po/cs.po: Likewise.
69520 * po/de.po: Likewise.
69521 * po/hr.po: Likewise.
69522 * po/nl.pl: Likewise.
69523 * po/pl.po: Likewise.
69524 * po/vi.po: Likewise.
69525
69526 2012-07-03 Joseph Myers <joseph@codesourcery.com>
69527
69528 * Makeconfig [!+link] (+link-before-libc): New variable.
69529 [!+link] (+link-after-libc): Likewise.
69530 [!+link] (+link-tests): Likewise.
69531 [!+link] (+link): Define in terms of $(+link-before-libc) and
69532 $(+link-after-libc).
69533 [!+link-static] (+link-static-before-libc): New variable.
69534 [!+link-static] (+link-static-after-libc): Likewise.
69535 [!+link-static] (+link-static-tests): Likewise.
69536 [!+link-static] (+link-static): Define in terms of
69537 $(+link-static-before-libc) and $(+link-static-after-libc).
69538 [build-shared] (link-libc-before-gnulib): New variable.
69539 [build-shared] (link-libc-tests): Likewise.
69540 [build-shared] (link-libc): Define in terms of
69541 $(link-libc-before-gnulib).
69542 [!build-shared] (link-libc-tests): New variable.
69543 (link-libc-static-tests): New variable.
69544 [!gnulib] (gnulib-arch): New variable.
69545 [!gnulib] (gnulib-tests): Likewise.
69546 [!gnulib] (static-gnulib-arch): Likewise.
69547 [!gnulib] (static-gnulib-tests): Likewise.
69548 [!gnulib] (gnulib): Use $(gnulib-arch). Do not use $(libgcc_eh).
69549 Define with "=" instead of ":=".
69550 [!gnulib] (static-gnulib): Use $(static-gnulib-arch). Do not use
69551 -lgcc_eh $(libunwind). Define with "=" instead of ":=".
69552 * Rules (binaries-all-notests): New variable.
69553 (binaries-all-tests): Likewise.
69554 (binaries-static-notests): Likewise.
69555 (binaries-static-tests): Likewise.
69556 (binaries-all): Define using $(binaries-all-notests) and
69557 $(binaries-all-tests).
69558 (binaries-static): Define using $(binaries-static-notests) and
69559 $(binaries-static-tests).
69560 (binaries-shared-tests): New variable.
69561 (binaries-shared-notests): Likewise.
69562 (binaries-shared): Remove variable.
69563 ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
69564 ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
69565 ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
69566 ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
69567 ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
69568 ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
69569 * elf/Makefile (sln-modules): New variable.
69570 (extra-objs): Add $(sln-modules:=.o).
69571 (ldconfig-modules): Add static-stubs.
69572 ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
69573 * elf/static-stubs.c: New file.
69574
69575 [BZ #14283]
69576 * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
69577 by 7 not 8 to examine high bit of fractional part. Use volatile
69578 variables when splitting into final array of floats if
69579 __FLT_EVAL_METHOD__ != 0.
69580 * math/libm-test.inc (cos_test): Add another test.
69581 (sin_test): Likewise.
69582 * sysdeps/i386/fpu/libm-test-ulps: Update.
69583
69584 [BZ #14273]
69585 * math/libm-test.inc (cosh_test): Add more tests.
69586
69587 * version.h (RELEASE): Set to "development".
69588 (VERSION): Set to "2.16.90".
69589
69590 2012-06-30 Carlos O'Donell <carlos_odonell@mentor.com>
69591
69592 * NEWS: Update copyright. Remove last-updated date.
69593 Mention math library bug fixes and timezone data changes.
69594 * README: Mention GNU/Hurd, x32, and HPPA support status.
69595
69596 2012-06-28 Thomas Schwinge <thomas@codesourcery.com>
69597
69598 * manual/contrib.texi (Contributors): Sort alphabetically by last name.
69599
69600 2012-06-27 Andreas Jaeger <aj@suse.de>
69601
69602 * manual/contrib.texi (Contributors): Add Samuel Thibault.
69603
69604 2012-06-25 Andreas Jaeger <aj@suse.de>
69605
69606 * sysdeps/s390/fpu/libm-test-ulps: Update.
69607
69608 2012-06-23 Andreas Schwab <schwab@linux-m68k.org>
69609 Thomas Schwinge <thomas@codesourcery.com>
69610
69611 * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
69612 * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
69613 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
69614 fanotify_mark.
69615
69616 2012-06-23 Thomas Schwinge <thomas@codesourcery.com>
69617
69618 * sysdeps/mach/start.c: Remove file.
69619 * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
69620 * sysdeps/i386/init-first.c: Fix comment regarding start.S.
69621 * sysdeps/sh/init-first.c: Likewise.
69622
69623 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
69624 registers for frame unwinding purposes, add CFI directives.
69625 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69626 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
69627 * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
69628 Likewise.
69629
69630 * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
69631 __fortify_fail returning.
69632 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
69633
69634 * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
69635 sysdeps/sh/____longjmp_chk.S.
69636 * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
69637 on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
69638 * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
69639 (gen-as-const-headers): Append sigaltstack-offsets.sym.
69640
69641 * sysdeps/sh/abort-instr.h: New file.
69642 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
69643 process in case exit returns.
69644
69645 * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
69646 initialize the GOT register before use.
69647
69648 * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
69649 calculation of ARGC > 4.
69650
69651 * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
69652 meaningful names to some local labels.
69653
69654 2012-06-22 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
69655 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69656
69657 * sysdeps/unix/sysv/linux/sh/bits/atomic.h
69658 (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
69659 (__arch_compare_and_exchange_val_16_acq): Likewise.
69660 (__arch_compare_and_exchange_val_32_acq): Likewise.
69661 (atomic_exchange_and_add): Fix gUSA sequence.
69662 (atomic_add): Likewise.
69663 (atomic_add_negative): Likewise.
69664 (atomic_add_zero): Likewise.
69665 (atomic_bit_test_set): Likewise.
69666
69667 2012-06-22 Andreas Schwab <schwab@redhat.com>
69668
69669 [BZ #13579]
69670 * include/link.h (struct link_map): Add l_free_initfini.
69671 * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
69672 l_initfini.
69673 * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
69674 * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
69675 * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
69676 set.
69677
69678 2012-06-22 Carlos O'Donell <carlos_odonell@mentor.com>
69679
69680 * configure.in: Use AC_LANG_SOURCE.
69681 * configure: Regenerate.
69682
69683 2012-06-22 Roland McGrath <roland@hack.frob.com>
69684
69685 * configure.in (libc_cv_localstatedir): New substituted variable.
69686 * configure: Regenerated.
69687 * config.make.in (localstatedir): New variable, substituted from
69688 libc_cv_localstatedir.
69689 * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
69690 * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
69691 ${prefix}/var to /var when we change ${prefix}/etc to /etc.
69692 * sysdeps/gnu/configure: Regenerated.
69693
69694 2012-06-21 Jeff Law <law@redhat.com>
69695
69696 [BZ #14277]
69697 * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
69698 free. Simplify list management for _LIBC case.
69699
69700 2012-06-21 Joseph Myers <joseph@codesourcery.com>
69701
69702 [BZ #14273]
69703 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
69704 Clear sign bit of 64-bit integer value before comparing against
69705 overflow value.
69706
69707 * sysdeps/mach/configure: Regenerated.
69708
69709 2012-06-21 H.J. Lu <hongjiu.lu@intel.com>
69710
69711 [BZ #14278]
69712 * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
69713
69714 2012-06-21 Jeff Law <law@redhat.com>
69715
69716 [BZ #13882]
69717 * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection. Use
69718 uint16_t for elements in the "seen" array to avoid char overflows.
69719 * elf/dl-fini.c (_dl_sort_fini): Likewise.
69720 * elf/dl-open.c (dl_open_worker): Likewise.
69721
69722 2012-06-21 Carlos O'Donell <carlos_odonell@mentor.com>
69723
69724 * scripts/list-sources.sh: Scan PORTS for translations.
69725 * po/libc.pot: Regenerated.
69726
69727 2012-06-21 Andreas Jaeger <aj@suse.de>
69728
69729 [BZ #12194]
69730 * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
69731 warning.
69732 * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
69733 * bits/byteswap-16.h (__bswap_16): Likewise.
69734 * bits/byteswap.h (__bswap_constant_16): Likewise.
69735
69736 2012-06-18 H.J. Lu <hongjiu.lu@intel.com>
69737
69738 [BZ #14117]
69739 * sysdeps/i386/fpu_control.h: Removed.
69740 * sysdeps/x86_64/fpu_control.h: Moved to ...
69741 * sysdeps/x86/fpu_control.h: Here.
69742
69743 * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
69744 (_FPU_SETCW): Likewise.
69745
69746 2012-06-15 H.J. Lu <hongjiu.lu@intel.com>
69747
69748 [BZ #14117]
69749 * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
69750 * sysdeps/x86/fpu/bits/mathinline.h: This.
69751 * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
69752
69753 [BZ #14050]
69754 [BZ #14117]
69755 * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
69756 functions if __x86_64__ is defined.
69757
69758 2012-06-15 Chung-Lin Tang <cltang@codesourcery.com>
69759
69760 * string/endian.h: Add !__ASSEMBLER__ condition for including
69761 conversion interfaces.
69762
69763 2012-06-15 Joseph Myers <joseph@codesourcery.com>
69764
69765 [BZ #14241]
69766 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
69767 of ABS(x) in calculating zero to negative powers other than odd
69768 integers.
69769 * math/libm-test.inc (pow_test): Add more tests.
69770
69771 2012-06-15 Andreas Jaeger <aj@suse.de>
69772
69773 * manual/contrib.texi (Contributors): Update entry of Liubov
69774 Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
69775 Machado Filho.
69776
69777 2012-06-15 Cyril Hrubis <metan@ucw.cz>
69778
69779 * string/string.h: Add __wur to GNU version of strerror_r.
69780
69781 2012-06-14 H.J. Lu <hongjiu.lu@intel.com>
69782
69783 [BZ #14229]
69784 * string/Makefile (tests): Add tst-strtok_r.
69785 * string/tst-strtok_r.c: New file.
69786 * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
69787 RAX_LP/RDX_LP on SAVE_PTR.
69788
69789 2012-06-14 Roland McGrath <roland@hack.frob.com>
69790
69791 * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
69792
69793 2012-06-14 Joseph Myers <joseph@codesourcery.com>
69794
69795 * libm_test.inc (csqrt_test): Allow more spurious underflow
69796 exceptions.
69797 (j0_test): Likewise.
69798 (j1_test): Likewise.
69799 (y0_test): Likewise.
69800 (y1_test): Likewise.
69801
69802 2012-06-13 Carlos O'Donell <carlos_odonell@mentor.com>
69803
69804 * po/Makefile (libc.pot): Use UTF-8 charset.
69805
69806 2012-06-13 Paul Pluzhnikov <ppluzhnikov@google.com>
69807
69808 [BZ #14210]
69809 Suppress sign-conversion warning from FD_SET.
69810 See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
69811 * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
69812 not unsigned long int.
69813 * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
69814
69815 2012-06-12 H.J. Lu <hongjiu.lu@intel.com>
69816
69817 [BZ #14050]
69818 [BZ #14117]
69819 * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
69820 __extern_always_inline instead of __extern_inline.
69821 (__signbitf): Support __SSE2_MATH__ and C++ namespace.
69822 (__signbit): Likewise.
69823 (__signbitl): Support C++ namespace.
69824 (lrintf): New inline function.
69825 (lrint): Likewise.
69826 (llrintf): Likewise.
69827 (llrint): Likewise.
69828 (fmaxf): Likewise.
69829 (fmax): Likewise.
69830 (fminf): Likewise.
69831 (fmin): Likewise.
69832 (rint): Likewise.
69833 (rintf): Likewise.
69834 (ceil): Likewise.
69835 (ceilf): Likewise.
69836 (floor): Likewise.
69837 (floorf): Likewise.
69838 (nearbyint): Likewise.
69839 (nearbyintf): Likewise.
69840
69841 2012-06-12 Thomas Schwinge <thomas@codesourcery.com>
69842
69843 * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
69844 non-default versions.
69845
69846 2012-06-11 Roland McGrath <roland@hack.frob.com>
69847
69848 [BZ #14218]
69849 * manual/argp.texi (Argp): Reword argp_parse description slightly.
69850
69851 2012-06-09 Thomas Schwinge <thomas@codesourcery.com>
69852
69853 * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
69854 (FE_UPWARD, FE_DOWNWARD): Don't define.
69855 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
69856 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
69857
69858 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
69859 reading it.
69860 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
69861 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
69862
69863 2012-06-09 Kaz Kojima <kkojima@rr.iij4u.or.jp>
69864
69865 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
69866 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
69867 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
69868 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
69869
69870 2012-06-06 H.J. Lu <hongjiu.lu@intel.com>
69871
69872 [BZ #14117]
69873 * sysdeps/i386/fpu/bits/fenv.h: Removed.
69874 * sysdeps/i386/fpu/Implies: New file.
69875 * sysdeps/x86_64/fpu/Implies: Likewise.
69876 * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
69877 * sysdeps/x86/fpu/bits/fenv.h: This.
69878
69879 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
69880 __SSE_MATH__.
69881
69882 2012-06-06 Siddhesh Poyarekar <siddhesh@redhat.com>
69883
69884 [BZ #14134]
69885 * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
69886 character 0xffff that matches the last element of the
69887 conversion table.
69888
69889 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69890
69891 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
69892 fmodl commit.
69893
69894 2012-06-05 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69895
69896 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
69897 values higher than 25.6283.
69898
69899 2012-06-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
69900
69901 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
69902 subnormal exponent extraction and add some __builtin_expect.
69903 * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
69904 Fix for subnormal mantissa calculation.
69905
69906 2012-06-04 Mike Frysinger <vapier@gentoo.org>
69907
69908 * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
69909 cpu2 is -1 and errno is not ENOSYS.
69910
69911 2012-06-04 H.J. Lu <hongjiu.lu@intel.com>
69912
69913 [BZ #14117]
69914 * sysdeps/i386/i486/bits/string.h: Renamed to ...
69915 * sysdeps/x86/bits/string.h: This.
69916 * sysdeps/x86_64/bits/string.h: Removed.
69917
69918 * sysdeps/i386/i486/bits/string.h: Define inline functions only
69919 if not compiling for x86-64, but compiling for >= i486.
69920
69921 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
69922 * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
69923
69924 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
69925 New macro from Linux kernel 3.4.0.
69926 (FP_XSTATE_MAGIC2): Likewise.
69927 (FP_XSTATE_MAGIC2_SIZE): Likewise.
69928 (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
69929 (struct _fpx_sw_bytes): New struct.
69930 (struct _xsave_hdr): Likewise.
69931 (struct _ymmh_state): Likewise.
69932 (struct _xstate): Likewise.
69933
69934 * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
69935 * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
69936 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
69937 * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
69938 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
69939 * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
69940
69941 * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
69942 * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
69943 * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
69944 * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
69945 * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
69946 * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
69947
69948 2012-06-04 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
69949
69950 [BZ #13743]
69951 * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
69952 * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
69953 (sysdep_headers): Include sys/platform/ppc.h.
69954 * sysdeps/powerpc/test-gettimebase.c: Test for
69955 __ppc_get_timebase() to catch future ISA opcode/insn changes.
69956 * manual/Makefile (appendices): Include platform.texi.
69957 * manual/contrib.texi (Contributors): Update @node pointers.
69958 * manual/maint.texi (Maintenance): Likewise.
69959 (Platform): New node.
69960 * manual/platform.texi: New file. Document the new features.
69961
69962 2012-06-04 Siddhesh Poyarekar <siddhesh@redhat.com>
69963 Jakub Jelinek <jakub@redhat.com>
69964
69965 [BZ #14188]
69966 * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
69967 where __builtin_expect is unavailable.
69968
69969 2012-06-03 David S. Miller <davem@davemloft.net>
69970
69971 * stdlib/longlong.h: Updated from GCC.
69972
69973 2012-06-02 Andreas Schwab <schwab@linux-m68k.org>
69974
69975 [BZ #14042]
69976 * sysdeps/powerpc/powerpc32/mcount.c: New file.
69977 * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
69978 __mcount_internal.
69979 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
69980 (GLIBC_2.16): Likewise.
69981
69982 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
69983
69984 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
69985
69986 2012-06-01 Joseph Myers <joseph@codesourcery.com>
69987
69988 * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
69989 (default-abi): New variable.
69990 * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
69991 * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
69992 variable.
69993 * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
69994 Likewise.
69995 * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
69996 Likewise.
69997 * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
69998 Likewise.
69999
70000 * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
70001 definition. Document in comment.
70002
70003 2012-06-01 David S. Miller <davem@davemloft.net>
70004
70005 * stdlib/longlong.h: Updated from GCC.
70006
70007 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
70008
70009 [BZ #14117]
70010 * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
70011 Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
70012 sys/debugreg.h sys/io.h here.
70013 * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
70014 sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
70015 sys/io.h.
70016 * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
70017 Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
70018 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
70019 * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
70020 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
70021 * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
70022
70023 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
70024 Define only if __x86_64__ is defined.
70025
70026 2012-06-01 Joseph Myers <joseph@codesourcery.com>
70027
70028 [BZ #14048]
70029 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
70030 Use int64_t for variable i.
70031 * math/libm-test.inc (fmod_test): Add more tests.
70032
70033 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
70034 z computation is not scheduled after fetestexcept.
70035 * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
70036 Use math_force_eval instead of asm to ensure calculation scheduled
70037 before exception test.
70038 * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
70039 Ensure a1 + u.d computation is not scheduled after fetestexcept.
70040
70041 2012-06-01 Aurelien Jarno <aurelien@aurel32.net>
70042
70043 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
70044 computation is not scheduled after fetestexcept.
70045
70046 2012-06-01 H.J. Lu <hongjiu.lu@intel.com>
70047
70048 [BZ #14117]
70049 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
70050 * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
70051
70052 2012-06-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
70053
70054 * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
70055 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
70056
70057 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
70058
70059 [BZ #14117]
70060 * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
70061 <bits/wordsize.h>.
70062 (__WCHAR_MIN): Support __WORDSIZE == 64.
70063 (__WCHAR_MAX): Likewise.
70064
70065 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
70066 * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
70067
70068 [BZ #14183]
70069 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
70070 Defined with __SWORD_TYPE if __x86_64__ isn't defined.
70071
70072 [BZ #14117]
70073 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
70074 * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
70075
70076 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
70077 * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
70078
70079 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
70080 Defined to 1 if __x86_64__ isn't defined.
70081 (_STAT_VER_LINUX_OLD): New.
70082 (st_atime): Remove duplicate.
70083 (st_mtime): Likewise.
70084 (st_ctime): Likewise.
70085
70086 2012-05-31 David S. Miller <davem@davemloft.net>
70087
70088 * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
70089 entries.
70090
70091 2012-06-01 Andreas Schwab <schwab@linux-m68k.org>
70092
70093 * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
70094 gen-libm-test.pl.
70095
70096 [BZ #14132]
70097 * elf/dl-reloc.c: Include <_itoa.h>.
70098 (_dl_reloc_bad_type): Remove use of INTUSE.
70099 * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
70100 * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
70101 * stdio-common/psiginfo.c (psiginfo): Likewise.
70102 * stdio-common/psignal.c (psignal): Likewise.
70103 * string/strsignal.c (strsignal): Likewise.
70104 * include/signal.h (_sys_siglist): Declare hidden proto.
70105 * stdio-common/itoa-digits.c: Include <_itoa.h>. Replace
70106 INTVARDEF with libc_hidden_data_def.
70107 * stdio-common/itoa-udigits.c: Likewise.
70108 * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
70109 (_itoa_lower_digits_internal): Remove declaration.
70110 (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
70111 * sysdeps/gnu/siglist.c (_sys_siglist_internal)
70112 (_sys_sigabbrev_internal): Remove aliases.
70113 (_sys_siglist): Define hidden alias.
70114
70115 2012-05-31 Markus Trippelsdorf <markus@trippelsdorf.de>
70116
70117 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
70118 bits/sysctl.h.
70119
70120 2012-05-31 H.J. Lu <hongjiu.lu@intel.com>
70121
70122 [BZ #14117]
70123 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
70124 * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
70125
70126 * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
70127 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
70128 * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
70129 * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
70130 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
70131 * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
70132
70133 * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
70134 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
70135 * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
70136
70137 * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
70138 with __addr.
70139 (insw): Likewise.
70140 (insl): Likewise.
70141 (outsb): Likewise.
70142 (outsw): Likewise.
70143 (outsl): Likewise.
70144
70145 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
70146 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
70147 * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
70148
70149 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
70150 * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
70151 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
70152 * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
70153 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
70154 * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
70155
70156 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
70157 * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
70158
70159 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
70160 * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
70161
70162 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
70163 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
70164 * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
70165
70166 * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
70167 * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
70168 to ...
70169 * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
70170
70171 * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
70172 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
70173 * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
70174
70175 * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
70176 for x86-64.
70177 * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
70178
70179 2012-05-31 Joseph Myers <joseph@codesourcery.com>
70180
70181 * math/math.h (M_El): Use two more decimal places.
70182 (M_LOG2El): Likewise.
70183 (M_LOG10El): Likewise.
70184 (M_LN2l): Likewise.
70185 (M_LN10l): Likewise.
70186 (M_PIl): Likewise.
70187 (M_PI_2l): Likewise.
70188 (M_PI_4l): Likewise.
70189 (M_1_PIl): Likewise.
70190 (M_2_PIl): Likewise.
70191 (M_2_SQRTPIl): Likewise.
70192 (M_SQRT2l): Likewise.
70193 (M_SQRT1_2l): Likewise.
70194
70195 2012-05-31 David S. Miller <davem@davemloft.net>
70196
70197 * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
70198 values between float registers.
70199 * sysdeps/sparc/sparc64/memset.S: Likewise.
70200 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
70201
70202 2012-05-31 Mike Frysinger <vapier@gentoo.org>
70203
70204 * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
70205 -D_FORTIFY_SOURCE=1.
70206 (CPPFLAGS-tst-longjmp_chk.c): Define.
70207 (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
70208 (CPPFLAGS-tst-longjmp_chk2.c): Define.
70209 * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
70210 CFLAGS-tst-wchar-h.c.
70211
70212 2012-05-31 Marek Polacek <polacek@redhat.com>
70213
70214 [BZ #14132]
70215 * include/mntent.h (__setmntent_internal, __getmntent_r_internal
70216 __endmntent_internal): Remove declaration.
70217 (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
70218 (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
70219 * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
70220
70221 2012-05-30 David S. Miller <davem@davemloft.net>
70222
70223 * sysdeps/sparc/sparc32/soft-fp/q_util.c
70224 (___Q_simulate_exceptions): Use real FP ops rather than writing
70225 into the %fsr.
70226 * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
70227 Likewise.
70228
70229 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
70230
70231 [BZ #14117]
70232 * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
70233 * sysdeps/x86/bits/xtitypes.h: This.
70234
70235 * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
70236 * sysdeps/x86/bits/wordsize.h: This.
70237
70238 * sysdeps/i386/bits/huge_vall.h: Renamed to ...
70239 * sysdeps/x86/bits/huge_vall.h: This.
70240
70241 * sysdeps/i386/bits/select.h: Removed.
70242 * sysdeps/x86_64/bits/select.h: Renamed to ...
70243 * sysdeps/x86/bits/select.h: This.
70244
70245 * sysdeps/i386/bits/setjmp.h: Removed.
70246 * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
70247 * sysdeps/x86/bits/setjmp.h: This.
70248
70249 * sysdeps/i386/bits/mathdef.h: Removed.
70250 * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
70251 * sysdeps/x86/bits/mathdef.h: This.
70252
70253 2012-05-30 Andreas Schwab <schwab@linux-m68k.org>
70254
70255 [BZ #14132]
70256 * include/sys/socket.h (__connect_internal)
70257 (__libc_sa_len_internal): Remove declaration.
70258 (__connect, __libc_sa_len): Declare hidden_proto.
70259 (SA_LEN): Remove use of INTUSE.
70260 * socket/connect.c: Add libc_hidden_def.
70261 * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
70262 * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
70263 * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
70264 alias.
70265 * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
70266 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
70267 * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
70268 of adding _internal alias.
70269
70270 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
70271
70272 [BZ #14117]
70273 * sysdeps/i386/bits/link.h: Removed.
70274 * sysdeps/i386/bits/linkmap.h: Likewise.
70275 * sysdeps/x86_64/bits/link.h: Renamed to ...
70276 * sysdeps/x86/bits/link.h: This.
70277 * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
70278 * sysdeps/x86/bits/linkmap.h: This.
70279
70280 * sysdeps/i386/bits/endian.h: Removed.
70281 * sysdeps/x86_64/bits/endian.h: Renamed to ...
70282 * sysdeps/x86/bits/endian.h: This.
70283
70284 * sysdeps/i386/bits/byteswap.h: Removed.
70285 * sysdeps/i386/bits/byteswap-16.h: Likewise.
70286 * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
70287 * sysdeps/x86/bits/byteswap.h: This.
70288 * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
70289 * sysdeps/x86/bits/byteswap-16.h: This.
70290 * sysdeps/i386/Implies: Add x86.
70291 * sysdeps/x86_64/Implies: Likewise.
70292
70293 2012-05-30 David S. Miller <davem@davemloft.net>
70294
70295 * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
70296 (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
70297 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
70298 (FP_TRAPPING_EXCEPTIONS): Define.
70299 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
70300 (FP_TRAPPING_EXCEPTIONS): Define.
70301 * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
70302 subnormals only when inexact has been signalled or underflow
70303 exceptions are enabled.
70304 (_FP_PACK_CANONICAL): Likewise.
70305
70306 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
70307
70308 [BZ #14183]
70309 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
70310 Defined with __UWORD_TYPE if __x86_64__ isn't defined.
70311
70312 2012-05-30 Richard Henderson <rth@twiddle.net>
70313
70314 * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
70315 with #ifndef NOT_IN_libc.
70316
70317 * scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
70318 marked to avoid plt entry.
70319
70320 2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
70321
70322 [BZ #14112]
70323 * Makeconfig (default-abi): New macro.
70324 (abi-includes): Likewise.
70325 ($(common-objpfx)soversions.mk): Remove WORDSIZE check. Use
70326 $(abi-$(default-abi)-lib-soname) for soname if defined.
70327 ($(common-objpfx)gnu/lib-names.stmp): Generate from
70328 abi-variants.
70329 * Makefile (installed-stubs): Likewise.
70330 * include/stubs-biarch.h: Removed.
70331 * scripts/lib-names.awk: Only handle one library at a time.
70332 * scripts/soversions.awk: Remove WORDSIZE support.
70333 * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
70334 entries.
70335 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
70336 Removed.
70337 (syscall-list-default-condition): Likewise.
70338 (syscall-list-default-condition): Likewise.
70339 (syscall-list-includes): Likewise.
70340 ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
70341 syscall-list-* with abi-*. Handle undefined abi-variants.
70342 * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
70343 * sysdeps/unix/sysv/linux/i386/Implies: New file.
70344 * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
70345 * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
70346 * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
70347 * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
70348 Removed.
70349 (syscall-list-32-options): Likewise.
70350 (syscall-list-32-condition): Likewise.
70351 (syscall-list-64-options): Likewise.
70352 (syscall-list-64-condition): Likewise.
70353 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
70354 macro.
70355 * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
70356 Renamed to ...
70357 (abi-*): This.
70358 (abi-64-ld-soname): New macro.
70359 * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
70360 * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
70361 Renamed to ...
70362 (abi-*): This.
70363 * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
70364 * sysdeps/x86_64/x32/shlib-versions: Likewise.
70365
70366 2012-05-30 Joseph Myers <joseph@codesourcery.com>
70367
70368 * sysdeps/unix/sysv/linux/kernel-features.h
70369 (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
70370 * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
70371 include <kernel-features.h>.
70372 [!__NR_ftruncate64]: Remove conditional code.
70373 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70374 [__NR_ftruncate64]: Make code unconditional.
70375 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70376 * sysdeps/unix/sysv/linux/truncate64.c: Do not
70377 include <kernel-features.h>.
70378 [!__NR_ftruncate64]: Remove conditional code.
70379 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70380 [__NR_ftruncate64]: Make code unconditional.
70381 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70382 * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
70383 include <kernel-features.h>.
70384 [!__NR_ftruncate64]: Remove conditional code.
70385 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70386 [__NR_ftruncate64]: Make code unconditional.
70387 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70388 * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
70389 include <kernel-features.h>.
70390 [!__NR_ftruncate64]: Remove conditional code.
70391 [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70392 [__NR_ftruncate64]: Make code unconditional.
70393 [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
70394
70395 * configure.in (libc_cv_fpie): Weaken to a compile test using
70396 LIBC_TRY_CC_OPTION.
70397 * configure: Regenerated.
70398
70399 2012-05-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
70400
70401 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
70402 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
70403 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
70404 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
70405 Refreshed.
70406 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
70407 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
70408 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
70409 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
70410 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
70411 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
70412 Refreshed.
70413
70414 2012-05-27 David S. Miller <davem@davemloft.net>
70415
70416 * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
70417 (___Q_zero): New.
70418 (__Q_simulate_exceptions): Return void. Change to simulate
70419 exceptions by writing into the %fsr.
70420 * sysdeps/sparc/sparc64/soft-fp/qp_util.c
70421 (__Qp_handle_exceptions): Likewise.
70422 (numbers): Delete.
70423 * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
70424 __Qp_handle_exceptions.
70425 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
70426 __Qp_handle_exceptions.
70427 * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
70428 as unused and give dummy FP_RND_NEAREST initializer.
70429 (FP_INHIBIT_RESULTS): Define.
70430 (___Q_simulate_exceptions): Update declaration.
70431 (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
70432 formatting.
70433 * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
70434 as unused and give dummy FP_RND_NEAREST initializer.
70435 (__Qp_handle_exceptions): Update declaration.
70436 (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
70437 formatting.
70438
70439 2012-05-27 Thomas Schwinge <thomas@codesourcery.com>
70440
70441 * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
70442 the temporary FPU control word.
70443 * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
70444 * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
70445 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
70446 * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
70447 * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
70448 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
70449 * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
70450 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
70451 * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
70452 * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
70453 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
70454
70455 2012-05-27 Kaz Kojima <kkojima@rr.iij4u.or.jp>
70456
70457 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
70458 fields.
70459
70460 2012-05-27 Chung-Lin Tang <cltang@codesourcery.com>
70461
70462 * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
70463 * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
70464 * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
70465 * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
70466 Likewise.
70467 * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
70468 * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
70469 Likewise.
70470
70471 2012-05-27 Ulrich Drepper <drepper@gmail.com>
70472
70473 * po/h.po: Update from translation team.
70474
70475 2012-05-26 Andreas Schwab <schwab@linux-m68k.org>
70476
70477 * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
70478
70479 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
70480 handling of denormals.
70481 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
70482 * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
70483 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
70484 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
70485 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70486 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
70487 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
70488 Likewise.
70489
70490 2012-05-26 Marek Polacek <polacek@redhat.com>
70491
70492 [BZ #14152]
70493 * math/libm-test.inc (fma_test): Don't always expect underflow
70494 exception.
70495
70496 2012-05-26 Siddhesh Poyarekar <siddhesh@redhat.com>
70497
70498 [BZ #12416]
70499 * elf/tst-execstack.c: Include stackinfo.h.
70500 (do_test): Adjust test case to ensure that pthread_getattr_np
70501 behaviour remains the same after marking stack executable.
70502
70503 2012-05-25 Joseph Myers <joseph@codesourcery.com>
70504
70505 * sysdeps/unix/sysv/linux/kernel-features.h
70506 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
70507 * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
70508 kernel-features.h.
70509 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70510 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70511 * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
70512 kernel-features.h.
70513 [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
70514 [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
70515
70516 2012-05-25 H.J. Lu <hongjiu.lu@intel.com>
70517
70518 * configure.in: Define the default includes to being none.
70519 * configure: Regenerated.
70520
70521 2012-05-25 Roland McGrath <roland@hack.frob.com>
70522
70523 * sysdeps/x86_64/__longjmp.S: Add a static probe here.
70524 * sysdeps/x86_64/setjmp.S: Likewise.
70525 * sysdeps/i386/bsd-setjmp.S: Likewise.
70526 * sysdeps/i386/bsd-_setjmp.S: Likewise.
70527 * sysdeps/i386/setjmp.S: Likewise.
70528 * sysdeps/i386/__longjmp.S: Likewise.
70529 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
70530 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
70531
70532 * include/stap-probe.h: New file.
70533 * configure.in: Handle --enable-systemtap.
70534 * configure: Regenerated.
70535 * config.h.in (USE_STAP_PROBE): New #undef.
70536 * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
70537 * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
70538 * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
70539
70540 2012-05-25 Joseph Myers <joseph@codesourcery.com>
70541
70542 [BZ #13717]
70543 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
70544 to 2.4.0 where earlier.
70545 * sysdeps/unix/sysv/linux/configure: Regenerated.
70546 * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
70547 <kernel-features.h>.
70548 [__ASSUME_32BITUIDS]: Make code unconditional.
70549 [!__ASSUME_32BITUIDS]: Remove conditional code.
70550 * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
70551 <kernel-features.h>.
70552 [__ASSUME_32BITUIDS]: Make code unconditional.
70553 [!__ASSUME_32BITUIDS]: Remove conditional code.
70554 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
70555 [__ASSUME_32BITUIDS]: Make code unconditional.
70556 (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
70557 * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
70558 <kernel-features.h>.
70559 [__ASSUME_32BITUIDS]: Make code unconditional.
70560 [!__ASSUME_32BITUIDS]: Remove conditional code.
70561 * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
70562 <kernel-features.h>.
70563 [__ASSUME_32BITUIDS]: Make code unconditional.
70564 [!__ASSUME_32BITUIDS]: Remove conditional code.
70565 * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
70566 <kernel-features.h>.
70567 [__ASSUME_32BITUIDS]: Make code unconditional.
70568 [!__ASSUME_32BITUIDS]: Remove conditional code.
70569 * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
70570 <kernel-features.h>.
70571 [__ASSUME_32BITUIDS]: Make code unconditional.
70572 [!__ASSUME_32BITUIDS]: Remove conditional code.
70573 * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
70574 <kernel-features.h>.
70575 [__ASSUME_32BITUIDS]: Make code unconditional.
70576 [!__ASSUME_32BITUIDS]: Remove conditional code.
70577 * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
70578 <kernel-features.h>.
70579 [__ASSUME_32BITUIDS]: Make code unconditional.
70580 [!__ASSUME_32BITUIDS]: Remove conditional code.
70581 * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
70582 <kernel-features.h>.
70583 [__ASSUME_32BITUIDS]: Make code unconditional.
70584 [!__ASSUME_32BITUIDS]: Remove conditional code.
70585 * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
70586 <kernel-features.h>.
70587 [__ASSUME_32BITUIDS]: Make code unconditional.
70588 [!__ASSUME_32BITUIDS]: Remove conditional code.
70589 * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
70590 <kernel-features.h>.
70591 [__ASSUME_32BITUIDS]: Make code unconditional.
70592 [!__ASSUME_32BITUIDS]: Remove conditional code.
70593 * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
70594 <kernel-features.h>.
70595 [__ASSUME_32BITUIDS]: Make code unconditional.
70596 [!__ASSUME_32BITUIDS]: Remove conditional code.
70597 * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
70598 <kernel-features.h>.
70599 [__NR_setresgid] (__setresgid): Do not declare.
70600 [__ASSUME_32BITUIDS]: Make code unconditional.
70601 [!__ASSUME_32BITUIDS]: Remove conditional code.
70602 * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
70603 <kernel-features.h>.
70604 [__NR_setresuid] (__setresuid): Do not declare.
70605 [__ASSUME_32BITUIDS]: Make code unconditional.
70606 [!__ASSUME_32BITUIDS]: Remove conditional code.
70607 * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
70608 <kernel-features.h>.
70609 [__ASSUME_32BITUIDS]: Make code unconditional.
70610 [!__ASSUME_32BITUIDS]: Remove conditional code.
70611 * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
70612 <kernel-features.h>.
70613 [__ASSUME_32BITUIDS]: Make code unconditional.
70614 [!__ASSUME_32BITUIDS]: Remove conditional code.
70615 * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
70616 <kernel-features.h>.
70617 [__ASSUME_32BITUIDS]: Make code unconditional.
70618 [!__ASSUME_32BITUIDS]: Remove conditional code.
70619 * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
70620 <kernel-features.h>.
70621 [__ASSUME_32BITUIDS]: Make code unconditional.
70622 [!__ASSUME_32BITUIDS]: Remove conditional code.
70623 * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
70624 <kernel-features.h>.
70625 [__ASSUME_32BITUIDS]: Make code unconditional.
70626 [!__ASSUME_32BITUIDS]: Remove conditional code.
70627 * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
70628 <kernel-features.h>.
70629 [__ASSUME_32BITUIDS]: Make code unconditional.
70630 [!__ASSUME_32BITUIDS]: Remove conditional code.
70631 * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
70632 <kernel-features.h>.
70633 [__ASSUME_32BITUIDS]: Make code unconditional.
70634 [!__ASSUME_32BITUIDS]: Remove conditional code.
70635 * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
70636 <kernel-features.h>.
70637 [__ASSUME_32BITUIDS]: Make code unconditional.
70638 [!__ASSUME_32BITUIDS]: Remove conditional code.
70639 * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
70640 <kernel-features.h>.
70641 [__ASSUME_32BITUIDS]: Make code unconditional.
70642 [!__ASSUME_32BITUIDS]: Remove conditional code.
70643 * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
70644 <kernel-features.h>.
70645 [__ASSUME_32BITUIDS]: Make code unconditional.
70646 [!__ASSUME_32BITUIDS]: Remove conditional code.
70647 * sysdeps/unix/sysv/linux/kernel-features.h
70648 (__ASSUME_SETRESUID_SYSCALL): Remove.
70649 (__ASSUME_SETRESGID_SYSCALL): Likewise.
70650 (__ASSUME_32BITUIDS): Likewise.
70651 (__ASSUME_LDT_WORKS): Likewise.
70652 (__ASSUME_O_DIRECTORY): Likewise.
70653 (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
70654 architecture but not kernel version.
70655 (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
70656 (__ASSUME_MMAP2_SYSCALL): Likewise.
70657 (__ASSUME_STAT64_SYSCALL): Likewise.
70658 (__ASSUME_IPC64): Likewise.
70659 * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
70660 <kernel-features.h>.
70661 [__ASSUME_32BITUIDS]: Make code unconditional.
70662 [!__ASSUME_32BITUIDS]: Remove conditional code.
70663 * sysdeps/unix/sysv/linux/opendir.c: Do not include
70664 <kernel-features.h>.
70665 [__ASSUME_O_DIRECTORY]: Make code unconditional.
70666 * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
70667 132096]: Remove conditional code.
70668 [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
70669 * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
70670 <kernel-features.h>.
70671 [__ASSUME_32BITUIDS]: Make code unconditional.
70672 [!__ASSUME_32BITUIDS]: Remove conditional code.
70673 * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
70674 <kernel-features.h>.
70675 [__ASSUME_32BITUIDS]: Make code unconditional.
70676 [!__ASSUME_32BITUIDS]: Remove conditional code.
70677 * sysdeps/unix/sysv/linux/setegid.c: Do not include
70678 <kernel-features.h>.
70679 [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
70680 unconditional.
70681 (__setresgid): Do not declare.
70682 [__ASSUME_32BITUIDS]: Make code unconditional.
70683 [!__ASSUME_32BITUIDS]: Remove conditional code.
70684 * sysdeps/unix/sysv/linux/seteuid.c: Do not include
70685 <kernel-features.h>.
70686 [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
70687 unconditional.
70688 (__setresuid): Do not declare.
70689 [__ASSUME_32BITUIDS]: Make code unconditional.
70690 [!__ASSUME_32BITUIDS]: Remove conditional code.
70691 * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
70692 <kernel-features.h>.
70693 [__ASSUME_32BITUIDS]: Make code unconditional.
70694 [!__ASSUME_32BITUIDS]: Remove conditional code.
70695 * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
70696 <kernel-features.h>.
70697 [__ASSUME_32BITUIDS]: Make code unconditional.
70698 [!__ASSUME_32BITUIDS]: Remove conditional code.
70699
70700 2012-05-25 Richard Henderson <rth@twiddle.net>
70701
70702 * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
70703 dl_hwcap to ifunc resolver.
70704 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
70705 elf_ifunc_invoke.
70706 * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
70707 dl_hwcap to ifunc resolver.
70708 * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
70709
70710 2012-05-24 Joseph Myers <joseph@codesourcery.com>
70711
70712 [BZ #14153]
70713 * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
70714 for |x| <= 2**-26, not 2**-57.
70715 * math/libm-test.inc (acos_test): Do not allow spurious underflow
70716 exception.
70717
70718 2012-05-24 Jeff Law <law@redhat.com>
70719
70720 * stdio-common/Makefile (tests): Add bug25.
70721 * stdio-common/bug25.c: New test.
70722
70723 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
70724
70725 [BZ #13576]
70726 * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
70727 multiple of MALLOC_ALIGNMENT in size.
70728 (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
70729
70730 2012-05-24 Joseph Myers <joseph@codesourcery.com>
70731
70732 * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
70733 Require >= 256.
70734 (FILENAME_MAX): Use macro-int-constant.
70735 (FOPEN_MAX): Use macro-int-constant. Require >= 8.
70736 (_IOFBF): Use macro-int-constant.
70737 (_IOLBF): Likewise.
70738 (_IONBF): Likewise.
70739 (SEEK_CUR): Likewise.
70740 (SEEK_END): Likewise.
70741 (SEEK_SET): Likewise.
70742 (TMP_MAX): Likewise.
70743 (EOF): Use macro-int-constant. Require < 0.
70744 (NULL): Use macro-constant. Require == 0.
70745 (stdin): Require type to be FILE *.
70746 (stdout): Likewise.
70747 (stderr): Likewise.
70748 * conform/data/stdlib.h-data (EXIT_FAILURE): Use
70749 macro-int-constant.
70750 (EXIT_SUCCESS): Likewise.
70751 (NULL): Use macro-constant. Require == 0.
70752 (RAND_MAX): Use macro-int-constant.
70753 [ISO99 || ISO11] (lldiv_t): Require also for these standards.
70754 [C99-based standards] (strtof): Require function.
70755 [C99-based standards] (strtold): Likewise.
70756 [C99-based standards] (strtoll): Likewise.
70757 [C99-based standards] (strtoull): Likewise.
70758 [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
70759 [ISO || ISO99 || ISO11] (limits.h): Likewise.
70760 [ISO || ISO99 || ISO11] (math.h): Likewise.
70761 [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
70762 (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
70763 [ISO || ISO99 || ISO11] (*_t): Do not allow.
70764
70765 2012-05-24 Andreas Schwab <schwab@linux-m68k.org>
70766
70767 [BZ #14132]
70768 * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
70769 * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
70770 * intl/dgettext.c (DCGETTEXT): Likewise.
70771 * intl/gettext.c (DCGETTEXT): Likewise.
70772 * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
70773 * posix/regex_internal.h (gettext): Likewise.
70774 * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
70775 Remove declaration.
70776 * include/argz.h (__argz_count_internal)
70777 (__argz_stringify_internal): Remove declaration.
70778 (__argz_count, __argz_stringify): Declare hidden proto.
70779 * intl/dcgettext.c: Remove use of INTDEF.
70780 * string/argz-count.c: Replace INTDEF with libc_hidden_def.
70781 * string/argz-stringify.c: Likewise.
70782 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70783 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70784 Declare hidden proto.
70785 * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
70786 (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
70787 Declare hidden proto.
70788 * include/stdio.h (__asprintf_internal): Don't declare.
70789 (__asprintf): Don't define as macro. Declare hidden proto.
70790 * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
70791 (__fsetlocking): Declare hidden proto.
70792 * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
70793 (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
70794 hidden proto.
70795 (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
70796 (_IO_setlinebuf): Remove use of INTUSE.
70797 (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
70798 (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
70799 (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
70800 Remove declaration.
70801 * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
70802 (_IO_do_flush): Remove use of INTUSE.
70803 (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
70804 (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
70805 (_IO_adjust_column, _IO_least_wmarker)
70806 (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
70807 (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
70808 (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
70809 (_IO_default_doallocate, _IO_wdefault_doallocate)
70810 (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
70811 (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
70812 (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
70813 (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
70814 (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
70815 (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
70816 (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
70817 (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
70818 (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
70819 (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
70820 (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
70821 (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
70822 (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
70823 proto.
70824 (_IO_flush_all_internal, _IO_adjust_column_internal)
70825 (_IO_default_uflow_internal, _IO_default_finish_internal)
70826 (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
70827 (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
70828 (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
70829 (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
70830 (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
70831 (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
70832 (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
70833 (_IO_file_xsgetn_internal, _IO_file_stat_internal)
70834 (_IO_file_close_internal, _IO_file_close_it_internal)
70835 (_IO_file_underflow_internal, _IO_file_overflow_internal)
70836 (_IO_file_init_internal, _IO_file_attach_internal)
70837 (_IO_file_fopen_internal, _IO_file_read_internal)
70838 (_IO_file_sync_internal, _IO_file_seek_internal)
70839 (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
70840 (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
70841 (_IO_str_underflow_internal, _IO_str_overflow_internal)
70842 (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
70843 (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
70844 (_IO_list_all_internal, _IO_link_in_internal)
70845 (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
70846 (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
70847 (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
70848 (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
70849 (_IO_do_write_internal, _IO_padn_internal)
70850 (_IO_getline_info_internal, _IO_getline_internal)
70851 (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
70852 (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
70853 (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
70854 (_IO_vfscanf_internal, _IO_vfprintf_internal)
70855 (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
70856 (_IO_init_internal, _IO_un_link_internal): Don't declare.
70857 * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
70858 with libc_hidden_ver, remove use of INTUSE.
70859 * libio/genops.c: Likewise.
70860 * libio/freopen.c: Likewise.
70861 * libio/freopen64.c: Likewise.
70862 * libio/iofclose.c: Likewise.
70863 * libio/iofdopen.c: Likewise.
70864 * libio/iofflush.c: Likewise.
70865 * libio/iofflush_u.c: Likewise.
70866 * libio/iofgets.c: Likewise.
70867 * libio/iofgets_u.c: Likewise.
70868 * libio/iofopen.c: Likewise.
70869 * libio/iofopncook.c: Likewise.
70870 * libio/iofread.c: Likewise.
70871 * libio/iofread_u.c: Likewise.
70872 * libio/ioftell.c: Likewise.
70873 * libio/iofwrite.c: Likewise.
70874 * libio/iogetline.c: Likewise.
70875 * libio/iogets.c: Likewise.
70876 * libio/iogetwline.c: Likewise.
70877 * libio/iopadn.c: Likewise.
70878 * libio/iopopen.c: Likewise.
70879 * libio/ioseekoff.c: Likewise.
70880 * libio/ioseekpos.c: Likewise.
70881 * libio/iosetbuffer.c: Likewise.
70882 * libio/iosetvbuf.c: Likewise.
70883 * libio/ioungetc.c: Likewise.
70884 * libio/ioungetwc.c: Likewise.
70885 * libio/iovdprintf.c: Likewise.
70886 * libio/iovsprintf.c: Likewise.
70887 * libio/iovsscanf.c: Likewise.
70888 * libio/memstream.c: Likewise.
70889 * libio/obprintf.c: Likewise.
70890 * libio/oldfileops.c: Likewise.
70891 * libio/oldiofclose.c: Likewise.
70892 * libio/oldiofdopen.c: Likewise.
70893 * libio/oldiofopen.c: Likewise.
70894 * libio/oldiopopen.c: Likewise.
70895 * libio/oldstdfiles.c: Likewise.
70896 * libio/putc.c: Likewise.
70897 * libio/setbuf.c: Likewise.
70898 * libio/setlinebuf.c: Likewise.
70899 * libio/stdfiles.c: Likewise.
70900 * libio/strops.c: Likewise.
70901 * libio/vasprintf.c: Likewise.
70902 * libio/vscanf.c: Likewise.
70903 * libio/vsnprintf.c: Likewise.
70904 * libio/vswprintf.c: Likewise.
70905 * libio/wfiledoalloc.c: Likewise.
70906 * libio/wfileops.c: Likewise.
70907 * libio/wgenops.c: Likewise.
70908 * libio/wmemstream.c: Likewise.
70909 * libio/wstrops.c: Likewise.
70910 * libio/__fpurge.c: Likewise.
70911 * libio/__fsetlocking.c: Likewise.
70912 * assert/assert.c: Likewise.
70913 * debug/fgets_chk.c: Likewise.
70914 * debug/fgets_u_chk.c: Likewise.
70915 * debug/fread_chk.c: Likewise.
70916 * debug/fread_u_chk.c: Likewise.
70917 * debug/gets_chk.c: Likewise.
70918 * debug/obprintf_chk.c: Likewise.
70919 * debug/vasprintf_chk.c: Likewise.
70920 * debug/vdprintf_chk.c: Likewise.
70921 * debug/vsnprintf_chk.c: Likewise.
70922 * debug/vsprintf_chk.c: Likewise.
70923 * malloc/mtrace.c: Likewise.
70924 * misc/error.c: Likewise.
70925 * misc/syslog.c: Likewise.
70926 * stdio-common/asprintf.c: Likewise.
70927 * stdio-common/fxprintf.c: Likewise.
70928 * stdio-common/getw.c: Likewise.
70929 * stdio-common/isoc99_fscanf.c: Likewise.
70930 * stdio-common/isoc99_scanf.c: Likewise.
70931 * stdio-common/isoc99_vfscanf.c: Likewise.
70932 * stdio-common/isoc99_vscanf.c: Likewise.
70933 * stdio-common/isoc99_vsscanf.c: Likewise.
70934 * stdio-common/printf-prs.c: Likewise.
70935 * stdio-common/printf_fp.c: Likewise.
70936 * stdio-common/printf_fphex.c: Likewise.
70937 * stdio-common/printf_size.c: Likewise.
70938 * stdio-common/putw.c: Likewise.
70939 * stdio-common/scanf.c: Likewise.
70940 * stdio-common/sprintf.c: Likewise.
70941 * stdio-common/tmpfile.c: Likewise.
70942 * stdio-common/vfprintf.c: Likewise.
70943 * stdio-common/vfscanf.c: Likewise.
70944 * stdlib/strfmon_l.c: Likewise.
70945 * sunrpc/openchild.c: Likewise.
70946 * sunrpc/xdr_stdio.c: Likewise.
70947 * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
70948 * sysdeps/mach/hurd/tmpfile.c: Likewise.
70949
70950 2012-05-24 Roland McGrath <roland@hack.frob.com>
70951
70952 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
70953
70954 * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
70955 in the third column, to generate for the shared library an IFUNC
70956 that uses _dl_vdso_vsym.
70957 * Makerules (COMPILE.c, compile-stdin.c): New variables.
70958 * Makeconfig (object-suffixes-noshared): New variable.
70959
70960 * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
70961 (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
70962 (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
70963 (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
70964
70965 [BZ #14132]
70966 * include/sys/time.h (__gettimeofday): Remove macro.
70967 (__gettimeofday, gettimeofday): Add libc_hidden_proto.
70968 * time/gettimeofday.c (__gettimeofday): Remove #undef.
70969 Remove INTDEF.
70970 (__gettimeofday): Add libc_hidden_def.
70971 (gettimeofday): Add libc_hidden_weak.
70972 * sysdeps/mach/gettimeofday.c: Likewise.
70973 * sysdeps/posix/gettimeofday.c: Likewise.
70974 * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
70975 * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
70976 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
70977 (__gettimeofday_internal): Remove strong_alias.
70978 (__gettimeofday): Add libc_hidden_def.
70979 (gettimeofday): Add libc_hidden_weak.
70980 * sysdeps/unix/syscalls.list (gettimeofday):
70981 Remove __gettimeofday_internal alias.
70982
70983 2012-05-24 Daniel Jacobowitz <drow@false.org>
70984 H.J. Lu <hongjiu.lu@intel.com>
70985
70986 [BZ #12495]
70987 * malloc/malloc.c (SMALLBIN_CORRECTION): New.
70988 (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
70989 (largebin_index_32_big): New.
70990 (largebin_index): Use it for 16-byte alignment.
70991 (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ. Don't update
70992 correction with front_misalign.
70993
70994 2012-05-24 H.J. Lu <hongjiu.lu@intel.com>
70995
70996 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
70997 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
70998 Likewise.
70999 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
71000 Likewise.
71001 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
71002 Likewise.
71003 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
71004 Likewise.
71005 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
71006 Likewise.
71007 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
71008 Likewise.
71009 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
71010 Likewise.
71011 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
71012 Likewise.
71013 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
71014 Likewise.
71015 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
71016 Likewise.
71017 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
71018 Likewise.
71019 * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
71020 Likewise.
71021
71022 * scripts/data/c++-types-x32-linux-gnu.data: New file.
71023 * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
71024
71025 2012-05-24 Joseph Myers <joseph@codesourcery.com>
71026
71027 [BZ #10846]
71028 [BZ #14036]
71029 * math/libm-test.inc (exp_test): Add test from bug 14036.
71030 (pow_test): Add test from bug 10846.
71031
71032 * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
71033 and other flags.
71034 (special_function): Do not include flags in test name.
71035 (parse_args): Likewise.
71036 * sysdeps/i386/fpu/libm-test-ulps: Update.
71037 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
71038 * sysdeps/s390/fpu/libm-test-ulps: Likewise.
71039 * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
71040 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71041
71042 * math/gen-libm-test.pl (%beautify): Add entries for underflow
71043 exceptions.
71044 * math/libm-test.inc ("Philosophy"): Update comment about
71045 exception testing.
71046 (UNDERFLOW_EXCEPTION): New macro.
71047 (UNDERFLOW_EXCEPTION_OK): Likewise.
71048 (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
71049 (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
71050 (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
71051 (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
71052 (INVALID_EXCEPTION_OK): Update value.
71053 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
71054 (OVERFLOW_EXCEPTION_OK): Likewise.
71055 (IGNORE_ZERO_INF_SIGN): Likewise.
71056 (test_exceptions): Handle underflow exceptions.
71057 (acos_test): Update for underflow exception expectations.
71058 (cexp_test): Likewise.
71059 (clog_test): Likewise.
71060 (clog10_test): Likewise.
71061 (csqrt_test): Likewise.
71062 (ctan_test): Likewise.
71063 (ctanh_test): Likewise.
71064 (exp_test): Likewise.
71065 (exp10_test): Likewise.
71066 (exp2_test): Likewise.
71067 (expm1_test): Likewise.
71068 (fma_test): Likewise.
71069 (j0_test): Likewise.
71070 (jn_test): Likewise.
71071 (nexttoward_test): Likewise.
71072 (pow_test): Likewise.
71073 (scalbn_test): Likewise.
71074 (scalbln_test): Likewise.
71075 (tan_test): Likewise.
71076 (y1_test): Likewise.
71077 * sysdeps/i386/fpu/libm-test-ulps: Update.
71078 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71079
71080 2012-05-23 David S. Miller <davem@davemloft.net>
71081
71082 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
71083 (__libc_sigaction): Remove unused local variables.
71084
71085 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
71086
71087 * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
71088
71089 2012-05-23 Paul Eggert <eggert@cs.ucla.edu>
71090
71091 mktime: avoid signed integer overflow
71092 * time/mktime.c (__mktime_internal): Do not mishandle the case
71093 where diff == INT_MIN.
71094
71095 mktime: simplify computation of average
71096 * time/mktime.c (ranged_convert): Use new time_t_avg function
71097 instead of rolling our own (probably-slower) code.
71098
71099 mktime: do not assume signed right shift propagates sign bit
71100 * time/mktime.c (isdst_differ): New static function.
71101 (__mktime_internal): No need to normalize tm_isdst now.
71102 (__mktime_internal, not_equal_tm): Use isdst_differ to compare
71103 tm_isdst values.
71104
71105 mktime: merge another wrapv change from gnulib
71106 * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
71107 from some compilers.
71108
71109 mktime: remove incorrect attempt at unusual arithmetics
71110 * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
71111 The code didn't really work on such machines anyway.
71112 (TYPE_MINIMUM): Assume two's complement.
71113 (twos_complement_arithmetic): Verify that long_int and time_t
71114 are two's complement (or unsigned, in the latter case).
71115
71116 mktime: check signed shifts on long_int and time_t, too
71117 * time/mktime.c (SHR): Check that shifts work as desired
71118 on the types long_int and time_t too, as SHR is used on
71119 such types.
71120
71121 mktime: do not assume 'long' is wide enough
71122 * time/mktime.c (verify): Move decl up.
71123 (long_int): New type.
71124 (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
71125 to remove assumption in the code that 'long' is wide enough to
71126 store year values. This assumption is not true on x32 and on
71127 some non-glibc platforms.
71128
71129 mktime: merge wrapv change from gnulib
71130 * time/mktime.c (WRAPV): New macro.
71131 (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
71132 (guess_time_tm, __mktime_internal): Do not assume that signed
71133 integer overflow wraps around; modern compilers generate code
71134 where this assumption is no longer valid.
71135
71136 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
71137
71138 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
71139 Replace "jmp L(pseudo_end)" with "ret".
71140 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
71141 Likewise.
71142
71143 2012-05-23 Andreas Jaeger <aj@suse.de>
71144
71145 * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
71146 * sysdeps/unix/sysv/linux/poll.c: Remove file.
71147
71148 2012-05-23 Andreas Jaeger <aj@suse.de>
71149 Maximilian Attems <max@stro.at>
71150
71151 * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
71152 New macros.
71153
71154 2012-05-23 H.J. Lu <hongjiu.lu@intel.com>
71155
71156 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
71157 code so that pseudo_end is just ret and the stack pointer is
71158 correct also for static library in error case.
71159
71160 2012-05-23 Joseph Myers <joseph@codesourcery.com>
71161
71162 * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
71163 move to syscalls.list.
71164 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
71165 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
71166 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
71167 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
71168
71169 * manual/install.texi (Running make install): Do not mention Linux
71170 kernel version for which pt_chown is not needed.
71171 (Linux): Do not mention problems with nscd with 2.0 kernels.
71172 * INSTALL: Regenerated.
71173
71174 2012-05-23 Andreas Jaeger <aj@suse.de>
71175
71176 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
71177 (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
71178 macro.
71179 * sysdeps/unix/sysv/linux/s390/bits/mman.h
71180 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
71181 * sysdeps/unix/sysv/linux/sh/bits/mman.h
71182 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
71183 * sysdeps/unix/sysv/linux/i386/bits/mman.h
71184 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
71185 * sysdeps/unix/sysv/linux/sparc/bits/mman.h
71186 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
71187 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
71188 (MADV_DONTDUMP,MADV_DODUMP): Likewise.
71189 * sysdeps/unix/sysv/linux/bits/in.h
71190 (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
71191
71192 2012-05-22 Roland McGrath <roland@hack.frob.com>
71193
71194 * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
71195 (PREPARE_VERSION): Just use assert instead, it will be elided
71196 under [NDEBUG] anyway.
71197
71198 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
71199
71200 * sysdeps/unix/sysv/linux/Makefile: Include
71201 $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
71202 (sysdep_routines): Remove sysctl.
71203 * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
71204 * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
71205 * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
71206 * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
71207 * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
71208
71209 2012-05-22 Andreas Jaeger <aj@suse.de>
71210
71211 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
71212 that pseudo_end is just ret and the stack pointer is correct also
71213 for static library in error case.
71214
71215 2012-05-22 Paul Pluzhnikov <ppluzhnikov@google.com>
71216
71217 [BZ #14122]
71218 * nss/nsswitch.c (defconfig_entries): New variable.
71219 (__nss_database_lookup): Don't leak defconfig entries.
71220 (nss_parse_service_list): Don't leak on error paths.
71221 (free_database_entries): New function.
71222 (free_defconfig): New function.
71223 (free_mem): Move common code to free_database_entries.
71224
71225 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
71226
71227 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
71228 Add arch_prctl.
71229 * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
71230
71231 * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
71232 (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
71233 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
71234 New macro.
71235 (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
71236 (INTERNAL_SYSCALL_TYPES): Likewise.
71237 (LOAD_ARGS_TYPES_[1-6]): Likewise.
71238 (LOAD_REGS_TYPES_[1-6]): Likewise.
71239 (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
71240 (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
71241
71242 2012-05-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71243
71244 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
71245 copysignl for GLIBC_2_0.
71246 * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
71247 finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
71248 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
71249 logbl for GLIBC_2_0.
71250 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
71251 * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
71252
71253 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
71254
71255 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
71256 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
71257
71258 * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
71259 Use "neg %eax".
71260
71261 * time/mktime.c: Update copyright years.
71262
71263 2012-05-22 Paul Eggert <eggert@cs.ucla.edu>
71264
71265 mktime: merge comment-quoting-style change from gnulib
71266 * time/mktime.c: Quote 'like this' in comments.
71267 The GNU coding standards suggest that we no longer quote `like this',
71268 as "`" and "'" are typically rendered asymmetrically nowadays.
71269 The typical gnulib style is to quote 'like this' when quoting
71270 code, and "like this" when quoting English.
71271
71272 * time/mktime.c (compile-command): Add "-I.".
71273
71274 mktime: merge mktime-internal.h change from gnulib
71275 * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
71276
71277 mktime: merge time_r change from gnulib
71278 * time/mktime.c [!_LIBC]: Do not include "time_r.h".
71279
71280 mktime: merge DEBUG change from gnulib
71281 * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
71282 case system <time.h> has a #define.
71283
71284 mktime: merge <sys/types.h> change from gnulib
71285 * time/mktime.c: Do not include <sys/types.h>; no longer needed,
71286 since <time.t> is now guaranteed to define time_t.
71287
71288 mktime: merge HAVE_CONFIG_H change from gnulib
71289 * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
71290
71291 2012-05-22 H.J. Lu <hongjiu.lu@intel.com>
71292
71293 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
71294 Use "neg %eax".
71295
71296 * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
71297 __rlim_t cast.
71298 (struct rusage): Use anonymous union to pad each field to
71299 __syscall_slong_t.
71300
71301 2012-05-21 David S. Miller <davem@davemloft.net>
71302
71303 * Makefules (o-iterator): Remove .s cases.
71304 (compile-command.s): Delete.
71305 (COMPILE.s): Delete.
71306 * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
71307
71308 2012-05-21 Joseph Myers <joseph@codesourcery.com>
71309
71310 * configure.in (libc_cv_predef_stack_protector): Only consider
71311 "foobar" and "__stack_chk_fail" lines in libc_undefs.
71312 * configure: Regenerated.
71313
71314 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
71315
71316 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
71317 New macro. Use R*LP on int and pointer.
71318 (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
71319 * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
71320 * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
71321 * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
71322
71323 * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
71324 [__WORDSIZE_TIME64_COMPAT32] instead of
71325 [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
71326 (struct utmp): Likewise.
71327 * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
71328 * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
71329 Renamed to ...
71330 (__WORDSIZE_TIME64_COMPAT32): This.
71331 * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
71332 * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
71333 * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
71334 * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
71335 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
71336 (__WORDSIZE_TIME64_COMPAT32): New macro.
71337
71338 2012-05-21 Andreas Jaeger <aj@suse.de>
71339
71340 * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
71341 only if [SHARED]. Add prototype for __wcschr_ia32.
71342
71343 2012-05-21 Roland McGrath <roland@hack.frob.com>
71344
71345 * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
71346 of %rbp unmolested in the jmp_buf while mangling the low bits.
71347 * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
71348 unmolested high bits of %rbp while demangling the low bits.
71349 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
71350
71351 2012-05-21 Andreas Jaeger <aj@suse.de>
71352
71353 * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
71354 * sunrpc/svc_simple.c: Use it for registerrpc.
71355 * sunrpc/xcrypt.c: Use it for passwd2des.
71356
71357 * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
71358
71359 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
71360
71361 * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
71362 Don't define if [__SYSCALL_WORDSIZE != 32].
71363 * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
71364 New macro.
71365
71366 2012-05-21 Bruno Haible <bruno@clisp.org>
71367 Andreas Jaeger <aj@suse.de>
71368
71369 [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
71370 * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
71371 inptr and inend for must_buffer_ch.
71372 * wcsmbs/tst-mbsnrtowcs.c: Remove file.
71373 * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
71374 * stdio-common/Makefile (tests): Remove bug15.
71375 (bug15-ENV): Remove macro.
71376 * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
71377 anymore.
71378
71379 2012-05-19 Andreas Jaeger <aj@suse.de>
71380 Roland McGrath <roland@hack.frob.com>
71381
71382 * manual/contrib.texi: Completely rewritten. It contains now an
71383 alphabetical list of contributors and their contributions.
71384
71385 2012-05-21 Richard Henderson <rth@twiddle.net>
71386
71387 * misc/getauxval.c (__getauxval): Use unsigned long int.
71388 * misc/sys/auxv.h: Include <sys/cdefs.h>.
71389 (getauxval): Use unsigned long int.
71390
71391 2012-05-21 H.J. Lu <hongjiu.lu@intel.com>
71392
71393 * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
71394
71395 2012-05-21 Roland McGrath <roland@hack.frob.com>
71396
71397 * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
71398 (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
71399 __alignof__ (long double).
71400
71401 2012-05-21 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71402
71403 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71404
71405 2012-05-20 Richard Henderson <rth@twiddle.net>
71406
71407 * misc/getauxval.c: New file.
71408 * misc/sys/auxv.h: New file.
71409 * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
71410 (routines): Add getauxval.
71411 * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
71412 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
71413 * elf/dl-sysdep.c (_dl_auxv): Remove.
71414 (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
71415 * elf/dl-support.c (_dl_auxv): New variable.
71416 (_dl_aux_init): Initialize it.
71417 * manual/startup.texi (Auxiliary Vector): New node.
71418 * sysdeps/generic/bits/hwcap.h: New file.
71419 * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
71420 * sysdeps/powerpc/sysdep.h: ... here. Include it.
71421 * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
71422 * sysdeps/sparc/sysdep.h: ... here. Include it.
71423 * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
71424 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
71425 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
71426 Update.
71427 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
71428 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
71429 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
71430 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
71431 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
71432 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
71433 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
71434 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
71435
71436 2012-05-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71437
71438 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
71439
71440 2012-05-19 David S. Miller <davem@davemloft.net>
71441
71442 * sysdeps/sparc/fpu/libm-test-ulps: Update.
71443
71444 2012-05-19 Joseph Myers <joseph@codesourcery.com>
71445
71446 [BZ #14123]
71447 * math/s_ccosh.c: Include <float.h>
71448 (__ccosh): Avoid internal overflow calculating sinh and cosh
71449 values before multiplying by sin and cos values.
71450 * math/s_ccoshf.c: Likewise.
71451 * math/s_ccoshl.c: Likewise.
71452 * math/s_csin.c: Likewise.
71453 * math/s_csinf.c: Likewise.
71454 * math/s_csinl.c: Likewise.
71455 * math/s_csinh.c: Likewise.
71456 * math/s_csinhf.c: Likewise.
71457 * math/s_csinhl.c: Likewise.
71458 * math/libm-test.inc (ccos_test): Add more tests.
71459 (ccosh_test): Likewise.
71460 (csin_test): Likewise.
71461 (csinh_test): Likewise.
71462 * sysdeps/i386/fpu/libm-test-ulps: Update.
71463 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
71464
71465 2012-05-19 H.J. Lu <hongjiu.lu@intel.com>
71466
71467 * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
71468 * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
71469
71470 * sysdeps/x86_64/x32/_itoa.h: Add comment.
71471
71472 2012-05-19 Joseph Myers <joseph@codesourcery.com>
71473
71474 * sysdeps/powerpc/soft-fp/Makefile: Remove file.
71475 * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
71476 * sysdeps/powerpc/soft-fp/Versions: Likewise.
71477 * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
71478 * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
71479 * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
71480 * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
71481 * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
71482 * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
71483 * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
71484 * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
71485 * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
71486 * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
71487 * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
71488 * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
71489 * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
71490 * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
71491 * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
71492 * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
71493 * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
71494 * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
71495 * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
71496 * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
71497 * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
71498 * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
71499 * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
71500 * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
71501 * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
71502 * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
71503 * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
71504 * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
71505
71506 2012-05-18 Andreas Jaeger <aj@suse.de>
71507
71508 * csu/.gitignore: Delete.
71509
71510 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
71511
71512 * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
71513 (timex): Use __syscall_slong_t.
71514
71515 2012-05-18 Andreas Jaeger <aj@suse.de>
71516 Carlos O'Donell <carlos_odonell@mentor.com>
71517
71518 * manual/install.texi (Configuring and compiling): Update
71519 description about files modified in the source directory.
71520 * INSTALL: Regenerated.
71521
71522 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
71523
71524 * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
71525 value. Use "or" to set return value to -1.
71526 * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
71527 negate return value.
71528
71529 2012-05-18 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
71530
71531 * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
71532 (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
71533 failure if the compiler has Graphite support disabled.
71534 * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
71535 Likewise.
71536 * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
71537 (CFLAGS-memmove.c): Likewise.
71538 * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
71539 Likewise.
71540
71541 2012-05-18 H.J. Lu <hongjiu.lu@intel.com>
71542
71543 * sysdeps/x86_64/x32/_itoa.h: New file.
71544
71545 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
71546 getdents system call only if kernel and user dirents have the
71547 same d_ino and d_off.
71548
71549 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
71550 LLONG_MAX != LONG_MAX.
71551 (_itoa_word): Use _ITOA_WORD_TYPE on value.
71552 (_fitoa_word): Likewise.
71553
71554 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
71555 years.
71556 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
71557 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
71558 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
71559
71560 * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
71561 include <bits/wordsize.h>. Check __x86_64__ instead of
71562 __WORDSIZE.
71563 (sigcontext): Use "__uint64_t" instead of "unsigned long int"
71564 if __x86_64__ is defined. Use anonymous union on fpstate.
71565
71566 * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
71567 anonymous union.
71568
71569 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
71570
71571 * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
71572 INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
71573 * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
71574 Refer to _rtld_local_ro instead of _rtld_global_ro.
71575 * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
71576 Likewise.
71577 * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
71578 Likewise.
71579 * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
71580 Likewise.
71581 * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
71582 * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
71583 of _rtld_global, and rtld_progname instead of _dl_argv[0].
71584
71585 [BZ #10882]
71586 * sysdeps/powerpc/powerpc32/dl-machine.c
71587 (__elf_machine_runtime_setup) [PROF]: Don't reference
71588 _dl_prof_resolve.
71589
71590 2012-05-18 Andreas Jaeger <aj@suse.de>
71591
71592 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
71593 function only available for GCCs before 3.4 since GCC 3.4
71594 introduced a builtin.
71595 (lrint): Likewise.
71596 (llrintf): Likewise.
71597 (llrint): Likewise.
71598 (fmaxf): Likewise.
71599 (fmax): Likewise.
71600 (fminf): Likewise.
71601 (fmin): Likewise.
71602 (rint): Likewise.
71603 (rintf): Likewise.
71604 (nearbyint): Likewise.
71605 (nearbyintf): Likewise.
71606 (ceil): Likewise.
71607 (ceilf): Likewise.
71608 (floor): Likewise.
71609 (floorf): Likewise.
71610
71611 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71612
71613 * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
71614 on both fields and cast pointer to __syscall_ulong_t.
71615
71616 * bits/types.h (__fsword_t): New type.
71617 * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
71618 sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
71619 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71620 (__FSWORD_T_TYPE): Likewise.
71621 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71622 (__FSWORD_T_TYPE): Likewise.
71623 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71624 (__FSWORD_T_TYPE): Likewise.
71625 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
71626 (__FSWORD_T_TYPE): Likewise.
71627 * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
71628 __SWORD_TYPE with __fsword_t.
71629 (statfs64): Likewise.
71630
71631 2012-05-17 David S. Miller <davem@davemloft.net>
71632
71633 * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
71634
71635 2012-05-17 Andreas Jaeger <aj@suse.de>
71636
71637 * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
71638 warning.
71639
71640 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71641
71642 * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
71643
71644 2012-05-17 Andreas Jaeger <aj@suse.de>
71645
71646 * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
71647 when it is used.
71648
71649 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
71650
71651 * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
71652
71653 2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
71654
71655 * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
71656 * sysdeps/x86_64/tst-mallocalign1.c: New file.
71657
71658 2012-05-17 Andreas Jaeger <aj@suse.de>
71659 Carlos O'Donell <carlos_odonell@mentor.com>
71660
71661 [BZ #14059]
71662 * sysdeps/x86_64/multiarch/init-arch.h
71663 (bit_YMM_Usable): Rename to...
71664 (bit_AVX_Usable): ... this.
71665 (bit_FMA4_Usable): New macro.
71666 (bit_XMM_state): New macro.
71667 (bit_YMM_state): New macro.
71668 [__ASSEMBLER__] (index_YMM_Usable): Rename to...
71669 [__ASSEMBLER__] (index_AVX_Usable): ... this.
71670 [__ASSEMBLER__] (index_FMA4_Usable): New macro.
71671 (CPUID_OSXSAVE): New macro.
71672 (CPUID_AVX): New macro.
71673 (CPUID_FMA4): New macro.
71674 (index_YMM_Usable): Rename to...
71675 (index_AVX_Usable): ... this.
71676 (HAS_AVX): Use HAS_ARCH_FEATURE.
71677 (HAS_FMA4): Likewise.
71678 (HAS_YMM_USABLE): Remove.
71679 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
71680 Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
71681 are present.
71682 * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
71683 * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
71684 * sysdeps/x86_64/multiarch/Makefile: Likewise.
71685 * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
71686 * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
71687
71688 2012-05-17 Chris Metcalf <cmetcalf@tilera.com>
71689
71690 * math/libm-test.c: Support platforms without multiple rounding modes.
71691 * math/bug-nextafter.c: Support platforms without FP exceptions.
71692 * math/bug-nexttoward.c: Likewise.
71693 * math/test-fenv.c: Likewise.
71694 * math/test-misc.c: Likewise.
71695 * stdlib/bug-getcontext.c: Likewise.
71696
71697 2012-05-17 Andreas Jaeger <aj@suse.de>
71698
71699 * manual/examples/search.c (critter_cmp): Change signature to
71700 avoid warnings.
71701 * manual/string.texi (Collation Functions): Likewise.
71702
71703 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71704
71705 * bits/types.h: Fold copyright years.
71706 * bits/typesizes.h: Likewise.
71707 * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
71708 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
71709 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
71710 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
71711 * time/time.h: Likewise.
71712
71713 2012-05-16 Paul Pluzhnikov <ppluzhnikov@google.com>
71714
71715 [BZ #208]
71716 * malloc.c (int_mallinfo): Add parameter to accumulate statistics
71717 in instead of returning them. Return void.
71718 (__libc_mallinfo): Accumulate over all arenas.
71719 (__malloc_stats): Adjust for change in int_mallinfo interface.
71720
71721 2012-05-16 Roland McGrath <roland@hack.frob.com>
71722
71723 [BZ #10375]
71724 * configure.in (NM): Add AC_CHECK_TOOL for it.
71725 (libc_extra_cflags): New substituted variable.
71726 Check for -fstack-protector being used implicitly.
71727 * configure: Regenerated.
71728 * config.make.in (config-extra-cflags): New variable,
71729 gets @libc_extra_cflags@.
71730 * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
71731
71732 [BZ #10375]
71733 * configure.in: Check for _FORTIFY_SOURCE being predefined.
71734 (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
71735 * configure: Regenerated.
71736 * config.make.in (CPPUNDEFS): New substituted variable.
71737 * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
71738 * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
71739 * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
71740
71741 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71742
71743 * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
71744 (mq_attr): Use __syscall_slong_t.
71745
71746 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71747
71748 * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
71749 Check __x86_64__ instead of __WORDSIZE.
71750 (_STAT_VER_LINUX): Likewise.
71751 (stat): Check __x86_64__ instead of __WORDSIZE. Use
71752 __syscall_ulong_t and __syscall_slong_t.
71753 (stat64): Likewise.
71754
71755 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71756
71757 * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
71758
71759 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71760
71761 * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
71762
71763 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71764
71765 * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
71766 __syscall_ulong_t.
71767
71768 * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
71769 include <bits/wordsize.h>. Check __x86_64__ instead of
71770 __WORDSIZE.
71771 (greg_t): Use "__extension__ long long int" if __x86_64__ is
71772 defined.
71773 (mcontext_t): Replace "unsigned long" with "unsigned long long".
71774
71775 * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
71776 include <bits/wordsize.h>. Check __x86_64__ instead of
71777 __WORDSIZE.
71778 (user_regs_struct): Use "__extension__ unsigned long long"
71779 instead of "unsigned long" if __x86_64__ is defined.
71780 (user): Likewise. Pad after pointer field if __ILP32__ is
71781 defined.
71782
71783 2012-05-16 Joseph Myers <joseph@codesourcery.com>
71784
71785 * configure.in (makeinfo): Require version 4.5 or later. Allow
71786 versions 5 to 9.
71787 * configure: Regenerated.
71788 * manual/install.texi (texinfo): Increase version requirement to
71789 4.5 or later.
71790 * INSTALL: Regenerated.
71791
71792 * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
71793
71794 2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
71795
71796 * sysdeps/x86_64/x32/gmp-mparam.h: New file.
71797
71798 * sysdeps/x86_64/x32/ffs.c: New file.
71799
71800 * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
71801 __syscall_ulong_t.
71802 (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
71803 defined. Use __syscall_ulong_t.
71804 (shminfo): Use __syscall_ulong_t.
71805 (shm_info): Likewise.
71806
71807 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
71808 __syscall_ulong_t.
71809
71810 * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
71811 <bits/wordsize.h>.
71812 (msgqnum_t): Use __syscall_ulong_t.
71813 (msglen_t): Likewise.
71814 (msqid_ds): Check __x86_64__ instead of __WORDSIZE. Use
71815 __syscall_ulong_t.
71816
71817 * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
71818 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
71819
71820 * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
71821
71822 * sysdeps/x86_64/x32/divdi3.c: New dummy file.
71823 * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
71824
71825 * sysvipc/sys/msg.h (msgbuf): Replace long int with
71826 __syscall_slong_t.
71827
71828 * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
71829 include <bits/wordsize.h>. Check __x86_64__ instead of
71830 __WORDSIZE.
71831
71832 * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
71833 "unsigned long long int" if __x86_64__ is defined.
71834 (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
71835
71836 * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
71837 <bits/wordsize.h>. Check __x86_64__ instead of __WORDSIZE.
71838 (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
71839
71840 * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
71841 <stdint.h>.
71842 (GET_PC): Cast to uintptr_t first.
71843 (GET_FRAME): Likewise.
71844 (GET_STACK): Likewise.
71845
71846 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
71847 * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
71848 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
71849 * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
71850 * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
71851 * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
71852 * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
71853 * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
71854 * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
71855 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
71856 * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
71857 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
71858 * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
71859 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
71860 * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
71861 * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
71862 * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
71863 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
71864 * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
71865 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
71866 * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
71867 * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
71868 * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
71869 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
71870 * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
71871 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
71872 * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
71873 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
71874 * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
71875
71876 2012-05-16 Andreas Schwab <schwab@linux-m68k.org>
71877
71878 * Makerules (+depfiles): Also collect depfiles from .oS in
71879 $(extra-objs).
71880 * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
71881 .oS, $(libnldbl-routines)).
71882
71883 * Makerules (native-compile-mkdep-flags): Define.
71884 * sunrpc/Makefile (extra-objs): Add $(addprefix
71885 cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
71886 ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
71887 of $(compile-mkdep-flags). Depend on $(before-compile) instead of
71888 calling $(make-target-directory).
71889
71890 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71891
71892 * bits/types.h (__snseconds_t): Removed.
71893 * time/time.h (struct timespec): Replace __snseconds_t with
71894 __syscall_slong_t.
71895 * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
71896 * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
71897 Likewise.
71898 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71899 (__SNSECONDS_T_TYPE): Likewise.
71900 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71901 (__SNSECONDS_T_TYPE): Likewise.
71902 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71903 (__SNSECONDS_T_TYPE): Likewise.
71904
71905 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71906
71907 * sysdeps/mach/hurd/bits/typesizes.h
71908 (__SYSCALL_SLONG_TYPE): New macro.
71909 (__SYSCALL_ULONG_TYPE): Likewise.
71910
71911 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71912
71913 * bits/types.h (__syscall_slong_t): New type.
71914 (__syscall_ulong_t): Likewise.
71915
71916 * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
71917 (__SYSCALL_ULONG_TYPE): Likewise.
71918 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
71919 (__SYSCALL_SLONG_TYPE): Likewise.
71920 (__SYSCALL_ULONG_TYPE): Likewise.
71921 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
71922 (__SYSCALL_SLONG_TYPE): Likewise.
71923 (__SYSCALL_ULONG_TYPE): Likewise.
71924 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
71925 (__SYSCALL_SLONG_TYPE): Likewise.
71926 (__SYSCALL_ULONG_TYPE): Likewise.
71927
71928 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71929
71930 * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
71931 Add sigaltstack-offsets.sym.
71932 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
71933 <sigaltstack-offsets.h>.
71934 (CALL_FAIL): Use RSP_LP to operate on stack. Use RDI_LP on
71935 longjmp_msg pointer.
71936 (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC. Use
71937 R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
71938 signal stack.
71939 * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
71940
71941 2012-05-15 Joseph Myers <joseph@codesourcery.com>
71942
71943 * elf/stackguard-macros.h: Remove file.
71944 * sysdeps/generic/stackguard-macros.h: New file.
71945 * sysdeps/i386/stackguard-macros.h: Likewise.
71946 * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
71947 * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
71948 * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
71949 * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
71950 * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
71951 * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
71952 * sysdeps/x86_64/stackguard-macros.h: Likewise.
71953 * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
71954 <elf/stackguard-macros.h>.
71955
71956 [BZ #14109]
71957 * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
71958 __aligned__ in attribute.
71959 * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
71960 (gregset_t): Likewise.
71961
71962 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71963
71964 * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
71965 * sysdeps/x86_64/64/Implies-after: Here. New file.
71966 * sysdeps/x86_64/x32/Implies-after: New file.
71967
71968 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71969
71970 * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
71971 and access return value for _dl_profile_fixup. Use R10_LP to
71972 load frame size.
71973
71974 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71975
71976 * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
71977
71978 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71979
71980 * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
71981 * sysdeps/x86_64/x32/sysdep.h: New file.
71982
71983 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
71984
71985 * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
71986 * sysdeps/x86_64/setjmp.S: Likewise.
71987
71988 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
71989
71990 * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
71991 * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
71992 * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
71993 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
71994 remove unused global constant.
71995
71996 2012-05-15 Chris Metcalf <cmetcalf@tilera.com>
71997
71998 * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
71999 include of <not-cancel.h>.
72000
72001 2012-05-15 Roland McGrath <roland@hack.frob.com>
72002
72003 * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
72004
72005 2012-05-15 Jeff Law <law@redhat.com>
72006 Andreas Jaeger <aj@suse.de>
72007
72008 [BZ #13594]
72009 * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
72010 out from...
72011 * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
72012 * nscd/nscd-client.h: Add __nscd_acquire_maplock.
72013 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
72014 code changing __hst_map_handle.map.
72015
72016 2012-05-15 Roland McGrath <roland@hack.frob.com>
72017
72018 * configure.in (sysnames): Look for Implies-before and Implies-after
72019 files.
72020 * configure: Regenerated.
72021
72022 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72023
72024 * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
72025 8-byte data alignment with LP_SIZE alignment.
72026
72027 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72028
72029 * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
72030 into R10_LP.
72031
72032 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72033
72034 * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
72035
72036 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72037
72038 * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
72039 * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
72040 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
72041 Likewise.
72042 * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
72043
72044 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72045
72046 * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
72047 (stackinfo_sub_sp): Likewise.
72048
72049 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72050
72051 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
72052 RAX_LP.
72053
72054 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72055
72056 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
72057 into R*_LP.
72058
72059 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72060
72061 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
72062 sizes into R*_LP.
72063
72064 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72065
72066 * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
72067
72068 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72069
72070 * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
72071 into R11_LP and load __x86_64_shared_cache_size_half into
72072 R8_LP.
72073
72074 2012-05-15 H.J. Lu <hongjiu.lu@intel.com>
72075
72076 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
72077 R8_LP.
72078
72079 2012-05-15 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72080
72081 * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
72082 logb for POWER7.
72083 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
72084 logbf for POWER7.
72085 * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
72086 logbl for POWER7.
72087 * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
72088 powerpc32/power7/fpu/s_logb.c via #include.
72089 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
72090 powerpc32/power7/fpu/s_logbf.c via #include.
72091 * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
72092 powerpc32/power7/fpu/s_logbl.c via #include.
72093
72094 2012-05-15 Joseph Myers <joseph@codesourcery.com>
72095
72096 * README.libm: Remove file.
72097
72098 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
72099
72100 * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
72101 count for x32. Use R*_LP and omit operand-size suffix.
72102
72103 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
72104
72105 * shlib-versions: Move x86_64-.*-linux.* entries to ...
72106 * sysdeps/x86_64/64/shlib-versions: Here. New file.
72107 * sysdeps/x86_64/x32/shlib-versions: New file.
72108
72109 2012-05-14 Roland McGrath <roland@hack.frob.com>
72110
72111 * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
72112 * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
72113 Use _dl_fatal_printf instead.
72114
72115 2012-05-14 Joseph Myers <joseph@codesourcery.com>
72116
72117 * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
72118 set if not set by the user. Do not allow for being unset.
72119 * sysdeps/unix/sysv/linux/configure: Regenerated.
72120
72121 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
72122
72123 * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
72124 the `q' suffix from lea and replace .quad with ASM_ADDR.
72125
72126 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
72127
72128 * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
72129 the `q' suffix from xor/rol instructions. Use $2*LP_SIZE+1
72130 instead of $17.
72131 (PTR_DEMANGLE): Likewise.
72132
72133 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
72134
72135 * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
72136 (LP_OP): Likewise.
72137 (ASM_ADDR): Likewise.
72138 (RAX_LP): Likewise.
72139 (RBP_LP): Likewise.
72140 (RBX_LP): Likewise.
72141 (RCX_LP): Likewise.
72142 (RDI_LP): Likewise.
72143 (RSI_LP): Likewise.
72144 (RSP_LP): Likewise.
72145 (R8_LP): Likewise.
72146 (R9_LP): Likewise.
72147 (R10_LP): Likewise.
72148 (R10_LP): Likewise.
72149 (R11_LP): Likewise.
72150 (R12_LP): Likewise.
72151 (R13_LP): Likewise.
72152 (R14_LP): Likewise.
72153 (R15_LP): Likewise.
72154
72155 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
72156
72157 * sysdeps/x86_64/x32/dl-machine.h: New file.
72158
72159 2012-05-14 Andreas Jaeger <aj@suse.de>
72160
72161 * manual/Makefile (subdir): Remove export of subdir.
72162 (all): Remove target.
72163 (.PHONY): Remove all from list.
72164 (mkinstalldirs): Remove.
72165 (.PHONY): Remove installdirs from list.
72166 ($(inst_infodir)/libc.info): Use make-target-directory.
72167 (installdirs): Remove.
72168 (subdir_%): Remove.
72169 (glibc-targets): Remove.
72170 (lib): Remove.
72171 (stubs): Remove.
72172 ($(objpfx)stubs ../po/manual.pot): Remove.
72173 ($(objpfx)stamp%): Remove.
72174 (make-target-directory): Remove.
72175 (subdir_install): Remove.
72176 (routines): Remove.
72177 (aux): Remove.
72178 (sources): Remove.
72179 (objects): Remove.
72180 (headers): Remove.
72181
72182 [BZ #13750]
72183 * manual/.gitignore: Remove, it's not needed anymore.
72184 * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
72185 all files in it.
72186 * manual/Makefile (dvi, pdf, info, html): Depend on files in build
72187 directory.
72188 (texis): Renamed to $(objpfx)texis.
72189 (texis-path): New, contains path to generated files.
72190 (chapters.%): Use texis-path for complete path, add extra argument
72191 libc-texinfo.sh.
72192 (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
72193 (libc/index.html, summary.texi): Add $(objpfx) as prefix.
72194 (summary,texi, stamp-summary): Use complete path of
72195 files. Generate files in build dir.
72196 (dir-add.texi): Build in build dir.
72197 (libm-err.texi,stamp-libm-err): Likewise.
72198 (version.texi, stamp-version): Likewise.
72199 (.%c.texi): Likewise.
72200 (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
72201 (mostlyclean): Remove target.
72202 (realclean): Remove target.
72203 (generated): Add new variable with contents from mostlyclean and
72204 realclean, remove entries duplicated in common-mostlyclean, add
72205 stamp-libm-err and stamp-version.
72206 (generated-dirs): Add libc directory.
72207 ($(inst_infodir)/libc.info): Install files from build dir.
72208
72209 * manual/install.texi (Configuring and compiling): Adjust since
72210 the info files are not part of the tar ball anymore.
72211
72212 2012-05-14 Andreas Jaeger <aj@suse.de>
72213
72214 * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
72215 variable.
72216
72217 2012-05-14 Joseph Myers <joseph@codesourcery.com>
72218
72219 [BZ #13717]
72220 * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
72221 to 2.2.0 where earlier.
72222 * sysdeps/unix/sysv/linux/configure: Regenerated.
72223 * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
72224 Remove conditional code.
72225 [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
72226 * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
72227 Remove conditional code.
72228 [!__NR_lchown]: Likewise.
72229 [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
72230 [__NR_lchown]: Likewise.
72231 * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
72232 comment referencing __ASSUME_LCHOWN_SYSCALL.
72233 * sysdeps/unix/sysv/linux/i386/sigaction.c
72234 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72235 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72236 * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
72237 Remove conditional code.
72238 [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
72239 (__protocol_available): Remove #if 0 code.
72240 * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
72241 conditional code.
72242 [__ASSUME_SIOCGIFNAME]: Make code unconditional.
72243 * sysdeps/unix/sysv/linux/kernel-features.h
72244 (__ASSUME_GETCWD_SYSCALL): Don't define.
72245 (__ASSUME_REALTIME_SIGNALS): Likewise.
72246 (__ASSUME_PREAD_SYSCALL): Likewise.
72247 (__ASSUME_PWRITE_SYSCALL): Likewise.
72248 (__ASSUME_POLL_SYSCALL): Likewise.
72249 (__ASSUME_LCHOWN_SYSCALL): Likewise.
72250 (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
72251 non-SPARC.
72252 (__ASSUME_SIOCGIFNAME): Don't define.
72253 (__ASSUME_MSG_NOSIGNAL): Likewise.
72254 (__ASSUME_SENDFILE): Define unconditionally.
72255 (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
72256 * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
72257 conditional code.
72258 [__ASSUME_POLL_SYSCALL]: Make code unconditional.
72259 * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
72260 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
72261 (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
72262 * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
72263 [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
72264 (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
72265 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
72266 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72267 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72268 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
72269 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72270 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72271 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
72272 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72273 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72274 * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
72275 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72276 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72277 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
72278 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72279 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72280 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
72281 [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
72282 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72283 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
72284 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72285 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72286 * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
72287 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72288 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72289 * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
72290 Remove conditional code.
72291 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72292 * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
72293 Remove conditional code.
72294 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72295 * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
72296 [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
72297 * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
72298 Remove conditional code.
72299 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72300 * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
72301 Remove conditional code.
72302 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72303 * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
72304 Remove conditional code.
72305 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72306 * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
72307 Remove conditional code.
72308 [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
72309 * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
72310 Remove conditional code.
72311 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72312 * sysdeps/unix/sysv/linux/sh/pwrite64.c
72313 [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
72314 [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
72315 * sysdeps/unix/sysv/linux/sigaction.c
72316 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72317 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72318 * sysdeps/unix/sysv/linux/sigpending.c
72319 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72320 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72321 * sysdeps/unix/sysv/linux/sigprocmask.c
72322 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72323 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72324 * sysdeps/unix/sysv/linux/sigsuspend.c
72325 [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
72326 [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
72327 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
72328 (__libc_missing_rt_sigs): Remove.
72329 (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
72330 (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
72331 * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
72332 Remove conditional code.
72333 [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
72334 * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
72335 return 1.
72336 * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
72337 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
72338 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
72339 [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
72340
72341 2012-05-14 Andreas Jaeger <aj@suse.de>
72342
72343 * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
72344 it's not used in glibc.
72345 (__coshm1): Likewise.
72346 (__acosh1p): Likewise.
72347 (__sgn): Likewise.
72348
72349 * manual/string.texi (Copying and Concatenation): Add missing
72350 variable in concat example.
72351 Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
72352
72353 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
72354
72355 [BZ #14103]
72356 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
72357 __builtin_clzl with __builtin_clzll.
72358
72359 2012-05-14 H.J. Lu <hongjiu.lu@intel.com>
72360
72361 [BZ #14104]
72362 * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
72363 libc_freeres_ptr.
72364
72365 2012-05-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
72366
72367 * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
72368 * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
72369 * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
72370 * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
72371
72372 2012-05-14 Mike Frysinger <vapier@gentoo.org>
72373
72374 * NEWS: Update ia64 info.
72375
72376 2012-05-12 Andreas Schwab <schwab@linux-m68k.org>
72377
72378 * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
72379 used as bcopy.
72380
72381 2012-05-12 Thomas Schwinge <thomas@codesourcery.com>
72382
72383 * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
72384 * sysdeps/unix/syscalls.list (dup3): Likewise.
72385 * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
72386 * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
72387
72388 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
72389
72390 * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
72391 "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
72392
72393 2012-05-11 H.J. Lu <hongjiu.lu@intel.com>
72394
72395 * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
72396 thread pointer.
72397 (TLS_IE): Use mov/add instead of movq/addq to load thread
72398 pointer.
72399 (TLS_GD_PREFIX): New.
72400 (TLS_GD): Use it.
72401
72402 2012-05-11 David S. Miller <davem@davemloft.net>
72403
72404 * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
72405 * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
72406 (_FPU_SETCW): Likewise.
72407
72408 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
72409
72410 * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
72411 is 32-byte aligned.
72412
72413 2012-05-11 Andreas Schwab <schwab@linux-m68k.org>
72414
72415 [BZ #11837]
72416 * iconvdata/gb18030.c: Update tables.
72417 (BODY for FROM_LOOP): Update. Handle two-byte encoded non-BMP
72418 characters specially.
72419 (BODY for TO_LOOP): Add encoding of missing ranges.
72420
72421 2012-05-11 Thomas Schwinge <thomas@codesourcery.com>
72422
72423 [BZ #13673]
72424 * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
72425 * sysdeps/mach/hurd/dup3.c: Likewise.
72426 * sysdeps/mach/hurd/readlinkat.c: Likewise.
72427 * sysdeps/powerpc/memmove.c:: Likewise.
72428
72429 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
72430
72431 * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
72432 R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
72433
72434 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
72435
72436 * elf/elf.h (R_X86_64_RELATIVE64): New.
72437 (R_X86_64_NUM): Updated.
72438 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
72439 R_X86_64_RELATIVE64. Always use Elf64_Addr with R_X86_64_64.
72440 (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
72441 * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
72442 tst-quad1pie tst-quad2pie
72443 (modules-names): Add tst-quadmod1 tst-quadmod2.
72444 ($(objpfx)tst-quad1): New dependency.
72445 ($(objpfx)tst-quad2): Likewise.
72446 ($(objpfx)tst-quad1pie): Likewise.
72447 ($(objpfx)tst-quad2pie): Likewise.
72448 * sysdeps/x86_64/tst-quad1.c: New file.
72449 * sysdeps/x86_64/tst-quad1pie.c: New file.
72450 * sysdeps/x86_64/tst-quad2.c: Likewise.
72451 * sysdeps/x86_64/tst-quad2pie.c: Likewise.
72452 * sysdeps/x86_64/tst-quadmod1.S: Likewise.
72453 * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
72454 * sysdeps/x86_64/tst-quadmod2.S: Likewise.
72455 * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
72456
72457 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72458
72459 * io/fcntl.h (mode_t, off_t, pid_t): Define types.
72460 (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
72461 * streams/stropts.h (t_scalar_t): Define type.
72462
72463 * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
72464 (_PATH_PRESERVE): Set to "/var/lib".
72465 (_PATH_RWHODIR): Set to "/var/spool/rwho".
72466
72467 * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
72468 instead of int.
72469
72470 * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
72471 if __dir_mkfile succeeded.
72472
72473 * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
72474 checking for _hurd_dtablesize. Unlock it right after having
72475 finished _hurd_dtable allocation.
72476
72477 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72478
72479 * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
72480 * sysdeps/mach/hurd/configure: Regenerated.
72481 * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
72482 special-casing to...
72483 * sysdeps/gnu/configure.in: ... this new file.
72484 * sysdeps/unix/sysv/linux/configure: Regenerated.
72485 * sysdeps/gnu/configure: New generated file.
72486
72487 * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
72488 for Linux: use nsec instead of usec, as well as:
72489 [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
72490 members of type struct timespec.
72491 [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
72492 New macros.
72493 (struct stat64): Likewise.
72494 (_STATBUF_ST_NSEC): New macro.
72495 * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
72496
72497 * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
72498 __strtoul_internal rather than strtoul.
72499
72500 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72501
72502 * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
72503 and reject them.
72504
72505 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72506
72507 * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
72508 which preserves existing values.
72509 * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
72510
72511 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72512
72513 * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
72514 TIMEOUT values. Return EINVAL for NFDS values either negative or
72515 greater than FD_SETSIZE.
72516
72517 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72518
72519 * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
72520 allocated, call __vm_protect to finish enabling the existing space, and
72521 pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
72522 allocate the remainder.
72523
72524 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72525
72526 * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
72527 address port. Set ADDR_LEN to 0 when not filling ADDRARG.
72528
72529 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72530
72531 * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
72532 sysdeps/mach/hurd/readlink.c.
72533
72534 * posix/tst-sysconf.c (posix_options): Only use
72535 _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
72536 _POSIX_SYNCHRONIZED_IO when they are defined
72537 * sysdeps/mach/hurd/bits/posix_opt.h:
72538 (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
72539 (_XOPEN_REALTIME): Undefine macro.
72540 (_XOPEN_REALTIME_THREADS): Undefine macro.
72541 (_XOPEN_SHM): Undefine macro.
72542 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
72543 macro to -1.
72544 [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
72545 macro to -1.
72546 (_POSIX_ASYNC_IO): Undefine macro.
72547 (_POSIX_PRIORITIZED_IO): Undefine macro.
72548 (_POSIX_SPIN_LOCKS): Define macro to -1.
72549
72550 * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
72551 SA_NODEFER, SA_RESETHAND.
72552 * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
72553 O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
72554 F_DUPFD_CLOEXEC.
72555
72556 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72557
72558 * elf/Makefile (pldd-modules): Define unconditionally.
72559
72560 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72561
72562 * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
72563
72564 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72565
72566 * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
72567 Return ENOENT when name is empty.
72568 * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
72569
72570 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72571
72572 * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
72573
72574 * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
72575
72576 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72577
72578 Fix mlock in all cases except non-readable pages.
72579 * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
72580 instead of VM_PROT_ALL as parameter to __vm_wire function.
72581
72582 * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
72583 (__mkdir): When path is `/', just fail with EEXIST.
72584 * sysdeps/mach/hurd/mkdirat.c: Likewise.
72585
72586 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72587
72588 * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
72589 <sys/uio.h> (for writev).
72590 * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
72591 and <sys/param.h> (for MIN).
72592
72593 2012-05-10 Pino Toscano <toscano.pino@tiscali.it>
72594
72595 * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
72596 REQUESTED_TIME. Properly set the remaining time and return EINTR
72597 if interrupted.
72598
72599 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72600
72601 * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
72602 Depend on against $(link-rpcuserlibs).
72603
72604 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72605
72606 * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
72607 (__libc_stack_end): Do not use attribute_relro.
72608 * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
72609 * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
72610 to libthread-provided value.
72611 * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
72612 attribute_relro.
72613
72614 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72615
72616 [BZ #3748]
72617 * bits/libc-lock.h (__libc_once_get): New macro.
72618 * sysdeps/mach/bits/libc-lock.h: Likewise.
72619 * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
72620 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
72621 instead of using implementation details.
72622
72623 * libio/fileops.c: Unconditionally include <kernel-features.h>.
72624 * libio/freopen.c: Likewise.
72625 * libio/freopen64.c: Likewise.
72626 * misc/syslog.c: Likewise.
72627 * nscd/connections.c: Likewise.
72628 * nscd/netgroupcache.c: Likewise.
72629 * sysdeps/posix/getcwd.c: Likewise.
72630
72631 2012-05-10 Roland McGrath <roland@hack.frob.com>
72632
72633 * math/w_ilogbf.c: Add #include <limits.h>.
72634
72635 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72636
72637 * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
72638 path instead of returning without unlocking.
72639
72640 * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
72641 immediate-write ioctls.
72642 * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
72643
72644 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72645
72646 * sysdeps/mach/hurd/i386/init-first.c (init): Use
72647 __builtin_frame_address instead of making assumptions about the
72648 location of the return address relative to DATA. Force early load of
72649 the return address.
72650 (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
72651 __builtin_frame_address.
72652
72653 dup3 for GNU Hurd.
72654 * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
72655 * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c. Evolve it to
72656 implement dup3 and do some further code clean-ups.
72657 * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
72658 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
72659
72660 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72661
72662 * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
72663
72664 * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
72665 HURD_CRITICAL_END around holding _hurd_dtable_lock.
72666 * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
72667 * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
72668 HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
72669 d->port.lock.
72670
72671 * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
72672 instead of setjmp/longjmp to restore the signal mask. Call sigsetjmp
72673 when handler == SIG_ERR, not when handler != SIG_ERR.
72674
72675 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72676
72677 * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
72678 (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
72679 definitions.
72680
72681 accept4 for GNU Hurd.
72682 * include/sys/socket.h (__libc_accept4): New prototype.
72683 * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c. Evolve it
72684 to implement __libc_accept4.
72685 * sysdeps/mach/hurd/accept.c (accept): Reimplement using
72686 __libc_accept4.
72687 * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
72688
72689 * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
72690 * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
72691 * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
72692 signal-defines.sym.
72693
72694 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72695
72696 * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
72697
72698 2012-05-10 Thomas Schwinge <thomas@schwinge.name>
72699
72700 * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
72701 assertion on O_CLOEXEC flag.
72702 * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
72703 * hurd/intern-fd.c: Likewise.
72704 * hurd/port2fd.c: Likewise.
72705
72706 2012-05-10 Samuel Thibault <samuel.thibault@ens-lyon.org>
72707
72708 [BZ #3906]
72709 * bits/in.h (IPV6_PKTINFO): Define new macro.
72710 (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
72711
72712 2012-05-09 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
72713
72714 [BZ #13954]
72715 [BZ #13955]
72716 [BZ #13956]
72717 * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
72718 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
72719 * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
72720 * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
72721 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
72722 * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
72723 * math/libm-test.inc (logb_test) : Additional logb tests.
72724
72725 2012-05-09 Andreas Schwab <schwab@linux-m68k.org>
72726 Andreas Jaeger <aj@suse.de>
72727
72728 * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
72729 * configure: Regenerated.
72730 * config.h.in (LINK_OBSOLETE_RPC): New macro.
72731 * config.make.in (link-obsolete-rpc): New substituted variable.
72732 * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
72733 libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
72734 * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72735 (shared-only-routines): Don't set it under [link-obsolete-rpc],
72736 so that libc.a contains the symbols.
72737 * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
72738 * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
72739 * sunrpc/auth_none.c: Likewise.
72740 * sunrpc/auth_unix.c: Likewise.
72741 * sunrpc/authdes_prot.c: Likewise.
72742 * sunrpc/authuxprot.c: Likewise.
72743 * sunrpc/clnt_gen.c: Likewise.
72744 * sunrpc/clnt_perr.c: Likewise.
72745 * sunrpc/clnt_raw.c: Likewise.
72746 * sunrpc/clnt_simp.c: Likewise.
72747 * sunrpc/clnt_tcp.c: Likewise.
72748 * sunrpc/clnt_udp.c: Likewise.
72749 * sunrpc/clnt_unix.c: Likewise.
72750 * sunrpc/des_crypt.c: Likewise.
72751 * sunrpc/des_soft.c: Likewise.
72752 * sunrpc/get_myaddr.c: Likewise.
72753 * sunrpc/key_call.c: Likewise.
72754 * sunrpc/key_prot.c: Likewise.
72755 * sunrpc/netname.c: Likewise.
72756 * sunrpc/pm_getmaps.c: Likewise.
72757 * sunrpc/pm_getport.c: Likewise.
72758 * sunrpc/pmap_clnt.c: Likewise.
72759 * sunrpc/pmap_prot.c: Likewise.
72760 * sunrpc/pmap_prot2.c: Likewise.
72761 * sunrpc/pmap_rmt.c: Likewise.
72762 * sunrpc/publickey.c: Likewise.
72763 * sunrpc/rpc_cmsg.c: Likewise.
72764 * sunrpc/rpc_common.c: Likewise.
72765 * sunrpc/rpc_dtable.c: Likewise.
72766 * sunrpc/rpc_prot.c: Likewise.
72767 * sunrpc/rpc_thread.c: Likewise.
72768 * sunrpc/rtime.c: Likewise.
72769 * sunrpc/svc.c: Likewise.
72770 * sunrpc/svc_auth.c: Likewise.
72771 * sunrpc/svc_raw.c: Likewise.
72772 * sunrpc/svc_run.c: Likewise.
72773 * sunrpc/svc_tcp.c: Likewise.
72774 * sunrpc/svc_udp.c: Likewise.
72775 * sunrpc/svc_unix.c: Likewise.
72776 * sunrpc/svcauth_des.c: Likewise.
72777 * sunrpc/xcrypt.c: Likewise.
72778 * sunrpc/xdr.c: Likewise.
72779 * sunrpc/xdr_array.c: Likewise.
72780 * sunrpc/xdr_float.c: Likewise.
72781 * sunrpc/xdr_intXX_t.c: Likewise.
72782 * sunrpc/xdr_mem.c: Likewise.
72783 * sunrpc/xdr_rec.c: Likewise.
72784 * sunrpc/xdr_ref.c: Likewise.
72785 * sunrpc/xdr_sizeof.c: Likewise.
72786 * sunrpc/xdr_stdio.c: Likewise.
72787
72788 2012-05-10 Roland McGrath <roland@hack.frob.com>
72789
72790 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
72791 change. Update copyright years.
72792
72793 2012-05-10 Joseph Myers <joseph@codesourcery.com>
72794
72795 * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
72796
72797 2012-05-10 Maxim Kuvyrkov <maxim@codesourcery.com>
72798 Joseph Myers <joseph@codesourcery.com>
72799 Paul Pluzhnikov <ppluzhnikov@google.com>
72800
72801 [BZ #14012]
72802 * sunrpc/Makefile [cross-compiling] (headers): Enable additions
72803 requiring rpcgen.
72804 [cross-compiling] (extra-libs): Likewise.
72805 [cross-compiling] (extra-libs-others): Likewise.
72806 [cross-compiling] (librpcsvc-routines): Likewise.
72807 [cross-compiling] (librpcsvc-inhibit-o): Likewise.
72808 [cross-compiling] (omit-deps): Likewise.
72809 (sunrpc-CPPFLAGS): New variable.
72810 (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
72811 (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
72812 (cross-rpcgen-objs): New variable.
72813 (extra-objs): Append $(cross-rpcgen-objs).
72814 ($(cross-rpcgen-objs)): New rule.
72815 ($(objpfx)cross-rpcgen): Likewise.
72816 (rpcgen-cmd): Define to use $(built-program-file). Expand
72817 comment.
72818 ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
72819 ($(objpfx)x%.stmp): Likewise.
72820 * sunrpc/proto.h [IS_IN_build] (_): Define.
72821 [IS_IN_build] (_libc_intl_domainname): Likewise.
72822
72823 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
72824
72825 * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
72826 Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
72827 and R_X86_64_TPOFF64.
72828
72829 2012-05-10 Joseph Myers <joseph@codesourcery.com>
72830
72831 * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
72832 sysdeps/unix/sysv/syscalls.list.
72833 (stime): Likewise.
72834 (utime): Likewise.
72835 * sysdeps/unix/sysv/syscalls.list: Remove file.
72836
72837 2012-05-10 Paul Eggert <eggert@cs.ucla.edu>
72838
72839 [BZ #3440]
72840 * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
72841 (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
72842 (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
72843 (__LC_IDENTIFICATION): Make these macros useful in #if
72844 expressions, as required by C99.
72845
72846 2012-05-10 Andreas Schwab <schwab@linux-m68k.org>
72847
72848 * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
72849 $(addsuffix .os,$(rpc-compat-routines)). Move include ../Rules
72850 after this.
72851
72852 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
72853
72854 * stdlib/longlong.h: Updated from GCC.
72855
72856 2012-05-09 Andreas Jaeger <aj@suse.de>
72857
72858 * nscd/nscd.c (run_modes): Make named enum, reorder so that
72859 default is first entry.
72860 (run_mode): Set type.
72861 (main): Remove informal message about syslog.
72862 (options): Fix typo.
72863
72864 [BZ #14053]
72865 * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
72866 to asm.
72867 (lrint): Likewise.
72868 (llrintf): Likewise.
72869 (llrint): Likewise.
72870 (rint): Likewise.
72871 (rintf): Likewise.
72872 (nearbyint): Likewise.
72873 (nearbyintf): Likewise.
72874
72875 2012-05-09 Andreas Jaeger <aj@suse.de>
72876 Pedro Alves <palves@redhat.com>
72877
72878 * nscd/nscd.c (run_mode): Use enum.
72879 (main): Cleanup coding style issue.
72880
72881 2012-05-09 Alexandre Oliva <aoliva@redhat.com>
72882 Andreas Jaeger <aj@suse.de>
72883
72884 * nscd/nscd.c (go_background): Replaced with...
72885 (run_mode): ... this.
72886 (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
72887 (options): Add -F --foreground.
72888 (main): Implement it.
72889 (parse_opt): Parse it.
72890
72891 2012-05-09 Andreas Jaeger <aj@suse.de>
72892
72893 [BZ #14083]
72894 * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
72895 !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
72896 -Wconversion warning.
72897 (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
72898 Likewise.
72899
72900 2012-05-09 Joseph Myers <joseph@codesourcery.com>
72901
72902 * conform/data/locale.h-data (NULL): Use macro-constant. Require
72903 == 0.
72904 (LC_ALL): Use macro-int-constant.
72905 (LC_COLLATE): Likewise.
72906 (LC_CTYPE): Likewise.
72907 (LC_MESSAGES): Likewise.
72908 (LC_MONETARY): Likewise.
72909 (LC_NUMERIC): Likewise.
72910 (LC_TIME): Likewise.
72911 [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
72912 (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
72913 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72914 * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
72915 Specify type.
72916 [C99-based standards] (float_t): Expect type.
72917 [C99-based standards] (double_t): Expect type.
72918 [C99-based standards] (HUGE_VALF): Use macro-constant. Specify
72919 type.
72920 [C99-based standards] (HUGE_VALL): Likewise.
72921 [C99-based standards] (INFINITY): Likewise.
72922 [C99-based standards] (NAN): Likewise.
72923 [C99-based standards] (FP_INFINITE): Use macro-int-constant.
72924 [C99-based standards] (FP_NAN): Likewise.
72925 [C99-based standards] (FP_NORMAL): Likewise.
72926 [C99-based standards] (FP_SUBNORMAL): Likewise.
72927 [C99-based standards] (FP_ZERO): Likewise.
72928 [C99-based standards] (FP_FAST_FMA): Use
72929 optional-macro-int-constant. Specify type. Require == 1.
72930 [C99-based standards] (FP_FAST_FMAF): Likewise.
72931 [C99-based standards] (FP_FAST_FMAL): Likewise.
72932 [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
72933 [C99-based standards] (FP_ILOGBNAN): Likewise.
72934 [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
72935 Specify type.
72936 [C99-based standards] (MATH_ERREXCEPT): Likewise.
72937 [C99-based standards] (math_errhandling): Specify type.
72938 [ISO99 || ISO11] (signgam): Do not allow.
72939 [non-C99-based standards] (copysignf): Do not allow.
72940 [non-C99-based standards] (exp2f): Likewise.
72941 [non-C99-based standards] (log2f): Likewise.
72942 [non-C99-based standards] (modff): Allow.
72943 [non-C99-based standards] (erff): Do not allow.
72944 [non-C99-based standards] (erfcf): Likewise.
72945 [non-C99-based standards] (gammaf): Likewise.
72946 [non-C99-based standards] (hypotf): Likewise.
72947 [non-C99-based standards] (j0f): Likewise.
72948 [non-C99-based standards] (j1f): Likewise.
72949 [non-C99-based standards] (jnf): Likewise.
72950 [non-C99-based standards] (lgammaf): Likewise.
72951 [non-C99-based standards] (tgammaf): Likewise.
72952 [non-C99-based standards] (y0f): Likewise.
72953 [non-C99-based standards] (y1f): Likewise.
72954 [non-C99-based standards] (ynf): Likewise.
72955 [non-C99-based standards] (isnanf): Likewise.
72956 [non-C99-based standards] (acoshf): Likewise.
72957 [non-C99-based standards] (asinhf): Likewise.
72958 [non-C99-based standards] (atanhf): Likewise.
72959 [non-C99-based standards] (cbrtf): Likewise.
72960 [non-C99-based standards] (expm1f): Likewise.
72961 [non-C99-based standards] (ilogbf): Likewise.
72962 [non-C99-based standards] (log1pf): Likewise.
72963 [non-C99-based standards] (logbf): Likewise.
72964 [non-C99-based standards] (nextafterf): Likewise.
72965 [non-C99-based standards] (remainderf): Likewise.
72966 [non-C99-based standards] (rintf): Likewise.
72967 [non-C99-based standards] (scalbf): Likewise.
72968 [non-C99-based standards] (copysignl): Likewise.
72969 [non-C99-based standards] (exp2l): Likewise.
72970 [non-C99-based standards] (log2l): Likewise.
72971 [non-C99-based standards] (modfl): Allow.
72972 [non-C99-based standards] (erfl): Do not allow.
72973 [non-C99-based standards] (erfcl): Likewise.
72974 [non-C99-based standards] (gammal): Likewise.
72975 [non-C99-based standards] (hypotl): Likewise.
72976 [non-C99-based standards] (j0l): Likewise.
72977 [non-C99-based standards] (j1l): Likewise.
72978 [non-C99-based standards] (jnl): Likewise.
72979 [non-C99-based standards] (lgammal): Likewise.
72980 [non-C99-based standards] (tgammal): Likewise.
72981 [non-C99-based standards] (y0l): Likewise.
72982 [non-C99-based standards] (y1l): Likewise.
72983 [non-C99-based standards] (ynl): Likewise.
72984 [non-C99-based standards] (isnanl): Likewise.
72985 [non-C99-based standards] (acoshl): Likewise.
72986 [non-C99-based standards] (asinhl): Likewise.
72987 [non-C99-based standards] (atanhl): Likewise.
72988 [non-C99-based standards] (cbrtl): Likewise.
72989 [non-C99-based standards] (expm1l): Likewise.
72990 [non-C99-based standards] (ilogbl): Likewise.
72991 [non-C99-based standards] (log1pl): Likewise.
72992 [non-C99-based standards] (logbl): Likewise.
72993 [non-C99-based standards] (nextafterl): Likewise.
72994 [non-C99-based standards] (remainderl): Likewise.
72995 [non-C99-based standards] (rintl): Likewise.
72996 [non-C99-based standards] (scalbl): Likewise.
72997 [ISO || ISO99 || ISO11] (*_t): Do not allow.
72998 [non-C99-based standards] (FP_*): Do not allow.
72999 [C99-based standards] (FP_*): Change to
73000 FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
73001 * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
73002 allow.
73003 * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
73004 (SIG_ERR): Likewise.
73005 [X/Open-based standards] (SIG_HOLD): Likewise.
73006 (SIG_IGN): Likewise.
73007 (SIGABRT): Use macro-int-constant. Specify type. Require
73008 positive value.
73009 (SIGFPE): Likewise.
73010 (SIGILL): Likewise.
73011 (SIGINT): Likewise.
73012 (SIGSEGV): Likewise.
73013 (SIGTER): Likewise.
73014 [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
73015 [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
73016 [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
73017 [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
73018 [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
73019 [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
73020 [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
73021 [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
73022 [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
73023 [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
73024 [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
73025 [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
73026 [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
73027 [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
73028 [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
73029 [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
73030 [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
73031 [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
73032 [X/Open-based standards] (SIGTRAP): Likewise.
73033 [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
73034 [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
73035 [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
73036 [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
73037 * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
73038 allow.
73039
73040 2012-05-08 Ian Wienand <ianw@vmware.com>
73041
73042 [BZ #14080]
73043 * time/tzset.c (__tzset_parse_tz): Update default rules for
73044 daylight time changes in the Energy Policy Act of 2005.
73045
73046 2012-05-09 Andreas Jaeger <aj@suse.de>
73047
73048 [BZ #13983]
73049 * elf/ldconfig.c (parse_conf): Change string to make clear that
73050 ldconfig only issued a warning if ld.so.conf does not exist.
73051
73052 2012-05-08 David S. Miller <davem@davemloft.net>
73053
73054 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
73055 movxtod instead of popping the value on the stack.
73056
73057 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73058
73059 2012-05-08 Carlos O'Donell <carlos_odonell@mentor.com>
73060
73061 * config.h.in: Add HAVE_ARM_PCS_VFP.
73062
73063 2012-05-08 Roland Mc Grath <roland@hack.frob.com>
73064
73065 [BZ #13979]
73066 * include/features.h: Warn if user requests __FORTIFY_SOURCE
73067 checking but the checks are disabled for any reason.
73068
73069 2012-05-08 H.J. Lu <hongjiu.lu@intel.com>
73070
73071 * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
73072 and ELF64_R_TYPE with ELFW(R_TYPE).
73073
73074 2012-05-08 Joseph Myers <joseph@codesourcery.com>
73075
73076 * sysdeps/unix/sysv/syscalls.list (pause): Remove.
73077 (ulimit): Likewise.
73078
73079 * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
73080 (settimeofday): Likewise.
73081
73082 2012-05-08 Mike Frysinger <vapier@gentoo.org>
73083
73084 * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1. Add
73085 a struct th_u2 inside the union, and move tu_block/tu_code into
73086 a new th_u3 union of tu_block/tu_code inside of that. Move
73087 th_data[1] into the th_u2 as tu_data[0]. Change tu_stuff[1] to
73088 tu_stuff[0]. Add a new tu_padding[4] to keep sizeof() the same.
73089 (th_block): Change to th_u1.th_u2.th_u3.tu_block.
73090 (th_code): Change to th_u1.th_u2.th_u3.tu_code.
73091 (th_stuff): Change to th_u1.tu_stuff.
73092 (th_data): Define.
73093 (th_msg): Change to th_u1.th_u2.tu_data.
73094
73095 2012-05-07 David S. Miller <davem@davemloft.net>
73096
73097 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73098
73099 [BZ #14074]
73100 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
73101 (SETUP_PIC_REG): Use it.
73102 (SETUP_PIC_REG_LEAF): Use it.
73103
73104 2012-05-07 Joseph Myers <joseph@codesourcery.com>
73105
73106 [BZ #13885]
73107 [BZ #13923]
73108 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
73109 USE_AS_EXPM1L.
73110 (EXPL_FINITE): Likewise.
73111 (FLDLOG): Likewise.
73112 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
73113 * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
73114 e_expl.S.
73115 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
73116 USE_AS_EXPM1L.
73117 (EXPL_FINITE): Likewise.
73118 (FLDLOG): Likewise.
73119 (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
73120 * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
73121 e_expl.S.
73122 * math/libm-test.inc (expm1_test): Add more tests. Do not disable
73123 test of -max_value argument for long double.
73124 * sysdeps/i386/fpu/libm-test-ulps: Update.
73125 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73126
73127 2012-05-06 David S. Miller <davem@davemloft.net>
73128
73129 * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
73130 quad soft-float symbols whose references which are compiler
73131 generated.
73132 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
73133
73134 2012-05-06 Joseph Myers <joseph@codesourcery.com>
73135
73136 [BZ #13884]
73137 [BZ #13914]
73138 * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
73139 USE_AS_EXP10L.
73140 (EXPL_FINITE): Likewise.
73141 (FLDLOG): Likewise.
73142 (c0): Likewise.
73143 (c1): Likewise.
73144 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
73145 Adjust comments for base varying.
73146 (__expl_finite): Change alias to EXPL_FINITE.
73147 * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
73148 e_expl.S.
73149 * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
73150 * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
73151 * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
73152 * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
73153 * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
73154 USE_AS_EXP10L.
73155 (EXPL_FINITE): Likewise.
73156 (FLDLOG): Likewise.
73157 (c0): Likewise.
73158 (c1): Likewise.
73159 (__ieee754_expl): Change to IEEE754_EXPL. Use FLDLOG macro.
73160 Adjust comments for base varying.
73161 (__expl_finite): Change alias to EXPL_FINITE.
73162 * math/libm-test.inc (exp10_test): Add more tests. Do not disable
73163 tests for bugs.
73164 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73165
73166 [BZ #14064]
73167 * math/libm-test.inc (check_float_internal): Correct ulp
73168 calculation for subnormal expected results.
73169
73170 2012-05-06 Andreas Jaeger <aj@suse.de>
73171
73172 * Makeconfig (+math-flags): New, set to -frounding-math.
73173 (+cflags): Add +math-flags so that all of glibc gets compiled with
73174 it.
73175
73176 * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
73177
73178 2012-05-05 Joseph Myers <joseph@codesourcery.com>
73179
73180 * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
73181 Disable one test.
73182
73183 [BZ #13787]
73184 [BZ #13922]
73185 [BZ #14036]
73186 * sysdeps/i386/fpu/e_expl.S (csat): New constant.
73187 (__ieee754_expl): Allow for and saturate large arguments.
73188 * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
73189 (u_threshold): Likewise.
73190 (__exp): Call __ieee754_exp before checking for overflow and
73191 underflow.
73192 * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
73193 (u_threshold): Likewise.
73194 (__expf): Call __ieee754_expf before checking for overflow and
73195 underflow.
73196 * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
73197 (u_threshold): Likewise.
73198 (__expl): Call __ieee754_expl before checking for overflow and
73199 underflow.
73200 * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
73201 (__ieee754_expl): Allow for and saturate large arguments.
73202 * math/libm-test.inc (exp_test): Add another test. Do not allow
73203 missing overflow exception on overflow.
73204 (expm1_test): Do not allow missing overflow exception on overflow.
73205
73206 * sysdeps/i386/fpu/e_expl.c: Move to ...
73207 * sysdeps/i386/fpu/e_expl.S: ... here. Write directly in assembly
73208 rather than using inline asm.
73209 * sysdeps/x86_64/fpu/e_expl.c: Remove file.
73210 * sysdeps/x86_64/fpu/e_expl.S: Copy from
73211 sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
73212
73213 * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
73214 (nice): Likewise.
73215 (poll): Likewise.
73216 (signal): Likewise.
73217 (time): Likewise.
73218 (times): Likewise.
73219
73220 2012-05-04 Joseph Myers <joseph@codesourcery.com>
73221
73222 * sysdeps/unix/syscalls.list (adjtime): Add entry from
73223 sysdeps/unix/common/syscalls.list.
73224 (fchmod): Likewise.
73225 (fchown): Likewise.
73226 (ftruncate): Likewise.
73227 (getrusage): Likewise.
73228 (gettimeofday): Likewise.
73229 (setpgid): Likewise.
73230 (setregid): Likewise.
73231 (setreuid): Likewise.
73232 (sigaction): Likewise.
73233 (truncate): Likewise.
73234 (vhangup): Likewise.
73235 * sysdeps/unix/common/syscalls.list: Remove file.
73236 * sysdeps/unix/bsd/Implies: Don't include unix/common.
73237 * sysdeps/unix/sysv/linux/Implies: Likewise.
73238
73239 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
73240
73241 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
73242 * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
73243 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
73244 Moved to ...
73245 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
73246 Here.
73247 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
73248 to ...
73249 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
73250 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
73251 to ...
73252 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
73253 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
73254 to ...
73255 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
73256 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
73257 to ...
73258 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
73259 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
73260 to ...
73261 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
73262 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
73263 to ...
73264 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
73265 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
73266 to ...
73267 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
73268 Here.
73269 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
73270 to ...
73271 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
73272 Here.
73273 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
73274 to ...
73275 * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
73276 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
73277 Moved to ...
73278 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
73279 Here.
73280 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
73281 to ...
73282 * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
73283
73284 2012-05-04 Joseph Myers <joseph@codesourcery.com>
73285
73286 * sysdeps/unix/common/bits/dirent.h: Remove file.
73287 * sysdeps/unix/common/bits/fcntl.h: Likewise.
73288
73289 * sysdeps/unix/bsd/bits/dirent.h: Remove file.
73290 * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
73291 * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
73292 * sysdeps/unix/bsd/isatty.c: Likewise.
73293 * sysdeps/unix/bsd/tcdrain.c: Likewise.
73294 * sysdeps/unix/bsd/tcgetattr.c: Likewise.
73295 * sysdeps/unix/bsd/tcsetattr.c: Likewise.
73296
73297 2012-05-04 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73298
73299 [BZ #13563]
73300 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
73301 long double comparison inaccuracies.
73302 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
73303 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
73304
73305 2012-05-04 Andreas Schwab <schwab@linux-m68k.org>
73306
73307 * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
73308 * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
73309
73310 2012-05-04 Joseph Myers <joseph@codesourcery.com>
73311
73312 [BZ #14049]
73313 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
73314 nonzero digits before rounding a hex value.
73315 * stdlib/tst-strtod.c (tests): Add another test.
73316
73317 2012-05-03 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
73318
73319 * sysdeps/s390/fpu/libm-test-ulps: Update.
73320
73321 2012-05-03 Andreas Jaeger <aj@suse.de>
73322
73323 * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
73324 does not get optimized out.
73325 (malloc_opt_barrier): New.
73326
73327 2012-05-03 Andreas Jaeger <aj@suse.de>
73328 Roland McGrath <roland@hack.frob.com>
73329
73330 * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
73331 intermediate file deletion.
73332 (generated): Add .symlist files.
73333
73334 2012-05-03 Joseph Myers <joseph@codesourcery.com>
73335
73336 [BZ #13775]
73337 * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
73338 Redirect under this condition.
73339 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
73340 [__USE_GNU] (__dprintf_chk): Not under this condition.
73341 [__USE_GNU] (__vdprintf_chk): Likewise.
73342 * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
73343 under this condition.
73344 [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
73345 [__USE_XOPEN2K8] (dprintf): Define under this condition.
73346 [__USE_XOPEN2K8] (vdprintf): Likewise.
73347 [__USE_GNU] (__dprintf_chk): Not under this condition.
73348 [__USE_GNU] (__vdprintf_chk): Likewise.
73349 [__USE_GNU] (dprintf): Likewise.
73350 [__USE_GNU] (vdprintf): Likewise.
73351
73352 2012-05-03 Roland McGrath <roland@hack.frob.com>
73353
73354 * elf/Makefile (common-generated): Set this instead of generated for
73355 .dyn, .phdr, .jmprel files. Remove $(common-objpfx) from the
73356 $(all-built-dso)-derived lists.
73357
73358 2012-05-03 Andreas Jaeger <aj@suse.de>
73359
73360 * sysdeps/i386/fpu/libm-test-ulps: Update.
73361
73362 * FAQ: Removed.
73363 * FAQ.in: Likewise.
73364 * scripts/gen-FAQ.pl: Likewise.
73365 * manual/install.texi (Installation): Point to online location of
73366 FAQ.
73367 * Makefile (files-for-dist): Remove FAQ.
73368 (FAQ): Remove.
73369
73370 2012-05-02 Allan McRae <allan@archlinux.org>
73371
73372 * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
73373 (LDFLAGS-reldepmod5.so): Likewise.
73374 (LDFLAGS-reldep6mod1.so): Likewise.
73375 (LDFLAGS-reldep6mod4.so): Likewise.
73376 (LDFLAGS-reldep8mod3.so): Likewise.
73377 (LDFLAGS-unload4mod1.so): Likewise.
73378 (LDFLAGS-unload4mod2.so): Likewise.
73379 (LDFLAGS-tst-initorder): Likewise.
73380 (LDFLAGS-tst-initordera2.so): Likewise.
73381 (LDFLAGS-tst-initordera3.so): Likewise.
73382 (LDFLAGS-tst-initordera4.so): Likewise.
73383 (LDFLAGS-tst-initorderb2.so): Likewise.
73384 (LDFLAGS-noload): Likewise.
73385 (LDFLAGS-next): Likewise.
73386 (LDFLAGS-order2mod1.so): Likewise.
73387 (LDFLAGS-order2mod2.so): Likewise.
73388 (LDFLAGS-tst-initorder2): Likewise.
73389 (LDFLAGS-tst-initorder2a.so): Likewise.
73390 (LDFLAGS-tst-initorder2b.so): Likewise.
73391 (LDFLAGS-tst-initorder2c.so): Likewise.
73392 * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
73393
73394 2012-05-02 David S. Miller <davem@davemloft.net>
73395
73396 * sysdeps/sparc/fpu/libm-test-ulps: Update.
73397
73398 2012-05-02 Paul Pluzhnikov <ppluzhnikov@google.com>
73399
73400 [BZ #14055]
73401 * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
73402
73403 2012-05-02 Andreas Jaeger <aj@suse.de>
73404
73405 * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
73406 since we manipulate rounding mode.
73407 (CPPFLAGS-test-idouble.c): Likewise.
73408 (CPPFLAGS-test-ifloat.c): Likewise.
73409 (CFLAGS-test-ldouble.c): Likewise.
73410 (CFLAGS-test-double.c): Likewise.
73411 (CFLAGS-test-float.c): Likewise.
73412 (CFLAGS-test-misc.c): Likewise.
73413 (CFLAGS-test-test-fenv.c): Likewise.
73414
73415 2012-05-02 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
73416
73417 [BZ #2550]
73418 [BZ #2570]
73419 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
73420 comparisons to determine direction to adjust input.
73421
73422 2012-05-01 Roland McGrath <roland@hack.frob.com>
73423
73424 * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
73425 output to the target.
73426
73427 * scripts/localplt.awk: New file.
73428 * elf/Makefile ($(objpfx)check-localplt): Target removed.
73429 (check-localplt-CFLAGS): Variable removed.
73430 ($(all-built-dso:=.jmprel)): New static pattern rule.
73431 (generated): Add those targets.
73432 (localplt-built-dso): New variable.
73433 ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
73434
73435 * elf/check-localplt.c: File removed.
73436
73437 * scripts/check-execstack.awk: New file.
73438 * elf/Makefile ($(objpfx)check-execstack): Target removed.
73439 (check-execstack-CFLAGS): Variable removed.
73440 ($(objpfx)check-execstack.h): Target removed.
73441 ($(objpfx)execstack-default): New target.
73442 (generated): Add that instead of check-execstack.h.
73443 ($(all-built-dso:=.phdr)): New static pattern rule.
73444 (generated): Add those targets.
73445 * elf/check-execstack.c: File removed.
73446
73447 * scripts/check-textrel.awk: New file.
73448 * elf/Makefile ($(objpfx)check-textrel): Target removed.
73449 (check-textrel-CFLAGS): Variable removed.
73450 (all-built-dso): Use := to define.o
73451 ($(all-built-dso:=.dyn)): New static pattern rule.
73452 (generated): Add those targets.
73453 ($(objpfx)check-textrel.out): Use the script on the .dyn files.
73454 * config.make.in (READELF): New substituted variable.
73455 * elf/check-textrel.c: File removed.
73456
73457 2012-05-01 Joseph Myers <joseph@codesourcery.com>
73458
73459 * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
73460 allow.
73461 * conform/data/ctype.h-data [C99-based standards] (isblank):
73462 Expect function.
73463 (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
73464 (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
73465 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73466 * conform/data/errno.h-data (EDOM): Use macro-int-constant.
73467 Specify type. Require positive value.
73468 (EILSEQ): Likewise.
73469 (ERANGE): Likewise.
73470 [ISO || POSIX] (EILSEQ): Do not expect.
73471 [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
73472 Specify type. Require positive value.
73473 [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
73474 [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
73475 [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
73476 [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
73477 [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
73478 [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
73479 [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
73480 [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
73481 [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
73482 [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
73483 [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
73484 [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
73485 [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
73486 [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
73487 [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
73488 [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
73489 [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
73490 [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
73491 [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
73492 [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
73493 [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
73494 [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
73495 [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
73496 [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
73497 [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
73498 [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
73499 [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
73500 [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
73501 [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
73502 [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
73503 [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
73504 [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
73505 [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
73506 [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
73507 [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
73508 [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
73509 [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
73510 [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
73511 [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
73512 [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
73513 [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
73514 [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
73515 [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
73516 [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
73517 [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
73518 [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
73519 [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
73520 [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
73521 [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
73522 [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
73523 [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
73524 [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
73525 [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
73526 [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
73527 [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
73528 [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
73529 [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
73530 [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
73531 [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
73532 [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
73533 [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
73534 [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
73535 [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
73536 [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
73537 [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
73538 [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
73539 [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
73540 [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
73541 [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
73542 [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
73543 [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
73544 [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
73545 [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
73546 [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
73547 [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
73548 [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
73549 * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
73550 Require >= 2.
73551 (FLT_ROUNDS): Expect as macro, not constant.
73552 (FLT_MANT_DIG): Use macro-int-constant.
73553 (DBL_MANT_DIG): Likewise.
73554 (LDBL_MANT_DIG): Likewise.
73555 (FLT_DIG): Likewise.
73556 (DBL_DIG): Likewise.
73557 (LDBL_DIG): Likewise.
73558 (FLT_MIN_EXP): Use macro-int-constant. Require < 0.
73559 (DBL_MIN_EXP): Likewise.
73560 (LDBL_MIN_EXP): Likewise.
73561 (FLT_MAX_EXP): Use macro-int-constant.
73562 (DBL_MAX_EXP): Likewise.
73563 (LDBL_MAX_EXP): Likewise.
73564 (FLT_MAX_10_EXP): Likewise.
73565 (DBL_MAX_10_EXP): Likewise.
73566 (LDBL_MAX_10_EXP): Likewise.
73567 (FLT_MAX): Use macro-constant.
73568 (DBL_MAX): Likewise.
73569 (LDBL_MAX): Likewise.
73570 (FLT_EPSILON): Use macro-constant. Give upper bound.
73571 (DBL_EPSILON): Likewise.
73572 (LDBL_EPSILON): Likewise.
73573 (FLT_MIN): Likewise.
73574 (DBL_MIN): Likewise.
73575 (LDBL_MIN): Likewise.
73576 [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
73577 [C99-based standards] (FLT_EVAL_METHOD): Likewise.
73578 [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
73579 [ISO11] (FLT_HAS_SUBNORM): Likewise.
73580 [ISO11] (LDBL_HAS_SUBNORM): Likewise.
73581 [ISO11] (DBL_DECIMAL_DIG): Likewise.
73582 [ISO11] (FLT_DECIMAL_DIG): Likewise.
73583 [ISO11] (LDBL_DECIMAL_DIG): Likewise.
73584 [ISO11] (DBL_TRUE_MIN): Use macro-constant.
73585 [ISO11] (FLT_TRUE_MIN): Likewise.
73586 [ISO11] (LDBL_TRUE_MIN): Likewise.
73587 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73588 * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
73589 (SCHAR_MIN): Use macro-int-constant. Specify type.
73590 (SCHAR_MAX): Likewise.
73591 (UCHAR_MAX): Likewise.
73592 (CHAR_MIN): Likewise.
73593 (CHAR_MAX): Likewise.
73594 (MB_LEN_MAX): Use macro-int-constant.
73595 (SHRT_MIN): Use macro-int-constant. Specify type.
73596 (SHRT_MAX): Likewise.
73597 (USHRT_MAX): Likewise.
73598 (INT_MAX): Likewise.
73599 (INT_MIN): Use macro-int-constant. Specify type. Make upper
73600 bound negative.
73601 (UINT_MAX): Use macro-int-constant. Specify type. Suffix lower
73602 bound with "U".
73603 (LONG_MAX): Use macro-int-constant. Specify type. Suffix lower
73604 bound with "L".
73605 (LONG_MIN): Use macro-int-constant. Specify type. Make upper
73606 bound negative. Suffix upper bound with "L".
73607 (ULONG_MAX): Use macro-int-constant. Specify type. Suffix lower
73608 bound with "UL".
73609 [C99-based standards] (LLONG_MIN): Use macro-int-constant.
73610 Specify type.
73611 [C99-based standards] (LLONG_MAX): Likewise.
73612 [C99-based standards] (ULLONG_MAX): Likewise.
73613 * conform/data/stddef.h-data (NULL): Use macro-constant. Require
73614 == 0.
73615 [ISO11] (max_align_t): Require type.
73616 [ISO || ISO99 || ISO11] (*_t): Do not allow.
73617
73618 * conform/conformtest.pl ($CFLAGS_namespace): Define separately
73619 from $CFLAGS, without defining away __attribute__ calls.
73620 (checknamespace): Use $CFLAGS_namespace.
73621
73622 * conform/conformtest.pl (@keywords): Only include C99 keywords
73623 for standards based on C99 or C11.
73624
73625 * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
73626 Disable tests.
73627 * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
73628 UNIX98]: Likewise.
73629
73630 * conform/conformtest.pl: Handle "macro-int-constant" and test for
73631 usability of symbols in #if.
73632
73633 * conform/conformtest.pl: If macro or constant types start
73634 "promoted:", expect the symbol to be of the following type
73635 promoted by the integer promotions.
73636
73637 * conform/conformtest.pl: Parse all "constant" and "macro" lines
73638 in one place. Also handle "macro-constant".
73639
73640 * conform/conformtest.pl: Only accept expected macro values with
73641 "==". Parse all "macro" lines in one place.
73642 * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
73643
73644 * conform/conformtest.pl: Handle braced types on "constant" lines
73645 instead of handling "typed-constant".
73646 * conform/data/signal.h-data: Use "constant" instead of
73647 "typed-constant".
73648
73649 * conform/conformtest.pl: Handle "optional-" at start of lines in
73650 one place rather than duplicating several cases. Handle each
73651 format of "macro" line with initial "optional-".
73652
73653 * conform/conformtest.pl: Only accept expected constant or
73654 optional-constant values with "==". Parse all "constant" lines in
73655 one place. Parse all "optional-constant" lines in one place.
73656 * conform/data/cpio.h-data: Use "==" form on "constant" lines.
73657 * conform/data/fmtmsg.h-data: Likewise.
73658 * conform/data/netinet/in.h-data: Likewise.
73659 * conform/data/tar.h-data: Likewise.
73660 * conform/data/limits.h-data: Use "==" form on "constant" and
73661 "optional-constant" lines.
73662
73663 * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
73664 Use -std=c99 for XOPEN2K.
73665 (@knownproblems): Remove.
73666 (newtoken): Don't check %isknown.
73667
73668 * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
73669 Do not expect macro.
73670 [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
73671 [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
73672 [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
73673 [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
73674 [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
73675 [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
73676 [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
73677 [XPG3 || XPG4 || UNIX98] (isless): Likewise.
73678 [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
73679 [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
73680 [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
73681 [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
73682 [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
73683 [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
73684 [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
73685 [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
73686 [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
73687 [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
73688 [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
73689 [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
73690 [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
73691 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
73692 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
73693 [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
73694 [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
73695 [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
73696 [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
73697 [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
73698 [XPG3 || XPG4 || UNIX98] (log2): Likewise.
73699 [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
73700 [XPG3] (acosh): Likewise.
73701 [XPG3] (asinh): Likewise.
73702 [XPG3] (atanh): Likewise.
73703 [XPG3] (cbrt): Likewise.
73704 [XPG3] (expm1): Likewise.
73705 [XPG3] (ilogb): Likewise.
73706 [XPG3] (log1p): Likewise.
73707 [XPG3] (logb): Likewise.
73708 [XPG3] (nextafter): Likewise.
73709 [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
73710 [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
73711 [XPG3] (remainder): Likewise.
73712 [XPG3] (rint): Likewise.
73713 [XPG3 || XPG4 || UNIX98] (round): Likewise.
73714 [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
73715 [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
73716 [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
73717 [XPG3 || XPG4 || UNIX98] (lround): Likewise.
73718 [XPG3 || XPG4 || UNIX98] (llround): Likewise.
73719 [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
73720 [UNIX98 || XOPEN2K] (scalb): Expect.
73721 [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
73722 [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
73723 [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
73724 [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
73725 [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
73726 [XPG3 || XPG4 || UNIX98] (fma): Likewise.
73727 [XPG3 || XPG4 || UNIX98] (nan): Likewise.
73728 [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
73729 [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
73730 [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
73731 [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
73732 [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
73733 [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
73734 [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
73735 [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
73736 [XPG3 || XPG4 || UNIX98] (expf): Likewise.
73737 [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
73738 [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
73739 [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
73740 [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
73741 [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
73742 [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
73743 [XPG3 || XPG4 || UNIX98] (logf): Likewise.
73744 [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
73745 [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
73746 [XPG3 || XPG4 || UNIX98] (modff): Likewise.
73747 [XPG3 || XPG4 || UNIX98] (powf): Likewise.
73748 [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
73749 [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
73750 [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
73751 [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
73752 [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
73753 [XPG3 || XPG4 || UNIX98] (erff): Likewise.
73754 [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
73755 [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
73756 [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
73757 [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
73758 [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
73759 [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
73760 [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
73761 [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
73762 [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
73763 [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
73764 [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
73765 [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
73766 [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
73767 [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
73768 [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
73769 [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
73770 [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
73771 [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
73772 [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
73773 [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
73774 [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
73775 [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
73776 [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
73777 [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
73778 [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
73779 [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
73780 [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
73781 [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
73782 [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
73783 [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
73784 [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
73785 [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
73786 [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
73787 [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
73788 [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
73789 [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
73790 [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
73791 [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
73792 [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
73793 [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
73794 [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
73795 [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
73796 [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
73797 [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
73798 [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
73799 [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
73800 [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
73801 [XPG3 || XPG4 || UNIX98] (expl): Likewise.
73802 [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
73803 [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
73804 [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
73805 [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
73806 [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
73807 [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
73808 [XPG3 || XPG4 || UNIX98] (logl): Likewise.
73809 [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
73810 [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
73811 [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
73812 [XPG3 || XPG4 || UNIX98] (powl): Likewise.
73813 [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
73814 [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
73815 [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
73816 [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
73817 [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
73818 [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
73819 [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
73820 [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
73821 [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
73822 [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
73823 [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
73824 [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
73825 [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
73826 [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
73827 [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
73828 [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
73829 [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
73830 [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
73831 [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
73832 [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
73833 [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
73834 [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
73835 [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
73836 [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
73837 [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
73838 [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
73839 [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
73840 [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
73841 [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
73842 [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
73843 [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
73844 [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
73845 [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
73846 [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
73847 [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
73848 [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
73849 [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
73850 [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
73851 [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
73852 [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
73853 [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
73854 [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
73855 [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
73856 [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
73857 [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
73858
73859 * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
73860 _XOPEN_SOURCE_EXTENDED for XPG4.
73861
73862 * conform/conformtest.pl: Handle "symbol" lines for allow-header.
73863
73864 * Makeconfig (localtime): Remove variable.
73865 (inst_localtime-file): Likewise.
73866
73867 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
73868
73869 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
73870 Update.
73871 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
73872 Update.
73873 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
73874 Update.
73875 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
73876 Update.
73877 * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
73878 Update.
73879 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
73880 Update.
73881 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
73882 Update.
73883 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
73884 Update.
73885 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
73886 Update.
73887
73888 2012-05-01 Joseph Myers <joseph@codesourcery.com>
73889
73890 [BZ #2550]
73891 [BZ #2570]
73892 * math/s_nexttowardf.c (__nexttowardf): Use floating-point
73893 comparisons to determine direction to adjust input.
73894 * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
73895 * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
73896 * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
73897 Likewise.
73898 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
73899 Likewise.
73900 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
73901 Likewise.
73902 * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
73903 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
73904 Likewise.
73905 * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
73906 Likewise.
73907 * math/libm-test.inc (nexttoward_test): Add more tests.
73908
73909 2012-05-01 Andreas Schwab <schwab@linux-m68k.org>
73910
73911 [BZ #14040]
73912 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
73913 in version GLIBC_2.1, not GLIBC_2.0.
73914 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
73915 Likewise.
73916
73917 2012-04-30 Joseph Myers <joseph@codesourcery.com>
73918
73919 [BZ #13942]
73920 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
73921 (1 - x) * (1 + x).
73922 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73923 * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
73924 * math/libm-test.inc (acos_test): Add more tests.
73925 (asin_test): Likewise.
73926 * sysdeps/i386/fpu/libm-test-ulps: Update.
73927 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73928
73929 [BZ #14034]
73930 * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
73931 of square root.
73932 * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
73933 * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
73934 * math/libm-test.inc (acos_test_tonearest): New function.
73935 (acos_test_towardzero): Likewise.
73936 (acos_test_downward): Likewise.
73937 (acos_test_upward): Likewise.
73938 (asin_test_tonearest): Likewise.
73939 (asin_test_towardzero): Likewise.
73940 (asin_test_downward): Likewise.
73941 (asin_test_upward): Likewise.
73942 (main): Call the new functions.
73943 * sysdeps/i386/fpu/libm-test-ulps: Update.
73944 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73945
73946 [BZ #13884]
73947 [BZ #13924]
73948 * math/e_exp10.c: Include <float.h>.
73949 (__ieee754_exp10): Handle underflow here rather than multiplying
73950 large negative argument by M_LN10.
73951 * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
73952 of __ieee754_expf.
73953 * math/e_exp10l.c: Include <float.h>.
73954 (__ieee754_exp10l): Handle underflow here rather than multiplying
73955 large negative argument by M_LN10l.
73956 * math/libm-test.inc (exp10_test): Add another test. Do not allow
73957 spurious overflow exception on underflow.
73958
73959 2012-04-29 Marek Polacek <polacek@redhat.com>
73960
73961 * misc/sys/cdefs.h (__attribute_artificial__): New macro.
73962 (__fortify_function): New macro.
73963 (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
73964 * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
73965 __extern_always_inline.
73966 * libio/bits/stdio2.h: Likewise.
73967 * libio/bits/stdio.h: Likewise.
73968 * string/string.h: Likewise.
73969 * string/bits/string3.h: Likewise.
73970 * include/stdio.h: Likewise.
73971 * stdlib/bits/stdlib.h: Likewise.
73972 * stdlib/stdlib.h: Likewise.
73973 * rt/bits/mqueue2.h: Likewise.
73974 * rt/mqueue.h: Likewise.
73975 * posix/bits/unistd.h: Likewise.
73976 * posix/unistd.h: Likewise.
73977 * io/bits/poll2.h: Likewise.
73978 * io/bits/fcntl2.h: Likewise.
73979 * io/fcntl.h: Likewise.
73980 * io/sys/poll.h: Likewise.
73981 * misc/bits/syslog.h: Likewise.
73982 * misc/bits/syslog-ldbl.h: Likewise.
73983 * misc/sys/syslog.h: Likewise.
73984 * socket/bits/socket2.h: Likewise.
73985 * socket/sys/socket.h: Likewise.
73986 * debug/tst-chk1.c: Likewise.
73987 * wcsmbs/bits/wchar2.h: Likewise.
73988 * wcsmbs/bits/wchar-ldbl.h: Likewise.
73989 * wcsmbs/wchar.h: Likewise.
73990
73991 2012-04-29 Andreas Jaeger <aj@suse.de>
73992
73993 * Makerules (tests): Remove enable-check-abi protection.
73994 (check-abi-warn): Remove.
73995 (check-abi-%): Remove check-abi-warn usage.
73996
73997 * configure.in: Remove check-abi configure option.
73998 * configure: Regenerated.
73999 * config.make.in (enable-check-abi): Remove.
74000
74001 2012-04-28 Andreas Schwab <schwab@linux-m68k.org>
74002
74003 [BZ #14033]
74004 * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
74005 double functions to double *_finite functions.
74006
74007 [BZ #13941]
74008 * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
74009 (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
74010 LDBL_MIN_EXP.
74011 * stdio-common/Makefile (tests): Add tst-sprintf3.
74012 * stdio-common/tst-sprintf3.c: New file.
74013
74014 * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
74015 ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
74016
74017 2012-04-28 Joseph Myers <joseph@codesourcery.com>
74018
74019 * conform/conformtest.pl: Remove duplicate typed-constant
74020 handling.
74021
74022 2012-04-28 David S. Miller <davem@davemloft.net>
74023
74024 * Makerules (%.abilist): Add vpath on sysdep_dirs.
74025 (check-abi-%): Remove AWK script prerequisite and explicit
74026 abilist directory.
74027 (check-abi): Rewrite to just diff the symlist with the abilist.
74028 (config-tls, config-abi-config): Delete, no longer used.
74029 (update-abi-%): Remove AWK script and explicit abilist directory.
74030 (update-abi): Rewrite to simply compare and conditionally copy the
74031 symlist and the sysdep abilist file. Remove update-abi-config
74032 checks.
74033 * abilist/ld.abilist: Remove.
74034 * abilist/libBrokenLocale.abilist: Remove.
74035 * abilist/libanl.abilist: Remove.
74036 * abilist/libcrypt.abilist: Remove.
74037 * abilist/libdl.abilist: Remove.
74038 * abilist/librt.abilist: Remove.
74039 * abilist/libthread_db.abilist: Remove.
74040 * abilist/libutil.abilist: Remove.
74041 * scripts/extract-abilist.awk: Remove.
74042 * scripts/merge-abilist.awk: Remove.
74043 * sysdeps/generic/libcidn.abilist: New file.
74044 * sysdeps/generic/libnss_compat.abilist: New file.
74045 * sysdeps/generic/libnss_db.abilist: New file.
74046 * sysdeps/generic/libnss_dns.abilist: New file.
74047 * sysdeps/generic/libnss_files.abilist: New file.
74048 * sysdeps/generic/libnss_hesiod.abilist: New file.
74049 * sysdeps/generic/libnss_nis.abilist: New file.
74050 * sysdeps/generic/libnss_nisplus.abilist: New file.
74051 * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
74052 * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
74053 * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
74054 file.
74055 * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
74056 * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
74057 * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
74058 * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
74059 * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
74060 * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
74061 * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
74062 * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
74063 * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
74064 file.
74065 * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
74066 * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
74067 * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
74068 * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
74069 file.
74070 * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
74071 * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
74072 * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
74073 * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
74074 * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
74075 * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
74076 file.
74077 * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
74078 * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
74079 * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
74080 file.
74081 * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
74082 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
74083 New file.
74084 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
74085 New file.
74086 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
74087 New file.
74088 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
74089 New file.
74090 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
74091 New file.
74092 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
74093 New file.
74094 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
74095 New file.
74096 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
74097 New file.
74098 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
74099 New file.
74100 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
74101 New file.
74102 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
74103 New file.
74104 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
74105 New file.
74106 * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
74107 New file.
74108 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
74109 file.
74110 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
74111 New file.
74112 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
74113 New file.
74114 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
74115 file.
74116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
74117 New file.
74118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
74119 New file.
74120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
74121 file.
74122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
74123 New file.
74124 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
74125 New file.
74126 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
74127 New file.
74128 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
74129 New file.
74130 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
74131 New file.
74132 * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
74133 New file.
74134 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
74135 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
74136 file.
74137 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
74138 New file.
74139 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
74140 file.
74141 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
74142 file.
74143 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
74144 file.
74145 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
74146 file.
74147 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
74148 file.
74149 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
74150 New file.
74151 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
74152 file.
74153 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
74154 file.
74155 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
74156 New file.
74157 * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
74158 file.
74159 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
74160 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
74161 file.
74162 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
74163 New file.
74164 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
74165 file.
74166 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
74167 file.
74168 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
74169 file.
74170 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
74171 file.
74172 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
74173 file.
74174 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
74175 New file.
74176 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
74177 file.
74178 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
74179 file.
74180 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
74181 New file.
74182 * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
74183 file.
74184 * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
74185 * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
74186 * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
74187 file.
74188 * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
74189 * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
74190 * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
74191 * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
74192 * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
74193 * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
74194 * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
74195 * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
74196 * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
74197 * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
74198 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
74199 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
74200 file.
74201 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
74202 New file.
74203 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
74204 file.
74205 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
74206 file.
74207 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
74208 file.
74209 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
74210 file.
74211 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
74212 file.
74213 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
74214 New file.
74215 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
74216 New file.
74217 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
74218 file.
74219 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
74220 New file.
74221 * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
74222 file.
74223 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
74224 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
74225 file.
74226 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
74227 New file.
74228 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
74229 file.
74230 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
74231 file.
74232 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
74233 file.
74234 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
74235 file.
74236 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
74237 file.
74238 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
74239 New file.
74240 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
74241 New file.
74242 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
74243 file.
74244 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
74245 New file.
74246 * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
74247 file.
74248
74249 2012-04-28 Joseph Myers <joseph@codesourcery.com>
74250
74251 * conform/conformtest.pl: Fix typo in handling typed-constant from
74252 allow-header.
74253
74254 2012-04-27 Joseph Myers <joseph@codesourcery.com>
74255
74256 * README: Cut down references to pre-2.6 Linux kernels and
74257 Linuxthreads. Update lists of configurations in libc and ports
74258 and sort alphabetically. Say "or newer" with Linux kernel version
74259 requirements.
74260
74261 * config.h.in [IS_IN_build]: Allow compiling without optimization.
74262
74263 2012-04-27 Ryan S. Arnold <rsa@linux.vnet.ibm.com>
74264
74265 [BZ #887]
74266 * math/libm-test.inc (logb_test_downward): New test to expose
74267 erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
74268 rounding mode.
74269
74270 2012-04-27 Joseph Myers <joseph@codesourcery.com>
74271
74272 [BZ #14027]
74273 * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
74274 to be done.
74275 * math/fraiseexcpt.c (__feraiseexcept): Likewise.
74276 * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
74277
74278 2012-04-26 Joseph Myers <joseph@codesourcery.com>
74279
74280 * sysdeps/unix/i386/brk.S: Remove file.
74281 * sysdeps/unix/i386/dl-brk.S: Likewise.
74282 * sysdeps/unix/i386/pipe.S: Likewise.
74283 * sysdeps/unix/i386/sigreturn.S: Likewise.
74284 * sysdeps/unix/i386/syscall.S: Likewise.
74285 * sysdeps/unix/i386/vfork.S: Likewise.
74286 * sysdeps/unix/i386/wait.S: Likewise.
74287
74288 * sysdeps/unix/common/tcsendbrk.c: Move to ...
74289 * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
74290
74291 * configure.in (arm*-none*): Do not allow without
74292 --enable-hacker-mode.
74293 (netbsd*): Remove case setting base_os.
74294 (386bsd*): Likewise.
74295 (freebsd*): Likewise.
74296 (bsdi*): Likewise.
74297 (osf*): Likewise.
74298 (sunos*): Likewise.
74299 (ultrix*): Likewise.
74300 (newsos*): Likewise.
74301 (dynix*): Likewise.
74302 (*bsd*): Likewise.
74303 (sysv*): Likewise.
74304 (isc*): Likewise.
74305 (esix*): Likewise.
74306 (sco*): Likewise.
74307 (minix*): Likewise.
74308 (irix4*): Likewise.
74309 (irix6*): Likewise.
74310 (solaris[2-9]*): Likewise.
74311 (none): Likewise.
74312 * configure: Regenerated.
74313
74314 2012-04-26 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74315
74316 [BZ #11521]
74317 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
74318 overflow or cancellation in calculating denominator.
74319 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
74320 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
74321 down expression to avoid unexpected rounding in newer GCCs.
74322 * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
74323
74324 2012-04-26 David S. Miller <davem@davemloft.net>
74325
74326 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
74327 long-double compat symbols.
74328 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
74329 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
74330 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
74331 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
74332 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
74333 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
74334 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
74335 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
74336 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
74337 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
74338 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
74339 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
74340 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
74341
74342 2012-04-25 David S. Miller <davem@davemloft.net>
74343
74344 * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
74345 HWCAP_* values only after the memory barriers have been defined.
74346 (atomic_full_barrier): Define.
74347 (atomic_read_barrier): Define.
74348 (atomic_write_barrier): Define.
74349
74350 2012-04-26 Siddhesh Poyarekar <siddhesh@redhat.com>
74351
74352 * shlib-versions: Add libgcc_s version information.
74353 * sysdeps/generic/libgcc_s.h: Remove.
74354 * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
74355 libgcc_s.h.
74356 * sysdeps/gnu/unwind-resume.c: Likewise.
74357 * scripts/test-installation.pl: Remove libgcc_s from link_libs.
74358
74359 2012-04-25 David S. Miller <davem@davemloft.net>
74360
74361 * sysdeps/unix/sparc/brk.S: Delete.
74362 * sysdeps/unix/sparc/dl-brk.S: Delete.
74363 * sysdeps/unix/sparc/pipe.S: Delete.
74364 * sysdeps/unix/sparc/sysdep.S: Delete.
74365 * sysdeps/unix/sparc/sysdep.h: Delete.
74366 * sysdeps/unix/sparc/vfork.S: Delete.
74367 * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
74368 (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
74369 * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
74370 (ret_ERRVAL, r0, r1, MOVE): Define.
74371 (JUMPTARGET): Remove.
74372 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
74373 sysdeps/unix/sparc/sysdep.h
74374 (ENTRY, END): Remove.
74375 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
74376
74377 2012-04-25 Joseph Myers <joseph@codesourcery.com>
74378
74379 * Makerules (native-compile): Use $(BUILD_LDFLAGS).
74380 (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
74381 -DIS_IN_build.
74382
74383 * timezone/README: Update upstream location and email address for
74384 tzcode and tzdata.
74385 * timezone/zdump.c: Update from tzcode 2012b.
74386 * timezone/zic.c: Likewise.
74387
74388 * configure.in (libc_cv_as_needed): Remove test.
74389 * configure: Regenerated.
74390 * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
74391 conditional definition.
74392 [$(have-as-needed) != yes] (no-as-needed): Likewise.
74393 [$(have-as-needed) != yes] (libgcc_eh): Likewise.
74394 * config.make.in (have-as-needed): Remove variable.
74395
74396 2012-04-25 Siddhesh Poyarekar <siddhesh@redhat.com>
74397 Paul Pluzhnikov <ppluzhnikov@google.com>
74398
74399 * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
74400 strings correctly.
74401
74402 2012-04-25 Chung-Lin Tang <cltang@codesourcery.com>
74403
74404 * sysdeps/sh/memcpy.S: Remove include of endian.h, change
74405 preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
74406 * sysdeps/sh/strlen.S: Likewise.
74407
74408 2012-04-24 Joseph Myers <joseph@codesourcery.com>
74409
74410 * sysdeps/unix/fork.S: Remove file.
74411 * sysdeps/unix/i386/fork.S: Likewise.
74412 * sysdeps/unix/sparc/fork.S: Likewise.
74413
74414 * sysdeps/unix/system.c: Remove file.
74415 * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
74416
74417 * sysdeps/unix/getegid.S: Remove file.
74418 * sysdeps/unix/geteuid.S: Likewise.
74419
74420 2012-04-24 Roland McGrath <roland@hack.frob.com>
74421
74422 * scripts/check-localplt.awk: New file.
74423 * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
74424 of diff.
74425 * scripts/data/localplt-generic.data: Add a comment.
74426
74427 * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
74428 NODE when __dir_mkfile failed.
74429 * sysdeps/mach/hurd/symlinkat.c: Likewise.
74430 Reported by Ludovic Courtès <ludo@gnu.org>.
74431
74432 2012-04-24 Andreas Jaeger <aj@suse.de>
74433
74434 * Makerules (common-clean): Also remove gen-as-const-headers
74435 files.
74436
74437 2012-04-24 Joseph Myers <joseph@codesourcery.com>
74438
74439 * Makerules (native-compile): Do not change working directory for
74440 build. Use $(OUTPUT_OPTION) in command.
74441 (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
74442
74443 2012-04-24 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74444
74445 [BZ #13886]
74446 * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
74447 sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
74448 * math/libm-test.inc (floor_test): Add more tests.
74449 * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
74450
74451 2012-04-24 Joseph Myers <joseph@codesourcery.com>
74452
74453 * sysdeps/unix/getdents.c: Remove file.
74454 * sysdeps/unix/sysv/getdents.c: Likewise.
74455 * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
74456
74457 * sysdeps/unix/syscalls.list (madvise): Add syscall from
74458 sysdeps/unix/mman/syscalls.list.
74459 (mmap): Likewise.
74460 (mprotect): Likewise.
74461 (msync): Likewise.
74462 (munmap): Likewise.
74463 * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
74464 * sysdeps/unix/mman/syscalls.list: Remove.
74465 * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
74466
74467 * configure.in (libc_cv_libgcc_s_suffix): Remove test.
74468 (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
74469 * configure: Regenerated.
74470 * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
74471 $(libgcc_s_suffix).
74472 * config.make.in (libgcc_s_suffix): Remove variable.
74473
74474 2012-04-23 Joseph Myers <joseph@codesourcery.com>
74475
74476 * sysdeps/unix/sysv/gethostname.c: Move to ...
74477 * sysdeps/posix/gethostname.c: ... here.
74478
74479 * sysdeps/unix/execve.S: Remove file.
74480
74481 * sysdeps/unix/_exit.S: Remove file.
74482
74483 2012-04-23 Andreas Jaeger <aj@suse.de>
74484
74485 [BZ #13739]
74486 * manual/Makefile: Remove make dist support, there's no
74487 need for a stand-alone documentation tar ball.
74488 (TEXI2DVI): Define always, it's not in Makeconfig.
74489 (dist): Removed.
74490 (tar-it): Removed.
74491 (edition): Removed.
74492 (glibc-doc-$(edition).tar): Removed
74493 (%.Z): Removed.
74494 (%.gz): Removed.
74495 (%.uu): Removed.
74496 (ETAGS): Remove, it's in Makeconfig.
74497 (move-if-change): Remove, it's in Makeconfig.
74498
74499 2012-04-23 Paul Eggert <eggert@cs.ucla.edu>
74500
74501 [BZ #13970]
74502 * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
74503 (strtod, strtof, strtold, strtol, strtoul, strtoq)
74504 (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
74505 (strtod_l, strtof_l, strtold_l): Remove __wur.
74506 It is not necessarily an error to ignore strtol's return value.
74507 One can reliably look at the stored endptr to decide whether
74508 the number had valid syntax.
74509
74510 2012-04-21 Andreas Jaeger <aj@suse.de>
74511
74512 [BZ #13739]
74513 * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
74514
74515 2012-04-21 Joseph Myers <joseph@codesourcery.com>
74516
74517 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
74518 * sysdeps/unix/sysv/Versions: Remove file.
74519
74520 2012-04-21 Markus Trippelsdorf <markus@trippelsdorf.de>
74521
74522 [BZ #13927]
74523 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74524
74525 2012-04-21 Nick Alcock <nick.alcock@oracle.com>
74526
74527 [BZ #7064]
74528 * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
74529 version from __vm86.
74530
74531 2012-04-20 Joseph Myers <joseph@codesourcery.com>
74532
74533 * sysdeps/unix/common/lxstat.c: Remove file.
74534 * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
74535
74536 * sysdeps/unix/sysv/Makefile: Remove file.
74537
74538 * sysdeps/unix/sysv/direct.h: Remove file.
74539
74540 * sysdeps/unix/sysv/bits/dirent.h: Remove file.
74541 * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
74542 * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
74543 * sysdeps/unix/sysv/bits/signum.h: Likewise.
74544 * sysdeps/unix/sysv/bits/stat.h: Likewise.
74545 * sysdeps/unix/sysv/bits/utmp.h: Likewise.
74546 * sysdeps/unix/sysv/bits/utsname.h: Likewise.
74547
74548 * sysdeps/unix/sysv/setrlimit.c: Remove file.
74549
74550 * sysdeps/unix/xmknod.c: Remove file.
74551 * sysdeps/unix/syscalls.list (sys_mknod): Remove.
74552
74553 * sysdeps/unix/sysv/settimeofday.c: Remove file.
74554
74555 * sysdeps/unix/sysv/i386/time.S: Remove file.
74556
74557 * sysdeps/unix/fxstat.c: Remove file.
74558 * sysdeps/unix/xstat.c: Likewise.
74559 * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
74560
74561 * sysdeps/unix/sysv/sigaction.c: Remove file.
74562
74563 * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
74564 (sysdep_headers): Remove variable.
74565 [termio.h not in sysdep_headers] (generated): Likewise.
74566 [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
74567 * sysdeps/unix/sysv/sysv_termio.h: Remove file.
74568 * sysdeps/unix/sysv/tcdrain.c: Likewise.
74569 * sysdeps/unix/sysv/tcflow.c: Likewise.
74570 * sysdeps/unix/sysv/tcflush.c: Likewise.
74571 * sysdeps/unix/sysv/tcgetattr.c: Likewise.
74572 * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
74573 * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
74574 * sysdeps/unix/sysv/tcsetattr.c: Likewise.
74575 * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
74576
74577 * sysdeps/unix/siglist.c: Remove file.
74578
74579 * sysdeps/unix/getppid.S: Remove file.
74580
74581 * sysdeps/unix/mkdir.c: Remove file.
74582 * sysdeps/unix/rmdir.c: Likewise.
74583
74584 2012-04-19 Andreas Schwab <schwab@linux-m68k.org>
74585
74586 * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
74587 ERR_MAX value.
74588 * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
74589 errlist-compat value.
74590
74591 2012-04-18 David S. Miller <davem@davemloft.net>
74592
74593 * sysdeps/generic/memcopy.h (reg_char): Delete.
74594 * debug/strcat_chk.c: Use char, not reg_char.
74595 * debug/strcpy_chk.c: Likewise.
74596 * debug/strncat_chk.c: Likewise.
74597 * debug/strncpy_chk.c: Likewise.
74598 * string/memchr.c: Likewise.
74599 * string/memrchr.c: Likewise.
74600 * string/rawmemchr.c: Likewise.
74601 * string/strcat.c: Likewise.
74602 * string/strchr.c: Likewise.
74603 * string/strchrnul.c: Likewise.
74604 * string/strcmp.c: Likewise.
74605 * string/strcpy.c: Likewise.
74606 * string/strncat.c: Likewise.
74607 * string/strncmp.c: Likewise.
74608 * string/strncpy.c: Likewise.
74609
74610 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74611
74612 * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
74613 __builtin_memcopy is called when src and dest ranges are known to not
74614 overlap.
74615
74616 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74617
74618 * sysdeps/powerpc/powerpc64/power6/wordcopy.c
74619 (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
74620 fwd_align_merge macro call.
74621 (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
74622 bwd_align_merge macro call.
74623 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74624
74625 2012-04-18 Will Schmidt <will_schmidt@vnet.ibm.com>
74626
74627 * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
74628 bwd_align_merge macros.
74629 (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
74630 (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
74631 * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
74632
74633 2012-04-18 David S. Miller <davem@davemloft.net>
74634
74635 * sysdeps/sparc/sparc64/memcopy.h: Delete.
74636
74637 2012-04-18 Andreas Jaeger <aj@suse.de>
74638
74639 [BZ# 6794]
74640 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
74641 * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
74642 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74643
74644 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
74645 * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
74646 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74647
74648 * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
74649 * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
74650 Adjust for changed ldbl-128 files.
74651
74652 * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
74653 * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
74654 Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
74655
74656 2012-04-17 David S. Miller <davem@davemloft.net>
74657
74658 * sysdeps/sparc/sparc32/memcopy.h: Delete.
74659
74660 2012-04-17 Andreas Schwab <schwab@linux-m68k.org>
74661
74662 * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
74663 * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
74664 * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
74665 * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
74666 * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
74667 * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
74668
74669 2012-04-17 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
74670
74671 [BZ #6794]
74672 * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
74673 * math/libm-test.inc: Add ilogb errno and exception tests.
74674 * math/w_ilogb.c: New file: ilogb wrapper.
74675 * math/w_ilogbf.c: New file: ilogbf wrapper.
74676 * math/w_ilogbl.c: New file: ilogbl wrapper.
74677 * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
74678 * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
74679 * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
74680 exception being thrown with 0.0 as argument.
74681 * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
74682 * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
74683 exception being thrown with 0.0 as argument.
74684 * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
74685 * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74686 exception being thrown with 0.0 as argument.
74687 * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
74688 * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
74689 exception being thrown with 0.0 as argument.
74690 * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
74691 * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
74692 * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
74693 * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
74694 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
74695 * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
74696 * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
74697 * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
74698 * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
74699
74700 2012-04-17 Petr Baudis <pasky@ucw.cz>
74701
74702 * include/sys/uio.h: Change __vector to __iovec to avoid clash
74703 with altivec.
74704
74705 2012-04-16 Marek Polacek <polacek@redhat.com>
74706
74707 * elf/pldd-xx.c: Rename static_assert to pldd_assert.
74708
74709 2012-04-16 Marek Polacek <polacek@redhat.com>
74710
74711 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
74712 operands of fdivp instruction.
74713
74714 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
74715
74716 * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
74717 * elf/tst-auditmod3b.c: Likewise.
74718 * elf/tst-auditmod4b.c: Likewise.
74719 * elf/tst-auditmod5b.c: Likewise.
74720 * elf/tst-auditmod6b.c: Likewise.
74721 * elf/tst-auditmod6c.c: Likewise.
74722 * elf/tst-auditmod7b.c: Likewise.
74723 * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
74724 * sysdeps/x86_64/preconfigure.in: Likewise.
74725 * sysdeps/x86_64/preconfigure: Regenerated.
74726
74727 2012-04-13 H.J. Lu <hongjiu.lu@intel.com>
74728
74729 * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
74730 __ILP32__.
74731
74732 2012-04-13 Antoine Balestrat <merkil33@gmail.com>
74733
74734 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
74735 (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
74736
74737 2012-04-13 Chris Leonard <cjlhomeaddress@gmail.com>
74738
74739 [BZ #13973]
74740 * locale/iso-639.def: Fix gl language name. Spotted by
74741 Yaron Shahrabani.
74742
74743 2012-04-12 Roland McGrath <roland@hack.frob.com>
74744
74745 [BZ #2074]
74746 * libio/libio.h (__io_write_fn): Update comment.
74747
74748 2012-04-12 Petr Baudis <pasky@ucw.cz>
74749
74750 [BZ #2074]
74751 * stdio.texi (Hook Functions): The user provided writer function
74752 is not allowed to return -1.
74753
74754 2012-04-11 David S. Miller <davem@davemloft.net>
74755
74756 * sysdeps/sparc/fpu/libm-test-ulps: Update.
74757
74758 2012-04-11 Mike Frysinger <vapier@gentoo.org>
74759
74760 * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
74761 Add a leading slash to rtkaio.
74762
74763 2012-04-11 Jim Meyering <meyering@redhat.com>
74764
74765 [BZ #11959]
74766 * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
74767 It is not necessarily an error to ignore fwrite's return
74768 value. One can reliably use ferror to test for errors after
74769 the fact.
74770
74771 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
74772
74773 * bits/types.h (__snseconds_t): New type.
74774 * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
74775
74776 * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
74777 * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
74778 (__SNSECONDS_T_TYPE): Likewise.
74779 * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
74780 (__SNSECONDS_T_TYPE): Likewise.
74781 * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
74782 (__SNSECONDS_T_TYPE): Likewise.
74783
74784 2012-04-10 Andreas Jaeger <aj@suse.de>
74785
74786 [BZ #2636]
74787 * manual/time.texi (Processor Time): Return type of times is
74788 elapsed real time since an arbitrary point in the past.
74789 (CPU Time): Move CLK_TCK from here...
74790 (Processor Time): ...to here. Correct description.
74791 * manual/conf.texi (Constants for Sysconf): Correct description of
74792 _SC_CLK_TCK.
74793
74794 2012-04-10 David S. Miller <davem@davemloft.net>
74795
74796 [BZ #13967]
74797 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
74798 where the is a gap between DT_REL(A) and DT_JMPREL.
74799
74800 2012-04-10 H.J. Lu <hongjiu.lu@intel.com>
74801
74802 * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
74803 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74804 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74805
74806 2012-04-10 Siddhesh Poyarekar <siddhesh@redhat.com>
74807
74808 * elf/dl-support.c (_dl_inhibit_cache): New variable.
74809 * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
74810 (dl_main): Handle --inhibit-cache.
74811 * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
74812 _dl_inhibit_cache.
74813 * elf/dl-load.c (_dl_map_object): Use it.
74814 * elf/Makefile: Define SYSCONFDIR when building rtld.c.
74815
74816 2012-04-09 Joseph Myers <joseph@codesourcery.com>
74817
74818 [BZ #13872]
74819 * sysdeps/i386/fpu/e_powl.S (p78): New object.
74820 (__ieee754_powl): Saturate large exponents rather than testing for
74821 overflow of y*log2(x).
74822 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
74823 * math/libm-test.inc (pow_test): Do not permit spurious overflow
74824 exceptions.
74825
74826 [BZ #11521]
74827 * math/s_ctan.c: Include <float.h>.
74828 (__ctan): Avoid internal overflow or cancellation in calculating
74829 denominator.
74830 * math/s_ctanf.c: Likewise.
74831 * math/s_ctanl.c: Likewise.
74832 * math/s_ctanh.c: Likewise.
74833 * math/s_ctanhf.c: Likewise.
74834 * math/s_ctanhl.c: Likewise.
74835 * math/libm-test.inc (ctan_test): Add more tests.
74836 (ctanh_test): Likewise.
74837 * sysdeps/i386/fpu/libm-test-ulps: Update.
74838 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
74839
74840 2012-04-09 Andreas Jaeger <aj@suse.de>
74841
74842 [BZ #6894]
74843 * manual/filesys.texi (Directory Entries): Mention that d_namlen
74844 is an optional BSD extension.
74845
74846 [BZ #10254]
74847 * manual/stdio.texi (Opening Streams): Document additional fopen
74848 parameters.
74849
74850 2012-04-09 Roland McGrath <roland@hack.frob.com>
74851
74852 * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
74853 %eax without telling the compiler.
74854
74855 2012-04-09 Carlos O'Donell <carlos_odonell@mentor.com>
74856
74857 [BZ # 13963]
74858 * manual/install.texi: Use sourceware.org.
74859
74860 2012-04-09 Joseph Myers <joseph@codesourcery.com>
74861
74862 [BZ #13873]
74863 * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
74864 (__ieee754_pow): Generate overflow and underflow using huge*huge
74865 and tiny*tiny rather than just returning constant infinity or zero
74866 for large exponents.
74867 * math/libm-test.inc (pow_test): Require overflow exceptions for
74868 applicable cases of large exponents.
74869
74870 [BZ #706]
74871 * sysdeps/i386/fpu/e_pow.S (p10): New object.
74872 (__ieee754_pow): Use iterative multiplication algorithm only for
74873 integer exponents with absolute value below 1024. Check for odd
74874 integer exponents when using algorithm for real exponents.
74875 * math/libm-test.inc (pow_test): Add more tests.
74876 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74877
74878 2012-04-08 Joseph Myers <joseph@codesourcery.com>
74879
74880 [BZ #13705]
74881 * math/libm-test.inc (exp_test): Do not allow overflow exception
74882 on underflow test.
74883
74884 2012-04-08 Aurelien Jarno <aurelien@aurel32.net>
74885
74886 [BZ #13705]
74887 * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
74888 instead of __kernel_standard_f.
74889
74890 2012-04-08 Mike Frysinger <vapier@gentoo.org>
74891
74892 * sysdeps/i386/i686/memset_chk.S: Update copyright year.
74893 * sysdeps/x86_64/memset_chk.S: Likewise.
74894
74895 2012-04-08 Andreas Jaeger <aj@suse.de>
74896
74897 [BZ #10153]
74898 * manual/startup.texi (Environment Access): Describe return value
74899 for putenv and setenv.
74900
74901 [BZ #6895]
74902 * manual/filesys.texi (Directory Entries): Add description for
74903 DT_LNK.
74904
74905 [BZ #6890]
74906 * manual/filesys.texi (Directory Entries): Clarify that it's file
74907 system not operating system in the description of DT_UNKNOWN.
74908
74909 [BZ #6578]
74910 * manual/syslog.texi (closelog): Fix reference, it's openlog.
74911
74912 2012-04-08 Stephen Compall <s11@member.fsf.org>
74913
74914 [BZ #6649]
74915 * manual/llio.texi (Opening and Closing Files): Add cross
74916 reference to explain mode argument.
74917
74918 2012-04-07 Mike Frysinger <vapier@gentoo.org>
74919
74920 * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
74921 * sysdeps/x86_64/memset_chk.S: Likewise.
74922
74923 2012-04-07 David S. Miller <davem@davemloft.net>
74924
74925 * elf/elf.h (R_SPARC_WDISP10): Define.
74926 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
74927 R_SPARC_SIZE32.
74928 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
74929 R_SPARC_SIZE64 and R_SPARC_H34.
74930
74931 2012-04-07 Carlos O'Donell <carlos_odonell@mentor.com>
74932
74933 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
74934 conditions and remove no longer applicable assertion.
74935
74936 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
74937
74938 * bits/byteswap.h: Include <features.h>.
74939 (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
74940 (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
74941
74942 2012-04-06 H.J. Lu <hongjiu.lu@intel.com>
74943
74944 * bits/byteswap.h (__bswap_16): Removed.
74945 Include <bits/byteswap-16.h> to get __bswap_16.
74946 * sysdeps/i386/bits/byteswap.h: Likewise.
74947 * sysdeps/s390/bits/byteswap.h: Likewise.
74948 * sysdeps/x86_64/bits/byteswap.h: Likewise.
74949 * bits/byteswap-16.h: New file.
74950 * sysdeps/i386/bits/byteswap-16.h: Likewise.
74951 * sysdeps/s390/bits/byteswap-16.h: Likewise.
74952 * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
74953 * string/Makefile (headers): Add bits/byteswap-16.h.
74954
74955 2012-04-06 Paul Pluzhnikov <ppluzhnikov@google.com>
74956
74957 [BZ #13895]
74958 * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
74959 extra indirection.
74960 * nss/Makefile (tests-static, tests): Add tst-nss-static.
74961 * nss/tst-nss-static.c: New.
74962
74963 2012-04-06 Robert Millan <rmh@gnu.org>
74964
74965 [BZ #6486]
74966 * manual/llio.texi (File Position Primitive): lseek
74967 refers to WHENCE when it really means OFFSET.
74968
74969 2012-04-06 Andreas Jaeger <aj@suse.de>
74970
74971 * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
74972 strncmp declarations.
74973
74974 * abilist/libc.abilist: Add __poll and __ppoll.
74975
74976 2012-04-05 David S. Miller <davem@davemloft.net>
74977
74978 * scripts/check-local-headers.sh: Accept a host triplet in the
74979 path matched by the exclude regexp.
74980
74981 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
74982 definition.
74983 * sysdeps/powerpc/powerpc32/dl-machine.h
74984 (ELF_MACHINE_PLTREL_OVERLAP): Delete.
74985 * sysdeps/s390/s390-32/dl-machine.h
74986 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74987 * sysdeps/sparc/sparc32/dl-machine.h
74988 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74989 * sysdeps/sparc/sparc64/dl-machine.h
74990 (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
74991
74992 * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
74993 lazy binding.
74994 * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
74995 undefined symbol errors.
74996
74997 * elf/rtld.c (dl_main): Skip VDSO when checking for unused
74998 DT_NEEDED entries.
74999
75000 2012-04-05 Michael Matz <matz@suse.de>
75001
75002 [BZ #13592]
75003 * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
75004
75005 2012-04-05 Andreas Jaeger <aj@suse.de>
75006
75007 [BZ #13908]
75008 * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
75009 comment.
75010
75011 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
75012
75013 * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
75014 which ROUND is no valid rounding mode.
75015
75016 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
75017
75018 * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
75019 read again.
75020 * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
75021
75022 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
75023
75024 * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
75025 an exception using FPU order intentionally.
75026
75027 2012-04-05 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
75028
75029 * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
75030 * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
75031 * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
75032 * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
75033
75034 2012-04-05 Simon Josefsson <simon@josefsson.org>
75035
75036 [BZ #12340]
75037 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
75038 EINVAL when BUFLEN is too smal.
75039
75040 2012-04-05 Thomas Schwinge <thomas@codesourcery.com>
75041
75042 [BZ #13553]
75043 * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
75044 * sysdeps/mach/powerpc/machine-lock.h: Likewise.
75045
75046 2012-04-03 Andreas Jaeger <aj@suse.de>
75047
75048 [BZ #13938]
75049 * manual/setjmp.texi (System V contexts): Fix sentence.
75050
75051 [BZ #13926]
75052 * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
75053 New macro for this case.
75054 [!__GNUC__] (__bswap_64): New inline function for this case.
75055 * sysdeps/x86_64/bits/byteswap.h: Likewise.
75056 * bits/byteswap.h: Likewise.
75057 * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
75058 ull, guard with __GLIBC_HAVE_LONG_LONG.
75059
75060 * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
75061 __GLIBC_HAVE_LONG_LONG.
75062
75063 * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
75064 Include <features.h> for __GLIBC_HAVE_LONG_LONG.
75065
75066 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75067
75068 [BZ #13691]
75069 * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
75070 inptr and inend, rather than using last_ch.
75071
75072 2012-04-02 David S. Miller <davem@davemloft.net>
75073
75074 With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
75075 * stdio-common/printf-parse.h (read_int): Change return type to
75076 'int', return -1 on INT_MAX overflow.
75077 * stdio-common/vfprintf.c (vfprintf): Validate width and precision
75078 against overflow of INT_MAX. Set errno to EOVERFLOW when 'done'
75079 overflows INT_MAX. Check for overflow of in-format-string precision
75080 values properly. Use EOVERFLOW rather than ERANGE throughout. Use
75081 SIZE_MAX not INT_MAX for integer overflow test.
75082 * stdio-common/printf-parsemb.c: If read_int signals an overflow,
75083 skip the construct in the format string but do not record anything.
75084 * stdio-common/bug22.c: Adjust to test both width/prevision
75085 INT_MAX overflow as well as total length INT_MAX overflow. Check
75086 explicitly for proper errno values.
75087
75088 2012-04-02 Thomas Schwinge <thomas@codesourcery.com>
75089
75090 * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
75091 CHAR_MAX.
75092 * string/test-strcmp.c [! WIDE]: Likewise.
75093 * time/tst-mktime2.c: Likewise for INT_MAX.
75094 * string/test-string.h: #include <sys/param.h> for MIN.
75095
75096 * csu/init-first.c (__libc_init_first): Call __ctype_init.
75097 * sysdeps/i386/init-first.c (init): Likewise.
75098 * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
75099 * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
75100 * sysdeps/sh/init-first.c (init): Likewise.
75101
75102 2012-04-01 Ulrich Drepper <drepper@gmail.com>
75103
75104 * po/ru.po: Update from translation team.
75105 * po/vi.po: Likewise.
75106
75107 2012-03-31 Siddhesh Poyarekar <siddhesh@redhat.com>
75108
75109 * resolv/nss_dns/dns-host.c: Merge copyright years.
75110
75111 2012-03-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
75112
75113 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
75114 Optimize memcpy with prefetch if
75115 DATA_CACHE_SIZE_HALF <= len < SHARED_CACHE_SIZE_HALF and
75116 src, dst pointers have unequal 16 byte alignments.
75117
75118 2012-03-30 Siddhesh Poyarekar <siddhesh@redhat.com>
75119
75120 [BZ #13928]
75121 * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
75122 from a CNAME entry and return the minimum ttl for the query.
75123 (gaih_getanswer_slice): Likewise.
75124
75125 2012-03-30 Jeff Law <law@redhat.com>
75126
75127 * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
75128 due to long keys.
75129 * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
75130 * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
75131
75132 * resolv/nss_dns/dns-host.c: Update copyright year.
75133
75134 2012-03-30 Ulrich Drepper <drepper@gmail.com>
75135
75136 * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
75137 requests to save a system call. Fix check that all bytes are sent.
75138
75139 * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
75140 comments for sendmmsg.
75141
75142 2012-03-30 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
75143
75144 [BZ #13691]
75145 * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
75146 with only 1 character between 0x0041 and 0x01b0.
75147 * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
75148 * wcsmbs/tst-mbsnrtowcs.c: New file.
75149
75150 2012-03-29 David S. Miller <davem@davemloft.net>
75151
75152 * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
75153 small copies by hand.
75154
75155 2012-03-28 Siddhesh Poyarekar <siddhesh@redhat.com>
75156
75157 [BZ #13761]
75158 * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
75159 (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
75160 group memberships.
75161
75162 2012-03-28 David S. Miller <davem@davemloft.net>
75163
75164 * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
75165 that branches into memcpy.
75166 * sysdeps/sparc/sparc64/memcpy.S: Likewise.
75167 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
75168 * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
75169 * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
75170 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
75171 bits.
75172 * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
75173 implementation too.
75174 * sysdeps/sparc/mempcpy.S: New file.
75175
75176 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
75177 the IFUNC routine in the libc case.
75178 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
75179
75180 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
75181 * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
75182 * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
75183 * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
75184 * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
75185 * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
75186 * sysdeps/sparc/sparc64/rtld-memset.c: New file.
75187 * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
75188
75189 * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
75190 loop to 256 bytes instead of 64 bytes and fix test signedness.
75191
75192 * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
75193 * sysdeps/sparc/sparc32/Makefile: rather than here...
75194 * sysdeps/sparc/sparc64/Makefile: and here.
75195
75196 2012-03-28 Ulrich Drepper <drepper@gmail.com>
75197
75198 * malloc/mallocbug.c: Avoid warnings about unused variables.
75199
75200 2012-02-22 Siddhesh Poyarekar <siddhesh@redhat.com>
75201
75202 [BZ #13760]
75203 * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
75204 in the right place. Discard and retry query if response is
75205 larger than input buffer size.
75206
75207 2012-03-28 Joseph Myers <joseph@codesourcery.com>
75208
75209 [BZ #369]
75210 [BZ #2678]
75211 [BZ #3866]
75212 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
75213 x for large integer exponent.
75214 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
75215 * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise. Adjust
75216 sign of result as needed afterwards.
75217 * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
75218 * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
75219 result for underflowing pow the same as for overflow.
75220 (__kernel_standard_l): Handle powl overflow and underflow here
75221 rather than calling __kernel_standard.
75222 * math/libm-test.inc (pow_test): Add more tests.
75223
75224 [BZ #3868]
75225 [BZ #13879]
75226 [BZ #13910]
75227 [BZ #13911]
75228 [BZ #13912]
75229 [BZ #13913]
75230 [BZ #13915]
75231 [BZ #13916]
75232 [BZ #13917]
75233 [BZ #13918]
75234 [BZ #13919]
75235 [BZ #13920]
75236 [BZ #13921]
75237 * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
75238 * sysdeps/ieee754/k_standard.c: Include <float.h>.
75239 (__kernel_standard_l): New function.
75240 * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
75241 __kernel_standard.
75242 * math/w_acosl.c (__acosl): Likewise.
75243 * math/w_asinl.c (__asinl): Likewise.
75244 * math/w_atan2l.c (__atan2l): Likewise.
75245 * math/w_atanhl.c (__atanhl): Likewise.
75246 * math/w_coshl.c (__coshl): Likewise.
75247 * math/w_exp10l.c (__exp10l): Likewise.
75248 * math/w_exp2l.c (__exp2l): Likewise.
75249 * math/w_fmodl.c (__fmodl): Likewise.
75250 * math/w_hypotl.c (__hypotl): Likewise.
75251 * math/w_j0l.c (__j0l, __y0l): Likewise.
75252 * math/w_j1l.c (__j1l, __y1l): Likewise.
75253 * math/w_jnl.c (__jnl, __ynl): Likewise.
75254 * math/w_lgammal.c (__lgammal): Likewise.
75255 * math/w_log10l.c (__log10l): Likewise.
75256 * math/w_log2l.c (__log2l): Likewise.
75257 * math/w_logl.c (__logl): Likewise.
75258 * math/w_powl.c (__powl): Likewise.
75259 * math/w_remainderl.c (__remainderl): Likewise.
75260 * math/w_scalbl.c (sysv_scalbl): Likewise.
75261 * math/w_sinhl.c (__sinhl): Likewise.
75262 * math/w_sqrtl.c (__sqrtl): Likewise.
75263 * math/w_tgammal.c (__tgammal): Likewise.
75264 * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
75265 * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
75266 * math/libm-test.inc (acos_test): Add more tests.
75267 (acosh_test): Likewise.
75268 (asin_test): Likewise.
75269 (atanh_test): Likewise.
75270 (exp_test): Likewise.
75271 (exp10_test): Likewise.
75272 (exp2_test): Likewise.
75273 (expm1_test): Likewise.
75274 (lgamma_test): Likewise.
75275 (log_test): Likewise.
75276 (log10_test): Likewise.
75277 (log1p_test): Likewise.
75278 (log2_test): Likewise.
75279 (pow_test): Do not allow some spurious overflow exceptions.
75280 (sqrt_test): Add more tests.
75281 (tgamma_test): Likewise.
75282 (y0_test): Likewise.
75283 (y1_test): Likewise.
75284 (yn_test): Likewise.
75285
75286 2012-03-27 Anton Blanchard <anton@samba.org>
75287
75288 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
75289 MAP_HUGETLB.
75290 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
75291 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
75292 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
75293
75294 2012-03-27 David S. Miller <davem@davemloft.net>
75295
75296 * conform/Makefile: Run run-conformtest.sh using $(BASH).
75297
75298 * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
75299 have-as-vis3 check.
75300
75301 2012-03-27 Andreas Jaeger <aj@suse.de>
75302
75303 * sysdeps/x86_64/elf/configure.in: Moved to ...
75304 * sysdeps/x86_64/configure.in: ... here.
75305 * sysdeps/x86_64/elf/start.S: Moved to ...
75306 * sysdeps/x86_64/start.S: ... here.
75307 * sysdeps/x86_64/elf/configure: Delete.
75308
75309 * sysdeps/x86_64/configure.in: Merge contents from
75310 sysdeps/i386/configure.in (without i686 check).
75311
75312 * sysdeps/i386/elf/Versions: Merge into ...
75313 * sysdeps/i386/Versions: ... this.
75314 * sysdeps/i386/elf/Versions: Delete file.
75315 * sysdeps/i386/elf/start.S: Moved to ...
75316 * sysdeps/i386/start.S: ...here.
75317 * sysdeps/i386/elf/configure.in: Merge into...
75318 * sysdeps/i386/configure.in: ...here.
75319 * sysdeps/i386/elf/configure.in: Delete file.
75320 * sysdeps/i386/elf/configure: Delete file.
75321
75322 * sysdeps/generic/elf/backtracesyms.c: Moved to ...
75323 * debug/backtracesyms.c: ... here.
75324 * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
75325 * debug/backtracesymsfd.c: ... here.
75326 * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
75327 * sysdeps/generic/ifunc-sel.h: ... here.
75328
75329 * sysdeps/unix/i386/start.c: Delete file.
75330 * sysdeps/unix/sparc/start.c: Delete file.
75331 * sysdeps/unix/start.c: Delete file.
75332
75333 * sysdeps/sh/elf/configure.in: Moved to ...
75334 * sysdeps/sh/configure.in: ... here.
75335 * sysdeps/sh/elf/start.S: Moved to ...
75336 * sysdeps/sh/start.S: ... here.
75337 * sysdeps/sh/elf/configure: Delete file.
75338
75339 * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
75340 * sysdeps/powerpc/powerpc64/bzero.S: ... here.
75341 * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
75342 * sysdeps/powerpc/powerpc64/entry.h: ... here.
75343 * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
75344 * sysdeps/powerpc/powerpc64/start.S: here.
75345 * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
75346 * sysdeps/powerpc/powerpc64/Makefile: ... this.
75347 * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
75348 * sysdeps/powerpc/powerpc64/configure.in: ... this.
75349 * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
75350
75351 * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
75352 * sysdeps/powerpc/powerpc32/bzero.S: ... here.
75353 * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
75354 * sysdeps/powerpc/powerpc32/start.S: ... here.
75355 * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
75356 * sysdeps/powerpc/powerpc32/configure.in: ... this.
75357 * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
75358
75359 * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
75360 * sysdeps/powerpc/ifunc-sel.h: ... here.
75361 * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
75362 * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
75363
75364 * sysdeps/sparc/elf/configure.in: Moved to ...
75365 * sysdeps/sparc/configure.in: ... here.
75366 * sysdeps/sparc/elf/configure: Delete file.
75367 * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
75368 * sysdeps/sparc/sparc32/start.S: ... here.
75369 * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
75370 * sysdeps/sparc/sparc64/start.S: ... here.
75371 * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
75372 * sysdeps/sparc/sparc32/Makefile: ... this.
75373 * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
75374 * sysdeps/sparc/sparc64/Makefile: ... this.
75375
75376 * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
75377 * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
75378 * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
75379 * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
75380 * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
75381 * sysdeps/s390/s390-32/setjmp.S: ... here.
75382 * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
75383 * sysdeps/s390/s390-32/configure.in: ... here.
75384 * sysdeps/s390/s390-32/elf/configure: Delete file.
75385 * sysdeps/s390/s390-32/elf/start.S: Moved to ...
75386 * sysdeps/s390/s390-32/start.S: ... here.
75387
75388 * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
75389 * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
75390 * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
75391 * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
75392 * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
75393 * sysdeps/s390/s390-64/setjmp.S: ... here.
75394 * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
75395 * sysdeps/s390/s390-64/configure.in: ... here
75396 * sysdeps/s390/s390-64/elf/configure: Delete file.
75397 * sysdeps/s390/s390-64/elf/start.S: Moved to ...
75398 * sysdeps/s390/s390-64/start.S: ... here.
75399 * sysdeps/s390/s390-64/elf/configure: Delete.
75400
75401 * configure.in: Remove support for elf directories in sysdeps.
75402
75403 * configure: Regenerated.
75404 * sysdeps/i386/configure: Regenerated.
75405 * sysdeps/powerpc/powerpc32/configure: Regenerated.
75406 * sysdeps/powerpc/powerpc64/configure: Regenerated.
75407 * sysdeps/s390/s390-32/configure: Regenerated.
75408 * sysdeps/s390/s390-64/configure: Regenerated.
75409 * sysdeps/sh/configure: Regenerated.
75410 * sysdeps/sparc/configure: Regenerated.
75411 * sysdeps/x86_64/configure: Regenerated.
75412
75413 2012-03-26 Andreas Schwab <schwab@linux-m68k.org>
75414
75415 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75416
75417 * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
75418 denormal result into account.
75419
75420 2012-03-25 Roland McGrath <roland@hack.frob.com>
75421
75422 * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
75423 Reported by Allan McRae <allan@archlinux.org>.
75424
75425 2012-03-23 Jeff Law <law@redhat.com>
75426
75427 * nss/getnssent.c (__nss_getent): Fix typo.
75428
75429 2012-03-23 David S. Miller <davem@davemloft.net>
75430
75431 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75432
75433 2012-03-23 H.J. Lu <hongjiu.lu@intel.com>
75434
75435 * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
75436 to pad to uint64_t for each field.
75437 (dl_tls_index): Replace unsigned long with uint64_t.
75438
75439 2012-03-23 Daniel Jacobowitz <dmj@google.com>
75440 Paul Pluzhnikov <ppluzhnikov@google.com>
75441
75442 [BZ #6528]
75443 * grp/Makefile (otherlibs): Don't set it.
75444 * inet/Makefile (otherlibs): Likewise.
75445 * login/Makefile (otherlibs): Likewise.
75446 * nscd/Makefile (otherlibs): Likewise.
75447 * posix/Makefile (otherlibs): Likewise.
75448 * pwd/Makefile (otherlibs): Likewise.
75449 * rt/Makefile (otherlibs): Likewise.
75450 * sunrpc/Makefile (otherlibs): Likewise.
75451 * nss/Makefile (otherlibs): Likewise.
75452 Add libnss_files to routines and static-only-routines.
75453 ($(objpfx)getent): Remove rule.
75454 * resolv/Makefile: Add libnss_dns and libresolv to routines and
75455 static-only-routines.
75456
75457 2012-03-22 Joseph Myers <joseph@codesourcery.com>
75458
75459 [BZ #13892]
75460 * math/s_cexp.c: Include <float.h>.
75461 (__cexp): Handle exp result overflowing not necessarily
75462 overflowing both real and imaginary parts of result.
75463 * math/s_cexpf.c: Likewise.
75464 * math/s_cexpl.c: Likewise.
75465 * math/libm-test.inc (cexp_test): Add more tests.
75466 * sysdeps/i386/fpu/libm-test-ulps: Update.
75467 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75468
75469 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75470
75471 * include/link.h (ELFW): New macro.
75472 * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
75473 Replace ELF64_R_TYPE with ELFW(R_TYPE).
75474
75475 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75476
75477 * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
75478 with uint64_t.
75479
75480 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75481
75482 * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
75483 declaration.
75484 (struct La_x32_retval): Likewise.
75485
75486 2012-03-22 H.J. Lu <hongjiu.lu@intel.com>
75487
75488 * sysdeps/x86_64/preconfigure.in: New file.
75489 * sysdeps/x86_64/preconfigure: New generated file.
75490
75491 2012-03-22 Joseph Myers <joseph@codesourcery.com>
75492
75493 [BZ #13824]
75494 * math/e_exp2l.c: Include <float.h>.
75495 (__ieee754_exp2l): Handle overflow and underflow cases
75496 separately. Only pass fractional part of argument to
75497 __ieee754_expl.
75498 * math/libm-test.inc (exp2_test): Add more tests.
75499
75500 * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
75501 negating x to take absolute value.
75502 * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
75503 Likewise.
75504 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
75505 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
75506 Likewise.
75507 * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
75508 computing low part if x was negated.
75509 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
75510
75511 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
75512
75513 * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
75514 la_x32_gnu_pltexit.
75515 (pltexit): Cast int_retval to ptrdiff_t.
75516 * elf/tst-auditmod3b.c: Likewise.
75517 * elf/tst-auditmod4b.c: Likewise.
75518 * elf/tst-auditmod5b.c: Likewise.
75519 * elf/tst-auditmod6b.c: Likewise.
75520 * elf/tst-auditmod6c.c: Likewise.
75521 * elf/tst-auditmod7b.c: Likewise.
75522
75523 * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
75524 and x32_gnu_pltexit.
75525
75526 * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
75527 __ELF_NATIVE_CLASS.
75528 (La_x32_regs): New macro.
75529 (La_x32_retval): Likewise.
75530 (la_x32_gnu_pltenter): New function prototype.
75531 (la_x32_gnu_pltexit): Likewise.
75532
75533 2012-03-21 Andreas Schwab <schwab@linux-m68k.org>
75534
75535 * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
75536 exponent.
75537
75538 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75539
75540 * configure.in (libc_cv_cc_nofma): Check for option to disable
75541 generation of FMA instructions.
75542 * configure: Regenerate.
75543 * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
75544 * sysdeps/ieee754/dbl-64/Makefile: New file.
75545 * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
75546 Remove brandred-fma4.
75547 (CFLAGS-brandred-fma4.c): Remove.
75548 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
75549 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
75550 define.
75551 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
75552 define.
75553
75554 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
75555
75556 * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
75557 LLONG_MAX != LONG_MAX.
75558 (_itoa_word): Use _ITOA_WORD_TYPE on value.
75559 (_fitoa_word): Likewise.
75560 * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
75561 LLONG_MAX != LONG_MAX.
75562 * stdio-common/_itowa.h: Include <_itoa.h>.
75563 (_itowa_word): Use _ITOA_WORD_TYPE on value.
75564 (_itowa): New macro. Defined only if _ITOA_NEEDED is false.
75565 * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro. Defined
75566 only if not defined.
75567 (_ITOA_WORD_TYPE): Likewise.
75568 (_itoa_word): Use _ITOA_WORD_TYPE on value.
75569 Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
75570
75571 2012-03-21 David S. Miller <davem@davemloft.net>
75572
75573 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75574
75575 2012-03-21 H.J. Lu <hongjiu.lu@intel.com>
75576
75577 * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
75578 of x86_64 when setting libc_cv_slibdir, libdir and
75579 libc_cv_localedir.
75580 * sysdeps/unix/sysv/linux/configure: Regenerated.
75581
75582 2012-03-21 Joseph Myers <joseph@codesourcery.com>
75583
75584 * manual/lang.texi (Old Varargs): Remove section.
75585 (How Variadic): Update menu.
75586 (va_start): Do not mention varargs.h.
75587
75588 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
75589 Joseph Myers <joseph@codesourcery.com>
75590
75591 * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
75592 link test.
75593 * configure: Regenerated.
75594
75595 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
75596
75597 * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
75598 * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
75599 conformtest.pl
75600
75601 2012-03-21 Joseph Myers <joseph@codesourcery.com>
75602
75603 * NOTES: Remove.
75604 * Makefile (files-for-dist): Remove NOTES.
75605 (NOTES): Remove rule.
75606 * README: Don't refer to NOTES.
75607 * manual/creature.texi: Don't include macros.texi.
75608 * manual/intro.texi (creature.texi): Remove comment referring to
75609 NOTES.
75610
75611 * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
75612 * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
75613 * configure: Regenerated.
75614 * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
75615 LIBC_TRY_CC_OPTION.
75616 (libc_cv_as_i686): Likewise.
75617 (libc_cv_cc_avx): Likewise.
75618 (libc_cv_cc_sse2avx): Likewise.
75619 (libc_cv_cc_fma4): Likewise.
75620 (libc_cv_cc_novzeroupper): Likewise.
75621 * sysdeps/i386/configure: Regenerated.
75622
75623 [BZ #13883]
75624 * sysdeps/i386/fpu/s_cexp.S: Remove.
75625 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
75626 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
75627 * math/libm-test.inc (cexp_test): Add more tests.
75628 * sysdeps/i386/fpu/libm-test-ulps: Update.
75629 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75630
75631 2012-03-21 Allan McRae <allan@archlinux.org>
75632
75633 * timezone/Makefile: Do not install iso3166.tab and zone.tab
75634
75635 2012-03-21 Joseph Myers <joseph@codesourcery.com>
75636
75637 [BZ #13871]
75638 * math/w_exp2.c: Do not include <float.h>.
75639 (o_threshold, u_threshold): Remove.
75640 (__exp2): Calculate result before checking finiteness and calling
75641 __kernel_standard.
75642 * math/w_exp2f.c: Likewise.
75643 * math/w_exp2l.c: Likewise.
75644 * math/libm-test.inc (exp2_test): Require overflow exception for
75645 1e6 input.
75646
75647 [BZ #3866]
75648 * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
75649 range of signed 64-bit integers before using fistpll. Remove
75650 checks for whether integers fit in mantissa bits.
75651 * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
75652 the range of signed 32-bit integers before using fistpl. Remove
75653 checks for whether integers fit in mantissa bits.
75654 * sysdeps/i386/fpu/e_powl.S (p64): New object.
75655 (__ieee754_powl): Test for y outside the range of signed 64-bit
75656 integers before using fistpll. Reduce 64-bit values to 63-bit
75657 ones as needed.
75658 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
75659 divide-by-zero is raised for zero to large negative powers.
75660 * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
75661 (__ieee754_powl): Test for y outside the range of signed 64-bit
75662 integers before using fistpll. Reduce 64-bit values to 63-bit
75663 ones as needed.
75664 * math/libm-test.inc (pow_test): Add more tests.
75665
75666 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
75667
75668 * debug/backtracesymsfd.c: Include <_itoa.h> instead of
75669 <stdio-common/_itoa.h>.
75670 * debug/segfault.c: Likewise.
75671 * elf/dl-cache.c: Likewise.
75672 * elf/dl-minimal.c: Likewise.
75673 * elf/dl-misc.c: Likewise.
75674 * elf/dl-sysdep.c: Likewise.
75675 * elf/dl-version.c: Likewise.
75676 * elf/rtld.c: Likewise.
75677 * hurd/hurdsock.c: Likewise.
75678 * hurd/lookup-retry.c: Likewise.
75679 * malloc/malloc.c: Likewise.
75680 * malloc/mtrace.c: Likewise.
75681 * nscd/nscd_getgr_r.c: Likewise.
75682 * nscd/nscd_getpw_r.c: Likewise.
75683 * nscd/nscd_getserv_r.c: Likewise.
75684 * posix/getopt_init.c: Likewise.
75685 * posix/wordexp.c: Likewise.
75686 * stdio-common/_itoa.c: Likewise.
75687 * stdio-common/printf_fphex.c: Likewise.
75688 * stdio-common/vfprintf.c: Likewise.
75689 * string/_strerror.c: Likewise.
75690 * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
75691 * sysdeps/i386/i686/hp-timing.h: Likewise.
75692 * sysdeps/mach/_strerror.c: Likewise.
75693 * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
75694 * sysdeps/mach/hurd/sethostid.c: Likewise.
75695 * sysdeps/mach/hurd/xmknodat.c: Likewise.
75696 * sysdeps/mach/xpg-strerror.c: Likewise.
75697 * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
75698 * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
75699 * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
75700 * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
75701 * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
75702 * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
75703 * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
75704 * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
75705 * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
75706 * sysdeps/unix/sysv/linux/futimes.c: Likewise.
75707 * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
75708 * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
75709 * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
75710 * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
75711 * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
75712 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
75713 * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
75714 * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
75715 * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
75716 * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
75717 * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
75718
75719 * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
75720
75721 * stdio-common/_itoa.h: Moved to ...
75722 * sysdeps/generic/_itoa.h: Here.
75723
75724 * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
75725
75726 * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
75727 instead of "_itoa.h" and "_itowa.h".
75728 * stdio-common/vfprintf.: Likewise.
75729
75730 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
75731
75732 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
75733 <bits/wordsize.h>.
75734 (__signbitf): Check __x86_64__ instead of __WORDSIZE.
75735 (__signbit): Likewise.
75736 (llrintf): Likewise.
75737 (llrint): Likewise.
75738
75739 2012-03-20 H.J. Lu <hongjiu.lu@intel.com>
75740
75741 * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
75742 __WORDSIZE != 64.
75743
75744 2012-03-20 Joseph Myers <joseph@codesourcery.com>
75745
75746 * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
75747 OVERFLOW_EXCEPTION_OK.
75748 * math/libm-test.inc ("Philosophy"): Update comment about
75749 exception testing.
75750 (OVERFLOW_EXCEPTION): Define.
75751 (OVERFLOW_EXCEPTION_OK): Likewise.
75752 (INVALID_EXCEPTION_OK): Renumber.
75753 (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
75754 (IGNORE_ZERO_INF_SIGN): Likewise.
75755 (test_exceptions): Handle FE_OVERFLOW.
75756 (exp10_test): Expect overflow exceptions.
75757 (exp2_test): Likewise.
75758 (expm1_test): Likewise.
75759 (nextafter_test): Likewise.
75760 (pow_test): Likewise.
75761 (scalbn_test): Likewise.
75762 (scalbln_test): Likewise.
75763
75764 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75765
75766 * sysdeps/x86_64/bits/atomic.h
75767 (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
75768 64bit integer.
75769 (atomic_exchange_acq): Likewise.
75770 (__arch_exchange_and_add_body): Likewise.
75771 (__arch_add_body): Likewise.
75772 (atomic_add_negative): Likewise.
75773 (atomic_add_zero): Likewise.
75774
75775 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75776
75777 * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
75778 (fenv_t): Check __x86_64__ instead of __WORDSIZE.
75779
75780 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75781
75782 * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
75783 Check __x86_64__ instead of __WORDSIZE.
75784
75785 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75786
75787 * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
75788
75789 2012-03-19 David S. Miller <davem@davemloft.net>
75790
75791 * sysdeps/sparc/fpu/libm-test-ulps: Update.
75792
75793 * sysdeps/sparc/fpu/fenv_private.h: New file.
75794 * sysdeps/sparc/fpu/math_private.h: Use it.
75795 (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
75796 Remove.
75797 (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
75798 (libc_feholdexcept_setroundl): Remove.
75799 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
75800 Remove.
75801 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
75802 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
75803
75804 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75805
75806 * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
75807 int64_t instead of long int.
75808 (INSERT_WORDS64): Likewise.
75809
75810 2012-03-19 H.J. Lu <hongjiu.lu@intel.com>
75811
75812 * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
75813 _Unwind_GetCFA return to _Unwind_Ptr first.
75814
75815 2012-03-19 Joseph Myers <joseph@codesourcery.com>
75816
75817 [BZ #13629]
75818 * math/s_clog.c: Include <float.h>.
75819 (__clog): Scale large or subnormal inputs.
75820 * math/s_clogf.c: Likewise.
75821 * math/s_clogl.c: Likewise.
75822 * math/s_clog10.c: Include <float.h>.
75823 (M_LOG10_2): Define.
75824 (__clog10): Scale large or subnormal inputs.
75825 * math/s_clog10f.c: Likewise.
75826 * math/s_clog10l.c: Likewise.
75827 * math/libm-test.inc (clog_test): Add more tests.
75828 (clog10_test): Likewise.
75829 * sysdeps/i386/fpu/libm-test-ulps: Update.
75830 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75831
75832 [BZ #11451]
75833 * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
75834 x and y.
75835 * math/libm-test.inc (atan2_test): Add another test.
75836
75837 * Makerules (common-objdir-compile): Remove.
75838 * sysdeps/unix/Makefile (config-generated): Do not add
75839 $(unix-generated) to variable.
75840 [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
75841 [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
75842 Remove rule.
75843 [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
75844 Likewise.
75845 [generic bits/local_lim.h] (before-compile): Do not append to
75846 variable.
75847 [generic bits/local_lim.h] (common-generated): Likewise.
75848 [generic sys/param.h] (before-compile): Do not append to variable.
75849 [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
75850 [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
75851 [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
75852 [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
75853 include.
75854 [generic sys/param.h] (sys/param.h-includes): Remove variable.
75855 [generic sys/param.h] (sys/param.h-includes): Remove rule.
75856 [generic sys/param.h] ($(addprefix
75857 $(common-objpfx),$(sys/param.h-includes))): Likewise.
75858 [generic sys/param.h] (common-generated): Do not append to
75859 variable.
75860 [generic sys/param.h] (sysdep_headers): Likewise.
75861 [generic bits/errno.h] (before-compile): Do not append to
75862 variable.
75863 [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
75864 rule.
75865 [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
75866 [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
75867 [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
75868 [generic bits/errno.h] (common-generated): Do not append to
75869 variable.
75870 [generic bits/ioctls.h] (before-compile): Do not append to
75871 variable.
75872 [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
75873 rule.
75874 [generic bits/ioctls.h] (ioctl-includes): Remove variable.
75875 [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
75876 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
75877 rule.
75878 [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
75879 [generic bits/ioctls.h] (bits_termios.h): Remove variable.
75880 [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
75881 [generic bits/ioctls.h] (common-generated): Do not append to
75882 variable.
75883 [generic sys/syscall.h] (syscall.h): Remove variable.
75884 [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
75885 rule.
75886 [generic sys/syscall.h] (before-compile): Do not append to
75887 variable.
75888 [generic sys/syscall.h] (common-generated): Likewise.
75889 * sysdeps/unix/errnos-tmpl.c: Remove file.
75890 * sysdeps/unix/errnos.awk: Likewise.
75891 * sysdeps/unix/ioctls-tmpl.c: Likewise.
75892 * sysdeps/unix/ioctls.awk: Likewise.
75893 * sysdeps/unix/mk-local_lim.c: Likewise.
75894 * sysdeps/unix/snarf-ioctls: Likewise.
75895
75896 2012-03-19 Richard Henderson <rth@twiddle.net>
75897
75898 * sysdeps/i386/fpu/fenv_private.h: New file.
75899 * sysdeps/i386/fpu/math_private.h: Use it.
75900 (math_opt_barrier, math_force_eval): Remove.
75901 (libc_feholdexcept_setround_53bit): Remove.
75902 (libc_feupdateenv_53bit): Remove.
75903 * sysdeps/x86_64/fpu/math_private.h: Likewise.
75904 (math_opt_barrier, math_force_eval): Remove.
75905 (libc_feholdexcept): Remove.
75906 (libc_feholdexcept_setround): Remove.
75907 (libc_fetestexcept, libc_fesetenv): Remove.
75908 (libc_feupdateenv_test): Remove.
75909 (libc_feupdateenv, libc_feholdsetround): Remove.
75910 (libc_feresetround): Remove.
75911
75912 * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
75913 * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
75914
75915 * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
75916 (libc_feupdateenv_test, libc_feupdateenv_testf): New.
75917 (libc_feupdateenv_testl): New.
75918 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
75919 (libc_feupdateenv_testf): New.
75920 (libc_feupdateenv): Use libc_feupdateenv_test.
75921 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
75922 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
75923
75924 * sysdeps/generic/math_private.h (libc_feholdsetround): New.
75925 (libc_feholdsetroundf, libc_feholdsetroundl): New.
75926 (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
75927 (libc_feresetround_noex): New.
75928 (libc_feresetround_noexf): New.
75929 (libc_feresetround_noexl): New.
75930 (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
75931 (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
75932 (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
75933 * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
75934 SET_RESTORE_ROUND.
75935 * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
75936 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
75937 (__cos): Likewise.
75938 * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
75939 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
75940 SET_RESTORE_ROUND_NOEX.
75941 * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
75942 SET_RESTORE_ROUND_NOEXF.
75943 * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
75944 * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
75945 (libc_feholdsetroundf): New.
75946 (libc_feresetround, libc_feresetroundf): New.
75947
75948 * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
75949 (libc_feholdexcept_setround_53bit): Convert from macro to function.
75950 (libc_feupdateenv_53bit): Likewise. Don't force _FPU_EXTENDED.
75951
75952 * sysdeps/generic/math_private.h: Include <fenv.h>.
75953 (default_libc_feholdexcept): New.
75954 (default_libc_feholdexcept_setround): New.
75955 (default_libc_fesetenv, default_libc_feupdateenv): New.
75956 (libc_feholdexcept): Only define if undefined.
75957 (libc_feholdexceptf, libc_feholdexceptl): Likewise.
75958 (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
75959 (libc_feholdexcept_setroundl): Likewise.
75960 (libc_feholdexcept_setround_53bit): Likewise.
75961 (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
75962 (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
75963 (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
75964 (libc_feupdateenv_53bit): Likewise.
75965 * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
75966 (libc_feholdexcept): Convert from macro to inline function.
75967 (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
75968 (libc_fesetenv, libc_feupdateenv): Likewise.
75969
75970 * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
75971 not previously defined.
75972 (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
75973 (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
75974 (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
75975 * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
75976 * sysdeps/ieee754/flt-32/math_private.h: New file.
75977 * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
75978 math_private.h below SET_FLOAT_WORD.
75979 (__isnan, __isinf_ns, __finite): Remove.
75980 (__isnanf, __isinf_nsf, __finitef): Remove.
75981
75982 2012-03-18 Andreas Schwab <schwab@linux-m68k.org>
75983
75984 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
75985
75986 2012-03-17 David S. Miller <davem@davemloft.net>
75987
75988 [BZ #6471]
75989 * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
75990 for 2.16.
75991
75992 2012-03-16 David S. Miller <davem@davemloft.net>
75993
75994 * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
75995 warnings.
75996
75997 [BZ #6471]
75998 * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
75999 properly.
76000 * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
76001 * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
76002 sysdep_routines when subdir is sysvipc.
76003 * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
76004 __getshmlba helper.
76005
76006 * sysdeps/sparc/fpu/libm-test/ulps: Update.
76007
76008 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
76009
76010 * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
76011 [__LP64__].
76012
76013 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
76014
76015 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
76016 * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
76017 (__lround): Renamed to ...
76018 (__llround): This. Replace long int with long long int.
76019 Define lround functions as aliases of llround functions.
76020 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
76021
76022 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
76023
76024 * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
76025 Use greg_t on sp. Use unsigned int on idx_uc_link. Cast
76026 adresses to uintptr_t. Replace "long int" and "unsigned long
76027 int" with "greg_t" on va_arg.
76028
76029 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
76030
76031 * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
76032 * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
76033
76034 * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
76035 Move e_machine check before EI_CLASS check. Handle x32
76036 libraries. Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
76037 * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
76038 SKIP_EM_IA_64 and include
76039 <sysdeps/unix/sysv/linux/i386/readelflib.c>.
76040
76041 * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
76042 Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
76043 (add_system_dir): New macro.
76044
76045 * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
76046 (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
76047
76048 2012-03-16 Joseph Myers <joseph@codesourcery.com>
76049
76050 [BZ #2551]
76051 [BZ #2552]
76052 [BZ #2553]
76053 [BZ #2554]
76054 [BZ #2562]
76055 [BZ #2563]
76056 [BZ #2565]
76057 [BZ #2566]
76058 [BZ #2576]
76059 * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
76060 (y0): Likewise.
76061 * math/w_j0f.c (j0f): Likewise.
76062 (y0f): Likewise.
76063 * math/w_j0l.c (__j0l): Likewise.
76064 (__y0l): Likewise.
76065 * math/w_j1.c (j1): Likewise.
76066 (y1): Likewise.
76067 * math/w_j1f.c (j1f): Likewise.
76068 (y1f): Likewise.
76069 * math/w_j1l.c (__j1l): Likewise.
76070 (__y1l): Likewise.
76071 * math/w_jn.c (jn): Likewise.
76072 (yn): Likewise.
76073 * math/w_jnf.c (jnf): Likewise.
76074 (ynf): Likewise.
76075 * math/w_jnl.c (__jnl): Likewise.
76076 (__ynl): Likewise.
76077 * math/libm-test.inc (j0_test): Add more tests.
76078 (j1_test): Likewise.
76079 (jn_test): Likewise. Add trailing semicolon to existing test.
76080 (y0_test): Likewise.
76081 (y1_test): Likewise.
76082 * sysdeps/i386/fpu/libm-test-ulps: Update.
76083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76084
76085 [BZ #13851]
76086 [BZ #13854]
76087 * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
76088 libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
76089 * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
76090 * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
76091 (__tanl): Set errno for infinite argument.
76092 * sysdeps/i386/fpu/mptan.c: Remove.
76093 * sysdeps/i386/fpu/s_tan.S: Likewise.
76094 * sysdeps/i386/fpu/s_tanl.S: Likewise.
76095 * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
76096 * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
76097 * math/libm-test.inc (tan_test): Add more tests and enable more
76098 tests for double and long double.
76099 * sysdeps/i386/fpu/libm-test-ulps: Update.
76100 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76101
76102 2012-03-16 Jan Kratochvil <jan.kratochvil@redhat.com>
76103
76104 * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
76105 (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
76106
76107 2012-03-16 Roland McGrath <roland@hack.frob.com>
76108
76109 * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
76110 * configure.in: Use it for both main tree and add-ons.
76111 * configure: Regenerated.
76112
76113 2012-03-16 H.J. Lu <hongjiu.lu@intel.com>
76114
76115 * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
76116
76117 2012-03-16 Joseph Myers <joseph@codesourcery.com>
76118
76119 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
76120 in comment.
76121
76122 [BZ #13851]
76123 * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
76124 * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
76125 * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
76126 * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
76127 * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
76128 infinite argument.
76129 * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
76130 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
76131 != 0 for prec == 2.
76132 * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
76133 * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
76134 * sysdeps/i386/fpu/s_cosl.S: Likewise.
76135 * sysdeps/i386/fpu/s_sincosl.S: Likewise.
76136 * sysdeps/i386/fpu/s_sinl.S: Likewise.
76137 * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
76138 * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
76139 * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
76140 * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
76141 * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
76142 * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
76143 * math/libm-test.inc (cos_test): Add more tests and enable more
76144 tests for long double.
76145 (sin_test): Likewise.
76146 (sincos_test): Likewise.
76147 * sysdeps/i386/fpu/libm-test-ulps: Update.
76148 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76149
76150 2012-03-16 David S. Miller <davem@davemloft.net>
76151
76152 * sysdeps/sparc/fpu/math_private.h: New file.
76153
76154 2012-03-15 David S. Miller <davem@davemloft.net>
76155
76156 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
76157 file.
76158 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
76159 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
76160 file.
76161 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
76162 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
76163 * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
76164 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
76165 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
76166 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
76167 sysdep routines.
76168 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
76169
76170 * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
76171 * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
76172
76173 * sysdeps/sparc/sparc-ifunc.h: New file.
76174 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
76175 sparc-ifunc.h
76176 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
76177 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
76178 Likewise.
76179 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
76180 Likewise.
76181 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
76182 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
76183 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
76184 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
76185 Likewise.
76186 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
76187 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
76188 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
76189 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
76190 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
76191 Likewise.
76192 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
76193 Likewise.
76194 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
76195 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
76196 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
76197 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
76198 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
76199 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
76200 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
76201 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
76202 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
76203 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
76204 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
76205 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
76206 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
76207 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
76208 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
76209 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
76210 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
76211 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
76212 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
76213 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
76214 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
76215 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
76216 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
76217 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
76218
76219 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
76220
76221 * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
76222 scaling.
76223 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76224
76225 2012-03-15 Andreas Jaeger <aj@suse.de>
76226
76227 [BZ #13852]
76228 * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
76229 ieee754/flt-32 implementation for sin, cos and sincos.
76230 * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
76231 * sysdeps/i386/fpu/s_cosf.S: Likewise.
76232 * sysdeps/i386/fpu/s_sincosf.S: Likewise.
76233 * sysdeps/i386/fpu/s_sinf.S: Likewise.
76234 * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
76235 ieee754/flt-32 implementation for tan.
76236
76237 * math/libm-test.inc (cos_test): Enable some large input tests for
76238 float as well
76239 (sin_test): Likewise.
76240 (sincos_test): Likewise.
76241 (tan_test): Add tests for large input.
76242
76243 * sysdeps/i386/fpu/libm-test-ulps: Update.
76244
76245 2012-03-15 Andreas Jaeger <aj@suse.de>
76246
76247 [BZ #13658]
76248 * math/libm-test.inc (cos_test): Add more test cases.
76249 (sin_test): Likewise.
76250 (sincos_test): Likewise.
76251
76252 2012-03-15 Andreas Jaeger <aj@suse.de>
76253
76254 [BZ #13837]
76255 * math/libm-test.inc (cos_test): Add a test case for large input
76256 value.
76257 (sin_test): Likewise.
76258 (sincos_test): Likewise.
76259
76260 2012-03-15 Andreas Jaeger <aj@suse.de>
76261 Joseph Myers <joseph@codesourcery.com>
76262
76263 [BZ #13658]
76264 * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
76265 x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
76266 * sysdeps/i386/fpu/branred.c: Likewise.
76267 * sysdeps/i386/fpu/dosincos.c: Likewise.
76268 * sysdeps/i386/fpu/mpa.c: Likewise.
76269 * sysdeps/i386/fpu/s_cos.S: Likewise.
76270 * sysdeps/i386/fpu/s_sin.S: Likewise.
76271 * sysdeps/i386/fpu/s_sincos.S: Likewise.
76272 * sysdeps/i386/fpu/sincos32.c: Likewise.
76273
76274 * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
76275 Define.
76276 (libc_feupdateenv_53bit): Define.
76277 * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
76278 Define.
76279 (libc_feupdateenv_53bit): Define.
76280
76281 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
76282 53 bit (without extend i386 double precision).
76283
76284 * math/libm-test.inc (sincos_test): Add tests for large input.
76285 (sin): Likewise.
76286 (cos): Likewise.
76287
76288 * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
76289
76290 2012-03-15 Andreas Schwab <schwab@linux-m68k.org>
76291
76292 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76293
76294 2012-03-15 David S. Miller <davem@davemloft.net>
76295
76296 * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
76297 * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
76298 * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
76299 * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
76300 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
76301 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
76302 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
76303 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
76304 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
76305 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
76306 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
76307 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
76308 * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
76309 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
76310 * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
76311 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
76312 file.
76313 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
76314 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
76315 file.
76316 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
76317 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
76318 file.
76319 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
76320 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
76321 file.
76322 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
76323 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
76324 fmin/fmax sysdep routines.
76325 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
76326
76327 2012-03-14 David S. Miller <davem@davemloft.net>
76328
76329 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
76330 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
76331 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
76332 * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
76333 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
76334 * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
76335 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
76336 * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
76337 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
76338 * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
76339 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
76340 * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
76341 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
76342 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
76343 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
76344 * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
76345 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
76346 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
76347 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
76348 * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
76349 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
76350 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
76351 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
76352 * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
76353 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
76354 * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
76355 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
76356 * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
76357 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
76358 routines.
76359 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
76360 file.
76361 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
76362 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
76363 file.
76364 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
76365 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
76366 file.
76367 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
76368 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
76369 file.
76370 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
76371 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
76372 file.
76373 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
76374 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
76375 file.
76376 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
76377 file.
76378 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
76379 file.
76380 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
76381 file.
76382 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
76383 New file.
76384 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
76385 file.
76386 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
76387 file.
76388 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
76389 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
76390 file.
76391 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
76392 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
76393 file.
76394 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
76395 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
76396 file.
76397 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
76398 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
76399 VIS3 routines.
76400
76401 * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
76402 New file.
76403
76404 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76405
76406 * sysdeps/sparc/configure.in: New file.
76407 * sysdeps/sparc/configure: Generate.
76408 * configure.in (libc_cv_sparc_as_vis3): Substitute.
76409 * configure: Regenerate.
76410 * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
76411 * config.make.in (have-as-vis3): New.
76412 * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
76413 available use -Av9d instead of -Av9a.
76414 * sysdeps/sparc/sparc64/Makefile: Likewise.
76415 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
76416 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
76417 New file.
76418 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
76419 file.
76420 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
76421 New file.
76422 * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
76423 file.
76424 * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
76425 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
76426 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
76427 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
76428 * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
76429
76430 * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
76431 fzeros/fnegs to load 0x80000000 into a float register instead of
76432 using the stack.
76433 * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
76434
76435 2012-03-14 Joseph Myers <joseph@codesourcery.com>
76436
76437 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76438 bits/syscall.h.
76439 ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
76440 ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
76441 ($(inst_includedir)/bits/syscall.h): Remove rule.
76442 ($(objpfx)bits/syscall.d): Include instead of
76443 $(objpfx)syscall-list.d.
76444 (generated): Change syscall-list.h and syscall-list.d to
76445 bits/syscall.h and bits/syscall.d.
76446
76447 2012-03-14 Roland McGrath <roland@hack.frob.com>
76448
76449 [BZ #13846]
76450 * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
76451
76452 2012-03-14 Joseph Myers <joseph@codesourcery.com>
76453
76454 [BZ #13841]
76455 * math/s_csqrt.c: Include <float.h>.
76456 (__csqrt): Scale large or subnormal inputs.
76457 * math/s_csqrtf.c: Likewise.
76458 * math/s_csqrtl.c: Likewise.
76459 * math/libm-test.inc (csqrt_test): Add more tests.
76460 * sysdeps/i386/fpu/libm-test-ulps: Update.
76461 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76462
76463 [BZ #13840]
76464 * math/libm-test.inc (hypot_test): Add more tests.
76465
76466 2012-03-13 David S. Miller <davem@davemloft.net>
76467
76468 [BZ #13840]
76469 * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
76470 double-precision for the calculation instead of scaling.
76471
76472 2012-03-13 Joseph Myers <joseph@codesourcery.com>
76473
76474 * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
76475 manipulate bits before adding and subtracting TWO52[sx].
76476 * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
76477 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
76478 Likewise.
76479 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
76480
76481 2012-03-13 David S. Miller <davem@davemloft.net>
76482
76483 * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
76484 * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
76485 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
76486 rtld-global-offsets.h
76487 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
76488
76489 * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
76490 large parameters.
76491
76492 * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
76493
76494 * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
76495 'err' in the ifdef scope in which it is actually used.
76496
76497 * nss/nss_db/db-init.c: Include string.h
76498
76499 2012-03-12 David S. Miller <davem@davemloft.net>
76500
76501 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
76502 masking out of the most significant byte of random value used.
76503 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76504 Fix coding style in previous change.
76505
76506 * sysdeps/unix/sysv/linux/kernel-features.h
76507 (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
76508 (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
76509 expression.
76510 (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
76511 later.
76512
76513 2012-03-11 David S. Miller <davem@davemloft.net>
76514
76515 * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
76516 (__makecontext): Fix signedness of pointer casts setting up 'sp'.
76517 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
76518 for 'resultvar' otherwise things get truncated on 64-bit.
76519
76520 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
76521 Fix masking out of the most significant byte of random value used.
76522
76523 * sysdeps/sparc/fpu/libm-test-ulps: Update.
76524
76525 2012-03-10 Andreas Schwab <schwab@linux-m68k.org>
76526
76527 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76528
76529 2012-03-09 David S. Miller <davem@davemloft.net>
76530
76531 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
76532 variables with appropriate CPP guards.
76533 * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
76534 from the frame pointer, not the stack pointer. Correct layout
76535 comments. Fix test on resulting framesize and the management of
76536 the outregs buffer for pltexit. Preserve floating point return
76537 values across _dl_call_pltexit call.
76538 * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
76539 framesize and the management of the outregs buffer for pltexit.
76540 Preserve floating point return values across _dl_call_pltexit
76541 call.
76542 * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
76543 (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
76544 (la_sparc64_gnu_pltexit): New functions.
76545 (print_exit): Fix format string for return register value.
76546
76547 2012-03-10 Joseph Myers <joseph@codesourcery.com>
76548
76549 * sunrpc/Makefile (others): Add rpcgen.
76550 ($(objpfx)rpcgen): Remove special build rule and dependency on
76551 libc.
76552 * sunrpc/rpcgen.c: New file.
76553
76554 2012-03-09 Paul Eggert <eggert@cs.ucla.edu>
76555
76556 [BZ #13673]
76557 * posix/bug-regex33.c: Replace FSF snail mail address with URL.
76558 * stdio-common/bug-vfprintf-nargs.c: Likewise.
76559 * sysdeps/i386/crti.S: Likewise.
76560 * sysdeps/i386/crtn.S: Likewise.
76561 * sysdeps/powerpc/powerpc32/crti.S: Likewise.
76562 * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
76563 * sysdeps/powerpc/powerpc64/crti.S: Likewise.
76564 * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
76565 * sysdeps/sh/crti.S: Likewise.
76566 * sysdeps/sh/crtn.S: Likewise.
76567 * sysdeps/x86_64/fpu/e_expf.S: Likewise.
76568
76569 [BZ #13673]
76570 * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
76571 with URL.
76572 * locale/programs/locfile-kw.gperf: Likewise.
76573 * locale/programs/charmap-kw.h: Regenerated.
76574 * locale/programs/locfile-kw.h: Likewise.
76575
76576 [BZ #13673]
76577 * intl/plural.y: Replace FSF snail mail address with URL.
76578 * intl/plural.c: Regenerated.
76579
76580 2012-03-09 Richard Henderson <rth@twiddle.net>
76581
76582 * include/math_private.h: Remove file.
76583 * math/math_private.h: Move file ...
76584 * sysdeps/generic/math_private.h: ... here.
76585
76586 * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
76587 * sysdeps/powerpc/fpu/math_private.h: Likewise.
76588 * sysdeps/x86_64/fpu/math_private.h: Likewise.
76589
76590 * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
76591 and <math_private.h>.
76592 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
76593 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
76594 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
76595 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
76596 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
76597 * sysdeps/ieee754/dbl-64/branred.c: Likewise.
76598 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
76599 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
76600 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
76601 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
76602 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
76603 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
76604 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
76605 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
76606 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
76607 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
76608 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
76609 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
76610 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
76611 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
76612 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
76613 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
76614 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
76615 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
76616 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
76617 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
76618 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
76619 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
76620 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
76621 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
76622 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
76623 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
76624 * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
76625 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
76626 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
76627 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
76628 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
76629 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
76630 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
76631 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
76632 * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
76633 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
76634 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
76635 * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
76636 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
76637 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
76638 * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
76639 * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
76640 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
76641 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
76642 * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
76643 * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
76644 * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
76645 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
76646 * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
76647 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
76648 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
76649 * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
76650 * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
76651 * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
76652 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
76653 * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
76654 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
76655 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
76656 * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
76657 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
76658 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
76659 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
76660 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
76661 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
76662 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
76663 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
76664 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
76665 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
76666 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
76667 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
76668 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
76669 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
76670 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
76671 * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
76672 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
76673 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
76674 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
76675 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
76676 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
76677 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
76678 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
76679 * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
76680 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
76681 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
76682 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
76683 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
76684 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
76685 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
76686 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
76687 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
76688 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
76689 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
76690 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
76691 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
76692 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
76693 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
76694 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
76695 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
76696 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
76697 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
76698 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
76699 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
76700 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
76701 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
76702 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
76703 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
76704 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
76705 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
76706 * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
76707 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
76708 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
76709 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
76710 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
76711 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
76712 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
76713 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
76714 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
76715 * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
76716 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
76717 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
76718 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
76719 * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
76720 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
76721 * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
76722 * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
76723 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
76724 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
76725 * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
76726 * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
76727 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
76728 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
76729 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
76730 * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
76731 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
76732 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
76733 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
76734 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
76735 * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
76736 * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
76737 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
76738 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
76739 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
76740 * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
76741 * sysdeps/ieee754/k_standard.c: Likewise.
76742 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
76743 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
76744 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
76745 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
76746 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
76747 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
76748 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
76749 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
76750 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
76751 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
76752 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
76753 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
76754 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
76755 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
76756 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
76757 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
76758 * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
76759 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
76760 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
76761 * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
76762 * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
76763 * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
76764 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
76765 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
76766 * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
76767 * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
76768 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
76769 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
76770 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
76771 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
76772 * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
76773 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
76774 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
76775 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
76776 * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
76777 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
76778 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
76779 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
76780 * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
76781 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
76782 * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
76783 * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
76784 * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
76785 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
76786 * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
76787 * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
76788 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
76789 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
76790 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
76791 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
76792 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
76793 * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
76794 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
76795 * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
76796 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
76797 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
76798 * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
76799 * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
76800 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
76801 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
76802 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
76803 * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
76804 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
76805 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
76806 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
76807 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
76808 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
76809 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
76810 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
76811 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
76812 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
76813 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
76814 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
76815 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
76816 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
76817 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
76818 * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
76819 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
76820 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
76821 * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
76822 * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
76823 * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
76824 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
76825 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
76826 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
76827 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
76828 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
76829 * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
76830 * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
76831 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
76832 * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
76833 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
76834 * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
76835 * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
76836 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
76837 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
76838 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
76839 * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
76840 * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
76841 * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
76842 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
76843 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
76844 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
76845 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
76846 * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
76847 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
76848 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
76849 * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
76850 * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
76851 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
76852 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
76853 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
76854 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
76855 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
76856 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
76857 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
76858 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
76859 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
76860 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
76861 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
76862 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
76863 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
76864 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
76865 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
76866 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
76867 * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
76868 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
76869 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
76870 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
76871 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
76872 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
76873 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
76874 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
76875 * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
76876 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
76877 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
76878 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
76879 * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
76880 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
76881 * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
76882 * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
76883 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
76884 * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
76885 * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
76886 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
76887 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
76888 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
76889 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
76890 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
76891 * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
76892 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
76893 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
76894 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
76895 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
76896 * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
76897 * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
76898 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
76899 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
76900 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
76901 * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
76902 * sysdeps/ieee754/s_lib_version.c: Likewise.
76903 * sysdeps/ieee754/s_matherr.c: Likewise.
76904 * sysdeps/ieee754/s_signgam.c: Likewise.
76905 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
76906 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
76907 * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
76908 * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
76909 * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
76910 * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
76911 * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
76912 * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
76913 * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
76914 * sysdeps/powerpc/fpu/s_rint.c: Likewise.
76915 * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
76916 * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
76917 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
76918 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
76919 * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
76920 * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
76921 * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
76922 * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
76923 * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
76924 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
76925 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
76926
76927 2012-03-09 Joseph Myers <joseph@codesourcery.com>
76928
76929 * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
76930 * sunrpc/rpc_main.c: Likewise.
76931 * sunrpc/rpc_svcout.c: Likewise.
76932
76933 2012-03-09 David S. Miller <davem@davemloft.net>
76934
76935 * include/math_private.h: New file.
76936
76937 2012-03-09 Joseph Myers <joseph@codesourcery.com>
76938
76939 * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
76940 * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
76941 * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
76942 from <bits/socket_type.h>.
76943 (enum __socket_type): Don't define here.
76944 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
76945 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
76946 bits/socket_type.h.
76947
76948 [BZ #13566]
76949 * libio/stdio.h (gets): Always declare for C++ up to C++11 without
76950 checking __USE_GNU.
76951
76952 * Makerules ($(inst_includedir)/%.h): New rule.
76953 * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
76954 (install-others): Remove variable setting.
76955 ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
76956
76957 2012-03-08 Richard Henderson <rth@twiddle.net>
76958
76959 * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
76960 from macro to inline function; merge with the
76961 !__LIBC_INTERNAL_MATH_INLINES version.
76962 (__ieee754_sqrtf): Likewise.
76963
76964 * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
76965 to inline function.
76966 (__rintf, __floor, __floorf): Likewise.
76967
76968 * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
76969 macro to inline function.
76970 (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
76971
76972 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
76973 not <math/math_private.h>.
76974
76975 2012-03-08 David S. Miller <davem@davemloft.net>
76976
76977 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
76978 copyright year.
76979 * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
76980
76981 2012-03-08 Thomas Schwinge <thomas@codesourcery.com>
76982
76983 * resolv/gai_misc.c (handle_requests): Fix struct timespec
76984 normalization.
76985 * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
76986 * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
76987
76988 2012-03-08 Ulrich Drepper <drepper@gmail.com>
76989
76990 * stdio-common/tst-fphex.c: Various cleanups. The macros cannot
76991 be defined individually, they must be defined as a block. Define
76992 S for printing a string instead of hidint the different by using a
76993 macro for adding the 'l'.
76994 * stdio-common/tst-fphex-wide.c: Adjust.
76995
76996 2012-03-07 Marek Polacek <polacek@redhat.com>
76997
76998 * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
76999
77000 2012-03-08 Marek Polacek <polacek@redhat.com>
77001
77002 [BZ #13806]
77003 * stdio-common/Makefile (tests): Add tst-fphex-wide.
77004 * stdio-common/tst-fphex.c: Define a few macros to make the
77005 test reusable. Use them.
77006 * stdio-common/tst-fphex-wide.c: New file.
77007
77008 2012-03-08 Joseph Myers <joseph@codesourcery.com>
77009
77010 [BZ #6911]
77011 * manual/macros.texi (gnusystems): New macro.
77012 (nongnusystems): Likewise.
77013 (gnulinuxhurdsystems): Likewise.
77014 (gnuhurdsystems): Likewise..
77015 (gnulinuxsystems): Likewise.
77016 * manual/charset.texi: Use new macros or @theglibc{} to refer to
77017 variants of the GNU system, not "GNU system".
77018 * manual/conf.texi: Likewise.
77019 * manual/errno.texi: Likewise. Update example of errno macro
77020 expansion.
77021 * manual/filesys.texi: Likewise.
77022 (getumask): Document as specific to GNU/Hurd.
77023 * manual/install.texi: Likewise. Reword some references to
77024 GNU/Linux.
77025 * manual/intro.texi: Likewise.
77026 * manual/io.texi: Likewise.
77027 (File Name Portability): Detail which constraints are inapplicable
77028 to all GNU systems and which are only inapplicable to GNU/Hurd.
77029 * manual/job.texi: Likewise.
77030 * manual/llio.texi: Likewise.
77031 (O_NOCTTY): Document as present on GNU/Linux.
77032 * manual/maint.texi: Likewise.
77033 * manual/memory.texi: Likewise.
77034 * manual/pattern.texi: Likewise.
77035 * manual/pipe.texi: Likewise.
77036 * manual/process.texi: Likewise.
77037 * manual/resource.texi: Likewise.
77038 (RUSAGE_CHILDREN): Remove statement about specifying a particular
77039 child on GNU/Hurd.
77040 * manual/setjmp.texi: Likewise.
77041 * manual/signal.texi: Likewise.
77042 * manual/startup.texi: Likewise.
77043 * manual/stdio.texi: Likewise.
77044 * manual/terminal.texi: Likewise.
77045 (ONLCR): Document as POSIX.
77046 (OXTABS): Document availability on GNU/Linux as XTABS.
77047 (ONOEOT): Document availability separately from other bits.
77048 (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
77049 * manual/time.texi: Likewise.
77050 * manual/users.texi: Likewise.
77051 * INSTALL: Regenerated.
77052 * sysdeps/gnu/errlist.c: Regenerated.
77053
77054 * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
77055 * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
77056 (libc_cv_ctors_header): Likewise. Use asm ("") instead of calling
77057 puts.
77058 * configure: Regenerated.
77059
77060 2012-03-07 Joseph Myers <joseph@codesourcery.com>
77061
77062 * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
77063 default includes instead of AC_HEADER_CHECK.
77064 * sysdeps/i386/configure: Regenerated.
77065
77066 [BZ #10716]
77067 * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
77068 * math/s_cacoshf.c (__cacoshf): Likewise.
77069 * math/s_cacoshl.c (__cacoshl): Likewise.
77070 * math/s_casinh.c (__casinh): Set signs of result from argument.
77071 * math/s_casinhf.c (__casinhf): Likewise.
77072 * math/s_casinhl.c (__casinhl): Likewise.
77073 * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
77074 (casinh_test): Add more tests.
77075 * sysdeps/i386/fpu/libm-test-ulps: Update.
77076 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77077
77078 2012-03-07 Ulrich Drepper <drepper@gmail.com>
77079
77080 * po/zh_TW.po: Update from translation team.
77081
77082 * login/Makefile (distribute): Remove variable.
77083 * catgets/Makefile: Likewise.
77084 * mach/Makefile: Likewise.
77085 * malloc/Makefile: Likewise.
77086 * misc/Makefile: Likewise.
77087 * iconv/Makefile: Likewise.
77088 * nscd/Makefile: Likewise.
77089 * hurd/Makefile: Likewise.
77090 * manual/Makefile: Likewise.
77091 * locale/Makefile: Likewise.
77092 * intl/Makefile: Likewise.
77093 * conform/Makefile: Likewise.
77094 * nss/Makefile: Likewise.
77095 * time/Makefile: Likewise.
77096 * soft-fp/Makefile: Likewise.
77097 * dirent/Makefile: Likewise.
77098 * gmon/Makefile: Likewise.
77099 * po/Makefile: Likewise.
77100 * rt/Makefile: Likewise.
77101 * socket/Makefile: Likewise.
77102 * math/Makefile: Likewise.
77103 * signal/Makefile: Likewise.
77104 * debug/Makefile: Likewise.
77105 * elf/Makefile: Likewise.
77106 * timezone/Makefile: Likewise.
77107 * stdlib/Makefile: Likewise.
77108 * iconvdata/Makefile: Likewise.
77109 * sunrpc/Makefile: Likewise.
77110 * io/Makefile: Likewise.
77111 * argp/Makefile: Likewise.
77112 * inet/Makefile: Likewise.
77113 * hesiod/Makefile: Likewise.
77114 * grp/Makefile: Likewise.
77115 * csu/Makefile: Likewise.
77116 * wctype/Makefile: Likewise.
77117 * crypt/Makefile: Likewise.
77118 * libio/Makefile: Likewise.
77119 * string/Makefile: Likewise.
77120 * nis/Makefile: Likewise.
77121 * resolv/Makefile: Likewise.
77122 * stdio-common/Makefile: Likewise.
77123 * wcsmbs/Makefile: Likewise.
77124 * dlfcn/Makefile: Likewise.
77125 * posix/Makefile: Likewise.
77126
77127 [BZ #6959]
77128 * timezone/Makefile: Don't install timezone files, just the programs
77129 and scripts.
77130
77131 2012-03-06 Ulrich Drepper <drepper@gmail.com>
77132
77133 * nss/databases.def: Add missing gshadow entry.
77134
77135 * stdio-common/vfprintf.c: Fix formatting. Missing copyright update.
77136
77137 2012-03-06 Marek Polacek <polacek@redhat.com>
77138
77139 [BZ #13726]
77140 * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
77141 * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
77142 * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
77143 * stdio-common/tst-long-dbl-fphex.c: New file.
77144
77145 2012-03-06 David S. Miller <davem@davemloft.net>
77146
77147 * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
77148 (set_obp_int): New function.
77149 (get_obp_int): New function.
77150 (__get_clockfreq_via_dev_openprom): Likewise.
77151 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
77152 Avoid unused variable warnings on 'val' and use builtin_expect.
77153 (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
77154 __builtin_expect.
77155 (INLINE_CLONE_SYSCALL): Likewise.
77156
77157 2012-03-05 David S. Miller <davem@davemloft.net>
77158
77159 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77160
77161 2012-03-05 Andreas Schwab <schwab@linux-m68k.org>
77162
77163 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77164
77165 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
77166 only for |x| >= 40.
77167 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
77168
77169 2012-03-05 H.J. Lu <hongjiu.lu@intel.com>
77170
77171 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
77172 Replace gettimeofday with __vdso_gettimeofday.
77173
77174 * sysdeps/unix/sysv/linux/x86_64/init-first.c
77175 (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
77176 __vdso_clock_gettime and __vdso_getcpu.
77177
77178 * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
77179 time with __vdso_time.
77180
77181 2012-03-05 Joseph Myers <joseph@codesourcery.com>
77182
77183 * manual/lang.texi (size_t): Note types to which size_t may be
77184 equivalent with the GNU C Library, but do not describe when
77185 differences between them are significant.
77186
77187 2012-03-05 Andreas Jaeger <aj@suse.de>
77188
77189 * sysdeps/i386/fpu/libm-test-ulps: Update.
77190
77191 2012-03-05 Joseph Myers <joseph@codesourcery.com>
77192
77193 [BZ #3976]
77194 * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
77195 (__ieee754_pow): Save and restore rounding mode and use
77196 round-to-nearest for main computations.
77197 * math/libm-test.inc (pow_test_tonearest): New function.
77198 (pow_test_towardzero): Likewise.
77199 (pow_test_downward): Likewise.
77200 (pow_test_upward): Likewise.
77201 (main): Call the new functions.
77202 * sysdeps/i386/fpu/libm-test-ulps: Update.
77203 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77204
77205 [BZ #3976]
77206 * math/libm-test.inc (cosh_test_tonearest): New function.
77207 (cosh_test_towardzero): Likewise.
77208 (cosh_test_downward): Likewise.
77209 (cosh_test_upward): Likewise.
77210 (sinh_test_tonearest): Likewise.
77211 (sinh_test_towardzero): Likewise.
77212 (sinh_test_downward): Likewise.
77213 (sinh_test_upward): Likewise.
77214 (main): Call the new functions.
77215 * sysdeps/i386/fpu/libm-test-ulps: Update.
77216 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77217
77218 2012-03-05 Tom de Vries <tom@codesourcery.com>
77219
77220 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
77221 default stack guard is set in last bytes.
77222 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
77223
77224 2012-03-05 Kees Cook <keescook@chromium.org>
77225
77226 * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
77227
77228 [BZ #13656]
77229 * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
77230 possibly allocate from heap instead of stack.
77231 * stdio-common/bug-vfprintf-nargs.c: New file.
77232 * stdio-common/Makefile (tests): Add nargs overflow test.
77233
77234 2012-03-03 Andreas Schwab <schwab@linux-m68k.org>
77235
77236 * sysdeps/powerpc/fpu/libm-test-ulps: Update.
77237
77238 2012-03-03 Marek Polacek <polacek@redhat.com>
77239
77240 * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
77241 * math/math_private.h: Likewise.
77242 * stdlib/tst-strtod.c: Likewise.
77243 * sysdeps/i386/i486/bits/atomic.h: Likewise.
77244 * sysdeps/x86_64/bits/atomic.h: Likewise.
77245
77246 2012-03-02 David S. Miller <davem@davemloft.net>
77247
77248 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
77249 * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
77250 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
77251 * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
77252 * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
77253 * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
77254 * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
77255 * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
77256
77257 2012-03-02 Roland McGrath <roland@hack.frob.com>
77258
77259 [BZ #13792]
77260 * manual/examples/README: New file, says the example source files
77261 can be used under GPL>=2.
77262 * manual/Makefile (%.c.texi): Eat the leading part of the file until a
77263 line containing just "*/".
77264 * manual/examples/add.c: Add copyright header (GPL>=2).
77265 * manual/examples/argp-ex1.c: Likewise.
77266 * manual/examples/argp-ex2.c: Likewise.
77267 * manual/examples/argp-ex3.c: Likewise.
77268 * manual/examples/argp-ex4.c: Likewise.
77269 * manual/examples/atexit.c: Likewise.
77270 * manual/examples/db.c: Likewise.
77271 * manual/examples/dir.c: Likewise.
77272 * manual/examples/dir2.c: Likewise.
77273 * manual/examples/execinfo.c: Likewise.
77274 * manual/examples/filecli.c: Likewise.
77275 * manual/examples/filesrv.c: Likewise.
77276 * manual/examples/fmtmsgexpl.c: Likewise.
77277 * manual/examples/genpass.c: Likewise.
77278 * manual/examples/inetcli.c: Likewise.
77279 * manual/examples/inetsrv.c: Likewise.
77280 * manual/examples/isockad.c: Likewise.
77281 * manual/examples/longopt.c: Likewise.
77282 * manual/examples/memopen.c: Likewise.
77283 * manual/examples/memstrm.c: Likewise.
77284 * manual/examples/mkfsock.c: Likewise.
77285 * manual/examples/mkisock.c: Likewise.
77286 * manual/examples/mygetpass.c: Likewise.
77287 * manual/examples/pipe.c: Likewise.
77288 * manual/examples/popen.c: Likewise.
77289 * manual/examples/rprintf.c: Likewise.
77290 * manual/examples/search.c: Likewise.
77291 * manual/examples/select.c: Likewise.
77292 * manual/examples/setjmp.c: Likewise.
77293 * manual/examples/sigh1.c: Likewise.
77294 * manual/examples/sigusr.c: Likewise.
77295 * manual/examples/stpcpy.c: Likewise.
77296 * manual/examples/strdupa.c: Likewise.
77297 * manual/examples/strftim.c: Likewise.
77298 * manual/examples/strncat.c: Likewise.
77299 * manual/examples/subopt.c: Likewise.
77300 * manual/examples/swapcontext.c: Likewise.
77301 * manual/examples/termios.c: Likewise.
77302 * manual/examples/testopt.c: Likewise.
77303 * manual/examples/testpass.c: Likewise.
77304 * manual/examples/timeval_subtract.c: Likewise.
77305
77306 [BZ #13792]
77307 * manual/time.texi (Elapsed Time): Move timeval_subtract example
77308 function to ...
77309 * manual/timeval_subtract.c.texi: ... here, new file.
77310
77311 2012-03-02 David S. Miller <davem@davemloft.net>
77312
77313 * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
77314
77315 2012-03-02 Joseph Myers <joseph@codesourcery.com>
77316
77317 [BZ #3976]
77318 * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
77319 (__sin): Save and restore rounding mode and use round-to-nearest
77320 for all computations.
77321 (__cos): Save and restore rounding mode and use round-to-nearest
77322 for all computations.
77323 * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
77324 <fenv.h>.
77325 (tan): Save and restore rounding mode and use round-to-nearest for
77326 all computations.
77327 * math/libm-test.inc (cos_test_tonearest): New function.
77328 (cos_test_towardzero): Likewise.
77329 (cos_test_downward): Likewise.
77330 (cos_test_upward): Likewise.
77331 (sin_test_tonearest): Likewise.
77332 (sin_test_towardzero): Likewise.
77333 (sin_test_downward): Likewise.
77334 (sin_test_upward): Likewise.
77335 (tan_test_tonearest): Likewise.
77336 (tan_test_towardzero): Likewise.
77337 (tan_test_downward): Likewise.
77338 (tan_test_upward): Likewise.
77339 (main): Call the new functions.
77340 * sysdeps/i386/fpu/libm-test-ulps: Update.
77341 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77342
77343 [BZ #10135]
77344 * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
77345 small n, then large n, before computing and testing k+n.
77346 * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
77347 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
77348 Likewise.
77349 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
77350 Likewise.
77351 * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
77352 * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
77353 * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
77354 * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
77355 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
77356 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
77357 * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
77358 * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
77359 * math/libm-test.inc (scalbn_test): Add more tests.
77360 (scalbln_test): Likewise.
77361
77362 * manual/filesys.texi (mode_t): Describe constraints on size and
77363 signedness, not exact equivalence to a particular type.
77364 (ino_t): Likewise.
77365 (ino64_t): Likewise.
77366 (dev_t): Likewise.
77367 (nlink_t): Likewise.
77368 (blkcnt_t): Likewise.
77369 (blkcnt64_t): Likewise.
77370 * manual/llio.texi (off_t): Likewise.
77371
77372 [BZ #3976]
77373 * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
77374 (__ieee754_exp): Save and restore rounding mode and use
77375 round-to-nearest for all computations.
77376 * math/libm-test.inc (exp_test_tonearest): New function.
77377 (exp_test_towardzero): Likewise.
77378 (exp_test_downward): Likewise.
77379 (exp_test_upward): Likewise.
77380 (main): Call the new functions.
77381 * sysdeps/i386/fpu/libm-test-ulps: Update.
77382 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77383
77384 2012-03-01 Chris Demetriou <cgd@google.com>
77385
77386 * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
77387 have predictable order.
77388
77389 2012-03-01 David S. Miller <davem@davemloft.net>
77390
77391 * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
77392
77393 * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
77394 * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
77395 * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
77396 * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
77397
77398 * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
77399 * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
77400 * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
77401 * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
77402 * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
77403 * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
77404 * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
77405 * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
77406 * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
77407
77408 * sysdeps/sparc/fpu/libm-test-ulps: Update.
77409
77410 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
77411 * sysdeps/sparc/fpu/libm-test-ulps: to here.
77412 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
77413
77414 * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
77415 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
77416 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77417 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
77418 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
77419 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
77420 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
77421 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
77422 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
77423 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
77424 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
77425 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77426 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
77427 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
77428 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
77429 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
77430 * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
77431 * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
77432 * sysdeps/sparc/elf/configure: Regenerated.
77433
77434 2012-03-01 Joseph Myers <joseph@codesourcery.com>
77435
77436 * configure.in (AS, LD): Require binutils 2.20 or later.
77437 * configure: Regenerated.
77438 * manual/install.texi (Tools for Compilation): Give binutils 2.20
77439 as required minimum version.
77440 * INSTALL: Regenerated.
77441
77442 [BZ #2541]
77443 [BZ #4108]
77444 * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
77445 before squaring exponent.
77446 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
77447 bottom long double and 27 bits of top long double before squaring
77448 exponent.
77449 * math/libm-test.inc (erfc_test): Add more tests.
77450 * sysdeps/i386/fpu/libm-test-ulps: Update.
77451 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
77452 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77453
77454 2012-03-01 Kai Tietz <ktietz@redhat.com>
77455
77456 * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
77457 * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
77458 containing bit-fields.
77459 * soft-fp/extended.h (_FP_UNION_E): Likewise.
77460 * soft-fp/single.h (_FP_UNION_S): Likewise.
77461 * soft-fp/double.h (_FP_UNION_D): Likewise.
77462
77463 2012-02-29 Joseph Myers <joseph@codesourcery.com>
77464
77465 [BZ #13786]
77466 * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
77467 not include ../strcmp.S.
77468 [USE_AS_STRNCASECMP_L]: Likewise.
77469 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
77470 (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
77471 * sysdeps/i386/i686/multiarch/strncase_l-c.c
77472 (__strncasecmp_l_ia32): Define as alias to
77473 __strncasecmp_l_nonascii.
77474
77475 [BZ #5794]
77476 * math/libm-test.inc (expm1_test): Add test for bug 5794.
77477 * sysdeps/i386/fpu/libm-test-ulps: Update.
77478 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77479
77480 * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
77481 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
77482
77483 2012-02-29 Jeff Law <law@redhat.com>
77484
77485 * resolv/res_query.c (__libc_res_nquerydomain): Avoid
77486 out of bounds read.
77487
77488 2012-02-29 Marek Polacek <polacek@redhat.com>
77489
77490 [BZ #13706]
77491 * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
77492 * elf/Makefile: Add rules to run tst-unused-dep.out.
77493
77494 2012-02-28 David S. Miller <davem@davemloft.net>
77495
77496 * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
77497 * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
77498 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
77499 * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
77500 * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
77501 * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
77502
77503 2012-02-29 Joseph Myers <joseph@codesourcery.com>
77504
77505 * math/libm-test.inc (llround_test): Move one test from
77506 lround_test. Use TEST_f_L in moved test.
77507 (lround_test): Move misplaced test to llround_test. Add testcase
77508 from bug 2561.
77509
77510 2012-02-28 Ulrich Drepper <drepper@gmail.com>
77511
77512 * sysdeps/x86_64/fpu/e_expf.S: New file.
77513 Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
77514
77515 2012-02-28 Stanislav Brabec <sbrabec@suse.cz>
77516
77517 [BZ #13637]
77518 * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
77519 of remain_len that may cause incomplete multi-byte character and
77520 false match.
77521 * posix/bug-regex33.c: New file.
77522 * posix/Makefile (tests): Add bug-regex33.
77523
77524 2012-02-28 Joseph Myers <joseph@codesourcery.com>
77525
77526 * manual/macros.texi: New file.
77527 * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
77528 * manual/libc.texinfo: Include macros.texi.
77529 * manual/creatute.texi: Likewise.
77530 * manual/install.texi: Likewise.
77531 * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
77532 @glibcadj{} in references to the GNU C Library.
77533 * manual/charset.texi: Likewise.
77534 * manual/conf.texi: Likewise.
77535 * manual/contrib.texi: Likewise. Consistently use "GNU C Library"
77536 when not using those macros.
77537 * manual/creature.texi: Likewise.
77538 * manual/crypt.texi: Likewise.
77539 * manual/errno.texi: Likewise.
77540 * manual/filesys.texi: Likewise.
77541 * manual/header.texi: Likewise.
77542 * manual/install.texi: Likewise.
77543 * manual/intro.texi: Likewise.
77544 * manual/io.texi: Likewise.
77545 * manual/job.texi: Likewise.
77546 * manual/lang.texi: Likewise.
77547 * manual/libc.texiinfo: Likewise.
77548 * manual/llio.texi: Likewise.
77549 * manual/locale.texi: Likewise.
77550 * manual/maint.texi: Likewise.
77551 * manual/math.texi: Likewise.
77552 * manual/memory.texi: Likewise.
77553 * manual/message.texi: Likewise.
77554 * manual/nss.texi: Likewise.
77555 * manual/pattern.texi: Likewise.
77556 * manual/process.texi: Likewise.
77557 * manual/resource.texi: Likewise.
77558 * manual/search.texi: Likewise.
77559 * manual/setjmp.texi: Likewise.
77560 * manual/signal.texi: Likewise.
77561 * manual/socket.texi: Likewise.
77562 * manual/startup.texi: Likewise.
77563 * manual/stdio.texi: Likewise.
77564 * manual/string.texi: Likewise.
77565 * manual/sysinfo.texi: Likewise.
77566 * manual/syslog.texi: Likewise.
77567 * manual/terminal.texi: Likewise.
77568 * manual/time.texi: Likewise.
77569 * manual/users.texi: Likewise.
77570 * INSTALL: Regenerated.
77571 * NOTES: Regenerated.
77572 * sysdeps/gnu/errlist.c: Regenerated.
77573
77574 2012-02-28 Andreas Schwab <schwab@linux-m68k.org>
77575
77576 * include/dirent.h: Include <dirstream.h> before
77577 <dirent/dirent.h>.
77578
77579 2012-02-28 David S. Miller <davem@davemloft.net>
77580
77581 * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
77582 * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
77583 * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
77584 * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
77585
77586 2012-02-27 David S. Miller <davem@davemloft.net>
77587
77588 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
77589 * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
77590 * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
77591 * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
77592
77593 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
77594 frame pointer instead of stack pointer relative arg slot.
77595 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77596 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77597 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77598
77599 2012-02-27 Carlos O'Donell <carlos_odonell@mentor.com>
77600
77601 [BZ #3992]
77602 * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
77603
77604 2012-02-27 David S. Miller <davem@davemloft.net>
77605
77606 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
77607 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
77608 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
77609 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
77610 * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
77611 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
77612 * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
77613 * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
77614
77615 2012-02-27 Joseph Myers <joseph@codesourcery.com>
77616
77617 * configure.in (CC): Restrict allowed GCC versions to 4.3 and
77618 later. Allow versions 5-9.
77619 * configure: Regenerated.
77620 * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
77621 required minimum version and 4.6 as recommended version. Do not
77622 mention bugs in GCC 2.7 and 2.8.
77623 * INSTALL: Regenerated.
77624
77625 2012-02-27 David S. Miller <davem@davemloft.net>
77626
77627 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
77628 * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
77629 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
77630 * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
77631 * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
77632 * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
77633 * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
77634 * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
77635
77636 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
77637 manipulate bits before adding and subtracting TWO112[sx].
77638 * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
77639
77640 2012-02-27 Roland McGrath <roland@hack.frob.com>
77641
77642 [BZ #13775]
77643 * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
77644 [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
77645 * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
77646 being in POSIX, because they are in 1003.1-2008.
77647
77648 * rt/tst-aio.c: Include <fcntl.h>.
77649 * rt/tst-aio7.c: Likewise.
77650 * rt/tst-aio64.c: Likewise.
77651
77652 * stdio-common/tst-fmemopen.c (main): Remove spurious const.
77653
77654 2012-02-27 Joseph Myers <joseph@codesourcery.com>
77655
77656 * manual/install.texi (--with-headers): Describe headers as
77657 interface headers, not private headers.
77658 (Specific advice for GNU/Linux systems): Describe use of headers
77659 from "make headers_install", not private headers from older
77660 kernels.
77661 * INSTALL: Regenerated.
77662 * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
77663 Change to 2.6.19.
77664 * sysdeps/unix/sysv/linux/configure: Regenerated.
77665
77666 * manual/llio.texi (fclean): Remove documentation.
77667
77668 * manual/Makefile (libc-texi-generated): New variable. Include
77669 version.texi.
77670 (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
77671 $(libc-texi-generated), not duplicated list of files.
77672 (version.texi, stamp-version): New rules.
77673 (realclean): Remove $(libc-texi-generated), not individual files
77674 from that list. Do not remove dir-add.texinfo.
77675 * manual/libc.texinfo: Comment out uses of edition numbers and
77676 references to printed manual. Remove last-updated dates.
77677 (EDITION): Comment out.
77678 (ISBN): Likewise.
77679 (VERSION, UPDATED): Remove.
77680 (version.texi): Include.
77681
77682 2012-02-27 Andreas Schwab <schwab@linux-m68k.org>
77683
77684 * sysdeps/posix/spawni.c: Include <signal.h>.
77685 * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
77686 * sysdeps/pthread/aio_fsync.c: Likewise.
77687
77688 2012-02-26 Ulrich Drepper <drepper@gmail.com>
77689
77690 * conform/Makefile (tests): Run only when not cross-compiling and
77691 when fast-check is not defined.
77692
77693 * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
77694 * conform/data/limits.h-data: Fixes for POSIX2008.
77695 * conform/run-conformtest.sh: Run all tests.
77696 * include/arpa/inet.h: Changes to allow conformtest.pl to use the
77697 headers.
77698 * include/bits/dlfcn.h: Likewise.
77699 * include/langinfo.h: Likewise.
77700 * include/monetary.h: Likewise.
77701 * include/sys/poll.h: Likewise.
77702
77703 * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
77704 for __USE_GNU.
77705 * posix/spawn.h: Define __need_sigset_t.
77706 * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
77707 * posix/unistd.h: Declare ctermid only for XPG before XPG6.
77708 * rt/aio.h: Don't include fcntl.h and signal.h. Use bits/siginfo.h
77709 to get sigevent_t only.
77710 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
77711 only for __USE_GNU.
77712 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
77713 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
77714 process_vm_writev only for __USE_GNU.
77715 * termios/termios.h: Declare tcgetsid also for POSIX2008.
77716
77717 * conform/Makefile: For now ignore errors from run-conformtest.
77718 * conform/conformtest.pl: Simplify code. Add -ansi to CFLAGS for
77719 POSIX to avoid namespace pollution. Don't prepend headers.
77720 * conform/data/aio.h-data: Fixes for POSIX testing.
77721 * conform/data/fcntl.h-data: Likewise.
77722 * conform/data/glob.h-data: Likewise.
77723 * conform/data/grp.h-data: Likewise.
77724 * conform/data/pthread.h-data: Likewise.
77725 * conform/data/pwd.h-data: Likewise.
77726 * conform/data/signal.h-data: Likewise.
77727 * conform/data/spawn.h-data: Likewise.
77728 * conform/data/stdio.h-data: Likewise.
77729 * conform/data/stdlib.h-data: Likewise.
77730 * conform/data/stropts.h-data: Likewise.
77731 * conform/data/sys/mman.h-data: Likewise.
77732 * conform/data/sys/stat.h-data: Likewise.
77733 * conform/data/sys/types.h-data: Likewise.
77734 * conform/data/sys/wait.h-data: Likewise.
77735 * conform/data/time.h-data: Likewise.
77736 * conform/data/unistd.h-data: Likewise.
77737 * conform/data/utime.h-data: Likewise.
77738
77739 * io/sys/stat.h: fchmod was always in POSIX.
77740 * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
77741 * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
77742 * rt/aio.h: Define __need_timespec before including <time.h>.
77743 * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
77744 struct. Add forward declaration of pthread_attr_t and use it in
77745 sigevent.
77746 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
77747 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
77748 * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
77749 always remove CLK_TCK definition.
77750
77751 2012-02-26 Andreas Schwab <schwab@linux-m68k.org>
77752
77753 * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
77754
77755 2012-02-25 Ulrich Drepper <drepper@gmail.com>
77756
77757 * conform/run-conformtest.sh: New file.
77758 * conform/Makefile: Run run-conformtest for tests.
77759 * conform/conformtest.pl: Many bug fixes. Add ISO C99, ISO C11
77760 support.
77761
77762 * conform/data/uchar.h-data: New file.
77763 * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
77764 * conform/data/arpa/inet.h-data: Likewise.
77765 * conform/data/assert.h-data: Likewise.
77766 * conform/data/complex.h-data: Likewise.
77767 * conform/data/cpio.h-data: Likewise.
77768 * conform/data/ctype.h-data: Likewise.
77769 * conform/data/dirent.h-data: Likewise.
77770 * conform/data/dlfcn.h-data: Likewise.
77771 * conform/data/errno.h-data: Likewise.
77772 * conform/data/fcntl.h-data: Likewise.
77773 * conform/data/float.h-data: Likewise.
77774 * conform/data/fmtmsg.h-data: Likewise.
77775 * conform/data/fnmatch.h-data: Likewise.
77776 * conform/data/ftw.h-data: Likewise.
77777 * conform/data/glob.h-data: Likewise.
77778 * conform/data/grp.h-data: Likewise.
77779 * conform/data/iconv.h-data: Likewise.
77780 * conform/data/inttypes.h-data: Likewise.
77781 * conform/data/langinfo.h-data: Likewise.
77782 * conform/data/libgen.h-data: Likewise.
77783 * conform/data/limits.h-data: Likewise.
77784 * conform/data/locale.h-data: Likewise.
77785 * conform/data/math.h-data: Likewise.
77786 * conform/data/monetary.h-data: Likewise.
77787 * conform/data/mqueue.h-data: Likewise.
77788 * conform/data/ndbm.h-data: Likewise.
77789 * conform/data/net/if.h-data: Likewise.
77790 * conform/data/netdb.h-data: Likewise.
77791 * conform/data/netinet/in.h-data: Likewise.
77792 * conform/data/nl_types.h-data: Likewise.
77793 * conform/data/poll.h-data: Likewise.
77794 * conform/data/pthread.h-data: Likewise.
77795 * conform/data/pwd.h-data: Likewise.
77796 * conform/data/regex.h-data: Likewise.
77797 * conform/data/sched.h-data: Likewise.
77798 * conform/data/search.h-data: Likewise.
77799 * conform/data/semaphore.h-data: Likewise.
77800 * conform/data/setjmp.h-data: Likewise.
77801 * conform/data/signal.h-data: Likewise.
77802 * conform/data/spawn.h-data: Likewise.
77803 * conform/data/stdarg.h-data: Likewise.
77804 * conform/data/stdio.h-data: Likewise.
77805 * conform/data/stdlib.h-data: Likewise.
77806 * conform/data/string.h-data: Likewise.
77807 * conform/data/strings.h-data: Likewise.
77808 * conform/data/stropts.h-data: Likewise.
77809 * conform/data/sys/ipc.h-data: Likewise.
77810 * conform/data/sys/mman.h-data: Likewise.
77811 * conform/data/sys/msg.h-data: Likewise.
77812 * conform/data/sys/resource.h-data: Likewise.
77813 * conform/data/sys/select.h-data: Likewise.
77814 * conform/data/sys/sem.h-data: Likewise.
77815 * conform/data/sys/shm.h-data: Likewise.
77816 * conform/data/sys/socket.h-data: Likewise.
77817 * conform/data/sys/stat.h-data: Likewise.
77818 * conform/data/sys/statvfs.h-data: Likewise.
77819 * conform/data/sys/time.h-data: Likewise.
77820 * conform/data/sys/timeb.h-data: Likewise.
77821 * conform/data/sys/times.h-data: Likewise.
77822 * conform/data/sys/types.h-data: Likewise.
77823 * conform/data/sys/uio.h-data: Likewise.
77824 * conform/data/sys/un.h-data: Likewise.
77825 * conform/data/sys/utsname.h-data: Likewise.
77826 * conform/data/sys/wait.h-data: Likewise.
77827 * conform/data/syslog.h-data: Likewise.
77828 * conform/data/tar.h-data: Likewise.
77829 * conform/data/termios.h-data: Likewise.
77830 * conform/data/utime.h-data: Likewise.
77831 * conform/data/utmpx.h-data: Likewise.
77832 * conform/data/varargs.h-data: Likewise.
77833 * conform/data/wchar.h-data: Likewise.
77834 * conform/data/wctype.h-data: Likewise.
77835 * conform/data/wordexp.h-data: Likewise.
77836
77837 * include/stropts.h: New file.
77838 * include/uchar.h: New file.
77839 * include/aio.h: Changes to allow conformtest.pl to use the headers.
77840 * include/assert.h: Likewise.
77841 * include/ctype.h: Likewise.
77842 * include/dirent.h: Likewise.
77843 * include/dlfcn.h: Likewise.
77844 * include/fcntl.h: Likewise.
77845 * include/fnmatch.h: Likewise.
77846 * include/glob.h: Likewise.
77847 * include/grp.h: Likewise.
77848 * include/libio.h: Likewise.
77849 * include/locale.h: Likewise.
77850 * include/math.h: Likewise.
77851 * include/net/if.h: Likewise.
77852 * include/netdb.h: Likewise.
77853 * include/netinet/in.h: Likewise.
77854 * include/pthread.h: Likewise.
77855 * include/pwd.h: Likewise.
77856 * include/regex.h: Likewise.
77857 * include/sched.h: Likewise.
77858 * include/search.h: Likewise.
77859 * include/setjmp.h: Likewise.
77860 * include/signal.h: Likewise.
77861 * include/stdio.h: Likewise.
77862 * include/stdlib.h: Likewise.
77863 * include/string.h: Likewise.
77864 * include/sys/cdefs.h: Likewise.
77865 * include/sys/mman.h: Likewise.
77866 * include/sys/msg.h: Likewise.
77867 * include/sys/resource.h: Likewise.
77868 * include/sys/select.h: Likewise.
77869 * include/sys/socket.h: Likewise.
77870 * include/sys/stat.h: Likewise.
77871 * include/sys/statvfs.h: Likewise.
77872 * include/sys/time.h: Likewise.
77873 * include/sys/times.h: Likewise.
77874 * include/sys/uio.h: Likewise.
77875 * include/sys/utsname.h: Likewise.
77876 * include/sys/wait.h: Likewise.
77877 * include/termios.h: Likewise.
77878 * include/time.h: Likewise.
77879 * include/ulimit.h: Likewise.
77880 * include/unistd.h: Likewise.
77881 * include/utime.h: Likewise.
77882 * include/wchar.h: Likewise.
77883 * include/wctype.h: Likewise.
77884 * include/wordexp.h: Likewise.
77885
77886 * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
77887
77888 * time/time.h: TIME_UTC must be a macro.
77889 Make timespec_get available for ISO C11 only as well.
77890
77891 2012-02-24 Ulrich Drepper <drepper@gmail.com>
77892
77893 * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
77894 Reported by Peng Haitao <penght@cn.fujitsu.com>.
77895
77896 2012-02-24 Joseph Myers <joseph@codesourcery.com>
77897
77898 * configure.in: Use -o not -a in test for unsupported multi-arch.
77899
77900 2012-02-24 Joseph Myers <joseph@codesourcery.com>
77901
77902 * manual/texinfo.tex: Update to version 2012-01-19.16.
77903
77904 2012-02-24 Joseph Myers <joseph@codesourcery.com>
77905
77906 * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
77907
77908 2012-02-24 Roland McGrath <roland@hack.frob.com>
77909
77910 [BZ #13738]
77911 * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
77912 * manual/fdl-1.3.texi: New file.
77913 * manual/fdl-1.1.texi: File removed.
77914
77915 [BZ #13738]
77916 * manual/libc.texinfo (FDL_VERSION): New @set.
77917 Use it for mention of FDL in cover text.
77918 (Documentation License): Use it in @include file name.
77919
77920 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77921 Roland McGrath <roland@hack.frob.com>
77922
77923 [BZ #5461]
77924 * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
77925 (not LONG_LONG_MAX and LONG_LONG_MIN.
77926 * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
77927 LLONG_MIN. Refer to LONG_LONG_MIN only as older GCC-specific
77928 name.
77929 (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
77930
77931 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77932
77933 [BZ #2547]
77934 [BZ #11365]
77935 * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
77936 manipulate bits before adding and subtracting TWO23[sx].
77937 * math/libm-test.inc (nearbyint_test): Add more tests.
77938
77939 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77940
77941 [BZ #2548]
77942 * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
77943 bits before adding and subtracting TWO23[sx].
77944 * math/libm-test.inc (rint_test): Add more tests.
77945 (rint_test_tonearest): Likewise.
77946 (rint_test_towardzero): Likewise.
77947 (rint_test_downward): Likewise.
77948 (rint_test_upward: Likewise.
77949
77950 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77951
77952 [BZ #10110]
77953 * include/stdc-predef.h: New file. Extracted from features.h.
77954 * include/features.h: Include stdc-predef.h.
77955 * Makefile (headers): Add stdc-predef.h.
77956 * CONFORMANCE (Compiler limitations): Update.
77957
77958 2012-02-22 Joseph Myers <joseph@codesourcery.com>
77959
77960 * manual/libc.texinfo (VERSION, UPDATED): Revert.
77961
77962 2012-02-21 David S. Miller <davem@davemloft.net>
77963
77964 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
77965 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
77966
77967 2012-02-20 David S. Miller <davem@davemloft.net>
77968
77969 * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
77970 using a normal save/restore sequence, rather than allocating a
77971 dummy stack frame just to store a frame pointer and restore.
77972 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77973
77974 2012-02-21 Joseph Myers <joseph@codesourcery.com>
77975
77976 * manual/install.texi: Fix stray word in line-wrapped comment.
77977
77978 2012-02-20 David S. Miller <davem@davemloft.net>
77979
77980 * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
77981 both binutils and gcc support GOTDATA.
77982
77983 * sysdeps/unix/sparc/sysdep.h: Document why we don't use
77984 "rd %pc" in the PIC register setup sequences.
77985
77986 * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
77987 * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
77988 * sysdeps/sparc/sparc32/elf/start.S: Likewise.
77989 * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
77990 * sysdeps/sparc/sparc64/elf/start.S: Likewise.
77991 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
77992 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
77993 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
77994 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
77995 (SYSCALL_ERROR_HANDLER): Likewise.
77996 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
77997 * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
77998 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
77999 (SYSCALL_ERROR_HANDLER): Likewise.
78000
78001 * config.h.in (HAVE_BINUTILS_GOTDATA): New.
78002 (HAVE_GCC_GOTDATA): New.
78003 * sysdeps/sparc/elf/configure.in: Test for GOTDATA
78004 relocation support in both binutils and gcc.
78005 * sysdeps/sparc/elf/configure: Regenerate.
78006
78007 * sysdeps/sparc/sparc32/elf/configure.in: Delete.
78008 * sysdeps/sparc/sparc32/elf/configure: Delete.
78009 * sysdeps/sparc/sparc64/elf/configure.in: Delete.
78010 * sysdeps/sparc/sparc64/elf/configure: Delete.
78011 * sysdeps/sparc/elf/configure.in: New file.
78012 * sysdeps/sparc/elf/configure: Generate.
78013
78014 * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
78015 * sysdeps/sparc/sparc32/elf/configure: Regenerate.
78016 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
78017 * sysdeps/sparc/sparc64/elf/configure: Regenerate.
78018 * config.h.in (BROKEN_SPARC_WDISP22): Remove.
78019
78020 2012-02-21 Joseph Myers <joseph@codesourcery.com>
78021
78022 * manual/install.texi: Do not mention specific glibc version
78023 numbers.
78024 * manual/libc.texinfo (VERSION, UPDATED): Update.
78025 (@copying): Use @copyright{} and range of years.
78026
78027 2012-02-21 Joseph Myers <joseph@codesourcery.com>
78028
78029 [BZ #13695]
78030 * csu/Makefile (distribute): Remove initfini.c and defs.awk.
78031 [crti.S not in sysdirs] (generated): Do not append.
78032 [crti.S not in sysdirs] (omit-deps): Likewise.
78033 [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
78034 [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
78035 [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
78036 [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
78037 [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
78038 Likewise.
78039 [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
78040 [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
78041 [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
78042 * csu/defs.awk: Remove file.
78043 * sysdeps/generic/initfini.c: Likewise.
78044 * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
78045 variable.
78046 * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
78047 Likewise.
78048
78049 2012-02-20 Joseph Myers <joseph@codesourcery.com>
78050
78051 * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
78052 * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
78053 * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
78054 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
78055 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
78056 * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
78057 <bits/epoll.h>.
78058 (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
78059 (__EPOLL_PACKED): Define to empty if not defined by
78060 <bits/epoll.h>.
78061 (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
78062 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78063 bits/epoll.h.
78064
78065 2012-02-20 Joseph Myers <joseph@codesourcery.com>
78066
78067 * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
78068 * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
78069 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
78070 * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
78071 <bits/timerfd.h>.
78072 (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
78073 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78074 bits/timerfd.h.
78075
78076 2012-02-20 Joseph Myers <joseph@codesourcery.com>
78077
78078 * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
78079 in C locale.
78080 * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
78081 * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
78082 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
78083 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78084
78085 2012-02-20 Aurelien Jarno <aurelien@aurel32.net>
78086
78087 * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78088 * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
78089
78090 2012-02-19 Andreas Schwab <schwab@linux-m68k.org>
78091
78092 * manual/errno.texi (Error Codes): Add EHWPOISON entry.
78093 * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
78094 defined.
78095 * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
78096 Likewise.
78097 * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
78098 entry for 2.16.
78099
78100 2012-02-19 Aurelien Jarno <aurelien@aurel32.net>
78101
78102 * math/w_acos.c: Use non-signaling floating-point comparisons.
78103 * math/w_acosf.c: Likewise.
78104 * math/w_acosh.c: Likewise.
78105 * math/w_acoshf.c: Likewise.
78106 * math/w_acoshl.c: Likewise.
78107 * math/w_acosl.c: Likewise.
78108 * math/w_asin.c: Likewise.
78109 * math/w_asinf.c: Likewise.
78110 * math/w_asinl.c: Likewise.
78111 * math/w_atanh.c: Likewise.
78112 * math/w_atanhf.c: Likewise.
78113 * math/w_atanhl.c: Likewise.
78114 * math/w_exp2.c: Likewise.
78115 * math/w_exp2f.c: Likewise.
78116 * math/w_exp2l.c: Likewise.
78117 * math/w_j0.c: Likewise.
78118 * math/w_j0f.c: Likewise.
78119 * math/w_j0l.c: Likewise.
78120 * math/w_j1.c: Likewise.
78121 * math/w_j1f.c: Likewise.
78122 * math/w_j1l.c: Likewise.
78123 * math/w_jn.c: Likewise.
78124 * math/w_jnf.c: Likewise.
78125 * math/w_log.c: Likewise.
78126 * math/w_log10.c: Likewise.
78127 * math/w_log10f.c: Likewise.
78128 * math/w_log10l.c: Likewise.
78129 * math/w_log2.c: Likewise.
78130 * math/w_log2f.c: Likewise.
78131 * math/w_log2l.c: Likewise.
78132 * math/w_logf.c: Likewise.
78133 * math/w_logl.c: Likewise.
78134 * math/w_sqrt.c: Likewise.
78135 * math/w_sqrtf.c: Likewise.
78136 * math/w_sqrtl.c: Likewise.
78137 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
78138 * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
78139 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
78140 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
78141 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
78142
78143 2012-02-19 Joseph Myers <joseph@codesourcery.com>
78144
78145 [BZ #9739]
78146 * manual/string.texi (strnlen): Use correct parameter name in
78147 equivalent expression.
78148
78149 2012-02-19 Joseph Myers <joseph@codesourcery.com>
78150
78151 [BZ #11174]
78152 * manual/users.texi (seteuid): Consistently use neweuid for
78153 argument name.
78154
78155 2012-02-19 Joseph Myers <joseph@codesourcery.com>
78156
78157 [BZ #13704]
78158 * manual/nss.texi (Services in the NSS configuration): Correct
78159 list of services in example configuration file.
78160
78161 2012-02-19 Nick Bowler <nbowler@draconx.ca>
78162
78163 [BZ #11322]
78164 * manual/arith.texi: Remove statements about negative zero
78165 behaving identically to zero.
78166
78167 2012-02-18 Joseph Myers <joseph@codesourcery.com>
78168
78169 [BZ #5993]
78170 * manual/install.texi: Do not document upgrading from libc5.
78171
78172 2012-02-18 Joseph Myers <joseph@codesourcery.com>
78173
78174 [BZ #4596]
78175 * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
78176
78177 2012-02-18 David S. Miller <davem@davemloft.net>
78178
78179 * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
78180 (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
78181 %o7 across the call.
78182 (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
78183 instead.
78184 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
78185 SETUP_PIC_REG_LEAF.
78186 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
78187 * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
78188 * sysdeps/sparc/crtn.S: Likewise.
78189
78190 2012-02-17 Ulrich Drepper <drepper@gmail.com>
78191
78192 * aout/Makefile: Remove.
78193
78194 2012-02-18 Rafe Kettler <rafe.kettler@gmail.com>
78195
78196 [BZ #13058]
78197 * manual/examples/argp-ex1.c (main): Format definition in GNU
78198 style.
78199 * manual/examples/argp-ex2.c (main): Likewise.
78200 * manual/examples/argp-ex3.c (main): Likewise.
78201 * manual/examples/argp-ex4.c (main): Likewise.
78202 * manual/examples/longopt.c (main): Use new-style prototype
78203 definition.
78204 * manual/examples/strncat.c (main): Specify return type and use
78205 (void) for arguments.
78206 * manual/examples/subopt.c (main): Use char **argv argument.
78207
78208 2012-02-17 Joseph Myers <joseph@codesourcery.com>
78209
78210 [BZ #5077]
78211 * manual/lang.texi (FLT_EPSILON): Avoid description depending on
78212 rounding modes.
78213
78214 2012-02-17 Fabrice Bauzac <fabrice.bauzac@wanadoo.fr>
78215
78216 [BZ #6907]
78217 * manual/string.texi (strchr): Change when strchrnul is
78218 recommended.
78219
78220 2012-02-17 Dwayne Grant McConnell <decimal@us.ibm.com>
78221
78222 [BZ #174]
78223 * manual/locale.texi (setlocale): Document LOCPATH.
78224
78225 2012-02-17 Joseph Myers <joseph@codesourcery.com>
78226
78227 [BZ #10210]
78228 * manual/process.texi (execle): Move @dots{} before last argument.
78229
78230 2012-02-17 Paul Bolle <pebolle@tiscali.nl>
78231
78232 [BZ #12047]
78233 * manual/charset.texi (Generic Charset Conversion): Fix typo
78234 (LC_TYPE -> LC_CTYPE).
78235
78236 2012-02-17 Nicolas Boulenguez <nicolas.boulenguez@free.fr>
78237
78238 [BZ #5805]
78239 * manual/arith.texi (scalbn): Use @var{} on parameter names.
78240 (scalbnf): Likewise.
78241 (scalbnl): Likewise.
78242 (scalbln): Likewise.
78243 (scalblnf): Likewise.
78244 (scalblnl): Likewise.
78245 * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
78246 (vwarnx): Likewise.
78247 (verr): Likewise.
78248 (verrx): Likewise.
78249 * manual/filesys.texi (telldir): Use braces around return type.
78250 * manual/llio.texi (mmap): Add space after comma.
78251 (mmap64): Likewise.
78252 * manual/math.texi (jn): Use @var{} on parameter names.
78253 (jnf): Likewise.
78254 (jnl): Likewise.
78255 (yn): Likewise.
78256 (ynf): Likewise.
78257 (ynl): Likewise.
78258 * manual/memory.texi (alloca): Remove semicolon on @deftypefun
78259 line.
78260 * manual/resource.texi (ulimit): Use @dots{} instead of literal
78261 "...".
78262 (sched_get_priority_min): Remove semicolon on @deftypefun line.
78263 (sched_get_priority_max): Likewise.
78264 * manual/signal.texi (sigvec): Add space after comma.
78265 * manual/socket.texi (if_nametoindex): Use @var{} on parameter
78266 names.
78267 (if_indextoname): Likewise.
78268 (if_freenameindex): Likewise.
78269 (sendto): Use ',' instead of '.' in prototype.
78270 * manual/startup.texi (syscall): Use @dots{} instead of literal
78271 "...".
78272 * manual/stdio.texi (__fpending): Separate initial words of
78273 paragraph from @deftypefun line.
78274 * manual/syslog.texi (syslog): Use @dots{} instead of literal
78275 "...".
78276 (vsyslog): Use @var{} on parameter names.
78277 * manual/terminal.texi (stty): Use @var{} on parameter names.
78278 * manual/users.texi (getutmp): Use @var{} on parameter names.
78279 (getutmpx): Likewise.
78280
78281 2012-02-17 Joseph Myers <joseph@codesourcery.com>
78282
78283 [BZ #6884]
78284 * manual/stdio.texi (fopen): Fix typos in description of
78285 ",ccs=STRING".
78286
78287 2012-02-17 Aurelien Jarno <aurelien@aurel32.net>
78288
78289 [BZ #4026]
78290 * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
78291 get clock_id definition.
78292
78293 2012-02-17 Thomas Schwinge <thomas@schwinge.name>
78294
78295 [BZ #4822]
78296 * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
78297 (madvise): Cast every argument to void on its own.
78298
78299 2012-02-17 Joseph Myers <joseph@codesourcery.com>
78300
78301 [BZ #9902]
78302 * manual/startup.texi (Exit Status): Fix typo.
78303
78304 2012-02-17 Joseph Myers <joseph@codesourcery.com>
78305
78306 [BZ #10140]
78307 * manual/examples/argp-ex1.c: Include <stdlib.h>.
78308 * manual/examples/argp-ex2.c: Likewise.
78309 * manual/examples/argp-ex3.c: Likewise.
78310
78311 2012-02-16 Richard Henderson <rth@redhat.com>
78312
78313 * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
78314 * sysdeps/s390/s390-32/initfini.c: Remove.
78315 * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
78316 * sysdeps/s390/s390-64/initfini.c: Remove.
78317
78318 2012-02-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
78319
78320 * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
78321 compiler output for sysdeps/generic/initfini.c.
78322 * sysdeps/sh/elf/initfini.c: Remove file.
78323
78324 2012-02-16 David S. Miller <davem@davemloft.net>
78325
78326 [BZ #11494]
78327 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
78328
78329 * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
78330 * sysdeps/sparc/crti.S: New file.
78331 * sysdeps/sparc/crtn.S: New file.
78332 * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
78333 * sysdeps/sparc/sparc64/Makefile: Likewise.
78334
78335 2012-02-15 Mike Frysinger <vapier@gentoo.org>
78336
78337 [BZ #3335]
78338 * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
78339
78340 2012-02-15 Roland McGrath <roland@hack.frob.com>
78341
78342 [BZ #4822]
78343 * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
78344
78345 * mach/devstream.c (cookie_io_functions_t): Macro removed.
78346 (write, read, close): Likewise.
78347 Patch by Aurelien Jarno <aurelien@aurel32.net>.
78348
78349 2012-02-15 Joseph Myers <joseph@codesourcery.com>
78350
78351 * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
78352 * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
78353 * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
78354 * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
78355 <bits/signalfd.h>.
78356 (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
78357 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78358 bits/signalfd.h.
78359
78360 2012-02-14 Marek Polacek <polacek@redhat.com>
78361
78362 * sysdeps/x86_64/crti.S: New file.
78363 * sysdeps/x86_64/crtn.S: New file.
78364 * sysdeps/x86_64/elf/initfini.c: Remove file.
78365
78366 2012-02-13 Joseph Myers <joseph@codesourcery.com>
78367
78368 * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
78369 * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
78370 * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
78371 * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
78372 <bits/inotify.h>.
78373 (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
78374 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78375 bits/inotify.h.
78376
78377 2012-02-13 Joseph Myers <joseph@codesourcery.com>
78378
78379 * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
78380 * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
78381 * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
78382 * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
78383 <bits/eventfd.h>.
78384 (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
78385 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
78386 bits/eventfd.h.
78387
78388 2012-02-10 Thomas Schwinge <thomas@codesourcery.com>
78389
78390 * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
78391 __feraiseexcept instead of feraiseexcept.
78392
78393 * rt/tst-cpuclock1.c: Add a few comments, and error checking for
78394 nanosleep invocations.
78395 * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
78396 strings, and add error checking for a nanosleep invocations.
78397
78398 2012-02-09 Paul Eggert <eggert@cs.ucla.edu>
78399
78400 Replace FSF snail mail address with URLs, as per GNU coding standards.
78401 Most of the snail mail addresses were wrong anyway, and omitting
78402 them makes the source code easier to maintain. Almost all of the
78403 changes are to license notices and to locale LC_IDENTIFICATION
78404 addresses, except for this one:
78405 * manual/libc.texinfo: In "Published by", give the FSF's URL,
78406 not its snail mail address.
78407
78408 2012-02-09 Richard Henderson <rth@twiddle.net>
78409
78410 * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
78411 of kernel-features.h.
78412
78413 * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
78414
78415 2012-02-08 Marek Polacek <polacek@redhat.com>
78416
78417 * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
78418 * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
78419 * sysdeps/gnu/_G_config.h: Likewise.
78420 * sysdeps/generic/_G_config.h: Likewise.
78421
78422 2012-02-08 Andreas Schwab <schwab@linux-m68k.org>
78423
78424 * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
78425 tests.
78426 * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78427
78428 * sysdeps/powerpc/powerpc32/crti.S: New file.
78429 * sysdeps/powerpc/powerpc32/crtn.S: New file.
78430 * sysdeps/powerpc/powerpc64/crti.S: New file.
78431 * sysdeps/powerpc/powerpc64/crtn.S: New file.
78432
78433 * Makeconfig (have-initfini): Don't set.
78434 * config.make.in (have-initfini, need-nopic-initfini): Don't set.
78435 * configure.in (nopic_initfini): Don't substitute.
78436 * config.h.in (HAVE_INITFINI): Don't #undef.
78437 * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
78438 * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
78439
78440 2012-02-08 Joseph Myers <joseph@codesourcery.com>
78441
78442 Support crti.S and crtn.S provided directly by architectures.
78443 * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
78444 [crti.S in sysdirs] (omit-deps): Likewise.
78445 [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
78446 [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
78447 [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
78448 [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
78449 [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
78450 [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
78451 [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
78452 [crti.S in sysdirs] (initfini.c): Remove vpath directive.
78453 * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
78454 compiler output for sysdeps/generic/initfini.c.
78455 * sysdeps/i386/elf/Makefile: Remove file.
78456 * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
78457
78458 2012-02-07 Marek Polacek <polacek@redhat.com>
78459
78460 * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
78461 * sysdeps/gnu/_G_config.h: Likewise.
78462 * sysdeps/mach/hurd/_G_config.h: Likewise.
78463
78464 2012-02-07 Marek Polacek <polacek@redhat.com>
78465
78466 * math/Makefile (tests): Add tst-CMPLX2.
78467 * math/tst-CMPLX2.c: New file.
78468
78469 2012-02-07 Andreas Schwab <schwab@linux-m68k.org>
78470
78471 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
78472
78473 * math/libm-test.inc (jn_test): Add missing L suffix.
78474
78475 2012-02-06 Marek Polacek <polacek@redhat.com>
78476
78477 * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
78478 * sysdeps/i386/fpu/e_powf.S: Likewise.
78479 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
78480 * sysdeps/i386/fpu/s_cexpl.S: Likewise.
78481 * sysdeps/i386/fpu/e_acosh.S: Likewise.
78482 * sysdeps/i386/fpu/e_pow.S: Likewise.
78483 * sysdeps/i386/fpu/s_asinhl.S: Likewise.
78484 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
78485 * sysdeps/i386/fpu/s_expm1.S: Likewise.
78486 * sysdeps/i386/fpu/s_frexpf.S: Likewise.
78487 * sysdeps/i386/fpu/e_log2.S: Likewise.
78488 * sysdeps/i386/fpu/e_log2l.S: Likewise.
78489 * sysdeps/i386/fpu/e_scalb.S: Likewise.
78490 * sysdeps/i386/fpu/e_powl.S: Likewise.
78491 * sysdeps/i386/fpu/s_log1p.S: Likewise.
78492 * sysdeps/i386/fpu/e_log10f.S: Likewise.
78493 * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
78494 * sysdeps/i386/fpu/e_logl.S: Likewise.
78495 * sysdeps/i386/fpu/s_cbrt.S: Likewise.
78496 * sysdeps/i386/fpu/s_expm1l.S: Likewise.
78497 * sysdeps/i386/fpu/s_frexpl.S: Likewise.
78498 * sysdeps/i386/fpu/s_expm1f.S: Likewise.
78499 * sysdeps/i386/fpu/e_log2f.S: Likewise.
78500 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
78501 * sysdeps/i386/fpu/e_log.S: Likewise.
78502 * sysdeps/i386/fpu/s_cexp.S: Likewise.
78503 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
78504 * sysdeps/i386/fpu/s_log1pl.S: Likewise.
78505 * sysdeps/i386/fpu/e_logf.S: Likewise.
78506 * sysdeps/i386/fpu/e_log10l.S: Likewise.
78507 * sysdeps/i386/fpu/e_atanh.S: Likewise.
78508 * sysdeps/i386/fpu/s_log1pf.S: Likewise.
78509 * sysdeps/i386/fpu/s_asinhf.S: Likewise.
78510 * sysdeps/i386/fpu/s_cexpf.S: Likewise.
78511 * sysdeps/i386/fpu/e_log10.S: Likewise.
78512 * sysdeps/i386/fpu/s_frexp.S: Likewise.
78513 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
78514 * sysdeps/i386/fpu/s_asinh.S: Likewise.
78515 * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
78516 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
78517 * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
78518 * sysdeps/i386/asm-syntax.h: Likewise.
78519 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
78520 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
78521 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
78522 * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
78523 * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
78524 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
78525 * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
78526 * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
78527 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
78528 * sysdeps/powerpc/sysdep.h: Likewise.
78529 * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
78530 * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
78531
78532 2012-02-06 Joseph Myers <joseph@codesourcery.com>
78533
78534 [BZ #411]
78535 * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
78536
78537 2012-02-06 Joseph Myers <joseph@codesourcery.com>
78538
78539 * sysdeps/i386/sysdep.h: Include <features.h>.
78540 (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
78541 version.
78542
78543 2012-02-05 Joseph Myers <joseph@codesourcery.com>
78544
78545 * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
78546 Define.
78547 * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
78548 LOAD_PIC_REG_STR.
78549
78550 2012-02-03 Joseph Myers <joseph@codesourcery.com>
78551
78552 * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
78553 (SETUP_PIC_REG): Use GET_PC_THUNK.
78554 * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
78555 macro.
78556
78557 2012-02-03 Joseph Myers <joseph@codesourcery.com>
78558
78559 * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
78560 for non-PIC compilation.
78561 (SETUP_PIC_REG): Add .p2align directive.
78562 * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
78563 * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
78564 * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
78565 * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
78566 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
78567 * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
78568 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
78569 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
78570 * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
78571 * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
78572 * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
78573 * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
78574 * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
78575 * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
78576 * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
78577 * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
78578 * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
78579 * sysdeps/i386/i686/multiarch/memset.S: Likewise.
78580 * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
78581 * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
78582 * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
78583 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
78584 * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
78585 * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
78586 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
78587 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
78588 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
78589 * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
78590 * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
78591 * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
78592 * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
78593 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
78594 * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
78595 * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
78596 * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
78597 * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
78598 * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
78599 * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
78600 * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
78601 * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
78602 * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
78603
78604 2012-02-03 Joseph Myers <joseph@codesourcery.com>
78605
78606 * math/tst-CMPLX.c: Include <stdio.h>.
78607
78608 2012-01-31 Joseph Myers <joseph@codesourcery.com>
78609
78610 * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
78611 float.
78612 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78613 * sysdeps/sparc/bits/mathdef.h: Likewise.
78614
78615 2012-01-31 Marek Polacek <polacek@redhat.com>
78616
78617 * libio/libio.h: Don't define _PARAMS.
78618 * locale/programs/config.h: Don't define PARAMS.
78619 * stdlib/strtol_l.c: Likewise.
78620 (__strtol_l): Remove PARAMS from the prototype.
78621
78622 2012-01-31 Ulrich Drepper <drepper@gmail.com>
78623
78624 * malloc/malloc.c: Remove name translation. Don't use mixed-cap
78625 names. Just use the correct names. Remove unnecessary wrapper
78626 functions.
78627 * malloc/arena.c: Likewise.
78628 * malloc/hooks.c: Likewise.
78629
78630 * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
78631 ARENA_TEST says not to. Simplify test for creation of a new arena.
78632 Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
78633
78634 2012-01-30 Ulrich Drepper <drepper@gmail.com>
78635
78636 * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
78637 into tail calls.
78638 (update_get_addr): New function.
78639 (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
78640 GET_ADDR_MODULE parameter.
78641
78642 2012-01-30 Joseph Myers <joseph@codesourcery.com>
78643
78644 * crypt/cert.c: Remove __STDC__ conditionals.
78645 * crypt/crypt-entry.c: Likewise.
78646 * crypt/crypt_util.c: Likewise.
78647 * libio/filedoalloc.c: Likewise.
78648 * libio/fileops.c: Likewise.
78649 * libio/genops.c: Likewise.
78650 * libio/iofclose.c: Likewise.
78651 * libio/iofdopen.c: Likewise.
78652 * libio/iofopen.c: Likewise.
78653 * libio/iofopen64.c: Likewise.
78654 * libio/iogetdelim.c: Likewise.
78655 * libio/iopopen.c: Likewise.
78656 * libio/obprintf.c: Likewise.
78657 * libio/oldfileops.c: Likewise.
78658 * libio/oldiofclose.c: Likewise.
78659 * libio/oldiofdopen.c: Likewise.
78660 * libio/oldiofopen.c: Likewise.
78661 * libio/oldiopopen.c: Likewise.
78662 * libio/wfiledoalloc.c: Likewise.
78663 * libio/wgenops.c: Likewise.
78664 * locale/programs/xmalloc.c: Likewise.
78665 * misc/syslog.c: Likewise.
78666 * stdio-common/xbug.c: Likewise.
78667 * string/memchr.c: Likewise.
78668 * string/memcmp.c: Likewise.
78669 * string/memrchr.c: Likewise.
78670 * string/rawmemchr.c: Likewise.
78671 * sysdeps/posix/getcwd.c: Likewise.
78672 * time/strftime_l.c: Likewise.
78673
78674 2012-01-30 Joseph Myers <joseph@codesourcery.com>
78675
78676 * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
78677 * config.make.in (config-cflags-sse2avx): Define.
78678 * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
78679 Fix typo.
78680
78681 2012-01-29 Chris Metcalf <cmetcalf@tilera.com>
78682
78683 * scripts/config.guess: Update from upstream config git repository.
78684 * scripts/config.sub: Likewise.
78685
78686 2012-01-28 Chris Metcalf <cmetcalf@tilera.com>
78687
78688 * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
78689 (EM_NUM): Update.
78690 (R_TILEPRO_*, R_TILEGX_*): New macros.
78691
78692 * scripts/firstversions.awk: Fix bug in version range handling.
78693
78694 * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
78695
78696 * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
78697
78698 * include/sys/epoll.h: New file.
78699 * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
78700 libc_hidden_def.
78701
78702 2012-01-28 Ulrich Drepper <drepper@gmail.com>
78703
78704 * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
78705 Avoid unnecessary __WORDSIZE == 64 test.
78706 (fmaxf): Use VEX format if possible.
78707 (fmax): Likewise.
78708 (fminf): Likewise.
78709 (fmin): Likewise.
78710
78711 * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
78712 * math/math_private.h: Remove libc_fegetround* and
78713 libc_fesetround*.
78714 * sysdeps/i386/configure.in: Check for -msse2avx.
78715 * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
78716 also if SSE2AVX is defined.
78717 Remove libc_fegetround* and libc_fesetround*.
78718 * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
78719 if config-cflags-sse2avx is yes. Also add -DSSE2AVX to defines.
78720 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
78721 of HAS_YMM_USABLE.
78722 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78723 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78724 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78725 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78726 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78727
78728 * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
78729
78730 2012-01-19 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
78731
78732 * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
78733 size is not set.
78734 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
78735
78736 2012-01-27 Ulrich Drepper <drepper@gmail.com>
78737
78738 [BZ #13618]
78739 * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
78740 relocation.
78741 * Makeconfig (libm): Define.
78742 * elf/Makefile: Add rules to build and run tst-relsort1.
78743 * elf/tst-relsort1.c: New file.
78744 * elf/tst-relsort1mod1.c: New file.
78745 * elf/tst-relsort1mod2.c: New file.
78746
78747 2012-01-27 Joseph Myers <joseph@codesourcery.com>
78748
78749 * math/s_ldexp.c: Remove __STDC__ conditionals.
78750 * math/s_ldexpf.c: Likewise.
78751 * math/s_ldexpl.c: Likewise.
78752 * math/s_nextafter.c: Likewise.
78753 * math/s_nexttowardf.c: Likewise.
78754 * math/s_significand.c: Likewise.
78755 * math/s_significandf.c: Likewise.
78756 * math/s_significandl.c: Likewise.
78757 * math/w_jnl.c: Likewise.
78758 * sysdeps/i386/fpu/s_isinfl.c: Likewise.
78759 * sysdeps/i386/fpu/s_isnanl.c: Likewise.
78760 * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
78761 * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
78762 * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
78763 * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
78764 * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
78765 * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
78766 * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
78767 * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
78768 * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
78769 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
78770 * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
78771 * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
78772 * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
78773 * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
78774 * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
78775 * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
78776 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
78777 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
78778 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
78779 * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
78780 * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
78781 * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
78782 * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
78783 * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
78784 * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
78785 * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
78786 * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
78787 * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
78788 * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
78789 * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
78790 * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
78791 * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
78792 * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
78793 * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
78794 * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
78795 * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
78796 * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
78797 * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
78798 * sysdeps/ieee754/k_standard.c: Likewise.
78799 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
78800 * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
78801 * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
78802 * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
78803 * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
78804 * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
78805 * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
78806 * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
78807 * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
78808 * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
78809 * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
78810 * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
78811 * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
78812 * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
78813 * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
78814 * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
78815 * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
78816 * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
78817 * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
78818 * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
78819 * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
78820 * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
78821 * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
78822 * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
78823 * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
78824 * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
78825 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
78826 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
78827 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
78828 * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
78829 * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
78830 * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
78831 * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
78832 * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
78833 * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
78834 * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
78835 * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
78836 * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
78837 * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
78838 * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
78839 * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
78840 * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
78841 * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
78842 * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
78843 * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
78844 * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
78845 * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
78846 * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
78847 * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
78848 * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
78849 * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
78850 * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
78851 * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
78852 * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
78853 * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
78854 * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
78855 * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
78856 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
78857 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
78858 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
78859 * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
78860 * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
78861 * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
78862 * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
78863 * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
78864 * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
78865 * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
78866 * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
78867 * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
78868 * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
78869 * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
78870 * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
78871 * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
78872 * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
78873 * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
78874 * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
78875 * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
78876 * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
78877 * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
78878 * sysdeps/ieee754/s_matherr.c: Likewise.
78879 * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
78880 * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
78881 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
78882 * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
78883
78884 2012-01-26 Joseph Myers <joseph@codesourcery.com>
78885
78886 * crypt/md5.h: Remove __STDC__ conditionals.
78887 * libio/libioP.h: Likewise.
78888 * locale/programs/config.h: Likewise.
78889 * sysdeps/generic/sysdep.h: Likewise.
78890 * sysdeps/i386/asm-syntax.h: Likewise.
78891 * sysdeps/s390/asm-syntax.h: Likewise.
78892 * sysdeps/unix/sysdep.h: Likewise.
78893 * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
78894 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
78895
78896 2012-01-26 Joseph Myers <joseph@codesourcery.com>
78897
78898 * libio/libio.h: Remove __STDC__ conditionals.
78899 * malloc/obstack.h: Likewise.
78900 * math/complex.h: Likewise.
78901 * math/math.h: Likewise.
78902 * sysdeps/generic/_G_config.h: Likewise.
78903 * sysdeps/gnu/_G_config.h: Likewise.
78904 * sysdeps/mach/hurd/_G_config.h: Likewise.
78905 * sysdeps/powerpc/bits/mathdef.h: Likewise.
78906 * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
78907 * sysdeps/sparc/bits/mathdef.h: Likewise.
78908
78909 2012-01-26 Ulrich Drepper <drepper@gmail.com>
78910
78911 [BZ #13583]
78912 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
78913 Clean up HAS_* macros.
78914 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
78915 bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
78916 possible.
78917 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
78918 HAS_AVX.
78919 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
78920 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
78921 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
78922 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
78923 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
78924
78925 2012-01-25 Joseph Myers <joseph@codesourcery.com>
78926
78927 * elf/tst-unique3.cc (gets): Remove declaration.
78928 * elf/tst-unique3lib.cc (gets): Likewise.
78929 * elf/tst-unique3lib2.cc (gets): Likewise.
78930 * elf/tst-unique4.cc (gets): Likewise.
78931
78932 2012-01-24 Ulrich Drepper <drepper@gmail.com>
78933
78934 * include/stdio.h: Add C++ protection. Add gets declarations and
78935 definitions.
78936 * debug/tst-chk1.c: Don't declare gets here.
78937 * stdio-common/tst-gets.c: Likewise.
78938
78939 2012-01-24 Joseph Myers <joseph@codesourcery.com>
78940
78941 * posix/glob: Remove directory.
78942
78943 2012-01-24 Joseph Myers <joseph@codesourcery.com>
78944
78945 * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
78946
78947 2012-01-22 Pino Toscano <toscano.pino@tiscali.it>
78948
78949 * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
78950 of the non-standard EPFNOSUPPORT.
78951
78952 2011-12-26 Samuel Thibault <samuel.thibault@ens-lyon.org>
78953
78954 * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
78955 __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
78956 ANYWHERE set to 1 only on KERN_NO_SPACE error.
78957
78958 2012-01-21 Ulrich Drepper <drepper@gmail.com>
78959
78960 * wcsmbs/uchar.h: Test __STDC_VERSION__.
78961
78962 2012-01-20 Ulrich Drepper <drepper@gmail.com>
78963
78964 * nscd/aicache.c (addhstaiX): Do not cache negative results of
78965 transient errors.
78966 * nscd/grpcache.c (cache_addgr): Likewise.
78967 * nscd/hstcache.c (cache_addhst): Likewise.
78968 * nscd/initgrcache.c (addinitgroupsX): Likewise.
78969 * nscd/pwdcache.c (cache_addpw): Likewise.
78970 * nscd/servicescache.c (cache_addserv): Likewise.
78971
78972 2012-01-16 Ulrich Drepper <drepper@gmail.com>
78973
78974 * malloc/malloc.c: Various cleanups.
78975 * malloc/hooks.c: Likewise.
78976
78977 * stdlib/Makefile (tests): Add bug-fmtmsg1.
78978 * stdlib/bug-fmtmsg1.c: New file.
78979
78980 * stdlib/fmtmsg.c (init): Add missing unlock.
78981 Patch by Peng Haitao <penght@cn.fujitsu.com>.
78982
78983 2012-01-12 Marek Polacek <polacek@redhat.com>
78984
78985 * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
78986 and _GNU_SOURCE.
78987
78988 2012-01-04 Will Schmidt <will_schmidt@vnet.ibm.com>
78989
78990 * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
78991 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
78992 macro to ensure uniqueness of label name.
78993 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
78994 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
78995
78996 2012-01-11 Ulrich Drepper <drepper@gmail.com>
78997
78998 * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
78999
79000 * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
79001 * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
79002 * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
79003 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
79004
79005 2012-01-10 Ulrich Drepper <drepper@gmail.com>
79006
79007 * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
79008
79009 * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
79010 * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
79011 * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
79012
79013 * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
79014
79015 * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
79016 * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
79017 * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
79018 * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
79019
79020 * math/bits/math-finite.h: Add ldexp support.
79021
79022 2012-01-10 Marek Polacek <polacek@redhat.com>
79023
79024 * locale/programs/localedef.h (show_archive_content): Add noreturn
79025 attribute.
79026
79027 2012-01-09 Ulrich Drepper <drepper@gmail.com>
79028
79029 * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
79030
79031 2012-01-08 Ulrich Drepper <drepper@gmail.com>
79032
79033 * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
79034
79035 * io/Makefile (headers): Add bits/poll2.h.
79036
79037 2011-01-05 Will Schmidt <will_schmidt@vnet.ibm.com>
79038
79039 * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
79040 typo #include statement.
79041
79042 2012-01-08 Ulrich Drepper <drepper@gmail.com>
79043
79044 * include/sys/cdefs.h: Define __attribute_alloc_size.
79045 * catgets/gencat.c: Add alloc_size attribute and apply consistently
79046 the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
79047 * elf/pldd.c: Likewise.
79048 * iconv/iconv_charmap.c: Likewise.
79049 * iconv/iconvconfig.c: Likewise.
79050 * iconv/strtab.c: Likewise.
79051 * locale/programs/locale.c: Likewise.
79052 * locale/programs/localedef.h: Likewise.
79053 * locale/programs/simple-hash.c: Likewise.
79054 * nscd/nscd.h: Likewise.
79055 * nss/makedb.c: Likewise.
79056 * sysdeps/generic/ldconfig.h: Likewise.
79057 * locale/programs/localedef.c: Remove xmalloc prototype.
79058 * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
79059
79060 2012-01-05 Paul Pluzhnikov <ppluzhnikov@google.com>
79061
79062 * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
79063 appropriate.
79064
79065 2012-01-08 Ulrich Drepper <drepper@gmail.com>
79066
79067 * math/Makefile (tests): Add tst-CMPLX.
79068 * math/tst-CMPLX.c: New file.
79069
79070 * math/complex.h (CMPLXL): Fix typo.
79071
79072 * debug/Makefile (routines): Add poll_chk and ppoll_chk.
79073 * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
79074 GLIBC_2.16.
79075 * debug/tst-chk1.c: Add poll and ppoll tests.
79076 * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
79077 * include/sys/poll.h: Add hidden proto for ppoll.
79078 * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
79079 * sysdeps/mach/hurd/ppoll.c: Likewise.
79080 * io/ppoll.c: Likewise.
79081 * debug/poll_chk.c: New file.
79082 * debug/ppoll_chk.c: New file.
79083 * include/bits/poll2.h: New file.
79084 * io/bits/poll2.h: New file.
79085
79086 [BZ #1350]
79087 * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
79088
79089 * configure.in: static is always set to yes. Remove.
79090 * config.make.in: Don't set build-static.
79091 * Makeconfig: Remove use of build-static.
79092 * dlfcn/Makefile: Likewise.
79093 * elf/Makefile: Likewise.
79094 * math/Makefile: Likewise.
79095 * misc/Makefile: Likewise.
79096 * nptl/Makefile: Likewise.
79097 * sysdeps/mach/hurd/Makefile: Likewise.
79098
79099 * configure.in: PWD_P is not used anymore.
79100 * config.make.in: Remove PWD_P entry.
79101
79102 * configure.in: Remove last remnants of RANLIB.
79103 No need to check for signed size_t anymore.
79104 Don't set libc_commonpagesize and libc_relro_required here for Alpha
79105 and IA-64.
79106 Remove __builtin_expect test because we require at least gcc 3.4.
79107 * aclocal.m4: Likewise.
79108
79109 * wcsmbs/mbrtoc16.c: Implement using towc function.
79110 * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
79111 * wcsmbs/wcsmbsload.c: Likewise.
79112 * iconv/gconv_simple.c: Likewise.
79113 * iconv/gconv_int.h: Likewise.
79114 * iconv/gconv_builtin.h: Likewise.
79115 * iconv/iconv_prog.c: Remove CHAR16 handling.
79116
79117 * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
79118
79119 * wcsmbs/mbrtowc.c: Better check for invalid inputs.
79120
79121 * configure.in: Remove --with-elf and --enable-bounded options.
79122 Dont set base_machine for ia64. More non-ELF conditions removed.
79123 Remove testing and setting of leading underscore information.
79124 * config.make.in (build-bounded): Set to no.
79125 * config.h.in: Remove NO_UNDERSCORES entry.
79126 * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS. ELF has
79127 them.
79128 * csu/start.c: Remove !NO_UNDERSCORE code.
79129 * locale/localeinfo.h: Likewise.
79130 * sysdeps/generic/machine-gmon.h: Likewise.
79131 * sysdeps/generic/sysdep.h: Likewise.
79132 * sysdeps/i386/sysdep.h: Likewise.
79133 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
79134 * sysdeps/mach/sysdep.h: Likewise.
79135 * sysdeps/s390/s390-32/sysdep.h: Likewise.
79136 * sysdeps/s390/s390-64/sysdep.h: Likewise.
79137 * sysdeps/sh/sysdep.h: Likewise.
79138 * sysdeps/sparc/sparc32/alloca.S: Likewise.
79139 * sysdeps/unix/i386/sysdep.S: Likewise.
79140 * sysdeps/unix/sparc/start.c: Likewise.
79141 * sysdeps/unix/sparc/sysdep.S: Likewise.
79142 * sysdeps/unix/sparc/sysdep.h: Likewise.
79143 * sysdeps/unix/start.c: Likewise.
79144 * sysdeps/unix/x86_64/sysdep.S: Likewise.
79145 * sysdeps/x86_64/sysdep.h: Likewise.
79146
79147 2012-01-07 Ulrich Drepper <drepper@gmail.com>
79148
79149 [BZ #13553]
79150 * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
79151 for non-gcc.
79152 * argp/argp-fmtstream.h: Use const instead __const.
79153 * argp/argp.h: Likewise.
79154 * assert/assert.h: Likewise.
79155 * bits/fenv.h: Likewise.
79156 * bits/sched.h: Likewise.
79157 * bits/sigset.h: Likewise.
79158 * bits/sigthread.h: Likewise.
79159 * catgets/nl_types.h: Likewise.
79160 * conform/data/pthread.h-data: Likewise.
79161 * crypt/crypt-private.h: Likewise.
79162 * crypt/crypt.h: Likewise.
79163 * crypt/crypt_util.c: Likewise.
79164 * ctype/ctype.h: Likewise.
79165 * debug/execinfo.h: Likewise.
79166 * debug/mbsnrtowcs_chk.c: Likewise.
79167 * debug/mbsrtowcs_chk.c: Likewise.
79168 * debug/wcsnrtombs_chk.c: Likewise.
79169 * debug/wcsrtombs_chk.c: Likewise.
79170 * debug/wcstombs_chk.c: Likewise.
79171 * dirent/dirent.h: Likewise.
79172 * dlfcn/dlfcn.h: Likewise.
79173 * elf/neededtest4.c: Likewise.
79174 * grp/grp.h: Likewise.
79175 * gshadow/gshadow.h: Likewise.
79176 * iconv/gconv.h: Likewise.
79177 * iconv/gconv_int.h: Likewise.
79178 * iconv/gconv_simple.c: Likewise.
79179 * iconv/iconv.h: Likewise.
79180 * iconv/loop.c: Likewise.
79181 * iconv/skeleton.c: Likewise.
79182 * include/aio.h: Likewise.
79183 * include/aliases.h: Likewise.
79184 * include/argz.h: Likewise.
79185 * include/arpa/inet.h: Likewise.
79186 * include/assert.h: Likewise.
79187 * include/dirent.h: Likewise.
79188 * include/dlfcn.h: Likewise.
79189 * include/execinfo.h: Likewise.
79190 * include/fcntl.h: Likewise.
79191 * include/fenv.h: Likewise.
79192 * include/glob.h: Likewise.
79193 * include/grp.h: Likewise.
79194 * include/libintl.h: Likewise.
79195 * include/mntent.h: Likewise.
79196 * include/netdb.h: Likewise.
79197 * include/pwd.h: Likewise.
79198 * include/rpc/netdb.h: Likewise.
79199 * include/sched.h: Likewise.
79200 * include/search.h: Likewise.
79201 * include/shadow.h: Likewise.
79202 * include/signal.h: Likewise.
79203 * include/stdio.h: Likewise.
79204 * include/stdlib.h: Likewise.
79205 * include/string.h: Likewise.
79206 * include/sys/socket.h: Likewise.
79207 * include/sys/stat.h: Likewise.
79208 * include/sys/statfs.h: Likewise.
79209 * include/sys/statvfs.h: Likewise.
79210 * include/sys/syslog.h: Likewise.
79211 * include/sys/time.h: Likewise.
79212 * include/sys/uio.h: Likewise.
79213 * include/time.h: Likewise.
79214 * include/unistd.h: Likewise.
79215 * include/utmp.h: Likewise.
79216 * include/wchar.h: Likewise.
79217 * include/wctype.h: Likewise.
79218 * inet/aliases.h: Likewise.
79219 * inet/arpa/inet.h: Likewise.
79220 * inet/netinet/ether.h: Likewise.
79221 * inet/netinet/in.h: Likewise.
79222 * intl/libintl.h: Likewise.
79223 * io/bits/fcntl2.h: Likewise.
79224 * io/fcntl.h: Likewise.
79225 * io/ftw.h: Likewise.
79226 * io/sys/poll.h: Likewise.
79227 * io/sys/stat.h: Likewise.
79228 * io/sys/statfs.h: Likewise.
79229 * io/sys/statvfs.h: Likewise.
79230 * io/utime.h: Likewise.
79231 * libio/bits/stdio.h: Likewise.
79232 * libio/bits/stdio2.h: Likewise.
79233 * libio/libio.h: Likewise.
79234 * libio/libioP.h: Likewise.
79235 * libio/stdio.h: Likewise.
79236 * locale/lc-ctype.c: Likewise.
79237 * locale/locale.h: Likewise.
79238 * login/utmp.h: Likewise.
79239 * malloc/arena.c: Likewise.
79240 * malloc/malloc.c: Likewise.
79241 * malloc/malloc.h: Likewise.
79242 * malloc/mcheck.c: Likewise.
79243 * malloc/mtrace.c: Likewise.
79244 * math/bits/mathcalls.h: Likewise.
79245 * math/fenv.h: Likewise.
79246 * math/math_private.h: Likewise.
79247 * misc/bits/error.h: Likewise.
79248 * misc/bits/syslog.h: Likewise.
79249 * misc/err.h: Likewise.
79250 * misc/error.h: Likewise.
79251 * misc/fstab.h: Likewise.
79252 * misc/mntent.h: Likewise.
79253 * misc/regexp.h: Likewise.
79254 * misc/search.h: Likewise.
79255 * misc/sgtty.h: Likewise.
79256 * misc/sys/mman.h: Likewise.
79257 * misc/sys/syslog.h: Likewise.
79258 * misc/sys/uio.h: Likewise.
79259 * misc/sys/xattr.h: Likewise.
79260 * misc/ttyent.h: Likewise.
79261 * nis/rpcsvc/ypclnt.h: Likewise.
79262 * nss/nss.h: Likewise.
79263 * posix/bits/unistd.h: Likewise.
79264 * posix/fnmatch.h: Likewise.
79265 * posix/glob.h: Likewise.
79266 * posix/sched.h: Likewise.
79267 * posix/spawn.h: Likewise.
79268 * posix/sys/wait.h: Likewise.
79269 * posix/unistd.h: Likewise.
79270 * posix/wordexp.h: Likewise.
79271 * pwd/pwd.h: Likewise.
79272 * resolv/netdb.h: Likewise.
79273 * resource/sys/resource.h: Likewise.
79274 * rt/aio.h: Likewise.
79275 * rt/bits/mqueue2.h: Likewise.
79276 * rt/mqueue.h: Likewise.
79277 * shadow/shadow.h: Likewise.
79278 * signal/signal.h: Likewise.
79279 * socket/send.c: Likewise.
79280 * socket/sendto.c: Likewise.
79281 * socket/sys/socket.h: Likewise.
79282 * stdio-common/printf.h: Likewise.
79283 * stdlib/bits/stdlib.h: Likewise.
79284 * stdlib/fmtmsg.h: Likewise.
79285 * stdlib/monetary.h: Likewise.
79286 * stdlib/stdlib.h: Likewise.
79287 * stdlib/ucontext.h: Likewise.
79288 * streams/stropts.h: Likewise.
79289 * string/argz.h: Likewise.
79290 * string/bits/string2.h: Likewise.
79291 * string/string.h: Likewise.
79292 * string/strings.h: Likewise.
79293 * sunrpc/rpc/auth.h: Likewise.
79294 * sunrpc/rpc/auth_des.h: Likewise.
79295 * sunrpc/rpc/clnt.h: Likewise.
79296 * sunrpc/rpc/netdb.h: Likewise.
79297 * sunrpc/rpc/pmap_clnt.h: Likewise.
79298 * sunrpc/rpc/xdr.h: Likewise.
79299 * sysdeps/generic/inttypes.h: Likewise.
79300 * sysdeps/generic/net/if.h: Likewise.
79301 * sysdeps/generic/sys/swap.h: Likewise.
79302 * sysdeps/gnu/net/if.h: Likewise.
79303 * sysdeps/gnu/utmpx.h: Likewise.
79304 * sysdeps/i386/fpu/bits/fenv.h: Likewise.
79305 * sysdeps/i386/i486/bits/string.h: Likewise.
79306 * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
79307 * sysdeps/s390/bits/string.h: Likewise.
79308 * sysdeps/s390/fpu/bits/fenv.h: Likewise.
79309 * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
79310 * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
79311 * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
79312 * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
79313 * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
79314 * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
79315 * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
79316 * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
79317 * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
79318 * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
79319 * sysdeps/unix/sysv/linux/preadv.c: Likewise.
79320 * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
79321 * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
79322 * sysdeps/unix/sysv/linux/readv.c: Likewise.
79323 * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
79324 * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
79325 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
79326 * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
79327 * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
79328 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79329 * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
79330 * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
79331 * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
79332 * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
79333 * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
79334 * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
79335 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79336 * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
79337 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
79338 * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
79339 * sysvipc/sys/ipc.h: Likewise.
79340 * sysvipc/sys/msg.h: Likewise.
79341 * sysvipc/sys/sem.h: Likewise.
79342 * sysvipc/sys/shm.h: Likewise.
79343 * termios/termios.h: Likewise.
79344 * time/sys/time.h: Likewise.
79345 * time/time.h: Likewise.
79346 * wcsmbs/bits/wchar2.h: Likewise.
79347 * wcsmbs/uchar.h: Likewise.
79348 * wcsmbs/wchar.h: Likewise.
79349 * wctype/wctype.h: Likewise.
79350
79351 [BZ #13551]
79352 * Makeconfig: Remove all but ELF support including AIX support.
79353 * Makerules: Likewise.
79354 * config.h.in: Likewise.
79355 * config.make.in: Likewise.
79356 * configure: Likewise.
79357 * configure.in: Likewise.
79358 * csu/Makefile: Likewise.
79359 * csu/version.c: Likewise.
79360 * debug/Makefile: Likewise.
79361 * dlfcn/Makefile: Likewise.
79362 * elf/Makefile: Likewise.
79363 * extra-lib.mk: Likewise.
79364 * iconv/Makefile: Likewise.
79365 * include/libc-symbols.h: Likewise.
79366 * include/shlib-compat.h: Likewise.
79367 * resolv/Makefile: Likewise.
79368 * resolv/res_libc.c: Likewise.
79369 * rt/Makefile: Likewise.
79370 * sysdeps/i386/asm-syntax.h: Likewise.
79371 * sysdeps/i386/sysdep.h: Likewise.
79372 * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
79373 * sysdeps/mach/sysdep.h: Likewise.
79374 * sysdeps/powerpc/powerpc32/Makefile: Likewise.
79375 * sysdeps/powerpc/powerpc64/Makefile: Likewise.
79376 * sysdeps/s390/asm-syntax.h: Likewise.
79377 * sysdeps/s390/s390-32/sysdep.h: Likewise.
79378 * sysdeps/s390/s390-64/sysdep.h: Likewise.
79379 * sysdeps/sh/sysdep.h: Likewise.
79380 * sysdeps/unix/sparc/sysdep.h: Likewise.
79381 * sysdeps/wordsize-32/divdi3.c: Likewise.
79382 * sysdeps/x86_64/sysdep.h: Likewise.
79383
79384 * argp/Versions: Remove _argp_unlock_xxx.
79385
79386 [BZ #13559]
79387 * abilist/ld.abilist: Update. Adjust for removal of tls option.
79388 * abilist/libBrokenLocale.abilist: Likewise.
79389 * abilist/libanl.abilist: Likewise.
79390 * abilist/libc.abilist: Likewise.
79391 * abilist/libcrypt.abilist: Likewise.
79392 * abilist/libdl.abilist: Likewise.
79393 * abilist/libm.abilist: Likewise.
79394 * abilist/libnsl.abilist: Likewise.
79395 * abilist/libpthread.abilist: Likewise.
79396 * abilist/libresolv.abilist: Likewise.
79397 * abilist/librt.abilist: Likewise.
79398 * abilist/libthread_db.abilist: Likewise.
79399 * abilist/libutil.abilist: Likewise.
79400 * abilist/libnss_db.abilist: New file.
79401
79402 * scripts/abilist.awk: Add support for indirect functions.
79403
79404 * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
79405
79406 * sysdeps/generic/ldsodefs.h: Remove Alpha support.
79407
79408 * shlib-versions: Remove entries for ports architectures.
79409
79410 * elf/tls-macros.h: Remove support for Alpha and IA-64. Should be in
79411 files in ports.
79412 * elf/stackguard-macros.h: Remove support for IA-64.
79413 * elf/tst-auditmod1.c: Likewise.
79414 * sysdeps/generic/ldsodefs.h: Likewise.
79415
79416 * sysdeps/unix/sysv/linux/configure.in: Ports should define
79417 libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
79418 configure files.
79419
79420 [BZ #13552]
79421 * configure.in: Remove --enable-omitfp support.
79422 * FAQ.in: Adjust.
79423 * config.make.in: Likewise.
79424 * Makeconfig: Likewise.
79425 * manual/install.texi: Likewise.
79426
79427 In case anyone cares, the IA-64 architecture could move to ports.
79428 * sysdeps/ia64/*: Removed.
79429 * sysdeps/unix/sysv/linux/ia64/*: Removed.
79430 * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
79431
79432 [BZ #13555]
79433 * configure.in: Remove entries for unsupported architectures.
79434
79435 [BZ #13533]
79436 * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
79437 * iconv/gconv_simple.c: Rename char16_t routines. Add char16_t<->utf8
79438 routines.
79439 * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
79440 * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
79441 * wcsmbs/c16rtomb.c: Fix a few problems. Disable all the code and
79442 fall back to using wcrtomb.
79443 * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
79444 * wcsmbs/wcsmbsload.c: Make char16 routines optional. Adjust for
79445 renaming.
79446 * wcsmbs/Makefile (tests): Add tst-c16c32-1:
79447 * wcsmbs/tst-c16c32-1.c: New file.
79448
79449 * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
79450 local variable.
79451
79452 * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
79453
79454 * elf/tst-unique3.cc: Add explicit declaration of gets.
79455 * elf/tst-unique3lib.cc: Likewise.
79456 * elf/tst-unique3lib2.cc: Likewise.
79457 * elf/tst-unique4.cc: Likewise.
79458
79459 * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
79460
79461 2012-01-06 Joseph Myers <joseph@codesourcery.com>
79462
79463 [BZ #13566]
79464 * assert/assert.h (static_assert): Don't define for C++.
79465 * libio/stdio.h (gets): Do declare for C++ <= C++11.
79466 * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
79467
79468 2012-01-03 Ulrich Drepper <drepper@gmail.com>
79469
79470 * iconv/loop.c (single loop): Fix assertion in storing of
79471 remaining bytes.
79472
79473 * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
79474
79475 2012-01-01 Ulrich Drepper <drepper@gmail.com>
79476
79477 * posix/getconf.c: Update copyright year.
79478 * nss/getent.c: Likewise.
79479 * nss/makedb.c: Likewise.
79480 * iconv/iconvconfig.c: Likewise.
79481 * iconv/iconv_prog.c: Likewise.
79482 * elf/ldconfig.c: Likewise.
79483 * elf/pldd.c: Likewise.
79484 * elf/sotruss.ksh: Likewise.
79485 * catgets/gencat.c: Likewise.
79486 * csu/version.c: Likewise.
79487 * elf/ldd.bash.in: Likewise.
79488 * elf/sprof.c (print_version): Likewise.
79489 * locale/programs/locale.c: Likewise.
79490 * locale/programs/localedef.c: Likewise.
79491 * login/programs/pt_chown.c: Likewise.
79492 * nscd/nscd.c (print_version): Likewise.
79493 * debug/xtrace.sh: Likewise.
79494 * malloc/memusage.sh: Likewise.
79495 * malloc/mtrace.pl: Likewise.
79496 * debug/catchsegv.sh: Likewise.
79497
79498 2011-12-30 Jakub Jelinek <jakub@redhat.com>
79499
79500 * posix/regex_internal.c (re_string_fetch_byte_case): Remove
79501 pure attribute.
79502
79503 2011-12-24 Ulrich Drepper <drepper@gmail.com>
79504
79505 [BZ #13533]
79506 * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
79507 * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
79508 transformations.
79509 * iconv/gconv_int.h: Likewise.
79510 * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
79511 * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
79512 from libc for GLIBC_2.16.
79513 * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
79514 * wcsmbs/wcrtomb.c: Define c32rtomb alias.
79515 * wcsmbs/uchar.h: Really define mbstate_t.
79516 * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
79517 * wcsmbs/c16rtomb.c: New file.
79518 * wcsmbs/mbrtoc16.c: New file.
79519 * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
79520 for C/POSIX locale.
79521 (__wcsmbs_load_conv): Do not fill in c16 routines yet.
79522 * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
79523
79524 * wcsmbs/wchar.h: Add missing __restrict.
79525
79526 2011-12-23 Ulrich Drepper <drepper@gmail.com>
79527
79528 [BZ #13532]
79529 * time/Makefile (routines): Add timespec_get.
79530 * time/Versions: Export timespec_get from libc for GLIBC_2.16.
79531 * time/time.h: Define TIME_UTC and declare timespec_get. Define
79532 timespec for ISO C11.
79533 * time/timespec_get.c: New file.
79534 * sysdeps/unix/sysv/linux/timespec_get.c: New file.
79535 * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
79536
79537 [BZ #13531]
79538 * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
79539 * stdlib/stdlib.h: Declare aligned_alloc.
79540 * Versions.def: Add GLIBC_2.16 for libc.
79541 * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
79542
79543 [BZ 13527]
79544 * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
79545 ISO C11.
79546
79547 * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
79548 code.
79549
79550 [BZ #13528]
79551 * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
79552
79553 [BZ #13529]
79554 * assert/assert.h (static_assert): Define.
79555
79556 * version.h: Update for 2.16 development version.
79557
79558 [BZ #13526]
79559 * include/features.h: Handle __STDC_VERSION__ >= 201112 and
79560 _ISOC11_SOURCE.
79561
79562 * version.h (RELEASE): Bump for 2.15 release.
79563 * include/features.h (__GLIBC_MINOR__): Bump to 15.
79564
79565 * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
79566 Patch by Marek Polacek <mpolacek@redhat.com>.
79567
79568 * bits/byteswap.h: Protect long long constants with __extension__.
79569 * sysdeps/i386/bits/byteswap.h: Likewise.
79570 * sysdeps/ia64/bits/byteswap.h: Likewise.
79571 * sysdeps/s390/bits/byteswap.h: Likewise.
79572 * sysdeps/x86_64/bits/byteswap.h: Likewise.
79573
79574 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79575
79576 [BZ #13540]
79577 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
79578 destination buffer.
79579 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
79580
79581 2011-12-23 Marek Polacek <polacek@redhat.com>
79582
79583 * elf/dl-addr.c (determine_info): Add inline keyword.
79584 * elf/tst-auditmod4b.c (check_avx): Likewise.
79585 * elf/tst-auditmod6b.c (check_avx): Likewise.
79586 * elf/tst-auditmod6c.c (check_avx): Likewise.
79587 * elf/tst-auditmod7b.c (check_avx): Likewise.
79588
79589 2011-12-23 Ulrich Drepper <drepper@gmail.com>
79590
79591 * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
79592 !__SSE_MATH__.
79593
79594 2011-12-23 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79595
79596 [BZ #13540]
79597 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
79598 processing for last bytes.
79599
79600 2011-08-06 Bruno Haible <bruno@clisp.org>
79601
79602 [BZ #13061]
79603 * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
79604 U+0385, not to U+1FEE.
79605
79606 [BZ #13062]
79607 * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
79608 entry for U+00A5 U+0301.
79609
79610 2011-12-22 Ulrich Drepper <drepper@gmail.com>
79611
79612 [BZ #13166]
79613 * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
79614 buffer for the output is too small.
79615
79616 * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
79617 optimization.
79618
79619 [BZ #13185]
79620 * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
79621 SSE flags if possible.
79622
79623 2011-12-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79624
79625 [BZ #13540]
79626 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
79627 processing for last bytes.
79628
79629 2011-12-22 Joseph Myers <joseph@codesourcery.com>
79630
79631 * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
79632 (syscall-list-default-options, syscall-list-default-condition)
79633 (syscall-list-includes): Define.
79634 ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
79635 list of ABIs and options and #if conditions for each ABI. Do not
79636 handle common syscalls between ABIs specially.
79637 * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
79638 Remove.
79639 (syscall-list-variants, syscall-list-32bit-options)
79640 (syscall-list-32bit-condition, syscall-list-64bit-options)
79641 (syscall-list-64bit-condition): Define.
79642 * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
79643 (syscall-list-variants, syscall-list-32bit-options)
79644 (syscall-list-32bit-condition, syscall-list-64bit-options)
79645 (syscall-list-64bit-condition): Define.
79646 * sysdeps/unix/sysv/linux/sparc/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/x86_64/Makefile (64bit-predefine):
79652 Remove.
79653 (syscall-list-variants, syscall-list-32bit-options)
79654 (syscall-list-32bit-condition, syscall-list-64bit-options)
79655 (syscall-list-64bit-condition): Define.
79656
79657 2011-12-22 Ulrich Drepper <drepper@gmail.com>
79658
79659 * locale/iso-639.def: Add brx entry.
79660
79661 [BZ #13328]
79662 * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
79663 Proposed by Mariusz_Cukr <marcukr@op.pl>.
79664
79665 * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
79666 __feraiseexcept_renamed.
79667
79668 2011-12-21 Ulrich Drepper <drepper@gmail.com>
79669
79670 [BZ #13538]
79671 * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
79672 EPOLLET with unsigned values.
79673 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
79674 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
79675
79676 * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
79677 to large cancellation.
79678 * math/s_cacoshf.c: Likewise.
79679 * math/s_cacoshl.c: Likewise.
79680
79681 2011-11-18 Richard B. Kreckel <kreckel@ginac.de>
79682
79683 [BZ #13305]
79684 [BZ #12786]
79685 * math/s_cacosh.c: Fix rare miscomputation in cacosh().
79686 * math/s_cacoshf.c: Likewise.
79687 * math/s_cacoshl.c: Likewise.
79688
79689 2011-12-21 Ulrich Drepper <drepper@gmail.com>
79690
79691 [BZ #13439]
79692 * iconv/gconv.h: Define __GCONV_SWAP.
79693 * iconvdata/unicode.c: The swap bit must be stored in __flags.
79694 * iconvdata/utf-16.c: Likewise.
79695 * iconvdata/utf-32.c: Likewise.
79696
79697 2011-12-21 Andreas Schwab <schwab@linux-m68k.org>
79698
79699 [BZ #13524]
79700 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
79701 numerator after shifting it by one limb.
79702
79703 2011-12-19 Rafael Ávila de Espíndola <rafael.espindola@gmail.com>
79704
79705 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
79706 under [__USE_EXTERN_INLINES].
79707
79708 2011-12-17 Ulrich Drepper <drepper@gmail.com>
79709
79710 [BZ #13446]
79711 * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
79712
79713 2011-11-22 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79714
79715 * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
79716 * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
79717 optimized code.
79718 * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
79719 * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
79720 * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
79721 * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
79722 for strncasecmp/strncasecmp_l compilation.
79723 * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
79724 * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
79725
79726 2011-12-08 Marek Polacek <mpolacek@redhat.com>
79727
79728 [BZ #13484]
79729 * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
79730 of __asm__.
79731
79732 2011-12-17 Ulrich Drepper <drepper@gmail.com>
79733
79734 [BZ #13506]
79735 * time/tzfile.c (__tzfile_read): Check values from file header.
79736
79737 2011-11-21 Will Schmidt <will_schmidt@vnet.ibm.com>
79738
79739 * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
79740 * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
79741 * powerpc/powerpc32/dl-start.S: Likewise.
79742 * powerpc/powerpc32/elf/start.S: Likewise.
79743 * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
79744 * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
79745 * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
79746 * powerpc/powerpc32/fpu/s_floor.S: Likewise.
79747 * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
79748 * powerpc/powerpc32/fpu/s_lround.S: Likewise.
79749 * powerpc/powerpc32/fpu/s_rint.S: Likewise.
79750 * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
79751 * powerpc/powerpc32/fpu/s_round.S: Likewise.
79752 * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
79753 * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
79754 * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
79755 * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
79756 * powerpc/powerpc32/memset.S: Likewise.
79757 * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
79758 * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
79759 * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
79760 * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
79761 * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
79762 * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
79763 * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
79764 * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
79765 * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
79766 * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
79767 * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
79768 * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
79769 * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
79770
79771 2011-11-18 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
79772
79773 * math/libm-test.inc: Added more nearbyint tests.
79774 * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
79775 * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
79776 * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
79777 * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
79778
79779 2011-11-21 Ross Lagerwall <rosslagerwall@gmail.com>
79780
79781 * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
79782 FD_CLOEXEC.
79783
79784 2011-11-14 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79785
79786 * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
79787 Add wcscpy-ssse3 wcscpy-c.
79788 * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
79789 * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
79790 * sysdeps/x86_64/multiarch/wcscpy.S: New file.
79791 * sysdeps/x86_64/wcschr.S: New file.
79792 * sysdeps/x86_64/wcsrchr.S: New file.
79793 * string/test-strcmp.c: Remove checking of wcscmp function for
79794 wrong alignments.
79795 * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
79796 (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
79797 wcsrchr-sse2 wcsrchr-c.
79798 * sysdeps/i386/i686/multiarch/wcschr.S: New file.
79799 * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
79800 * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
79801 * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
79802 * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
79803 * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
79804 * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
79805 * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
79806 * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
79807 * wcsmbc/wcschr.c (WCSCHR): New macro.
79808
79809 2011-11-17 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
79810
79811 * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
79812 * wcsmbs/test-wcsrchr.c: New file.
79813 * string/test-strrchr.c: Add wcsrchr support.
79814 (WIDE): New macro.
79815 * wcsmbs/test-wcscpy.c: New file.
79816 * string/test-strcpy.c: Add wcscpy support.
79817 (WIDE): New macro.
79818
79819 2011-12-10 Ulrich Drepper <drepper@gmail.com>
79820
79821 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
79822 the inner loop.
79823
79824 2011-12-06 Andreas Schwab <schwab@linux-m68k.org>
79825
79826 [BZ #13472]
79827 * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
79828
79829 2011-12-04 Ulrich Drepper <drepper@gmail.com>
79830
79831 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
79832 Minor optimizations.
79833
79834 * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
79835 * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
79836 * sunrpc/clnt_udp.c (clntudp_call): Likewise.
79837
79838 2011-12-03 Ulrich Drepper <drepper@gmail.com>
79839
79840 * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
79841 IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
79842 IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
79843 for gcc to avoid warnings.
79844 * inet/Makefile (tests): Add tst-checks.
79845 * inet/tst-checks.c: New file.
79846
79847 * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
79848 warning.
79849
79850 * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
79851 __wmemcmp_sse2.
79852
79853 * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
79854 * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
79855
79856 * malloc/mcheck.h: Fix use of incorrect encoding in comment.
79857
79858 2011-12-02 Ulrich Drepper <drepper@gmail.com>
79859
79860 * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
79861 problem.
79862
79863 * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
79864
79865 2011-11-29 Joseph Myers <joseph@codesourcery.com>
79866
79867 * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
79868 conditional on GCC version.
79869 (__arch_compare_and_exchange_val_8_acq)
79870 (__arch_compare_and_exchange_val_16_acq)
79871 (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
79872 (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
79873 (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
79874
79875 2011-12-02 Joseph Myers <joseph@codesourcery.com>
79876
79877 * sysdeps/sh/backtrace.c: New file.
79878
79879 2011-12-02 Andreas Schwab <schwab@redhat.com>
79880
79881 * misc/bits/select2.h (__FD_ELT): Mark as extension. Add
79882 parenthesis.
79883
79884 2011-12-01 Andreas Schwab <schwab@redhat.com>
79885
79886 * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
79887 falling back to utime.
79888
79889 2011-11-30 Andreas Schwab <schwab@redhat.com>
79890
79891 * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
79892 expectations for float.
79893
79894 2011-11-29 Andreas Schwab <schwab@redhat.com>
79895
79896 * locale/weight.h (findidx): Add parameter len.
79897 * locale/weightwc.h (findidx): Likewise.
79898 * posix/fnmatch_loop.c (FCT): Adjust caller.
79899 * posix/regcomp.c (build_equiv_class): Likewise.
79900 * posix/regex_internal.h (re_string_elem_size_at): Likewise.
79901 * posix/regexec.c (check_node_accept_bytes): Likewise.
79902 * string/strcoll_l.c (STRCOLL): Likewise.
79903 * string/strxfrm_l.c (STRXFRM): Likewise.
79904
79905 2011-11-17 Ulrich Drepper <drepper@gmail.com>
79906
79907 * Makefile.in: Remove CVSOPT handling.
79908 * configure.in: Remove use of AC_REVISION.
79909 * iconvdata/Makefile (distribute): No need to filter out CVS.
79910 * scripts/list-sources.sh: Remove CVS, subversion and monotone
79911 handling.
79912
79913 2011-11-16 Andreas Schwab <schwab@redhat.com>
79914
79915 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
79916 [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
79917 [USE_AS_STRNCASECMP_L]: Likewise.
79918 (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
79919 NO_TLS_DIRECT_SEG_REFS.
79920 * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
79921 Fix argument offsets for non-PIC.
79922 [USE_AS_STRNCASECMP_L]: Likewise.
79923 (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
79924 NO_TLS_DIRECT_SEG_REFS.
79925
79926 2011-11-15 Ulrich Drepper <drepper@gmail.com>
79927
79928 * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
79929 O_CLOEXEC.
79930 * locale/loadlocale.c (_nl_load_locale): Likewise.
79931
79932 2011-11-15 Andreas Schwab <schwab@redhat.com>
79933
79934 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
79935 [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
79936 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
79937 (SYSCALL_GETTIME): Set errno on error.
79938
79939 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
79940 count references to noai6ai_cached.
79941
79942 2011-11-15 Ulrich Drepper <drepper@gmail.com>
79943
79944 * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
79945
79946 * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
79947 FD_CLOEXEC for /proc/self/maps.
79948
79949 * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
79950 FD_CLOEXEC for /proc/meminfo.
79951
79952 * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
79953 gai.conf.
79954
79955 * resolv/res_query.c (res_hostalias): Don't allow cancellation and set
79956 FD_CLOEXEC for given file.
79957
79958 * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
79959
79960 * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
79961 FD_CLOEXEC for /etc/hosts.
79962 (_gethtent): Likewise.
79963
79964 * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
79965
79966 * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
79967 cancellation and set FD_CLOEXEC for /etc/netgroup.
79968
79969 * nss/nss_files/files-key.c (search): Don't allow cancellation when
79970 reading /etc/publickey.
79971
79972 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
79973 allow cancellation when reading /etc/group.
79974
79975 * nss/nss_files/files-alias.c (internal_setent): Don't allow
79976 cancellation.
79977 (get_next_alias): Likewise for included file. Also set FD_CLOEXEC.
79978
79979 * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
79980 when using data file.
79981
79982 * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
79983
79984 * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
79985 (write_nis_obj): Use "c" and "e" in fopen.
79986
79987 * misc/mntent_r.c (__setmntent): Also append e to fopen format.
79988
79989 * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
79990
79991 * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
79992
79993 * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
79994
79995 * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
79996 locale.alias.
79997
79998 * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
79999
80000 * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
80001
80002 * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
80003
80004 * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
80005 file parsing and set FD_CLOEXEC.
80006
80007 2011-11-14 Ulrich Drepper <drepper@gmail.com>
80008
80009 * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
80010
80011 2011-11-14 Andreas Schwab <schwab@redhat.com>
80012
80013 * malloc/arena.c (arena_get2): Don't call reused_arena when
80014 _int_new_arena failed.
80015
80016 2011-11-14 Ulrich Drepper <drepper@gmail.com>
80017
80018 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
80019 (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
80020 * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
80021 * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
80022 * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
80023 * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
80024 to compile strcasecmp and strncasecmp.
80025 * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
80026 * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
80027
80028 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
80029
80030 2011-11-13 Ulrich Drepper <drepper@gmail.com>
80031
80032 * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
80033 locale-defines.sym to gen-as-const-headers.
80034 (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
80035 strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
80036 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
80037 to compile strcasecmp and strncasecmp.
80038 * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
80039 strcasecmp_l and strncasecmp_l.
80040 * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
80041 * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
80042 * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
80043 * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
80044 * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
80045 * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
80046 * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
80047 * sysdeps/i386/i686/multiarch/strncase.S: New file.
80048 * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
80049 * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
80050 * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
80051
80052 2011-11-12 Ulrich Drepper <drepper@gmail.com>
80053
80054 * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
80055 result of SYSDEP_GETTIME_CPU to retval.
80056 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
80057 parameter list to macro. Remove trailing semicolon. Adjust users.
80058
80059 * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
80060 variable.
80061
80062 * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
80063 mantissa words.
80064 * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
80065
80066 * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
80067 from unused variable.
80068
80069 * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
80070 DWARF definitions.
80071 * sysdeps/generic/dwarf2.h: Don't define enums when using the file
80072 for assembling.
80073
80074 * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
80075 over namespaces.
80076
80077 * sunrpc/rpc_prot.c (rejected): Fix case value.
80078
80079 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
80080 unsigned long long int to avoid warnings in shift.
80081
80082 * posix/regex_internal.c (re_string_reconstruct): Actually use result
80083 of use of trans.
80084 * posix/regex_internal.h (re_string_wchar_at): Remove temporary
80085 variable tmp.
80086
80087 * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
80088 * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
80089 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
80090
80091 * nis/nis_table.c (nis_list): Use variable of correct type for
80092 result of __follow_path call.
80093
80094 2011-11-07 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
80095
80096 * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
80097 of math functions ceil, trunc, floor, round, and sqrt, when
80098 avaliable on the platform.
80099 * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
80100 name clash.
80101 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
80102 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
80103 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
80104
80105 2011-10-30 Marek Polacek <mpolacek@redhat.com>
80106
80107 * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
80108 * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
80109
80110 2011-11-11 Roland McGrath <roland@hack.frob.com>
80111
80112 * include/unistd.h: Fix __readlink return type.
80113 Reported by Chris Metcalf <cmetcalf@tilera.com>.
80114
80115 2011-11-11 Ulrich Drepper <drepper@gmail.com>
80116
80117 * stdlib/ucontext.h: Undo last change for makecontext.
80118
80119 2011-11-11 Andreas Schwab <schwab@redhat.com>
80120
80121 * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
80122
80123 * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
80124 * setjmp/setjmp.h: Mark functions as non-leaf.
80125 * setjmp/bits/setjmp2.h: Likewise.
80126 * stdlib/ucontext.h: Likewise.
80127
80128 2011-11-10 Andreas Schwab <schwab@redhat.com>
80129
80130 * malloc/arena.c (_int_new_arena): Don't increment narenas.
80131 (reused_arena): Don't check arena limit.
80132 (arena_get2): Atomically check arena limit.
80133
80134 2011-11-08 Ulrich Drepper <drepper@gmail.com>
80135
80136 * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
80137 * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
80138
80139 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
80140 instructions.
80141
80142 2011-11-07 Andreas Schwab <schwab@redhat.com>
80143
80144 * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
80145 handler when locking.
80146
80147 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
80148 Fix size of allocated buffer.
80149
80150 2011-11-04 Andreas Schwab <schwab@redhat.com>
80151
80152 [BZ #10103]
80153 * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
80154 declarations for long double functions.
80155 * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
80156
80157 * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
80158
80159 2011-11-03 Andreas Schwab <schwab@redhat.com>
80160
80161 * nscd/nscd.c (main): Don't start AVC thread until credentials are
80162 installed.
80163
80164 * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
80165 is disabled.
80166
80167 2011-11-02 Samuel Thibault <samuel.thibault@ens-lyon.org>
80168
80169 * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
80170
80171 2011-11-01 Andreas Schwab <schwab@linux-m68k.org>
80172
80173 * include/alloca.h (stackinfo_alloca_round): Define.
80174 (extend_alloca): Use it.
80175 [_STACK_GROWS_UP]: Correct check for adjacent allocation.
80176 * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
80177 here.
80178
80179 * scripts/check-local-headers.sh: Ignore libaudit.h.
80180
80181 * nscd/Makefile (extra-objs): Make recursively expanded.
80182
80183 2011-11-01 Ulrich Drepper <drepper@gmail.com>
80184
80185 * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
80186 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
80187
80188 * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
80189 * posix/tst-rfc3484-2.c: Likewise.
80190 * posix/tst-rfc3484-3.c: Likewise.
80191
80192 * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
80193 process_vm_writev.
80194 * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
80195 process_vm_writev.
80196 * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
80197 process_vm_writev from libc using GLIBC_2.15 version.
80198
80199 * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
80200
80201 2011-10-31 Paul Pluzhnikov <ppluzhnikov@google.com>
80202
80203 * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
80204 stack usage.
80205
80206 2011-10-31 Ulrich Drepper <drepper@gmail.com>
80207
80208 [BZ #13367]
80209 * nss/getent.c (initgroups_keys): Show error message in case no group
80210 names are given.
80211
80212 * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
80213 * inet/check_pf.c: Provide dummy versions of __free_in6ai and
80214 __bump_nl_timestamp.
80215 * nscd/connections (nscd_init): When host database is served open
80216 netlink socket and request notification about configuration changes.
80217 (main_loop_poll): Track netlink file descriptor and bump timestamp
80218 in case data becomes available.
80219 (main_loop_epoll): Likewise.
80220 * nscd/nscd-client.h (DB_VERSION): Bump to 2.
80221 (database_pers_head): Add extra_data fileds.
80222 Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
80223 * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
80224 * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
80225 Adjust caller.
80226 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
80227 in6ai data, call __free_in6ai.
80228 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
80229 Add -DHAVE_NETLINK.
80230 * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite. Cache the
80231 interface information. Reuse previous data if netlink timestamp
80232 is not changed.
80233 (__bump_nl_timestamp): New function.
80234 (__free_in6ai): New function.
80235
80236 2011-10-30 Ulrich Drepper <drepper@gmail.com>
80237
80238 * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
80239 close_not_cancel_no_status here.
80240 (__check_pf): Reorganize code a bit to not call close twice if OOM.
80241
80242 2011-10-29 Ulrich Drepper <drepper@gmail.com>
80243
80244 [BZ #13276]
80245 * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
80246 return value.
80247
80248 * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
80249 * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
80250 asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
80251
80252 2011-07-03 Andreas Jaeger <aj@suse.de>
80253
80254 [BZ #10709]
80255 * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
80256 of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
80257 * math/libm-test.inc (sin_test): Add test case.
80258
80259 2011-10-29 Ulrich Drepper <drepper@gmail.com>
80260
80261 [BZ #13337]
80262 * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
80263 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
80264
80265 * elf/chroot_canon.c (chroot_canon): Cleanups.
80266
80267 * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
80268
80269 [BZ #13335]
80270 * elf/chroot_canon.c (chroot_canon): Fix readlink call.
80271 Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
80272
80273 * string/test-strchr.c: Make usable for strchrnul testing.
80274 * string/test-strchrnul.c: New file.
80275 * string/Makefile (strop-tests): Add strchrnul.
80276
80277 * po/it.po: Update from translation team.
80278 * po/es.po: Likewise.
80279
80280 2011-10-28 Ulrich Drepper <drepper@gmail.com>
80281
80282 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
80283 the three constants needed as parameters. Drop the others.
80284 (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
80285 __m128i_strloadu_tolower.
80286 Create and initialize variable zero and use it in all the places
80287 where _mm_setzero_si128 was used.
80288
80289 * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
80290 doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
80291 mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
80292 * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
80293 anymore.
80294 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
80295 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
80296 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
80297 __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
80298 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
80299 __mpranred, __mptan.
80300 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
80301 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
80302 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
80303 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
80304 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
80305 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
80306 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
80307 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
80308 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
80309
80310 2011-10-28 Andreas Schwab <schwab@redhat.com>
80311
80312 * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
80313 redefine if SHARED.
80314 * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
80315
80316 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
80317 wide char related routines to wcsmbs subdir.
80318
80319 2011-10-27 Andreas Schwab <schwab@redhat.com>
80320
80321 [BZ #13344]
80322 * misc/sys/cdefs.h (__THROWNL): Define.
80323 * posix/unistd.h: Use __THREADNL instead of __THREAD
80324 for memory synchronization functions.
80325
80326 2011-10-26 Roland McGrath <roland@hack.frob.com>
80327
80328 [BZ #13349]
80329 * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
80330 doesn't exist.
80331 * manual/stdio.texi (Obstack Streams): Node removed.
80332
80333 2011-10-26 Andreas Schwab <schwab@redhat.com>
80334
80335 * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
80336 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80337 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80338
80339 * math/math_private.h (math_force_eval): Allow non-addressable
80340 arguments.
80341 * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
80342
80343 2011-10-25 Ulrich Drepper <drepper@gmail.com>
80344
80345 * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
80346 file is not needed.
80347
80348 * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
80349 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
80350 * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
80351 * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
80352 * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
80353 * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
80354 * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
80355 * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
80356 Add AVX variants.
80357 * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
80358 * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
80359 * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
80360 * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
80361 * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
80362 * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
80363 * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
80364 * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
80365 * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
80366 * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
80367 * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
80368 * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
80369 * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
80370 * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
80371 * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
80372 * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
80373 * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
80374 * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
80375 * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
80376
80377 * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
80378 all the time. Define bit_AVX. Define HAS_* macros using bit_* macros.
80379
80380 * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
80381 place. Use VEX encoding when compiling for AVX.
80382
80383 2011-10-25 Andreas Schwab <schwab@redhat.com>
80384
80385 * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
80386 * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
80387
80388 * string/test-strchr.c (do_test): Don't generate NUL bytes.
80389
80390 2011-10-25 Ulrich Drepper <drepper@gmail.com>
80391
80392 * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
80393 useless if() expression.
80394 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
80395 * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
80396 * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
80397 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80398 * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
80399 * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
80400 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80401 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80402 * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
80403 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
80404 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
80405 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80406 * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
80407 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80408 * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
80409 * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
80410 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
80411 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
80412 * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
80413
80414 * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
80415
80416 2011-10-25 Andreas Schwab <schwab@redhat.com>
80417
80418 * elf/dl-deps.c (_dl_map_object_deps): Remove always true
80419 condition.
80420 * elf/dl-fini.c (_dl_sort_fini): Likewise.
80421
80422 2011-10-25 Ulrich Drepper <drepper@gmail.com>
80423
80424 * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
80425 .text section. Avoid duplicate constants.
80426 * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
80427 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80428 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
80429 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80430 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80431 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80432 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80433 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80434 * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
80435 * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
80436 * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
80437 * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
80438 * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
80439 * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
80440 * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
80441 * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
80442 * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
80443 * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
80444 * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
80445 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80446 * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
80447 * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
80448 * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
80449 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
80450 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
80451 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
80452 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
80453 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
80454 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
80455 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
80456 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
80457 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
80458 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
80459 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
80460 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
80461 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
80462 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
80463 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
80464 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
80465 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
80466 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
80467 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
80468 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
80469 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
80470 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
80471
80472 2011-10-24 Ulrich Drepper <drepper@gmail.com>
80473
80474 * sysdeps/x86_64/dla.h: Move to ...
80475 * sysdeps/x86_64/fpu/dla.h: ...here.
80476 (DLA_FMS): Some compilers fail to inline __builtin_fma in some
80477 situations. Use __builtin_fma only for gcc 4.6 and up.
80478
80479 * config.make.in: Add have-mfma4 entry.
80480 * configure.in: Substitute libc_cv_cc_fma4.
80481 * math/Makefile (dbl-only-routines): Add sincostab.
80482 * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
80483 Use __sincostab not sincos.
80484 * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
80485 name is a macro.
80486 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80487 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80488 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80489 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise. Define singArctan2
80490 using __copysign.
80491 * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr. Don't define
80492 __cr and __cpymn. Define __cpy unless NO___CPY is defined. Define
80493 norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
80494 * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
80495 and __inv.
80496 * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
80497 * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
80498 __copysign.
80499 * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos. Don't
80500 define aliases when function name is a macro.
80501 * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
80502 sysdeps/ieee754/dbl-64/sincos.tbl.
80503 * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
80504 fma4-enabled routines.
80505 * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
80506 * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
80507 * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
80508 * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
80509 * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
80510 * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
80511 * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
80512 * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
80513 * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
80514 * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
80515 * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
80516 * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
80517 * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
80518 * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
80519 * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
80520 * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
80521 * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
80522 * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
80523 * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
80524 * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
80525 * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
80526 * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
80527 * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
80528 * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
80529 * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
80530 * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
80531 * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
80532 * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
80533 * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
80534 * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
80535
80536 * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
80537 rename.
80538 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80539 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80540 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80541 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80542 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80543 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80544 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80545 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80546
80547 2011-10-24 Andreas Schwab <schwab@redhat.com>
80548
80549 * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
80550
80551 2011-10-23 Ulrich Drepper <drepper@gmail.com>
80552
80553 * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
80554
80555 * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
80556 prediction.
80557 * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
80558
80559 * string/strnlen.c: Don't define STRNLEN, reverse logic.
80560 Remove unused variable magic_bits.
80561 * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
80562
80563 * string/strnlen.c: Define and use STRNLEN macro.
80564 * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
80565 Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
80566 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
80567 * wcsmbs/wcslen.c: Define and use WCSLEN.
80568 * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
80569 * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
80570 * sysdeps/i386/i686/multiarch/strnlen.S: New file.
80571 * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
80572 * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
80573 * sysdeps/i386/i686/multiarch/wcslen.S: New file.
80574 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
80575
80576 2011-10-20 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80577
80578 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
80579 strnlen-sse2-no-bsf.
80580 Rename strlen-no-bsf to strlen-sse2-no-bsf.
80581 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
80582 * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
80583 Add strnlen support.
80584 (USE_AS_STRNLEN): New macro.
80585 * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
80586 * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
80587 Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
80588 * sysdeps/x86_64/wcslen.S: New file.
80589
80590 2011-10-20 Michael Zolotukhin <michael.v.zolotukhin@gmail.com>
80591
80592 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
80593 XMM-moves are used for copying on small sizes.
80594
80595 2011-10-19 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80596
80597 * wcsmbs/Makefile (strop-tests): Add wcschr.
80598 * wcsmbs/test-wcschr.c: New file.
80599 * string/test-strchr.c: Update.
80600 Add wcschr support.
80601 (WIDE): New macro.
80602
80603 2011-10-18 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80604
80605 * wcsmbs/Makefile (strop-tests): Add wcslen.
80606 * wcsmbs/test-wcslen.c: New file.
80607 * string/test-strlen.c: Update.
80608 Add wcslen support.
80609 (WIDE): New macro.
80610
80611 2011-10-23 Ulrich Drepper <drepper@gmail.com>
80612
80613 * po/it.po: Update from translation team.
80614
80615 2011-09-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80616
80617 * sysdeps/x86_64/wcscmp.S: Update.
80618 Fix wrong comparison semantics.
80619 wcscmp shall use signed comparison not unsigned.
80620 Don't use substraction to avoid overflow bug.
80621 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
80622 * wcsmbc/wcscmp.c: Likewise.
80623 * string/test-strcmp.c: Likewise.
80624 Add new tests to check cases with negative values.
80625
80626 2011-10-23 Ulrich Drepper <drepper@gmail.com>
80627
80628 * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
80629 * sysdeps/x86_64/dla.h: ...here. New file.
80630 * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
80631 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80632 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80633 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80634 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80635 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
80636 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80637 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80638 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80639
80640 2011-10-23 Andreas Schwab <schwab@linux-m68k.org>
80641
80642 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
80643 __ynl_finite aliases.
80644
80645 2011-10-22 Ulrich Drepper <drepper@gmail.com>
80646
80647 * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80648
80649 * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
80650 define DLA_FMA.
80651 [DLA_FMA] (EMULV): Use DLA_FMA.
80652 [DLA_FMA] (MUL12): Use EMULV.
80653 * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
80654 that are not needed.
80655 * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
80656 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
80657 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
80658 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
80659 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
80660 * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
80661 * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
80662
80663 2011-10-22 Andreas Schwab <schwab@linux-m68k.org>
80664
80665 * math/s_nan.c: Undef __nan.
80666 * math/s_nanf.c: Undef __nanf.
80667 * math/s_nanl.c: Undef __nanl.
80668 * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
80669 "math_private.h".
80670
80671 2011-10-22 Ulrich Drepper <drepper@gmail.com>
80672
80673 * math/s_catan.c: Add branch predictions.
80674 * math/s_catanf.c: Likewise.
80675 * math/s_catanh.c: Likewise.
80676 * math/s_catanhf.c: Likewise.
80677 * math/s_catanhl.c: Likewise.
80678 * math/s_catanl.c: Likewise.
80679 * math/s_cexp.c: Likewise.
80680 * math/s_cexpf.c: Likewise.
80681 * math/s_cexpl.c: Likewise.
80682 * math/s_clog.c: Likewise.
80683 * math/s_clog10.c: Likewise.
80684 * math/s_clog10f.c: Likewise.
80685 * math/s_clog10l.c: Likewise.
80686 * math/s_clogf.c: Likewise.
80687 * math/s_clogl.c: Likewise.
80688 * math/s_csqrt.c: Likewise.
80689 * math/s_csqrtf.c: Likewise.
80690 * math/s_csqrtl.c: Likewise.
80691 * math/s_ctanf.c: Likewise.
80692 * math/s_ctanh.c: Likewise.
80693 * math/s_ctanhf.c: Likewise.
80694 * math/s_ctanhl.c: Likewise.
80695 * math/s_ctanl.c: Likewise.
80696
80697 * math/math_private.h: Define __nan, __nanf, __nanl.
80698 * math/s_cacosh.c: Include <math_private.h>.
80699 * math/s_cacoshl.c: Likewise.
80700 * math/s_casinh.c: Likewise.
80701 * math/s_casinhf.c: Likewise.
80702 * math/s_casinhl.c: Likewise.
80703 * math/s_ccos.c: Rely entire on ccosh.
80704 * math/s_ccosf.c: Rely entire on ccoshf.
80705 * math/s_ccosl.c: Rely entirely on ccoshl.
80706 * math/s_ccosh.c: Add branch predicion helpers. Add branch prediction.
80707 Remove tests for FE_INVALID.
80708 * math/s_ccoshf.c: Likewise.
80709 * math/s_ccoshl.c: Likewise.
80710 * math/s_csin.c: Likewise.
80711 * math/s_csinf.c: Likewise.
80712 * math/s_csinh.c Likewise.
80713 * math/s_csinhf.c: Likewise.
80714 * math/s_csinhl.c: Likewise.
80715 * math/s_csinl.c: Likewise.
80716 * math/s_ctan.c: Likewise.
80717 * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
80718 * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
80719 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
80720
80721 2011-10-21 Ulrich Drepper <drepper@gmail.com>
80722
80723 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
80724 compilation problems.
80725
80726 * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
80727 __builtin_expect.
80728
80729 2011-10-20 Ulrich Drepper <drepper@gmail.com>
80730
80731 * sysdeps/i386/configure.in: Test for -mfma4 option.
80732 * config.h.in: Add HAVE_FMA4_SUPPORT entry.
80733 * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
80734 COMMON_CPUID_INDEX_80000001.
80735 * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
80736 * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
80737 use it if FMA3 is not supported.
80738 * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
80739
80740 * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
80741 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
80742
80743 2011-10-20 Andreas Schwab <schwab@redhat.com>
80744
80745 [BZ #12892]
80746 * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
80747 it would create a cycle with a link time dependency.
80748
80749 2011-10-19 Ulrich Drepper <drepper@gmail.com>
80750
80751 * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
80752 instruction.
80753 * string/Makefile (strop-tests): Add rawmemchr.
80754 * string/test-rawmemchr.c: New file.
80755
80756 * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
80757 * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file. Split out from...
80758 * sysdeps/x86_64/multiarch/strcmp.S: ...here. Include strcmp-sse42.S
80759 when compiling str{,n}casecmp and when AVX is available. Hook up
80760 new optimized code in initializers.
80761
80762 2011-10-19 Andreas Schwab <schwab@redhat.com>
80763
80764 * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
80765 __feraiseexcept instead of feraiseexcept.
80766
80767 2011-10-18 Ulrich Drepper <drepper@gmail.com>
80768
80769 * math/math_private.h: Define defaults for libc_fetestexcept and
80770 libc_feupdateenv.
80771 * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
80772 * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
80773 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
80774 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80775 * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
80776 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80777 libc_fetestexcept and libc_feupdateenv.
80778
80779 * math/math_private.h: Define defaults for libc_feholdexcept_setround,
80780 libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
80781 * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
80782 * sysdeps/x86_64/fpu/math_private.h: Define special version of
80783 libc_feholdexcept_setround.
80784
80785 * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
80786 Add s_nearbyint-c and s_nearbyintf-c.
80787 * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
80788 nearbyintf inlines.
80789 * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
80790 * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
80791 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
80792 * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
80793
80794 * math/math_private.h: Define defaults for libc_fegetround,
80795 libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
80796 libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
80797 libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
80798 * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
80799 libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
80800 standard functions.
80801 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
80802 Remove comments and hacks for old compiler versions.
80803 * sysdeps/x86_64/fpu/math_private.h: Define special versions of
80804 libc_fegetround, libc_fesetround, libc_feholdexcept, and
80805 libc_feholdexceptl.
80806
80807 2011-10-18 Andreas Schwab <schwab@redhat.com>
80808
80809 * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
80810 (__feraiseexcept_renamed): Add __NTH.
80811 (feraiseexcept): Add __NTH. Rename local variables to fix
80812 namespace violations.
80813
80814 2011-10-17 Ulrich Drepper <drepper@gmail.com>
80815
80816 * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
80817
80818 * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
80819
80820 * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
80821 recently added interfaces.
80822 * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
80823
80824 * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
80825 about macro parameter expansion.
80826
80827 * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
80828 __NO_MATH_INLINES is defined. Cleanups.
80829
80830 * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
80831 and __floorf is target has SSE4.1.
80832 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
80833 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
80834 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
80835 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
80836
80837 * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
80838 name.
80839 (floorf): Likewise.
80840
80841 * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
80842
80843 2011-10-17 Andreas Schwab <schwab@redhat.com>
80844
80845 * misc/sys/cdefs.h: Fix last change.
80846
80847 * grp/initgroups.c (internal_getgrouplist): Fix initgroups
80848 database lookup.
80849
80850 2011-10-16 Ulrich Drepper <drepper@gmail.com>
80851
80852 * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
80853
80854 * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
80855 * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
80856 * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
80857 * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
80858 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
80859 * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
80860 * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
80861 * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
80862 * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
80863 * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
80864 * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
80865 * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
80866 * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
80867 * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
80868 * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
80869 * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
80870 * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
80871 * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
80872 * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
80873 * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
80874 * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
80875 * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
80876
80877 * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
80878 ceil, ceilf, floor, floorf.
80879
80880 * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
80881 Perform IRELATIVE relocations last.
80882
80883 * elf/do-rel.h: Add another parameter nrelative, replacing the
80884 local variable with the same name. Change name of the function
80885 to end in Rel or Rela (uppercase).
80886 * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
80887 nrelative to ranges. Only nonzero for DT_REL/DT_RELA. Pass to the
80888 elf_dynamic_do_##reloc function.
80889
80890 2011-10-15 Ulrich Drepper <drepper@gmail.com>
80891
80892 * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
80893 is sufficient, at least on modern CPUs.
80894
80895 * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
80896
80897 * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
80898 * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
80899
80900 * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
80901 __expl_finite.
80902 * math/bits/math-finite.h: Add entries for exp.
80903 * math/e_expl.c: Add __*_finite alias.
80904 * sysdeps/i386/fpu/e_exp.S: Likewise.
80905 * sysdeps/i386/fpu/e_expf.S: Likewise.
80906 * sysdeps/i386/fpu/e_expl.c: Likewise.
80907 * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
80908 * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
80909 * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
80910 * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
80911 * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
80912 * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
80913 * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
80914
80915 * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
80916 is sufficient, at least on modern CPUs.
80917
80918 * ctype/ctype-info.c (__ctype_init): Define.
80919 * include/ctype.h (__ctype_init): Declare.
80920 (__ctype_b_loc): The variable is always initialized.
80921 (__ctype_toupper_loc): Likewise.
80922 (__ctype_tolower_loc): Likewise.
80923 * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
80924 * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
80925
80926 2011-10-15 Andreas Schwab <schwab@linux-m68k.org>
80927
80928 * wcsmbs/wmemcmp.c (WMEMCMP): Define.
80929
80930 * configure.in: Also look in $cxxmachine/include for C++ system
80931 headers.
80932
80933 2011-09-27 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
80934
80935 * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
80936 memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
80937 * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
80938 * sysdeps/x86_64/multiarch/memcmp.S: Update. Add __memcmp_ssse3.
80939 * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
80940 (USE_AS_WMEMCMP): New macro.
80941 Fixing indents.
80942 * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
80943 * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
80944 * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
80945 * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
80946 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
80947 wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
80948 * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
80949 * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
80950 * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
80951 * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
80952 * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
80953 (USE_AS_WMEMCMP): New macro.
80954 * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
80955 * sysdeps/string/test-memcmp.c: Update.
80956 Fix simple_wmemcmp.
80957 Add new tests.
80958 * wcsmbs/wmemcmp.c: Update.
80959 (WMEMCMP): New macro.
80960 Fix overflow bug.
80961
80962 2011-10-12 Andreas Jaeger <aj@suse.de>
80963
80964 [BZ #13268]
80965 * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
80966
80967 2011-10-15 Ulrich Drepper <drepper@gmail.com>
80968
80969 * libio/iofwide.c (do_length): Avoid warning.
80970
80971 * ctype/ctype.h (__isctype_f): Add missing __THROW.
80972
80973 2011-10-14 Ulrich Drepper <drepper@gmail.com>
80974
80975 * elf/pldd-xx.c (find_maps): Remove leftover debug message.
80976
80977 * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
80978 * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
80979 * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
80980 * sysdeps/i386/i686/fpu/e_log.S: New file.
80981 * sysdeps/i386/i686/fpu/e_logf.S: New file.
80982 * sysdeps/i386/i686/fpu/e_logl.S: New file.
80983
80984 * ctype/ctype.h: Add support for inlined isXXX functions when
80985 compiling C++ code.
80986
80987 2011-10-14 Andreas Schwab <schwab@redhat.com>
80988
80989 * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
80990
80991 * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
80992
80993 2011-10-13 Roland McGrath <roland@hack.frob.com>
80994
80995 [BZ #13291]
80996 * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
80997
80998 2011-10-13 Andreas Schwab <schwab@redhat.com>
80999
81000 * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
81001 * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
81002 feraiseexcept.
81003
81004 * sysdeps/x86_64/memrchr.S: Check for zero size.
81005
81006 * string/stratcliff.c: Add memrchr tests.
81007
81008 2011-10-12 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81009
81010 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
81011 memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
81012 rawmemchr-sse2 rawmemchr-sse2-bsf.
81013 * sysdeps/i386/i686/multiarch/memchr.S: New file.
81014 * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
81015 * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
81016 * sysdeps/i386/i686/multiarch/memrchr.S: New file.
81017 * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
81018 * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
81019 * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
81020 * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
81021 * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
81022 * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
81023 * string/memrchr.c (MEMRCHR): New macro.
81024
81025 2011-10-12 Ulrich Drepper <drepper@gmail.com>
81026
81027 Add integration with gcc's -ffinite-math-only and optimize wrapper
81028 functions in libm.
81029 * Versions.def: Define GLIBC_2.15 version for libm.
81030 * math/Makefile (headers): Add bits/math-finite.h.
81031 * math/bits/math-finite.h: New file.
81032 * sysdeps/ia64/fpu/bits/math-finite.h: New file.
81033 * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
81034 * math/e_acoshl.c: Add __*_finite alias.
81035 * math/e_acosl.c: Likewise.
81036 * math/e_asinl.c: Likewise.
81037 * math/e_atan2l.c: Likewise.
81038 * math/e_atanhl.c: Likewise.
81039 * math/e_coshl.c: Likewise.
81040 * math/e_exp10.c: Likewise.
81041 * math/e_exp10f.c: Likewise.
81042 * math/e_exp10l.c: Likewise.
81043 * math/e_exp2l.c: Likewise.
81044 * math/e_fmodl.c: Likewise.
81045 * math/e_gammal_r.c: Likewise.
81046 * math/e_hypotl.c: Likewise.
81047 * math/e_j0l.c: Likewise.
81048 * math/e_j1l.c: Likewise.
81049 * math/e_jnl.c: Likewise.
81050 * math/e_lgammal_r.c: Likewise.
81051 * math/e_log10l.c: Likewise.
81052 * math/e_log2l.c: Likewise.
81053 * math/e_logl.c: Likewise.
81054 * math/e_powl.c: Likewise.
81055 * math/e_sinhl.c: Likewise.
81056 * math/e_sqrtl.c: Likewise.
81057 * math/e_scalb.c: Completely rewritten and optimized.
81058 * math/e_scalbf.c: Likewise.
81059 * math/e_scalbl.c: Likewise.
81060 * math/w_acos.c: Likewise.
81061 * math/w_acosf.c: Likewise.
81062 * math/w_acosl.c: Likewise.
81063 * math/w_acosh.c: Likewise.
81064 * math/w_acoshf.c: Likewise.
81065 * math/w_acoshl.c: Likewise.
81066 * math/w_asin.c: Likewise.
81067 * math/w_asinf.c: Likewise.
81068 * math/w_asinl.c: Likewise.
81069 * math/w_atan2.c: Likewise.
81070 * math/w_atan2f.c: Likewise.
81071 * math/w_atan2l.c: Likewise.
81072 * math/w_atanh.c: Likewise.
81073 * math/w_atanhf.c: Likewise.
81074 * math/w_atanhl.c: Likewise.
81075 * math/w_exp10.c: Likewise.
81076 * math/w_exp10f.c: Likewise.
81077 * math/w_exp10l.c: Likewise.
81078 * math/w_fmod.c: Likewise.
81079 * math/w_fmodf.c: Likewise.
81080 * math/w_fmodl.c: Likewise.
81081 * math/w_j0.c: Likewise.
81082 * math/w_j0f.c: Likewise.
81083 * math/w_j0l.c: Likewise.
81084 * math/w_j1.c: Likewise.
81085 * math/w_j1f.c: Likewise.
81086 * math/w_j1l.c: Likewise.
81087 * math/w_jn.c: Likewise.
81088 * math/w_jnf.c: Likewise.
81089 * math/w_log.c: Likewise.
81090 * math/w_logf.c: Likewise.
81091 * math/w_logl.c: Likewise.
81092 * math/w_log10.c: Likewise.
81093 * math/w_log10f.c: Likewise.
81094 * math/w_log10l.c: Likewise.
81095 * math/w_log2.c: Likewise.
81096 * math/w_log2f.c: Likewise.
81097 * math/w_log2l.c: Likewise.
81098 * math/w_pow.c: Likewise.
81099 * math/w_powf.c: Likewise.
81100 * math/w_powl.c: Likewise.
81101 * math/w_remainder.c: Likewise.
81102 * math/w_remainderf.c: Likewise.
81103 * math/w_remainderl.c: Likewise.
81104 * math/w_scalb.c: Likewise.
81105 * math/w_scalbf.c: Likewise.
81106 * math/w_scalbl.c: Likewise.
81107 * math/w_sqrt.c: Likewise.
81108 * math/w_sqrtf.c: Likewise.
81109 * math/w_sqrtl.c: Likewise.
81110 * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
81111 are declared. Include <bits/math-finite.h> if -ffinite-math-only is
81112 used.
81113 * math/math_private.h: Declare __kernel_standard_f.
81114 * math/w_cosh.c: Remove cruft and optimize a bit.
81115 * math/w_coshf.c: Likewise.
81116 * math/w_coshl.c: Likewise.
81117 * math/w_exp2.c: Likewise.
81118 * math/w_exp2f.c: Likewise.
81119 * math/w_exp2l.c: Likewise.
81120 * math/w_hypot.c: Likewise.
81121 * math/w_hypotf.c: Likewise.
81122 * math/w_hypotl.c: Likewise.
81123 * math/w_lgamma.c: Likewise.
81124 * math/w_lgamma_r.c: Likewise.
81125 * math/w_lgammaf.c: Likewise.
81126 * math/w_lgammaf_r.c: Likewise.
81127 * math/w_lgammal.c: Likewise.
81128 * math/w_lgammal_r.c: Likewise.
81129 * math/w_sinh.c: Likewise.
81130 * math/w_sinhf.c: Likewise.
81131 * math/w_sinhl.c: Likewise.
81132 * math/w_tgamma.c: Likewise.
81133 * math/w_tgammaf.c: Likewise.
81134 * math/w_tgammal.c: Likewise.
81135 * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
81136 * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
81137 * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
81138 Minor optimizations. Pretty printing. Remove cruft.
81139 * sysdeps/i386/fpu/e_acosf.S: Likewise.
81140 * sysdeps/i386/fpu/e_acosh.S: Likewise.
81141 * sysdeps/i386/fpu/e_acoshf.S: Likewise.
81142 * sysdeps/i386/fpu/e_acoshl.S: Likewise.
81143 * sysdeps/i386/fpu/e_acosl.c: Likewise.
81144 * sysdeps/i386/fpu/e_asin.S: Likewise.
81145 * sysdeps/i386/fpu/e_asinf.S: Likewise.
81146 * sysdeps/i386/fpu/e_atan2.S: Likewise.
81147 * sysdeps/i386/fpu/e_atan2f.S: Likewise.
81148 * sysdeps/i386/fpu/e_atan2l.c: Likewise.
81149 * sysdeps/i386/fpu/e_atanh.S: Likewise.
81150 * sysdeps/i386/fpu/e_atanhf.S: Likewise.
81151 * sysdeps/i386/fpu/e_atanhl.S: Likewise.
81152 * sysdeps/i386/fpu/e_exp10.S: Likewise.
81153 * sysdeps/i386/fpu/e_exp10f.S: Likewise.
81154 * sysdeps/i386/fpu/e_exp10l.S: Likewise.
81155 * sysdeps/i386/fpu/e_exp2.S: Likewise.
81156 * sysdeps/i386/fpu/e_exp2f.S: Likewise.
81157 * sysdeps/i386/fpu/e_exp2l.S: Likewise.
81158 * sysdeps/i386/fpu/e_fmod.S: Likewise.
81159 * sysdeps/i386/fpu/e_fmodf.S: Likewise.
81160 * sysdeps/i386/fpu/e_fmodl.c: Likewise.
81161 * sysdeps/i386/fpu/e_hypot.S: Likewise.
81162 * sysdeps/i386/fpu/e_hypotf.S: Likewise.
81163 * sysdeps/i386/fpu/e_log.S: Likewise.
81164 * sysdeps/i386/fpu/e_log10.S: Likewise.
81165 * sysdeps/i386/fpu/e_log10f.S: Likewise.
81166 * sysdeps/i386/fpu/e_log10l.S: Likewise.
81167 * sysdeps/i386/fpu/e_log2.S: Likewise.
81168 * sysdeps/i386/fpu/e_log2f.S: Likewise.
81169 * sysdeps/i386/fpu/e_log2l.S: Likewise.
81170 * sysdeps/i386/fpu/e_logf.S: Likewise.
81171 * sysdeps/i386/fpu/e_logl.S: Likewise.
81172 * sysdeps/i386/fpu/e_pow.S: Likewise.
81173 * sysdeps/i386/fpu/e_powf.S: Likewise.
81174 * sysdeps/i386/fpu/e_powl.S: Likewise.
81175 * sysdeps/i386/fpu/e_remainder.S: Likewise.
81176 * sysdeps/i386/fpu/e_remainderf.S: Likewise.
81177 * sysdeps/i386/fpu/e_remainderl.S: Likewise.
81178 * sysdeps/i386/fpu/e_scalb.S: Likewise.
81179 * sysdeps/i386/fpu/e_scalbf.S: Likewise.
81180 * sysdeps/i386/fpu/e_scalbl.S: Likewise.
81181 * sysdeps/i386/fpu/e_sqrt.S: Likewise.
81182 * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
81183 * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
81184 * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
81185 * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
81186 * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
81187 * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
81188 * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
81189 * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
81190 * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
81191 * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
81192 * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
81193 * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
81194 * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
81195 * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
81196 * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
81197 * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
81198 * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
81199 * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
81200 * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
81201 * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
81202 * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
81203 * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
81204 * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
81205 * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
81206 * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
81207 * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
81208 * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
81209 * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
81210 * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
81211 * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
81212 * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
81213 * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
81214 * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
81215 * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
81216 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81217 * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
81218 * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
81219 * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
81220 * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
81221 * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
81222 * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
81223 * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
81224 * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
81225 * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
81226 * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
81227 * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
81228 * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
81229 * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
81230 * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
81231 * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
81232 * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
81233 * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
81234 * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
81235 * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
81236 * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
81237 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81238 * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
81239 * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
81240 * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
81241 * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
81242 * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
81243 * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
81244 * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
81245 * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
81246 * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
81247 * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
81248 * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
81249 * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
81250 * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
81251 * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
81252 * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
81253 * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
81254 * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
81255 * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
81256 * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
81257 * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
81258 * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
81259 * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
81260 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
81261 * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
81262 * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
81263 * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
81264 * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
81265 * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
81266 * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
81267 * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
81268 * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
81269 * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
81270 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81271 * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
81272 * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
81273 * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
81274 * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
81275 * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
81276 * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
81277 * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
81278 * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
81279 * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
81280 * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
81281 * sysdeps/s390/fpu/e_sqrt.c: Likewise.
81282 * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
81283 * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
81284 * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
81285 * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
81286 * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
81287 * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
81288 * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
81289 * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
81290 * sysdeps/x86_64/fpu/e_logl.S: Likewise.
81291 * sysdeps/x86_64/fpu/e_powl.S: Likewise.
81292 * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
81293 * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
81294 * sysdeps/x86_64/fpu/e_sqrt.c: Likewise. Fix parameter order
81295 * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
81296 * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
81297 (__isnanf): Likewise.
81298 (__isinf_ns): Likewise.
81299 (__isinf_nsf): Likewise.
81300 (__finite): Likewise.
81301 (__finitef): Likewise.
81302 (__ieee754_sqrt): Define as macro.
81303 (__ieee754_sqrtf): Define as macro.
81304 (__ieee754_sqrtl): Define as macro.
81305 * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
81306 inlined copy.
81307 * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
81308 __FINITE_MATH_ONLY__ consistent.
81309 * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
81310
81311 2011-10-10 Andreas Schwab <schwab@linux-m68k.org>
81312
81313 * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
81314 of rawmemchr.
81315
81316 * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
81317
81318 2011-10-09 Ulrich Drepper <drepper@gmail.com>
81319
81320 * po/ja.po: Update from translation team.
81321
81322 2011-10-08 Roland McGrath <roland@hack.frob.com>
81323
81324 * locale/programs/locarchive.c (prepare_address_space): New function.
81325 (create_archive, enlarge_archive, open_archive): Use it.
81326
81327 * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
81328 inside [SHARED], where it is used.
81329
81330 * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
81331
81332 * nss/getent.c (netgroup_keys): Remove unused variable.
81333 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
81334
81335 2011-10-08 Ulrich Drepper <drepper@gmail.com>
81336
81337 * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
81338 * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
81339 * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
81340 * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
81341 * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
81342 * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
81343 * math/Makefile (libm-calls): Add s_isinf_ns.
81344 * math/divtc3.c: Use __isinf_nsl instead of isinf.
81345 * math/multc3.c: Likewise.
81346 * math/s_casin.c: Likewise.
81347 * math/s_casinf.c: Likewise.
81348 * math/s_casinl.c: Likewise.
81349 * math/s_ccos.c: Likewise.
81350 * math/s_ccosf.c: Likewise.
81351 * math/s_ccosl.c: Likewise.
81352 * math/s_ctan.c: Likewise.
81353 * math/s_ctanf.c: Likewise.
81354 * math/s_ctanh.c: Likewise.
81355 * math/s_ctanhf.c: Likewise.
81356 * math/s_ctanhl.c: Likewise.
81357 * math/s_ctanl.c: Likewise.
81358 * math/w_fmod.c: Likewise.
81359 * math/w_fmodf.c: Likewise.
81360 * math/w_fmodl.c: Likewise.
81361 * math/w_remainder.c: Likewise.
81362 * math/w_remainderf.c: Likewise.
81363 * math/w_remainderl.c: Likewise.
81364 * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
81365 * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
81366 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
81367 * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
81368 * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
81369 * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
81370 * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
81371 __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
81372
81373 * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
81374 of the number.
81375 * stdio-common/printf_fphex.c: Likewise.
81376 * stdio-common/printf_size.c: Likewise.
81377
81378 * math/e_exp10.c: Include math_private.h using <...> not "...".
81379 * math/e_exp10f.c: Likewise.
81380 * math/e_exp10l.c: Likewise.
81381 * math/e_exp2l.c: Likewise.
81382 * math/e_j0l.c: Likewise.
81383 * math/e_j1l.c: Likewise.
81384 * math/e_jnl.c: Likewise.
81385 * math/e_lgammal_r.c: Likewise.
81386 * math/e_rem_pio2l.c: Likewise.
81387 * math/e_scalb.c: Likewise.
81388 * math/e_scalbf.c: Likewise.
81389 * math/e_scalbl.c: Likewise.
81390 * math/k_cosl.c: Likewise.
81391 * math/k_sinl.c: Likewise.
81392 * math/k_tanl.c: Likewise.
81393 * math/s_cacoshf.c: Likewise.
81394 * math/s_catan.c: Likewise.
81395 * math/s_catanf.c: Likewise.
81396 * math/s_catanh.c: Likewise.
81397 * math/s_catanhf.c: Likewise.
81398 * math/s_catanhl.c: Likewise.
81399 * math/s_catanl.c: Likewise.
81400 * math/s_ccosh.c: Likewise.
81401 * math/s_ccoshf.c: Likewise.
81402 * math/s_ccoshl.c: Likewise.
81403 * math/s_cexp.c: Likewise.
81404 * math/s_cexpf.c: Likewise.
81405 * math/s_cexpl.c: Likewise.
81406 * math/s_clog.c: Likewise.
81407 * math/s_clog10.c: Likewise.
81408 * math/s_clog10f.c: Likewise.
81409 * math/s_clog10l.c: Likewise.
81410 * math/s_clogf.c: Likewise.
81411 * math/s_clogl.c: Likewise.
81412 * math/s_csin.c: Likewise.
81413 * math/s_csinf.c: Likewise.
81414 * math/s_csinh.c: Likewise.
81415 * math/s_csinhf.c: Likewise.
81416 * math/s_csinhl.c: Likewise.
81417 * math/s_csinl.c: Likewise.
81418 * math/s_csqrt.c: Likewise.
81419 * math/s_csqrtf.c: Likewise.
81420 * math/s_csqrtl.c: Likewise.
81421 * math/s_ctan.c: Likewise.
81422 * math/s_ctanf.c: Likewise.
81423 * math/s_ctanh.c: Likewise.
81424 * math/s_ctanhf.c: Likewise.
81425 * math/s_ctanhl.c: Likewise.
81426 * math/s_ctanl.c: Likewise.
81427 * math/s_ldexp.c: Likewise.
81428 * math/s_ldexpf.c: Likewise.
81429 * math/s_ldexpl.c: Likewise.
81430 * math/s_significand.c: Likewise.
81431 * math/s_significandf.c: Likewise.
81432 * math/s_significandl.c: Likewise.
81433 * math/w_acos.c: Likewise.
81434 * math/w_acosf.c: Likewise.
81435 * math/w_acosh.c: Likewise.
81436 * math/w_acoshf.c: Likewise.
81437 * math/w_acoshl.c: Likewise.
81438 * math/w_acosl.c: Likewise.
81439 * math/w_asin.c: Likewise.
81440 * math/w_asinf.c: Likewise.
81441 * math/w_asinl.c: Likewise.
81442 * math/w_atan2.c: Likewise.
81443 * math/w_atan2f.c: Likewise.
81444 * math/w_atan2l.c: Likewise.
81445 * math/w_atanh.c: Likewise.
81446 * math/w_atanhf.c: Likewise.
81447 * math/w_atanhl.c: Likewise.
81448 * math/w_cosh.c: Likewise.
81449 * math/w_coshf.c: Likewise.
81450 * math/w_coshl.c: Likewise.
81451 * math/w_dremf.c: Likewise.
81452 * math/w_exp10.c: Likewise.
81453 * math/w_exp10f.c: Likewise.
81454 * math/w_exp10l.c: Likewise.
81455 * math/w_exp2.c: Likewise.
81456 * math/w_exp2f.c: Likewise.
81457 * math/w_fmod.c: Likewise.
81458 * math/w_fmodf.c: Likewise.
81459 * math/w_fmodl.c: Likewise.
81460 * math/w_hypot.c: Likewise.
81461 * math/w_hypotf.c: Likewise.
81462 * math/w_hypotl.c: Likewise.
81463 * math/w_j0.c: Likewise.
81464 * math/w_j0f.c: Likewise.
81465 * math/w_j0l.c: Likewise.
81466 * math/w_j1.c: Likewise.
81467 * math/w_j1f.c: Likewise.
81468 * math/w_j1l.c: Likewise.
81469 * math/w_jn.c: Likewise.
81470 * math/w_jnf.c: Likewise.
81471 * math/w_jnl.c: Likewise.
81472 * math/w_lgamma.c: Likewise.
81473 * math/w_lgamma_r.c: Likewise.
81474 * math/w_lgammaf.c: Likewise.
81475 * math/w_lgammaf_r.c: Likewise.
81476 * math/w_lgammal.c: Likewise.
81477 * math/w_lgammal_r.c: Likewise.
81478 * math/w_log.c: Likewise.
81479 * math/w_log10.c: Likewise.
81480 * math/w_log10f.c: Likewise.
81481 * math/w_log10l.c: Likewise.
81482 * math/w_log2.c: Likewise.
81483 * math/w_log2f.c: Likewise.
81484 * math/w_log2l.c: Likewise.
81485 * math/w_logf.c: Likewise.
81486 * math/w_logl.c: Likewise.
81487 * math/w_pow.c: Likewise.
81488 * math/w_powf.c: Likewise.
81489 * math/w_powl.c: Likewise.
81490 * math/w_remainder.c: Likewise.
81491 * math/w_remainderf.c: Likewise.
81492 * math/w_remainderl.c: Likewise.
81493 * math/w_scalb.c: Likewise.
81494 * math/w_scalbf.c: Likewise.
81495 * math/w_scalbl.c: Likewise.
81496 * math/w_sinh.c: Likewise.
81497 * math/w_sinhf.c: Likewise.
81498 * math/w_sinhl.c: Likewise.
81499 * math/w_sqrt.c: Likewise.
81500 * math/w_sqrtf.c: Likewise.
81501 * math/w_sqrtl.c: Likewise.
81502 * math/w_tgamma.c: Likewise.
81503 * math/w_tgammaf.c: Likewise.
81504 * math/w_tgammal.c: Likewise.
81505
81506 * po/ja.po: Update from translation team.
81507
81508 2011-09-29 Andreas Jaeger <aj@suse.de>
81509
81510 [BZ #13179]
81511 * sunrpc/netname.c (netname2host): Fix logic.
81512
81513 [BZ #6779]
81514 [BZ #6783]
81515 * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
81516 correctly.
81517 * math/w_remainder.c (__remainder): Likewise.
81518 * math/w_remainderf.c (__remainderf): Likewise.
81519 * math/libm-test.inc (remainder_test): Add test cases.
81520
81521 2011-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
81522
81523 * stdlib/longlong.h: Update from GCC. Fix zarch smul_ppmm and
81524 sdiv_qrnnd.
81525
81526 2011-10-07 Ulrich Drepper <drepper@gmail.com>
81527
81528 * string/test-memcmp.c: Avoid unncessary #defines.
81529 Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
81530
81531 2011-08-31 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
81532
81533 * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
81534 Use new sse2 version for core i3 - i7 as it's faster
81535 than sse42 version.
81536 (bit_Prefer_PMINUB_for_stringop): New.
81537 * sysdeps/x86_64/rawmemchr.S: Update.
81538 Replace with faster SSE2 version.
81539 * sysdeps/x86_64/memrchr.S: New file.
81540 * sysdeps/x86_64/memchr.S: Update.
81541 Replace with faster SSE2 version.
81542
81543 2011-09-12 Marek Polacek <mpolacek@redhat.com>
81544
81545 * elf/dl-load.c (lose): Add cast to avoid warning.
81546
81547 2011-10-07 Ulrich Drepper <drepper@gmail.com>
81548
81549 * po/ca.po: Update from translation team.
81550
81551 * inet/getnetgrent_r.c: Hook up nscd.
81552 * nscd/Makefile (routines): Add nscd_netgroup.
81553 (nscd-modules): Add netgroupcache.
81554 (CFLAGS-netgroupcache.c): Define.
81555 * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
81556 (cache_search): Add const to second parameter.
81557 * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
81558 INNETGR.
81559 (dbs): Add netgrdb entry.
81560 (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
81561 (verify_persistent_db): Handle netgrdb.
81562 (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
81563 * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
81564 GETFDNETGR.
81565 (netgroup_response_header): Define.
81566 (innetgroup_response_header): Define.
81567 (datahead): Add netgroup_response_header and innetgroup_response_header
81568 elements.
81569 * nscd/nscd.conf: Add entries for netgroup cache.
81570 * nscd/nscd.h (dbtype): Add netgrdb.
81571 (_PATH_NSCD_NETGROUP_DB): Define.
81572 (netgroup_iov_disabled): Declare.
81573 (xmalloc, xcalloc, xrealloc): Move declarations here.
81574 (cache_search): Adjust prototype.
81575 Add netgroup-related prototypes.
81576 * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
81577 * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
81578 (__nscd_innetgr): Declare.
81579 * nscd/selinux.c (perms): Use access_vector_t as element type and
81580 add netgroup-related initializers.
81581 * nscd/netgroupcache.c: New file.
81582 * nscd/nscd_netgroup.c: New file.
81583 * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
81584 * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
81585 For four parameters use innetgr.
81586 * nss/nss_files/files-init.c: Add definition and callback for netgr.
81587 * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
81588 (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
81589 * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
81590
81591 * nscd/connections.c (register_traced_file): Don't register file
81592 for disabled databases.
81593
81594 2011-10-06 Ulrich Drepper <drepper@gmail.com>
81595
81596 * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
81597
81598 * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
81599 from tree and freeing node.
81600
81601 2011-09-25 Jiri Olsa <jolsa@redhat.com>
81602
81603 * nss/nsswitch.c (__nss_database_lookup): Handle
81604 nss_parse_service_list out of memory case.
81605
81606 2011-09-15 Jiri Olsa <jolsa@redhat.com>
81607
81608 * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
81609 out of memory case.
81610
81611 2011-10-04 Andreas Schwab <schwab@redhat.com>
81612
81613 * include/dlfcn.h (__RTLD_NOIFUNC): Define.
81614 * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
81615 pass it down.
81616 * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
81617 elf_machine_rela, elf_machine_lazy_rel.
81618 (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
81619 (ELF_DYNAMIC_DO_REL): Likewise.
81620 (ELF_DYNAMIC_DO_RELA): Likewise.
81621 (ELF_DYNAMIC_RELOCATE): Likewise.
81622 * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
81623 to ELF_DYNAMIC_DO_REL.
81624 * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
81625 (dl_main): In trace mode always set __RTLD_NOIFUNC.
81626 * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
81627 elf_machine_rela.
81628 * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
81629 skip_ifunc, don't call ifunc function if non-zero.
81630 (elf_machine_rela): Likewise.
81631 (elf_machine_lazy_rel): Likewise.
81632 (elf_machine_lazy_rela): Likewise.
81633 * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
81634 (elf_machine_lazy_rel): Likewise.
81635 * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
81636 Likewise.
81637 (elf_machine_lazy_rel): Likewise.
81638 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81639 Likewise.
81640 (elf_machine_lazy_rel): Likewise.
81641 * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
81642 (elf_machine_lazy_rel): Likewise.
81643 * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
81644 (elf_machine_lazy_rel): Likewise.
81645 * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
81646 (elf_machine_lazy_rel): Likewise.
81647 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
81648 (elf_machine_lazy_rel): Likewise.
81649 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
81650 (elf_machine_lazy_rel): Likewise.
81651 * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
81652 (elf_machine_lazy_rel): Likewise.
81653
81654 2011-09-28 Ulrich Drepper <drepper@gmail.com>
81655
81656 * nss/nss_files/files-init.c (_nss_files_init): Use static
81657 initialization for all the *_traced_file variables.
81658
81659 2011-09-28 Andreas Schwab <schwab@redhat.com>
81660
81661 * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81662
81663 2011-09-27 Roland McGrath <roland@hack.frob.com>
81664
81665 [BZ #13226]
81666 * manual/signal.texi (Longjmp in Handler): Grammar fixes.
81667
81668 2011-09-27 Andreas Schwab <schwab@redhat.com>
81669
81670 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
81671 Reread the line before reparsing it.
81672
81673 2011-09-26 Andreas Schwab <schwab@redhat.com>
81674
81675 * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
81676
81677 2011-09-21 Chung-Lin Tang <cltang@codesourcery.com>
81678 Maxim Kuvyrkov <maxim@codesourcery.com>
81679 Joseph Myers <joseph@codesourcery.com>
81680
81681 * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
81682 if needed for __stack_chk_guard.
81683
81684 2011-09-19 Roland McGrath <roland@hack.frob.com>
81685
81686 * sysdeps/posix/spawni.c (script_execute): Always define it.
81687 It will be optimized away if unused.
81688 (maybe_script_execute): New function.
81689 (__spawni): Call it.
81690
81691 * Makerules: Don't include tls.make.
81692 (config-tls): Always set to thread.
81693 * tls.make.c: File removed.
81694
81695 2011-09-19 Mike Frysinger <vapier@gentoo.org>
81696
81697 * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
81698 * config.make.in (CPPFLAGS-config): New substituted variable.
81699
81700 2011-09-15 Ulrich Drepper <drepper@gmail.com>
81701
81702 * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
81703
81704 [BZ #13192]
81705 * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
81706 Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
81707
81708 2011-09-15 Roland McGrath <roland@hack.frob.com>
81709
81710 * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
81711 (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
81712 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
81713 (CALL_FAIL): Likewise.
81714 * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
81715 (CALL_FAIL): Macro removed.
81716 Patch mostly by Mike Frysinger <vapier@gentoo.org>.
81717
81718 2011-09-15 Ulrich Drepper <drepper@gmail.com>
81719
81720 * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
81721 for __FINITE_MATH_ONLY__ == 1.
81722
81723 2011-09-15 Andreas Schwab <schwab@redhat.com>
81724
81725 * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
81726 __ieee754_sqrt instead of sqrt.
81727 * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
81728 __ieee754_sqrtf instead of sqrtf.
81729 * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
81730 __floorf instead of floorf.
81731 * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
81732 __floorf, __truncf instead of floorf, truncf.
81733
81734 2011-09-14 Ulrich Drepper <drepper@gmail.com>
81735
81736 * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
81737
81738 * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
81739 __extern_always_inline.
81740 Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
81741 32-bit.
81742
81743 2011-09-14 Andreas Schwab <schwab@redhat.com>
81744
81745 * elf/rtld.c (dl_main): Also relocate in dependency order when
81746 doing symbol dependency testing.
81747
81748 2011-09-13 Andreas Schwab <schwab@linux-m68k.org>
81749
81750 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
81751 Always define `refsym'.
81752
81753 2011-09-13 Andreas Schwab <schwab@redhat.com>
81754
81755 * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
81756 (__FD_ELT): Renamed from __FDELT.
81757 * misc/bits/select2.h (__FD_ELT): Likewise.
81758 * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
81759 __FD_MASK instead of __FDELT, __FDMASK.
81760 * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81761 Likewise.
81762 * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
81763 Likewise.
81764
81765 * elf/Makefile (gen-ldd): Fix pattern.
81766
81767 * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
81768 (init_tls): Likewise.
81769
81770 2011-09-12 Ulrich Drepper <drepper@gmail.com>
81771
81772 * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
81773
81774 2011-09-12 Andreas Schwab <schwab@redhat.com>
81775
81776 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
81777 `struct cmsghdr *' instead of `void *'.
81778 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
81779 Likewise.
81780
81781 2011-09-11 Andreas Schwab <schwab@linux-m68k.org>
81782
81783 * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
81784 if non-absolute.
81785 * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
81786 ldd_rewrite_script.
81787
81788 2011-09-11 Ulrich Drepper <drepper@gmail.com>
81789
81790 * configure.in: Remove --with-tls option.
81791 * config.h.in: Remove HAVE_TLS_SUPPORT entry.
81792 * sysdeps/i386/elf/configure.in: Always test for TLS support and err
81793 out in case it is missing.
81794 * sysdeps/ia64/elf/configure.in: Likewise.
81795 * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
81796 * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
81797 * sysdeps/s390/s390-32/elf/configure.in: Likewise.
81798 * sysdeps/s390/s390-64/elf/configure.in: Likewise.
81799 * sysdeps/sh/elf/configure.in: Likewise.
81800 * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
81801 * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
81802 * sysdeps/x86_64/elf/configure.in: Likewise.
81803 * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
81804 * sysdeps/mach/hurd/tls.h: Likewise.
81805
81806 [BZ #13067]
81807 * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
81808
81809 [BZ #13090]
81810 * configure.in: Fix use of AC_INIT.
81811
81812 * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
81813
81814 2011-09-10 Ulrich Drepper <drepper@gmail.com>
81815
81816 * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
81817 __set_errno.
81818 * malloc/hooks.c: Likewise.
81819
81820 [BZ #11929]
81821 * malloc/arena.c (ptmalloc_init_minimal): Removed. Initialize all
81822 variables statically.
81823 (narenas): Initialize.
81824 (list_lock): Initialize.
81825 (ptmalloc_init): Don't call ptmalloc_init_minimal. Remove
81826 initializtion of main_arena and list_lock. Small cleanups.
81827 Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
81828 * malloc/malloc.c: Remove malloc_getpagesize. Include <ldsodefs.h>.
81829 Add initializers to main_arena and mp_.
81830 (malloc_state): Remove pagesize member. Change all users to use
81831 GLRO(dl_pagesize).
81832
81833 * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
81834 * sysdeps/unix/sysv/linux/getpagesize.c: Simplify. GLRO(dl_pagesize)
81835 is always initialized.
81836
81837 * malloc/malloc.c: Removed unused configurations and dead code.
81838 * malloc/arena.c: Likewise.
81839 * malloc/hooks.c: Likewise.
81840 * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
81841
81842 * include/tls.h: Removed. USE___THREAD must always be defined.
81843 * bits/libc-tsd.h: Don't handle !USE___THREAD.
81844 * elf/dl-libc.c: Likewise.
81845 * elf/dl-tsd.c: Likewise.
81846 * include/errno.h: Likewise.
81847 * include/netdb.h: Likewise.
81848 * include/resolv.h: Likewise.
81849 * inet/herrno-loc.c: Likewise.
81850 * inet/herrno.c: Likewise.
81851 * malloc/arena.c: Likewise.
81852 * malloc/hooks.c: Likewise.
81853 * malloc/malloc.c: Likewise.
81854 * resolv/res-state.c: Likewise.
81855 * resolv/res_libc.c: Likewise.
81856 * sysdeps/i386/dl-machine.h: Likewise.
81857 * sysdeps/ia64/dl-machine.h: Likewise.
81858 * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
81859 * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
81860 * sysdeps/s390/s390-32/dl-machine.h: Likewise.
81861 * sysdeps/s390/s390-64/dl-machine.h: Likewise.
81862 * sysdeps/sh/dl-machine.h: Likewise.
81863 * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
81864 * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
81865 * sysdeps/unix/i386/sysdep.S: Likewise.
81866 * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
81867 * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
81868 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
81869 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
81870 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
81871 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
81872 * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
81873 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
81874 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81875 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
81876 * sysdeps/unix/x86_64/sysdep.S: Likewise.
81877 * sysdeps/x86_64/dl-machine.h: Likewise.
81878 * tls.make.c: Likewise.
81879
81880 * configure.in: Remove --with-__thread option. Make tests for
81881 --no-whole-archive, __builtin_expect, symbol redirection, __thread,
81882 tls_model attribute fail if no support is available. Remove
81883 USE_IN_LIBIO.
81884 * Makeconfig: Adjust for dropped configure option. All features are
81885 now mandatory.
81886 * Makerules: Likewise.
81887 * Versions.def: Likewise.
81888 * argp/argp-fmtstream.c: Likewise.
81889 * argp/argp-fmtstream.h: Likewise.
81890 * argp/argp-help.c: Likewise.
81891 * assert/assert.c: Likewise.
81892 * config.h.in: Likewise.
81893 * config.make.in: Likewise.
81894 * configure: Likewise.
81895 * configure.in: Likewise.
81896 * csu/Versions: Likewise.
81897 * csu/init.c: Likewise.
81898 * elf/tst-audit2.c: Likewise.
81899 * elf/tst-tls10.c: Likewise.
81900 * elf/tst-tls10.h: Likewise.
81901 * elf/tst-tls11.c: Likewise.
81902 * elf/tst-tls12.c: Likewise.
81903 * elf/tst-tls14.c: Likewise.
81904 * elf/tst-tlsmod11.c: Likewise.
81905 * elf/tst-tlsmod12.c: Likewise.
81906 * elf/tst-tlsmod13.c: Likewise.
81907 * elf/tst-tlsmod13a.c: Likewise.
81908 * elf/tst-tlsmod14a.c: Likewise.
81909 * elf/tst-tlsmod15b.c: Likewise.
81910 * elf/tst-tlsmod16a.c: Likewise.
81911 * elf/tst-tlsmod16b.c: Likewise.
81912 * elf/tst-tlsmod7.c: Likewise.
81913 * elf/tst-tlsmod8.c: Likewise.
81914 * elf/tst-tlsmod9.c: Likewise.
81915 * gmon/gmon.c: Likewise.
81916 * grp/fgetgrent_r.c: Likewise.
81917 * grp/putgrent.c: Likewise.
81918 * hurd/fopenport.c: Likewise.
81919 * include/libc-symbols.h: Likewise.
81920 * include/tls.h: Likewise.
81921 * intl/gettextP.h: Likewise.
81922 * intl/loadinfo.h: Likewise.
81923 * locale/global-locale.c: Likewise.
81924 * locale/localeinfo.h: Likewise.
81925 * mach/devstream.c: Likewise.
81926 * malloc/arena.c: Likewise.
81927 * malloc/set-freeres.c: Likewise.
81928 * misc/err.c: Likewise.
81929 * misc/getttyent.c: Likewise.
81930 * misc/mntent_r.c: Likewise.
81931 * posix/getopt.c: Likewise.
81932 * posix/wordexp.c: Likewise.
81933 * pwd/fgetpwent_r.c: Likewise.
81934 * resolv/Versions: Likewise.
81935 * resolv/res_hconf.c: Likewise.
81936 * shadow/fgetspent_r.c: Likewise.
81937 * shadow/putspent.c: Likewise.
81938 * stdio-common/printf_fphex.c: Likewise.
81939 * stdio-common/tmpfile.c: Likewise.
81940 * stdlib/abort.c: Likewise.
81941 * stdlib/fmtmsg.c: Likewise.
81942 * sunrpc/auth_unix.c: Likewise.
81943 * sunrpc/clnt_perr.c: Likewise.
81944 * sunrpc/clnt_tcp.c: Likewise.
81945 * sunrpc/clnt_udp.c: Likewise.
81946 * sunrpc/clnt_unix.c: Likewise.
81947 * sunrpc/openchild.c: Likewise.
81948 * sunrpc/svc_simple.c: Likewise.
81949 * sunrpc/svc_tcp.c: Likewise.
81950 * sunrpc/svc_udp.c: Likewise.
81951 * sunrpc/svc_unix.c: Likewise.
81952 * sunrpc/xdr.c: Likewise.
81953 * sunrpc/xdr_array.c: Likewise.
81954 * sunrpc/xdr_rec.c: Likewise.
81955 * sunrpc/xdr_ref.c: Likewise.
81956 * sunrpc/xdr_stdio.c: Likewise.
81957
81958 2011-09-09 Ulrich Drepper <drepper@gmail.com>
81959
81960 * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
81961
81962 2011-07-03 Andreas Jaeger <aj@suse.de>
81963
81964 * math/libm-test.inc (jn_test): Add tests for BZ#11589.
81965 * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
81966 regenerate with gen-libm-tests.pl.
81967
81968 2010-05-12 Petr Baudis <pasky@suse.cz>
81969
81970 [BZ #11589]
81971 * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
81972 around j0() zero points by switching to j1().
81973 * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
81974 * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
81975 * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
81976 * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
81977
81978 2011-09-09 Ulrich Drepper <drepper@gmail.com>
81979
81980 * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
81981 instead of 0.
81982 * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
81983 instead of 0.
81984 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
81985 Patch in part by Pavel Roskin <proski@gnu.org>.
81986
81987 [BZ #13138]
81988 * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
81989 realloc.
81990 (_IO_vfscanf_internal): Remove reteof. Use errout after setting done.
81991 Free memory block if necessary.
81992
81993 [BZ #12847]
81994 * libio/genops.c (INTDEF): For string streams the _lock pointer can
81995 be NULL. Don't lock in this case.
81996
81997 2011-09-09 Roland McGrath <roland@hack.frob.com>
81998
81999 * elf/elf.h (ELFOSABI_GNU): New macro.
82000 (ELFOSABI_LINUX): Define to that.
82001
82002 2011-07-29 Denis Zaitceff <zaitceff@gmail.com>
82003
82004 * string/strncat.c (strncat): Undef the symbol in case it has been
82005 defined in bits/string.h.
82006
82007 2011-09-09 Ulrich Drepper <drepper@gmail.com>
82008
82009 * elf/sotruss.ksh: Clean up, fix, and complete help messages.
82010
82011 * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
82012 link map.
82013
82014 2011-08-17 Andreas Jaeger <aj@suse.de>
82015
82016 * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
82017
82018 2011-08-18 Paul Pluzhnikov <ppluzhnikov@google.com>
82019 Ian Lance Taylor <iant@google.com>
82020
82021 * math/libm-test.inc (lround_test): New testcase.
82022 * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
82023
82024 2011-09-08 Ulrich Drepper <drepper@gmail.com>
82025
82026 * Makefile: Remove support for automatic cvs check-ins.
82027 * Makerules: Likewise.
82028 * config.make.in: Likewise.
82029 * configure.in: Likewise.
82030 * intl/Makefile: Likewise.
82031 * locale/Makefile: Likewise.
82032 * po/Makefile: Likewise.
82033 * posix/Makefile: Likewise.
82034 * sysdeps/gnu/Makefile: Likewise.
82035 * sysdeps/mach/hurd/Makefile: Likewise.
82036 * sysdeps/sparc/sparc32/Makefile: Likewise.
82037
82038 [BZ #13118]
82039 * posix/Makefile (bug-regex32-ENV): Define.
82040 Patch by John Stanley <jpsinthemix@verizon.net>.
82041
82042 * misc/Makefile (headers): Add bits/select2.h.
82043 * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
82044 * misc/bits/select2.h: New file.
82045 * include/bits/select2.h: New file.
82046 * debug/Makefile (routines): Add fdelt_chk.
82047 * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
82048 * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
82049 FD_ISSET.
82050 * debug/fdelt_chk.c: New file.
82051
82052 * wcsmbs/test-wcscmp.c: Moved from string/*. Adjust.
82053 * wcsmbs/test-wmemcmp.c: Likewise.
82054 * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
82055 * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
82056
82057 2011-09-08 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82058
82059 * string/Makefile (strop-tests): Add memcmp.
82060 * string/test-wmemcmp.c: New file.
82061 * string/test-memcmp.c: Add wmemcmp support.
82062
82063 2011-09-08 Roland McGrath <roland@hack.frob.com>
82064
82065 [BZ #13153]
82066 * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
82067 2011-07-19 change.
82068
82069 * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
82070 garbage value in a __mach_port_mod_refs call in the cases of the
82071 task-self and thread-self ports.
82072
82073 2011-09-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
82074
82075 * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
82076
82077 2011-09-08 Andreas Schwab <schwab@redhat.com>
82078
82079 * elf/dl-load.c (lose): Check for non-null L.
82080
82081 2011-09-07 Ulrich Drepper <drepper@gmail.com>
82082
82083 * elf/dl-load.c (open_verify): Use O_CLOEXEC.
82084
82085 * elf/dl-libc.c (dlerror_run): Pass back error code from
82086 dl_catch_error.
82087
82088 [BZ #13123]
82089 * elf/dl-load.c (lose): Free l_origin if it is valid.
82090
82091 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
82092 names.
82093 * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
82094 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
82095 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
82096 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
82097 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
82098 Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
82099
82100 2011-08-01 Adhemerval Zanella <azanella@linux.vnet.ibm.com>
82101
82102 * sysdeps/powerpc/fpu/e_hypot.c: New file.
82103 * sysdeps/powerpc/fpu/e_hypotf.c: New file.
82104 * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
82105 * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
82106 * sysdeps/powerpc/fpu/k_cosf.c: New file.
82107 * sysdeps/powerpc/fpu/k_sinf.c: New file.
82108 * sysdeps/powerpc/fpu/s_cosf.c: New file.
82109 * sysdeps/powerpc/fpu/s_sinf.c: New file.
82110 * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
82111 * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
82112
82113 2011-08-15 Alan Modra <amodra@gmail.com>
82114
82115 [BZ #13092]
82116 * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
82117 * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
82118 * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here. Add
82119 ppc_mcount to static-only-routines.
82120 * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
82121 __mcount_internal.
82122 * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
82123 __mcount_internal with usual JUMPTARGET. Remove useless nop.
82124
82125 2011-08-18 David Flaherty <flaherty@linux.vnet.ibm.com>
82126
82127 * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
82128 for finite and infinity parameters.
82129
82130 2011-08-04 Will Schmidt <will_schmidt@vnet.ibm.com>
82131
82132 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
82133 and add nop instructions for throughput optimization.
82134 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
82135
82136 2011-07-28 Will Schmidt <will_schmidt@vnet.ibm.com>
82137
82138 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
82139 aligned copy for power7 with vector-scalar instructions.
82140 * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
82141
82142 2011-07-24 H.J. Lu <hongjiu.lu@intel.com>
82143
82144 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
82145 AVX check.
82146
82147 2011-09-07 Andreas Schwab <schwab@redhat.com>
82148
82149 [BZ #13144]
82150 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
82151 last change.
82152
82153 2011-09-07 Ulrich Drepper <drepper@gmail.com>
82154
82155 * sysdeps/unix/sysv/linux/x86_64/init-first.c
82156 (_libc_vdso_platform_setup): If vDSO is not present store pointer to
82157 syscall wrapper around clock_gettime in __vdso_clock_gettime.
82158 * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
82159 clock_gettime.
82160
82161 2011-09-06 Ulrich Drepper <drepper@gmail.com>
82162
82163 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
82164 Forgot to demangle the pointer.
82165
82166 * sysdeps/i386/sysdep.h: Define atom_text_section.
82167 * sysdeps/x86_64/sysdep.h: Likewise.
82168 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
82169 section with atom_text_section.
82170 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
82171 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
82172 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
82173 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
82174 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
82175
82176 * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
82177 * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
82178 already be defined. Change to take two parameters and don't assign
82179 result to variable. Adjust all users.
82180 Define INTERNAL_GETTIME if not already defined.
82181 Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
82182 call.
82183 * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
82184 HAVE_CLOCK_GETTIME_VSYSCALL.
82185 * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
82186
82187 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
82188 gettimeofday vsyscall, just use time.
82189
82190 2011-09-06 Andreas Schwab <schwab@redhat.com>
82191
82192 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
82193 <errno.h>.
82194
82195 2011-09-06 Ulrich Drepper <drepper@gmail.com>
82196
82197 * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
82198 syscall on x86-64.
82199 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
82200 syscall.
82201 * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
82202 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
82203 syscall if possible.
82204
82205 2011-09-05 Ulrich Drepper <drepper@gmail.com>
82206
82207 * elf/pldd.c (get_process_info): Don't read whole ELF header, just
82208 e_ident. Don't pass to find_mapsXX.
82209 * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
82210
82211 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82212
82213 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82214 strchr-sse2-no-bsf strrchr-sse2-no-bsf
82215 * sysdeps/x86_64/multiarch/strchr.S: Update.
82216 Check bit_slow_BSF bit.
82217 * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
82218 * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
82219 * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
82220
82221 2011-09-05 Ulrich Drepper <drepper@gmail.com>
82222
82223 [BZ #13134]
82224 * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
82225 before glibc 2.15.
82226 (tryshell): Define.
82227 (__spawni): Change last parameter to be flag. Test
82228 SPAWN_XFLAGS_USE_PATH flag to use path or not.
82229 Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
82230 * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
82231 * posix/spawni.c: Likewise.
82232 * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
82233 * posix/spawnp.c: Likewise. Change normal version to use
82234 SPAWN_XFLAGS_USE_PATH.
82235 * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
82236 SPAWN_XFLAGS_TRY_SHELL.
82237
82238 [BZ #13150]
82239 * posix/glob.h: Remove gcc 1.x support.
82240
82241 [BZ #13068]
82242 * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
82243
82244 2011-07-20 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82245
82246 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82247 strchr-sse2 strrchr-sse2 strchr-sse2-bsf
82248 strrchr-sse2-bsf
82249 * sysdeps/i386/i686/multiarch/strchr.S: New file.
82250 * sysdeps/i386/i686/multiarch/strrchr.S: New file.
82251 * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
82252 * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
82253 * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
82254 * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
82255
82256 2011-08-29 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82257
82258 * sysdeps/x86_64/wcscmp.S: New file.
82259
82260 * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
82261 wcscmp-c wcscmp-sse2
82262 * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
82263 * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
82264 * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
82265 * wcsmbs/wcscmp.c: Allow renaming.
82266
82267 2011-09-05 David S. Miller <davem@davemloft.net>
82268
82269 * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
82270 stack slot, rather than the struct return pointer slot.
82271 * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
82272 * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
82273 * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
82274 * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
82275
82276 2011-09-05 Ulrich Drepper <drepper@gmail.com>
82277
82278 * po/ja.po: Update from translation team.
82279
82280 [BZ #13144]
82281 * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
82282 kernel in 64-bit binaries.
82283
82284 2011-09-01 David S. Miller <davem@davemloft.net>
82285
82286 * elf/elf.h (HWCAP_SPARC_*): Move to..
82287 * sysdeps/sparc/sysdep.h: this new file and add new values.
82288 * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
82289 * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
82290 _DL_HWCAP_COUNT to 24.
82291 * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
82292 entries.
82293 * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
82294 __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
82295 * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
82296 * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
82297 instead of magic constants.
82298 * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
82299
82300 2011-08-31 David S. Miller <davem@davemloft.net>
82301
82302 * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
82303 * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
82304 Reimplement to do errno handling inline.
82305 (SYSCALL_ERROR_HANDLER): New macro.
82306 (__SYSCALL_STRING): Do not do errno handling in asm.
82307 (__CLONE_SYSCALL_STRING): Delete.
82308 (__INTERNAL_SYSCALL_STRING): Delete.
82309 * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
82310 sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
82311 (PSEUDO): Reimplement to do errno handling inline.
82312 (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
82313 (SYSCALL_ERROR_HANDLER): New macro.
82314 (__SYSCALL_STRING): Do not do errno handling in asm.
82315 (__CLONE_SYSCALL_STRING): Delete.
82316 (__INTERNAL_SYSCALL_STRING): Delete.
82317 * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
82318 Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
82319 i386.
82320 (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
82321 (inline_syscall*): Add 'err' argument.
82322 (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
82323 INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
82324 (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
82325 INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
82326
82327 * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
82328 * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
82329
82330 2011-08-30 Andreas Schwab <schwab@redhat.com>
82331
82332 * elf/rtld.c (dl_main): Relocate objects in dependency order.
82333
82334 2011-08-29 Jiri Olsa <jolsa@redhat.com>
82335
82336 * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
82337 directive.
82338
82339 2011-08-24 David S. Miller <davem@davemloft.net>
82340
82341 * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
82342
82343 2011-08-24 Andreas Schwab <schwab@redhat.com>
82344
82345 * elf/Makefile: Add rules to build and run unload8 test.
82346 * elf/unload8.c: New file.
82347 * elf/unload8mod1.c: New file.
82348 * elf/unload8mod1x.c: New file.
82349 * elf/unload8mod2.c: New file.
82350 * elf/unload8mod3.c: New file.
82351
82352 * elf/dl-close.c (_dl_close_worker): Reset private search list if
82353 it wasn't used.
82354
82355 2011-08-23 David S. Miller <davem@davemloft.net>
82356
82357 * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
82358 subtract stack bias.
82359 * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
82360 %sp not %fp in calculations.
82361 (_JMPBUF_UNWINDS_ADJ): Likewise.
82362
82363 * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
82364 (aio_suspend): Call it to force an exception region around the
82365 AIO_MISC_WAIT() invocation.
82366
82367 2011-08-23 Andreas Schwab <schwab@redhat.com>
82368
82369 * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
82370 backslash.
82371
82372 2011-07-04 Aurelien Jarno <aurelien@aurel32.net>
82373
82374 * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
82375 protection macro.
82376 * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
82377 and <dl-machine.h>.
82378 (Elf64_FuncDesc): Remove.
82379
82380 2011-08-22 David S. Miller <davem@davemloft.net>
82381
82382 * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
82383 sigaltstack check, add missing cfi directives.
82384 * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
82385 missing cfi directives, and sigaltstack handling.
82386
82387 2011-08-16 Andreas Schwab <schwab@redhat.com>
82388
82389 [BZ #11724]
82390 * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
82391 object is seen twice.
82392 * elf/dl-fini.c (_dl_sort_fini): Likewise.
82393
82394 * elf/Makefile (distribute): Add tst-initorder2.c.
82395 (tests): Add tst-initorder2.
82396 (modules-names): Add tst-initorder2a tst-initorder2b
82397 tst-initorder2c tst-initorder2d. Add rules to build them.
82398 ($(objpfx)tst-initorder2.out): New rule.
82399 * elf/tst-initorder2.c: New file.
82400 * elf/tst-initorder2.exp: New file.
82401
82402 2011-08-22 Andreas Schwab <schwab@redhat.com>
82403
82404 * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
82405
82406 * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
82407 dependencies back to end of function.
82408
82409 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
82410 $(elfobjdir)/ld.so.
82411
82412 2011-08-21 Ulrich Drepper <drepper@gmail.com>
82413
82414 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
82415 * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
82416 * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
82417 * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
82418 * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
82419 of __vdso_gettimeofday.
82420 * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
82421 __vdso_gettimeofday and __vdso_time. Define __vdso_getcpu with
82422 attribute_hidden.
82423 (_libc_vdso_platform_setup): Remove initialization of
82424 __vdso_gettimeofday and __vdso_time.
82425
82426 2011-08-20 Ulrich Drepper <drepper@gmail.com>
82427
82428 * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
82429 and fgetc_unlocked.
82430 * nss/nss_files/files-key.c (search): Use fgets_unlocked and
82431 getc_unlocked.
82432
82433 * elf/dl-open.c (add_to_global): Report additions to the global scope
82434 for LD_DEBUG=scopes.
82435 (dl_open_worker): Also print scope of newly loaded dependencies.
82436 (_dl_show_scope): Indicate if there is no scope.
82437
82438 [BZ #13114]
82439 * stdio-common/Makefile (tests): Add bug24.
82440 * stdio-common/bug24.c: New file.
82441
82442 2011-08-19 Andreas Jaeger <aj@suse.de>
82443
82444 [BZ #13114]
82445 * libio/fileops.c (_IO_new_file_fopen): Fix handling of
82446 non-existant file when using close-on-exec mode.
82447
82448 2011-08-20 Ulrich Drepper <drepper@gmail.com>
82449
82450 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
82451 the very first instruction.
82452
82453 * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
82454 the CFI state in the end.
82455 * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
82456 inclusion of dl-trampoline.h.
82457 Based on a patch by Jiri Olsa <jolsa@redhat.com>.
82458
82459 2011-08-19 Andreas Schwab <schwab@redhat.com>
82460
82461 * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
82462 expectations for long double.
82463
82464 * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
82465 from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
82466
82467 2011-08-14 David S. Miller <davem@davemloft.net>
82468
82469 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
82470 artificual limit depends upon the system page size.
82471
82472 2011-08-17 Ulrich Drepper <drepper@gmail.com>
82473
82474 * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
82475 * resolv/Makefile: Define CFLAGS-libresolv.
82476
82477 2011-08-17 Andreas Schwab <schwab@redhat.com>
82478
82479 * nss/makedb.c (compute_tables): Make variables used in nested
82480 function static.
82481
82482 2011-08-17 Ulrich Drepper <drepper@gmail.com>
82483
82484 * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
82485 * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
82486 if buffer was too small.
82487
82488 * elf/pldd.c (main): Attach to all threads in the process.
82489 Rewrite /proc handling to use *at functions.
82490
82491 2011-08-16 Ulrich Drepper <drepper@gmail.com>
82492
82493 * elf/dl-open.c (_dl_show_scope): Take additional parameter which
82494 specifies first scope to show.
82495 (dl_open_worker): Update callers. Move printing scope of new
82496 object to before the relocation.
82497 * elf/rtld.c (dl_main): Update _dl_show_scope call.
82498 * sysdeps/generic/ldsodefs.h: Update declaration.
82499
82500 * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
82501 string for the scope number.
82502
82503 2011-08-14 Ulrich Drepper <drepper@gmail.com>
82504
82505 * nscd/servicescache.c (cache_addserv): Make sure written is always
82506 initialized.
82507
82508 2011-08-14 Roland McGrath <roland@hack.frob.com>
82509
82510 * sysdeps/i386/i486/bits/atomic.h
82511 (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
82512 statement expression, so as to suppress "set but not used" warning.
82513 (__arch_c_compare_and_exchange_val_64_acq): Likewise.
82514
82515 * string/strncat.c (STRNCAT): Use prototype definition.
82516
82517 * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
82518 (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
82519 -Iprograms here.
82520 (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
82521 (localedef-modules): Add localedef.
82522 (locale-modules): Add locale.
82523
82524 * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
82525 * elf/rtld.c (dl_main): Invert order of assignment in last change,
82526 to avoid a warning.
82527
82528 2011-08-14 David S. Miller <davem@davemloft.net>
82529
82530 * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
82531 RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
82532
82533 2011-08-13 Ulrich Drepper <drepper@gmail.com>
82534
82535 * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
82536 (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
82537 * elf/rtld.c (dl_main): Set l_name of vDSO.
82538 Call _dl_show_scope when DL_DEBUG_SCOPES.
82539 (process_dl_debug): Recognize scopes flag and also set it for all.
82540 * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
82541 Declare _dl_show_scope.
82542
82543 * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
82544 (do_dlopen): Pass caller_dlopen to dl_open.
82545 (__libc_dlopen_mode): Initialize caller_dlopen.
82546
82547 * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
82548 of libc. Make tolower call locale-independent. Optimize a bit by
82549 using isdigit instead of isalnum.
82550 * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
82551
82552 2011-08-12 Ulrich Drepper <drepper@gmail.com>
82553
82554 * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
82555 was a dependency or dynamically loaded.
82556
82557 2011-08-11 Ulrich Drepper <drepper@gmail.com>
82558
82559 * intl/l10nflist.c: Allow architecture-specific pop function.
82560 * sysdeps/x86_64/l10nflist.c: New file.
82561
82562 * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
82563 classification.
82564
82565 2011-08-10 Andreas Schwab <schwab@redhat.com>
82566
82567 * include/dirent.h: Add libc_hidden_proto for scandirat and
82568 scandirat64. Don't declare __scandirat64.
82569 * dirent/scandirat.c: Add libc_hidden_def.
82570 * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
82571 * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
82572
82573 2011-08-10 David S. Miller <davem@davemloft.net>
82574
82575 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
82576 enum.
82577 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82578 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82579 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82580
82581 2011-08-09 Ulrich Drepper <drepper@gmail.com>
82582
82583 * Versions.def [libc]: Add GLIBC_2.15.
82584 * dirent/Makefile (routines): Add scandirat and scandirat64.
82585 * dirent/Versions [libc]: Export scandirat and scandirat64 for
82586 GLIBC_2.15.
82587 * dirent/dirent.h: Declare scandirat and scandirat64.
82588 * dirent/scandirat.c: New file.
82589 * dirent/scandirat64.c: New file.
82590 * sysdeps/wordsize-64/scandirat.c: New file.
82591 * sysdeps/wordsize-64/scandirat64.c: New file.
82592 * dirent/opendir.c: Define opendirat.
82593 * dirent/scandir.c: Move code to scandirat.c. Implement scandir
82594 using scandirat.
82595 * dirent/scandir64.c: Adjust for scandir.c change.
82596 * include/dirent.h: Define scandir_cancel_struct. Declare __opendirat,
82597 __scandirat64, and __scandir_cancel_handler.
82598 * sysdeps/unix/opendir.c: Rename __opendir to __opendirat. Take
82599 additional parameter and use openat instead of open (outside of ld.so).
82600 Add new __opendir as wrapper around __opendirat.
82601 * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
82602 here without requiring old scandirat implementation.
82603
82604 2011-08-08 Ulrich Drepper <drepper@gmail.com>
82605
82606 * dirent/scandir.c (cancel_handler): Renamed to
82607 __scandir_cancel_handler. Do not define if SKIP_SCANDIR_CANCEL is
82608 defined. Adjust users.
82609 * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
82610 * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
82611
82612 2011-08-04 Ulrich Drepper <drepper@gmail.com>
82613
82614 * string/test-string.h (IMPL): Use __STRING to expand name and then
82615 stringify it.
82616
82617 * string/test-strcmp.c: Unify most of the WIDE and !WIDE code. Lots
82618 of cleanups.
82619
82620 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82621
82622 * string/Makefile: Update.
82623 (strop-tests): Append strncat.
82624 * string/test-wcscmp.c: New file.
82625 New comprehensive test for wcscmp.
82626 * string/test-strcmp.c: Update.
82627 (WIDE): New define.
82628
82629 2011-07-22 Andreas Schwab <schwab@redhat.com>
82630
82631 * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
82632 line.
82633
82634 2011-07-26 Andreas Schwab <schwab@redhat.com>
82635
82636 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
82637 encoding to ACE if AI_IDN.
82638
82639 2011-08-01 Jakub Jelinek <jakub@redhat.com>
82640
82641 * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
82642 to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
82643
82644 2011-07-22 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82645
82646 * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
82647 Fix overflow bug in strncat.
82648 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
82649
82650 * string/test-strncat.c: Update.
82651 Add new tests for checking overflow bugs.
82652
82653 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82654
82655 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
82656 strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
82657 * sysdeps/i386/i686/multiarch/strcat.S: New file.
82658 * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
82659 * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
82660 * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
82661 * sysdeps/i386/i686/multiarch/strncat.S: New file.
82662 * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
82663 * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
82664
82665 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
82666 (USE_AS_STRCAT): Define.
82667 Add strcat and strncat support.
82668 * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
82669
82670 2011-07-25 Andreas Schwab <schwab@redhat.com>
82671
82672 * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
82673 __n bigger than INT_MAX+1.
82674 (__strncmp_g): Likewise.
82675
82676 2011-07-23 Ulrich Drepper <drepper@gmail.com>
82677
82678 * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
82679 * libio/stido.h: Likewise.
82680
82681 * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
82682 (AF_NFC): Define.
82683 * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
82684 (AF_NFC): Define.
82685
82686 * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
82687 * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
82688 * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
82689 * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
82690 * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
82691
82692 [BZ #13021]
82693 * scripts/test-installation.pl: Don't expect libnss_test1 to be
82694 installed.
82695
82696 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
82697 typo.
82698 (_dl_x86_64_save_sse): Likewise.
82699
82700 2011-07-22 Ulrich Drepper <drepper@gmail.com>
82701
82702 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
82703 OSXSAVE.
82704 (_dl_x86_64_save_sse): Likewise.
82705
82706 * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
82707
82708 * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
82709
82710 2011-07-21 Andreas Schwab <schwab@redhat.com>
82711
82712 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
82713 change.
82714 (_dl_x86_64_save_sse): Use correct AVX check.
82715
82716 2011-07-21 Liubov Dmitrieva <liubov.dmitrieva@gmail.com>
82717
82718 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
82719 bug in strncpy/strncat.
82720 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
82721
82722 2011-07-21 Ulrich Drepper <drepper@gmail.com>
82723
82724 * string/tester.c (test_strcat): Add tests for different alignments
82725 of source and destination.
82726 (test_strncat): Likewise.
82727
82728 2011-07-20 Ulrich Drepper <drepper@gmail.com>
82729
82730 [BZ #12852]
82731 * posix/glob.c (glob): Check passed in values before using them in
82732 expressions to avoid some overflows.
82733 (glob_in_dir): Likewise.
82734
82735 [BZ #13007]
82736 * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
82737 check for AVX enablement so that we don't crash with old kernels and
82738 new hardware.
82739 * elf/tst-audit4.c: Add same checks here.
82740 * elf/tst-audit6.c: Likewise.
82741
82742 * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
82743
82744 2011-07-09 Andreas Schwab <schwab@linux-m68k.org>
82745
82746 * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
82747
82748 2011-07-20 Ulrich Drepper <drepper@gmail.com>
82749
82750 * po/cs.po: Update from translation team.
82751 * po/bg.po: Likewise.
82752
82753 2011-07-12 Marek Polacek <mpolacek@redhat.com>
82754
82755 * misc/sys/cdefs.h: Add support for const attribute.
82756 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
82757 to gnu_dev_{major,minor,makedev} functions.
82758
82759 2011-07-20 Marek Polacek <mpolacek@redhat.com>
82760
82761 * intl/dcigettext.c (get_output_charset): Add missing bracket.
82762
82763 2011-07-20 Andreas Schwab <schwab@redhat.com>
82764
82765 * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
82766 strlen results.
82767
82768 2011-07-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
82769
82770 * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
82771 (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
82772 register in order to avoid conflicts with the soft frame pointer
82773 being held in r11 when necessary.
82774 * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
82775 (INTERNAL_VSYSCALL_NCS): Likewise.
82776
82777 2011-07-14 Marek Polacek <mpolacek@redhat.com>
82778
82779 * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
82780 * elf/dl-fini.c (_dl_fini): Adjust caller.
82781 * elf/dl-close.c (_dl_close_worker): Likewise.
82782 * sysdeps/generic/ldsodefs.h: Adjust declaration.
82783
82784 2011-07-15 Marek Polacek <mpolacek@redhat.com>
82785
82786 * elf/cache.c (load_aux_cache): Remove unnecessary condition of
82787 "aux_cache->nlibs < 0".
82788
82789 * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
82790 in the reload-count case.
82791
82792 2011-07-15 Liubov Dmitrieva <liubov.dmitrieva@intel.com>
82793
82794 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
82795 strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
82796 strncat-sse2-unaligned strncat-c strlen-sse2-pminub
82797 * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
82798 * sysdeps/x86_64/multiarch/strcat.S: New file.
82799 * sysdeps/x86_64/multiarch/strncat.S: New file.
82800 * sysdeps/x86_64/multiarch/strncat-c.c: New file.
82801 * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
82802 * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
82803 * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
82804 * sysdeps/x86_64/multiarch/strcpy-ssse3.S
82805 (USE_AS_STRCAT): Define.
82806 Add strcat and strncat support.
82807 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
82808 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
82809 * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
82810 * string/strncat.c: Update.
82811 (USE_AS_STRNCAT): Define.
82812 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
82813 Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
82814 and i7.
82815 * sysdeps/x86_64/multiarch/init-arch.h
82816 (bit_Prefer_PMINUB_for_stringop): New.
82817 (index_Prefer_PMINUB_for_stringop): Likewise.
82818 * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
82819 bit_Prefer_PMINUB_for_stringop.
82820
82821 2011-07-19 Ulrich Drepper <drepper@gmail.com>
82822
82823 * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
82824 buffer64.
82825 * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
82826 of casting of buffer.
82827 * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
82828 buffer32 and buffer64.
82829 * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
82830 writes instead of casting of buffer.
82831 * crypt/md5.h (struct md5_ctx): Move buffer into union and add
82832 buffer32.
82833 * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
82834 casting of buffer.
82835
82836 2011-07-19 Andreas Schwab <schwab@redhat.com>
82837
82838 * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
82839
82840 2011-07-19 Ulrich Drepper <drepper@gmail.com>
82841
82842 * nscd/nscd.c (termination_handler): Don't do anything for a database
82843 if it has not yet been initialized.
82844
82845 2011-07-18 Ulrich Drepper <drepper@gmail.com>
82846
82847 * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82848
82849 2011-07-15 Marek Polacek <mpolacek@redhat.com>
82850
82851 * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
82852
82853 2011-07-18 Ulrich Drepper <drepper@gmail.com>
82854
82855 * po/nl.po: Update from translation team.
82856 * po/sv.po: Likewise.
82857
82858 2011-07-16 Roland McGrath <roland@hack.frob.com>
82859
82860 * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
82861 now disallowed by GCC.
82862
82863 * configure.in (use-default-link): Default to yes if a test -shared
82864 link meets our qualifications.
82865 * configure: Regenerated.
82866
82867 * config.make.in (output-format): New variable.
82868 * configure.in: Check for ld --print-output-format support.
82869 * configure: Regenerated.
82870 * Makerules ($(common-objpfx)format.lds)
82871 [$(output-format) != unknown]: Just use $(output-format),
82872 instead of the linker-script munging.
82873
82874 2011-07-14 Roland McGrath <roland@hack.frob.com>
82875
82876 * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
82877 of $(common-objpfx)shlib.lds.
82878 * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
82879
82880 * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
82881 Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
82882
82883 * configure.in (-z relro check): Adjust test code to add a large
82884 writable data section after it.
82885 * configure: Regenerated.
82886
82887 2011-07-11 Roland McGrath <roland@hack.frob.com>
82888
82889 * configure.in (-z relro check): Fix test code to make the variable
82890 truly const.
82891 * configure: Regenerated.
82892
82893 2011-07-11 Ulrich Drepper <drepper@gmail.com>
82894
82895 * nscd/nscd.h (struct traced_file): Define.
82896 (struct database_dyn): Remove inotify_descr, reset_res, and filename
82897 elements. Add traced_files.
82898 (inotify_fd): Declare.
82899 (register_traced_file): Declare.
82900 * nscd/connections.c (dbs): Remove reset_res and filename initializers.
82901 (inotify_fd): Export.
82902 (resolv_conf_descr): Remove.
82903 (nscd_init): Move inotify descriptor creation to main.
82904 Don't register files for notification here.
82905 (register_traced_file): New function.
82906 (invalidate_cache): Don't use reset_res to determine whether to call
82907 res_init, go through the list of registered files.
82908 (main_loop_poll): The inotify descriptors are now stored in the
82909 structures for the traced files.
82910 (main_loop_epoll): Likewise.
82911 * nscd/nscd.c (main): Create inotify socket here. Pass extra argument
82912 to __nss_disable_nscd.
82913 * nscd/cache.c (prune_cache): There is no single inotify descriptor
82914 for a database anymore. Check the records for all the registered
82915 files instead.
82916 * nss/Makefile (libnss_files-routines): Add files-init.
82917 (libnss_db-routines): Add db-init.
82918 * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
82919 [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
82920 * nss/nss_db/db-init.c: New file.
82921 * nss/nss_files/files-init.c: New file.
82922 * nss/nsswitch.c (nss_load_library): New function. Broken out of
82923 __nss_lookup_function.
82924 (__nss_lookup_function): Call nss_load_library.
82925 (nss_load_all_libraries): New function.
82926 (__nss_disable_nscd): Take parameter with callback function for files
82927 to register. Set is_nscd. Load all the DSOs for the NSS modules
82928 used for the cached services.
82929 * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
82930 * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
82931 options for features to all the files in nscd.
82932
82933 * nss/nsswitch.c (nss_parse_file): Add missing fclose.
82934
82935 2011-07-10 Roland McGrath <roland@hack.frob.com>
82936
82937 * csu/elf-init.c (__libc_csu_init): Comment typo.
82938
82939 2011-07-09 Ulrich Drepper <drepper@gmail.com>
82940
82941 * po/pl.po: Update from translation team.
82942 * po/ja.po: Likewise.
82943 * po/ru.po: Likewise.
82944 * po/ko.po: Likewise.
82945 * po/fr.po: Likewise.
82946
82947 2011-07-09 Roland McGrath <roland@hack.frob.com>
82948
82949 * configure.in (.ctors/.dtors header and trailer check):
82950 Use an empirical test on a built program.
82951 * configure: Regenerated.
82952
82953 * configure.in (-z relro check): Use an empirical test on a built DSO.
82954 Detect, but do not require, on ia64.
82955 * configure: Regenerated.
82956
82957 * configure.in (READELF): Find it with AC_CHECK_TOOL.
82958 Update tests that use readelf to use $READELF instead.
82959 * configure: Regenerated.
82960
82961 2011-07-08 Ulrich Drepper <drepper@gmail.com>
82962
82963 * malloc/hooks.c (memalign_check): Avoid using checked_request2size
82964 if the result is not used.
82965
82966 2011-07-05 Andreas Jaeger <aj@suse.de>
82967
82968 [BZ#9696]
82969 * stdlib/tst-strtod.c: Add testcase.
82970
82971 2011-07-07 Ulrich Drepper <drepper@gmail.com>
82972
82973 * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
82974 (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
82975 The latter has a higher limit. Take additional parameter to pass to
82976 the new function.
82977 (__pathconf): Pass file to __statfs_link_max.
82978 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
82979 __statfs_link_max.
82980 * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
82981 __statfs_link_max.
82982
82983 [BZ #12868]
82984 * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
82985 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
82986 Handle Lustre.
82987 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
82988 (__statfs_filesize_max): Likewise.
82989 Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
82990
82991 2011-07-05 Andreas Jaeger <aj@suse.de>
82992
82993 * resolv/res_comp.c (dn_skipname): Remove unused variable.
82994
82995 2011-07-06 Marek Polacek <mpolacek@redhat.com>
82996
82997 * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
82998 `status' variable.
82999 * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
83000 Likewise.
83001
83002 2011-07-04 H.J. Lu <hongjiu.lu@intel.com>
83003
83004 * Makefile (strop-tests): Add strncat.
83005 * string/test-strncat.c: New file.
83006
83007 2011-06-30 Marek Polacek <mpolacek@redhat.com>
83008
83009 * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
83010
83011 2011-06-21 Andreas Jaeger <aj@suse.de>
83012
83013 * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
83014 Copy rule from iconvdata/Makefile.
83015
83016 2011-07-06 Ulrich Drepper <drepper@gmail.com>
83017
83018 [BZ #12922]
83019 * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
83020 but no long options are defined, just return 'W'.
83021
83022 2011-06-22 Marek Polacek <mpolacek@redhat.com>
83023
83024 [BZ #9696]
83025 * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
83026
83027 2011-07-06 Ulrich Drepper <drepper@gmail.com>
83028
83029 * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
83030 netgroups to read.
83031 (innetgr): Likewise.
83032
83033 2011-07-05 Roland McGrath <roland@hack.frob.com>
83034
83035 * config.make.in (install_root): Default to $(DESTDIR).
83036
83037 2011-07-05 Ulrich Drepper <drepper@gmail.com>
83038
83039 * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
83040
83041 2011-07-02 Roland McGrath <roland@hack.frob.com>
83042
83043 * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
83044
83045 * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
83046 containing directory rather than embedding absolute directory names.
83047
83048 * scripts/check-local-headers.sh: Rewritten using awk.
83049 Match by word, not by line. Print error messages for matches.
83050 * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
83051
83052 * Makerules [shlib-lds-flags empty]:
83053 ($(common-objpfx)libc_pic.opts): New target.
83054 ($(common-objpfx)libc_pic.os.clean): New target.
83055 ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
83056
83057 * config.make.in (OBJCOPY): New variable.
83058 * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
83059 * configure: Regenerated.
83060
83061 * config.make.in (use-default-link): New variable.
83062 * configure.in (use_default_link): Grok --with-default-link to set it.
83063 * configure: Regenerated.
83064 * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
83065 (shlib-lds, shlib-lds-flags): Define to empty.
83066
83067 * Makerules (shlib-lds): New variable.
83068 (shlib-lds-flags): New variable.
83069 (build-shlib, build-moduile, build-module-asneeded): Use it.
83070 ($(common-objpfx)libc.so): Use $(shlib-lds).
83071 ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
83072 * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
83073
83074 * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
83075 DT_FLAGS/DT_FLAGS_1 with zero flags.
83076
83077 * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
83078 linker script munging.
83079
83080 2011-07-02 Ulrich Drepper <drepper@gmail.com>
83081
83082 * crypt/sha512.h (struct sha512_ctx): Add union to access total also
83083 as 128-bit value.
83084 * crypt/sha512.c (sha512_process_block): Perform total addition using
83085 128-bit if possible.
83086 (__sha512_finish_ctx): Likewise.
83087 * crypt/sha256.h (struct sha256_ctx): Add union to access total also
83088 as 64-bit value.
83089 * crypt/sha256.c (SWAP64): Define.
83090 (sha256_process_block): Perform total addition using 64-bit if
83091 possible.
83092 (__sha256_finish_ctx): Likewise.
83093
83094 2011-07-01 Ulrich Drepper <drepper@gmail.com>
83095
83096 * nscd/pwdcache.c (cache_addpw): Cleanup. Add branch prediction.
83097 * nscd/initgrcache.c (addinitgroupsX): Likewise.
83098 * nscd/hstcache.c (cache_addhst): Likewise.
83099 * nscd/grpcache.c (cache_addgr): Likewise.
83100 * nscd/aicache.c (addhstaiX): Likewise.
83101 * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
83102
83103 2011-07-01 Thorsten Kukuk <kukuk@suse.de>
83104
83105 * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
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
83111 2011-07-01 Andreas Schwab <schwab@redhat.com>
83112
83113 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
83114 domain only when needed.
83115
83116 2011-06-30 Andreas Schwab <schwab@redhat.com>
83117
83118 * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
83119 is always restored.
83120
83121 2011-06-29 Ulrich Drepper <drepper@gmail.com>
83122
83123 * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
83124 are re-adding the entry.
83125 * nscd/servicescache.c (cache_addserv): Likewise.
83126
83127 2011-06-30 Aurelien Jarno <aurelien@aurel32.net>
83128
83129 * sysdeps/generic/dl-irel.h: fix protection against multiple
83130 inclusions.
83131 * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
83132
83133 2011-06-28 Ulrich Drepper <drepper@gmail.com>
83134
83135 [BZ #12935]
83136 * malloc/memusage.sh: Fix quoting in message.
83137 * debug/xtrace.sh: Likewise.
83138
83139 * configure.in: Remove support for --experimental-malloc option, make
83140 it the default.
83141 * config.make.in: Likewise.
83142 * malloc/Makefile: Likewise.
83143
83144 2011-06-27 Andreas Schwab <schwab@redhat.com>
83145
83146 * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
83147 two-byte characters.
83148
83149 2011-06-27 Roland McGrath <roland@hack.frob.com>
83150
83151 * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
83152 AC_CACHE_CHECK invocation.
83153 * configure: Regenerated.
83154
83155 * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
83156
83157 2011-06-27 Ulrich Drepper <drepper@gmail.com>
83158
83159 [BZ #12350]
83160 * nscd/aicache.c (addhstaiX): Restore only RES_USE_INET6
83161 bit from old_res_options.
83162
83163 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
83164
83165 * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
83166 value type for setfct.
83167
83168 2011-06-23 H.J. Lu <hongjiu.lu@intel.com>
83169
83170 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
83171 __gettimeofday instead of gettimeofday.
83172
83173 2011-06-26 Ulrich Drepper <drepper@gmail.com>
83174
83175 * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
83176
83177 2011-06-24 H.J. Lu <hongjiu.lu@intel.com>
83178
83179 * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
83180
83181 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
83182 info.
83183
83184 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
83185
83186 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
83187 strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
83188 strcpy-sse2-unaligned strncpy-sse2-unaligned
83189 stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
83190 * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
83191 * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
83192 * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
83193 * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
83194 * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
83195 * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
83196 * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
83197 * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
83198 * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
83199 (STRCPY): Support SSE2 and SSSE3 versions.
83200
83201 2011-06-24 Ulrich Drepper <drepper@gmail.com>
83202
83203 [BZ #12874]
83204 * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
83205 * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
83206 kernels which artificially limit size of requests.
83207
83208 2011-06-22 H.J. Lu <hongjiu.lu@intel.com>
83209
83210 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
83211 strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
83212 strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
83213 * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
83214 * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
83215 * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
83216 * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
83217 * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
83218 * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
83219 * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
83220 * sysdeps/i386/i686/multiarch/strcpy.S: New file.
83221 * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
83222 * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
83223 * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
83224 * sysdeps/i386/i686/multiarch/strncpy.S: New file.
83225 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83226 Enable unaligned load optimization for Intel Core i3, i5 and i7
83227 processors.
83228 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
83229 Define.
83230 (index_Fast_Unaligned_Load): Define.
83231 (HAS_FAST_UNALIGNED_LOAD): Define.
83232
83233 2011-06-23 Marek Polacek <mpolacek@redhat.com>
83234
83235 * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
83236
83237 2011-06-22 Ulrich Drepper <drepper@gmail.com>
83238
83239 [BZ #12907]
83240 * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
83241 until it is clear that the information is realy needed.
83242 Patch mostly by David Hanisch <david.hanisch@nsn.com>.
83243
83244 2011-06-22 Andreas Schwab <schwab@redhat.com>
83245
83246 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
83247
83248 2011-06-22 Ulrich Drepper <drepper@gmail.com>
83249
83250 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
83251 /sys/devices/system/cpu/online if it is usable.
83252
83253 * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
83254 reading the information from the /proc filesystem to once a second.
83255
83256 2011-06-21 Andreas Jaeger <aj@suse.de>
83257
83258 * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
83259 NULL after inclusion of kernel headers.
83260
83261 2011-06-21 Ulrich Drepper <drepper@gmail.com>
83262
83263 * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
83264 calls to internal_setent.
83265
83266 [BZ #12885]
83267 * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
83268 addresses using gethostbyname4_r ignore IPv4 addresses.
83269
83270 * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
83271 branch using gethostbyname2 is only for AF_INET. Optimize accordingly.
83272
83273 * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
83274
83275 2011-06-20 David S. Miller <davem@davemloft.net>
83276
83277 * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
83278 inclusions.
83279 * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
83280
83281 * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
83282 (elf_irel): Use it.
83283 * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
83284 * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
83285 * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
83286 * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
83287 * sysdeps/x86_64/dl-irel.h: Likewise.
83288
83289 * elf/dl-runtime.c: Use elf_ifunc_invoke.
83290 * elf/dl-sym.c: Likewise.
83291
83292 2011-06-15 Ulrich Drepper <drepper@gmail.com>
83293
83294 * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch. We
83295 need to dereference resplen2.
83296
83297 2011-06-14 Andreas Schwab <schwab@redhat.com>
83298
83299 * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
83300
83301 2011-06-15 Ulrich Drepper <drepper@gmail.com>
83302
83303 * Makeconfig: Define vardbdir and inst_vardbdir.
83304 * nss/Makefile: Add rules to install db-Makefile.
83305
83306 * nss/nss_db/db-XXX.c: Cleanup.
83307
83308 * nss/Makefile (libnss_db-dbs): Add db-initgroups.
83309 * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
83310 GLIBC_PRIVATE.
83311 * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
83312 * nss/makedb.c: Implement -g option to specify that value strings
83313 are generated and should not be added to table iterated over for
83314 get*ent calls.
83315 * nss/nss_db/db-initgroups.c: New file.
83316
83317 * nss/getent.c: Add support for initgroups lookups through getgrouplist
83318 interface.
83319
83320 * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
83321 (internal_getgrouplist): Adjust to name change.
83322 Update use_initgroups_entry if this is not the first call.
83323 * nss/databases.def: Add initgroups entry.
83324
83325 * nss/makedb.c (compute_tables): Check result of multiple hash table
83326 sizes to minimize maximum chain length.
83327
83328 2011-06-14 Ulrich Drepper <drepper@gmail.com>
83329
83330 * Versions.def: Add entry for libnss_db.
83331 * shlib-versions: Likewise.
83332 * nss/Makefile: Add rules to build libnss_db.
83333 * nss/Versions: Add libnss_db information. Organize libnss_files
83334 entries better.
83335 * nss/db-Makefile: Add gshadow support. Change rules for the new
83336 makedb progra. Some minor improvements to generate smaller files.
83337 * nss/nss_db/nss_db.h: Move NSS database header data structures to
83338 here from...
83339 * nss/makedb.c: ...here.
83340 Improve database format to be smaller and require less memory at
83341 runtime.
83342 * nss/nss_db/db-XXX.x: Adjust for new database format. Don't use
83343 db anymore.
83344 * nss/nss_db/db-netgrp.c: Likewise.
83345 * nss/nss_db/db-open.c: Likewise.
83346 * nss/nss_files/flies-XXX.x: Adjust comments.
83347 * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
83348 * nss/nss_files/files-grp.c: Likewise.
83349 * nss/nss_files/files-hosts.c: Likewise.
83350 * nss/nss_files/files-network.c: Likewise.
83351 * nss/nss_files/files-proto.c: Likewise.
83352 * nss/nss_files/files-pwd.c: Likewise.
83353 * nss/nss_files/files-rpc.c: Likewise.
83354 * nss/nss_files/files-service.c: Likewise.
83355 * nss/nss_files/files-sgrp.c: Likewise.
83356 * nss/nss_files/files-spwd.c: Likewise.
83357 * nss/nss_db/db-alias.c: Removed.
83358 * nss/nss_db/dummy-db.h: Removed.
83359
83360 2011-06-02 Ulrich Drepper <drepper@gmail.com>
83361
83362 * nss/makedb.c: Rewritten to not use database library.
83363 * nss/Makefile: Update to build new makedb program.
83364
83365 2011-06-14 Andreas Jaeger <aj@suse.de>
83366
83367 * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
83368 memset declaration.
83369
83370 2011-06-10 Andreas Schwab <schwab@redhat.com>
83371
83372 * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
83373 tmpbuf.
83374
83375 2011-06-10 Roland McGrath <roland@hack.frob.com>
83376
83377 * Makerules (shlib.lds): Fail if the linker script comes out empty.
83378 * elf/Makefile ($(objpfx)ld.so): Likewise.
83379
83380 * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
83381 Don't list ld.so twice in dependencies.
83382
83383 * posix/bug-regex31.c: Include <stdlib.h>.
83384
83385 * nscd/hstcache.c (cache_addhst): Remove unused variable.
83386
83387 * nis/nss_compat/compat-spwd.c
83388 (getspent_next_nss_netgr): Remove unused variable.
83389 * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
83390
83391 * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
83392 nonmembers" output to use the right array.
83393
83394 * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
83395
83396 * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
83397
83398 * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
83399 * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
83400 * catgets/gencat.c (read_input_file): Likewise.
83401 * locale/programs/locarchive.c (enlarge_archive): Likewise.
83402
83403 * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
83404 variable definition inside #if's controlling its use.
83405
83406 * inet/getnetgrent_r.c (innetgr): Remove unused variable.
83407
83408 * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
83409
83410 * misc/syslog.c (__vsyslog_chk): Remove unused variable.
83411
83412 * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
83413 unreachable code.
83414
83415 * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
83416
83417 * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
83418 * configure: Regenerated.
83419
83420 * Makerules: Revert last change.
83421 * elf/Makefile: Likewise.
83422
83423 2011-06-09 Roland McGrath <roland@hack.frob.com>
83424
83425 * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
83426 * elf/Makefile ($(objpfx)librtld.os): Likewise.
83427 (reloc-link): Likewise.
83428
83429 2011-06-09 Ulrich Drepper <drepper@gmail.com>
83430
83431 * elf/Makefile: Add rules to build pldd.
83432 * elf/pldd.c: New file.
83433 * elf/pldd-xx.c: New file.
83434
83435 2011-06-07 Ulrich Drepper <drepper@gmail.com>
83436
83437 * version.h: Update for 2.15 development version.
83438
83439 2011-06-07 David S. Miller <davem@davemloft.net>
83440
83441 * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
83442 ifuncs.
83443 * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
83444 elf_machine_lazy_rel): Likewise.
83445 * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
83446 * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
83447 elf_machine_lazy_rel): Likewise.
83448 * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
83449 dl_hwcap via passed in argument.
83450 * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
83451 Likewise.
83452
83453 2011-06-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
83454
83455 * stdlib/longlong.h: Update from GCC. Fix smul_ppmm for S/390.
83456
83457 2011-06-06 Roland McGrath <roland@hack.frob.com>
83458
83459 [BZ #12849]
83460 * manual/fdl-1.1.texi: New file, verbatim from:
83461 http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
83462 * manual/lgpl-2.1.texi: New file, verbatim from:
83463 http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
83464 * manual/Makefile (licenses): New variable, list those new file names.
83465 (texis): Use it.
83466 (chapters.% top-menu.%): Include $(licenses) with $(appendices).
83467
83468 * manual/fdl.texi: File removed.
83469 * manual/lesser.texi: File removed.
83470 * manual/libc.texinfo (Copying, Documentation License):
83471 Use new @include file names, put @appendix directive before @include.
83472
83473 2011-06-04 Jakub Jelinek <jakub@redhat.com>
83474
83475 [BZ #12841]
83476 * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
83477 (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
83478 (mq_open): Add __NTH.
83479
83480 2011-06-02 H.J. Lu <hongjiu.lu@intel.com>
83481
83482 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
83483 Assume Intel Core i3/i5/i7 processor if AVX is available.
83484
83485 2011-05-31 Ulrich Drepper <drepper@gmail.com>
83486
83487 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
83488 typo.
83489
83490 2011-05-31 Andreas Schwab <schwab@redhat.com>
83491
83492 * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
83493 memory. Use alloca_account. Fix memory leak when retrying.
83494
83495 2011-05-31 Ulrich Drepper <drepper@gmail.com>
83496
83497 * version.h (RELEASE): Bump for 2.14 release.
83498 * include/features.h (__GLIBC_MINOR__): Bump to 14.
83499
83500 * config.make.in (RANLIB): Remove entry.
83501
83502 2011-05-30 Ulrich Drepper <drepper@gmail.com>
83503
83504 * po/Makefile (po-sed-cmd): Add ksh to extensions.
83505 (libc.pot): Work around missing support for .ksh extension in xgettext.
83506
83507 [BZ #12684]
83508 * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
83509 if both request failed.
83510 (send_dg): In case of server errors clear resplen or *resplen2.
83511
83512 [BZ #12454]
83513 * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
83514 when there are multiple maps.
83515 * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
83516 (_dl_fini): Remove test here.
83517
83518 * elf/rtld.c (dl_main): Don't allow the loader to load itself.
83519
83520 2011-05-29 Ulrich Drepper <drepper@gmail.com>
83521
83522 [BZ #12350]
83523 * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
83524 bit from old_res_options.
83525 (gaih_inet): Likewise.
83526
83527 [BZ #11099]
83528 * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
83529 as signed.
83530
83531 * resolv/res_init.c (res_setoptions): Make the code more compact.
83532
83533 [BZ #11558]
83534 * resolv/res_init.c (res_setoptions): Recognize use-vc option and
83535 set RES_USEVC.
83536
83537 [BZ #11634]
83538 * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
83539
83540 * malloc/malloc.h: Mark malloc hook variables as deprecated.
83541
83542 [BZ #11781]
83543 * malloc/malloc.h: Declare malloc hook variables as volatile.
83544
83545 * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
83546 in last patch.
83547
83548 [BZ #11799]
83549 * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
83550 raise in the comment.
83551 * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
83552 * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
83553 * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
83554
83555 2011-05-28 Ulrich Drepper <drepper@gmail.com>
83556
83557 [BZ #12811]
83558 * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
83559 grow the buffers more if it already has to be sufficient.
83560 (build_wcs_upper_buffer): Likewise.
83561 * posix/regexec.c (check_matching): Likewise.
83562 (clean_state_log_if_needed): Likewise.
83563 (extend_buffers): Don't enlarge buffers beyond size of the input
83564 buffer.
83565 Patches mostly by Emil Wojak <emil@wojak.eu>.
83566 * posix/bug-regex32.c: New file.
83567 * posix/Makefile (tests): Add bug-regex32.
83568
83569 * locale/findlocale.c (_nl_find_locale): Return right away if
83570 _nl_explode_name failed.
83571 * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
83572
83573 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
83574
83575 * debug/xtrace.sh: Unify messages.
83576 * malloc/memusage.sh: Likewise.
83577
83578 [BZ #12813]
83579 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
83580 time symbol from vDSO. Substitute with vsyscall if not available.
83581 * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
83582 __vdso_time.
83583
83584 * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
83585 * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
83586 * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
83587 Add sendmmsg and internal_sendmmsg.
83588 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
83589 * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
83590 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
83591
83592 * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
83593 * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
83594 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
83595
83596 2011-05-27 Ulrich Drepper <drepper@gmail.com>
83597
83598 [BZ #12813]
83599 * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
83600 Retrieve getcpu symbol from vDSO. Substitute with vsyscall if not
83601 available.
83602 * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
83603 __vdso_getcpu.
83604
83605 [BZ #12814]
83606 * iconvdata/Makefile (tests): Add bug-iconv9.
83607 * iconvdata/bug-iconv9.c: New file.
83608
83609 2011-05-27 Andreas Schwab <schwab@redhat.com>
83610
83611 [BZ #12814]
83612 * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
83613
83614 2011-05-25 Jakub Jelinek <jakub@redhat.com>
83615
83616 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83617 (struct user_regs_struct): Change intcs field back to cs.
83618
83619 2011-05-25 Ulrich Drepper <drepper@gmail.com>
83620
83621 * po/ja.po: Update from translation team.
83622
83623 2011-05-23 Ulrich Drepper <drepper@gmail.com>
83624
83625 [BZ #12795]
83626 * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
83627 * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
83628
83629 2011-05-20 Andreas Schwab <schwab@redhat.com>
83630
83631 * stdlib/longlong.h: Update from GCC.
83632
83633 2011-05-23 Andreas Schwab <schwab@redhat.com>
83634
83635 * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
83636 parameter name.
83637 * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
83638 Add parameter name.
83639 (__sysconf): Pass it down.
83640
83641 2011-05-22 Ulrich Drepper <drepper@gmail.com>
83642
83643 [BZ #12671]
83644 * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
83645 some situations.
83646 * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
83647 * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
83648 add in in __libc_use_alloca calls. Adjust callers.
83649 (glob): Use malloc in some situations.
83650
83651 * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
83652 and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
83653 pltexit.
83654
83655 2011-05-21 Ulrich Drepper <drepper@gmail.com>
83656
83657 * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
83658 and CLOCK_BOOTTIME_ALARM.
83659
83660 [BZ #12782]
83661 * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
83662 is returned.
83663
83664 * string/_strerror.c (__strerror_r): Print negative errors as signed
83665 numbers.
83666
83667 [BZ #12777]
83668 * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
83669 (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
83670 * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
83671
83672 * configure.in: Fix typo in redirection and correct removal of test
83673 files in two cases.
83674
83675 [BZ #12788]
83676 * locale/setlocale.c (new_composite_name): Fix test to check for
83677 identical name of all categories.
83678
83679 [BZ #12792]
83680 * libio/filedoalloc.c (local_isatty): New function.
83681 (_IO_file_doallocate): Use local_isatty.
83682 * stdio-common/perror.c (perror): In case a new stream is used
83683 forward the stream error.
83684 * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
83685 error flag.
83686
83687 2011-05-20 Ulrich Drepper <drepper@gmail.com>
83688
83689 [BZ #11884]
83690 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
83691 alloca.
83692 * include/alloca.h (extend_alloca_account): Define.
83693
83694 [BZ #11857]
83695 * posix/regex.h: Fix comments with documentation of user-accessible
83696 fields after compilation and describe correct free'ing of pattern
83697 after re_compile_pattern.
83698 Patch by Reuben Thomas <rrt@sc3d.org>.
83699
83700 2011-05-18 Ryan S. Arnold <rsa@us.ibm.com>
83701
83702 * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
83703 and -mno-altivec to prevent the compiler from using Altivec and/or
83704 VSX instructions when the corresponding registers are not available.
83705
83706 2011-05-19 Andreas Schwab <schwab@redhat.com>
83707
83708 * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
83709
83710 2011-05-19 Ulrich Drepper <drepper@gmail.com>
83711
83712 * libio/freopen.c (freopen): Use __dup2, not dup2.
83713 * libio/freopen64.c (freopen64): Likewise.
83714
83715 2011-05-17 H.J. Lu <hongjiu.lu@intel.com>
83716
83717 [BZ #12775]
83718 * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
83719 * math/Makefile (tests): Add test-powl.
83720 (CFLAGS-test-powl.c): Define.
83721 * math/test-powl.c: New file.
83722
83723 2011-05-16 H.J. Lu <hongjiu.lu@intel.com>
83724
83725 * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
83726
83727 2011-05-17 Ulrich Drepper <drepper@gmail.com>
83728
83729 [BZ #11837]
83730 * iconvdata/gb18030.c: Update to GB18020-2005.
83731
83732 2011-05-16 Ulrich Drepper <drepper@gmail.com>
83733
83734 * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
83735 RE_SYNTAX_POSIX_AWK): Update to match recent development.
83736 Patch by Aharon Robbins <arnold@skeeve.com>.
83737
83738 [BZ #11892]
83739 * stdlib/putenv.c (putenv): Don't always create copy of the variable
83740 on the stack.
83741
83742 [BZ #11895]
83743 * misc/pselect.c (__pselect): Handle timeout value errors hidden
83744 through underflows.
83745
83746 [BZ #12766]
83747 * misc/error.c (error_at_line): Ensure file_name and old_file_name
83748 point to strings before performing equality test for error_one_per_line
83749 mode.
83750
83751 [BZ #11697]
83752 * login/programs/pt_chown.c (do_pt_chown): Always call chown.
83753
83754 [BZ #11820]
83755 * sysdeps/unix/sysv/linux/x86_64/sys/user.h
83756 (struct user_fpregs_struct): Avoid __uint*_t types.
83757
83758 [BZ #6420]
83759 * malloc/mtrace.c (tr_where): Add additional parameter to point to
83760 symbol info. Use it instead of calling _dl_addr locally.
83761 (lock_and_info): New function.
83762 (tr_freehook): Call lock_and_info and pass symbol info as additional
83763 parameter to tr_where.
83764 (tr_mallochook): Likewise.
83765 (tr_reallochook): Likewise.
83766 (tr_memalignhook): Likewise.
83767
83768 * malloc/mtrace.c: Remove support for USE_MTRACE_FILE. It is not
83769 used and couldn't be at all thread-safe.
83770
83771 2011-05-15 Ulrich Drepper <drepper@gmail.com>
83772
83773 * libio/freopen.c (freopen): Don't close old file descriptor
83774 before the new one is opened. Instead dup the new file descriptor
83775 to the old one after the new stream is created.
83776 * libio/freopen64.c (freopen64): Likewise.
83777 * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
83778 * libio/fileops.c (_IO_new_file_close_it): Handle new
83779 _IO_FLAGS2_NOCLOSE flag.
83780 (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
83781 If _IO_file_open didn't set FD_CLOEXEC do it after the call.
83782 * libio/oldfileops.c (_IO_old_file_close_it): Handle new
83783 _IO_FLAGS2_NOCLOSE flag.
83784 * include/unistd.h: Add hidden_proto for dup3.
83785 Define __have_dup3.
83786 * io/dup3.c: Define hidden symbol.
83787 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
83788
83789 [BZ #7101]
83790 * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
83791 when an incomplete long option is used.
83792 * posix/tst-getopt_long1.c: New file.
83793 * posix/Makefile (tests): Add tst-getopt_long1.
83794
83795 [BZ #10138]
83796 * scripts/config.guess: Update from autoconf-2.68.
83797 * scripts/config.sub: Likewise.
83798
83799 [BZ #10157]
83800 * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
83801 tests into ...
83802 (has_cpuclock): ...this. New function.
83803 * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
83804 macro here based on has_cpuclock code.
83805
83806 [BZ #10149]
83807 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83808 First byte (not low byte) is now always NUL.
83809 * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
83810
83811 * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83812 Use non-cancelable interfaces.
83813
83814 [BZ #9809]
83815 * locale/iso-639.def: Add entry for Sorani.
83816
83817 [BZ #11901]
83818 * include/stdlib.h: Move include protection to the right place.
83819 Define abort_msg_s. Declare __abort_msg with it.
83820 * stdlib/abort.c (__abort_msg): Adjust type.
83821 * assert/assert.c (__assert_fail_base): New function. Majority
83822 of code from __assert_fail. Allocate memory for __abort_msg with
83823 mmap.
83824 (__assert_fail): Now call __assert_fail_base.
83825 * assert/assert-perr.c: Remove bulk of implementation. Use
83826 __assert_fail_base.
83827 * include/assert.hL Declare __assert_fail_base.
83828 * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
83829 mmap.
83830 * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
83831
83832 2011-05-14 Ulrich Drepper <drepper@gmail.com>
83833
83834 [BZ #11952]
83835 [BZ #12453]
83836 * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
83837 until all modules are registered in the DTV.
83838 * elf/Makefile: Add rules to build and run tst-tls19.
83839 * elf/tst-tls19.c: New file.
83840 * elf/tst-tls19mod1.c: New file.
83841 * elf/tst-tls19mod2.c: New file.
83842 * elf/tst-tls19mod3.c: New file.
83843 Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
83844
83845 [BZ #12083]
83846 * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
83847 correctly.
83848
83849 [BZ #12601]
83850 * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
83851 two-byte sequence errors.
83852 * iconvdata/Makefile (tests): Add bug-iconv8.
83853 * iconvdata/bug-iconv8.c: New file.
83854
83855 [BZ #12626]
83856 * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
83857 buf2 definition.
83858
83859 * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
83860
83861 [BZ #12432]
83862 * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
83863 (dummy_getcfa): New function.
83864 (init): Get _Unwind_GetCFA address, use dummy if not found.
83865 (backtrace_helper): In recursion check, also check whether CFA changes.
83866 (__backtrace): Completely initialize arg.
83867
83868 * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
83869 storing incomplete byte sequence in state object. Avoid testing for
83870 guaranteed too small input if we know there is enough data available.
83871
83872 2011-05-11 Andreas Schwab <schwab@redhat.com>
83873
83874 * Makeconfig (+link-pie): Indent.
83875 * Rules (binaries-pie): Define if $(have-fpie) and
83876 $(build-shared).
83877 (binaries-shared): Also filter out $(binaries-pie).
83878 ($(addprefix $(objpfx),$(binaries-pie))): New rule.
83879 * nscd/Makefile (others-pie): Add nscd.
83880 (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
83881 ($(objpfx)nscd): Remove command override.
83882 * login/Makefile (others-pie): Add pt_chown.
83883 ($(objpfx)pt_chown): Remove command override.
83884 * elf/Makefile: Add PIE tests to tests and tests-pie variables and
83885 remove command overrides.
83886
83887 2011-05-13 Ulrich Drepper <drepper@gmail.com>
83888
83889 * libio/tst_putwc.c: Fix error messages.
83890
83891 [BZ #12724]
83892 * libio/fileops.c (_IO_new_file_close_it): Always flush when
83893 currently writing and seek to current position when not.
83894 * libio/Makefile (tests): Add bug-fclose1.
83895 * libio/bug-fclose1.c: New file.
83896
83897 2011-05-12 Ulrich Drepper <drepper@gmail.com>
83898
83899 [BZ #12511]
83900 * elf/dl-lookup.c (enter): Don't test for copy relocation here and
83901 don't set DF_1_NODELETE here.
83902 (do_lookup_x): When entering new entry test for copy relocation
83903 and if necessary set DF_1_NODELETE flag.
83904 * elf/tst-unique4.cc: New file.
83905 * elf/tst-unique4.h: New file.
83906 * elf/tst-unique4lib.cc: New file.
83907 * elf/Makefile: Add rules to build and run tst-unique4.
83908 Patch by Piotr Bury <pbury@goahead.com>.
83909
83910 2011-05-11 Ulrich Drepper <drepper@gmail.com>
83911
83912 [BZ #12052]
83913 * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
83914
83915 [BZ #12625]
83916 * misc/mntent_r.c (addmntent): Flush the stream after the output
83917
83918 [BZ #12393]
83919 * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
83920 (is_trusted_path_normalize): Skip initial colon. Append slash
83921 to empty buffer. Duplicate is_trusted_path code but allow
83922 constructed patch to be prefix.
83923 (is_dst): Allow $ORIGIN followed by /.
83924 (_dl_dst_substitute): Correct clearing of check_for_trusted.
83925 Correct testing of result of is_trusted_path_normalize
83926 (decompose_rpath): Fix warning.
83927
83928 2011-05-10 Ulrich Drepper <drepper@gmail.com>
83929
83930 [BZ #11257]
83931 * grp/initgroups.c (internal_getgrouplist): When we found the service
83932 list through the initgroups entry in nsswitch.conf do not always
83933 continue on a successful lookup. Don't always use the
83934 __nss_group_database value if it is set.
83935 * nss/nsswitch.conf (initgroups): Change action for successful db
83936 lookup to continue for compatibility.
83937
83938 2011-05-09 Ulrich Drepper <drepper@gmail.com>
83939
83940 [BZ #11532]
83941 * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
83942 and CP774 modules.
83943 * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
83944 and CP774 modules.
83945 * iconvdata/tst-tables.sh: Likewise.
83946 * iconvdata/cp770.c: New file.
83947 * iconvdata/cp771.c: New file.
83948 * iconvdata/cp772.c: New file.
83949 * iconvdata/cp773.c: New file.
83950 * iconvdata/cp774.c: New file.
83951 * iconvdata/testdata/CP770: New file.
83952 * iconvdata/testdata/CP770..UTF8: New file.
83953 * iconvdata/testdata/CP771: New file.
83954 * iconvdata/testdata/CP771..UTF8: New file.
83955 * iconvdata/testdata/CP772: New file.
83956 * iconvdata/testdata/CP772..UTF8: New file.
83957 * iconvdata/testdata/CP773: New file.
83958 * iconvdata/testdata/CP773..UTF8: New file.
83959 * iconvdata/testdata/CP774: New file.
83960 * iconvdata/testdata/CP774..UTF8: New file.
83961
83962 * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
83963 END CHARMAP line.
83964 * iconvdata/gen-8bit-gap.sh: Likewise.
83965 * iconvdata/gen-8bit.sh: Likewise.
83966
83967 * locale/iso-639.def: Add ary entry.
83968
83969 [BZ #11258]
83970 * locale/C-translit.h.in: Add U20A1 transliteration.
83971
83972 [BZ #12178]
83973 * locale/iso-639.def: Add wae entry.
83974 Patch by Kevin Bortis <bortis@translate-wae.ch>.
83975
83976 [BZ #12545]
83977 * locale/programs/localedef.c (construct_output_path): Use ssize_t
83978 for n.
83979
83980 [BZ #12711]
83981 * locale/C-translit.h.in: Add entry for U20B9.
83982 Patch by pravin.d.s@gmail.com.
83983
83984 2011-05-08 Ulrich Drepper <drepper@gmail.com>
83985
83986 [BZ #12713]
83987 * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
83988 ENAMETOOLONG use generic getcwd.
83989 * sysdeps/posix/getcwd.c: Add support to use openat. Make usable
83990 in rtld. Use *stat64.
83991 * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
83992 Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
83993 * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
83994 * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
83995 * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
83996 * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
83997 * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
83998 __fstatat64 macros.
83999 * include/dirent.h: Add libc_hidden_proto for rewinddir.
84000 * dirent/rewinddir.c: Add libc_hidden_def.
84001 * sysdeps/mach/hurd/rewinddir.c: Likewise.
84002 * sysdeps/unix/rewinddir.c: Likewise. Don't do locking outside libc.
84003
84004 * include/dirent.h (__alloc_dir): Add flags parameter.
84005 * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
84006 * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
84007 __alloc_dir.
84008 (__alloc_dir): Take new parameter. Don't call fcntl for invocations
84009 from fdopendir if O_CLOEXEC is already set.
84010
84011 2011-03-15 Alan Modra <amodra@gmail.com>
84012
84013 * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
84014 l_tls_firstbyte_offset non-zero. Save padding offset in
84015 l_tls_firstbyte_offset for later use.
84016 * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
84017 freeing static tls block.
84018
84019 2011-03-05 Jonathan Nieder <jrnieder@gmail.com>
84020
84021 * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
84022 where #ifdef was intended. The intent is to prevent ARG_MAX from
84023 being defined by the kernel headers.
84024
84025 2011-05-07 Ulrich Drepper <drepper@gmail.com>
84026
84027 [BZ #12734]
84028 * resolv/resolv.h: Define RES_NOTLDQUERY.
84029 * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
84030 no-tld-query and set RES_NOTLDQUERY.
84031 * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
84032 * resolv/res_query.c (__libc_res_nsearch): Backport changes from
84033 modern BIND to search name as TLD unless forbidden.
84034
84035 2011-05-07 Petr Baudis <pasky@suse.cz>
84036 Ulrich Drepper <drepper@gmail.com>
84037
84038 [BZ #12393]
84039 * elf/dl-load.c (fillin_rpath): Move trusted path check...
84040 (is_trusted_path): ...to here.
84041 (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
84042 (_dl_dst_substitute): Verify expanded $ORIGIN path elements
84043 using is_trusted_path_normalize() in setuid scripts.
84044
84045 2011-05-06 Paul Pluzhnikov <ppluzhnikov@google.com>
84046
84047 * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
84048 __BEGIN/__END_DECLS.
84049
84050 2011-05-06 Ulrich Drepper <drepper@gmail.com>
84051
84052 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
84053 NSS_STATUS_NOTFOUND if no record was found.
84054
84055 2011-05-05 Andreas Schwab <schwab@redhat.com>
84056
84057 * sunrpc/Makefile (headers): Add rpc/netdb.h.
84058 (headers-not-in-tirpc): Remove rpc/netdb.h
84059 * resolv/netdb.h: Revert last change.
84060
84061 2011-05-05 Paul Pluzhnikov <ppluzhnikov@google.com>
84062
84063 * Makeconfig (link-libc-static): Use --{start,end}-group to handle
84064 circular dependency between libgcc.a and libc.a.
84065
84066 2011-05-05 Andreas Schwab <schwab@redhat.com>
84067
84068 * resolv/netdb.h: Don't include <rpc/netdb.h>.
84069 * nis/Makefile: Don't install rpcsvc/*.
84070 * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
84071 instead of <rpc/types.h>.
84072 (MAXHOSTNAMELEN): Define.
84073
84074 2011-05-03 Andreas Schwab <schwab@redhat.com>
84075
84076 * elf/ldconfig.c (add_dir): Don't crash on empty path.
84077
84078 2011-04-28 Maciej Babinski <mbabinski@google.com>
84079
84080 [BZ #12714]
84081 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
84082 gethostbyname4_r when IPv6 results are possible.
84083
84084 2011-05-02 Ulrich Drepper <drepper@gmail.com>
84085
84086 [BZ #12723]
84087 * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
84088 _PC_PIPE_BUF handling.
84089
84090 2011-04-30 Bruno Haible <bruno@clisp.org>
84091
84092 [BZ #12717]
84093 * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
84094 * resolv/netdb.h (getnameinfo): Change type of flags parameter
84095 to 'int'.
84096 * inet/getnameinfo.c (getnameinfo): Likewise.
84097
84098 2011-04-29 Ulrich Drepper <drepper@gmail.com>
84099
84100 * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
84101 to groups setting in database lookup.
84102 * nss/nsswitch.conf: Add initgroups entry.
84103
84104 2011-04-22 Ulrich Drepper <drepper@gmail.com>
84105
84106 [BZ #12685]
84107 * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
84108 mode string.
84109 Patch by Eric Blake <eblake@redhat.com>.
84110
84111 2011-04-20 H.J. Lu <hongjiu.lu@intel.com>
84112
84113 * sunrpc/Makefile (need-export-routines): Add svc_run.
84114 (routines): Remove svc_run.
84115 ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
84116 * sunrpc/clnt_perr.c (clnt_perrno): Export.
84117 * sunrpc/svc_run.c (svc_run): Likewise.
84118 * sunrpc/svc_udp.c (svcudp_create): Likewise.
84119
84120 2011-04-21 Ulrich Drepper <drepper@gmail.com>
84121
84122 * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
84123 problem in reallocation in last patch.
84124
84125 2011-04-20 Ulrich Drepper <drepper@gmail.com>
84126
84127 * sunrpc/Makefile: Move inclusion of Rules.
84128
84129 2011-04-19 Ulrich Drepper <drepper@gmail.com>
84130
84131 * nss/nss_files/files-initgroups.c: New file.
84132 * nss/Makefile (libnss_files-routines): Add files-initgroups.
84133 * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
84134 _nss_files_initgroups_dyn.
84135
84136 2011-03-31 Richard Sandiford <richard.sandiford@linaro.org>
84137
84138 * elf/elf.h (R_ARM_IRELATIVE): Define.
84139
84140 2011-04-19 Ulrich Drepper <drepper@gmail.com>
84141
84142 * po/ru.po: Update from translation team.
84143
84144 2011-04-17 Ulrich Drepper <drepper@gmail.com>
84145
84146 * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
84147 dependencies.
84148
84149 2011-02-06 Mike Frysinger <vapier@gentoo.org>
84150
84151 [BZ #12653]
84152 * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
84153 MEMCPY_CHK with USE_AS_BCOPY ifdef check.
84154 * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
84155 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
84156 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
84157
84158 2011-03-28 Andreas Schwab <schwab@linux-m68k.org>
84159
84160 * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
84161 differing bytes.
84162 * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
84163 * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
84164 * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
84165
84166 2011-04-17 Ulrich Drepper <drepper@gmail.com>
84167
84168 [BZ #12420]
84169 * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
84170 storing it.
84171 * stdlib/bug-getcontext.c: New file.
84172 * stdlib/Makefile: Add rules to build and run bug-getcontext.
84173
84174 2011-04-13 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84175
84176 * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
84177 instructions into .machine "z9-109".
84178 * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
84179 * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
84180
84181 2011-04-11 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
84182
84183 * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
84184 between environment variables and auxiliary vector.
84185
84186 2011-04-16 Ulrich Drepper <drepper@gmail.com>
84187
84188 * Makefile: Add rules to build linkobj/libc.so.
84189 * include/libc-symbols.h: Define libc_hidden_nolink.
84190 * include/rpc/auth.h: Mark functions which are to be hidden.
84191 * include/rpc/auth_des.h: Likewise.
84192 * include/rpc/auth_unix.h: Likewise.
84193 * include/rpc/clnt.h: Likewise.
84194 * include/rpc/des_crypt.h: Likewise.
84195 * include/rpc/key_prot.h: Likewise.
84196 * include/rpc/pmap_clnt.h: Likewise.
84197 * include/rpc/pmap_prot.h: Likewise.
84198 * include/rpc/pmap_rmt.h: Likewise.
84199 * include/rpc/rpc_msg.h: Likewise.
84200 * include/rpc/svc.h: Likewise.
84201 * include/rpc/svc_auth.h: Likewise.
84202 * include/rpc/xdr.h: Likewise.
84203 * nis/Makefile: Link all DSOs against linkobj/libc.so.
84204 * nss/Makefile: Likewise.
84205 * sunrpc/Makefile: Don't install headers. Build library with normal
84206 entry points. Don't build rpcinfo. Link RPC tests appropriately.
84207 * sunrpc/auth_des.c: Hide exported symbols by default, export some
84208 for the compat linking library. Remove use of INTDEF/INTUSE.
84209 * sunrpc/auth_none.c: Likewise.
84210 * sunrpc/auth_unix.c: Likewise.
84211 * sunrpc/authdes_prot.c: Likewise.
84212 * sunrpc/authuxprot.c: Likewise.
84213 * sunrpc/clnt_gen.c: Likewise.
84214 * sunrpc/clnt_perr.c: Likewise.
84215 * sunrpc/clnt_raw.c: Likewise.
84216 * sunrpc/clnt_simp.c: Likewise.
84217 * sunrpc/clnt_tcp.c: Likewise.
84218 * sunrpc/clnt_udp.c: Likewise.
84219 * sunrpc/clnt_unix.c: Likewise.
84220 * sunrpc/des_crypt.c: Likewise.
84221 * sunrpc/des_soft.c: Likewise.
84222 * sunrpc/get_myaddr.c: Likewise.
84223 * sunrpc/key_call.c: Likewise.
84224 * sunrpc/key_prot.c: Likewise.
84225 * sunrpc/netname.c: Likewise.
84226 * sunrpc/pm_getmaps.c: Likewise.
84227 * sunrpc/pm_getport.c: Likewise.
84228 * sunrpc/pmap_clnt.c: Likewise.
84229 * sunrpc/pmap_prot.c: Likewise.
84230 * sunrpc/pmap_prot2.c: Likewise.
84231 * sunrpc/pmap_rmt.c: Likewise.
84232 * sunrpc/publickey.c: Likewise.
84233 * sunrpc/rpc_cmsg.c: Likewise.
84234 * sunrpc/rpc_common.c: Likewise.
84235 * sunrpc/rpc_dtable.c: Likewise.
84236 * sunrpc/rpc_prot.c: Likewise.
84237 * sunrpc/rpc_thread.c: Likewise.
84238 * sunrpc/rtime.c: Likewise.
84239 * sunrpc/svc.c: Likewise.
84240 * sunrpc/svc_auth.c: Likewise.
84241 * sunrpc/svc_authux.c: Likewise.
84242 * sunrpc/svc_raw.c: Likewise.
84243 * sunrpc/svc_run.c: Likewise.
84244 * sunrpc/svc_simple.c: Likewise.
84245 * sunrpc/svc_tcp.c: Likewise.
84246 * sunrpc/svc_udp.c: Likewise.
84247 * sunrpc/svc_unix.c: Likewise.
84248 * sunrpc/svcauth_des.c: Likewise.
84249 * sunrpc/xcrypt.c: Likewise.
84250 * sunrpc/xdr.c: Likewise.
84251 * sunrpc/xdr_array.c: Likewise.
84252 * sunrpc/xdr_float.c: Likewise.
84253 * sunrpc/xdr_intXX_t.c: Likewise.
84254 * sunrpc/xdr_mem.c: Likewise.
84255 * sunrpc/xdr_rec.c: Likewise.
84256 * sunrpc/xdr_ref.c: Likewise.
84257 * sunrpc/xdr_sizeof.c: Likewise.
84258 * sunrpc/xdr_stdio.c: Likewise.
84259
84260 2011-04-10 Ulrich Drepper <drepper@gmail.com>
84261
84262 [BZ #12650]
84263 * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
84264 * sysdeps/ia64/dl-tls.h: Likewise.
84265 * sysdeps/powerpc/dl-tls.h: Likewise.
84266 * sysdeps/s390/dl-tls.h: Likewise.
84267 * sysdeps/sh/dl-tls.h: Likewise.
84268 * sysdeps/sparc/dl-tls.h: Likewise.
84269 * sysdeps/x86_64/dl-tls.h: Likewise.
84270 * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
84271
84272 2011-03-14 Andreas Schwab <schwab@redhat.com>
84273
84274 * elf/dl-load.c (_dl_dst_substitute): When skipping the first
84275 rpath element also skip the following colon.
84276 (expand_dynamic_string_token): Add is_path parameter and pass
84277 down to DL_DST_REQUIRED and _dl_dst_substitute.
84278 (decompose_rpath): Call expand_dynamic_string_token with
84279 non-zero is_path. Ignore empty rpaths.
84280 (_dl_map_object_from_fd): Call expand_dynamic_string_token
84281 with zero is_path.
84282
84283 2011-04-08 Andreas Schwab <schwab@linux-m68k.org>
84284
84285 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
84286 Make cancelable.
84287
84288 2011-04-09 Ulrich Drepper <drepper@gmail.com>
84289
84290 [BZ #12655]
84291 * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
84292 Patch by Filipe David Manana <fdmanana@apache.org>.
84293
84294 2011-04-07 Andreas Schwab <schwab@redhat.com>
84295
84296 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
84297 Maintain aligned stack.
84298 (CHECK_RSP): Remove unused macro.
84299
84300 2011-04-03 Ulrich Drepper <drepper@gmail.com>
84301
84302 * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
84303 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
84304
84305 2011-04-02 Ulrich Drepper <drepper@gmail.com>
84306
84307 * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
84308
84309 * include/features.h: Mention __USE_XOPEN2K8 in comment.
84310
84311 2011-03-26 H.J. Lu <hongjiu.lu@intel.com>
84312
84313 [BZ #12518]
84314 * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
84315 * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
84316 * sysdeps/x86_64/memmove.c: New file.
84317 * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
84318 (memcpy): Renamed to ...
84319 (__new_memcpy): This.
84320 (memcpy): Provide GLIBC_2_14 memcpy.
84321 * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
84322 (memcpy): Provide GLIBC_2_2_5 memcpy.
84323
84324 2011-04-01 Ulrich Drepper <drepper@gmail.com>
84325
84326 [BZ #12631]
84327 * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
84328
84329 2011-03-30 Andreas Schwab <schwab@redhat.com>
84330
84331 * misc/syncfs.c: New file.
84332 * misc/Makefile (routines): Add syncfs.
84333 * posix/unistd.h: Declare syncfs.
84334 * sysdeps/unix/syscalls.list: Add syncfs.
84335
84336 2011-04-01 Andreas Schwab <schwab@redhat.com>
84337
84338 * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
84339 open_by_handle_at.
84340 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
84341 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84342 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84343 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84344 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84345 * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
84346 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84347
84348 2011-04-01 Ulrich Drepper <drepper@gmail.com>
84349
84350 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
84351 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84352 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
84353 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84354 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84355 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84356 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84357
84358 * io/Makefile: Compile fallocate.c, fallocate64.c, and
84359 sync_file_range.c with -fexceptions.
84360 * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
84361 * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
84362 * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
84363 * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
84364 * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
84365 * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
84366 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
84367 sync_file_range as cancellation point
84368 * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file. This is
84369 now a wrapper around __call_sync_file_range with cancellation handling.
84370 * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
84371 * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this. Change
84372 function name to __call_sync_file_range.
84373 * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
84374 Add call_sync_file_range.
84375
84376 2011-04-01 Andreas Schwab <schwab@redhat.com>
84377
84378 * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84379 bits/timex.h.
84380
84381 2011-04-01 Ulrich Drepper <drepper@gmail.com>
84382
84383 * iconv/iconv.h: Fix typo in comment.
84384 * io/fcntl.h: Likewise.
84385 * libio/stdio.h: Likewise.
84386 * posix/spawn.h: Likewise.
84387 * posix/unistd.h: Likewise.
84388 * stdlib/stdlib.h: Likewise.
84389 * time/time.h: Likewise.
84390 * wcsmbs/wchar.h: Likewise.
84391
84392 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
84393 open_by_handle): Add.
84394 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
84395 and MAX_HANDLE_SZ. Declare name_to_handle_at and open_by_handle.
84396 Augment a few comments.
84397 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
84398 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
84399 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
84400 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
84401 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
84402 * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
84403 open_by_handle.
84404
84405 * io/fcntl.h (AT_EMPTY_PATH): Define.
84406
84407 2011-03-30 Ulrich Drepper <drepper@gmail.com>
84408
84409 * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
84410 * sysdeps/unix/sysv/linux/bits/time.h: New file.
84411 * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
84412 to...
84413 * sysdeps/unix/sysv/linux/bits/timex.h: ...here. New file.
84414 * Versions.def: Add GLIBC_2.14.
84415 * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
84416 Export.
84417
84418 2011-03-22 Ulrich Drepper <drepper@gmail.com>
84419
84420 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
84421 round counter.
84422 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
84423
84424 2011-03-20 H.J. Lu <hongjiu.lu@intel.com>
84425
84426 [BZ #12597]
84427 * string/test-strncmp.c (do_page_test): New function.
84428 (check2): Likewise.
84429 (test_main): Call check2.
84430 * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
84431
84432 2011-03-20 Ulrich Drepper <drepper@gmail.com>
84433
84434 [BZ #12587]
84435 * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
84436 Handle cache information in CPU leaf 4.
84437 * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
84438
84439 2011-03-18 Ulrich Drepper <drepper@gmail.com>
84440
84441 [BZ #12583]
84442 * posix/fnmatch.c (fnmatch): Check size of pattern in wide
84443 character representation.
84444 Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
84445
84446 2011-03-16 Ryan S. Arnold <rsa@us.ibm.com>
84447
84448 * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
84449 END(__isnan) to END(__isnanf) to match function entry point/label
84450 EALIGN(__isnanf,...).
84451
84452 2011-03-10 Jakub Jelinek <jakub@redhat.com>
84453
84454 * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
84455
84456 2011-03-10 Ulrich Drepper <drepper@gmail.com>
84457
84458 [BZ #12510]
84459 * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
84460 copy from the symbol referenced in the relocation to initialize the
84461 used variable.
84462 Patch by Piotr Bury <pbury@goahead.com>.
84463 * elf/Makefile: Add rules to build and tst-unique3.
84464 * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
84465 * elf/tst-unique3.cc: New file.
84466 * elf/tst-unique3.h: New file.
84467 * elf/tst-unique3lib.cc: New file.
84468 * elf/tst-unique3lib2.cc: New file.
84469
84470 * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
84471
84472 2011-03-10 Mike Frysinger <vapier@gentoo.org>
84473
84474 * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
84475 $LDFLAGS and -nostdlib -nostartfiles to linking step. Change main
84476 to _start.
84477
84478 2011-03-06 Ulrich Drepper <drepper@gmail.com>
84479
84480 * elf/dl-load.c (_dl_map_object): If we are looking for the first
84481 to-be-loaded object along a path to loader is ld.so.
84482
84483 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
84484 Ulrich Drepper <drepper@gmail.com>
84485
84486 * sysdeps/x86_64/memset.S: After aligning destination, code
84487 branches to different locations depending on the value of
84488 misalignment, when multiarch is enabled. Fix this.
84489
84490 2011-03-02 Harsha Jagasia <harsha.jagasia@amd.com>
84491
84492 * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
84493 Set _x86_64_preferred_memory_instruction for AMD processsors.
84494 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
84495 Set bit_Prefer_SSE_for_memop for AMD processors.
84496
84497 2011-03-04 Ulrich Drepper <drepper@gmail.com>
84498
84499 * libio/fmemopen.c (fmemopen): Optimize a bit.
84500
84501 2011-03-03 Andreas Schwab <schwab@redhat.com>
84502
84503 * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
84504
84505 2011-03-03 Roland McGrath <roland@redhat.com>
84506
84507 * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
84508
84509 2011-02-28 Aurelien Jarno <aurelien@aurel32.net>
84510
84511 * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
84512 __bzero_ultra1 instead of __memset_ultra1.
84513
84514 2011-02-23 Andreas Schwab <schwab@redhat.com>
84515 Ulrich Drepper <drepper@gmail.com>
84516
84517 [BZ #12509]
84518 * include/link.h (struct link_map): Add l_orig_initfini.
84519 * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
84520 returning unsuccessfully.
84521 * elf/dl-close.c (_dl_close_worker): If this is the last explicit
84522 close of a file loaded at startup, restore the original l_initfini
84523 list.
84524 * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
84525 list, store the pointer.
84526 * elf/Makefile ($(objpfx)noload-mem): New rule.
84527 (noload-ENV): Define.
84528 (tests): Add $(objpfx)noload-mem.
84529 * elf/noload.c: Include <memcheck.h>.
84530 (main): Call mtrace. Close all opened handles.
84531
84532 2011-02-17 Andreas Schwab <schwab@redhat.com>
84533
84534 [BZ #12454]
84535 * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
84536 dependencies are missing.
84537
84538 2011-02-22 Samuel Thibault <samuel.thibault@ens-lyon.org>
84539
84540 Fix __if_freereq crash: Unlike the generic version which uses free,
84541 Hurd needs munmap.
84542 * sysdeps/mach/hurd/ifreq.h: New file.
84543
84544 2011-01-27 Petr Baudis <pasky@suse.cz>
84545 Ulrich Drepper <drepper@gmail.com>
84546
84547 [BZ 12445]#
84548 * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
84549 to extend_alloca().
84550 * stdio-common/bug23.c: New file.
84551 * stdio-common/Makefile (tests): Add bug23.
84552
84553 2010-09-28 Andreas Schwab <schwab@redhat.com>
84554 Ulrich Drepper <drepper@gmail.com>
84555
84556 [BZ #12489]
84557 * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
84558 before performing relro protection. At old place add assertion
84559 to make sure nothing changed.
84560
84561 2011-02-17 Nathan Sidwell <nathan@codesourcery.com>
84562 Glauber de Oliveira Costa <glommer@gmail.com>
84563
84564 * elf/elf.h: Add new ARM TLS relocs.
84565
84566 2011-02-16 Ryan S. Arnold <rsa@us.ibm.com>
84567
84568 * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
84569 (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
84570 cast from r3.
84571 * sysdeps/wordsize-64/Makefile: New file. Add tst-writev to
84572 'tests' variable.
84573 * sysdeps/wordsize-64/tst-writev.c: New file.
84574
84575 2011-02-15 Ryan S. Arnold <rsa@us.ibm.com>
84576
84577 * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
84578 -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
84579 insns in _dl_start to prevent a TOC reference before relocs are
84580 resolved.
84581
84582 2011-02-15 Ulrich Drepper <drepper@gmail.com>
84583
84584 [BZ #12469]
84585 * Makeconfig: Remove RANLIB definition.
84586 * Makerules: Don't use RANLIB.
84587 * aclocal.m4: Remove ranlib test.
84588 * configure.in: No need to check for ranlib.
84589 * elf/rtld-Rules: Don't use RANLIB.
84590
84591 2011-02-16 Samuel Thibault <samuel.thibault@ens-lyon.org>
84592
84593 * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
84594 protection macro.
84595 * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
84596 inclusion protection macro.
84597
84598 * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
84599 SIGRTMIN and SIGRTMAX and print information in that case only when
84600 SIGRTMIN is defined.
84601
84602 2011-02-11 Jakub Jelinek <jakub@redhat.com>
84603
84604 * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
84605 arginfo fn returning -1.
84606
84607 * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
84608 and thousands string is zero terminated.
84609
84610 2011-02-03 Andreas Schwab <schwab@redhat.com>
84611
84612 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
84613 sysdeps/unix/sysv/linux/bits/socket.h.
84614
84615 2011-01-30 Samuel Thibault <samuel.thibault@ens-lyon.org>
84616
84617 * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
84618 (__CPU_COUNT): Remove old macros.
84619 (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
84620 (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
84621 (__CPU_ALLOC, __CPU_FREE): Add macros.
84622 (__sched_cpualloc, __sched_cpufree): Add declarations.
84623
84624 2011-02-05 Ulrich Drepper <drepper@gmail.com>
84625
84626 * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
84627 (struct datahead): Reuse 32 bits of the alignment for a TTL field.
84628 * nscd/aicache.c (addhstaiX): Return timeout of added value.
84629 (readdhstai): Return value of addhstaiX call.
84630 * nscd/grpcache.c (cache_addgr): Return timeout of added value.
84631 (addgrbyX): Return value returned by cache_addgr.
84632 (readdgrbyname): Return value returned by addgrbyX.
84633 (readdgrbygid): Likewise.
84634 * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
84635 (addpwbyX): Return value returned by cache_addpw.
84636 (readdpwbyname): Return value returned by addhstbyX.
84637 (readdpwbyuid): Likewise.
84638 * nscd/servicescache.c (cache_addserv): Return timeout of added value.
84639 (addservbyX): Return value returned by cache_addserv.
84640 (readdservbyname): Return value returned by addservbyX:
84641 (readdservbyport): Likewise.
84642 * nscd/hstcache.c (cache_addhst): Return timeout of added value.
84643 (addhstbyX): Return value returned by cache_addhst.
84644 (readdhstbyname): Return value returned by addhstbyX.
84645 (readdhstbyaddr): Likewise.
84646 (readdhstbynamev6): Likewise.
84647 (readdhstbyaddrv6): Likewise.
84648 * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
84649 (readdinitgroups): Return value returned by addinitgroupsX.
84650 * nscd/cache.c (readdfcts): Change return value of functions to time_t.
84651 (prune_cache): Keep track of timeout value of re-added entries.
84652 * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
84653 * nscd/nscd.h: Adjust prototypes of readd* functions.
84654
84655 2011-02-04 Roland McGrath <roland@redhat.com>
84656
84657 * nis/nis_server.c (nis_servstate): Use the right name for 0.
84658 (nis_stats): Likewise.
84659 * nis/nis_modify.c (nis_modify): Likewise.
84660 * nis/nis_remove.c (nis_remove): Likewise.
84661 * nis/nis_add.c (nis_add): Likewise.
84662
84663 * elf/dl-object.c (_dl_new_object): Remove unused variable L.
84664
84665 * posix/fnmatch_loop.c: Add some consts.
84666
84667 * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
84668
84669 2011-02-02 H.J. Lu <hongjiu.lu@intel.com>
84670
84671 [BZ #12460]
84672 * config.make.in (config-cflags-novzeroupper): Define.
84673 * configure.in: Substitute libc_cv_cc_novzeroupper.
84674 * elf/Makefile (AVX-CFLAGS): Define.
84675 (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
84676 (CFLAGS-tst-auditmod4a.c): Likewise.
84677 (CFLAGS-tst-auditmod4b.c): Likewise.
84678 (CFLAGS-tst-auditmod6b.c): Likewise.
84679 (CFLAGS-tst-auditmod6c.c): Likewise.
84680 (CFLAGS-tst-auditmod7b.c): Likewise.
84681 * sysdeps/i386/configure.in: Check -mno-vzeroupper.
84682
84683 2011-02-02 Ulrich Drepper <drepper@gmail.com>
84684
84685 * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
84686 function to the callback.
84687 Patch partly by Jiri Olsa <jolsa@redhat.com>.
84688
84689 2011-02-02 Andreas Schwab <schwab@redhat.com>
84690
84691 * shadow/sgetspent.c: Check return value of __sgetspent_r instead
84692 of errno.
84693
84694 2011-01-19 Ulrich Drepper <drepper@gmail.com>
84695
84696 [BZ #11724]
84697 * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
84698 of constructors.
84699 * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
84700 of destructors.
84701 (_dl_fini): Don't call _dl_sort_fini if there is only one object.
84702
84703 [BZ #11724]
84704 * elf/Makefile: Add rules to build and run new test.
84705 * elf/tst-initorder.c: New file.
84706 * elf/tst-initorder.exp: New file.
84707 * elf/tst-initordera1.c: New file.
84708 * elf/tst-initordera2.c: New file.
84709 * elf/tst-initordera3.c: New file.
84710 * elf/tst-initordera4.c: New file.
84711 * elf/tst-initorderb1.c: New file.
84712 * elf/tst-initorderb2.c: New file.
84713 * elf/tst-order-a1.c: New file.
84714 * elf/tst-order-a2.c: New file.
84715 * elf/tst-order-a3.c: New file.
84716 * elf/tst-order-a4.c: New file.
84717 * elf/tst-order-b1.c: New file.
84718 * elf/tst-order-b2.c: New file.
84719 * elf/tst-order-main.c: New file.
84720 New test case by George Gensure <werkt0@gmail.com>.
84721
84722 2010-10-01 Andreas Schwab <schwab@redhat.com>
84723
84724 * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
84725 decoding ACE if AI_CANONIDN.
84726
84727 2011-01-18 Ulrich Drepper <drepper@gmail.com>
84728
84729 * elf/Makefile: Build IFUNC tests unless multi-arch = no.
84730
84731 2011-01-17 Ulrich Drepper <drepper@gmail.com>
84732
84733 * version.h (RELEASE): Bump for 2.13 release.
84734 * include/features.h: (__GLIBC_MINOR__): Bump to 13.
84735
84736 * io/fcntl.h: Define AT_NO_AUTOMOUNT.
84737
84738 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
84739 MADV_NOHUGEPAGE.
84740 * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
84741 * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
84742 * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
84743 * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
84744 * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
84745 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
84746
84747 * posix/getconf.c: Update copyright year.
84748 * catgets/gencat.c: Likewise.
84749 * csu/version.c: Likewise.
84750 * debug/catchsegv.sh: Likewise.
84751 * debug/xtrace.sh: Likewise.
84752 * elf/ldconfig.c: Likewise.
84753 * elf/ldd.bash.in: Likewise.
84754 * elf/sprof.c (print_version): Likewise.
84755 * iconv/iconv_prog.c: Likewise.
84756 * iconv/iconvconfig.c: Likewise.
84757 * locale/programs/locale.c: Likewise.
84758 * locale/programs/localedef.c: Likewise.
84759 * malloc/memusage.sh: Likewise.
84760 * malloc/mtrace.pl: Likewise.
84761 * nscd/nscd.c (print_version): Likewise.
84762 * nss/getent.c: Likewise.
84763
84764 * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
84765 PF_CAIF, and PF_ALG.
84766 * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84767
84768 2011-01-16 Andreas Schwab <schwab@linux-m68k.org>
84769
84770 * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
84771 (modules-names): Use them.
84772 (ifunc-test-modules, ifunc-pie-tests): Define.
84773 (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
84774 tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
84775 (test-extras): Likewise.
84776 ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
84777 $(compile-command.c).
84778 ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
84779 (all-built-dso): Define.
84780 (check-textrel.out, check-execstack.out): Depend on it.
84781
84782 * configure.in: Don't override --enable-multi-arch.
84783
84784 2011-01-15 Ulrich Drepper <drepper@gmail.com>
84785
84786 [BZ #6812]
84787 * nscd/hstcache.c (tryagain): Define.
84788 (cache_addhst): Return tryagain not notfound for temporary errors.
84789 (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
84790 failed.
84791
84792 2011-01-14 Ulrich Drepper <drepper@gmail.com>
84793
84794 [BZ #10563]
84795 * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
84796 to make the syscall.
84797 * sysdeps/unix/sysv/linux/setgroups.c: New file.
84798
84799 [BZ #12378]
84800 * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
84801 and fall back to matching as normal character if the string ends before
84802 the matching ']' is found. This is what POSIX requires.
84803 * posix/testfnm.c: Adjust test result.
84804 * posix/globtest.sh: Adjust test result. Add new test.
84805 * posix/tst-fnmatch.input: Likewise.
84806 * posix/tst-fnmatch2.c: Add new test.
84807
84808 2010-12-28 Andreas Schwab <schwab@linux-m68k.org>
84809
84810 * elf/Makefile (check-execstack): Revert last change. Depend on
84811 check-execstack.h.
84812 (check-execstack.h): New target.
84813 (generated): Add check-execstack.h.
84814 * elf/check-execstack.c: Include "check-execstack.h".
84815 (main): Revert last change.
84816 (handle_file): Return zero if GNU_STACK is absent and
84817 DEFAULT_STACK_PERMS doesn't include PF_X.
84818
84819 2011-01-13 Ulrich Drepper <drepper@gmail.com>
84820
84821 * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
84822 in child fails because the descriptor is already closed.
84823 * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
84824 * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
84825 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
84826
84827 [BZ #12397]
84828 * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
84829 syscall.
84830
84831 [BZ #10484]
84832 * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
84833 temporary buffer used to handle multi lookups locally.
84834 * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
84835
84836 2011-01-12 Ulrich Drepper <drepper@gmail.com>
84837
84838 * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
84839 loader is ld.so.
84840
84841 2011-01-10 Paul Pluzhnikov <ppluzhnikov@google.com>
84842
84843 * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
84844 alignment for SSE2.
84845
84846 2011-01-12 Ulrich Drepper <drepper@gmail.com>
84847
84848 [BZ #12394]
84849 * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
84850 characters. When rounding increased number of integer digits recompute
84851 number of groups.
84852 * stdio-common/tst-grouping.c: New file.
84853 * stdio-common/Makefile: Add rules to build and run tst-grouping.
84854
84855 2011-01-09 Ulrich Drepper <drepper@gmail.com>
84856
84857 * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
84858 __FD_CLR, and __FS_ISSET. gcc generates better code on its own.
84859
84860 * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
84861 void.
84862 * bits/select.h: Likewise.
84863
84864 2011-01-08 Ulrich Drepper <drepper@gmail.com>
84865
84866 * po/ja.po: Update from translation team.
84867
84868 2011-01-04 David S. Miller <davem@sunset.davemloft.net>
84869
84870 [BZ #11155]
84871 * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
84872 implementation just like for lxstat, fxstatat, et al.
84873
84874 2010-12-27 Jim Meyering <meyering@redhat.com>
84875
84876 [BZ #12348]
84877 * posix/regexec.c (build_trtable): Return failure indication upon
84878 calloc failure. Otherwise, re_search_internal could infloop on OOM.
84879
84880 2010-12-25 Ulrich Drepper <drepper@gmail.com>
84881
84882 [BZ #12201]
84883 * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
84884 * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
84885 * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
84886 * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
84887
84888 [BZ #12207]
84889 * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
84890
84891 [BZ #12204]
84892 * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
84893 * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
84894
84895 2010-12-15 H.J. Lu <hongjiu.lu@intel.com>
84896
84897 * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
84898 * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
84899 script has SORT_BY_INIT_PRIORITY.
84900 * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
84901 NO_CTORS_DTORS_SECTIONS is defined.
84902 * elf/soinit.c: Likewise.
84903 * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
84904 NO_CTORS_DTORS_SECTIONS is defined.
84905 * sysdeps/mach/hurd/i386/init-first.c: Likewise.
84906 * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
84907 * sysdeps/sh/init-first.c: Likewise.
84908 * sysdeps/unix/sysv/linux/init-first.c: Likewise.
84909
84910 2010-12-24 Ulrich Drepper <drepper@gmail.com>
84911
84912 * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
84913 always use the slow path.
84914
84915 2010-12-15 Ryan S. Arnold <rsa@us.ibm.com>
84916
84917 * elf/Makefile: (check-execstack): Replace $(native-compile) with a
84918 similar rule which adds the sysdep directories to the header search in
84919 order to pick up the correct platform stackinfo.h.
84920 * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
84921 perform test if it is, otherwise return successfully without testing.
84922 * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
84923 DEFAULT_STACK_PERMS define in stackinfo.h.
84924 * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
84925 defined in stackinfo.h.
84926 * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
84927 DEFAULT_STACK_PERMS defined in stackinfo.h.
84928 * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
84929 * sysdeps/ia64/stackinfo.h: Likewise.
84930 * sysdeps/s390/stackinfo.h: Likewise.
84931 * sysdeps/sh/stackinfo.h: Likewise.
84932 * sysdeps/sparc/stackinfo.h: Likewise.
84933 * sysdeps/x86_64/stackinfo.h: Likewise.
84934 * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
84935 PF_X for powerpc64. Retain PF_X for powerpc32.
84936
84937 2010-12-19 Ulrich Drepper <drepper@gmail.com>
84938
84939 * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
84940 accurately.
84941 * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
84942 GETDENTS_64BIT_ALIGNED.
84943
84944 2010-12-14 Ulrich Drepper <dreper@gmail.com>
84945
84946 * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
84947
84948 2010-12-10 Andreas Schwab <schwab@redhat.com>
84949
84950 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
84951 _GNU_SOURCE.
84952
84953 * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
84954 * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
84955 Remove __restrict.
84956 (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
84957 (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
84958
84959 2010-12-09 Ulrich Drepper <drepper@gmail.com>
84960
84961 [BZ #11655]
84962 * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
84963 are initialized.
84964
84965 2010-12-09 Jakub Jelinek <jakub@redhat.com>
84966
84967 * string/bits/string3.h (memmove, bcopy): Remove __restrict.
84968
84969 2010-12-03 Ulrich Drepper <drepper@gmail.com>
84970
84971 * po/it.po: Update from translation team.
84972
84973 2010-12-01 H.J. Lu <hongjiu.lu@intel.com>
84974
84975 * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
84976 unused codes.
84977
84978 2010-11-30 Ulrich Drepper <drepper@gmail.com>
84979
84980 * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
84981
84982 2010-11-24 Andreas Schwab <schwab@redhat.com>
84983
84984 * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
84985 specially.
84986 (gaih_getanswer_slice): Likewise.
84987
84988 2010-10-20 Jakub Jelinek <jakub@redhat.com>
84989
84990 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
84991
84992 2010-05-31 Petr Baudis <pasky@suse.cz>
84993
84994 [BZ #11149]
84995 * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
84996 silently even in the chroot mode.
84997
84998 2010-11-22 Ulrich Drepper <drepper@gmail.com>
84999
85000 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
85001 last patch a bit. Pretty printing
85002
85003 2010-05-31 Petr Baudis <pasky@suse.cz>
85004
85005 [BZ #10085]
85006 * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
85007 initialization of skip_initgroups_dyn.
85008
85009 2010-11-19 Ulrich Drepper <drepper@gmail.com>
85010
85011 * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
85012 * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
85013
85014 2010-11-16 Ulrich Drepper <drepper@gmail.com>
85015
85016 * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
85017
85018 2010-11-11 Andreas Schwab <schwab@redhat.com>
85019
85020 * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
85021 * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
85022 (tst-fnmatch-ENV): Set MALLOC_TRACE.
85023 ($(objpfx)tst-fnmatch-mem): New rule.
85024 (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
85025 * posix/tst-fnmatch.c (main): Call mtrace.
85026
85027 2010-11-11 H.J. Lu <hongjiu.lu@intel.com>
85028
85029 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85030 Support Intel processor model 6 and model 0x2c.
85031
85032 2010-11-10 Luis Machado <luisgpm@br.ibm.com>
85033
85034 * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
85035 signed comparison.
85036
85037 2010-11-09 H.J. Lu <hongjiu.lu@intel.com>
85038
85039 [BZ #12205]
85040 * string/test-strncasecmp.c (check_result): New function.
85041 (do_one_test): Use it.
85042 (check1): New function.
85043 (test_main): Use it.
85044 * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
85045 Support strcasecmp and strncasecmp.
85046
85047 2010-11-08 Ulrich Drepper <drepper@gmail.com>
85048
85049 [BZ #12194]
85050 * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
85051 * sysdeps/x86_64/bits/byteswap.h: Likewise.
85052
85053 2010-11-07 H.J. Lu <hongjiu.lu@intel.com>
85054
85055 * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
85056 IFUNC support.
85057 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85058 memset-x86-64.
85059 * sysdeps/x86_64/multiarch/bzero.S: New file.
85060 * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
85061 * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
85062 * sysdeps/x86_64/multiarch/memset.S: New file.
85063 * sysdeps/x86_64/multiarch/memset_chk.S: New file.
85064 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
85065 Set bit_Prefer_SSE_for_memop for Intel processors.
85066 * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
85067 Define.
85068 (index_Prefer_SSE_for_memop): Define.
85069 (HAS_PREFER_SSE_FOR_MEMOP): Define.
85070
85071 2010-11-04 Luis Machado <luisgpm@br.ibm.com>
85072
85073 * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
85074 * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
85075
85076 2010-11-03 H.J. Lu <hongjiu.lu@intel.com>
85077
85078 [BZ #12191]
85079 * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
85080 (__x86_64_raw_data_cache_size_half): Likewise.
85081 (__x86_64_raw_shared_cache_size): Likewise.
85082 (__x86_64_raw_shared_cache_size_half): Likewise.
85083
85084 * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
85085 (__x86_64_raw_data_cache_size_half): Likewise.
85086 (__x86_64_raw_shared_cache_size): Likewise.
85087 (__x86_64_raw_shared_cache_size_half): Likewise.
85088 (init_cacheinfo): Set __x86_64_raw_data_cache_size,
85089 __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
85090 and __x86_64_raw_shared_cache_size_half. Round
85091 __x86_64_data_cache_size_half, __x86_64_data_cache_size
85092 __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
85093 to multiple of 256 bytes.
85094
85095 2010-11-03 Ulrich Drepper <drepper@gmail.com>
85096
85097 [BZ #12167]
85098 * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
85099 of inacessible symlinks. Verify result of symlink before returning it.
85100 * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
85101 Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
85102
85103 2010-10-28 Erich Ritz <erichritz@gmail.com>
85104
85105 * math/math.h (isinf): Fix typo in comment.
85106
85107 2010-11-01 Ulrich Drepper <drepper@gmail.com>
85108
85109 * po/da.po: Update from translation team.
85110
85111 2010-10-26 Ulrich Drepper <drepper@gmail.com>
85112
85113 * elf/rtld.c (dl_main): Move assertion after the point where rtld map
85114 is added to the list.
85115
85116 2010-10-20 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
85117 Ulrich Drepper <drepper@gmail.com>
85118
85119 * elf/dl-object.c (_dl_new_object): Don't append the new object to
85120 the global list here. Move code to...
85121 (_dl_add_to_namespace_list): ...here. New function.
85122 * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
85123 * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
85124 * elf/dl-load.c (lose): Don't remove the element from the list.
85125 (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
85126 (_dl_map_object): Likewise.
85127
85128 2010-10-25 Ulrich Drepper <drepper@gmail.com>
85129
85130 [BZ #12159]
85131 * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
85132 into all bytes of SSE register.
85133 Patch by Richard Li <richardpku@gmail.com>.
85134
85135 2010-10-24 Ulrich Drepper <drepper@gmail.com>
85136
85137 [BZ #12140]
85138 * malloc/malloc.c (_int_free): Fill correct number of bytes when
85139 perturbing.
85140
85141 2010-10-20 Michael B. Brutman <brutman@us.ibm.com>
85142
85143 * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
85144 * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
85145 * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
85146 * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
85147 * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
85148 submachine.
85149 * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
85150
85151 2010-10-22 Andreas Schwab <schwab@redhat.com>
85152
85153 * include/dlfcn.h (__RTLD_SECURE): Define.
85154 * elf/dl-load.c (_dl_map_object): Remove preloaded parameter. Use
85155 mode & __RTLD_SECURE instead.
85156 (open_path): Rename preloaded parameter to secure.
85157 * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
85158 * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
85159 * elf/dl-deps.c (openaux): Likewise.
85160 * elf/rtld.c (struct map_args): Remove is_preloaded.
85161 (map_doit): Don't use it.
85162 (dl_main): Likewise.
85163 (do_preload): Use __RTLD_SECURE instead of is_preloaded.
85164 (dlmopen_doit): Add __RTLD_SECURE to mode bits.
85165
85166 2010-09-09 Andreas Schwab <schwab@redhat.com>
85167
85168 * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
85169 (sysd-rules-targets): Remove duplicates.
85170 * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
85171 rtld-%.$o dependency.
85172
85173 2010-10-18 Andreas Schwab <schwab@redhat.com>
85174
85175 * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
85176 _dl_map_object do it.
85177
85178 2010-10-19 Ulrich Drepper <drepper@gmail.com>
85179
85180 * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
85181 fast fma builtins, define the macros in the C99 standard.
85182 (FP_FAST_FMAF): Likewise.
85183 (FP_FAST_FMAL): Likewise.
85184 * sysdeps/x86_64/bits/mathdef.h: Likewise.
85185
85186 * bits/mathdef.h: Update copyright year.
85187 * sysdeps/powerpc/bits/mathdef.h: Likewise.
85188
85189 2010-10-19 Michael Meissner <meissner@linux.vnet.ibm.com>
85190
85191 * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
85192 builtins, define the macros in the C99 standard.
85193 (FP_FAST_FMAF): Likewise.
85194 (FP_FAST_FMAL): Likewise.
85195 * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
85196 multiply/add.
85197 (FP_FAST_FMAF): Likewise.
85198
85199 2010-10-15 Jakub Jelinek <jakub@redhat.com>
85200
85201 [BZ #3268]
85202 * math/libm-test.inc (fma_test): Some new testcases.
85203 * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
85204 * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
85205 y and infinite z. Do multiplication by C already in long double.
85206 * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
85207 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
85208 y and infinite z. Do bitwise or of inexact bit into u.d.
85209 * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
85210 * sysdeps/i386/fpu/s_fmaf.S: Removed.
85211 * sysdeps/i386/fpu/s_fma.S: Removed.
85212 * sysdeps/i386/fpu/s_fmal.S: Removed.
85213
85214 2010-10-16 Jakub Jelinek <jakub@redhat.com>
85215
85216 [BZ #3268]
85217 * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
85218 * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
85219 computation is not scheduled after fetestexcept. Fix value
85220 of minimum denormal long double.
85221
85222 2010-10-14 Jakub Jelinek <jakub@redhat.com>
85223
85224 [BZ #3268]
85225 * math/libm-test.inc (fma_test): Add some more tests.
85226 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
85227 correctly.
85228
85229 2010-10-15 Andreas Schwab <schwab@redhat.com>
85230
85231 * scripts/data/localplt-s390-linux-gnu.data: New file.
85232 * scripts/data/localplt-s390x-linux-gnu.data: New file.
85233
85234 2010-10-13 Jakub Jelinek <jakub@redhat.com>
85235
85236 [BZ #3268]
85237 * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
85238 * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
85239 instead of dbl-64.
85240 * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
85241 inlines.
85242 * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
85243 * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
85244 if one of x and y is very large and the other is subnormal.
85245 * sysdeps/s390/fpu/s_fmaf.c: New file.
85246 * sysdeps/s390/fpu/s_fma.c: New file.
85247 * sysdeps/powerpc/fpu/s_fmaf.S: New file.
85248 * sysdeps/powerpc/fpu/s_fma.S: New file.
85249 * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
85250 * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
85251 * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
85252
85253 2010-10-12 Jakub Jelinek <jakub@redhat.com>
85254
85255 [BZ #3268]
85256 * math/libm-test.inc (fma_test): Add some more fmaf tests, add
85257 fma tests.
85258 * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
85259 * sysdeps/ieee754/dbl-64/s_fma.c: New file.
85260 * sysdeps/i386/i686/multiarch/s_fma.c: Include
85261 sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
85262 * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
85263 * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
85264 * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
85265
85266 2010-10-12 Ulrich Drepper <drepper@redhat.com>
85267
85268 [BZ #12078]
85269 * posix/regcomp.c (parse_branch): One more memory leak plugged.
85270 * posix/bug-regex31.input: Add test case.
85271
85272 2010-10-11 Ulrich Drepper <drepper@gmail.com>
85273
85274 * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
85275 * posix/bug-regex31.input: New file.
85276
85277 [BZ #12078]
85278 * posix/regcomp.c (parse_branch): Free memory when allocation failed.
85279 (parse_sub_exp): Fix last change, use postorder.
85280
85281 * posix/bug-regex31.c: New file.
85282 * posix/Makefile: Add rules to build and run bug-regex31.
85283
85284 * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
85285
85286 [BZ #12078]
85287 * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
85288
85289 [BZ #12108]
85290 * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
85291 to have entries in sys_siglist.
85292
85293 [BZ #12093]
85294 * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
85295 be NULL.
85296
85297 2010-10-07 Jakub Jelinek <jakub@redhat.com>
85298
85299 [BZ #3268]
85300 * math/libm-test.inc (fma_test): Add 2 fmaf tests.
85301 * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
85302 * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
85303 sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
85304 * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
85305 * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
85306 * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
85307 * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
85308 * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
85309 * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
85310 * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
85311 * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
85312 * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
85313 * math/ftestexcept.c (fetestexcept): Likewise.
85314 * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
85315 * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
85316 * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
85317 * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
85318 * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
85319 * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
85320 * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
85321
85322 2010-10-11 Ulrich Drepper <drepper@gmail.com>
85323
85324 [BZ #12107]
85325 * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
85326 newline.
85327
85328 2010-10-06 Ulrich Drepper <drepper@gmail.com>
85329
85330 * string/bug-strstr1.c: New file.
85331 * string/Makefile: Add rules to build and run bug-strstr1.
85332
85333 2010-10-05 Eric Blake <eblake@redhat.com>
85334
85335 [BZ #12092]
85336 * string/str-two-way.h (two_way_long_needle): Always clear memory
85337 when skipping input due to the shift table.
85338
85339 2010-10-03 Ulrich Drepper <drepper@gmail.com>
85340
85341 [BZ #12005]
85342 * malloc/mcheck.c: Handle large requests.
85343
85344 [BZ #12077]
85345 * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
85346 for strncmp and strncasecmp.
85347 * string/stratcliff.c: Add tests for strcmp and strncmp.
85348 * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
85349
85350 2010-09-28 Nobuhiro Iwamatsu <iwamatsu@nigauri.org>
85351
85352 * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
85353 __set_fpscr.
85354
85355 2010-09-30 Andreas Jaeger <aj@suse.de>
85356
85357 * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
85358 (CGROUP_SUPER_MAGIC): Define.
85359 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85360 Handle btrfs and cgroup file systems.
85361 * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
85362 Likewise.
85363
85364 2010-09-27 Luis Machado <luisgpm@br.ibm.com>
85365
85366 * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
85367 * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
85368
85369 2010-09-29 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
85370
85371 [BZ #12067]
85372 * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
85373 trying to locate the ELF header.
85374
85375 2010-09-27 Andreas Schwab <schwab@redhat.com>
85376
85377 [BZ #11611]
85378 * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
85379 Mask out sign-bit copies when constructing f_fsid.
85380
85381 2010-09-24 Petr Baudis <pasky@suse.cz>
85382
85383 * debug/stack_chk_fail_local.c: Add missing licence exception.
85384 * debug/warning-nop.c: Likewise.
85385
85386 2010-09-15 Joseph Myers <joseph@codesourcery.com>
85387
85388 * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
85389 implementing getdents64 using getdents syscall, set d_type if
85390 __ASSUME_GETDENTS32_D_TYPE.
85391
85392 2010-09-16 Andreas Schwab <schwab@redhat.com>
85393
85394 * elf/dl-close.c (free_slotinfo, free_mem): Move to...
85395 * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
85396
85397 2010-09-21 Ulrich Drepper <drepper@redhat.com>
85398
85399 [BZ #12037]
85400 * posix/unistd.h: Undo change of feature selection for ftruncate from
85401 2010-01-11.
85402
85403 2010-09-20 Ulrich Drepper <drepper@redhat.com>
85404
85405 * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
85406 detection.
85407
85408 2010-09-20 Andreas Schwab <schwab@redhat.com>
85409
85410 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
85411 fanotify_mark.
85412 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85413
85414 2010-09-14 Andreas Schwab <schwab@redhat.com>
85415
85416 * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
85417 variables after CHECK_SP call.
85418 * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
85419
85420 2010-09-13 Andreas Schwab <schwab@redhat.com>
85421 Ulrich Drepper <drepper@redhat.com>
85422
85423 * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
85424 re-relocationg ld.so.
85425 * elf/dl-support.c (_dl_non_dynamic_init): And here after the
85426 _dl_init_paths call.
85427 * elf/dl-load.c (_dl_init_paths). Don't set GLRO(dl_init_all_dirs)
85428 here anymore.
85429
85430 2010-09-14 Ulrich Drepper <drepper@redhat.com>
85431
85432 * resolv/res_init.c (__res_vinit): Count the default server we added.
85433
85434 2010-09-08 Chung-Lin Tang <cltang@codesourcery.com>
85435 Ulrich Drepper <drepper@redhat.com>
85436
85437 [BZ #11968]
85438 * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
85439 (____longjmp_chk): Use %ebx for saving value across system call.
85440 Add unwind info.
85441
85442 2010-09-06 Andreas Schwab <schwab@redhat.com>
85443
85444 * manual/Makefile: Don't mix pattern rules with normal rules.
85445
85446 2010-09-05 Andreas Schwab <schwab@linux-m68k.org>
85447
85448 * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
85449 operation.
85450 * libio/iofdopen.c (_IO_new_fdopen): Likewise.
85451 * libio/iofopncook.c (_IO_cookie_init): Likewise.
85452 * libio/iovdprintf.c (_IO_vdprintf): Likewise.
85453 * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
85454 * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
85455 Likewise.
85456
85457 2010-09-04 Ulrich Drepper <drepper@redhat.com>
85458
85459 [BZ #11979]
85460 * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
85461 IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
85462
85463 2010-09-02 Ulrich Drepper <drepper@redhat.com>
85464
85465 * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
85466 * sysdeps/x86_64/addmul_1.S: Likewise.
85467 * sysdeps/x86_64/lshift.S: Likewise.
85468 * sysdeps/x86_64/mul_1.S: Likewise.
85469 * sysdeps/x86_64/rshift.S: Likewise.
85470 * sysdeps/x86_64/sub_n.S: Likewise.
85471 * sysdeps/x86_64/submul_1.S: Likewise.
85472
85473 2010-09-01 Samuel Thibault <samuel.thibault@ens-lyon.org>
85474
85475 This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
85476 Define __sched_param instead of SCHED_* and sched_param when
85477 <bits/sched.h> is included with __need_schedparam defined.
85478 * bits/sched.h [__need_schedparam]
85479 (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
85480 [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
85481 (__defined_schedparam): Define to 1.
85482 (__sched_param): New structure, identical to sched_param.
85483 (__need_schedparam): Undefine.
85484
85485 2010-08-31 Mike Frysinger <vapier@gentoo.org>
85486
85487 * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
85488 (epoll_create1): Declare.
85489
85490 * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
85491
85492 2010-08-31 Andreas Schwab <schwab@redhat.com>
85493
85494 [BZ #7066]
85495 * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
85496 shifting retval into place.
85497
85498 2010-09-01 Ulrich Drepper <drepper@redhat.com>
85499
85500 * nis/rpcsvc/nis.h: Update copyright notice.
85501 * nis/rpcsvc/nis.x: Likewise.
85502 * nis/rpcsvc/nis_callback.h: Likewise.
85503 * nis/rpcsvc/nis_callback.x: Likewise.
85504 * nis/rpcsvc/nis_object.x: Likewise.
85505 * nis/rpcsvc/nis_tags.h: Likewise.
85506 * nis/rpcsvc/yp.h: Likewise.
85507 * nis/rpcsvc/yp.x: Likewise.
85508 * nis/rpcsvc/ypupd.h: Likewise.
85509 * nis/yp_xdr.c: Likewise.
85510 * nis/ypupdate_xdr.c: Likewise.
85511
85512 * sunrpc/pm_getport.c (__libc_rpc_getport): New function. This is
85513 mainly the body of pmap_getport. Add parameters to specify timeouts.
85514 (pmap_getport): Use __libc_rpc_getport.
85515 * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
85516 * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
85517 * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
85518
85519 2010-08-31 Andreas Schwab <schwab@linux-m68k.org>
85520
85521 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
85522 fanotify_mark.
85523
85524 2010-08-27 Roland McGrath <roland@redhat.com>
85525
85526 * sysdeps/i386/i686/multiarch/Makefile
85527 (CFLAGS-varshift.c): New variable.
85528
85529 2010-08-27 Ulrich Drepper <drepper@redhat.com>
85530
85531 * sysdeps/i386/i686/multiarch/varshift.S: File removed.
85532 * sysdeps/i386/i686/multiarch/varshift.c: New file.
85533
85534 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
85535
85536 * sysdeps/x86_64/strlen.S: Minimal code improvement.
85537
85538 2010-08-26 H.J. Lu <hongjiu.lu@intel.com>
85539
85540 * sysdeps/x86_64/strlen.S: Unroll the loop.
85541 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
85542 strlen-sse2 strlen-sse2-bsf.
85543 * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
85544 __strlen_no_bsf if bit_Slow_BSF is set.
85545 (__strlen_sse42): Removed.
85546 * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
85547 * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
85548
85549 2010-08-25 Roland McGrath <roland@redhat.com>
85550
85551 * sysdeps/x86_64/multiarch/varshift.S: File removed.
85552 * sysdeps/x86_64/multiarch/varshift.c: New file.
85553 * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
85554 * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
85555 * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
85556 * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
85557
85558 2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
85559
85560 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
85561 strlen-sse2 strlen-sse2-bsf.
85562 * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
85563 __strlen_sse2_bsf if bit_Slow_BSF is unset.
85564 (__strlen_sse2): Removed.
85565 * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
85566 * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
85567 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
85568 bit_Slow_BSF for Atom.
85569 * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
85570 (index_Slow_BSF): Define.
85571 (HAS_SLOW_BSF): Define.
85572
85573 2010-08-25 Ulrich Drepper <drepper@redhat.com>
85574
85575 [BZ #10851]
85576 * resolv/res_init.c (__res_vinit): When no server address at all
85577 is given default to loopback.
85578
85579 2010-08-24 Roland McGrath <roland@redhat.com>
85580
85581 * configure.in: Remove config-name.h generation.
85582 * configure: Regenerated.
85583 * config-name.in: File removed.
85584 * scripts/config-uname.sh: New file.
85585 * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
85586 ($(objdir)config-name.h): New target.
85587
85588 * sunrpc/rpc_parse.h: Avoid nested comment.
85589
85590 2010-08-24 Richard Henderson <rth@redhat.com>
85591 Ulrich Drepper <drepper@redhat.com>
85592 H.J. Lu <hongjiu.lu@intel.com>
85593
85594 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
85595 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
85596 * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
85597 Replace _mm_srli_si128 with __m128i_shift_right. Replace
85598 _mm_alignr_epi8 with _mm_loadu_si128.
85599 * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
85600 * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
85601 (__m128i_shift_right): Removed.
85602 * sysdeps/i386/i686/multiarch/varshift.h: New file.
85603 * sysdeps/i386/i686/multiarch/varshift.S: New file.
85604 * sysdeps/x86_64/multiarch/varshift.h: New file.
85605 * sysdeps/x86_64/multiarch/varshift.S: New file.
85606
85607 2010-08-21 Mike Frysinger <vapier@gentoo.org>
85608
85609 * configure.in: Move assembler checks to before sysdep dir checking.
85610
85611 2010-08-20 Petr Baudis <pasky@suse.cz>
85612
85613 * LICENSES: Sync the sunrpc license.
85614
85615 2010-08-19 Ulrich Drepper <drepper@redhat.com>
85616
85617 * sunrpc/auth_des.c: Update copyright notice once again.
85618 * sunrpc/auth_none.c: Likewise.
85619 * sunrpc/auth_unix.c: Likewise.
85620 * sunrpc/authdes_prot.c: Likewise.
85621 * sunrpc/authuxprot.c: Likewise.
85622 * sunrpc/bindrsvprt.c: Likewise.
85623 * sunrpc/clnt_gen.c: Likewise.
85624 * sunrpc/clnt_perr.c: Likewise.
85625 * sunrpc/clnt_raw.c: Likewise.
85626 * sunrpc/clnt_simp.c: Likewise.
85627 * sunrpc/clnt_tcp.c: Likewise.
85628 * sunrpc/clnt_udp.c: Likewise.
85629 * sunrpc/clnt_unix.c: Likewise.
85630 * sunrpc/des_crypt.c: Likewise.
85631 * sunrpc/des_soft.c: Likewise.
85632 * sunrpc/get_myaddr.c: Likewise.
85633 * sunrpc/getrpcport.c: Likewise.
85634 * sunrpc/key_call.c: Likewise.
85635 * sunrpc/key_prot.c: Likewise.
85636 * sunrpc/openchild.c: Likewise.
85637 * sunrpc/pm_getmaps.c: Likewise.
85638 * sunrpc/pm_getport.c: Likewise.
85639 * sunrpc/pmap_clnt.c: Likewise.
85640 * sunrpc/pmap_prot.c: Likewise.
85641 * sunrpc/pmap_prot2.c: Likewise.
85642 * sunrpc/pmap_rmt.c: Likewise.
85643 * sunrpc/rpc/auth.h: Likewise.
85644 * sunrpc/rpc/auth_unix.h: Likewise.
85645 * sunrpc/rpc/clnt.h: Likewise.
85646 * sunrpc/rpc/des_crypt.h: Likewise.
85647 * sunrpc/rpc/key_prot.h: Likewise.
85648 * sunrpc/rpc/netdb.h: Likewise.
85649 * sunrpc/rpc/pmap_clnt.h: Likewise.
85650 * sunrpc/rpc/pmap_prot.h: Likewise.
85651 * sunrpc/rpc/pmap_rmt.h: Likewise.
85652 * sunrpc/rpc/rpc.h: Likewise.
85653 * sunrpc/rpc/rpc_des.h: Likewise.
85654 * sunrpc/rpc/rpc_msg.h: Likewise.
85655 * sunrpc/rpc/svc.h: Likewise.
85656 * sunrpc/rpc/svc_auth.h: Likewise.
85657 * sunrpc/rpc/types.h: Likewise.
85658 * sunrpc/rpc/xdr.h: Likewise.
85659 * sunrpc/rpc_clntout.c: Likewise.
85660 * sunrpc/rpc_cmsg.c: Likewise.
85661 * sunrpc/rpc_common.c: Likewise.
85662 * sunrpc/rpc_cout.c: Likewise.
85663 * sunrpc/rpc_dtable.c: Likewise.
85664 * sunrpc/rpc_hout.c: Likewise.
85665 * sunrpc/rpc_main.c: Likewise.
85666 * sunrpc/rpc_parse.c: Likewise.
85667 * sunrpc/rpc_parse.h: Likewise.
85668 * sunrpc/rpc_prot.c: Likewise.
85669 * sunrpc/rpc_sample.c: Likewise.
85670 * sunrpc/rpc_scan.c: Likewise.
85671 * sunrpc/rpc_scan.h: Likewise.
85672 * sunrpc/rpc_svcout.c: Likewise.
85673 * sunrpc/rpc_tblout.c: Likewise.
85674 * sunrpc/rpc_util.c: Likewise.
85675 * sunrpc/rpc_util.h: Likewise.
85676 * sunrpc/rpcinfo.c: Likewise.
85677 * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
85678 * sunrpc/rpcsvc/key_prot.x: Likewise.
85679 * sunrpc/rpcsvc/klm_prot.x: Likewise.
85680 * sunrpc/rpcsvc/mount.x: Likewise.
85681 * sunrpc/rpcsvc/nfs_prot.x: Likewise.
85682 * sunrpc/rpcsvc/nlm_prot.x: Likewise.
85683 * sunrpc/rpcsvc/rex.x: Likewise.
85684 * sunrpc/rpcsvc/rstat.x: Likewise.
85685 * sunrpc/rpcsvc/rusers.x: Likewise.
85686 * sunrpc/rpcsvc/sm_inter.x: Likewise.
85687 * sunrpc/rpcsvc/spray.x: Likewise.
85688 * sunrpc/rpcsvc/yppasswd.x: Likewise.
85689 * sunrpc/rtime.c: Likewise.
85690 * sunrpc/svc.c: Likewise.
85691 * sunrpc/svc_auth.c: Likewise.
85692 * sunrpc/svc_authux.c: Likewise.
85693 * sunrpc/svc_raw.c: Likewise.
85694 * sunrpc/svc_run.c: Likewise.
85695 * sunrpc/svc_simple.c: Likewise.
85696 * sunrpc/svc_tcp.c: Likewise.
85697 * sunrpc/svc_udp.c: Likewise.
85698 * sunrpc/svc_unix.c: Likewise.
85699 * sunrpc/svcauth_des.c: Likewise.
85700 * sunrpc/xcrypt.c: Likewise.
85701 * sunrpc/xdr.c: Likewise.
85702 * sunrpc/xdr_array.c: Likewise.
85703 * sunrpc/xdr_float.c: Likewise.
85704 * sunrpc/xdr_mem.c: Likewise.
85705 * sunrpc/xdr_rec.c: Likewise.
85706 * sunrpc/xdr_ref.c: Likewise.
85707 * sunrpc/xdr_sizeof.c: Likewise.
85708 * sunrpc/xdr_stdio.c: Likewise.
85709
85710 * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
85711 handling.
85712
85713 2010-08-19 Andreas Schwab <schwab@redhat.com>
85714
85715 * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
85716
85717 2010-08-19 Luis Machado <luisgpm@br.ibm.com>
85718
85719 * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
85720 * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
85721 * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
85722 * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
85723 * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
85724 * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
85725 * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
85726 * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
85727 * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
85728 * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
85729 * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
85730 * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
85731 * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
85732 * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
85733
85734 2010-07-26 Anton Blanchard <anton@samba.org>
85735
85736 * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
85737 * malloc/arena.c (heap_trim): Likewise.
85738
85739 2010-08-16 Ulrich Drepper <drepper@redhat.com>
85740
85741 * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
85742 here. Not...
85743 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
85744 * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
85745
85746 2010-08-12 H.J. Lu <hongjiu.lu@intel.com>
85747
85748 * sysdeps/i386/elf/Makefile: New file.
85749
85750 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
85751
85752 * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
85753 from fanotify_init.
85754 * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
85755 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85756
85757 2010-08-15 Ulrich Drepper <drepper@redhat.com>
85758
85759 * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
85760 of strncasecmp_l.
85761 * sysdeps/multiarch/strcmp.S: Likewise.
85762
85763 2010-08-14 Ulrich Drepper <drepper@redhat.com>
85764
85765 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85766 strncase_l-nonascii.
85767 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85768 Add strncase_l-ssse3.
85769 * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
85770 * sysdeps/x86_64/strcmp.S: Likewise.
85771 * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
85772 * sysdeps/x86_64/multiarch/strncase_l.S: New file.
85773 * sysdeps/x86_64/strncase.S: New file.
85774 * sysdeps/x86_64/strncase_l-nonascii.c: New file.
85775 * sysdeps/x86_64/strncase_l.S: New file.
85776 * string/Makefile (strop-tests): Add strncasecmp.
85777 * string/test-strncasecmp.c: New file.
85778
85779 * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
85780 warning.
85781
85782 * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
85783 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
85784
85785 2010-08-14 Andreas Schwab <schwab@linux-m68k.org>
85786
85787 * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
85788
85789 2010-08-12 Ulrich Drepper <drepper@redhat.com>
85790
85791 * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
85792 * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
85793 * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
85794
85795 2010-05-01 Alan Modra <amodra@gmail.com>
85796
85797 * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
85798 * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
85799 * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
85800 * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
85801 * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
85802 tidying. Don't tail-call __sigjmp_save for static lib.
85803 * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
85804 save location.
85805 (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
85806 (CALL_MCOUNT): Add eh info, and nop after bl.
85807 (TAIL_CALL_SYSCALL_ERROR): New macro.
85808 (PSEUDO_RET): Use it.
85809 * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
85810 Correct save location of integer regs and cr.
85811 (_dl_profile_resolve): Correct cr save location. Delete nops
85812 after bl when SHARED. Reduce cfi size a little by better
85813 placement of cfi directives.
85814 * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
85815 make a stack frame. Instead use parm save area as a temp.
85816 * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
85817 make a stack frame. Use TAIL_CALL_SYSCALL_ERROR.
85818 * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
85819 Don't make a stack frame for parent, use parm save area.
85820 Increase child stack frame to 112 bytes. Don't save unused reg,
85821 and adjust reg usage. Set up cfi on error recovery and
85822 epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
85823 * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
85824 (__makecontext): Add dummy nop after jump to exit.
85825 * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
85826 Use correct parm save area and cr save, reduce stack frame.
85827 Correct cfi for possible PSEUDO_RET frame setup.
85828 * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
85829 Branch to local label emitted by PSEUDO_RET rather than
85830 __syscall_error.
85831
85832 2010-08-12 Andreas Schwab <schwab@redhat.com>
85833
85834 [BZ #11904]
85835 * locale/programs/locale.c (print_assignment): New function.
85836 (show_locale_vars): Use it.
85837
85838 2010-08-11 Ulrich Drepper <drepper@redhat.com>
85839
85840 * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
85841 field.
85842 (struct statfs64): Likewise.
85843 (_STATFS_F_FLAGS): Define.
85844 * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
85845 * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
85846 Don't define if __ASSUME_STATFS_F_FLAGS is defined.
85847 (ST_VALID): Define locally.
85848 (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
85849 __statvfs_getflags, use the provided value.
85850 * sysdeps/unix/sysv/linux/kernel-features.h: Define
85851 __ASSUME_STATFS_F_FLAGS.
85852
85853 * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
85854
85855 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
85856 Add sys/fanotify.h.
85857 * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
85858 fanotify_mask for GLIBC_2.13.
85859 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
85860 fanotify_init and fanotify_mark.
85861 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
85862 * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
85863
85864 * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
85865 Add prlimit.
85866 * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
85867 prlimit64 for GLIBC_2.13.
85868 * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
85869 prlimit64.
85870 * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
85871 syscall.
85872 * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
85873 * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
85874 * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
85875 * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
85876 * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise. Also
85877 add prlimit alias.
85878 * sysdeps/unix/sysv/linux/prlimit.c: New file.
85879
85880 [BZ #11903]
85881 * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
85882 Patch by Evgeni Bikov <bikovevg@iitp.ru>.
85883
85884 * nss/Makefile: Add rules to build and run tst-nss-test1.
85885 * shlib-versions: Add entry for libnss_test1.
85886 * nss/nss_test1.c: New file.
85887 * nss/tst-nss-test1.c: New file.
85888
85889 * nss/nsswitch.c (__nss_database_custom): Define new variable.
85890 (__nss_configure_lookup): Set appropriate entry in
85891 __nss_configure_lookup to true.
85892 * nss/nsswitch.h: Define enum with indeces of databases in
85893 databases and __nss_database_custom arrays. Declare
85894 __nss_database_custom.
85895 * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
85896 to avoid using nscd when custom rules are installed.
85897 * nss/getXXbyYY_r.c: Likewise.
85898 * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
85899
85900 * nss/nss_files/files-parse.c: Whitespace fixes.
85901
85902 2010-08-09 Ulrich Drepper <drepper@redhat.com>
85903
85904 [BZ #11883]
85905 * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
85906 * posix/fnmatch_loop.c: Likewise.
85907
85908 2010-07-17 Andi Kleen <ak@linux.intel.com>
85909
85910 * sysdeps/i386/i386-mcount.S (__fentry__): Define.
85911 * sysdeps/x86_64/_mcount.S (__fentry__): Define.
85912 * stdlib/Versions (__fentry__): Add for GLIBC 2.13
85913 * Versions.def [GLIBC_2.13]: Add.
85914
85915 2010-08-06 Ulrich Drepper <drepper@redhat.com>
85916
85917 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
85918 Also fail if tpwd after pwuid call is NULL.
85919
85920 2010-07-31 Samuel Thibault <samuel.thibault@ens-lyon.org>
85921
85922 * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
85923 when converting to ms.
85924
85925 2010-06-06 Samuel Thibault <samuel.thibault@ens-lyon.org>
85926
85927 * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
85928 EOPNOTSUPP errors with ENOTTY.
85929 * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
85930 EOPNOTSUPP errors with ENOTTY.
85931
85932 2010-07-31 Ulrich Drepper <drepper@redhat.com>
85933
85934 * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
85935 Add strcasecmp_l-ssse3.
85936 * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
85937 strcasecmp.
85938 * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
85939 * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
85940 * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
85941
85942 2010-07-30 Ulrich Drepper <drepper@redhat.com>
85943
85944 * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
85945
85946 * string/Makefile (strop-tests): Add strcasecmp.
85947 * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
85948 strcasecmp_l-nonascii.
85949 (gen-as-const-headers): Add locale-defines.sym.
85950 * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
85951 * sysdeps/x86_64/strcasecmp.S: New file.
85952 * sysdeps/x86_64/strcasecmp_l.S: New file.
85953 * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
85954 * sysdeps/x86_64/locale-defines.sym: New file.
85955 * string/test-strcasecmp.c: New file.
85956
85957 * string/test-strcasestr.c: Test both ends of the range of characters.
85958 * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
85959
85960 2010-07-29 Roland McGrath <roland@redhat.com>
85961
85962 [BZ #11856]
85963 * manual/locale.texi (Yes-or-No Questions): Fix example code.
85964
85965 2010-07-27 Ulrich Drepper <drepper@redhat.com>
85966
85967 * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
85968 for ld.so.
85969
85970 2010-07-27 Andreas Schwab <schwab@redhat.com>
85971
85972 * manual/memory.texi (Malloc Tunable Parameters): Document
85973 M_PERTURB.
85974
85975 2010-07-26 Roland McGrath <roland@redhat.com>
85976
85977 [BZ #11840]
85978 * configure.in (-fgnu89-inline check): Set and substitute
85979 gnu89_inline, not libc_cv_gnu89_inline.
85980 * configure: Regenerated.
85981 * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
85982
85983 2010-07-26 Ulrich Drepper <drepper@redhat.com>
85984
85985 * string/test-strnlen.c: New file.
85986 * string/Makefile (strop-tests): Add strnlen.
85987 * string/tester.c (test_strnlen): Add a few more test cases.
85988 * string/tst-strlen.c: Better error reporting.
85989
85990 * sysdeps/x86_64/strnlen.S: New file.
85991
85992 2010-07-24 Ulrich Drepper <drepper@redhat.com>
85993
85994 * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
85995 lower-latency instructions.
85996
85997 2010-07-23 Ulrich Drepper <drepper@redhat.com>
85998
85999 * string/test-strcasestr.c: New file.
86000 * string/test-strstr.c: New file.
86001 * string/Makefile (strop-tests): Add strstr and strcasestr.
86002 * string/str-two-way.h: Don't undefine MAX.
86003 * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
86004
86005 2010-07-21 Andreas Schwab <schwab@redhat.com>
86006
86007 * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
86008 strcasestr-nonascii.
86009 (CFLAGS-strcasestr-nonascii.c): Define.
86010 * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
86011 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
86012 Remove unused attribute.
86013
86014 2010-07-20 Roland McGrath <roland@redhat.com>
86015
86016 * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
86017 dl_hwcap_mask as well as dl_hwcap. Without this, dsocaps matching in
86018 ld.so.cache was broken. With it, there is no way to disable dsocaps
86019 like LD_HWCAP_MASK can disable hwcaps.
86020
86021 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
86022
86023 * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
86024
86025 2010-07-16 Ulrich Drepper <drepper@redhat.com>
86026
86027 * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
86028 call in strcasestr.
86029 * sysdeps/x86_64/multiarch/strcasestr.c: Declare
86030 __strcasestr_sse42_nonascii.
86031 * sysdeps/x86_64/multiarch/Makefile: Add rules to build
86032 strcasestr-nonascii.c.
86033 * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
86034
86035 2010-06-15 Luis Machado <luisgpm@br.ibm.com>
86036
86037 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
86038 * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
86039 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
86040 * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
86041
86042 2010-07-09 Ulrich Drepper <drepper@redhat.com>
86043
86044 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
86045 fcntl.
86046
86047 2010-07-06 Andreas Schwab <schwab@redhat.com>
86048
86049 [BZ #11577]
86050 * elf/dl-version.c (match_symbol): Don't pass NULL occation to
86051 dl_signal_cerror.
86052
86053 2010-07-06 Ulrich Drepper <drepper@redhat.com>
86054
86055 * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
86056 _PC_PIPE_BUF using F_GETPIPE_SZ.
86057
86058 2010-07-05 Roland McGrath <roland@redhat.com>
86059
86060 * manual/arith.texi (Rounding Functions): Fix rint description
86061 implicit in round description.
86062
86063 2010-07-02 Ulrich Drepper <drepper@redhat.com>
86064
86065 * elf/Makefile: Fix linking for a few tests to make recent linker
86066 happy.
86067
86068 2010-06-30 Andreas Schwab <schwab@redhat.com>
86069
86070 * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
86071 $(common-objpfx)libc_nonshared.a.
86072
86073 2010-06-21 Luis Machado <luisgpm@br.ibm.com>
86074
86075 * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
86076 * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
86077 * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
86078 * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
86079 * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
86080 * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
86081 * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
86082 * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
86083 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
86084 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
86085 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
86086 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
86087 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
86088 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
86089 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
86090 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
86091 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
86092 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
86093 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
86094 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
86095 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
86096 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
86097 * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
86098 * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
86099 * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
86100 * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
86101 * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
86102 * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
86103 * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
86104 * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
86105 * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
86106 * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
86107 * sysdeps/powerpc/powerpc32/power7/Implies: New file.
86108 * sysdeps/powerpc/powerpc64/power7/Implies: New file.
86109 * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
86110 * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
86111 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
86112 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
86113 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
86114 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
86115 * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
86116 * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
86117 * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
86118 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
86119 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
86120 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
86121 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
86122 * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
86123
86124 2010-06-25 H.J. Lu <hongjiu.lu@intel.com>
86125
86126 * debug/memmove_chk.c (__memmove_chk): Renamed to ...
86127 (MEMMOVE_CHK): ...this. Default to __memmove_chk.
86128 * string/memmove.c (memmove): Renamed to ...
86129 (MEMMOVE): ...this. Default to memmove.
86130 * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
86131 * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
86132 (END_CHK): Define.
86133 * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86134 memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
86135 mempcpy-ssse3-back memmove-ssse3-back.
86136 * sysdeps/x86_64/multiarch/bcopy.S: New file .
86137 * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
86138 * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
86139 * sysdeps/x86_64/multiarch/memcpy.S: New file.
86140 * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
86141 * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
86142 * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
86143 * sysdeps/x86_64/multiarch/memmove.c: New file.
86144 * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
86145 * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
86146 * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
86147 * sysdeps/x86_64/multiarch/mempcpy.S: New file.
86148 * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
86149 * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
86150 Define.
86151 (index_Fast_Copy_Backward): Define.
86152 (HAS_ARCH_FEATURE): Define.
86153 (HAS_FAST_REP_STRING): Define.
86154 (HAS_FAST_COPY_BACKWARD): Define.
86155
86156 2010-06-21 Andreas Schwab <schwab@redhat.com>
86157
86158 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
86159 Restore proper fallback handling.
86160
86161 2010-06-19 Ulrich Drepper <drepper@redhat.com>
86162
86163 [BZ #11701]
86164 * posix/group_member.c (__group_member): Correct checking loop.
86165
86166 * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
86167 OOM in getpwuid_r correctly. Return error number when the caller
86168 should return, otherwise -1.
86169 (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
86170 call returning > 0 value.
86171 * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
86172
86173 2010-06-07 Andreas Schwab <schwab@redhat.com>
86174
86175 * dlfcn/Makefile: Remove explicit dependencies on libc.so and
86176 libc_nonshared.a from targets in modules-names.
86177
86178 2010-06-02 Kirill A. Shutemov <kirill@shutemov.name>
86179
86180 * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
86181 requires it.
86182
86183 2010-06-10 Luis Machado <luisgpm@br.ibm.com>
86184
86185 * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
86186 * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
86187 * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
86188 * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
86189
86190 2010-06-02 Andreas Schwab <schwab@redhat.com>
86191
86192 * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
86193
86194 2010-06-14 Ulrich Drepper <drepper@redhat.com>
86195
86196 * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
86197 and F_GETPIPE_SZ.
86198 * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
86199 * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
86200 * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
86201 * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
86202 * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
86203 * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
86204
86205 2010-06-14 Roland McGrath <roland@redhat.com>
86206
86207 * manual/libc.texinfo (@copying): Change to GFDL v1.3.
86208
86209 2010-06-07 Jakub Jelinek <jakub@redhat.com>
86210
86211 * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
86212 __REDIRECT followed by __THROW.
86213 * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
86214 * posix/getopt.h (getopt): Likewise.
86215
86216 2010-06-02 Emilio Pozuelo Monfort <pochu27@gmail.com>
86217
86218 * hurd/lookup-at.c (__file_name_lookup_at): Accept
86219 AT_SYMLINK_FOLLOW in AT_FLAGS. Fail with EINVAL if both
86220 AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
86221 in AT_FLAGS.
86222 * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
86223 * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
86224
86225 2010-05-28 Luis Machado <luisgpm@br.ibm.com>
86226
86227 * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
86228
86229 2010-05-26 H.J. Lu <hongjiu.lu@intel.com>
86230
86231 [BZ #11640]
86232 * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
86233 Properly check family and model.
86234
86235 2010-05-26 Takashi Yoshii <takashi.yoshii.zj@renesas.com>
86236
86237 * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
86238
86239 2010-05-24 Luis Machado <luisgpm@br.ibm.com>
86240
86241 * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
86242
86243 2010-05-21 Ulrich Drepper <drepper@redhat.com>
86244
86245 * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
86246 symbol reference.
86247
86248 2010-05-19 Andreas Schwab <schwab@redhat.com>
86249
86250 * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
86251 symbol reference.
86252
86253 2010-05-21 Andreas Schwab <schwab@redhat.com>
86254
86255 * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
86256 and internal_recvmmsg.
86257 * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
86258 * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
86259 * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
86260 * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
86261
86262 * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
86263 * sunrpc/clnt_udp.c (clntudp_control): Likewise.
86264 * sunrpc/clnt_unix.c (clntunix_control): Likewise.
86265
86266 2010-05-20 Andreas Schwab <schwab@redhat.com>
86267
86268 * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
86269
86270 2010-05-17 Luis Machado <luisgpm@br.ibm.com>
86271
86272 POWER7 optimizations.
86273 * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
86274 * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
86275
86276 2010-05-19 Ulrich Drepper <drepper@redhat.com>
86277
86278 * version.h: Update for 2.13 development version.
86279
86280 2010-05-12 Andrew Stubbs <ams@codesourcery.com>
86281
86282 * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
86283 exceptions. Return 0.
86284
86285 2010-05-07 Roland McGrath <roland@redhat.com>
86286
86287 * elf/ldconfig.c (main): Add a const.
86288
86289 2010-05-06 Ulrich Drepper <drepper@redhat.com>
86290
86291 * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
86292 (args_options): Add no-idn option.
86293 (ahosts_keys_int): Add idn_flags to ai_flags.
86294 (parse_option): Handle 'i' option to clear idn_flags.
86295
86296 * malloc/malloc.c (_int_free): Possible race in the most recently
86297 added check. Only act on the data if no current modification
86298 happened.
86299
86300 See ChangeLog.17 for earlier changes.